:root {
  --brand: #5554C6; --brand-deep: #4342A1; --brand-ink: #2E2D78; --brand-wash: #EEEDFA; --brand-line: #D9D8F2;
  --action: #FF6017; --support: #84D1DF; --support-wash: #CDEBF1;
  --ink: #1A1A1A; --slate: #5A5763; --muted: #8C8994; --line: #E6E5EC; --canvas: #F8F7FB; --surface: #FFFFFF;
  --paper: #EFEEF6;
  --f-structure: 'Urbanist', system-ui, sans-serif; --f-body: 'Crimson Text', Georgia, serif;
  --f-action: 'Albert Sans', system-ui, sans-serif; --f-mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(46, 45, 120, .06), 0 2px 8px rgba(46, 45, 120, .06);
  --shadow-md: 0 2px 6px rgba(46, 45, 120, .06), 0 12px 32px rgba(46, 45, 120, .12);
  --shadow-lg: 0 4px 12px rgba(46, 45, 120, .08), 0 24px 64px rgba(46, 45, 120, .18);
  --header-h: 64px; --cta-h: 0px; --proto-h: 0px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 18px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
body.has-cta { padding-bottom: var(--cta-h); }
body:has(.ad-consent:not([hidden])) { --consent-h: 45px; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.solid { fill: currentColor; stroke: none; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .01em; }

html.bare { --header-h: 0px; }
.top { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(248, 247, 251, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.top .logo { flex: none; display: block; }
.top .logo img { height: 26px; width: auto; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; font: 600 14px/1 var(--f-structure); color: var(--slate); }
.crumbs a { text-decoration: none; padding: 6px 2px; border-radius: 6px; white-space: nowrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { width: 14px; height: 14px; stroke-width: 2; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .lang { position: relative; margin-left: auto; flex: none; }
.top .lang + .get { margin-left: 0; }
.top .lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 700 13px/1 var(--f-action); cursor: pointer; }
.top .lang summary::-webkit-details-marker { display: none; }
.top .lang summary svg { width: 16px; height: 16px; color: var(--slate); }
.top .lang summary:hover { border-color: var(--brand-line); color: var(--brand-deep); }
.top .lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 156px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: 2px; z-index: 50; }
.top .lang-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 12px; border-radius: 9px; text-decoration: none; font: 600 14px/1 var(--f-action); color: var(--ink); white-space: nowrap; }
.top .lang-menu a:hover { background: var(--brand-wash); color: var(--brand-deep); }
.top .lang-menu a[aria-current="true"] { background: var(--brand-wash); color: var(--brand-deep); font-weight: 700; }
.top .get { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 700 14px/1 var(--f-action); }
.top .get svg { width: 18px; height: 18px; }
.top .get:hover { background: var(--brand-deep); }
@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .top .wrap { gap: 10px; }
  .top .logo img { height: 22px; }
  .top .crumbs { display: none; }
  .top .lang summary { height: 36px; padding: 0 10px; }
  .top .get span { display: none; }
  .top .get { padding: 0 12px; }
  .top .get.android-action { font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 36px; min-height: 36px; padding: 0 10px; }
}

.crumbline { margin: 0 0 12px; }
.crumbline .crumbs { flex-wrap: wrap; }
@media (min-width: 721px) { .country-head .crumbline, .walk-copy .crumbline { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 700 15px/1 var(--f-action); text-decoration: none; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 2px 4px rgba(67, 66, 161, .2), 0 10px 24px rgba(85, 84, 198, .28); }
.btn.primary:hover { background: var(--brand-deep); }
.btn.ghost { background: var(--surface); border-color: var(--brand-line); color: var(--brand-deep); }
.btn.ghost:hover { border-color: var(--brand); }
.btn.quiet { background: none; height: 40px; padding: 0 8px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.btn:disabled { opacity: .5; cursor: default; }

.words w { opacity: .32; transition: opacity .12s; }
.words w.lit, .words.idle w { opacity: 1; }

.sm { position: absolute; inset: 0; overflow: hidden; background: var(--paper); }
.sm-in { position: absolute; transition: left .5s var(--ease), top .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }
.sm.instant .sm-in { transition: none; }
.sm svg { width: 100%; height: 100%; }
.sm path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sm .green { fill: #DEDDF3; }
.sm .water { fill: var(--support-wash); }
.sm .paths { stroke: #C9C7DB; stroke-width: 1px; stroke-dasharray: 2 3; }
.sm .minor { stroke: #FFFFFF; stroke-width: 2.5px; }
.sm .major-case { stroke: #D3D1E4; stroke-width: 7px; }
.sm .major { stroke: #FFFFFF; stroke-width: 5px; }
.sm .route { stroke: var(--brand); stroke-width: 3.5px; stroke-dasharray: 1 8; }
.sm .route-under { stroke: rgba(255, 255, 255, .9); stroke-width: 7px; }
.sm-credit { position: absolute; right: 8px; bottom: 6px; z-index: 3; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .8); color: var(--slate); font: 600 10px/1.3 var(--f-structure); text-decoration: none; }
.pin { position: absolute; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--brand-deep); border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(46, 45, 120, .28); font: 800 13px/1 var(--f-structure); cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.pin:hover { transform: translate(-50%, -50%) scale(1.1); }
.pin.on { background: var(--brand); color: #fff; border-color: #fff; z-index: 3; }
.pin.here { width: 36px; height: 36px; background: var(--brand); color: #fff; border: 2.5px solid #fff; z-index: 3; font-size: 15px; box-shadow: 0 2px 6px rgba(46, 45, 120, .35), 0 0 0 4px rgba(85, 84, 198, .22); }
.pin.here.on { box-shadow: 0 2px 6px rgba(46, 45, 120, .35), 0 0 0 6px rgba(85, 84, 198, .3); }
.pin.here::after { content: ""; position: absolute; inset: -10px; pointer-events: none; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.pin.here.live::after { animation: ring 1.8s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.65); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.pname { position: absolute; z-index: 1; transform: translate(19px, -50%); white-space: nowrap; pointer-events: none; font: 700 12.5px/1 var(--f-structure); color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.pname.here { transform: translate(23px, -50%); font-size: 13.5px; font-weight: 800; }
.pname.left { transform: translate(calc(-100% - 19px), -50%); }
.pname.here.left { transform: translate(calc(-100% - 23px), -50%); }
.pname.up { transform: translate(-50%, calc(-100% - 17px)); }
.pname.down { transform: translate(-50%, 17px); }
.pname.upleft { transform: translate(calc(-100% + 14px), calc(-100% - 17px)); }
.pname.downleft { transform: translate(calc(-100% + 14px), 17px); }

.tp { position: relative; height: clamp(520px, calc(100svh - var(--header-h) - var(--proto-h) - var(--consent-h, 0px)), 880px); overflow: hidden; }
.tp-title { position: absolute; z-index: 4; top: 24px; left: var(--gutter); right: var(--gutter); pointer-events: none; margin: 0; }
.tp-title img { height: 64px; width: auto; max-width: min(520px, 100%); object-fit: contain; object-position: left; filter: drop-shadow(0 2px 6px rgba(46, 45, 120, .18)); }
.tp-title .word { display: block; font: 900 56px/1 var(--f-structure); letter-spacing: -.02em; color: var(--ink); text-shadow: 0 0 6px #fff, 0 0 10px #fff; }
.tp-title .sub { display: inline-block; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .9); font: 700 14px/1 var(--f-structure); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.tp-card { position: absolute; z-index: 5; left: var(--gutter); bottom: 28px; width: 400px; padding: 22px 22px 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.tp-step { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-action); color: var(--slate); }
.tp-step .tag { padding: 4px 8px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-deep); font-weight: 700; }
.tp-place { margin: 8px 0 0; font: 800 26px/1.12 var(--f-structure); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.tp-play { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; margin: 16px 0 0; padding: 0 20px 0 8px; border-radius: 30px; border: 0; background: var(--brand); color: #fff; font: 700 17px/1 var(--f-action); cursor: pointer; box-shadow: 0 2px 4px rgba(67, 66, 161, .25), 0 12px 28px rgba(85, 84, 198, .35); transition: background .2s var(--ease); }
.tp-play:hover { background: var(--brand-deep); }
.tp-play .dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); }
.tp-play .dot svg { width: 17px; height: 17px; }
.tp-play .len { margin-left: auto; font: 700 13px/1 var(--f-mono); opacity: .9; }
.tp-play .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.tp-words { margin: 14px 0 0; min-height: 4em; font: 400 20px/1.32 var(--f-body); color: var(--ink); text-wrap: pretty; }
.tp-words.idle { color: var(--slate); }
.tp-about { margin: 12px 0 0; font: 400 19px/1.38 var(--f-body); color: var(--slate); }
.tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 16px; }
.tp-actions .btn { flex: 1 1 auto; }
.tp-kicker, .tp-logo { display: none; }
@media (max-width: 900px) {
  .tp { height: max(560px, calc(100svh - var(--header-h) - var(--cta-h) - var(--proto-h) - var(--consent-h, 0px))); }
  .tp-title { top: 12px; }
  .tp-title img { height: 40px; }
  .tp-title .word { font-size: 36px; }
  .tp-title .sub { margin-top: 6px; font-size: 12px; padding: 4px 7px; }
  .tp-card { left: 0; right: 0; bottom: 0; width: auto; padding: 16px 18px 14px; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px rgba(46, 45, 120, .14); }
  .tp-card::before { content: ""; display: block; width: 38px; height: 5px; margin: -4px auto 10px; border-radius: 3px; background: var(--line); }
  .tp-place { font-size: 22px; }
  .tp-play { height: 56px; margin-top: 12px; }
  .tp-play .dot { width: 40px; height: 40px; }
  .tp-words { margin-top: 12px; font-size: 18px; min-height: 4.05em; }
  .tp-about { font-size: 17px; }
}

.cta-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(0); transition: transform .35s var(--ease); }
.cta-bar.away { transform: translateY(110%); }
.cta-bar p { margin: 0; font: 700 15px/1.2 var(--f-structure); }
.cta-bar p span { display: block; font: 400 14px/1.2 var(--f-body); color: var(--slate); }
.classic .cta-bar p span { color: rgba(244, 243, 248, .7); }
.cta-bar img { height: 44px; width: auto; }
@media (max-width: 900px) { :root { --cta-h: 72px; } }
@media (max-width: 480px) { .cta-bar { justify-content: space-between; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); } .cta-bar img { height: 40px; } }

.ad-consent[hidden] { display: none; }
.ad-consent { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 0 8px; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); font: 500 13px/1.3 var(--f-action); }
.ad-consent a { color: inherit; text-decoration: underline; }
.ad-consent button { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: inherit; font: 700 13px/1 var(--f-action); cursor: pointer; }
.foot [data-ad-settings] { min-height: 44px; padding: 0 10px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tp-ended { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.tp-ended a { font: 700 17px/1.3 var(--f-action); }
.android-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: 24px; background: var(--ink); color: var(--canvas); font: 700 16px/1.2 var(--f-action); text-decoration: none; }
