:root {
  --navy: #0d2748;
  --side: #1c1e22;
  --yellow: #ffe14d;
  --bg: #f2f4f7;
  --text: #1c2230;
  --muted: #6b7280;
  --line: #e7e9ee;
  --orange: #ff6a00;
  --blue: #1d6fe8;
  --green: #06c755;
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  --side-w: 272px;
  --top-h: 58px;
  color-scheme: light;
  font-family: "Noto Sans Thai", "Leelawadee UI", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { color: var(--text); background: var(--bg); min-height: 100vh; font-size: 15px; font-weight: 400; line-height: 1.6; }
h1, h2, h3, .page-title { font-weight: 700; line-height: 1.4; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
a.icon-item, a.buy { color: inherit; text-decoration: none; }
a.buy { display: grid; place-items: center; }
::selection { background: var(--yellow); color: #161616; }
:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.topbar {
  min-height: var(--top-h);
  background: var(--side);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 14px 20px;
  border-bottom: 1px solid #3e434c;
  position: sticky;
  top: 0;
  z-index: 2;
  flex: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 16px;
}
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 168px;
}
.menu-btn {
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #1c1c1c;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.menu-btn:hover { background: #f3f4f6; }
.menu-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}
.menu-fab {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 70;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.18);
}
html.nav-closed .menu-fab { display: grid; }

.body { display: flex; min-height: 100vh; }
.side {
  width: var(--side-w);
  min-width: var(--side-w);
  background: var(--side);
  color: #ececec;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  flex: none;
  display: flex;
  flex-direction: column;
}
.side-body {
  padding: 20px 10px 28px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side-body svg { width: 20px; height: 20px; flex: none; }
.flag {
  width: 22px;
  height: 15px;
  flex: none;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.flag svg { width: 100%; height: 100%; display: block; }
.side-user, .lang-btn, .premium, .nav a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: inherit;
  text-decoration: none;
}
.side-user {
  background: transparent;
  border: 0;
  color: #f3f4f6;
  padding: 8px 10px;
  border-radius: 8px;
}
.side-user:hover { background: rgba(255, 255, 255, 0.06); }
.lang-btn {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: #2a2e35;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.lang-btn .flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.lang-btn:hover { background: #353a43; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3a3d44;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.avatar svg { width: 18px; height: 18px; }
.avatar-face, .avatar .avatar-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
}
.avatar-letter { background: var(--yellow); color: #141414; font-weight: 700; }
.profile-modal { text-align: left; color: #fff; }
.profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  margin: 12px 12px 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 225, 77, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(255, 225, 77, 0.28), transparent 70%),
    linear-gradient(160deg, #3a3118 0%, #1b1e26 58%, #12141a 100%);
}
.profile-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: wallet-shine 5.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wallet-shine {
  0%, 55% { transform: translateX(0); }
  100% { transform: translateX(380%); }
}
.profile-photo { position: relative; z-index: 1; width: 76px; height: 76px; margin: 0; }
.profile-face, .profile-photo .avatar-letter {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: cover;
  display: grid;
  place-items: center;
  border: 2px solid #ffe14d;
  box-shadow: 0 0 0 5px rgba(255, 225, 77, 0.16);
  font-size: 28px;
  background: #fff6cc;
}
.profile-cam {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.profile-cam svg { width: 14px; height: 14px; }
.profile-cam input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-id { position: relative; z-index: 1; min-width: 0; }
.profile-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-name { margin: 0; font-size: 22px; text-align: left; color: #fff; }
.profile-user { margin: 2px 0 0; color: #d7d1c2; font-size: 13px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.profile-uid {
  display: inline-flex;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #ffe14d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.profile-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 225, 77, 0.14);
  color: #ffe9a0;
  font-size: 12px;
  font-weight: 700;
}
.profile-rank::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffe14d;
  box-shadow: 0 0 0 3px rgba(255, 225, 77, 0.2);
}
.profile-hero .role-pill {
  background: transparent;
  color: #ffe14d;
  border: 1px solid rgba(255, 225, 77, 0.45);
}
.profile-note { margin: 8px 16px 0; color: #ffe9a0; }
.profile-note:empty { display: none; }
.profile-hero .coin-chip {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #ffe56a, #ffc400);
  color: #1a1400;
  box-shadow: 0 10px 18px rgba(255, 186, 0, 0.22);
}
.profile-hero .coin-copy small,
.profile-hero .coin-chip svg { color: #6d5200; }
.profile-hero .coin-mark {
  background: #1a1400;
  color: #ffe14d;
  box-shadow: none;
}
.coin-slim { display: none; align-items: center; gap: 8px; color: #fff; }
.coin-slim .coin-mark { width: 28px; height: 28px; font-size: 12px; }
.coin-slim b { font-size: 16px; font-variant-numeric: tabular-nums; color: #ffe14d; }
.coin-slim small { color: #efe6c4; font-size: 12px; font-weight: 600; }
.profile-modal.coin-mode .profile-photo,
.profile-modal.coin-mode .profile-user,
.profile-modal.coin-mode .profile-tags,
.profile-modal.coin-mode .role-pill,
.profile-modal.coin-mode .profile-hero .coin-chip,
.profile-modal.coin-mode .panel-title { display: none; }
.profile-modal.coin-mode .coin-slim {
  display: inline-flex;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
.profile-modal.coin-mode .profile-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 14px;
  margin: 10px 12px 0;
}
.profile-modal.coin-mode .profile-hero::before { display: none; }
.profile-modal.coin-mode .profile-name { font-size: 16px; color: #fff; }
.profile-modal.coin-mode .account-back { padding-top: 0; }
.profile-modal .modal-top { align-items: center; padding: 16px 16px 0; }
.profile-modal .modal-top h3 { color: #ffe14d; font-size: 15px; letter-spacing: 0.03em; }
.profile-modal .x { background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 50%; }
#account-body {
  margin: 12px 12px 0;
  padding: 14px;
  border-radius: 22px;
  background: #f4f5f7;
  color: #1c2230;
}
.panel-title { margin: 0 0 12px; font-size: 16px; }
.coin-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.coin-pack {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 12px 8px 10px;
  border: 1px solid #efe8cf;
  border-radius: 16px;
  background: radial-gradient(90px 36px at 50% 0%, rgba(255, 225, 77, 0.55), transparent 72%), #fff;
  color: #1c2230;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.coin-pack:hover { transform: translateY(-2px); border-color: #e2c200; }
.coin-pile {
  position: relative;
  width: 68px;
  height: 56px;
  margin-bottom: 4px;
}
.coin-pile::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 7px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.08);
}
.coin-pile i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8c8 0%, #ffe14d 45%, #e0a800 80%);
  box-shadow: inset 0 0 0 1.5px #fff6c2, inset 0 0 0 3px #c99200, 0 1px 1px rgba(120, 80, 0, 0.28);
}
.coin-pack b { font-size: 18px; font-variant-numeric: tabular-nums; }
.coin-pack small { color: #8a5a00; font-size: 12px; font-weight: 600; }
.coin-price {
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #141414;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}
.coin-pack.on {
  border-color: #141414;
  background: radial-gradient(90px 42px at 50% 0%, rgba(255, 225, 77, 0.85), transparent 72%), #fffdf3;
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
}
.coin-pack.on .coin-price { background: var(--yellow); color: #141414; }
.coin-pack.has-bonus small {
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff1e6;
  color: #e25a00;
}
.coin-pack.featured {
  border-color: #141414;
  background:
    radial-gradient(80px 40px at 50% 0%, rgba(255, 225, 77, 0.45), transparent 72%),
    linear-gradient(180deg, #2a2414, #141414);
  color: #fff;
}
.coin-pack.featured::after {
  content: "ฮิต";
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--yellow);
  color: #141414;
  font-size: 11px;
  font-weight: 700;
}
.coin-pack.featured small { background: rgba(255, 225, 77, 0.16); color: #ffe14d; }
.coin-pack.featured .coin-price { background: var(--yellow); color: #141414; }
.coin-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}
.coin-or::before, .coin-or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.coin-custom {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #efe8cf;
  border-radius: 16px;
  background: radial-gradient(160px 70px at 8% 0%, rgba(255, 225, 77, 0.6), transparent 70%), #fff;
}
.coin-field { display: flex; align-items: center; gap: 12px; }
.coin-field .coin-mark { width: 44px; height: 44px; font-size: 16px; flex: none; }
.coin-field-copy { flex: 1; display: grid; gap: 4px; }
.coin-field-copy > small { color: #667085; font-size: 12px; font-weight: 600; }
.coin-input {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #efe8cf;
  border-radius: 12px;
  background: #fff;
}
.coin-input em { font-style: normal; font-weight: 700; color: #8a5a00; }
.coin-input input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  min-height: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #141414;
}
.coin-input:focus-within {
  border-color: #141414;
  box-shadow: 0 0 0 3px rgba(255, 225, 77, 0.55);
}
.coin-live {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 500;
}
.coin-live > span {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #141414;
}
.coin-live small { color: #c8cdd6; font-size: 11px; font-weight: 500; }
.coin-live b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.coin-live.on > span:first-child b { color: var(--yellow); }
.pay-due {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0 0 12px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  background: #141414;
  color: #fff;
  text-align: center;
}
.pay-due small { color: #c8cdd6; font-size: 12px; font-weight: 600; }
.pay-due b { font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--yellow); }
.pay-due span { color: #fff; font-size: 13px; font-weight: 600; }
.pay-qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 16px 12px 12px;
  border: 1px solid #efe8cf;
  border-radius: 16px;
  background: #fff;
}
.pay-qr-card p { margin: 0; color: #667085; font-size: 13px; font-weight: 600; text-align: center; }
#pay-qr svg, #pay-qr img { display: block; width: 196px; height: 196px; }
.pay-acct-title { margin: 0 0 8px; color: #667085; font-size: 13px; font-weight: 600; }
.pay-accts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
.pay-acct {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 2px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pay-acct img { width: 72px; height: 22px; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.pay-acct b { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.pay-acct small { color: #667085; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pay-acct.on { border-color: #141414; background: #fffbea; }
.pay-bank {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f4fb;
}
.pay-bank img, .pay-bank svg { width: 108px; height: auto; display: block; }
.pay-bank b { display: block; font-size: 14px; }
.pay-bank small { color: #667085; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.pay-rows { display: grid; gap: 8px; margin-bottom: 10px; }
.pay-rows > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7f9;
}
.pay-rows small { color: #667085; font-size: 12px; font-weight: 600; }
.pay-rows b { font-size: 15px; }
.pay-no { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.pay-rows button {
  border: 0;
  border-radius: 999px;
  background: #141414;
  color: var(--yellow);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}
.pay-rows > div:first-child { grid-template-columns: 88px minmax(0, 1fr); }
.pay-status {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8e8;
  color: #7a5b12;
  line-height: 1.65;
}
.pay-status.approved { background: #eefbf3; color: #0d7a32; }
.pay-status.rejected { background: #fff1f1; color: #b42318; }
.pay-steps { list-style: none; margin: 0 0 12px; padding: 0; }
.pay-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  position: relative;
  padding-bottom: 14px;
}
.pay-steps li:last-child { padding-bottom: 0; }
.pay-steps li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: #e4e7ec;
}
.pay-steps li:last-child::before { display: none; }
.pay-steps i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  background: #f2f4f7;
  color: #98a2b3;
  position: relative;
  z-index: 1;
}
.pay-steps b { display: block; font-size: 14px; }
.pay-steps small { display: block; color: #667085; font-weight: 400; font-size: 12px; line-height: 1.45; }
.pay-steps .done i { background: #eefbf3; color: #0d7a32; }
.pay-steps .now i { background: var(--yellow); color: #171717; }
.pay-steps .off i { background: #fff1f1; color: #b42318; }
.pay-fresh { margin: 0 0 10px; color: #667085; font-size: 12px; }
.auth-go:disabled { opacity: 0.7; }
.topup-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.topup-row small { display: block; color: #667085; font-size: 12px; }
.topup-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.topup-acts button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  background: var(--yellow);
  color: #171717;
}
.topup-acts button[data-act="reject"] { background: #f3f4f6; color: #374151; }
.topup-past { margin: 18px 0 0; font-size: 14px; }
.role-pill {
  display: inline-block;
  margin: 0;
  background: #141414;
  color: var(--yellow);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}
.coin-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  padding: 8px 10px;
  border: 1px solid #3a3d44;
  border-radius: 14px;
  background: #141414;
  color: #fff;
  text-align: left;
}
button.coin-chip { width: 100%; cursor: pointer; }
.coin-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 32%, #fff6bf, #ffe14d 46%, #d9a400);
  color: #7a4e00;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px #c99200;
}
.coin-copy { display: grid; line-height: 1.15; flex: 1; }
.coin-copy b { font-size: 16px; font-variant-numeric: tabular-nums; }
.coin-copy small { color: #c8cdd6; font-size: 12px; font-weight: 500; }
.coin-chip svg { width: 16px; height: 16px; color: #c8cdd6; }
#side-coin:empty { display: none; }
#side-coin { margin: 0 0 10px; }
#float-coin { display: none; }
html.nav-closed #float-coin:not(:empty) {
  display: block;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 75;
}
html.nav-closed #float-coin .coin-chip {
  width: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.profile-modal .auth-go {
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe56a, #f5c400);
  color: #141414;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(245, 196, 0, 0.28);
}
.profile-modal .auth-go:hover { background: #141414; color: var(--yellow); }
.account-menu {
  display: grid;
  gap: 8px;
  border: 0;
  background: transparent;
}
.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 8px 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #1c2230;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.account-menu .account-row:first-child { border-top: 0; }
.account-row:hover { background: #fffdf3; }
.account-row > span:nth-child(2) { flex: 1; text-align: left; line-height: 1.35; }
.account-row small { display: block; margin-top: 2px; color: #667085; font-size: 12px; font-weight: 400; }
.account-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff6cc;
  color: #141414;
  display: grid;
  place-items: center;
  flex: none;
}
.account-row[data-account="pass"] .account-ico { background: #e8f1ff; color: #1d6fe8; }
.account-row[data-account="ids"] .account-ico { background: #f3e8ff; color: #7c3aed; }
.account-row[data-account="orders"] .account-ico { background: #e9f9ef; color: #15803d; }
.account-row[href] .account-ico { background: #141414; color: #ffe14d; }
.account-ico svg, .account-back svg { width: 16px; height: 16px; }
.account-row > svg { width: 16px; height: 16px; color: #98a2b3; flex: none; }
.account-panel { text-align: left; }
.account-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #667085;
  font-weight: 600;
  padding: 0 0 8px;
}
.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f1f2f5;
}
.account-item small { display: block; color: #667085; font-weight: 400; font-size: 12px; }
.account-item button { border: 0; background: transparent; color: #d12b2b; font-weight: 600; }
.order-price { color: var(--orange); font-weight: 700; }
.account-empty { color: #667085; font-size: 13px; margin: 4px 0 8px; }
.mine-head { margin: 14px 0 0; font-size: 13px; }
.mine-refresh {
  border: 1px solid #e4e7ec;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.mine-state {
  flex: none;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.mine-state.need { background: #fff6d8; color: #8a5a00; }
.mine-state.ok { background: #eefbf3; color: #0d7a32; }
.mine-state.off { background: #fff1f1; color: #b42318; }
.account-logout {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #d12b2b;
  font-weight: 700;
}
.profile-modal .textlink { display: block; margin: 8px auto 0; }
.premium {
  margin: 0;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(#3ddc6a, #16a34a);
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.25);
}
.premium small { display: block; font-weight: 600; font-size: 12px; }
.prem-ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: #16a34a;
  display: grid;
  place-items: center;
}
.prem-ico svg { width: 16px; height: 16px; }
.nav { display: flex; flex-direction: column; gap: 10px; }
.nav a {
  padding: 10px;
  border-radius: 8px;
  color: #e8e8e8;
  font-weight: 600;
  font-size: 14.5px;
}
.nav a:hover:not(.active) { background: rgba(255, 255, 255, 0.06); }
.nav a.active { background: var(--yellow); color: #171717; }
.badge-new {
  margin-left: auto;
  background: #ff7a18;
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 6px;
}

.backdrop { display: none; border: 0; padding: 0; }

.main {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
}
.main-fill { flex: 1; }
.site-foot {
  margin-top: 28px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px 12px;
  color: #4b5160;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 28px;
}
.foot-brand img { height: 38px; width: auto; display: block; }
.foot-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; }
.foot-hours {
  display: inline-block;
  margin-top: 12px;
  background: #141414;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.site-foot h2 { margin: 0 0 10px; font-size: 15px; color: #151515; }
.foot-links { display: grid; gap: 7px; }
.foot-links a, .foot-links button {
  background: none;
  border: 0;
  padding: 0;
  color: #374151;
  text-decoration: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.foot-links a:hover, .foot-links button:hover { color: #111; }
.foot-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eef0f3;
  color: #8b919c;
  font-size: 12px;
}
.foot-bar p { margin: 0; }

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}
.hero-wrap { min-width: 0; align-self: start; }
.hero {
  position: relative;
  height: auto;
  aspect-ratio: 1024 / 293;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.hero:active { cursor: grabbing; }
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.hero-track.dragging { transition: none; }
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.hero .dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  margin: 0;
}
.slide-1 {
  background:
    radial-gradient(circle at 86% 42%, #ffe14d 0 72px, transparent 74px),
    linear-gradient(115deg, #101114 0 48%, #ffe14d 48% 49.2%, #171717 49.2% 72%, #ffe14d 72% 73.4%, #101114 73.4%);
}
.slide-2 {
  background:
    radial-gradient(circle at 88% 70%, rgba(255, 45, 85, 0.45), transparent 26%),
    linear-gradient(110deg, #2a0a12 0%, #4a1020 38%, #111 38.3%, #111 100%);
}
.slide-3 {
  background:
    radial-gradient(circle at 84% 30%, rgba(255, 225, 77, 0.28), transparent 24%),
    linear-gradient(160deg, #12325c, #09182e 72%);
}
.slide-copy { position: relative; z-index: 1; max-width: 560px; padding: 28px 32px; }
.kicker {
  margin: 0;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.slide h2 {
  margin: 6px 0 8px;
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: 0;
}
.slide p { margin: 0; font-size: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pills span {
  background: var(--yellow);
  color: #161616;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.geo { position: absolute; inset: 0; pointer-events: none; }
.sq, .ring, .plus { position: absolute; }
.sq { width: 48px; height: 48px; border: 6px solid #ffe14d; right: 20%; top: 18%; }
.ring { width: 110px; height: 110px; border: 10px solid #ffe14d; border-radius: 50%; right: 6%; bottom: -36px; }
.plus { right: 33%; top: 16%; color: #ffe14d; font-size: 40px; font-weight: 700; }
.slide-mark {
  position: absolute;
  right: 28px;
  bottom: 8px;
  font-size: 84px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: -0.04em;
}
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #c5c9d4;
  padding: 0;
}
.dot.on { width: 18px; background: #5b4dff; }

.news {
  background: #fff;
  border-radius: 8px;
  height: 372px;
  overflow: auto;
  padding: 12px 12px 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.news h2 { margin: 0 4px 6px; font-size: 18px; }
.news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 4px;
  border: 0;
  border-top: 1px solid #f1f2f5;
  background: transparent;
  text-align: left;
  color: inherit;
  text-decoration: none;
}
.news-item:hover .news-title { color: #111; }
.news-thumb {
  width: 92px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}
.news-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.news-date { color: var(--blue); font-size: 12px; font-weight: 500; }
.news-title { font-size: 14px; font-weight: 600; line-height: 1.5; }
.news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.story-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  margin: 0 0 12px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.story-back svg { width: 18px; height: 18px; }
.story-back:hover { background: var(--yellow); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.story-hero {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
}
.story-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-note {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.story-cover {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  margin: 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.82) 100%);
  color: #fff;
}
.story-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.story-tag {
  background: var(--yellow);
  color: #171717;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.story-kicker time { color: rgba(255, 255, 255, 0.82); font-size: 13px; font-weight: 500; }
.story-cover h1 { margin: 0 0 8px; color: #fff; font-size: 32px; line-height: 1.3; }
.story-cover p { margin: 0; max-width: 680px; color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1.65; }
.story-sheet {
  margin-top: 14px;
  padding: 22px 24px 16px;
  border-radius: 18px;
  background: #fff;
}
.story-sheet h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 10px;
  font-size: 18px;
}
.story-sheet h2:first-child { margin-top: 0; }
.story-sheet h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: var(--yellow);
  flex: none;
}
.story-sheet p { margin: 0 0 12px; line-height: 1.8; }
.story-points { display: grid; gap: 8px; margin: 0 0 16px; }
.story-point {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f7f9;
}
.story-point b { font-size: 14px; }
.story-point span { color: #3a4150; font-size: 14px; line-height: 1.65; }
.story-figure { margin: 4px 0 16px; }
.story-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #111;
  display: block;
}
.story-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.story-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--side);
  color: #fff;
  text-decoration: none;
}
.story-source small { display: block; color: var(--yellow); font-size: 12px; font-weight: 600; }
.story-source b { font-weight: 600; }
.story-source svg { width: 18px; height: 18px; flex: none; }
.story-source:hover { background: #111; }
.story-rail { position: sticky; top: 14px; }
.story-rail h2 { margin: 2px 4px 10px; font-size: 16px; }
.story-cards { display: grid; gap: 10px; }
.story-card {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.story-card img { width: 100%; height: 132px; object-fit: cover; background: #111; }
.story-card span { display: grid; gap: 2px; padding: 10px 12px 12px; }
.story-card small { color: var(--muted); font-size: 12px; }
.story-card strong { font-size: 14px; line-height: 1.45; }
.story-card:hover { transform: translateY(-2px); }

.flash { margin-top: 0; }
.flash-bar { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.flash-label {
  color: #ff2d55;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.03em;
  font-size: 22px;
}
.ticks { display: flex; align-items: center; gap: 6px; }
.ticks b {
  min-width: 36px;
  text-align: center;
  background: #1a1c22;
  color: #fff;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.ticks span, .ticks i { color: #667085; font-style: normal; font-size: 13px; }
.see-all { margin-left: auto; color: #667085; font-weight: 500; text-decoration: none; }
.see-all:hover { color: #111; }
.show-all {
  margin-left: auto;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.show-all:hover { filter: brightness(1.15); }

.carousel { position: relative; margin-top: 6px; }
.track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 6px 16px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.arrow {
  position: absolute;
  top: 40%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  z-index: 2;
}
.arrow svg { width: 18px; height: 18px; }
.arrow.prev { left: -6px; }
.arrow.next { right: -6px; }
.arrow:disabled { opacity: 0.35; cursor: default; }

.pcard {
  position: relative;
  flex: 0 0 214px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
  padding: 18px 14px 14px;
  text-align: center;
}
.sale-img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
  margin: 12px auto 10px;
  border-radius: 22px;
}
.off {
  position: absolute;
  top: 10px;
  right: 8px;
  background: #ff3b30;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
}
.plogo {
  width: 72px;
  height: 72px;
  margin: 8px auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.pcard h3 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.5;
  min-height: 3em;
}
.pcard p {
  margin: 0 0 8px;
  color: #8b909c;
  font-size: 13px;
  min-height: 2.6em;
}
.price { color: var(--orange); font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.price small { font-size: 14px; font-weight: 700; }
.sale-stock { display: block; margin-top: 6px; color: #98a2b3; font-size: 12px; font-weight: 500; }
.buy {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(#ff8f1f, #ff6a00);
  font-weight: 600;
}
.buy:hover { filter: brightness(1.05); }
#air-go { width: 100%; }

.shelf {
  margin-top: 16px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.04);
}
.shelf-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px 8px 16px;
  background: #1d4e89;
  color: #fff;
}
.shelf-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.shelf-body { margin-top: 0; padding: 8px 0 4px; }
.icon-track { gap: 22px; padding: 18px 28px 18px; }
.icon-item {
  flex: 0 0 156px;
  scroll-snap-align: start;
  border: 0;
  background: transparent;
  padding: 0;
  color: #4b5160;
  text-align: center;
}
.icon-frame {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}
.icon-frame img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 24px;
  display: block;
}
.card-item { flex-basis: 228px; }
.card-item .icon-frame,
.card-item .icon-frame img {
  width: 200px;
  height: 266px;
  border-radius: 14px;
}
.icon-cap {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  min-height: 3em;
}
.trust {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust article { background: #fff; border-radius: 10px; padding: 14px 16px; }
.trust b { display: block; margin-bottom: 2px; }
.trust span { color: var(--muted); font-size: 13px; }

.sheet {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px 22px;
}
.sheet + .sheet, .sheet + .outside, .flash + .sheet { margin-top: 14px; }
.topup-lead { margin: 16px 0 8px; font-size: 26px; font-weight: 700; line-height: 1.4; }
.topup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 26px 12px;
  margin-top: 22px;
}
.topup-grid .icon-item { width: 100%; }
.sheet-slim { padding-top: 14px; padding-bottom: 14px; }
.sheet-slim .page-title { margin: 0; }
.page-title { margin: 0 0 8px; font-size: 22px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.title-row .page-title { margin: 0; }
.title-row .search { width: min(340px, 48%); }
.lead { margin: 0 0 10px; font-weight: 400; }
.prose { color: #374151; font-size: 14.5px; line-height: 1.75; }
.prose h2, .section-title { font-size: 18px; margin: 22px 0 8px; color: #151515; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol, .steps { margin: 0 0 12px; padding-left: 22px; }
.prose li, .steps li { margin: 4px 0; }
.outside { padding: 4px 8px 0; }
.linkline { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 12px; }
.linkline button, .textlink {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.search { position: relative; display: block; }
.search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 40px 0 12px;
  background: #fff;
  color: #111;
}
.sheet > .search { margin-bottom: 16px; }
.search-ico {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  display: grid;
}
.search-ico svg { width: 18px; height: 18px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 18px 10px;
  margin-top: 8px;
}
.game-tile, .gcard, .app-tile {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: center;
}
.gicon, .aicon {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  background: var(--accent);
  color: var(--ink, #fff);
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.12);
}
.gicon { width: 74px; height: 74px; border-radius: 18px; }
.gname { display: block; font-size: 13px; font-weight: 500; line-height: 1.45; }
.gsub { display: block; margin-top: 2px; color: #8b909c; font-size: 12px; min-height: 2.4em; }
.game-tile:hover .gicon, .gcard:hover .gface, .app-tile:hover .aicon, .pcard:hover {
  transform: translateY(-3px);
}
.gicon, .gface, .aicon, .pcard { transition: transform 0.15s ease; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 22px 12px;
}
.voucher-list { display: flex; flex-wrap: wrap; gap: 22px 18px; margin-top: 16px; }
.voucher-item { width: 200px; background: none; border: 0; padding: 0; color: inherit; text-align: center; }
a.voucher-item { display: block; color: inherit; text-decoration: none; }
.voucher-item .game-letter {
  width: 180px;
  height: 240px;
  margin: 0 auto 8px;
  border-radius: 18px;
  font-size: 64px;
}
.voucher-item .gsub { display: block; }
.voucher-item img {
  width: 180px;
  height: 240px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 12px rgba(16, 24, 40, 0.16));
  transition: transform 0.15s ease;
}
.voucher-item:hover img { transform: translateY(-3px); }
.voucher-item .gsub { min-height: 0; }
.voucher-note h2 { margin-top: 8px; font-size: 20px; }
.voucher-note p { margin: 0 0 2px; color: #4b5160; font-size: 14px; line-height: 1.7; }
.gface {
  height: 176px;
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(165deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #111));
  color: var(--ink, #fff);
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.12);
}
.hole {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
}
.gbrand { font-weight: 600; font-size: 15px; line-height: 1.45; }
.gkind { margin-top: 6px; font-size: 10px; letter-spacing: 0.12em; opacity: 0.85; }
.gtag {
  margin-top: 8px;
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 11px;
}
.section-title { margin-top: 28px; }

.app-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 34px 8px 16px;
}
a.app-tile { display: block; width: 168px; color: inherit; text-decoration: none; }
.app-tile img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border-radius: 26px;
  border: 1px solid #e7e9ee;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  transition: transform 0.15s ease;
}
.app-tile:hover img { transform: translateY(-3px); }
.aicon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  font-size: 22px;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.empty { text-align: center; color: var(--muted); }

.air-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.air-head h1 { margin: 0; font-size: 28px; font-weight: 700; }
.air-head p { margin: 6px 0 0; color: #5c6573; max-width: 640px; }
.air-pill {
  flex: none;
  background: #141414;
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}
.air-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}
.air-form fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.air-form legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}
.air-form legend span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #141414;
  color: #fff;
  font-size: 12px;
}
.air-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.air-phone:focus-within { border-color: #141414; box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.08); }
.air-phone > span { color: #667085; font-weight: 600; }
.air-phone input {
  border: 0;
  min-height: 54px;
  padding: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.air-phone input:focus { outline: none; }
.air-bill { position: sticky; top: 16px; }
.air-bill h2 { margin: 0 0 4px; font-size: 18px; }
.air-bill .buy { min-height: 48px; border-radius: 10px; margin-top: 4px; }
.air-trust { list-style: none; margin: 14px 0; padding: 0; color: #4b5563; font-size: 13px; }
.air-trust li { position: relative; padding: 4px 0 4px 16px; }
.air-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}
.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.op, .amt {
  background: #fff;
  border: 1.5px solid var(--line);
  font-weight: 600;
  color: #141414;
}
.op {
  position: relative;
  min-height: 118px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px 12px;
  background: #fff;
}
.op img { height: 42px; width: auto; max-width: 86%; object-fit: contain; }
.op[data-op="true"] { background: #111; color: #fff; }
.op[data-op="true"] small { color: #d0d5dd; }
.op[data-op="dtac"] img { height: 54px; }
.op b { font-size: 14px; }
.op small { color: #667085; font-size: 12px; font-weight: 600; }
.op.on { border-color: #141414; box-shadow: 0 0 0 2px #141414; }
.op.on small { color: #141414; }
.op[data-op="true"].on small { color: #fff; }
.nets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.air-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; margin-bottom: 8px; }
.air-closed { text-align: center; }
.air-closed-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff6cc;
  color: #141414;
  font-size: 26px;
  font-weight: 700;
}
.air-closed .note { margin: 10px 0 16px; font-size: 15px; line-height: 1.7; color: #3f4754; }
.air-bill:has(#bill-logo[src*="truemove"]) { background: #111; color: #fff; }
.air-bill:has(#bill-logo[src*="truemove"]) .summary span,
.air-bill:has(#bill-logo[src*="truemove"]) .note,
.air-bill:has(#bill-logo[src*="truemove"]) .air-trust { color: #d0d5dd; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.amt {
  min-height: 74px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.amt b { font-size: 18px; }
.amt small { color: #8b909c; font-size: 11px; font-weight: 600; }
.amt.on { background: #141414; color: #fff; border-color: #141414; }
.amt.on small { color: var(--yellow); }
.amt[hidden] { display: none; }
.sumline { font-size: 18px; }
.sumline strong { color: var(--orange); font-size: 28px; }
.pay-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay-cards label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 500;
  cursor: pointer;
}
.pay-cards label:has(input:checked) { border-color: #141414; box-shadow: 0 0 0 1px #141414; }
.auth-modal { width: min(440px, 100%); padding: 22px 22px 16px; }
.auth-head { position: relative; justify-content: center; margin-bottom: 6px; }
.auth-head h3 { width: 100%; text-align: center; font-size: 28px; }
.auth-head .x { position: absolute; right: 0; top: 0; }
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.req { color: var(--orange); font-style: normal; }
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 42px; }
.peek {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #667085;
  display: grid;
  place-items: center;
}
.peek svg { width: 20px; height: 20px; }
.peek.on { color: #141414; }
.forgot { border: 0; background: transparent; color: #667085; font-size: 12px; font-weight: 600; }
.auth-go {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 2px solid #141414;
  border-radius: 12px;
  background: #fff;
  color: #141414;
  font-weight: 600;
  font-size: 16px;
}
.auth-go:hover { background: #141414; color: var(--yellow); }
.auth-join { text-align: center; margin: 14px 0 4px; color: #4b5563; font-size: 14px; }
.auth-join button { border: 0; background: transparent; color: var(--orange); font-weight: 600; }
.auth-or { text-align: center; color: #98a2b3; font-size: 13px; margin: 8px 0 10px; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social {
  min-height: 46px;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  line-height: 1.4;
}
.social.google { border: 2px solid #ea4335; }
.social.google b { color: #ea4335; font-size: 16px; }
.social.line { border: 2px solid #06c755; }
.social.line img { width: 18px; height: 18px; object-fit: contain; }
.auth-terms { text-align: center; color: #667085; font-size: 12px; line-height: 1.55; margin: 14px 0 4px; }
.auth-terms a { color: var(--orange); font-weight: 600; }
.member-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.member-table th, .member-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.member-table th { font-size: 13px; color: #667085; }
.uid-cell { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.admin-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.admin-card h2, #admin-gate h2 { margin: 18px 0 8px; font-size: 16px; }
.admin-card h2 { margin-top: 0; }
.check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #f1f2f5;
  color: inherit;
  text-decoration: none;
}
.pill { flex: none; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.pill.ok { background: #e9f9ef; color: #15803d; }
.pill.wait { background: #f4f5f7; color: #667085; }
.admin-login { max-width: 420px; }
body.desk { background: #eef0f3; }
.desk-lock {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(520px 220px at 50% 0%, rgba(255, 225, 77, 0.2), transparent 68%), #1c1e22;
}
.desk-lock-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 18px;
}
.desk-lock-card img { height: 42px; width: auto; }
.desk-lock-card h1 { margin: 14px 0 6px; font-size: 24px; }
.desk-lock-card .lead { color: #667085; margin-bottom: 8px; }
.desk-lock-card .admin-login { max-width: none; }
.desk-shop { display: block; margin-top: 8px; text-align: center; color: #667085; font-weight: 600; }
.desk-frame { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.desk-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px;
  background: #1c1e22;
  color: #fff;
}
.desk-side .desk-brand span { font-size: 14px; }
.desk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.desk-brand img { height: 34px; width: auto; }
.desk-link, .desk-out, .desk-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #3a3d44;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.desk-user { border: 0; padding-left: 4px; }
.desk-nav { display: grid; gap: 4px; margin-top: 16px; }
.desk-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d5d8de;
  font-weight: 600;
  text-align: left;
}
.desk-nav button svg { width: 18px; height: 18px; }
.desk-nav button.on { background: var(--yellow); color: #141414; }
.desk-side-foot { display: grid; gap: 8px; margin-top: auto; }
.desk-side .desk-link, .desk-side .desk-out, .desk-side .desk-user { width: 100%; justify-content: flex-start; }
.desk-work { padding: 22px; }
.desk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.desk-top h1 { margin: 0; font-size: 24px; }
.desk-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-card { background: #fff; border-radius: 14px; padding: 14px 16px; }
.stat-card span { color: #667085; font-size: 13px; }
.stat-card b { display: block; margin-top: 4px; font-size: 28px; font-variant-numeric: tabular-nums; }
.desk-panel { background: #fff; border-radius: 14px; padding: 16px; margin-top: 14px; }
.desk-panel h2 { margin: 0 0 8px; font-size: 16px; }
.ops-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.desk-nav button.on .ops-badge { background: #141414; color: var(--yellow); }
.desk-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ops-lead { margin: 0; color: #667085; }
.ops-tools { display: grid; gap: 10px; }
.ops-search { position: relative; display: block; }
.ops-search input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px 0 44px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
  font-size: 15px;
}
.ops-search .search-ico { left: 14px; right: auto; color: #111; }
.ops-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #fff;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px 0 6px;
  font-weight: 700;
}
.ops-chip b {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #f2f4f7;
  font-size: 13px;
}
.ops-chip.on { background: #141414; color: #fff; }
.ops-chip.on b { background: var(--yellow); color: #141414; }
#ops-list { display: grid; gap: 12px; }
.ops-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px 16px 16px 18px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
  border-left: 5px solid #e6e8ee;
}
.ops-card.need { border-left-color: var(--yellow); }
.ops-card.ok { border-left-color: #12b76a; }
.ops-card.off { border-left-color: #f04438; }
.ops-card header, .ops-id, .ops-line, .ops-acts { display: flex; align-items: center; gap: 8px; }
.ops-card header { justify-content: space-between; }
.ops-card time { color: #98a2b3; font-size: 12px; }
.ops-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 12px;
  font-weight: 700;
}
.ops-status.need { background: #fff6cc; }
.ops-status.ok { background: #e8f8ef; color: #067647; }
.ops-status.off { background: #fdecec; color: #b42318; }
.ops-money { margin: 10px 0 0; }
.ops-money b { display: block; font-size: 32px; letter-spacing: -0.03em; }
.ops-money span, .ops-who span { color: #667085; }
.ops-who { margin: 8px 0 0; }
.ops-who strong { display: block; }
.ops-id {
  flex-wrap: wrap;
  margin: 12px 0;
  padding: 12px;
  border-radius: 14px;
  background: #141414;
  color: #fff;
}
.ops-id span { color: var(--yellow); font-size: 12px; font-weight: 700; }
.ops-id b { font-size: 22px; word-break: break-all; }
.ops-id button, .ops-line button {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--yellow);
  color: #141414;
  font-weight: 700;
}
.ops-line { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f2f4f7; }
.ops-line span { color: #667085; min-width: 88px; }
.ops-line b { word-break: break-all; }
.ops-tip { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff8db; font-size: 13px; }
.ops-acts { margin-top: 12px; flex-wrap: wrap; }
.ops-go, .ops-no { min-height: 42px; border: 0; border-radius: 12px; padding: 0 16px; font-weight: 700; }
.ops-go { background: var(--yellow); }
.ops-no { background: #f2f4f7; }
.ops-empty { margin: 0; background: #fff; border-radius: 16px; padding: 22px; color: #667085; text-align: center; }
.ops-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ops-person {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
}
.ops-person.on { outline: 2px solid #141414; }
.ops-avatar {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #141414;
  color: var(--yellow);
  font-weight: 700;
}
.ops-avatar.lg { width: 64px; height: 64px; margin-bottom: 8px; font-size: 24px; }
.ops-person-name strong, .ops-person-name small { display: block; }
.ops-person-name small { color: #667085; }
.ops-person em { grid-column: 2; font-style: normal; font-weight: 700; color: #b54708; }
.ops-sheet { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: 1fr minmax(280px, 420px); }
.ops-sheet-dim { border: 0; background: rgba(10, 16, 28, 0.45); }
.ops-sheet-card { background: #fff; padding: 22px 18px 28px; overflow: auto; }
.ops-sheet-x { float: right; border: 0; background: #f2f4f7; border-radius: 999px; min-height: 34px; padding: 0 12px; font-weight: 700; }
.ops-sheet-card h2 { margin: 8px 0 0; clear: both; }
.ops-role { display: inline-flex; margin: 6px 0 12px; padding: 2px 10px; border-radius: 999px; background: #fff6cc; font-weight: 700; font-size: 13px; }
.ops-sheet-card h3 { margin: 16px 0 8px; font-size: 14px; }
.ops-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ops-mini li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #f2f4f7; }
.ops-mini span { color: #667085; text-align: right; }
.ops-jumps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ops-jump { text-align: left; border: 0; border-radius: 16px; background: #141414; color: #fff; padding: 16px; min-height: 112px; }
.ops-jump b { display: block; font-size: 32px; color: var(--yellow); }
.ops-jump small { display: block; margin-top: 6px; color: #d0d5dd; }
@media (max-width: 720px) {
  .ops-jumps { grid-template-columns: 1fr; }
  .ops-sheet { grid-template-columns: 1fr; }
  .ops-sheet-dim { display: none; }
}
.desk-work .admin-grid { align-items: start; }
@media (max-width: 900px) {
  .admin-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .desk-frame { grid-template-columns: 1fr; }
  .desk-nav { grid-template-columns: 1fr 1fr; }
  .desk-side-foot { margin-top: 12px; }
}

.field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea, .line-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 42px;
  padding: 8px 12px;
  background: #fff;
  color: #111;
  font-weight: 400;
}
.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.form-err { color: #d12b2b; min-height: 1.2em; font-size: 13px; margin: 0 0 8px; }
.pay-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-picks label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}
.pay-picks input { accent-color: var(--orange); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 28, 0.55);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}
.lang-modal { width: min(520px, 100%); }
.lang-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lang-opt {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: #f2f3f5;
  color: #1c2230;
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.lang-opt small {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  font-size: 12px;
  color: #4b5563;
}
.lang-opt.on { background: var(--yellow); }
.lang-opt .flag { width: 34px; height: 23px; }
.modal {
  width: min(480px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.modal.profile-modal {
  width: min(520px, 100%);
  padding: 0 0 12px;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 100% -20%, rgba(255, 225, 77, 0.22), transparent 60%),
    #12141a;
  border: 1px solid rgba(255, 225, 77, 0.16);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}
.modal h3 { margin: 0; font-size: 20px; }
.modal-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 18px;
}
.price-lg { color: var(--orange); font-size: 28px; font-weight: 700; margin: 8px 0; }
.was { color: #9ca3af; font-size: 14px; margin-left: 8px; font-weight: 600; }
.summary { list-style: none; padding: 0; margin: 8px 0 12px; }
.summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f2f4;
  font-size: 14px;
}
.ok-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f9ef;
  color: #16a34a;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.note {
  background: #fff8e8;
  color: #7a5b12;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.line-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  border: 0;
  padding: 0;
  background: transparent;
  line-height: 0;
  text-decoration: none;
}
.line-fab img {
  display: block;
  width: min(228px, 64vw);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(6, 199, 85, 0.32));
}
.line-panel {
  position: fixed;
  right: 18px;
  bottom: 108px;
  width: min(320px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 70;
  padding: 14px;
}
.line-panel h3 { margin: 0 0 6px; }
.lp-top { display: flex; justify-content: space-between; align-items: center; }

body.modal-open { overflow: hidden; }
noscript { display: block; padding: 24px; }

@media (min-width: 1081px) {
  html.nav-closed .side {
    width: 0;
    min-width: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
  }
}
@media (max-width: 1080px) {
  .side {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 55;
    min-width: 0;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.2);
  }
  html:not(.nav-closed) .side { transform: none; }
  html:not(.nav-closed) .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 50;
  }
  .home-grid { grid-template-columns: 1fr; }
  .news { height: auto; max-height: none; }
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .air-layout, .pay-cards { grid-template-columns: 1fr; }
  .air-bill { position: static; }
  .nets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .title-row { flex-direction: column; align-items: stretch; }
  .title-row .search { width: 100%; }
  .site-foot {
    margin-top: 18px;
    margin-bottom: 96px;
    padding: 16px 14px 14px;
    border-radius: 18px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .foot-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 8px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f3;
  }
  .foot-brand > a { grid-column: 1; grid-row: 1; }
  .foot-brand img { height: 32px; }
  .foot-hours { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  .foot-brand > p:not(.foot-hours) {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }
  .site-foot h2 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #8b919c;
  }
  .foot-links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .foot-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #f4f6f8;
    font-size: 13px;
    line-height: 1.35;
  }
  .foot-grid > div:last-child .foot-links a:nth-child(3),
  .foot-grid > div:last-child .foot-links a:nth-child(4),
  .foot-grid > div:last-child .foot-links a:nth-child(5) {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 46px;
    font-size: 14px;
  }
  .foot-grid > div:last-child .foot-links a:nth-child(4) {
    background: #06c755;
    color: #fff;
  }
  .foot-grid > div:last-child .foot-links a:nth-child(5) {
    background: #fff;
    border: 1px solid #e4e7ec;
    color: #151515;
  }
  .foot-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-top: 14px;
  }
  .slide h2 { font-size: 32px; }
  .slide-copy { padding: 22px 16px; max-width: 100%; }
  .geo { opacity: 0.45; }
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-rail { position: static; }
  .story-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .story-hero, .story-cover { min-height: 380px; }
  .story-cover { padding: 18px; }
  .story-cover h1 { font-size: 24px; }
  .story-sheet { padding: 16px; }
  .story-cards { grid-template-columns: 1fr; }
  .card-grid, .ops, .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-head { align-items: flex-start; flex-direction: column; }
  .flash-bar { flex-wrap: wrap; }
  .see-all { margin-left: 0; }
  .main { padding: 10px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .hero-track { transition: none; }
  .gicon, .gface, .aicon, .pcard, .side, .coin-pack, .story-card { transition: none; }
  .profile-hero::before { animation: none; }
}
.game-page { text-align: left; }
.game-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 8px 0 14px;
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(120px 80px at 100% 0%, rgba(255, 225, 77, 0.35), transparent 70%),
    linear-gradient(160deg, #2a2414, #17191f);
  color: #fff;
}
.game-face, .game-face img, .game-letter {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  display: grid;
  place-items: center;
}
.game-letter {
  background: var(--yellow);
  color: #141414;
  font-size: 36px;
  font-weight: 700;
}
.game-hero h1 { margin: 0; color: #fff; font-size: 26px; }
.game-hero p { margin: 4px 0 0; color: #efe6c4; }
.game-note { color: #fff3bf !important; font-size: 13px; }
.game-note a { color: var(--yellow); font-weight: 700; }
.game-have b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.game-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.game-pack {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 156px;
  padding: 10px 12px 12px;
  border: 1px solid #efe6c4;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.game-pack b { font-size: 14px; line-height: 1.35; }
.game-pack span {
  color: #8a5a00;
  font-weight: 700;
}
.game-pack.on {
  border-color: #141414;
  background: #141414;
  color: #fff;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.12);
}
.game-pack.on span { color: var(--yellow); }
.pack-art {
  position: relative;
  display: block;
  width: 100%;
  height: 78px;
  margin: 0 auto 2px;
}
.pack-art::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 58%;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.08);
}
.game-pack.on .pack-art::after { background: rgba(255, 225, 77, 0.2); }
.pack-art i {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 22px;
  height: 28px;
  margin-left: -11px;
  z-index: 2;
}
.pack-art[data-tier="1"] i:nth-child(n+2),
.pack-art[data-tier="2"] i:nth-child(n+3),
.pack-art[data-tier="3"] i:nth-child(n+4),
.pack-art[data-tier="4"] i:nth-child(n+5),
.pack-art[data-tier="5"] i:nth-child(n+6) { display: none; }
.pack-art[data-tier="1"] i { width: 38px; height: 48px; margin-left: -19px; bottom: 12px; }
.pack-art[data-tier="2"] i,
.pack-art[data-tier="3"] i { width: 28px; height: 36px; margin-left: -14px; }
.pack-art i:nth-child(1) { z-index: 3; }
.pack-art i:nth-child(2) { transform: translateX(-18px); }
.pack-art i:nth-child(3) { transform: translateX(18px); }
.pack-art i:nth-child(4) { transform: translate(-4px, -22px); z-index: 4; }
.pack-art i:nth-child(5) { transform: translate(-20px, -14px); z-index: 3; }
.pack-art i:nth-child(6) { transform: translate(16px, -16px); z-index: 5; }
.pack-art[data-kind="diamond"] i,
.pack-art[data-kind="ffgem"] i,
.pack-art[data-kind="ruby"] i,
.pack-art[data-kind="gem"] i,
.pack-art[data-kind="echo"] i,
.pack-art[data-kind="crystal"] i,
.pack-art[data-kind="shard"] i,
.pack-art[data-kind="lunite"] i,
.pack-art[data-kind="vp"] i {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.96) 0 16%, transparent 17% 46%, rgba(255, 255, 255, 0.38) 47% 52%, transparent 53%),
    linear-gradient(180deg, var(--ga) 0%, var(--gb) 36%, var(--gc) 70%, var(--gd) 100%);
  clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%);
  filter: drop-shadow(0 2px 0 rgba(12, 24, 40, 0.18));
}
.pack-art[data-kind="diamond"] { --ga: #eefbff; --gb: #7ad7ff; --gc: #1472e6; --gd: #08346e; }
.pack-art[data-kind="ffgem"] { --ga: #fff6d4; --gb: #ffb020; --gc: #ff4d00; --gd: #8a1c00; }
.pack-art[data-kind="ruby"] { --ga: #ffe4ec; --gb: #ff4d6d; --gc: #c01040; --gd: #4a0418; }
.pack-art[data-kind="gem"] { --ga: #f3e8ff; --gb: #b06bff; --gc: #6a2ad4; --gd: #2a0d5c; }
.pack-art[data-kind="echo"] { --ga: #ffe8fb; --gb: #e45ad8; --gc: #8a1ea8; --gd: #3a0a48; }
.pack-art[data-kind="crystal"] { --ga: #e9fff8; --gb: #5eecc8; --gc: #129a86; --gd: #063e3a; }
.pack-art[data-kind="shard"] { --ga: #f4ecff; --gb: #c9a6ff; --gc: #7a4ad4; --gd: #2c1460; }
.pack-art[data-kind="lunite"] { --ga: #fffaf0; --gb: #ffe0a0; --gc: #e0b45a; --gd: #8a6420; }
.pack-art[data-kind="vp"] { --ga: #ffe4e4; --gb: #ff4d4d; --gc: #c01020; --gd: #3a040c; }
.pack-art[data-kind="crystal"] i,
.pack-art[data-kind="shard"] i,
.pack-art[data-kind="lunite"] i {
  clip-path: polygon(50% 0, 84% 16%, 100% 48%, 70% 100%, 30% 100%, 0 48%, 16% 16%);
}
.pack-art[data-kind="core"] i {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0 16%, transparent 17%),
    linear-gradient(180deg, #d8f4ff, #3aa0ff 42%, #1248c8);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 2px 0 rgba(10, 30, 80, 0.2));
}
.pack-art[data-kind="uc"] i,
.pack-art[data-kind="rp"] i,
.pack-art[data-kind="token"] i,
.pack-art[data-kind="dcoin"] i,
.pack-art[data-kind="point"] i,
.pack-art[data-kind="coin"] i {
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.85), transparent 34%),
    conic-gradient(from 20deg, var(--ga), var(--gb), var(--gc), var(--gb), var(--ga));
  box-shadow: inset 0 0 0 2px var(--gd), 0 2px 0 rgba(40, 30, 0, 0.16);
}
.pack-art[data-tier="1"][data-kind="uc"] i,
.pack-art[data-tier="1"][data-kind="rp"] i,
.pack-art[data-tier="1"][data-kind="token"] i,
.pack-art[data-tier="1"][data-kind="dcoin"] i,
.pack-art[data-tier="1"][data-kind="point"] i,
.pack-art[data-tier="1"][data-kind="coin"] i { width: 42px; height: 42px; margin-left: -21px; }
.pack-art[data-tier="2"][data-kind="uc"] i,
.pack-art[data-tier="2"][data-kind="rp"] i,
.pack-art[data-tier="2"][data-kind="token"] i,
.pack-art[data-tier="2"][data-kind="dcoin"] i,
.pack-art[data-tier="2"][data-kind="point"] i,
.pack-art[data-tier="2"][data-kind="coin"] i,
.pack-art[data-tier="3"][data-kind="uc"] i,
.pack-art[data-tier="3"][data-kind="rp"] i,
.pack-art[data-tier="3"][data-kind="token"] i,
.pack-art[data-tier="3"][data-kind="dcoin"] i,
.pack-art[data-tier="3"][data-kind="point"] i,
.pack-art[data-tier="3"][data-kind="coin"] i { width: 30px; height: 30px; margin-left: -15px; }
.pack-art[data-kind="uc"] { --ga: #fff6c2; --gb: #e6b000; --gc: #fff1a0; --gd: #8a5a00; }
.pack-art[data-kind="rp"] { --ga: #e7f2ff; --gb: #3b82f6; --gc: #dbeafe; --gd: #1d4e9c; }
.pack-art[data-kind="token"] { --ga: #fff4c8; --gb: #d4a017; --gc: #fff8dc; --gd: #7a5200; }
.pack-art[data-kind="dcoin"] { --ga: #f4f7fb; --gb: #8aa0b8; --gc: #eef3f8; --gd: #3d5166; }
.pack-art[data-kind="point"] { --ga: #e9ffe8; --gb: #22a34a; --gc: #d8ffd4; --gd: #0d6b2c; }
.pack-art[data-kind="coin"] { --ga: #fff8dc; --gb: #c9a227; --gc: #fff3c4; --gd: #6b5420; }
.pack-art[data-kind="coupon"] i,
.pack-art[data-kind="bond"] i,
.pack-art[data-kind="bill"] i {
  height: 16px;
  border-radius: 4px;
  clip-path: none;
  background:
    radial-gradient(circle at 0 50%, transparent 5px, #c99200 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 100% 50%, transparent 5px, #c99200 5.5px 7px, transparent 7.5px),
    linear-gradient(90deg, transparent 47%, rgba(140, 90, 0, 0.45) 47% 48%, transparent 48% 52%, rgba(140, 90, 0, 0.45) 52% 53%, transparent 53%),
    linear-gradient(180deg, #fff6b0, #f0b400);
  box-shadow: inset 0 0 0 1.5px #b8860b, 0 2px 0 rgba(120, 70, 0, 0.16);
}
.pack-art[data-kind="bond"] i {
  background: linear-gradient(180deg, #fff1a8, #e0a020 46%, #8a5a00);
  box-shadow: inset 0 0 0 1.5px #8a5a00, 0 2px 0 rgba(80, 40, 0, 0.16);
}
.pack-art[data-kind="bill"] i {
  background: linear-gradient(180deg, #d9ffe4, #1f9d55 46%, #0b6b32);
  box-shadow: inset 0 0 0 1.5px #085228, 0 2px 0 rgba(0, 50, 20, 0.16);
}
.pack-art[data-tier="1"][data-kind="coupon"] i,
.pack-art[data-tier="1"][data-kind="bond"] i,
.pack-art[data-tier="1"][data-kind="bill"] i { width: 54px; height: 26px; margin-left: -27px; }
.pack-art[data-tier="2"][data-kind="coupon"] i,
.pack-art[data-tier="2"][data-kind="bond"] i,
.pack-art[data-tier="2"][data-kind="bill"] i,
.pack-art[data-tier="3"][data-kind="coupon"] i,
.pack-art[data-tier="3"][data-kind="bond"] i,
.pack-art[data-tier="3"][data-kind="bill"] i { width: 40px; height: 20px; margin-left: -20px; }
.pack-art[data-tier="4"][data-kind="coupon"] i,
.pack-art[data-tier="4"][data-kind="bond"] i,
.pack-art[data-tier="4"][data-kind="bill"] i,
.pack-art[data-tier="5"][data-kind="coupon"] i,
.pack-art[data-tier="5"][data-kind="bond"] i,
.pack-art[data-tier="5"][data-kind="bill"] i,
.pack-art[data-tier="6"][data-kind="coupon"] i,
.pack-art[data-tier="6"][data-kind="bond"] i,
.pack-art[data-tier="6"][data-kind="bill"] i { width: 32px; height: 16px; margin-left: -16px; }
.pack-art[data-kind="card"] i {
  width: 22px;
  height: 30px;
  margin-left: -11px;
  border-radius: 3px;
  clip-path: none;
  background:
    linear-gradient(#ff5a7a, #ffb020, #ffe14d, #3dce7a, #3aa0ff, #9b6bff) top / 100% 5px no-repeat,
    linear-gradient(180deg, #fff, #f3f6fb);
  box-shadow: inset 0 0 0 1px #d5dbe6, 0 2px 0 rgba(20, 30, 50, 0.12);
}
.pack-art[data-tier="1"][data-kind="card"] i { width: 34px; height: 46px; margin-left: -17px; }
.pack-art[data-kind="card"] i:nth-child(1) { transform: rotate(-8deg); }
.pack-art[data-kind="card"] i:nth-child(2) { transform: translateX(-14px) rotate(-16deg); }
.pack-art[data-kind="card"] i:nth-child(3) { transform: translateX(14px) rotate(10deg); }
.pack-art[data-kind="card"] i:nth-child(4) { transform: translateY(-18px) rotate(2deg); }
.pack-art[data-kind="card"] i:nth-child(5) { transform: translate(-16px, -12px) rotate(-12deg); }
.pack-art[data-kind="card"] i:nth-child(6) { transform: translate(16px, -12px) rotate(14deg); }
.pack-art[data-kind="robux"] i {
  border-radius: 7px;
  clip-path: none;
  background: linear-gradient(160deg, #8dffb0, #00b140 55%, #067a28);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 2px 0 rgba(0, 60, 20, 0.18);
}
.pack-art[data-kind="robux"] i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  background: #fff;
}
.pack-art[data-kind="chest"] i {
  height: 22px;
  border-radius: 3px 3px 6px 6px;
  clip-path: none;
  background: linear-gradient(180deg, #ffe08a, #e09a1a 42%, #a86a00);
  box-shadow: inset 0 0 0 1.5px #8a5a00, 0 2px 0 rgba(80, 40, 0, 0.16);
}
.pack-art[data-kind="chest"] i::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -7px;
  height: 9px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #fff1b8, #c98410);
}
.pack-art[data-tier="1"][data-kind="chest"] i { width: 48px; height: 28px; margin-left: -24px; }
.pack-art[data-tier="2"][data-kind="chest"] i,
.pack-art[data-tier="3"][data-kind="chest"] i { width: 36px; height: 22px; margin-left: -18px; }
.pack-art[data-kind="film"] i {
  width: 18px;
  height: 30px;
  margin-left: -9px;
  border-radius: 3px;
  clip-path: none;
  background:
    radial-gradient(circle at 50% 16%, #141414 2px, transparent 2.5px),
    radial-gradient(circle at 50% 84%, #141414 2px, transparent 2.5px),
    linear-gradient(180deg, #f7f7f7, #9aa0a8 46%, #2c2c30);
  box-shadow: inset 0 0 0 1.5px #1a1a1a, 0 2px 0 rgba(0, 0, 0, 0.16);
}
.pack-art[data-tier="1"][data-kind="film"] i { width: 28px; height: 44px; margin-left: -14px; }
.pack-art[data-kind="pass"] i:nth-child(n+2) { display: none; }
.pack-art[data-kind="pass"] i {
  width: 64px;
  height: 36px;
  margin-left: -32px;
  bottom: 18px;
  border-radius: 8px;
  clip-path: none;
  background:
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(20, 20, 20, 0.55) 3px 4px) 18px 50% / 2px 22px no-repeat,
    linear-gradient(180deg, #fff7c4, #ffe14d);
  box-shadow: inset 0 0 0 2px #141414;
}
.pack-art[data-kind="pass"] i::before,
.pack-art[data-kind="pass"] i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #141414;
}
.pack-art[data-kind="pass"] i::before { left: -6px; }
.pack-art[data-kind="pass"] i::after { right: -6px; }
.game-pack.on .pack-art[data-kind="pass"] i::before,
.game-pack.on .pack-art[data-kind="pass"] i::after { background: #141414; }
.game-buy {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
}
.game-pick { margin: 0 0 8px; font-weight: 700; }
.game-buy .auth-go {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe56a, #f5c400);
  color: #141414;
  font-weight: 700;
}
.topup-grid .game-letter { width: 140px; height: 140px; margin: 0 auto; font-size: 48px; }
@media (max-width: 700px) {
  .profile-hero { grid-template-columns: auto minmax(0, 1fr); }
  .profile-hero .coin-chip { grid-column: 1 / -1; width: 100%; }
  .profile-modal.coin-mode .profile-hero { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-modal.coin-mode .coin-slim { grid-column: auto; }
  .topup-row { grid-template-columns: minmax(0, 1fr); }
  .game-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-hero h1 { font-size: 22px; }
  .pack-art { height: 68px; }
}
