/* eSIM Space — storefront design (2026 refresh). Layer over shared/tokens.css; self-hosted Inter, SVG flags. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #0A0E1A;
  --text: #0A0E1A; --text-2: #4A5468; --text-3: #8790A2;
  --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #F1F3F7; --border: #E5E8EE; --border-2: #D3D8E2;
  --accent: #10B5A6; --accent-ink: #0A7F75; --accent-soft: #E2F6F3; --accent-2: #4F7DFF; --accent-3: #8B6CFF;
  --primary: #0A0E1A; --primary-hover: #232A3B; --on-primary: #FFFFFF; --primary-soft: #E2F6F3;
  --success: #12A150; --success-soft: #DDF6E7; --warning: #C2710C; --warning-soft: #FDF1DC; --danger: #D93636; --danger-soft: #FDE6E6; --info-soft: #E8F0FF;
  --radius: 20px; --radius-s: 14px; --radius-xs: 10px;
  --shadow: 0 1px 2px rgba(10,14,26,.04), 0 16px 40px -18px rgba(10,14,26,.22);
  --shadow-s: 0 1px 2px rgba(10,14,26,.05);
  --max: 1200px; --gutter: clamp(16px, 4vw, 32px);
  --tabbar-h: 64px;
  --hero-bg: #070A14;
  --map-0: #DCE1E9; --map-1: #9FE3DA; --map-2: #3CC6B5; --map-3: #0A8F82;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #EEF1F6; --text-2: #A7B0C0; --text-3: #737D90;
    --bg: #07090F; --surface: #0F131C; --surface-2: #171C27; --border: #222938; --border-2: #2E3647;
    --primary: #FFFFFF; --primary-hover: #E3E7EE; --on-primary: #0A0E1A; --primary-soft: #0E2E2B; --accent-soft: #0E2E2B; --accent-ink: #4FD9CB;
    --success-soft: #0D2A1B; --warning-soft: #2E2210; --danger-soft: #331517; --info-soft: #121C33;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -18px rgba(0,0,0,.7); --shadow-s: 0 1px 2px rgba(0,0,0,.4);
    --map-0: #222938; --map-1: #155E57; --map-2: #1C9D8F; --map-3: #4FD9CB;
  }
}
:root[data-theme="dark"] {
  --text: #EEF1F6; --text-2: #A7B0C0; --text-3: #737D90;
  --bg: #07090F; --surface: #0F131C; --surface-2: #171C27; --border: #222938; --border-2: #2E3647;
  --primary: #FFFFFF; --primary-hover: #E3E7EE; --on-primary: #0A0E1A; --primary-soft: #0E2E2B; --accent-soft: #0E2E2B; --accent-ink: #4FD9CB;
  --map-0: #222938; --map-1: #155E57; --map-2: #1C9D8F; --map-3: #4FD9CB;
}

body { font-family: var(--font); font-size: 15.5px; letter-spacing: -.005em; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); min-height: 100vh; display: flex; flex-direction: column; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1 { font-weight: 800; } h2 { font-weight: 750; font-size: clamp(24px, 3.2vw, 34px); } h3 { font-weight: 650; }
a { color: var(--accent-ink); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* buttons: pill, ink primary */
.btn { border-radius: 999px; font-weight: 650; padding: 11px 20px; transition: background .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s; }
.btn.primary { box-shadow: 0 6px 16px -8px rgba(10,14,26,.45); }
.btn.secondary { border-color: var(--border-2); }
.btn.secondary:hover { border-color: var(--text); color: var(--text); }
.btn.accent { background: var(--accent); color: #fff; } .btn.accent:hover { background: var(--accent-ink); }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.btn.sm { padding: 7px 14px; }
.badge.primary { background: var(--accent-soft); color: var(--accent-ink); }
.card { border-radius: var(--radius); padding: 22px; }
.progress { height: 10px; } .progress > span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tabs { border-radius: 999px; } .tabs button { border-radius: 999px; }

/* ---------------------------------------------------------------- flags & region icons */
.fl { display: inline-grid; place-items: center; flex: 0 0 auto; width: var(--fs, 28px); height: var(--fs, 28px); border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px rgba(10,14,26,.08); vertical-align: middle; }
.fl img { width: 100%; height: 100%; object-fit: cover; }
.fl.rg { background: linear-gradient(135deg, var(--g1, #10B5A6), var(--g2, #4F7DFF)); color: #fff; box-shadow: none; }
.fl.rg svg { width: 58%; height: 58%; stroke: currentColor; fill: none; stroke-width: 1.7; }
.fl.s20 { --fs: 20px; } .fl.s24 { --fs: 24px; } .fl.s36 { --fs: 36px; } .fl.s44 { --fs: 44px; } .fl.s64 { --fs: 64px; }

/* ---------------------------------------------------------------- top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; } .brand img { width: 34px; height: 34px; border-radius: 10px; }
.topnav { display: none; gap: 2px; margin-left: 6px; }
.topnav a { padding: 8px 13px; border-radius: 999px; color: var(--text-2); font-weight: 560; font-size: 14.5px; min-height: 38px; display: inline-flex; align-items: center; }
.topnav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.topnav a.active { color: var(--text); background: var(--surface); box-shadow: var(--shadow-s), 0 0 0 1px var(--border); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.install-btn { display: none; } body.can-install .install-btn { display: inline-flex; }
.auth-btn { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }

/* language picker */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 650; font-size: 13.5px; cursor: pointer; }
.lang-btn:hover { border-color: var(--border-2); }
.lang-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.lang-btn .chev { width: 12px; height: 12px; opacity: .6; transition: transform .15s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 230px; max-height: min(80vh, 560px); overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.lang.up .lang-menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.lang-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 14.5px; text-align: left; cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--surface-2); outline: none; }
.lang-menu button .code { width: 28px; font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.lang-menu button .nm { flex: 1; }
.lang-menu button .ok { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2.4; visibility: hidden; }
.lang-menu button[aria-selected="true"] { font-weight: 650; } .lang-menu button[aria-selected="true"] .ok { visibility: visible; }
@media (max-width: 560px) {
  .lang-menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); min-width: 0; grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 10px; }
  .lang.up .lang-menu { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .lang-btn .lbl-full { display: none; }
}

/* mobile tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: 11px; font-weight: 600; text-decoration: none; min-height: 44px; }
.tabbar a svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: var(--text); } .tabbar a:hover { text-decoration: none; }
@media (max-width: 899px) { .auth-btn.desktop-only { display: none; } .topbar-inner { gap: 8px; } }

/* ---------------------------------------------------------------- layout */
.view { flex: 1; width: 100%; padding-top: 18px; padding-bottom: 40px; outline: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 0 22px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); }
.page-head p.muted { font-size: 16px; }
.section { margin: clamp(48px, 7vw, 88px) 0; }
.section > h2, .section-head h2 { margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { margin: 6px 0 0; color: var(--text-2); max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--accent-ink); letter-spacing: .01em; margin-bottom: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: 14px; margin-bottom: 14px; min-height: 32px; }
.back-link:hover { color: var(--text); text-decoration: none; }

/* ---------------------------------------------------------------- hero: centered, search first, world map below */
.hero { position: relative; margin: -18px calc(50% - 50vw) 0; padding: clamp(44px, 7vw, 92px) var(--gutter) 0; text-align: center; overflow: hidden;
  background: radial-gradient(55% 60% at 15% 0%, rgba(16,181,166,.20), transparent 70%), radial-gradient(45% 55% at 90% 5%, rgba(79,125,255,.18), transparent 70%), linear-gradient(180deg, #EAF5F7 0%, var(--bg) 78%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: radial-gradient(55% 60% at 15% 0%, rgba(16,181,166,.20), transparent 70%), radial-gradient(45% 55% at 90% 5%, rgba(79,125,255,.18), transparent 70%), linear-gradient(180deg, #0B1220 0%, var(--bg) 78%); } }
:root[data-theme="dark"] .hero { background: radial-gradient(55% 60% at 15% 0%, rgba(16,181,166,.20), transparent 70%), linear-gradient(180deg, #0B1220 0%, var(--bg) 78%); }
.hero-in { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; color: var(--text-2); box-shadow: var(--shadow-s); }
.hero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.05em; margin: 14px 0 16px; max-width: 15ch; background: linear-gradient(100deg, var(--text) 35%, #0A8F82 70%, #4F7DFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 620px; margin: 0 auto 28px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; justify-content: center; }
.hero-quick .lbl { font-size: 13.5px; color: var(--text-3); margin-right: 2px; }
.hero-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13.5px; font-weight: 580; box-shadow: var(--shadow-s); transition: border-color .15s, transform .15s; }
.hero-quick a:hover { border-color: var(--border-2); text-decoration: none; transform: translateY(-1px); }
.hero-quick a .p { color: var(--accent-ink); font-weight: 700; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; font-size: 14px; color: var(--text-2); }
.hero-stats span { display: inline-flex; align-items: center; gap: 6px; } .hero-stats b { color: var(--text); font-weight: 750; }
.hero-stats span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); margin-right: 16px; }
.hero-map { position: relative; max-width: 1000px; margin: clamp(28px, 4vw, 48px) auto 0; }
.hero-map .map-wrap { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hero-map .map-foot { justify-content: center; margin: -8px 0 6px; position: relative; z-index: 2; }

/* search: big pill with a round go-button */
.search-box { position: relative; width: 100%; max-width: 660px; margin: 0 auto; text-align: left; }
.search-box .input { padding-left: 54px; padding-right: 70px; min-height: 64px; font-size: 17px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: 0 2px 4px rgba(10,14,26,.04), 0 18px 40px -18px rgba(10,14,26,.28); }
.search-box .input::placeholder { color: var(--text-3); }
.search-box .input::-webkit-search-cancel-button { display: none; }
.search-box .search-icon { position: absolute; left: 22px; top: 32px; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-3); pointer-events: none; }
.search-go { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .1s; }
.search-go:hover { background: var(--accent-ink); } .search-go:active { transform: scale(.96); }
.search-go svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.3; stroke-linecap: round; }
:root[data-theme="dark"] .search-go { background: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .search-go { background: var(--accent); } }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); max-height: 380px; overflow: auto; z-index: 30; padding: 6px; color: var(--text); }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--text); min-height: 50px; font-weight: 580; }
.search-results a:hover, .search-results a:focus { background: var(--surface-2); text-decoration: none; outline: none; }
.search-results .muted { margin-left: auto; font-size: 13px; font-weight: 500; }
.search-results .none { padding: 16px; color: var(--text-2); text-align: center; }
.center-head { flex-direction: column; align-items: center; text-align: center; gap: 16px; }

/* ---------------------------------------------------------------- geo hint */
.geo-hint { position: relative; display: grid; gap: 14px; padding: 20px 22px; margin-top: 16px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s); }
@media (min-width: 900px) { .geo-hint { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; } }
.geo-hint .who { display: flex; align-items: center; gap: 14px; }
.geo-hint h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; } .geo-hint p { margin: 2px 0 0; font-size: 14px; }
.geo-hint .geo-plans { display: flex; gap: 8px; flex-wrap: wrap; }
.geo-hint .geo-plan { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent; color: var(--text); font-size: 14px; }
.geo-hint .geo-plan:hover { border-color: var(--text); text-decoration: none; } .geo-hint .geo-plan strong { font-size: 15px; } .geo-hint .geo-plan .price { color: var(--accent-ink); font-weight: 700; }
.geo-hint .geo-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.geo-hint .geo-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 0; font-size: 18px; color: var(--text-3); cursor: pointer; } .geo-hint .geo-close:hover { background: var(--surface-2); color: var(--text); }

/* ---------------------------------------------------------------- segmented + destination grid */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text-2); cursor: pointer; }
.seg button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s), 0 0 0 1px var(--border); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.dest { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 72px; }
.dest:hover { border-color: var(--border-2); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-1px); }
.dest .body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dest strong { font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest .muted { font-size: 13px; } .dest .muted b { color: var(--text); font-weight: 650; }
.dest .go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex: 0 0 auto; transition: background .15s, color .15s; }
.dest .go svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.dest:hover .go { background: var(--ink); color: #fff; }
.more-row { display: flex; justify-content: center; margin-top: 18px; }

/* ---------------------------------------------------------------- world map */
.map-card { position: relative; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); padding: clamp(14px, 3vw, 28px); overflow: hidden; }
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.map-wrap path { fill: var(--map-0); stroke: var(--bg); stroke-width: .6; transition: fill .15s, opacity .15s; }
.map-wrap path.c1 { fill: var(--map-1); } .map-wrap path.c2 { fill: var(--map-2); } .map-wrap path.c3 { fill: var(--map-3); }
.map-wrap path.on { cursor: pointer; } .map-wrap path.on:hover, .map-wrap path.hl { fill: var(--accent-2); }
.map-skeleton { aspect-ratio: 1010 / 655; border-radius: 18px; }
.map-tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13.5px; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
.map-tip b { display: block; font-size: 14px; } .map-tip span { color: #7CF0E2; font-weight: 600; }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.map-legend { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; } .map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.map-credit { color: var(--text-3); font-size: 12px; } .map-credit a { color: inherit; text-decoration: underline; }
.map-stats { position: absolute; left: clamp(16px, 3vw, 30px); bottom: clamp(56px, 7vw, 76px); display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); }
.map-stats b { font-size: 26px; letter-spacing: -.03em; line-height: 1; } .map-stats span { font-size: 13px; color: var(--text-2); }
@media (max-width: 700px) { .map-stats { position: static; margin-top: 12px; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px; } }

/* ---------------------------------------------------------------- how it works / benefits / compat */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.step .num { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--border-2); margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; font-size: 18px; } .step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.benefit { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.benefit .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.benefit .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 17px; margin: 0 0 4px; } .benefit p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.compat-teaser { position: relative; display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(120deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 12%, var(--surface))); border: 1px solid var(--border); overflow: hidden; }
@media (min-width: 760px) { .compat-teaser { grid-template-columns: auto minmax(0, 1fr) auto; } }
.compat-teaser .phone { width: 64px; height: 64px; border-radius: 18px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-s); color: var(--accent-ink); }
.compat-teaser .phone svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.compat-teaser h3 { font-size: 20px; margin: 0 0 4px; } .compat-teaser p { margin: 0; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: border-color .15s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 620; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5468' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text-2); max-width: 760px; }
.faq-grid { display: grid; gap: 28px; } @media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }

/* ---------------------------------------------------------------- chips / filters */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 580; font-size: 14px; cursor: pointer; white-space: nowrap; min-height: 40px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--border-2); text-decoration: none; } .chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
:root[data-theme="dark"] .chip.active { background: #fff; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.active { background: #fff; border-color: #fff; color: var(--ink); } }
.chip .fl { --fs: 22px; margin-left: -6px; }
.chip.small { padding: 4px 10px 4px 6px; min-height: 32px; font-size: 13px; font-weight: 520; cursor: default; } .chip.small .fl { --fs: 20px; margin-left: 0; }
.chip-select { appearance: none; -webkit-appearance: none; padding-right: 34px; max-width: 16rem; font: inherit; font-size: 14px; color: inherit; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238790A2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 20px; align-items: end; }
.filters .field { margin: 0; flex: 1 1 160px; } .filters .field select { min-height: 46px; border-radius: 999px; padding-left: 16px; }
.plans-head { display: flex; align-items: center; gap: 16px; margin: 6px 0 4px; }
.plans-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }

/* ---------------------------------------------------------------- plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.plan-card.best { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.plan-card.oos { opacity: .65; }
.plan-card .top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plan-card h3 { margin: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-card .sub { color: var(--text-3); font-size: 12.5px; }
.plan-card .data { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-card .data strong { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-card .days { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--text-2); }
.plan-card .unit { color: var(--text-3); font-size: 13px; }
.plan-card .bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border); }
.plan-card .price { font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
.plan-card .per { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.plan-card .tag { position: absolute; top: -10px; left: 18px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.plan-card .oos-badge { position: absolute; top: 14px; right: 14px; }
.plan-card a.cover { position: absolute; inset: 0; border-radius: inherit; } .plan-card .btn, .plan-card .bottom { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- plan detail */
.plan-layout { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plan-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .buy-box { position: sticky; top: 84px; } }
.plan-hero { padding: clamp(22px, 3vw, 32px); }
.plan-hero .head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.plan-hero h1 { margin: 0; font-size: clamp(24px, 3.2vw, 34px); }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 20px 0; }
.spec { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; } .spec .label { display: block; margin-bottom: 4px; color: var(--text-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; } .spec strong { font-size: 18px; letter-spacing: -.02em; }
.buy-box { padding: 24px; }
.buy-box > .label { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.price-big { font-size: 44px; font-weight: 800; letter-spacing: -.045em; line-height: 1.1; margin: 4px 0 6px; }
.balance-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--surface-2); border-radius: 14px; margin: 14px 0; font-size: 14px; }
.notice { padding: 12px 16px; border-radius: 14px; font-size: 14px; background: var(--info-soft); color: var(--text); border: 1px solid transparent; }
.notice.warning { background: var(--warning-soft); } .notice.danger { background: var(--danger-soft); color: var(--danger); } .notice.success { background: var(--success-soft); }
.notice a { font-weight: 600; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.includes li::before { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.method-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.method-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--border-2); border-radius: 16px; cursor: pointer; background: var(--surface); min-height: 60px; text-align: left; color: var(--text); }
.method-card:hover { border-color: var(--text); }
.method-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.method-card input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; } .method-card .hint { font-size: 12.5px; color: var(--text-3); display: block; }
.method-card .lbl { font-weight: 650; }

/* ---------------------------------------------------------------- orders */
.order-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.order-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); text-decoration: none; }
.order-card .grow { flex: 1; min-width: 0; }
.order-card h3 { margin: 0 0 4px; font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.order-card .meta { color: var(--text-2); font-size: 13.5px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.order-card .usage-mini { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; } .order-card .usage-mini .row { gap: 8px; } .order-card .progress { height: 8px; }
.order-layout { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .order-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.state-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.state-hero h1 { margin: 0; font-size: clamp(24px, 3.4vw, 36px); }
.qr-box { text-align: center; }
.qr-box img { width: min(100%, 300px); aspect-ratio: 1; margin: 12px auto; border-radius: 20px; background: #fff; padding: 14px; border: 1px solid var(--border); }
.qr-box .qr-missing { width: min(100%, 300px); aspect-ratio: 1; margin: 12px auto; border-radius: 20px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-3); padding: 20px; }
.lpa-row { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.lpa-row code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px; padding: 10px 12px; background: var(--surface-2); border-radius: 12px; overflow-wrap: anywhere; word-break: break-all; text-align: left; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; } .kv dt { color: var(--text-2); } .kv dd { margin: 0; font-family: var(--mono); overflow-wrap: anywhere; }
.steps-list { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { counter-increment: s; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before { content: counter(s); flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* usage dashboard */
.usage-card { padding: clamp(20px, 3vw, 28px); }
.usage-grid { display: grid; gap: 18px; align-items: center; grid-template-columns: auto minmax(0, 1fr); }
.donut { position: relative; width: 148px; height: 148px; flex: 0 0 auto; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 12; } .donut .bg { stroke: var(--surface-2); } .donut .fg { stroke: url(#dg); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.donut .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .mid b { font-size: 24px; letter-spacing: -.03em; line-height: 1.05; } .donut .mid span { font-size: 12px; color: var(--text-2); }
.usage-facts { display: grid; gap: 10px; }
.usage-facts .fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.usage-facts .fact b { font-variant-numeric: tabular-nums; }
.usage-note { font-size: 12.5px; color: var(--text-3); margin-top: 10px; }
@media (max-width: 460px) { .usage-grid { grid-template-columns: 1fr; justify-items: center; } .usage-facts { width: 100%; } }
.lifetime { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ring { width: 96px; height: 96px; flex: 0 0 auto; } .ring circle { fill: none; stroke-width: 8; } .ring .bg { stroke: var(--surface-2); } .ring .fg { stroke: var(--accent); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .4s; }
.ring text { font-weight: 800; font-size: 22px; fill: var(--text); } .ring .sub { font-size: 9px; fill: var(--text-2); font-weight: 600; }

/* ---------------------------------------------------------------- wallet / account / devices / legal / auth */
.balance-card { position: relative; overflow: hidden; background: var(--hero-bg); color: #fff; border-radius: 24px; padding: 26px; isolation: isolate; }
.balance-card::before { content: ""; position: absolute; right: -30%; top: -60%; width: 90%; height: 200%; background: radial-gradient(closest-side, rgba(16,181,166,.5), transparent 70%); z-index: -1; }
.balance-card .label { color: rgba(235,240,250,.7); } .balance-card .amount { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.presets button { min-height: 48px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.presets button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.amount-wrap { position: relative; } .amount-wrap .input { padding-right: 40px; } .amount-wrap .cur { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; }
.tx-amount.pos { color: var(--success); font-weight: 700; } .tx-amount.neg { color: var(--text); font-weight: 700; }
.account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; } .account-row:last-child { border-bottom: 0; }
.device-brand { margin-bottom: 20px; } .device-brand h3 { margin-bottom: 10px; }
.device-list { display: flex; flex-wrap: wrap; gap: 8px; } .device-list span { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.device-list mark { background: var(--warning-soft); color: inherit; border-radius: 3px; }
.legal-body { max-width: 780px; } .legal-body h2 { font-size: 19px; margin-top: 26px; } .legal-body p, .legal-body li { color: var(--text-2); } .legal-body ul { padding-left: 20px; }
.auth-card { max-width: 440px; margin: 24px auto; } .auth-card .tabs, .auth-modal .tabs { width: 100%; margin-bottom: 18px; } .auth-card .tabs button, .auth-modal .tabs button { flex: 1; min-height: 40px; }
.form-foot { text-align: center; font-size: 14px; margin-top: 12px; }
.input, input.input, select.input, textarea.input { border-radius: 14px; min-height: 48px; }
.aff-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.aff-stats .card { padding: 16px 18px; } .aff-stats .v { font-size: 24px; font-weight: 800; letter-spacing: -.03em; } .aff-stats .l { color: var(--text-2); font-size: 13px; }
.aff-link { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .aff-link input { flex: 1; min-width: 200px; font-family: var(--mono); font-size: 13px; }
.aff-steps { display: grid; gap: 10px; counter-reset: s; padding: 0; } .aff-steps li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.aff-steps li::before { counter-increment: s; content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; }
.empty { border-radius: 24px; } .empty .icon { font-size: 40px; }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 32px; padding: 56px 0 32px; color: rgba(235,240,250,.7); font-size: 14px; background: var(--hero-bg); }
.footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-grid > div:first-child { grid-column: span 1; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(235,240,250,.45); margin-bottom: 12px; font-weight: 650; }
.footer a { color: rgba(235,240,250,.78); display: block; padding: 5px 0; } .footer a:hover { color: #fff; text-decoration: none; }
.footer .lang-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; margin-top: 14px; }
.footer .lang-menu a, .footer .lang-menu button { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(235,240,250,.45); }
.footer .install-btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }

/* ---------------------------------------------------------------- skeletons & utilities */
.sk-card { padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.sk-card .skeleton { height: 14px; } .sk-card .skeleton.t { height: 20px; width: 60%; } .sk-card .skeleton.big { height: 40px; width: 40%; } .sk-card .skeleton.btn { height: 44px; margin-top: 8px; border-radius: 999px; }
.sk-line { height: 16px; margin-bottom: 10px; } .sk-line.w50 { width: 50%; } .sk-line.w70 { width: 70%; }
.center { text-align: center; } .mt { margin-top: 16px; } .mb { margin-bottom: 16px; } .nowrap { white-space: nowrap; }
.verify-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 480px) { .presets { grid-template-columns: repeat(2, 1fr); } .hero-actions .btn { flex: 1 1 100%; } .page-head .btn { width: 100%; } .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .hero-stats span { font-size: 11.5px; } }

/* desktop: top navigation instead of the bottom tab bar — keep this rule last */
@media (min-width: 900px) { .topnav { display: flex; } body { padding-bottom: 0; } .tabbar { display: none; } }

/* ---------------------------------------------------------------- map zoom & full screen */
.map-wrap { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.map-wrap.zoomed { touch-action: none; }
.map-wrap.zoomed svg { cursor: grab; } .map-wrap.zoomed svg:active { cursor: grabbing; }
.map-wrap path { vector-effect: non-scaling-stroke; }
.map-ctrl { position: absolute; top: 10px; right: 10px; z-index: 4; display: grid; gap: 6px; }
.map-ctrl button { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-s); }
.map-ctrl button:hover { border-color: var(--border-2); }
.map-ctrl svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-wrap:not(.zoomed) .map-ctrl [data-z="out"], .map-wrap:not(.zoomed) .map-ctrl [data-z="reset"] { opacity: .45; }
.hero-map .map-wrap.zoomed { -webkit-mask-image: none; mask-image: none; }
.map-hint { display: none; margin: 4px 0 0; font-size: 12.5px; color: var(--text-3); }
@media (hover: none) and (pointer: coarse) { .map-hint { display: block; } }
.map-sel { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 10px auto 0; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); text-align: left; animation: selIn .18s ease-out; }
.map-sel .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; } .map-sel .grow b { font-size: 15px; } .map-sel .muted { font-size: 13px; } .map-sel .muted b { color: var(--text); font-size: 13px; }
@keyframes selIn { from { opacity: 0; transform: translateY(6px); } }
body.no-scroll { overflow: hidden; }
.hero-map.full { position: fixed; inset: 0; z-index: 400; max-width: none; margin: 0; padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); display: flex; flex-direction: column; justify-content: center; }
.hero-map.full .map-wrap { -webkit-mask-image: none; mask-image: none; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.hero-map.full .map-wrap svg { width: 100%; margin: 0 auto; }
.hero-map.full .map-sel { position: absolute; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); margin: 0 auto; }
.hero-map.full .map-foot, .hero-map.full .map-hint { display: none; }

.map-ctrl svg path { fill: none !important; stroke: currentColor !important; stroke-width: 2; vector-effect: none; cursor: pointer; }
.hero-map .map-foot { margin: 8px 0 6px; }

/* ---------------------------------------------------------------- support chat widget */
.sup { position: fixed; right: 18px; bottom: 18px; z-index: 250; }
@media (max-width: 899px) { .sup { right: 14px; bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); } }
.sup-fab { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(10,14,26,.55); transition: transform .15s, background .15s; }
.sup-fab:hover { transform: translateY(-2px); background: #1B2234; }
.sup-fab svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .sup-fab { background: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sup-fab { background: var(--accent); } }
.sup.open .sup-fab { transform: scale(.9); }
.sup-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.sup-panel { position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 24px 60px -20px rgba(10,14,26,.4); overflow: hidden; animation: supIn .18s ease-out; }
@keyframes supIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.sup-panel header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.sup-panel header .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sup-panel header b { font-size: 15.5px; } .sup-sub { font-size: 12.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.sup-sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.sup-ava { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; } .sup-ava img { width: 100%; height: 100%; }
.sup-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.sup-x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.sup-list { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); overscroll-behavior: contain; }
.sup-hello { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 6px; } .sup-hello .sup-ava { width: 28px; height: 28px; border-radius: 9px; }
.sup-row { display: flex; } .sup-row.in { justify-content: flex-end; }
.sup-msg { max-width: 82%; padding: 9px 12px 7px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.sup-msg.out { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 6px; color: var(--text); }
.sup-msg.in { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
:root[data-theme="dark"] .sup-msg.in { background: var(--accent); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sup-msg.in { background: var(--accent); color: var(--ink); } }
.sup-msg time { display: block; text-align: right; font-size: 11px; opacity: .55; margin-top: 2px; }
.sup-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.sup-form textarea { flex: 1; resize: none; border: 1px solid var(--border-2); border-radius: 18px; padding: 10px 14px; min-height: 44px; max-height: 140px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text); outline: none; }
.sup-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.sup-send { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sup-send:disabled { opacity: .5; } .sup-send svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 560px) {
  .sup.open { inset: 0; right: 0; bottom: 0; }
  .sup.open .sup-fab { display: none; }
  .sup-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
}
body.sup-locked { overflow: hidden; }

/* ---------------------------------------------------------------- free test eSIM */
.trial-slot:empty { display: none; }
.trial-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; margin-top: 16px; padding: 18px 20px; border-radius: 22px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), color-mix(in srgb, var(--accent-2) 10%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); }
@media (min-width: 700px) { .trial-card { grid-template-columns: auto minmax(0, 1fr) auto; } }
.trial-card > .btn { grid-column: 1 / -1; justify-self: start; } @media (min-width: 700px) { .trial-card > .btn { grid-column: auto; } }
.trial-ico { width: 48px; height: 48px; border-radius: 15px; background: var(--surface); display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-s); }
.trial-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trial-card h3 { margin: 0 0 2px; font-size: 17px; } .trial-card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.trial-card .mono { font-family: var(--mono); color: var(--text); font-size: 16px; }
.trial-modal .input { margin-bottom: 10px; }
.trial-list { display: grid; gap: 6px; max-height: min(60vh, 460px); overflow: auto; }
.trial-c { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.trial-c:hover { border-color: var(--border-2); } .trial-c .grow { flex: 1; display: flex; flex-direction: column; min-width: 0; } .trial-c:disabled { opacity: .6; cursor: wait; }

/* ---------------------------------------------------------------- animated install guide (howto.js) */
.howto { display: grid; gap: 22px; align-items: center; grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 620px) { .howto { grid-template-columns: 1fr; justify-items: center; } .howto-side { text-align: center; } .howto-ctl { justify-content: center; } }
.ph { width: 236px; aspect-ratio: 9 / 18.5; padding: 9px; border-radius: 40px; background: #0A0E1A; box-shadow: 0 30px 60px -28px rgba(10,14,26,.55), inset 0 0 0 2px #2A3142; position: relative; flex: 0 0 auto; }
.ph::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 12px; background: #000; z-index: 3; }
.ph.android::before { width: 10px; height: 10px; border-radius: 50%; top: 17px; }
.ph-scr { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #F2F2F7; color: #111; font: 500 11.5px/1.3 -apple-system, "SF Pro Text", Inter, Roboto, sans-serif; letter-spacing: 0; }
.ph.android .ph-scr { background: #F7F9FC; font-family: Roboto, Inter, sans-serif; }
.ph-stage { position: absolute; inset: 0; }
.ph-stage.in { animation: phIn .35s ease-out; } @keyframes phIn { from { opacity: 0; transform: translateX(14px); } }
.ph-status { display: flex; justify-content: space-between; padding: 14px 22px 4px; font-size: 11px; } .ph-status b { font-weight: 700; } .ph-status span { letter-spacing: -1px; font-size: 9px; }
.ph-body { padding: 8px 12px; position: relative; height: calc(100% - 36px); }
.ph-title { font-size: 21px; font-weight: 800; margin: 6px 4px 10px; letter-spacing: -.02em; } .ph-title.sm { font-size: 16px; margin-top: 4px; }
.ph-back { color: #0A84FF; font-size: 12px; margin: 2px 2px 0; } .ph.android .ph-back { color: #1A73E8; }
.ph-search { height: 28px; border-radius: 14px; background: #E8EAED; margin: 0 2px 10px; padding: 6px 12px; color: #777; font-size: 12px; }
.ph-group { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 12px; } .ph-group.flat { background: transparent; }
.ph-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-bottom: 1px solid #ECECF0; position: relative; transition: background .2s; min-height: 34px; }
.ph-group.flat .ph-row { border: 0; padding: 10px 6px; }
.ph-row:last-child { border-bottom: 0; } .ph-row.hit { background: #D9D9DE; } .ph.android .ph-row.hit { background: #E3ECFB; border-radius: 10px; }
.ph-l { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ph-row em { font-style: normal; color: #8E8E93; font-size: 10.5px; }
.ph-chev { color: #C4C4C7; font-size: 16px; font-weight: 400; }
.ph-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: 0 0 auto; } .ph.android .ph-ic { border-radius: 50%; }
.ph-ic svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-link { color: #0A84FF; font-weight: 600; } .ph.android .ph-link { color: #1A73E8; }
.ph-sw { width: 34px; height: 20px; border-radius: 10px; background: #E5E5EA; position: relative; transition: background .25s; flex: 0 0 auto; }
.ph-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .25s; }
.ph-sw.on { background: #34C759; } .ph-sw.on i { left: 16px; } .ph.android .ph-sw.on { background: #1A73E8; }
.ph-sheet { position: absolute; left: 6px; right: 6px; bottom: -60%; background: #fff; border-radius: 16px 16px 12px 12px; padding: 10px 6px 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.18); transition: bottom .35s cubic-bezier(.2,.9,.3,1.2); z-index: 2; }
.ph-sheet.show { bottom: 8px; } .ph-sheet-t { font-weight: 700; text-align: center; margin-bottom: 6px; font-size: 12.5px; }
.ph-sub { position: absolute; inset: 0; background: inherit; padding: 8px 12px; transform: translateX(100%); transition: transform .35s ease; z-index: 2; background: #F7F9FC; }
.ph-sub.show { transform: none; }
.ph-cam { position: absolute; inset: -40px -12px -12px; background: #111; display: grid; place-content: center; justify-items: center; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 4; color: #fff; text-align: center; padding: 20px; }
.ph-cam.show { opacity: 1; } .ph-cam p { margin: 0; font-size: 11px; opacity: .85; max-width: 170px; }
.ph-qrbox { width: 124px; height: 124px; position: relative; background: #fff; padding: 8px; border-radius: 8px; box-shadow: 0 0 0 5px #111, 0 0 0 7px #FFD60A; } .ph-qrbox svg { width: 100%; height: 100%; display: block; }
.ph-qrbox span { position: absolute; left: -6px; right: -6px; height: 2px; background: #FFD60A; box-shadow: 0 0 10px #FFD60A; animation: scan 1.3s ease-in-out infinite alternate; } @keyframes scan { from { top: 4%; } to { top: 94%; } }
.ph-btn { display: block; width: calc(100% - 8px); margin: 14px auto 0; padding: 10px; border: 0; border-radius: 12px; background: #0A84FF; color: #fff; font: 600 12.5px/1 inherit; transition: filter .2s; } .ph-btn.hit { filter: brightness(.8); }
.ph.android .ph-btn { background: #1A73E8; border-radius: 20px; }
.ph-edit .ph-l::after { content: "|"; animation: blink 1s steps(1) infinite; color: #0A84FF; } @keyframes blink { 50% { opacity: 0; } }
.ph-check { color: #0A84FF; font-weight: 800; font-size: 13px; }
.ph-done { position: absolute; left: 12px; right: 12px; bottom: 24px; padding: 10px; border-radius: 12px; background: #34C759; color: #fff; text-align: center; font-weight: 700; opacity: 0; transform: translateY(10px); transition: all .35s; }
.ph-done.show { opacity: 1; transform: none; }
.ph-center { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 0 14px; }
.ph-spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #D2E3FC; border-top-color: #1A73E8; animation: spin .8s linear infinite; } .ph-spinner.ok { animation: none; border-color: #1E8E3E; background: #1E8E3E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 22px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph-tap { position: absolute; left: 50%; top: 110%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(16,181,166,.30); border: 2px solid rgba(16,181,166,.9); box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 6; opacity: 0; transition: left .6s cubic-bezier(.4,.1,.2,1), top .6s cubic-bezier(.4,.1,.2,1), opacity .2s; pointer-events: none; }
.ph-tap.show { opacity: 1; }
.ph-tap.press { animation: press .45s ease-out; } @keyframes press { 0% { transform: scale(1); } 40% { transform: scale(.7); background: rgba(16,181,166,.6); } 100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(16,181,166,0); } }
.howto-side { display: grid; gap: 14px; }
.howto-step { display: flex; gap: 14px; align-items: flex-start; min-height: 4.8em; }
.howto-n { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; }
:root[data-theme="dark"] .howto-n { background: var(--accent); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .howto-n { background: var(--accent); color: var(--ink); } }
.howto-cap { font-size: 16px; line-height: 1.45; color: var(--text); padding-top: 6px; }
.howto-dots { display: flex; gap: 6px; } .howto-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--border-2); cursor: pointer; transition: width .2s, background .2s; } .howto-dots button.on { width: 24px; background: var(--accent); }
.howto-ctl { display: flex; gap: 8px; } .howto-ctl .btn { min-width: 42px; }
.howto.compact .ph { width: 210px; }
.how-grid { display: grid; gap: 24px; align-items: center; } @media (min-width: 980px) { .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.os-tabs { margin-bottom: 16px; }

/* ---------------------------------------------------------------- top-ups, perks, daily plans */
.tu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.tu-opt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.tu-opt:hover { border-color: var(--text); transform: translateY(-1px); } .tu-opt strong { font-size: 19px; letter-spacing: -.02em; } .tu-opt .p { font-weight: 750; color: var(--accent-ink); } .tu-opt small { color: var(--text-3); font-size: 11.5px; }
.auto-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.auto-row .grow { flex: 1; min-width: 200px; } .auto-row b { display: block; } .auto-row .muted { font-size: 13px; }
.switch { position: relative; width: 48px; height: 28px; flex: 0 0 auto; } .switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--border-2); transition: background .2s; } .switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .2s; }
.switch input:checked + span { background: var(--accent); } .switch input:checked + span::after { left: 23px; } .switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.perk-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: start; }
.perk-card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.perk-card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.perk-card h3 { margin: 0 0 4px; font-size: 17px; } .perk-card p { margin: 0 0 10px; color: var(--text-2); font-size: 14px; } .perk-card .row { gap: 8px; }
.perk-card ol { margin: 6px 0 10px; padding-left: 18px; color: var(--text-2); font-size: 14px; } .perk-card code { font-family: var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.cashback-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--accent-ink); font-weight: 600; margin: -2px 0 10px; }
.badge.unl { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.plan-card .fup { font-size: 12px; color: var(--text-3); }

/* ---------------------------------------------------------------- new version available */
.upd-bar { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 500; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(10,14,26,.5); font-size: 14px; font-weight: 560; animation: selIn .2s ease-out; max-width: calc(100vw - 24px); }
.upd-bar .btn.primary { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------- checkout */
.co-methods { margin-bottom: 12px; grid-template-columns: 1fr; }
.checkout-wait { padding: 36px 26px; } .checkout-wait h2 { margin: 12px 0 6px; }
.cw-ico { font-size: 40px; display: grid; place-items: center; min-height: 48px; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; }
.guest-card { margin: 10px 0 16px; border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.boot-hero .hero-in > .skeleton { display: block; } .boot-hero { padding-bottom: 60px; }

/* ---------------------------------------------------------------- plans page 2.0: picker search, destination header, compact tiles */
.plans-search { max-width: 560px; margin: 0 0 8px; }
.plans-search .input { min-height: 54px; padding-right: 20px; box-shadow: var(--shadow-s); }
.plans-search .search-icon { top: 27px; }
.list-h { font-size: 20px; margin: 28px 0 12px; }
.dest-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; }
.dest-head h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); } .dest-head p { margin: 4px 0 0; font-size: 15px; } .dest-head p b { color: var(--text); }
.cov { margin: 0 0 16px; } .cov summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 14px; margin-bottom: 10px; } .cov .chips { gap: 6px; }
.kind-seg { margin: 4px 0 12px; } .kind-seg .n { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--surface-2); font-size: 12px; color: var(--text-2); }
.kind-seg button.active .n { background: var(--accent-soft); color: var(--accent-ink); }
.kind-note { max-width: 680px; margin: 0 0 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); gap: 10px; }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 132px; }
.tile:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.tile.best { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.tile.oos { opacity: .55; }
.tile-tag { position: absolute; top: -9px; left: 14px; padding: 2px 9px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.tile-data { font-size: 28px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; } .tile-data small { font-size: 14px; font-weight: 650; color: var(--text-2); letter-spacing: 0; }
.tile-days { font-size: 14px; color: var(--text-2); font-weight: 560; }
.tile-sub { font-size: 12px; color: var(--text-3); }
.tile-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.tile-price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; } .tile-per { font-size: 11.5px; color: var(--text-3); }
.tile-oos { font-size: 11.5px; color: var(--danger); font-weight: 600; }
@media (max-width: 560px) { .tile { padding: 14px 12px 12px; min-height: 118px; } .tile-data { font-size: 24px; } .tile-price { font-size: 17px; } .dest-head .fl.s64 { --fs: 48px; } }

/* geo hint: stacked rows, chips never wrap inside */
@media (min-width: 900px) { .geo-hint { grid-template-columns: 1fr; gap: 14px; } }
.geo-hint .geo-plans { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .geo-hint .geo-plans::-webkit-scrollbar { display: none; }
.geo-hint .geo-plan { white-space: nowrap; flex: 0 0 auto; }
/* hero quick picks: one line on phones */
@media (max-width: 560px) { .hero-quick a:nth-of-type(n+4) { display: none; } .hero-quick .lbl { width: 100%; } }

/* ---------------------------------------------------------------- SEO landing pages (server-rendered) */
body.seo { padding-bottom: 0; }
.seo-langs { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-end; padding-top: 8px; font-size: 12.5px; }
.seo-langs a { color: var(--text-3); } .seo-langs a[aria-current] { color: var(--text); font-weight: 700; }
.seo-page { padding-top: 10px; } .seo-page h1 { font-size: clamp(32px, 5vw, 52px); margin: 0; letter-spacing: -.04em; }
.seo-crumbs { font-size: 13px; color: var(--text-3); margin: 6px 0 18px; } .seo-crumbs a { color: var(--text-2); }
.seo-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.seo-sub { margin: 6px 0 0; font-size: 18px; color: var(--accent-ink); font-weight: 650; }
.seo-lead { font-size: 17px; color: var(--text-2); max-width: 760px; }
.section-sm { margin: 40px 0; } .section-sm h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.seo-page td.num, .seo-page th.num { text-align: right; } .seo-page table { font-size: 15px; } .seo-page td { vertical-align: middle; }
.seo-foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { body.seo .topnav { display: none !important; } body.seo .brand span { font-size: 16px; } }

/* ---------------------------------------------------------------- networks / internet exit */
.nets-line { font-size: 12px; color: var(--text-3); line-height: 1.35; margin-top: -6px; }
.net-ops { display: flex; flex-wrap: wrap; gap: 6px; } .op { display: inline-flex; gap: 4px; align-items: baseline; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; } .op b { font-size: 11px; color: var(--accent-ink); }
.net-details summary { cursor: pointer; color: var(--text-2); font-size: 14px; } .net-list { display: grid; gap: 6px; margin-top: 10px; max-height: 340px; overflow: auto; }
.net-row { display: grid; grid-template-columns: auto 140px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; } .net-row .ops { display: flex; flex-wrap: wrap; gap: 4px; } .net-row .op { padding: 2px 8px; font-size: 12px; }
.ip-note b { font-weight: 650; }

.tile-nets { font-size: 11.5px; line-height: 1.3; color: var(--text-2); }

/* currency picker inside the language menu */
.lang-menu .cur-head { padding: 10px 12px 4px; font-size: 12px; font-weight: 650; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; border-top: 1px solid var(--border); margin-top: 6px; }
.lang-menu .cur-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px 8px 8px; }
.lang-menu .cur-grid button { padding: 7px 0; border-radius: 8px; border: 1px solid transparent; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.lang-menu .cur-grid button:hover { background: var(--surface-2, rgba(0,0,0,.05)); }
.lang-menu .cur-grid button[aria-selected="true"] { border-color: var(--primary); color: var(--primary); }

/* promo code + friend discount */
.price-big .old { font-size: .55em; color: var(--text-2); font-weight: 600; }
.friend-line { margin: 6px 0 2px; font-size: 14px; font-weight: 600; color: var(--success, #15803d); }
details.promo { margin-top: 12px; font-size: 14px; }
details.promo summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.promo-row { display: flex; gap: 8px; margin-top: 8px; }
.promo-row .input { flex: 1; min-width: 0; text-transform: uppercase; }

/* partner programme landing */
.partner-hero { text-align: center; padding: 28px 0 8px; max-width: 760px; margin: 0 auto; }
.partner-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 8px 0 12px; }
.partner-hero .lead { font-size: 18px; color: var(--text-2); }
.partner-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.partner-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.partner-steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }
.partner-steps h3 { margin: 10px 0 6px; }
.partner-example { max-width: 760px; margin-left: auto; margin-right: auto; }

/* tools: calculator, trip planner, coverage */
.tool-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 820px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-form h4 { margin: 14px 0 6px; }
.tool-form input[type=range] { width: 100%; accent-color: var(--primary); }
.tool-form .check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 6px 0; }
.calc-result { text-align: center; }
.calc-big { font-size: clamp(32px, 6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0; }
.leg { display: grid; grid-template-columns: auto 1fr 72px auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); }
.leg .input { padding: 6px 8px; }
.trip-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.trip-opt.win { outline: 2px solid var(--primary); }
.trip-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; font-size: 14px; }
.trip-list li { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trip-list b { margin-left: auto; }
.cov-table td.ops { font-size: 13px; color: var(--text-2); }
.cov-table a { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 640px) { .cov-table .hide-sm { display: none; } }
.tools-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.tool-card .ico { font-size: 28px; }
.tool-card:hover { border-color: var(--primary); }
.danger-text { color: var(--danger, #dc2626) !important; }

/* blog (server-rendered) */
.blog-list { display: grid; gap: 14px; margin-top: 18px; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card h2 { font-size: 20px; margin: 4px 0 6px; }
.blog-card:hover { border-color: var(--primary); }
.blog-post article { max-width: 720px; }
.blog-post article h2 { font-size: 22px; margin: 28px 0 10px; }
.blog-post article p, .blog-post article li { font-size: 17px; line-height: 1.65; }
.blog-post article ul { padding-inline-start: 22px; }
