/* ============================================
   ACCOUNT PANEL
   ============================================ */
.acc { padding-bottom: 3rem; }

.acc-hero {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(61, 95, 217, 0.22), transparent 55%),
    linear-gradient(160deg, #031b4e 0%, #15358a 55%, #2448c6 120%);
  color: #fff;
  padding: 2rem 1.15rem 2.25rem;
}
.acc-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.acc-hero-user {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.acc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}
.acc-hero .shop-eyebrow { color: #9db0ff; }
.acc-hero .shop-h1 {
  color: #fff;
  margin: 0.2rem 0 0.25rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.acc-hero-mail {
  margin: 0;
  opacity: 0.8;
  font-size: 0.92rem;
}
.acc-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.acc-points-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-width: 200px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
}
a.acc-points-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.acc-points-card .shop-icon {
  width: 28px;
  height: 28px;
  color: #c5d0ff;
}
.acc-points-card span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}
.acc-points-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.acc-points-card em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.85;
}

.acc-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem 1.15rem 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .acc-shell {
    grid-template-columns: 220px 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}

.acc-nav {
  position: sticky;
  top: calc(var(--nav-h, 72px) + 0.5rem);
  z-index: 30;
}
.acc-nav-scroll {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.35rem 0.1rem 0.55rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: rgba(245, 247, 252, 0.94);
  backdrop-filter: blur(12px);
  margin: 0 -0.35rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  border-radius: 16px;
}
.acc-nav-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .acc-nav-scroll {
    flex-direction: column;
    overflow: visible;
    background: #fff;
    backdrop-filter: none;
    margin: 0;
    padding: 1rem 0.85rem;
    border: 1px solid rgba(3, 27, 78, 0.07);
    border-radius: 22px;
    box-shadow: var(--shadow);
    gap: 1rem;
  }
}
.acc-nav-group {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .acc-nav-group {
    flex-direction: column;
    gap: 0.3rem;
  }
  .acc-nav-group + .acc-nav-group {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(3, 27, 78, 0.08);
  }
  .acc-nav-foot {
    margin-top: 0.15rem;
  }
}
.acc-nav-label {
  display: none;
  margin: 0 0 0.35rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) {
  .acc-nav-label { display: block; }
}
.acc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
@media (min-width: 900px) {
  .acc-nav-link {
    width: 100%;
    background: transparent;
    border-color: transparent;
  }
  .acc-nav-link:hover {
    background: var(--blue-mist);
    color: var(--blue);
  }
}
.acc-nav-link .shop-icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
.acc-nav-link:hover {
  background: var(--blue-wash);
  color: var(--blue);
}
.acc-nav-link.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 72, 198, 0.25);
}
.acc-nav-link.is-active .shop-icon { color: #fff; }
.acc-nav-link.is-danger {
  color: #b42318;
}
.acc-nav-link.is-danger .shop-icon { color: #b42318; }
@media (min-width: 900px) {
  .acc-nav-link.is-danger:hover {
    background: #fef3f2;
    color: #b42318;
  }
}

.acc-main { min-width: 0; }
.acc-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.acc-page-head > .shop-btn {
  margin: 0;
  flex-shrink: 0;
}
.acc-page-head .shop-h2 { margin: 0 0 0.35rem; }
.acc-page-head .shop-lead { margin: 0; }
.acc-count-pill,
.acc-count {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--blue-mist);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.acc-stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem;
}
@media (min-width: 800px) {
  .acc-stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.acc-stat-grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .acc-stat-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.acc-stat {
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.acc-stat .shop-icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-bottom: 0.55rem;
}
.acc-stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.acc-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}
.acc-stat em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.acc-split {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 860px) {
  .acc-split { grid-template-columns: 1fr 1fr; }
}

.acc-panel {
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  border-radius: 22px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.15rem;
}
.acc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.acc-panel-head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}
.acc-panel-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.acc-panel-head a .shop-icon { width: 16px; height: 16px; }
.acc-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.acc-points-eq {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.acc-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.acc-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--blue-wash);
  overflow: hidden;
  margin-bottom: 1rem;
}
.acc-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #3d5fd9);
}
.acc-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acc-bullets li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.acc-bullets .shop-icon {
  width: 16px;
  height: 16px;
  color: #1a9f5c;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.acc-empty {
  text-align: center;
  padding: 1.5rem 0.75rem;
  color: var(--muted);
}
.acc-empty p { margin: 0 0 1rem; }
.acc-empty .shop-btn { margin: 0; }

.acc-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acc-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: var(--blue-wash);
  border: 1px solid rgba(3, 27, 78, 0.05);
}
.acc-feed-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
.acc-feed-ico.is-up {
  background: rgba(26, 159, 92, 0.14);
  color: #1a9f5c;
}
.acc-feed-ico.is-down {
  background: rgba(36, 72, 198, 0.12);
  color: var(--blue);
}
.acc-feed-ico .shop-icon,
.acc-feed-ico svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.acc-feed-body {
  min-width: 0;
}
.acc-feed-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.15rem;
}
.acc-feed-body time,
.acc-feed-body .acc-feed-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}
.acc-feed-amt {
  font-style: normal;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.acc-feed-amt.is-up,
.acc-table td.is-up { color: #1a9f5c; }
.acc-feed-amt.is-down,
.acc-table td.is-down { color: #b42318; }

.acc-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.acc-order-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--blue-wash);
  transition: background 0.15s;
}
.acc-order-list a:hover { background: var(--blue-mist); }
.acc-order-list strong {
  display: block;
  font-size: 0.92rem;
}
.acc-order-list span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.acc-order-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.acc-order-meta em {
  font-style: normal;
  font-weight: 800;
  font-family: var(--font-display);
}

.acc-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.acc-badge.is-ok { background: rgba(26, 159, 92, 0.12); color: #1a9f5c; }
.acc-badge.is-wait { background: rgba(232, 164, 0, 0.15); color: #a66b00; }
.acc-badge.is-bad { background: rgba(252, 42, 0, 0.1); color: #c02600; }
.acc-badge.is-muted { background: var(--blue-mist); color: var(--muted); }

.acc-code-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.acc-code-mini li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: var(--blue-wash);
}
.acc-code-mini strong { font-size: 0.9rem; }
.acc-code-mini span { font-size: 0.8rem; color: var(--muted); text-align: right; }
.acc-code-mini code {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

.acc-suggest-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .acc-suggest-grid { grid-template-columns: repeat(4, 1fr); }
}
.acc-suggest-grid a {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--blue-wash);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s;
}
.acc-suggest-grid a:hover { transform: translateY(-2px); }
.acc-suggest-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.acc-suggest-grid span {
  display: block;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.acc-points-hero {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: linear-gradient(145deg, #031b4e 0%, #2448c6 120%);
  color: #fff;
  border-radius: 24px;
  padding: 1.5rem 1.3rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .acc-points-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.85rem 2rem;
  }
}
.acc-points-hero-main {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.acc-points-hero-main > .shop-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.acc-points-hero-main span {
  display: block;
  font-size: 0.82rem;
  opacity: 0.85;
}
.acc-points-hero-main strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.15rem 0;
}
.acc-points-hero-main strong small {
  font-size: 0.55em;
  opacity: 0.85;
}
.acc-points-hero-main em {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.4;
}

.acc-howto {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.acc-howto li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
}
.acc-howto li > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-mist);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}
.acc-howto strong {
  display: block;
  margin-bottom: 0.2rem;
}
.acc-howto p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.acc-redeem-examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.acc-redeem-examples li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: var(--blue-wash);
  font-weight: 700;
  font-size: 0.92rem;
}
.acc-redeem-examples li.is-you {
  background: var(--blue);
  color: #fff;
}
.acc-redeem-examples span { color: var(--muted); font-weight: 600; }
.acc-redeem-examples li.is-you span { color: rgba(255, 255, 255, 0.85); }

.acc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.acc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}
.acc-table th {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.acc-table td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(3, 27, 78, 0.06);
  color: var(--ink);
  vertical-align: top;
}
.acc-table tr:last-child td { border-bottom: 0; }

.acc-detail-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.acc-detail-top strong {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}
.acc-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}
@media (min-width: 640px) {
  .acc-dl { grid-template-columns: repeat(4, 1fr); }
}
.acc-dl > div {
  background: var(--blue-wash);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}
.acc-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.acc-dl dd {
  margin: 0.25rem 0 0;
  font-weight: 800;
  color: var(--ink);
}
.acc-subh {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.acc-simple-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}
.acc-simple-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(3, 27, 78, 0.06);
  font-size: 0.92rem;
}
.acc-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(232, 164, 0, 0.12);
  color: #7a5200;
  font-size: 0.9rem;
}

.acc-codes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.acc-code-card {
  border: 1px solid rgba(3, 27, 78, 0.08);
  border-radius: 16px;
  padding: 1rem;
  background: var(--blue-wash);
}
.acc-code-card.is-rich {
  display: grid;
  gap: 0.85rem;
  background: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 560px) {
  .acc-code-card.is-rich {
    grid-template-columns: 96px 1fr;
    align-items: start;
  }
}
.acc-code-card img {
  width: 96px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--blue-wash);
}
.acc-code-title {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.acc-code-meta {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.acc-code-meta a { color: var(--blue); font-weight: 700; }
.acc-code-vals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.acc-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.acc-copy:hover {
  border-color: var(--blue);
  background: var(--blue-wash);
}
.acc-copy span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.acc-copy code {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue);
}
.acc-copy .shop-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.acc-copy.is-copied {
  border-color: #1a9f5c;
  background: rgba(26, 159, 92, 0.08);
}

.apage-control.is-locked {
  opacity: 0.75;
  background: #eef1f7;
}

/* ——— Quick actions / empty / form layout ——— */
.acc-stat.is-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.acc-stat.is-link:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 72, 198, 0.22);
  box-shadow: var(--shadow-lg);
}

.acc-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 700px) {
  .acc-quick { grid-template-columns: repeat(4, 1fr); }
}
.acc-quick a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.08);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.acc-quick a:hover {
  background: var(--blue-mist);
  border-color: rgba(36, 72, 198, 0.22);
  color: var(--blue);
  transform: translateY(-1px);
}
.acc-quick .shop-icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.acc-empty-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue-mist);
  color: var(--blue);
}
.acc-empty-ico .shop-icon,
.acc-empty-ico svg {
  width: 26px;
  height: 26px;
}

.acc-feed-full li {
  padding: 0.9rem 1rem;
}
.acc-feed-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.acc-feed-side span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.acc-tip-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
@media (min-width: 700px) {
  .acc-tip-row { grid-template-columns: 1fr 1fr; }
}
.acc-tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  box-shadow: var(--shadow);
}
.acc-tip > .shop-icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-top: 0.1rem;
}
.acc-tip strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.acc-tip p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}
.acc-tip a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.acc-tip a:hover { text-decoration: underline; }
.acc-tip.is-warn {
  background: #fff8f6;
  border-color: rgba(180, 35, 24, 0.12);
}
.acc-tip.is-warn > .shop-icon { color: #b42318; }

.acc-form-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .acc-form-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.acc-side-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.acc-form .shop-btn { margin-top: 0.35rem; }

.acc-profile-banner {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-mist), var(--blue-wash));
  border: 1px solid rgba(36, 72, 198, 0.12);
}
.acc-avatar.is-lg {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 1.85rem;
  background: linear-gradient(145deg, #2448c6, #15358a);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(36, 72, 198, 0.28);
}
.acc-profile-banner strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.acc-profile-banner span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.acc-profile-banner em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.acc-code-ph {
  width: 96px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-mist);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.acc-code-ph .shop-icon { width: 22px; height: 22px; }

.acc-suggest-grid em {
  display: block;
  padding: 0 0.65rem 0.7rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
}

.acc-dl dd.is-up { color: #1a9f5c; }

.acc-page-head .shop-eyebrow {
  margin-bottom: 0.35rem;
}

.acc-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.35rem 1.15rem 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .acc-shell {
    grid-template-columns: 240px 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}

/* —— Mobile / compact account polish —— */
.acc-rank-pill {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.acc-hero.is-compact {
  padding: 1.15rem 1.15rem 1.25rem;
}
.acc-hero.is-compact .acc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.2rem;
}
.acc-hero.is-compact .shop-h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
}
.acc-hero.is-compact .acc-hero-mail {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acc-hero.is-compact .acc-points-card {
  min-width: 0;
  padding: 0.7rem 0.9rem;
}
.acc-hero.is-compact .acc-points-card strong {
  font-size: 1.25rem;
}
.acc.is-compact {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
}

.acc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.acc-filter-chip {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(3, 27, 78, 0.12);
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a6b8c;
  cursor: pointer;
}
.acc-filter-chip.is-active {
  background: #2448c6;
  border-color: #2448c6;
  color: #fff;
}

.acc-order-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.acc-order-card {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1.5px solid rgba(3, 27, 78, 0.1);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.acc-order-card:hover,
.acc-order-card:active {
  border-color: rgba(36, 72, 198, 0.35);
  box-shadow: 0 8px 22px rgba(3, 27, 78, 0.08);
  transform: translateY(-1px);
}
.acc-order-card-top,
.acc-order-card-mid,
.acc-order-card-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.acc-order-card-top strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.acc-order-card-mid {
  margin: 0.45rem 0 0.55rem;
  font-size: 0.82rem;
  color: #5a6b8c;
}
.acc-order-pts { color: #0a7a4a; font-weight: 700; }
.acc-order-card-bot em {
  font-style: normal;
  font-family: var(--font-display, Anybody, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #031b4e;
}
.acc-order-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2448c6;
}
.acc-order-cta .shop-icon { width: 14px; height: 14px; }

/* Bottom tab bar — phones */
.acc-bottom-bar {
  display: none;
}
@media (max-width: 899px) {
  .acc {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
  }
  .acc-bottom-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(3, 27, 78, 0.1);
    box-shadow: 0 -8px 28px rgba(3, 27, 78, 0.06);
  }
  .acc-bottom-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 52px;
    padding: 0.35rem 0.15rem;
    text-decoration: none;
    color: #8a95ab;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-radius: 12px;
  }
  .acc-bottom-link .shop-icon {
    width: 22px;
    height: 22px;
  }
  .acc-bottom-link.is-active {
    color: #2448c6;
    background: rgba(36, 72, 198, 0.08);
  }
  .acc-nav {
    top: calc(var(--nav-h, 64px) + 0.25rem);
  }
  .acc-nav-scroll {
    scroll-snap-type: x mandatory;
    padding-bottom: 0.15rem;
  }
  .acc-nav-link {
    scroll-snap-align: start;
    min-height: 44px;
    flex: 0 0 auto;
  }
  .acc-nav-foot { display: none; }
  .acc-hero {
    padding: 1.25rem 1rem 1.35rem;
  }
  .acc-hero-inner {
    gap: 1rem;
  }
  .acc-hero-user { width: 100%; }
  .acc-hero-points {
    width: 100%;
  }
  .acc-points-card {
    flex: 1;
    min-width: 0;
  }
  .acc-shell {
    padding: 1rem 0.85rem 0;
  }
  .acc-page-head .shop-lead {
    font-size: 0.9rem;
  }
  .acc-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .acc-panel {
    padding: 0.95rem;
    border-radius: 16px;
  }
  .acc-feed li {
    gap: 0.65rem;
    padding: 0.75rem 0;
  }
  .acc-feed-side {
    align-items: flex-end;
  }
  .acc-code-card {
    padding: 0.85rem;
  }
  .acc-copy {
    min-height: 44px;
  }
  .acc-form .shop-btn,
  .apage-form .shop-btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }
  .acc-detail-top {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .acc-dl {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .acc-bottom-link span { font-size: 0.58rem; }
  .acc-hero .shop-btn { width: 100%; justify-content: center; }
  .acc-stat-grid-3 { grid-template-columns: 1fr; }
}
