/* Hank's coffee break (handlers/hank_out.go; the outage handoff's prototype, design/hanko-outage-pairs-handoff): the
   built navbar, a 2-column hero (the words, then Hank's empty desk), and below it 1 panel that holds the whole of Pairs.
   Every rule is under .ob (the banner, the page, the level sheet), so the navbar keeps its own look. */
.ob {
  --ground: #FEFDF5;
  --ink: #1A1A1A;
  --red: #B7282E;
  --box: #1C1B1A;
  --pane: #F4EFE6;
  --hair: #E2DACB;
  --hair2: #CFC6B6;
  --muted: #645D53;
  --green: #1D6B45;
  --gold: #E3C35A;
  --on-box: #EDE7DC;
  --ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Archivo, "Arial Black", Inter, system-ui, sans-serif;
  color: var(--ink);
  font: 400 16px/1.5 var(--ui);
}
.ob *, .ob *::before, .ob *::after { box-sizing: border-box; }
.ob button { font: inherit; color: inherit; }
.ob a, .ob a:hover { color: inherit; }
.ob :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ob[hidden], .ob [hidden] { display: none !important; }
.ob.wrap, .ob .wrap { max-width: 1152px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ob .r { color: var(--red); }

/* Hank is back: fixed above the navbar, which moves down under it (outage.js) */
.ob-back { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--box); color: var(--on-box); }
.ob-back .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 10px; }
.ob-back .msg { flex: 1 1 260px; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 400 15px/1.4 var(--ui); }
.ob-back .msg strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #FFFFFF; }
.ob-back .bdot { width: 9px; height: 9px; border-radius: 50%; background: #4CC38A; flex: none; }
.ob-back .acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons: rectangles with rounded corners; none is red */
.ob .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--ink); font: 600 15px/1 var(--ui); white-space: nowrap; text-decoration: none; cursor: pointer; }
.ob .btn.ink, .ob a.btn.ink, .ob a.btn.ink:hover { background: var(--ink); color: var(--ground); }
.ob .btn.line { background: var(--ground); color: var(--ink); border-color: var(--hair2); }
.ob .btn.light, .ob a.btn.light, .ob a.btn.light:hover { background: var(--ground); color: var(--ink); border-color: var(--ground); }
.ob .btn.ghost { background: transparent; color: var(--on-box); border-color: #5A544C; }
.ob .btn.sm { height: 36px; padding: 0 12px; font-size: 14px; }
.ob .btn svg { flex: none; }

/* Hero */
.ob .hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; gap: 24px 48px; padding-block: 34px 26px; }
.ob .hero h1 { margin: 0; font: 800 clamp(40px, 5.4vw, 68px)/0.98 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
.ob .hero .sub { margin: 16px 0 0; font: 400 19px/1.45 var(--ui); }
.ob .hero .cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ob .hero .told { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1.3 var(--ui); color: var(--green); }
.ob .still { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.ob .still .lab { font: 600 13px/1 var(--ui); color: var(--muted); }
.ob .still .row { display: flex; flex-wrap: wrap; gap: 8px; }
.ob .scene { justify-self: center; width: 100%; max-width: 440px; }
.ob .scene svg { display: block; width: 100%; height: auto; }
.ob .steam path { animation: ob-steam 3.2s ease-in-out infinite; opacity: 0; }
.ob .steam path:nth-child(2) { animation-delay: 1.05s; }
.ob .steam path:nth-child(3) { animation-delay: 2.1s; }
@keyframes ob-steam { 0% { transform: translateY(6px); opacity: 0; } 35% { opacity: .75; } 100% { transform: translateY(-16px); opacity: 0; } }
.ob .blink { animation: ob-blink 1.1s steps(1) infinite; }
@keyframes ob-blink { 50% { opacity: 0; } }

/* Pairs */
.ob .game { margin-block: 4px 40px; padding: 20px; border: 1px solid var(--hair); border-radius: 12px; background: var(--pane); }
.ob .game .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ob .game .top h2 { min-width: 0; }
.ob .game .top .tools { display: flex; align-items: center; gap: 8px; flex: none; }
.ob .game .top #daily { height: 40px; }
/* full screen (a desktop's, the browser's own: Esc leaves it): the game alone over the whole screen, its sheet over it */
html.pf, html.pf body { background: #F4EFE6; }
html.pf body > :not(#ob):not(#modal):not(#obFx), html.pf #ob > :not(.game) { display: none !important; }
html.pf .ob.wrap { max-width: none; padding: 0; }
html.pf .ob .game { margin: 0; border: 0; border-radius: 0; padding: 16px max(24px, calc((100vw - 1400px) / 2)); }
.ob .game h2 { margin: 0; font: 800 clamp(26px, 3.4vw, 36px)/1.02 var(--display); letter-spacing: -0.02em; }
.ob .hud { margin-top: 14px; border: 1px solid var(--hair2); border-radius: 10px; background: var(--ground); overflow: hidden; font: 500 14px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.ob .hud .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; min-height: 52px; padding: 8px 16px; }
.ob .hud .where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ob .hud .nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; margin-left: auto; }
.ob .hud .nums > * { white-space: nowrap; }
.ob .hud .sc { display: flex; align-items: baseline; gap: 8px; }
.ob .track { height: 5px; background: var(--hair); }
.ob .track i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .4s cubic-bezier(.3, .7, .3, 1); }
.ob .hud b { font-weight: 700; }
.ob .hud .sc b { display: inline-block; font: 800 28px/1 var(--display); letter-spacing: -0.02em; }
.ob .hud .sc b.bump { animation: ob-pop .32s ease-out; }
.ob .hud .lv { font: 800 18px/1.2 var(--display); letter-spacing: -0.01em; }
.ob .hud .mut { color: var(--muted); }
.ob .streak { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 5px; background: var(--ink); color: #BDB5A8; font: 600 13px/1 var(--ui); }
.ob .streak b { color: var(--gold); font-weight: 800; }
/* a figure and its word in 2 colors: the word muted, the figure in the page's red (gold on the dark streak tag) */
.ob .hud .kv { display: inline-flex; align-items: baseline; gap: 6px; }
.ob .hud .kv b { color: var(--red); font-weight: 700; }
.ob .hud .sc b { color: var(--red); }
.ob .hud .sc { margin-left: auto; }
.ob .snd { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--hair2); border-radius: 8px; background: var(--ground); cursor: pointer; }
.ob .say { margin-top: 12px; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; font: 500 16px/1.3 var(--ui); text-align: center; }
.ob .say .mut { color: var(--muted); }
.ob .say .pts { font-weight: 700; font-variant-numeric: tabular-nums; }
.ob .say .go { min-width: 132px; }
.ob .say .ok { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green); }
.ob .say .bar { flex: 0 1 180px; height: 6px; border-radius: 3px; background: var(--hair2); overflow: hidden; }
.ob .say .bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: ob-drain linear both; }
@keyframes ob-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes ob-deal { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ob-pop { 40% { transform: scale(1.09); } }
@keyframes ob-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* The board and its cards */
.ob .board { margin-top: 10px; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, var(--cw, 132px))); justify-content: center; gap: 8px; }
.ob .board.paused { opacity: .45; pointer-events: none; }
.ob .board.show .card { cursor: pointer; }
.ob .card { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 9px; background: transparent; cursor: pointer; perspective: 600px; container-type: inline-size; -webkit-tap-highlight-color: transparent; }
.ob .card.dealt { animation: ob-deal .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 24ms); }
.ob .card.pop { animation: ob-pop .38s ease-out; }
.ob .card.miss { animation: ob-shake .3s ease-in-out; }
.ob .card .in { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .34s cubic-bezier(.3, .7, .3, 1); }
.ob .card.up .in { transform: rotateY(180deg); }
.ob .card .bk, .ob .card .fc { position: absolute; inset: 0; display: block; border-radius: 9px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ob .card .bk { background: var(--ink); box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(254, 253, 245, .28); }
.ob .card .bk::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--red); border-radius: 2px; }
.ob .card:hover .bk { background: #2B2927; }
.ob .card .fc { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 4.5cqw; background: var(--ground); box-shadow: inset 0 0 0 1px var(--hair2); }
.ob .card:not(.up):hover .in { transform: translateY(-3px); }
.ob .card:not(.up):active .in { transform: scale(.97); }
.ob .card .fc > svg.art { flex: 1 1 0; min-height: 0; width: 100%; display: block; border-radius: 5px; }
.ob .card .nm { flex: none; padding: 4.5cqw 0 0.5cqw; font: 600 clamp(10px, 10.5cqw, 14px)/1.15 var(--ui); text-align: center; white-space: nowrap; }
@container (max-width: 79px) { .ob .card .nm { display: none; } }
.ob .card .word { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6cqw; padding: 5cqw; font: 800 clamp(9px, 13.5cqw, 19px)/1.05 var(--display); letter-spacing: -0.01em; text-align: center; }
.ob .card .word svg { width: 20cqw; height: 20cqw; }
.ob .card .pinb { position: absolute; top: 4px; left: 4px; width: clamp(16px, 19cqw, 24px); height: clamp(16px, 19cqw, 24px); display: none; border-radius: 5px; background: var(--ground); box-shadow: 0 0 0 1px var(--hair2); }
.ob .card .pinb svg { display: block; width: 100%; height: 100%; }
.ob .card.kept .pinb { display: block; }
.ob .card.done .fc { box-shadow: inset 0 0 0 2px var(--green); }
.ob .card .tick { position: absolute; top: 4px; right: 4px; width: clamp(14px, 17cqw, 20px); height: clamp(14px, 17cqw, 20px); display: none; }
.ob .card.done .tick { display: block; }
.ob-float { position: fixed; z-index: 57; pointer-events: none; padding: 5px 9px; border-radius: 6px; background: #1A1A1A; color: #FEFDF5; font: 800 18px/1 Archivo, "Arial Black", Inter, sans-serif; transform: translate(-50%, -50%); animation: ob-rise .95s ease-out forwards; }
@keyframes ob-rise { from { opacity: 0; transform: translate(-50%, -20%) scale(.8); } 18% { opacity: 1; transform: translate(-50%, -70%) scale(1); } 70% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -230%) scale(1); } }

/* Trip ideas */
.ob .saved { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 500 14px/1.3 var(--ui); }
.ob .saved .lab { font-weight: 700; }
.ob .saved .mut { color: var(--muted); }
.ob .chip { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 2px 0 10px; border: 1px solid var(--hair2); border-radius: 6px; background: var(--ground); font: 600 13.5px/1 var(--ui); }
.ob .chip button { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 4px; }

/* The level sheet */
.ob.modal { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 26, 26, .5); }
.ob .sheet { position: relative; width: min(430px, 100%); padding: 24px 22px 22px; border-radius: 12px; background: var(--ground); border: 1px solid var(--hair2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 14px; }
.ob .sheet h3 { margin: 0; padding-right: 44px; font: 800 34px/1 var(--display); letter-spacing: -0.02em; }
.ob .sheet .x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 8px; z-index: 3; }
/* the panel's own column (.pan), and a card beside it (.side) on a wide screen or in it (.slot) otherwise */
.ob .sheet .pan { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ob .sheet .pan > .x { top: -14px; right: -12px; }
.ob .sheet .slot:empty, .ob .sheet .side:empty { display: none; }
.ob .sheet .side { display: flex; min-width: 0; }
.ob .sheet.wide { width: min(892px, 100%); display: grid; grid-template-columns: 386px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.ob .sheet.wide .pan { align-self: center; }

/* The cards between levels (the design handoff hanko-pairs-cards-handoff, Nov 20, 2026): 1 frame for all, a large
   picture, 1 line, 1 button, a circled x; base is the chat's column, then a phone (.ph) and the wide panel's column (.tall) */
.ob .promo { position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; column-gap: 22px; align-items: center; padding: 18px 20px 18px 22px; border: 1px solid var(--hair2); border-radius: 12px; background: var(--ground); overflow: hidden; --hw: 172px; --hs: 34px; transition: opacity .2s ease, transform .2s ease; animation: ob-cardin .5s cubic-bezier(.2, .9, .3, 1.15) .38s both; }
.ob .promo.out { opacity: 0; transform: scale(.97); }
.ob .promo > .x { top: 2px; right: 2px; }
.ob .promo .rays { position: absolute; left: calc(22px + var(--hw) / 2); top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(227, 195, 90, .2) 0 8deg, rgba(227, 195, 90, 0) 8deg 20deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: ob-turn 90s linear infinite; pointer-events: none; }
.ob .promo .pic { position: relative; grid-row: 1 / 4; width: var(--hw); }
.ob .promo .spark { position: absolute; width: 16px; height: 16px; pointer-events: none; animation: ob-twinkle 2.8s ease-in-out infinite; }
.ob .promo .spark:nth-of-type(2) { animation-delay: -.9s; }
.ob .promo .spark:nth-of-type(3) { animation-delay: -1.8s; }
.ob .promo .body { grid-row: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 26px; }
.ob .promo h4 { margin: 0; font: 800 var(--hs)/1 var(--display); letter-spacing: -0.02em; }
.ob .promo .sub { font: 600 17px/1.25 var(--ui); }
.ob .promo .fine { font: 500 13px/1.3 var(--ui); color: var(--muted); }
.ob .promo .act { grid-column: 2; grid-row: 3; align-self: start; margin-top: 14px; }
.ob .promo .body, .ob .promo .act, .ob .promo > .feat { position: relative; z-index: 1; }
.ob .promo .act .btn { min-width: 168px; height: 48px; font-size: 16px; }
.ob .promo .btn.ok { background: var(--green); border-color: var(--green); color: #FFFFFF; }
.ob .promo .feat { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 5px 16px; font: 500 14px/1.25 var(--ui); }
.ob .promo .feat li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ob .promo .feat li.key { font-weight: 700; }
.ob .promo .plan { font: 700 13px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ob .promo .art2 { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 20px 16px rgba(70, 48, 14, .28)); }
.ob .promo .coin { transform-box: fill-box; transform-origin: 50% 50%; animation: ob-coinin .9s cubic-bezier(.2, .8, .3, 1.2) .38s both, ob-bob 4.6s ease-in-out 1.3s infinite; }
.ob .promo .sealw { position: relative; animation: ob-stamp .55s cubic-bezier(.2, 1.4, .4, 1) .38s both; }
.ob .promo .sealw svg { display: block; width: 100%; height: auto; }
.ob .promo .sealw .glint { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; }
.ob .promo .sealw .glint i { position: absolute; top: -30%; left: -70%; width: 40%; height: 160%; background: linear-gradient(90deg, rgba(255, 240, 230, 0), rgba(255, 240, 230, .6), rgba(255, 240, 230, 0)); transform: rotate(18deg); animation: ob-sweep 5s ease-in-out infinite 1s; }
.ob .promo.ph { --hw: 124px; --hs: 27px; column-gap: 16px; grid-template-rows: auto auto; padding: 16px 16px 16px 18px; }
.ob .promo.ph .pic { grid-row: 1; }
.ob .promo.ph .body { grid-row: 1; padding-right: 0; gap: 8px; }
.ob .promo.ph h4 { padding-right: 24px; }
.ob .promo.ph.member { grid-template-rows: auto auto auto; }
.ob .promo.ph > .feat { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; grid-template-columns: 1fr 1fr; font-size: 13px; gap: 4px 10px; }
.ob .promo.ph .act { grid-column: 1 / -1; grid-row: 2; margin-top: 16px; }
.ob .promo.ph.member .act { grid-row: 3; margin-top: 14px; }
.ob .promo.ph .act .btn { width: 100%; }
.ob .promo.ph.member .pic { width: 96px; align-self: start; }
.ob .promo.ph .rays { width: 420px; height: 420px; margin: -210px 0 0 -210px; top: 40%; }
.ob .promo.tall { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: center; align-content: center; row-gap: 22px; padding: 26px 24px; --hw: 232px; --hs: 40px; }
.ob .promo.tall .pic { grid-row: 1; }
.ob .promo.tall .body { grid-row: 2; align-items: center; text-align: center; padding: 0; }
.ob .promo.tall .act { grid-column: 1; grid-row: 3; margin-top: 0; }
.ob .promo.tall .act .btn { min-width: 240px; }
.ob .promo.tall .rays { left: 50%; top: 34%; width: 760px; height: 760px; margin: -380px 0 0 -380px; }
.ob .promo.tall.member { --hw: 190px; }
.ob .promo.tall.invite { --hw: 250px; }
.ob .promo.tall .feat { text-align: left; }
/* the travel card's picture: the place's own card art, whole, as a plate (rich with light, grain and drifting clouds) */
.ob .promo .pic { perspective: 800px; }
.ob .promo .plate { position: relative; aspect-ratio: 4 / 5; padding: 6px; border-radius: 10px; background: #FFFEFA; box-shadow: 0 0 0 1px var(--hair2), 0 26px 30px -18px rgba(70, 48, 14, .55), 0 8px 12px -8px rgba(70, 48, 14, .3); transform: rotate(-3deg); animation: ob-bob 5.5s ease-in-out infinite; will-change: transform; }
.ob .promo .plate .win { position: relative; height: 100%; border-radius: 6px; overflow: hidden; isolation: isolate; }
.ob .promo .plate svg.art { width: 100%; height: 100%; display: block; }
.ob .promo .plate .glow { position: absolute; inset: 0; background: radial-gradient(70% 50% at 76% 14%, rgba(255, 246, 214, .7), rgba(255, 246, 214, 0) 70%); mix-blend-mode: screen; }
.ob .promo .plate .shade { position: absolute; inset: 0; background: linear-gradient(196deg, rgba(40, 24, 8, 0) 52%, rgba(40, 24, 8, .2)), radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 60%, rgba(40, 24, 8, .16)); }
.ob .promo .plate .grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .14 0 0 0 0 .06 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .42; mix-blend-mode: multiply; }
.ob .promo .plate .cl { position: absolute; top: 11%; left: -30%; width: 26%; height: 7%; border-radius: 50%; background: #FFFFFF; opacity: .85; filter: blur(.6px); box-shadow: 12px -5px 0 2px #FFFFFF, 26px 0 0 0 #FFFFFF; animation: ob-drift 26s linear infinite; }
.ob .promo .plate .cl.b { top: 24%; width: 18%; height: 5%; opacity: .6; animation-duration: 38s; animation-delay: -14s; }
.ob .promo .plate .sweep { position: absolute; top: -30%; left: -70%; width: 42%; height: 160%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); transform: rotate(18deg); animation: ob-sweep 6s ease-in-out infinite 1.2s; }
.ob .promo .from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 16px/1.2 var(--ui); }
.ob .promo.tall .from { justify-content: center; }
.ob .cityb { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 11px; border: 1px solid var(--hair2); border-radius: 8px; background: var(--pane); font: 700 16px/1 var(--ui); white-space: nowrap; cursor: pointer; }
.ob-flyer { position: fixed; z-index: 70; pointer-events: none; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 30px -12px rgba(40, 28, 10, .5); will-change: transform; }
.ob-flyer svg { width: 100%; height: 100%; display: block; }

/* Flying from: the picker as built for Hank's flights (static/hank-flights.js fromHTML), over the panel */
.ob .pick { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 26, 26, .4); border-radius: inherit; }
.ob .pickbox { position: relative; width: min(360px, 100%); padding: 20px 18px 16px; border: 1px solid var(--hair2); border-radius: 12px; background: var(--ground); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 12px; }
.ob .pickbox > .x { top: 2px; right: 2px; }
.ob .pickbox h5 { margin: 0; padding-right: 36px; font: 800 22px/1 var(--display); letter-spacing: -0.02em; }
.ob .pickbox label { display: flex; flex-direction: column; gap: 6px; font: 500 13px/1.2 var(--ui); color: var(--muted); }
.ob .pickbox input { height: 44px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 8px; background: #FFFFFF; font: 600 16px/1 var(--ui); color: var(--ink); width: 100%; }
.ob .pickbox .err { margin: 0; font: 600 14px/1.3 var(--ui); color: var(--red); }
.ob .pickbox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ob .pickbox li button { width: 100%; min-height: 44px; padding: 0 6px; border: 0; border-top: 1px solid var(--hair); background: transparent; font: 600 15px/1.2 var(--ui); cursor: pointer; text-align: left; }
.ob .pickbox li:first-child button { border-top: 0; }

/* The trip: the panel gives way to the globe */
.ob .sheet .stage { display: none; position: relative; min-height: 0; }
.ob .sheet.trip > .pan, .ob .sheet.trip > .side { display: none; }
.ob .sheet.trip > .stage { display: flex; flex-direction: column; gap: 10px; height: 100%; animation: ob-stagein .32s ease both; }
.ob .sheet.trip { height: calc(100% - 14px); max-height: none; overflow: hidden; }
.ob .sheet.trip.wide2 { width: min(892px, 100%); height: min(620px, 100%); display: block; }
.ob .sheet.trip.wide2 > .stage { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: minmax(0, .6fr) minmax(0, 1.4fr); column-gap: 28px; row-gap: 14px; }
.ob .sheet.trip.wide2 .gw { grid-column: 1; grid-row: 1 / 3; }
.ob .sheet.trip.wide2 .hd { grid-column: 2; grid-row: 1; align-self: end; }
.ob .sheet.trip.wide2 .res { grid-column: 2; grid-row: 2; align-self: start; }
.ob .stage > .x { top: -14px; right: -12px; }
.ob .stage .hd { display: flex; flex-direction: column; gap: 10px; }
.ob .stage h3 { padding-right: 44px; font-size: 32px; }
.ob .stage .gw { position: relative; flex: 1 1 0; min-height: 180px; }
.ob .stage .gw canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ob .datesb { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 11px; border: 1px solid var(--hair2); border-radius: 8px; background: var(--pane); font: 600 14px/1 var(--ui); cursor: pointer; }
.ob .stage .res { flex: none; display: flex; flex-direction: column; gap: 8px; }
.ob .stage .found { display: flex; align-items: center; gap: 9px; min-height: 22px; font: 600 14px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.ob .stage .found svg { color: var(--green); }
.ob .stage .spin { flex: none; width: 15px; height: 15px; border: 2px solid var(--hair2); border-top-color: var(--ink); border-radius: 50%; animation: ob-turn .8s linear infinite; }
.ob .rowx { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 62px; padding: 8px 14px 8px 12px; border: 1px solid var(--hair2); border-radius: 10px; background: var(--ground); }
.ob .inn { animation: ob-rowin .42s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--i, 0) * 110ms); }
.ob .rowx .ic { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--pane); }
.ob .rowx .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ob .rowx .tx b { font: 700 15px/1.2 var(--ui); }
.ob .rowx .tx small { font: 500 13px/1.25 var(--ui); color: var(--muted); }
.ob .rowx .pr { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.ob .rowx .pr b { font: 800 24px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ob .rowx .pr small { font: 500 12px/1.2 var(--ui); color: var(--muted); }
.ob .sk { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--hair) 25%, #F1EBDF 45%, var(--hair) 65%); background-size: 300% 100%; animation: ob-shimmer 1.3s linear infinite; }
.ob .backl { display: flex; align-items: center; justify-content: center; gap: 7px; font: 700 14px/1.2 var(--ui); color: var(--green); }
.ob .stage .none { padding: 14px; border: 1px solid var(--hair2); border-radius: 10px; font: 600 15px/1.35 var(--ui); }
.ob .stage .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob .stage .btn.wide { width: 100%; height: 48px; font-size: 16px; }
.ob .cal { position: relative; width: 100%; max-width: 400px; align-self: center; padding: 12px 12px 14px; border: 1px solid var(--hair2); border-radius: 10px; background: var(--ground); }
.ob .cal .mh { display: flex; align-items: center; justify-content: space-between; padding-right: 36px; font: 700 15px/1 var(--ui); height: 32px; }
.ob .cal .mh button { width: 32px; height: 32px; border: 1px solid var(--hair2); border-radius: 7px; background: var(--ground); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.ob .cal > .x { top: 4px; right: 2px; }
.ob .cal .g { margin-top: 6px; display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; font: 600 13px/1 var(--ui); font-variant-numeric: tabular-nums; text-align: center; }
.ob .cal .g span { height: 20px; color: var(--muted); font-size: 11px; }
.ob .cal .g button { height: 34px; border: 0; background: transparent; border-radius: 7px; cursor: pointer; padding: 0; color: var(--ink); }
.ob .cal .g button.in { background: var(--pane); border-radius: 0; }
.ob .cal .g button.a, .ob .cal .g button.b { background: var(--ink); color: var(--ground); border-radius: 7px; }
.ob .cal .g button[disabled] { color: var(--hair2); cursor: default; }
@media (max-width: 520px) { .ob .stage h3 { font-size: 28px; } }
@keyframes ob-drift { to { left: 120%; } }
@keyframes ob-stagein { from { opacity: 0; } to { opacity: 1; } }
@keyframes ob-rowin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ob-shimmer { to { background-position: -300% 0; } }
@keyframes ob-cardin { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ob-turn { to { transform: rotate(360deg); } }
@keyframes ob-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes ob-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(40deg); } }
@keyframes ob-coinin { from { opacity: 0; transform: translateY(-26px) rotateY(540deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes ob-stamp { from { opacity: 0; transform: scale(1.5) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes ob-sweep { 0%, 55% { left: -70%; } 85%, 100% { left: 150%; } }
.ob .sheet .big { font: 800 44px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ob .sheet .lines { display: flex; flex-direction: column; gap: 3px; font: 500 15px/1.4 var(--ui); font-variant-numeric: tabular-nums; }
.ob .stars { display: flex; gap: 4px; }
.ob .lb { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; border: 1px solid var(--hair2); border-radius: 8px; font: 500 14px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.ob .lb li { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; }
.ob .lb li + li { border-top: 1px solid var(--hair2); }
.ob .lb li.me { background: var(--pane); font-weight: 700; }
.ob .lb .rk { width: 24px; flex: none; color: var(--muted); }
.ob .lb .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob .lb .t { flex: none; font-weight: 700; }
.ob .lb .none { color: var(--muted); }
.ob .stars svg { animation: ob-starin .42s cubic-bezier(.2, 1.5, .4, 1) both; }
.ob .stars svg:nth-child(2) { animation-delay: .14s; }
.ob .stars svg:nth-child(3) { animation-delay: .28s; }
@keyframes ob-starin { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
.ob .share { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--hair); border-radius: 8px; background: var(--pane); }
.ob .share > span { flex: 1; min-width: 0; font: 600 15px/1.35 var(--ui); }
.ob .share > span small { display: block; margin-top: 2px; font: 500 12.5px/1.3 var(--ui); color: var(--muted); overflow-wrap: anywhere; user-select: all; }
.ob .share .btn { flex: none; }
/* the share sheet: the picture that goes out with the link, then where it goes (no logos) */
.ob .pickbox.sharebox { width: min(420px, 100%); }
.ob .sharebox img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border: 1px solid var(--hair2); border-radius: 8px; background: var(--pane); }
.ob .sharebox li button, .ob .sharebox li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; padding: 0 6px; border: 0; border-top: 1px solid var(--hair); background: transparent; font: 600 15px/1.2 var(--ui); color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
.ob .sharebox li:first-child button, .ob .sharebox li:first-child a { border-top: 0; }
.ob .sharebox li span { white-space: nowrap; }
.ob .sharebox li small { font: 500 12.5px/1.25 var(--ui); color: var(--muted); text-align: right; overflow-wrap: anywhere; }
/* a visitor by a shared link: the sharer's score to beat */
.ob .say .chal { color: var(--ink); font-weight: 600; }
.ob .say .chal b { font-weight: 700; }
.ob .sheet .next { display: flex; flex-direction: column; gap: 8px; }
.ob .sheet .next .mut { font: 500 14px/1.3 var(--ui); color: var(--muted); }
#obFx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 56; pointer-events: none; }

@media (max-width: 820px) {
  .ob .hero { grid-template-columns: minmax(0, 1fr); padding-block: 28px 24px; }
  .ob .scene { max-width: 300px; justify-self: start; }
  .ob .game { padding: 14px 12px; }
  .ob .hero .sub { font-size: 17px; }
  .ob .say .kbd { display: none; }
  .ob.modal { align-items: flex-end; padding: 0; }
  .ob .sheet { width: 100%; max-height: calc(100% - 14px); overflow-y: auto; border-radius: 16px 16px 0 0; border-width: 1px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  /* On a phone the panel is the screen's height whatever it holds, so closing its card never folds it to half, and Next
     level comes right under the score, ahead of the card and the share line: a card that pushed it down read as the
     game's end (the founder, Nov 20, 2026: players stopped at the plans card, 1 at 1,300), and X's own browser lays its
     post over the screen's lower part, where a sheet's foot was out of reach. Room under the last line lets any of it
     scroll above that */
  .ob .sheet:not(.trip) { height: calc(100% - 14px); }
  .ob .sheet .pan > .slot, .ob .sheet .pan > .share { order: 2; }
  .ob .sheet .pan > .next { order: 1; }
  .ob .sheet .pan { padding-bottom: 30vh; }
  /* the page scrolls past its end by as much, so the board's last row rises above a browser's own panel */
  body:has(> .ob.modal) { padding-bottom: 30vh; }
  .ob .hud .row { padding: 8px 12px; }
  /* Best, the streak and the score on 1 row under the level, spread across it */
  .ob .hud .nums { flex: 1 1 100%; flex-wrap: nowrap; justify-content: space-between; gap: 10px; margin-left: 0; }
  .ob .hud .sc b { font-size: 24px; }
  /* the game's name on 1 line beside the sound */
  .ob .game h2 { font-size: clamp(20px, 6.2vw, 26px); font-stretch: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .ob .steam path { animation: none; opacity: .55; }
  .ob .blink { animation: none; }
  .ob .card .in { transition: none; }
  .ob .card.dealt, .ob .card.pop, .ob .card.miss, .ob .stars svg, .ob .hud .sc b.bump { animation: none; }
  .ob .promo, .ob .promo .rays, .ob .promo .spark, .ob .promo .coin, .ob .promo .sealw, .ob .promo .sealw .glint i, .ob .promo .plate, .ob .promo .plate .cl, .ob .promo .plate .sweep, .ob .inn, .ob .sheet.trip > .stage { animation: none; }
  .ob .card:not(.up):hover .in, .ob .card:not(.up):active .in { transform: none; }
}
/* the beat card: a name never breaks from its initial ("Emmanuel" then "O." alone) */
.ob .promo h4 .nw { white-space: nowrap; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
