/* «Рейс» — английский игрой. Те же краски журнала: рассвет, чернила, пудра и золото. */
.g-hero { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 16px; background: var(--card); }
.g-hero .img { aspect-ratio: 3/2; max-height: 260px; width: 100%; background: var(--sky-grad) center/cover no-repeat; position: relative; }
.g-hero .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(30, 40, 70, .55)); }
.g-hero .over { position: absolute; left: 18px; right: 18px; bottom: 14px; color: #fff; z-index: 1; }
.g-hero .over small { font: 800 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.g-hero .over h1 { font: italic 600 36px/1.05 var(--serif); margin: 4px 0 0; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.g-hero .code { position: absolute; top: 14px; right: 14px; z-index: 1; background: rgba(255,255,255,.88); color: var(--ink); font: 800 12px var(--sans); letter-spacing: .16em; padding: 6px 10px; border-radius: 10px; }
.g-hero .body { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 18px 16px; }
.wings { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); }
.wings svg { width: 32px; height: 22px; fill: var(--gold); }
.g-hero .rank b { display: block; font: 600 20px/1.1 var(--serif); }
.g-hero .rank span { font-size: 12.5px; color: var(--ink-2); }
.g-hero .starsum { font: 700 13px var(--sans); color: var(--gold-ink); white-space: nowrap; }
.g-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.g-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); }

.routes { width: 100%; height: 160px; display: block; margin: 2px 0 4px; }
.routes .arc { fill: none; stroke: var(--ink); stroke-opacity: .2; stroke-width: 1.4; stroke-dasharray: 3 5; }
.routes .arc.on { stroke: var(--rose); stroke-opacity: .8; }
.routes circle.city { fill: var(--card); stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.5; }
.routes circle.city.on { fill: var(--rose); stroke: var(--card); stroke-width: 3; }
.routes circle.city.home { fill: var(--ink); stroke: var(--card); stroke-width: 3; }
.routes text { font: 800 10.5px var(--sans); fill: var(--ink); letter-spacing: .08em; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }

.flight { display: grid; grid-template-columns: 1fr 86px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; position: relative; transition: transform .2s; }
.flight:active { transform: scale(.985); }
.flight .main { padding: 14px 14px 14px 16px; min-width: 0; }
.flight .route { display: flex; align-items: center; gap: 8px; font: 800 13px var(--sans); letter-spacing: .14em; }
.flight .route svg { width: 16px; height: 16px; fill: var(--rose); }
.flight h3 { font: 600 22px/1.15 var(--serif); margin: 4px 0 2px; }
.flight p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.flight .side { border-left: 2px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(180deg, var(--rose-soft), var(--card-2)); }
.flight .side .st { font-size: 15px; letter-spacing: 2px; color: var(--gold); }
.flight .side .go { font: 800 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose-ink); }
.flight.locked { opacity: .55; }
.flight.locked .side .go { color: var(--muted); }

.passport { display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px 12px; scrollbar-width: none; }
.passport::-webkit-scrollbar { display: none; }
.pstamp { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 2.5px solid var(--rose); outline: 1px solid var(--rose); outline-offset: 3px; color: var(--rose); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-9deg); background: var(--card); }
.pstamp:nth-child(2n) { transform: rotate(7deg); color: var(--gold); border-color: var(--gold); outline-color: var(--gold); }
.pstamp b { font: 800 19px/1 var(--sans); letter-spacing: .08em; }
.pstamp small { font: 700 8.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.pstamp.empty { border-style: dashed; outline: none; color: var(--muted); opacity: .6; transform: none; }

.lvl-link { display: flex; justify-content: space-between; align-items: center; background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); margin-top: 6px; }
.lvl-link b { font: 600 19px var(--serif); }
.lvl-link span { font: 800 12px var(--sans); color: var(--rose-ink); }

/* имя авиакомпании */
.namecard { text-align: center; padding: 24px 20px; }
.namecard input { width: 100%; text-align: center; font: italic 600 28px var(--serif); border: 0; border-bottom: 2px solid var(--rose-2); background: none; outline: 0; padding: 8px 4px; margin: 6px 0 4px; color: var(--ink); }
.namecard input::placeholder { color: var(--muted); opacity: .6; }
.namecard .ideas { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 18px; }

/* персонаж и реплика */
.who { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: end; margin: 12px 0; }
.who.right { grid-template-columns: 1fr 64px; }
.who .ava { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-grad) center/cover; box-shadow: 0 0 0 3px var(--card), var(--shadow); }
.who.right .ava { order: 2; }
.bubble { position: relative; background: var(--card); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow); padding: 12px 14px; }
.who.right .bubble { border-radius: 22px 22px 6px 22px; background: linear-gradient(160deg, var(--card), var(--rose-soft)); }
.bubble .nm { font: 800 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; display: flex; justify-content: space-between; gap: 8px; }
.bubble .en { font: 600 18px/1.35 var(--serif); }
.bubble .ru { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.bubble .ru[hidden] { display: none; }
.bubble .tools { display: flex; gap: 6px; margin-top: 8px; }
.say { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px var(--sans); color: var(--rose-ink); background: var(--rose-soft); border-radius: 999px; padding: 7px 12px 7px 10px; min-height: 36px; }
.say svg { width: 12px; height: 12px; fill: currentColor; }
.say.ghost { background: transparent; color: var(--muted); }
.mentor { background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); border-radius: 22px; padding: 14px 16px; margin: 12px 0; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; font-size: 14.5px; }
.mentor .ava { width: 44px; height: 44px; border-radius: 50%; background: center/cover; box-shadow: 0 0 0 2px var(--card); }
.mentor b { display: block; font: 800 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px; }
.narr { font: italic 500 18px/1.45 var(--serif); color: var(--ink-2); margin: 6px 4px 10px; }

/* шаги рейса */
.fhead { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; }
.fhead .t { font: 800 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fhead .x { font-size: 26px; line-height: 1; color: var(--muted); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.fsteps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin: 0 2px 6px; }
.fsteps i { height: 5px; border-radius: 3px; background: var(--line); }
.fsteps i.done { background: var(--rose-2); }
.fsteps i.on { background: linear-gradient(90deg, var(--peach), var(--rose)); }
.stitle { font: 600 30px/1.1 var(--serif); margin: 4px 2px 6px; }
.rule { display: grid; gap: 8px; margin: 12px 0; }
.rule > div { background: var(--card); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.rule .en { font: 600 17px var(--serif); }
.rule .ru { font-size: 13px; color: var(--ink-2); }

/* пары */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.match .col { display: grid; gap: 8px; align-content: start; }
.mt { text-align: left; background: var(--card); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; border: 2px solid transparent; min-height: 56px; transition: all .2s; }
.mt.bad { border-color: var(--rose); background: var(--rose-soft); }
.mt.en { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.mt.sel { border-color: var(--rose); background: var(--rose-soft); }
.mt.ok { border-color: var(--mint); background: rgba(140,201,181,.18); opacity: .45; pointer-events: none; }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* салон */
.pax { position: sticky; top: 8px; z-index: 5; }
.cabin { background: var(--card); border-radius: 26px 26px 18px 18px; box-shadow: var(--shadow); padding: 14px 10px 10px; margin-top: 10px; position: relative; }
.cabin .nose { text-align: center; font: 800 9.5px var(--sans); letter-spacing: .2em; color: var(--muted); margin-bottom: 8px; }
.srow { display: grid; grid-template-columns: repeat(3, 1fr) 30px repeat(3, 1fr); gap: 6px; margin-bottom: 6px; align-items: center; }
.srow .rn { text-align: center; font: 700 11px var(--sans); color: var(--muted); font-variant-numeric: lining-nums; }
.seat { height: 44px; border-radius: 10px 10px 7px 7px; background: var(--card-2); border: 1.5px solid var(--line); font: 700 12px var(--sans); color: var(--muted); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.seat i { font-style: normal; opacity: .7; font-size: 11px; }
.seat.taken i { opacity: 1; font-size: 13px; }
.seat.win { background: linear-gradient(180deg, rgba(159,194,234,.22), var(--card-2)); }
.seat.taken { background: var(--rose); border-color: var(--rose); color: #fff; }
.seat.bad { animation: shake .35s; border-color: var(--rose); background: var(--rose-soft); box-shadow: 0 0 0 2px var(--rose); }
.seat.hint { box-shadow: 0 0 0 3px var(--gold); }
.lbl-row { display: grid; grid-template-columns: repeat(3, 1fr) 30px repeat(3, 1fr); gap: 6px; margin-bottom: 4px; font: 800 10px var(--sans); color: var(--muted); text-align: center; }

/* плитки */
.ann { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; }
.ann .ru { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.ann .built { min-height: 48px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.ann .built.ok { border: 1.5px solid var(--mint); background: rgba(140,201,181,.12); }
.ann .pool { display: flex; flex-wrap: wrap; gap: 6px; }
.tile { background: var(--card-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; min-height: 42px; font: 600 18px/1.2 var(--serif); transition: background .2s, border-color .2s; }
.built .tile.good { background: rgba(140,201,181,.22); border-color: var(--mint); }
.built .tile.bad { background: var(--rose-soft); border-color: var(--rose); animation: shake .35s; }
.built .ph-hint { font: 600 12.5px var(--sans); color: var(--muted); padding: 0 6px; }
.built .tile { background: var(--rose-soft); border-color: var(--rose-2); }
.ann.done .pool { display: none; }
.ann.locked { opacity: .45; pointer-events: none; }

/* варианты ответа */
.ask { font: 800 12px var(--sans); letter-spacing: .06em; color: var(--ink-2); margin: 12px 4px 8px; }
.gopts { display: grid; gap: 8px; }
.gopt { text-align: left; background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); font: 600 16px/1.35 var(--serif); border: 2px solid transparent; transition: all .2s; }
.gopt.bad { border-color: var(--rose-2); opacity: .5; text-decoration: line-through; text-decoration-color: var(--rose); }
.gopt.ok { border-color: var(--mint); background: rgba(140,201,181,.16); }

/* прилёт */
.arrive { text-align: center; }
.postcard { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); margin: 4px 0 18px; transform: rotate(-1.5deg); border: 8px solid #fff; }
.postcard img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.postcard .stamp2 { position: absolute; right: 12px; top: 12px; width: 86px; height: 86px; border-radius: 50%; border: 2.5px solid var(--rose); color: var(--rose); background: rgba(255,255,255,.85); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-12deg); animation: stampin .7s .4s cubic-bezier(.2,1.4,.4,1) both; }
.stamp2 b { font: 800 18px var(--sans); letter-spacing: .08em; }
.stamp2 small { font: 700 8px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.bigstars { font-size: 40px; letter-spacing: 6px; margin: 4px 0 6px; }
.bigstars span { display: inline-block; animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.bigstars span:nth-child(2) { animation-delay: .15s; } .bigstars span:nth-child(3) { animation-delay: .3s; }
.bigstars .off { filter: grayscale(1); opacity: .25; }
@keyframes pop { from { transform: scale(0); } }
.rankup { background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); border-radius: 20px; padding: 14px; margin: 12px 0; }
.rankup b { font: italic 600 24px var(--serif); display: block; }
.fact { font-size: 14.5px; color: var(--ink-2); background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); text-align: left; margin-bottom: 14px; }
.fact b { display: block; font: 800 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 3px; }
.btnrow { display: grid; gap: 10px; }
.fhead .t svg { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* голос на странице */
.ph { flex-wrap: wrap; }
.rule .ph { grid-template-columns: 1fr auto; }
.phb { display: flex; gap: 6px; align-items: center; }
.say.mic { background: var(--ink); color: var(--paper); }
.say.mic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vhost { grid-column: 1 / -1; }
.vhost:empty { display: none; }
.bubble .vhost { margin-top: 8px; }
.vpad { background: var(--card); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); border: 1.5px solid var(--line); text-align: left; }
.bubble .vpad, .rule .vpad { box-shadow: none; background: var(--card-2); margin-top: 8px; }
.vpad.live { border-color: var(--rose-2); }
.vtarget { font: 600 18px/1.5 var(--serif); margin-bottom: 10px; }
.vtarget span { transition: color .3s, background .3s; border-radius: 4px; padding: 0 1px; }
.vtarget .w-ok { color: #2f8a6d; background: rgba(140,201,181,.18); }
.vtarget .w-miss { color: var(--rose); text-decoration: underline wavy var(--rose-2); text-underline-offset: 4px; }
.vrow { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.vrow .vtime { grid-column: 1 / -1; font: 700 12px var(--sans); color: var(--muted); }
.vmic { width: 56px; height: 56px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); position: relative; }
.vmic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.vmic.on { background: var(--ink); }
.vmic.on svg { fill: #fff; stroke: none; }
.vmic.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rose); animation: ping 1.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vmic:disabled { opacity: .5; }
.vwave { height: 40px; display: grid; grid-template-columns: repeat(28, 1fr); gap: 3px; align-items: center; }
.vwave i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--peach), var(--rose)); transform: scaleY(.12); transition: transform .08s linear; opacity: .55; }
.vpad.live .vwave i { opacity: 1; }
.vres:empty { display: none; }
.vres { margin-top: 12px; }
.vscore { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.vscore b { display: block; font: 600 18px/1.25 var(--serif); }
.vscore span { font-size: 13px; color: var(--ink-2); }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--rose) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.ring b { width: 50px; height: 50px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font: 800 14px var(--sans) !important; font-variant-numeric: lining-nums; }
.vbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vmsg { font-size: 13.5px; color: var(--ink-2); }

/* ---------- обновление по аудиту ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.go-cta { margin: 0 0 6px; }
.go-cta svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.go-cta.done { background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 14.5px; color: var(--ink-2); text-align: center; }
.routes circle.city.soon { fill: var(--card); stroke: var(--ink); stroke-opacity: .4; stroke-width: 1.2; stroke-dasharray: 2 2; }
.routes text.soon { fill: var(--muted); font-size: 9px; font-weight: 700; opacity: .8; }
.soon { display: flex; flex-direction: column; gap: 2px; background: var(--card); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); margin: 2px 0 6px; border: 1.5px dashed var(--line); }
.soon b { font: 800 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.soon span { font: 600 15px/1.45 var(--serif); color: var(--ink-2); }
.flight .fno { font-size: 12px; margin-top: 4px; }

.fbtns { display: flex; align-items: center; gap: 4px; }
.slow { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border-radius: 999px; font: 800 11px var(--sans); color: var(--muted); border: 1.5px solid var(--line); }
.slow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slow.on { color: var(--rose-ink); border-color: var(--rose-2); background: var(--rose-soft); }
.fstage { font: 700 11.5px var(--sans); color: var(--muted); margin: 0 2px 12px; letter-spacing: .02em; }

.inl { font: 600 13.5px/1.4 var(--sans); color: var(--rose-ink); min-height: 0; }
.inl:empty { display: none; }
.ann .inl { margin: -4px 2px 10px; }
.match + .inl { text-align: center; margin-top: 12px; font-size: 14.5px; }
.bubble .inl { margin-top: 8px; }
.bubble .en.blur { filter: blur(6px); user-select: none; -webkit-user-select: none; }
.srow.hint .rn { color: var(--gold-ink); background: var(--gold-soft); border-radius: 8px; font-weight: 800; box-shadow: 0 0 0 2px var(--gold); }
.srow .rn { padding: 4px 0; }

/* разминка */
.rv { padding: 14px; margin-bottom: 10px; }
.rvq { font: 700 14.5px/1.4 var(--sans); margin-bottom: 10px; }
.rvctx { display: flex; gap: 8px; align-items: center; font: 500 15px/1.4 var(--serif); color: var(--ink-2); margin-bottom: 8px; }
.rvctx b { font: 800 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rvline { font: italic 600 16px var(--serif); color: var(--ink-2); margin: 8px 0 0; }
.rvbtns { margin-bottom: 10px; }
.seats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seatchip { min-height: 48px; border-radius: 14px; background: var(--card-2); border: 2px solid var(--line); font: 800 17px var(--sans); letter-spacing: .04em; }
.seatchip.ok { border-color: var(--mint); background: rgba(140,201,181,.2); }
.seatchip.bad { border-color: var(--rose); background: var(--rose-soft); }
.rv .gopt { font-size: 16px; }
.gopt { min-height: 48px; }
.gopt.bad { opacity: .62; }

/* «а если ответить иначе?» */
.peek { margin: 8px auto 0; display: flex; }
.alts { border-left: 3px dashed var(--rose-2); padding-left: 10px; margin: 8px 0; }
.altq { font: 700 12.5px/1.4 var(--sans); color: var(--muted); margin: 10px 2px -4px; }
.alt .who { margin: 8px 0; }

/* прилёт */
.arrive { position: relative; }
.door { font: 800 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -4px; text-align: left; }
.arrive .who { text-align: left; }
.achs { display: grid; gap: 8px; margin: 14px 0; text-align: left; }
.ach { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; background: var(--card); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.ach .st { font-size: 24px; text-align: center; color: var(--muted); }
.ach b { display: block; font: 600 18px/1.2 var(--serif); }
.ach span { font-size: 12.5px; color: var(--ink-2); }
.ach:not(.on) { opacity: .75; box-shadow: none; border: 1.5px dashed var(--line); }
.hook { font: italic 600 18px/1.4 var(--serif); color: var(--ink); background: linear-gradient(135deg, var(--rose-soft), var(--gold-soft)); border-radius: 18px; padding: 12px 16px; margin: 0 0 14px; }
.confetti { position: absolute; inset: -10px 0 auto 0; height: 0; pointer-events: none; z-index: 3; }
.confetti i { position: absolute; top: 0; left: calc(var(--i) * 5.6%); width: 7px; height: 11px; border-radius: 2px; background: var(--rose); opacity: 0;
  animation: fall 2.2s calc(var(--i) * .06s) cubic-bezier(.3,.6,.5,1) forwards; }
.confetti i:nth-child(3n) { background: var(--gold); } .confetti i:nth-child(3n+1) { background: var(--sky); } .confetti i:nth-child(4n) { background: var(--mint); width: 6px; height: 6px; border-radius: 50%; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } .shake, .seat.bad, .built .tile.bad { animation: none; } }
.slow .tt { font-size: 16px; line-height: 1; }
.bubble .tools { flex-wrap: wrap; }
.arrive .mentor, .arrive .fact { text-align: left; }

/* ---------- шаг за шагом: один экран — одна мысль ---------- */
.fstage { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fstage .dots { display: inline-flex; gap: 5px; flex: none; }
.fstage .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.fstage .dots i.done { background: var(--rose-2); }
.fstage .dots i.on { background: var(--rose); transform: scale(1.25); }
.fcard { min-height: calc(100vh - 230px); min-height: calc(100dvh - 230px); }
.fcta { position: sticky; bottom: 0; z-index: 6; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); margin-top: 8px;
  background: linear-gradient(180deg, rgba(251,246,242,0), var(--paper) 38%); }
html.night .fcta { background: linear-gradient(180deg, rgba(18,24,49,0), var(--paper) 38%); }
.fcta .btn { box-shadow: var(--shadow-lg); }
.center { text-align: center; justify-content: center; }
.stitle.sm { font-size: 25px; margin: 2px 2px 4px; }
.narr.small { font-size: 15px; }

.art { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; background: var(--sky-grad) center 38% / cover no-repeat; box-shadow: var(--shadow); margin: 0 0 12px; animation: artin .6s ease both; }
.art.thin { aspect-ratio: 16 / 6; background-position: center 42%; border-radius: 18px; }
@keyframes artin { from { opacity: 0; transform: scale(1.02); } }

.rulecard, .phcard { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 20px 20px; text-align: center; margin-top: 6px; }
.rulecard .tag { display: inline-block; font: 800 11px var(--sans); letter-spacing: .08em; color: var(--gold-ink); background: var(--gold-soft); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }
.en.big { font: 600 28px/1.25 var(--serif); color: var(--ink); margin-bottom: 10px; text-wrap: balance; }
.rulecard .ru, .phcard .ru { font-size: 16px; color: var(--ink-2); margin-bottom: 16px; }
.tools.center { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.phcard .vhost { margin-top: 10px; text-align: left; }

.qline { display: flex; gap: 8px; align-items: center; font: 500 15px/1.4 var(--serif); color: var(--ink-2); background: var(--card-2); border-radius: 14px; padding: 8px 12px; margin: 0 0 6px; }
.qline b { font: 800 11px var(--sans); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-right: 4px; }
#fb:empty { display: none; }
#fb { margin-bottom: 4px; }
.tip { background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); border-radius: 18px; padding: 12px 16px; margin: 10px 0; font-size: 14.5px; }
.tip summary { cursor: pointer; font: 800 12.5px var(--sans); color: var(--gold-ink); list-style: none; min-height: 28px; display: flex; align-items: center; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary::after { content: "показать"; margin-left: auto; font-weight: 700; color: var(--muted); }
.tip[open] summary::after { content: "скрыть"; }
.tip div { margin-top: 6px; color: var(--ink); }

/* посадка в два касания */
.plbl { display: flex; align-items: center; gap: 8px; font: 800 12.5px var(--sans); letter-spacing: .04em; color: var(--ink-2); margin: 12px 2px 8px; }
.plbl b { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 11px; }
.plbl span { color: #2f8a6d; }
.rowgrid { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 6px; }
.rowchip { height: 44px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow); font: 800 15px var(--sans); color: var(--ink); font-variant-numeric: lining-nums; transition: background .2s, border-color .2s; }
.rowchip:disabled { opacity: .35; box-shadow: none; }
.rowchip.ok { opacity: 1; background: rgba(140,201,181,.25); border-color: var(--mint); }
.rowchip.bad { background: var(--rose-soft); border-color: var(--rose); animation: shake .35s; }
.rowchip.hint { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.seatrow { display: grid; grid-template-columns: 10px repeat(3, minmax(0, 1fr)) 54px repeat(3, minmax(0, 1fr)) 10px; gap: 6px; align-items: center; background: var(--card); border-radius: 18px; padding: 12px 8px; box-shadow: var(--shadow); transition: opacity .3s; }
.seatrow.off { opacity: .45; }
.seatrow .wnd { height: 34px; border-radius: 6px; background: linear-gradient(180deg, #cfe2f7, #f6d9e3); }
.seatrow .aisle { font: 700 9.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.seatbtn { height: 52px; border-radius: 12px 12px 8px 8px; background: var(--card-2); border: 1.5px solid var(--line); font: 800 16px var(--sans); color: var(--ink); }
.seatbtn.ok { background: var(--rose); border-color: var(--rose); color: #fff; }
.seatbtn.bad { border-color: var(--rose); background: var(--rose-soft); animation: shake .35s; }

/* объявление по фразам */
.gloss { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.gloss span { background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; box-shadow: var(--shadow); }
.gloss b { font-family: var(--serif); font-size: 16px; }
.fulltext { font: 600 19px/1.5 var(--serif); background: var(--card); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); margin: 6px 0 12px; }
.ann .ru { font-size: 16px; color: var(--ink); font-weight: 600; }
.ann.done .inl { color: #2f8a6d; }

/* открытка переворачивается */
.postcard.pcflip { display: block; width: 100%; padding: 0; position: relative; perspective: 1200px; overflow: visible; border-radius: 0; background: none; border: 0; box-shadow: none; transform: rotate(-1.5deg); margin: 4px 0 8px; }
.postcard.pcflip .pcface { display: block; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--shadow-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s cubic-bezier(.3,.7,.3,1); overflow: hidden; }
.postcard.pcflip .pcf { position: relative; }
.postcard.pcflip .pcf img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.postcard.pcflip .pcb { position: absolute; inset: 0; transform: rotateY(180deg); background: #fffdf8; color: #48526f; padding: 22px; display: flex; flex-direction: column; justify-content: center; text-align: left; font: 500 17px/1.5 var(--serif); }
.postcard.pcflip .pcb b { font: 800 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.postcard.pcflip.turned .pcf { transform: rotateY(180deg); }
.postcard.pcflip.turned .pcb { transform: rotateY(360deg); }
.hint-small { font-size: 12.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .art { animation: none; } .postcard.pcflip .pcface { transition: none; } }

/* ---------- свежий взгляд: центр и мелочи ---------- */
.g-hero.compact .img { aspect-ratio: auto; height: 168px; max-height: none; }
.g-hero.compact .over h1 { font-size: 32px; }
.g-hero.compact .body { grid-template-columns: auto 1fr; }
.lead { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: stretch; background: var(--card); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 12px; margin: 0 0 18px; }
.lead .pic { border-radius: 16px; background: var(--sky-grad) center/cover no-repeat; min-height: 132px; }
.lead .txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 2px 2px 0 0; }
.lead small { font: 800 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--rose-ink); }
.lead b { font: 600 27px/1.1 var(--serif); }
.lead .topic { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.lead .btn { margin-top: auto; padding: 10px 14px; font-size: 14.5px; align-self: flex-start; }
.lead .btn svg { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.lead.done { grid-template-columns: 1fr; text-align: center; padding: 18px; }
.lead.done .txt { align-items: center; }
.flight .side .st { font-size: 20px; color: var(--rose-ink); letter-spacing: 0; }
details.more { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 14px; margin: 14px 0; }
details.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary b { font: 600 19px var(--serif); }
details.more summary span { font: 700 12px var(--sans); color: var(--muted); }
details.more summary::after { content: "›"; font-size: 22px; color: var(--muted); transition: transform .2s; }
details.more[open] summary::after { transform: rotate(90deg); }
.soonline { font-size: 13px; color: var(--ink-2); margin: 0 2px 12px; }
.nlabel { display: block; font: 700 12.5px var(--sans); color: var(--ink-2); }
.linkbtn { display: block; margin: 14px auto 0; font: 700 13.5px var(--sans); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.fstage .cnt { font: 800 11px var(--sans); color: var(--muted); flex: none; font-variant-numeric: lining-nums; }
.slow { font: 800 11.5px var(--sans); }
.seatchip:disabled:not(.ok) { opacity: .45; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0; }
.badge { background: var(--gold-soft); color: var(--gold-ink); border-radius: 999px; padding: 8px 14px; font: 800 12.5px var(--sans); animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
details.tip.plain { background: var(--card); box-shadow: var(--shadow); }
details.tip.plain summary { color: var(--ink-2); }
details.tip.plain .fulltext { box-shadow: none; padding: 6px 0 0; background: none; }
.alts { margin: 6px 0 10px; }
.ask { margin-top: 14px; }
.mt.bad { animation: none; }
.mentor .ml { display: block; }
.mentor .ml + .ml { margin-top: 6px; }
.fbcard { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 10px; border: 1.5px solid var(--rose-2); }
.fbcard .ava { width: 34px; height: 34px; border-radius: 50%; background: center/cover; flex: none; box-shadow: 0 0 0 2px var(--card); }
.fbr { display: flex; gap: 10px; align-items: center; }
.fbr .en { font: 600 17px/1.3 var(--serif); flex: 1; }
.fbm { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); border-radius: 14px; padding: 10px 12px; }
.fbm .ml { display: block; margin-top: 6px; color: var(--ink-2); }
.stampbox { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 12px; }
.stampbox span { font: 700 12.5px var(--sans); color: var(--muted); }
.pstamp.big { width: 118px; height: 118px; animation: stampin .7s .2s cubic-bezier(.2,1.4,.4,1) both; }
.pstamp.big b { font-size: 26px; }
.built .tile.bad, .rowchip.bad, .seatbtn.bad { animation: none; }
.tip summary { width: 100%; box-sizing: border-box; gap: 10px; }
#app:has(> .fcta) { padding-bottom: 0; }   /* в рейсе нижнего меню нет — без лишней прокрутки */
.seat.taken { background-size: cover; background-position: center 18%; border: 2px solid var(--rose); box-shadow: 0 2px 8px rgba(184,71,95,.25); }
.seat.bad { animation: none; }
.pax .who { margin-bottom: 0; }
.pax .bubble { box-shadow: var(--shadow-lg); }
.pax .inl { margin-top: 6px; }
.cabhint { text-align: center; font: 600 11.5px var(--sans); color: var(--muted); margin: -4px 0 10px; }
