/* A screen, drawn on a fixed 1920 x 1080 (or 1080 x 1920) stage and scaled to fit. Everything is under .scr so the same
   rules work on a TV and inside the console's previews. Type sizes follow the 10-foot rule in site/SPEC.md:
   headlines 84px and up, lines 34px and up, list items 30px and up, labels 20px and up. --fit shrinks a long card. */
@font-face { font-family: 'Jost'; font-weight: 300 700; src: url('/fonts/Jost.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Figtree'; font-weight: 400 700; src: url('/fonts/Figtree.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; src: url('/fonts/CormorantGaramond-italic.woff2') format('woff2'); font-display: swap; }

.scr, .scr * { box-sizing: border-box; margin: 0; padding: 0; }
.scr { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden; transform-origin: 0 0; background: var(--bg); color: var(--ink); font-family: var(--body); }
.scr.portrait { width: 1080px; height: 1920px; }
.shot { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 10px; }
.shot.tall { aspect-ratio: 9 / 16; }
.scr svg { display: block; }

/* frame */
.scr-head { position: absolute; left: 0; right: 0; top: 0; height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 0 64px; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 3; }
.scr-head .brand { display: flex; align-items: center; min-width: 0; }
.scr-head .brand b { font: 600 46px/1 var(--head); letter-spacing: -.01em; white-space: nowrap; }
.scr-head .brand i { width: 2px; height: 54px; background: var(--line); margin: 0 28px; flex: none; }
.scr-head .brand span { font: 600 20px/1.35 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.scr-head .now { display: flex; align-items: center; flex: none; }
.scr-head .wx { display: flex; align-items: center; background: var(--surface); border-radius: 40px; padding: 10px 26px 10px 14px; margin-right: 34px; border: 1px solid var(--line); }
.scr-head .wx svg { width: 50px; height: 50px; margin-right: 12px; }
.scr-head .wx b { font: 600 38px/1 var(--head); margin-right: 12px; }
.scr-head .wx span { font: 500 22px/1 var(--body); color: var(--muted); }
.scr-head .clock { text-align: right; }
.scr-head .clock b { display: block; font: 500 50px/1 var(--head); white-space: nowrap; }
.scr-head .clock span { display: block; font: 600 20px/1 var(--body); color: var(--muted); margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.portrait .scr-head { padding: 0 44px; }
.portrait .scr-head .brand i, .portrait .scr-head .brand span, .portrait .scr-head .wx span { display: none; }
.portrait .scr-head .wx { margin-right: 22px; padding-right: 20px; }
.portrait .scr-head .wx b { margin-right: 0; }

.stage { position: absolute; left: 0; right: 0; top: 112px; bottom: 0; overflow: hidden; background: var(--bg); }
.has-tick .stage { bottom: 96px; }
.scr[data-layout=full] .stage { top: 0; }

.scr-tick { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; display: flex; align-items: center; background: var(--tick); color: var(--tickInk); z-index: 3; }
.t-label { flex: none; height: 100%; display: flex; align-items: center; padding: 0 50px 0 56px; background: var(--accent); color: var(--onAccent); font: 700 22px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); }
.t-view { flex: 1; min-width: 0; overflow: hidden; }
.has-qr .t-view { margin-right: 210px; }   /* the text stops before the corner QR */
.t-crawl { display: inline-flex; align-items: center; white-space: nowrap; font: 500 34px/1 var(--head); animation: crawl 60s linear infinite; }
.t-crawl em { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .45; margin: 0 38px; }
.still .t-crawl { animation: none; }
@keyframes crawl { to { transform: translateX(-50%); } }

.corner-qr { position: absolute; right: 22px; bottom: 16px; width: 172px; padding: 12px 12px 8px; background: #fff; border-radius: 16px; color: #111; text-align: center; z-index: 4; box-shadow: 0 6px 22px rgba(0, 0, 0, .25); }
.corner-qr svg { width: 118px; height: 118px; margin: 0 auto 4px; }
.corner-qr span { display: block; font: 600 13px/1.1 var(--body); }

/* kiosk: the card sits in a frame, with the map band under it */
.scr[data-layout=kiosk] { --bg2: var(--surface); }
.scr[data-layout=kiosk] .stage { left: 230px; right: auto; top: 124px; width: 1460px; height: 663px; bottom: auto; border-radius: 26px; border: 1px solid var(--line); }
.scr[data-layout=kiosk] .stage > .k { right: auto; bottom: auto; width: 1920px; height: 872px; transform: scale(.7604); transform-origin: 0 0; }
.scr-band { position: absolute; left: 40px; right: 230px; top: 800px; height: 170px; display: flex; align-items: center; }
.scr-band .map { width: 290px; height: 160px; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 6px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; flex: none; }
.scr-band .map i { background: var(--line); border-radius: 4px; }
.scr-band .map i:nth-child(6) { background: var(--accent); }
.scr-band .find { margin-left: 36px; min-width: 0; }
.scr-band .find b { display: block; font: 500 54px/1.1 var(--head); }
.scr-band .find span { display: block; font: 400 24px/1.3 var(--body); color: var(--muted); margin-top: 8px; }
.portrait[data-layout=kiosk] .stage { left: 40px; width: 1000px; height: 1200px; }
.portrait[data-layout=kiosk] .stage > .k { width: 1000px; height: 1200px; transform: none; }
.portrait .scr-band { left: 40px; right: 40px; top: auto; bottom: 330px; }

/* type */
.k { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: var(--bg); color: var(--ink); opacity: 0; transition: opacity .9s ease; overflow: hidden; }
.k.on, .still .k { opacity: 1; }
.still .k { transition: none; }
.k-body { display: flex; flex-direction: column; justify-content: center; padding: 44px 72px; overflow: hidden; min-width: 0; min-height: 0; --fit: 1; }
.k-body > * { flex: none; }
.eyebrow { font: 700 calc(24px * var(--fit)) / 1.15 var(--body); letter-spacing: .17em; text-transform: uppercase; color: var(--accent); margin-bottom: calc(18px * var(--fit)); }
.h1 { font: 600 calc(104px * var(--fit)) / 1.03 var(--head); letter-spacing: -.012em; color: var(--ink); overflow-wrap: anywhere; }
.h1 em { font-family: var(--script); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: 0; }
.lead { font: 400 calc(38px * var(--fit)) / 1.3 var(--body); color: var(--muted); margin-top: calc(22px * var(--fit)); overflow-wrap: anywhere; }
.price { font: 600 calc(92px * var(--fit)) / 1 var(--head); color: var(--accent); margin-top: calc(20px * var(--fit)); }
.price sup { font-size: .5em; vertical-align: .6em; margin-right: 4px; }
.qr-row { display: flex; align-items: center; margin-top: calc(30px * var(--fit)); min-width: 0; }
.qr { flex: none; width: calc(168px * var(--fit)); height: calc(168px * var(--fit)); padding: calc(12px * var(--fit)); background: #fff; border-radius: 16px; margin-right: 28px; box-shadow: 0 3px 16px rgba(0, 0, 0, .12); }
.qr svg { width: 100%; height: 100%; }
.qr-txt { min-width: 0; }
.qr-txt b { display: block; font: 600 calc(44px * var(--fit)) / 1.15 var(--head); color: var(--ink); }
.qr-txt span { display: block; font: 500 calc(28px * var(--fit)) / 1.3 var(--body); color: var(--muted); margin-top: 4px; }
.qr-txt .url { color: var(--accent); font-weight: 600; }

/* photos */
.k-photo { position: relative; overflow: hidden; background: var(--surface); min-height: 0; }
.k-photo img, .sc-pics img, .polaroid img, .fly-bg img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

/* promo */
.k-promo { display: grid; grid-template-columns: 1fr 1fr; }
.k-promo .k-photo { grid-row: 1; }
.k-promo[data-layout=right] .k-photo { grid-column: 2; }
.k-promo[data-layout=right] .k-body { grid-column: 1; grid-row: 1; }
.k-promo.nophoto { grid-template-columns: 1fr; }
.k-promo.nophoto .k-body { grid-column: 1; padding: 44px 120px; }
.k-promo.nophoto .h1 { font-size: calc(132px * var(--fit)); }
.k-promo[data-layout=full]:not(.nophoto) { display: block; }
.k-promo[data-layout=full]:not(.nophoto) .k-photo { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.k-promo[data-layout=full]:not(.nophoto) .k-photo::after { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .5) 48%, rgba(0, 0, 0, 0) 78%); }
.k-promo[data-layout=full]:not(.nophoto) .k-body { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; --ink: #fff; --muted: rgba(255, 255, 255, .9); --accent: #FFD9A8; }
.portrait .k-promo { grid-template-columns: 1fr; grid-template-rows: 46% 54%; }
.portrait .k-promo .k-photo, .portrait .k-promo[data-layout=right] .k-photo { grid-row: 1; grid-column: 1; }
.portrait .k-promo .k-body, .portrait .k-promo[data-layout=right] .k-body { grid-row: 2; grid-column: 1; padding: 40px 56px; }
.portrait .k-promo[data-layout=right] .k-photo { grid-row: 2; }
.portrait .k-promo[data-layout=right] .k-body { grid-row: 1; }
.portrait .k-promo.nophoto { grid-template-rows: 1fr; }
.portrait .k-promo.nophoto .k-body { grid-row: 1; padding: 40px 72px; }
.portrait .k-promo[data-layout=full]:not(.nophoto) .k-photo::after { background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, 0) 74%); }
.portrait .k-promo[data-layout=full]:not(.nophoto) .k-body { top: auto; right: 0; width: auto; height: 62%; justify-content: flex-end; }

/* spotlight */
.k-spotlight { display: grid; grid-template-columns: 720px 1fr; align-items: center; padding: 0 0 0 64px; }
.k-spotlight[data-layout=right] { grid-template-columns: 1fr 720px; padding: 0 64px 0 0; }
.k-spotlight[data-layout=right] .polaroid { grid-column: 2; grid-row: 1; transform: rotate(1.6deg); }
.k-spotlight[data-layout=right] .k-body { grid-column: 1; grid-row: 1; }
.k-spotlight .k-body { height: 100%; }
.polaroid { position: relative; background: #fff; padding: 26px 26px 18px; box-shadow: 0 22px 50px rgba(0, 0, 0, .22); transform: rotate(-2deg); border-radius: 6px; }
.polaroid > i { position: absolute; left: 50%; top: -26px; width: 190px; height: 52px; margin-left: -95px; background: rgba(242, 180, 65, .78); transform: rotate(-1deg); }
.polaroid .pic { position: relative; height: 560px; overflow: hidden; background: #efe8dc; }
.polaroid .pic.mono { display: flex; align-items: center; justify-content: center; font: 600 240px/1 var(--head); color: #b5aca0; }
.polaroid .cap { font: italic 500 50px/1.2 'Cormorant', serif; text-align: center; color: #2b2627; padding: 14px 0 4px; }
.chip { align-self: flex-start; font: 600 calc(34px * var(--fit)) / 1 var(--head); background: var(--accent); color: var(--onAccent); padding: 12px 22px; border-radius: 12px; margin-top: calc(18px * var(--fit)); }
.tags { display: flex; flex-wrap: wrap; margin-top: calc(20px * var(--fit)); }
.tags span { font: 600 calc(28px * var(--fit)) / 1 var(--body); background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 40px; padding: 13px 24px; margin: 0 12px 12px 0; }
.portrait .k-spotlight, .portrait .k-spotlight[data-layout=right] { grid-template-columns: 1fr; grid-template-rows: 44% 56%; padding: 44px 0 0; justify-items: center; }
.portrait .k-spotlight .polaroid, .portrait .k-spotlight[data-layout=right] .polaroid { width: 640px; grid-column: 1; grid-row: 1; }
.portrait .k-spotlight .polaroid .pic { height: 500px; }
.portrait .k-spotlight .k-body, .portrait .k-spotlight[data-layout=right] .k-body { grid-column: 1; grid-row: 2; width: 100%; padding: 40px 56px; }

/* showcase */
.k-showcase { display: grid; grid-template-columns: 860px 1fr; }
.k-showcase.nophoto { grid-template-columns: 1fr; }
.sc-pics { position: relative; display: grid; grid-gap: 18px; padding: 44px 0 44px 64px; min-height: 0; }
.sc-pics > div { position: relative; overflow: hidden; border-radius: 22px; min-height: 0; background: var(--surface); }
.sc-pics.n2 { grid-template-rows: 1fr 1fr; }
.sc-pics.n3 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
.sc-pics.n3 > div:first-child { grid-row: 1 / span 2; }
.k-showcase[data-layout=split] .sc-pics, .k-showcase[data-layout=split-r] .sc-pics { padding: 0; grid-gap: 0; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.k-showcase[data-layout=split] .sc-pics > div, .k-showcase[data-layout=split-r] .sc-pics > div { border-radius: 0; grid-row: 1; }
.k-showcase[data-layout=split] .sc-pics > div:nth-child(n+2), .k-showcase[data-layout=split-r] .sc-pics > div:nth-child(n+2) { display: none; }
.k-showcase[data-layout=split-r] { grid-template-columns: 1fr 860px; }
.k-showcase[data-layout=split-r] .sc-pics { grid-column: 2; grid-row: 1; }
.k-showcase[data-layout=split-r] .k-body { grid-column: 1; grid-row: 1; }
.k-showcase[data-layout=strip] { grid-template-columns: 1fr; grid-template-rows: 1fr 340px; }
.k-showcase[data-layout=strip] .sc-pics { grid-row: 2; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; padding: 0 72px 44px; }
.k-showcase[data-layout=strip] .sc-pics > div:first-child { grid-row: auto; }
.k-showcase[data-layout=strip] .sc-pics.n2 { grid-template-columns: repeat(2, 1fr); }
.k-showcase[data-layout=strip] .sc-pics.n1 { grid-template-columns: 1fr; }
.k-showcase[data-layout=strip] .k-body { grid-row: 1; }
.tagline { font: italic 500 calc(52px * var(--fit)) / 1.15 var(--script); color: var(--accent); margin-top: calc(12px * var(--fit)); }
.svc { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-gap: calc(8px * var(--fit)) 36px; margin-top: calc(24px * var(--fit)); }
.svc li { position: relative; padding-left: 28px; font: 500 calc(32px * var(--fit)) / 1.25 var(--body); color: var(--ink); }
.svc li::before { content: ''; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; transform: rotate(45deg); background: var(--accent); }
.badge { position: absolute; left: 92px; bottom: 72px; width: 210px; height: 210px; border-radius: 50%; background: var(--accent); color: var(--onAccent); display: flex; align-items: center; justify-content: center; text-align: center; font: 600 34px/1.1 var(--head); padding: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.k-showcase[data-layout=split-r] .badge { left: auto; right: 60px; }
.k-showcase[data-layout=strip] .badge, .k-showcase.nophoto .badge { left: auto; right: 72px; top: 44px; bottom: auto; }
.portrait .k-showcase, .portrait .k-showcase[data-layout=split-r] { grid-template-columns: 1fr; grid-template-rows: 44% 56%; }
.portrait .k-showcase .sc-pics, .portrait .k-showcase[data-layout=split-r] .sc-pics { grid-row: 1; grid-column: 1; padding: 40px 44px 0; }
.portrait .k-showcase[data-layout=split] .sc-pics, .portrait .k-showcase[data-layout=split-r] .sc-pics { padding: 0; }
.portrait .k-showcase .k-body, .portrait .k-showcase[data-layout=split-r] .k-body { grid-row: 2; grid-column: 1; padding: 36px 56px; }
.portrait .k-showcase[data-layout=strip] { grid-template-rows: 1fr 420px; }
.portrait .k-showcase[data-layout=strip] .sc-pics { grid-row: 2; padding: 0 44px 44px; }
.portrait .k-showcase[data-layout=strip] .k-body { grid-row: 1; }
.portrait .k-showcase .badge, .portrait .k-showcase[data-layout=split-r] .badge { left: auto; right: 64px; top: 60px; bottom: auto; width: 190px; height: 190px; font-size: 30px; }

/* menu */
.k-menu { display: grid; grid-template-columns: 1fr 640px; }
.k-menu.nophoto { grid-template-columns: 1fr; }
.k-menu .k-photo { grid-column: 2; grid-row: 1; }
.k-menu .k-body { grid-column: 1; grid-row: 1; justify-content: flex-start; padding: 40px 72px; }
.k-menu header { display: flex; align-items: baseline; flex-wrap: wrap; margin-bottom: calc(22px * var(--fit)); }
.k-menu header .h1 { font-size: calc(92px * var(--fit)); margin-right: 32px; }
.k-menu header .lead { margin-top: 0; font-size: calc(34px * var(--fit)); }
.m-cols { column-count: 2; column-gap: 72px; column-fill: balance; }
.k-menu:not(.nophoto) .m-cols { column-count: 1; }
.m-cols section { break-inside: avoid; margin-bottom: calc(22px * var(--fit)); }
.m-cols h2 { font: 700 calc(26px * var(--fit)) / 1.1 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); padding-bottom: calc(8px * var(--fit)); border-bottom: 2px solid var(--line); margin-bottom: calc(10px * var(--fit)); }
.m-row { display: flex; justify-content: space-between; align-items: baseline; padding: calc(9px * var(--fit)) 0; break-inside: avoid; }
.m-row > div { min-width: 0; padding-right: 24px; }
.m-row b { display: block; font: 600 calc(38px * var(--fit)) / 1.15 var(--head); }
.m-row span { display: block; font: 400 calc(30px * var(--fit)) / 1.25 var(--body); color: var(--muted); }
.m-row i { flex: none; font: 600 calc(38px * var(--fit)) / 1.15 var(--head); font-style: normal; color: var(--ink); }
.m-row.sold b, .m-row.sold span { text-decoration: line-through; opacity: .55; }
.m-row.sold i { font: 700 calc(24px * var(--fit)) / 1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.portrait .k-menu { grid-template-columns: 1fr; grid-template-rows: 30% 70%; }
.portrait .k-menu.nophoto { grid-template-rows: 1fr; }
.portrait .k-menu .k-photo { grid-column: 1; grid-row: 1; }
.portrait .k-menu .k-body { grid-row: 2; padding: 44px 56px; }
.portrait .k-menu.nophoto .k-body { grid-row: 1; }
.portrait .m-cols { column-count: 1; }
.portrait .k-menu header { display: block; }

/* board */
.k-board .k-body { position: absolute; left: 0; top: 0; right: 0; bottom: 0; justify-content: flex-start; padding: 40px 64px; }
.notes { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 34px; margin-top: calc(40px * var(--fit)); }
.note { position: relative; padding: calc(36px * var(--fit)) 30px; min-height: calc(400px * var(--fit)); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); color: #2b2627; transform: rotate(-1.2deg); }
.note::before { content: ''; position: absolute; left: 50%; top: -14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--accent); }
.note.c0 { background: #FFF0C7; } .note.c1 { background: #D3F1EA; transform: rotate(1deg); } .note.c2 { background: #FFE0D8; transform: rotate(-.6deg); } .note.c3 { background: #E9E1FB; transform: rotate(1.4deg); }
.note small { display: block; font: 700 calc(21px * var(--fit)) / 1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.note b { display: block; font: 600 calc(46px * var(--fit)) / 1.12 var(--head); }
.note p { font: 400 calc(32px * var(--fit)) / 1.3 var(--body); margin-top: 12px; }
.portrait .notes { grid-template-columns: repeat(2, 1fr); }

/* flyer */
.fly-bg { position: absolute; left: -40px; top: -40px; right: -40px; bottom: -40px; filter: blur(34px) brightness(.55); }
.fly-pic { position: absolute; right: 48px; top: 36px; bottom: 36px; width: 58%; }
.fly-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.k-flyer[data-layout=full] .fly-pic { left: 0; right: 0; top: 0; bottom: 0; width: auto; }
.k-flyer .k-body { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; --ink: #fff; --muted: rgba(255, 255, 255, .9); }
.portrait .fly-pic { left: 44px; right: 44px; top: 44px; bottom: 34%; width: auto; }
.portrait .k-flyer .k-body { top: auto; right: 0; width: auto; height: 33%; }

/* trivia */
.k-trivia .k-body { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 40px 96px; }
.k-trivia .h1.q { font-size: calc(84px * var(--fit)); }
.opts { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 22px 28px; margin-top: calc(36px * var(--fit)); }
.opt { display: flex; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: calc(18px * var(--fit)) 24px; transition: background .5s, opacity .5s; min-width: 0; }
.opt i { flex: none; width: calc(60px * var(--fit)); height: calc(60px * var(--fit)); border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 calc(30px * var(--fit)) / calc(60px * var(--fit)) var(--body); font-style: normal; text-align: center; margin-right: 20px; }
.opt b { font: 500 calc(42px * var(--fit)) / 1.15 var(--head); min-width: 0; }
.k-trivia .why { visibility: hidden; }
.reveal .why { visibility: visible; }
.reveal .opt { opacity: .4; }
.reveal .opt.right { opacity: 1; background: var(--accent); border-color: var(--accent); color: var(--onAccent); }
.portrait .k-trivia .k-body { padding: 44px 56px; }
.portrait .opts { grid-template-columns: 1fr; }

/* welcome and weather */
.k-welcome { display: grid; grid-template-columns: 1fr 720px; align-items: center; padding-right: 64px; }
.k-welcome .k-body { height: 100%; padding-left: 96px; }
.hello { font: italic 500 calc(72px * var(--fit)) / 1.1 var(--script); color: var(--accent); }
.k-welcome .h1 { font-size: calc(150px * var(--fit)); }
.wx-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 40px; }
.wx-now { display: flex; align-items: center; }
.wx-now svg { width: 150px; height: 150px; margin-right: 20px; }
.wx-now b { display: block; font: 600 110px/1 var(--head); }
.wx-now span { font: 500 36px/1.2 var(--body); color: var(--muted); }
.wx-days { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px; }
.wx-days > div { text-align: center; }
.wx-days span { font: 600 24px/1 var(--body); color: var(--muted); }
.wx-days svg { width: 62px; height: 62px; margin: 8px auto; }
.wx-days b { font: 600 34px/1 var(--head); }
.portrait .k-welcome { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 0 56px 56px; }
.portrait .k-welcome .k-body { padding: 0; }
.k-weather .k-body { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 40px 96px; }
.w-now { display: flex; align-items: center; }
.w-now svg { width: 220px; height: 220px; margin-right: 26px; }
.w-now > b { font: 600 200px/1 var(--head); margin-right: 40px; }
.w-now span { display: block; font: 500 58px/1.1 var(--head); }
.w-now small { display: block; font: 500 34px/1.3 var(--body); color: var(--muted); margin-top: 8px; }
.w-days { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 20px; margin-top: 44px; }
.w-days > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-align: center; }
.w-days span { font: 600 30px/1 var(--body); color: var(--muted); }
.w-days svg { width: 96px; height: 96px; margin: 12px auto; }
.w-days b { font: 600 52px/1 var(--head); margin-right: 12px; }
.w-days small { font: 500 34px/1 var(--body); color: var(--muted); }
.portrait .k-weather .k-body { padding: 44px 56px; }
.portrait .w-now { display: block; }
.portrait .w-days { grid-template-columns: 1fr; }
.portrait .w-days > div { display: flex; align-items: center; justify-content: space-between; padding: 12px 28px; }
.portrait .w-days svg { margin: 0; }

/* directory */
.k-directory .k-body { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 40px 96px; justify-content: flex-start; }
.dir { column-count: 3; column-gap: 40px; margin-top: calc(36px * var(--fit)); }
.dir > div { display: flex; align-items: center; padding: calc(14px * var(--fit)) 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dir i { flex: none; min-width: calc(70px * var(--fit)); padding: 8px 10px; margin-right: 18px; border-radius: 10px; background: var(--accent); color: var(--onAccent); font: 600 calc(30px * var(--fit)) / 1 var(--head); font-style: normal; text-align: center; }
.dir b { font: 500 calc(36px * var(--fit)) / 1.15 var(--head); min-width: 0; }
.portrait .dir { column-count: 1; }

/* hand-built */
.k-custom { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 26px, var(--bg) 26px, var(--bg) 52px); }
.k-custom .k-body { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 44px 120px; }

/* the player's own overlays */
.scr-dark, .scr-msg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; text-align: center; z-index: 9; }
.scr-dark { background: #000; color: rgba(255, 255, 255, .28); font: 500 64px/1.2 var(--head); }
.scr-dark span { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-22vw, -18vh); } to { transform: translate(22vw, 18vh); } }
.scr-msg { background: var(--bg); color: var(--ink); padding: 120px; flex-direction: column; }
.scr-msg b { font: 600 84px/1.1 var(--head); }
.scr-msg span { font: 400 38px/1.3 var(--body); color: var(--muted); margin-top: 18px; }

/* the animated tier: a looping video that fills the card */
.k-motion { padding: 0; overflow: hidden; background: #000; }
.k-motion .k-video { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.k-motion .k-video video, .k-motion .k-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.k-motion .k-video.fit video, .k-motion .k-video.fit img { object-fit: contain; }
