/* ============================================
   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,
.acc-points-card-ico .shop-icon,
.acc-points-card-ico svg {
  width: 28px;
  height: 28px;
  color: #c5d0ff;
}
.acc-points-card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.acc-points-card-ico > * {
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.acc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.acc-hero-copy {
  min-width: 0;
}
.acc-points-card > div > 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.65rem;
}
.acc-code-mini li {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  display: block;
}
.acc-code-mini-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.08);
  box-shadow: 0 8px 20px rgba(3, 27, 78, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.acc-code-mini-card:hover {
  border-color: rgba(3, 27, 78, 0.16);
  box-shadow: 0 12px 28px rgba(3, 27, 78, 0.08);
  transform: translateY(-1px);
}
.acc-code-mini-logo {
  width: 72px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--blue-wash);
  padding: 0.2rem;
}
.acc-code-mini-ph {
  width: 72px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-wash);
  color: var(--blue);
}
.acc-code-mini-ph .shop-icon,
.acc-code-mini-ph svg {
  width: 20px;
  height: 20px;
}
.acc-code-mini-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.acc-code-mini-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.acc-code-mini-top strong {
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.acc-code-mini-top em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
}
.acc-code-mini code {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--blue-mist);
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  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;
}

.mc-payout-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  max-width: 28rem;
}
.mc-payout-form .shop-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.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-code-actions {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.acc-order-docs {
  margin: 0 0 0.85rem;
}
.acc-code-pdf {
  gap: 0.35rem;
}
.acc-code-pdf .shop-icon {
  width: 15px;
  height: 15px;
}
.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; }
a.acc-tip {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.acc-tip:hover {
  border-color: rgba(36, 72, 198, 0.22);
  box-shadow: 0 10px 28px rgba(6, 18, 47, 0.08);
  transform: translateY(-1px);
}
a.acc-tip:hover strong { color: var(--blue); }
.acc-tip.is-info {
  border-color: rgba(36, 72, 198, 0.18);
  background: linear-gradient(165deg, #fff 0%, #f5f8ff 100%);
}
.acc-tip.is-info > .shop-icon { color: var(--blue); }
.acc-tip.is-info p { color: #4a5670; }
.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;
  }
  .ev-migrate-form label,
  .ev-migrate-form input,
  .ev-migrate-form textarea {
    max-width: 100%;
  }
  .ev-migrate-form input[type="text"],
  .ev-migrate-form input[type="tel"],
  .ev-migrate-form input[type="number"],
  .ev-migrate-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* prevent iOS zoom */
  }
}

@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; }
}

/* Karty Benefiteo (portfel) */
.acc-bf-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .acc-bf-hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}
.acc-bf-balance {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.25rem;
  background: linear-gradient(145deg, #1a2a6c 0%, #2448c6 55%, #3d6bff 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(36, 72, 198, 0.28);
}
.acc-bf-balance::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 70%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.acc-bf-balance > * { position: relative; z-index: 1; }
.acc-bf-balance .k {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}
.acc-bf-balance .v {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.acc-bf-balance .h {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  opacity: 0.88;
  line-height: 1.4;
}
.acc-bf-claim {
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.08);
  box-shadow: var(--shadow);
}
.acc-bf-claim h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.acc-bf-claim p {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}
.acc-bf-claim-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.acc-bf-claim-form .apage-control {
  flex: 1;
  min-width: 160px;
}
.acc-bf-claim-form .shop-btn {
  white-space: nowrap;
}
.acc-bf-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}
.acc-bf-tabs {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(3, 27, 78, 0.05);
  gap: 0.2rem;
}
.acc-bf-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.acc-bf-tabs a.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(6, 18, 47, 0.08);
}
.acc-bf-per {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
}
.acc-bf-per select {
  border-radius: 10px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  padding: 0.4rem 0.55rem;
  background: #fff;
  font-weight: 700;
  color: var(--ink);
}
.acc-bf-card {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .acc-bf-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}
.acc-bf-card-visual {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #eef2ff, #f8faff);
  color: var(--blue);
  flex-shrink: 0;
}
.acc-bf-card-visual .shop-icon { width: 28px; height: 28px; }
.acc-bf-card.is-archive .acc-bf-card-visual {
  background: #f4f5f8;
  color: #7a8499;
}
.acc-bf-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.acc-bf-card-top strong {
  font-size: 1.02rem;
  color: var(--ink);
}
.acc-bf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.acc-bf-badge.is-ok { background: rgba(36, 72, 198, 0.1); color: var(--blue); }
.acc-bf-badge.is-archive { background: #eef0f4; color: #5a6478; }
.acc-bf-badge.is-used { background: #fff1f2; color: #9f1239; }
.acc-bf-meter {
  margin: 0.65rem 0 0.85rem;
}
.acc-bf-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.acc-bf-meter-top b { color: var(--ink); }
.acc-bf-meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(3, 27, 78, 0.08);
  overflow: hidden;
}
.acc-bf-meter-track > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2448c6, #5b8cff);
}
.acc-bf-meter.is-used .acc-bf-meter-track > i {
  background: linear-gradient(90deg, #9f1239, #fb7185);
}
.acc-bf-code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: #f5f7fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  border: 1px dashed rgba(36, 72, 198, 0.25);
  color: var(--ink);
}
.acc-bf-code:hover { background: #eef2ff; }
.acc-bf-meta {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.acc-bf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  align-items: end;
}
.acc-bf-deduct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: end;
  flex: 1;
  min-width: min(100%, 220px);
}
.acc-bf-deduct label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--muted);
  flex: 1;
  min-width: 120px;
}
.acc-bf-deduct input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}
.acc-bf-ledger {
  margin-top: 0.85rem;
  border-top: 1px solid rgba(3, 27, 78, 0.06);
  padding-top: 0.65rem;
}
.acc-bf-ledger summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}
.acc-bf-ledger summary::-webkit-details-marker { display: none; }
.acc-bf-ledger ul {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.acc-bf-ledger li {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(3, 27, 78, 0.05);
  font-size: 0.8rem;
  color: var(--muted);
}
.acc-bf-ledger li strong { color: var(--ink); }
.acc-bf-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}
.acc-bf-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 1.1rem 0 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 650;
}
@media (max-width: 560px) {
  .acc-bf-claim-form .shop-btn,
  .acc-bf-actions .shop-btn {
    width: 100%;
    justify-content: center;
  }
  .acc-bf-toolbar { align-items: stretch; }
  .acc-bf-tabs { width: 100%; justify-content: stretch; }
  .acc-bf-tabs a { flex: 1; justify-content: center; }
}

/* Brand filter chips (Moje eKody) */
.acc-brand-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0 0.85rem;
  margin: 0 0 0.25rem;
  scrollbar-width: thin;
}
.acc-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(3, 27, 78, 0.1);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 750;
  box-shadow: 0 4px 12px rgba(6, 18, 47, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.acc-brand-chip img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}
.acc-brand-chip em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  background: rgba(3, 27, 78, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}
.acc-brand-chip.is-on {
  background: #1a2a6c;
  border-color: #1a2a6c;
  color: #fff;
}
.acc-brand-chip.is-on em {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.acc-bf-card-img {
  width: 96px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  background: #eef2ff;
}
.acc-bf-subname {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.15rem;
}
.acc-bf-deduct label + label { min-width: 140px; }
@media (max-width: 560px) {
  .acc-bf-card-img {
    width: 100%;
    height: 56px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.acc-codes-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
  margin: 0 0 1rem;
}
.acc-codes-search-field {
  flex: 1;
  min-width: min(100%, 220px);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  background: #fff;
  box-shadow: var(--shadow);
}
.acc-codes-search-field .shop-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.acc-codes-search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  min-width: 0;
}
.acc-codes-search .shop-btn {
  white-space: nowrap;
}
.acc-codes-sort {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}
.acc-codes-sort select {
  border-radius: 10px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  padding: 0.4rem 0.55rem;
  background: #fff;
  font-weight: 700;
  color: var(--ink);
  max-width: 180px;
}
.acc-codes-result-meta {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 650;
}
.acc-filter-chips a.acc-filter-chip {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 560px) {
  .acc-codes-search .shop-btn { flex: 1; justify-content: center; }
  .acc-codes-sort { width: 100%; }
  .acc-codes-sort select { flex: 1; max-width: none; }
}

/* Moje eKody: zwarty panel filtrów */
.acc-codes-shell {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(3, 27, 78, 0.07);
  box-shadow: var(--shadow);
}
.acc-codes-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: 12px;
  background: rgba(3, 27, 78, 0.05);
  margin-bottom: 0.85rem;
}
.acc-codes-seg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.acc-codes-seg-btn b {
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.acc-codes-seg-btn.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(6, 18, 47, 0.08);
}
.acc-codes-controls {
  display: grid;
  gap: 0.75rem;
}
.acc-codes-q {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  background: #f7f9fd;
}
.acc-codes-q:focus-within {
  border-color: rgba(36, 72, 198, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 72, 198, 0.1);
}
.acc-codes-q .shop-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.acc-codes-q input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}
.acc-codes-fields {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .acc-codes-fields {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.acc-codes-fields label {
  display: grid;
  gap: 0.28rem;
  margin: 0;
}
.acc-codes-fields label > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc-codes-fields select {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(3, 27, 78, 0.12);
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6b8c' d='M1.4 1.2 6 5.8l4.6-4.6 1.2 1.2L6 8.2.2 2.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 1.8rem;
}
.acc-codes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.acc-codes-count {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .acc-codes-shell { padding: 0.75rem; border-radius: 16px; }
  .acc-codes-actions .shop-btn { flex: 1; justify-content: center; }
  .acc-codes-count { width: 100%; margin: 0.15rem 0 0; text-align: center; }
}

.acc-codes-shell.is-loading {
  opacity: 0.62;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.acc-codes-shell.is-loading .acc-codes-q {
  position: relative;
}
.acc-codes-shell.is-loading .acc-codes-q::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: auto;
  border-radius: 50%;
  border: 2px solid rgba(36, 72, 198, 0.2);
  border-top-color: #2448c6;
  animation: acc-codes-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes acc-codes-spin {
  to { transform: rotate(360deg); }
}

#acc-codes-results.is-loading {
  opacity: 0.55;
  transition: opacity 0.12s ease;
  pointer-events: none;
}

/* eKod panel: PIN / ważność / kod + barcode lub QR (Orlen itd.) */
.acc-ekod-panel {
  display: grid;
  gap: 0.85rem;
  margin: 0.75rem 0 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(3, 27, 78, 0.1);
  border-radius: 14px;
  background: #fff;
}
@media (min-width: 640px) {
  .acc-ekod-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}
.acc-ekod-panel-title {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.acc-ekod-fields {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.acc-ekod-fields > div {
  margin: 0;
}
.acc-ekod-fields dt {
  margin: 0 0 0.12rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.acc-ekod-fields dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  word-break: break-all;
}
.acc-ekod-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.acc-ekod-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  word-break: break-all;
}
.acc-ekod-copy .shop-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.55;
}
.acc-ekod-copy:hover .shop-icon,
.acc-ekod-copy.is-copied .shop-icon {
  opacity: 1;
}
.acc-ekod-copy.is-copied {
  color: #1a7a3c;
}
.acc-ekod-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  justify-self: center;
}
.acc-ekod-barcode img {
  display: block;
  height: auto;
  max-width: 100%;
  background: #fff;
}
.acc-ekod-barcode.is-bars img {
  width: min(100%, 220px);
  max-height: 72px;
  object-fit: contain;
}
.acc-ekod-barcode.is-qr img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.acc-ekod-barcode span {
  max-width: 220px;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
  text-align: center;
  word-break: break-all;
  line-height: 1.25;
}
.acc-ekod-order-card {
  background: #fff;
}
.acc-ekod-order-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.acc-ekod-order-head strong {
  font-size: 0.95rem;
}
.acc-ekod-order-head span {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.acc-ekod-order-card .acc-ekod-panel {
  margin: 0;
}

/* === SUPPORT / CZAT === */
.acc-supp {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .acc-supp { grid-template-columns: 1fr; }
}
.acc-supp-list,
.acc-supp-thread {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  min-width: 0;
}
.acc-supp-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.acc-supp-list-head h3 {
  margin: 0;
  font-size: 1rem;
}
.acc-supp-thread-head {
  margin: 0;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 1rem;
}
.acc-supp-thread-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.acc-supp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}
.acc-supp-cta .shop-icon,
.acc-supp-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.acc-supp-item {
  display: block;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
}
.acc-supp-item:hover,
.acc-supp-item.is-on {
  background: #f8fafc;
}
.acc-supp-item strong {
  display: block;
  font-size: 0.9rem;
}
.acc-supp-item small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.75rem;
}
.acc-supp-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  max-height: 520px;
  overflow: auto;
}
.acc-supp-b {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #f1f5f9;
}
.acc-supp-b.is-admin {
  align-self: flex-start;
  background: #eff6ff;
}
.acc-supp-b.is-user {
  align-self: flex-end;
  background: #ecfdf5;
}
.acc-supp-b-hd {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: #64748b;
}
.acc-supp-b-body {
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.acc-supp-b-rcpt {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}
.acc-supp-b-rcpt.is-read { color: #1d4ed8; }
.acc-supp-reply {
  padding: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.6rem;
}
.acc-supp-reply textarea {
  width: 100%;
  min-height: 90px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.acc-supp-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}
.acc-supp-empty--compact { padding: 1.25rem; }
.acc-supp-empty p { margin: 0; }
.acc-supp-empty-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  max-width: 520px;
}
.acc-supp-empty-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 72, 198, 0.08);
  color: #2448c6;
}
.acc-supp-empty-ico .shop-icon,
.acc-supp-empty-ico svg {
  width: 24px;
  height: 24px;
}
.acc-supp-empty-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink, #0f172a);
}
.acc-supp-empty-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
  max-width: 36ch;
}
.acc-page-head .acc-supp-cta {
  align-self: center;
}
