:root {
  --bg: #0b0b10; --panel: #15151d; --panel2: #1d1d28; --line: #2a2a38;
  --text: #f1eee8; --muted: #bcb9c6; --gold: #e8b84a; --red: #e5484d; --green: #3fbf7f;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.55 Sarabun, system-ui, sans-serif; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, .logo, .btn, .tt { font-family: Prompt, Sarabun, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: rgba(11, 11, 16, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.logo span { color: var(--gold); }
.top nav { display: flex; gap: 10px; align-items: center; }
.top nav a { padding: 6px 12px; border-radius: 999px; background: var(--panel2); font-size: 14px; }

main { max-width: 1200px; margin: 0 auto; padding: 0 16px 48px; }
h2 { font-size: 19px; margin: 26px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desc { color: #d8d4cc; white-space: pre-line; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  padding: 11px 18px; border-radius: 12px; background: var(--gold); color: #1b1407; font-weight: 600; }
.btn.ghost { background: var(--panel2); color: var(--text); }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn:disabled, .btn.off { opacity: .4; cursor: default; pointer-events: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(232, 184, 74, .14); color: var(--gold); }

/* hero: wide art blurred behind, vertical poster + text in front */
.hero-wrap { position: relative; margin: 0 -16px; overflow: hidden; }
.slide { display: none; position: relative; isolation: isolate; }
.slide.on { display: block; animation: fade .6s; }
@keyframes fade { from { opacity: 0; } }
.slide::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat;
  background-image: var(--art); }
.slide::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 16, .25) 0%, rgba(11, 11, 16, .7) 55%, var(--bg) 100%); }
.hero-in { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: end; padding: 120px 16px 18px;
  max-width: 1200px; margin: 0 auto; }
.hero-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.hero-text h1 { font-size: 22px; line-height: 1.25; margin: 6px 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.hero-text p { margin: 0 0 6px; color: #e3dfd6; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.next-in { margin-top: 6px; font-size: 14px; }
.next-in b { color: var(--gold); font-variant-numeric: tabular-nums; }
.dots { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .35); }
.dots i.on { background: var(--gold); width: 20px; }
@media (max-width: 559px) { .hero-in { grid-template-columns: 1fr; } .hero-poster { display: none; } .hero-in { padding-top: 170px; } }
@media (min-width: 820px) {
  .hero-in { grid-template-columns: 200px 1fr; gap: 28px; padding: 180px 32px 28px; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p { max-width: 640px; }
}

/* rails of episode tiles (vertical 9:16 frames) */
.sec { margin-top: 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .rail { grid-auto-columns: 24%; } }
@media (min-width: 900px) { .rail { grid-auto-columns: 15.2%; } }
.tile { scroll-snap-align: start; min-width: 0; }
.thumb { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--panel); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .thumb img { transform: scale(1.04); }
.thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .75)); }
.epno { position: absolute; left: 8px; bottom: 8px; z-index: 1; font-size: 12px; font-weight: 600; }
.new { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 1px 8px; border-radius: 999px; }
.lockicon, .playicon { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: 13px; width: 26px; height: 26px; border-radius: 99px;
  display: grid; place-items: center; background: rgba(0, 0, 0, .55); }
.playicon { font-size: 10px; color: var(--gold); }
.is-soon .thumb img { filter: grayscale(.6) brightness(.6) blur(1px); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .2); z-index: 2; }
.bar i { display: block; height: 100%; background: var(--red); }
.tile .tt { font-size: 14px; font-weight: 600; line-height: 1.3; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.when { margin-top: 6px; font-size: 12px; color: var(--gold); font-weight: 600; }
.hgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 720px) { .hgrid { grid-template-columns: repeat(6, 1fr); } }

/* all-series grid: 2:3 posters */
.posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .posters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .posters { grid-template-columns: repeat(5, 1fr); } }
.pimg { position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--panel); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.poster .tt { font-weight: 600; font-size: 15px; line-height: 1.3; margin-top: 6px; }

.join { margin-top: 26px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 18px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(232, 184, 74, .18), rgba(229, 72, 77, .12));
  border: 1px solid rgba(232, 184, 74, .35); }

/* series page */
.part { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; overflow: hidden; }
.part summary { cursor: pointer; padding: 12px 14px; font-family: Prompt, sans-serif; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; }
.ep { display: flex; gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); }
.ethumb { position: relative; width: 44px; flex: none; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--panel2); }
.ethumb img { width: 100%; height: 100%; object-fit: cover; }
.ep .t { flex: 1; min-width: 0; }
.ep .t div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); white-space: nowrap; }
.tag.open { background: rgba(63, 191, 127, .15); color: var(--green); }
.tag.pay { background: rgba(232, 184, 74, .15); color: var(--gold); }

/* watch page: player + side panel (episode grid) */
.watch { display: grid; gap: 16px; padding-top: 12px; }
.watch > * { min-width: 0; }
@media (min-width: 900px) { .watch { grid-template-columns: calc(80vh * 9 / 16) 400px; justify-content: center; gap: 32px; align-items: start; } .side { position: sticky; top: 76px; } }
.stage { touch-action: pan-x; }
.player { background: #000 center / cover; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; position: relative;
  width: min(100%, calc(80vh * 9 / 16)); margin: 0 auto; }
.player video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.swipe-hint { text-align: center; margin-top: 6px; }
@media (hover: hover) { .swipe-hint { display: none; } }
.ep-title { font-size: 20px; margin: 6px 0 2px; line-height: 1.3; }
.navbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.ep-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.ep-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.part-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.part-tabs button { flex: none; border: 1px solid var(--line); background: var(--panel2); color: var(--muted); border-radius: 999px;
  padding: 4px 12px; font-size: 13px; cursor: pointer; }
.part-tabs button.on { color: #1b1407; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.ep-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--panel2);
  font-weight: 600; font-variant-numeric: tabular-nums; border: 1px solid transparent; }
.cell i { position: absolute; top: 1px; right: 3px; font-size: 9px; font-style: normal; }
.cell.done { color: var(--muted); }
.cell.done i { color: var(--green); }
.cell.pay, .cell.login { color: #cfc9bd; }
.cell.soon { opacity: .4; }
.cell.cur { background: var(--gold); color: #1b1407; }
.cell:hover { border-color: var(--gold); }
.legend { margin-top: 10px; }
.synopsis { margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.synopsis summary { cursor: pointer; font-family: Prompt, sans-serif; font-weight: 600; }

.lock, .upnext { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .88)); }
.lock h3 { margin: 0 0 6px; font-size: 20px; }
.upnext { align-content: center; gap: 8px; }
.upnext img { width: 38%; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; }
.upnext b { color: var(--gold); font-size: 18px; }
.resume-chip { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); border: 0; border-radius: 999px; cursor: pointer;
  padding: 6px 14px; background: rgba(0, 0, 0, .7); color: var(--text); font-size: 13px; }

/* plans, panels */
.plans { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.plan.best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.plan .price { font-family: Prompt, sans-serif; font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.prose p { margin: 0 0 10px; }
input[type=text] { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2);
  color: var(--text); font: inherit; }

/* owner dashboard */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stats b { display: block; font-size: 26px; font-family: Prompt, sans-serif; color: var(--gold); }
.stats span { font-size: 13px; color: var(--muted); }
.stats div.warn { border-color: var(--red); }
.stats div.warn b { color: var(--red); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.hbar, .rrow { display: grid; grid-template-columns: 90px 1fr auto; gap: 8px; align-items: center; margin: 4px 0; font-size: 13px; }
.hbar i, .rrow i { display: block; height: 10px; border-radius: 99px; background: var(--gold); min-width: 2px; }
.rrow b, .hbar b { font-weight: 400; color: var(--muted); white-space: nowrap; }
.retention { max-height: 520px; overflow-y: auto; }

.foot { max-width: 1200px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot nav a { white-space: nowrap; }

#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--panel2); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 12px; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100% - 32px); z-index: 20; }
#toast.show { opacity: 1; }

/* PDPA cookie choice */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 720px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 14px; }
.consent p { margin: 0 0 10px; }
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 8px 12px; font-size: 12px; }
  .consent p { margin: 0 0 6px; }
  .consent .btn { padding: 6px 12px; font-size: 13px; }
}
.consent a, .terms a, .prose a { color: var(--gold); }
.terms { display: block; margin: 10px 0; }
.prose ul { margin: 0 0 10px; padding-left: 20px; }
.prose li { margin: 4px 0; }
details.panel summary { cursor: pointer; }

/* pay page (dev gateway) + receipt */
.fakepay { width: 180px; height: 180px; margin: 12px 0; display: grid; place-items: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.qr { display: block; width: 260px; max-width: 100%; height: auto; margin: 12px 0; background: #fff; padding: 8px; border-radius: var(--radius); }
@media print {
  body > *:not(main), .noprint, .consent { display: none !important; }
  .receipt { border: 0; color: #000; background: #fff; }
}

/* episode change: slide in from the swipe side + a short "part · episode" badge */
@keyframes ep-in-up { from { transform: translateY(35%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ep-in-down { from { transform: translateY(-35%); opacity: 0; } to { transform: none; opacity: 1; } }
.stage.enter-up { animation: ep-in-up .28s ease-out; }
.stage.enter-down { animation: ep-in-down .28s ease-out; }
.ep-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; pointer-events: none;   /* centre: the top holds the resume pill */
  background: rgba(0, 0, 0, .72); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 18px;
  animation: ep-badge 1.8s ease forwards; }
@keyframes ep-badge { 0% { opacity: 0; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stage.enter-up, .stage.enter-down { animation: none; } }

/* profile picture + CC button + settings options */
.avatar { border-radius: 50%; object-fit: cover; vertical-align: middle; flex: none; }
.avatar.letter { display: inline-grid; place-items: center; background: var(--gold); color: #111; font-weight: 700; }
.me .avatar { margin-right: 4px; }
/* a long name must not push the header past a phone screen (persona walk 2026-10-20: 441 px on a 390 px phone) */
.top nav { min-width: 0; }
.top nav a.me { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; }
.me-name { display: inline-block; max-width: 9em; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
@media (max-width: 420px) { .me-name { max-width: 5.5em; } }
.cc-btn { position: absolute; top: 12px; right: 12px; z-index: 4; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .55);
  color: #fff; font-weight: 700; font-size: 13px; border-radius: 6px; padding: 4px 8px; }
.cc-btn.on { background: #fff; color: #111; }
video::cue { background: rgba(0, 0, 0, .65); color: #fff; font-size: 1.1em; }
.opt { display: block; padding: 6px 0; }

/* favourite heart on the player + my list */
.fav-btn, .share-btn { position: absolute; right: 10px; bottom: 96px; z-index: 4; display: grid; justify-items: center; gap: 2px;
  border: 0; background: none; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); font-size: 11px; }
.share-btn { bottom: 160px; }
.fav-btn b, .share-btn b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 0, 0, .45);
  font-size: 22px; transition: transform .15s; }
.fav-btn.on b { color: #ff4d6d; transform: scale(1.12); }
.listlink { display: grid; gap: 4px; margin: 12px 0; }
.jump { margin: 6px 0 4px; }
.jump .chip { padding: 6px 12px; }
@media (max-width: 420px) { .nav-label { display: none; } }

/* player extras: double-tap seek, hold for 2x, speed button */
.player video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.flash { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none;
  background: rgba(0, 0, 0, .65); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700;
  animation: ep-badge .8s ease forwards; }
.hold2x { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; pointer-events: none;
  background: rgba(0, 0, 0, .65); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.speed-btn { position: absolute; top: 12px; right: 58px; z-index: 4; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .55);
  color: #fff; font-weight: 700; font-size: 13px; border-radius: 6px; padding: 4px 8px; }
.speed-btn.on { background: #fff; color: #111; }

/* report a problem */
.linkbtn { background: none; border: 0; padding: 6px 0; cursor: pointer; text-align: left; }
.report-box { display: grid; gap: 8px; margin: 6px 0 10px; }
.report-box textarea { width: 100%; box-sizing: border-box; }
.logo img { display: block; height: 36px; width: auto; }
.alert-box { border: 1px solid #c0392b; }
.alert-row { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.08); }
.play-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: rgba(0,0,0,.78); text-align: center; padding: 16px; z-index: 5; }
.play-error p { margin: 0; }
.drip { margin: 6px 0; padding-left: 18px; }
.drip li { margin: 3px 0; }
/* persona walk 2026-10-20: plain-words line over the episode grid, the membership box, the price nudge on home */
.state-line { margin: 6px 0; color: var(--text); }
.member .switch-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.member .switch-row input { width: 22px; height: 22px; accent-color: var(--gold); }
.nudge { border: 1px solid var(--gold); display: flex; flex-direction: column; gap: 2px; }
.top nav a.bell { white-space: nowrap; }
.top nav a.bell b { margin-left: 2px; color: var(--gold); }
.hwrap { position: relative; min-width: 0; }
.hide-h { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .7); color: #fff; font-size: 14px; cursor: pointer; }
/* admin: how many viewers are still there at each tenth of an episode */
.curve { display: inline-flex; align-items: flex-end; gap: 1px; height: 22px; width: 60px; margin-left: 6px; vertical-align: middle; }
.curve u { flex: 1; background: var(--gold); text-decoration: none; min-height: 1px; }
/* emoji per episode + "how was this episode" (supreme 2026-10-20) */
.feel { margin: 12px 0; }
.emoji-row { display: flex; gap: 6px; }
.emo { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.emo span { font-size: 11px; font-variant-numeric: tabular-nums; }
.emo.on { border-color: var(--gold); background: rgba(232, 184, 74, .14); color: var(--gold); }
.rate { margin-top: 10px; }
.rate .chips { margin-top: 4px; }
button.chip { border: 1px solid transparent; cursor: pointer; font: inherit; font-size: 13px; padding: 4px 12px; }
button.chip.on { border-color: var(--gold); background: var(--gold); color: #1b1407; }
/* the members' vote on a series page */
.poll { margin: 14px 0; }
.poll .chips { margin-top: 8px; }
.pollbar { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 8px 10px;
  border-radius: 10px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pollbar i { position: absolute; inset: 0 auto 0 0; background: rgba(232, 184, 74, .22); }
.pollbar span, .pollbar b { position: relative; }
.pollbar.mine { outline: 1px solid var(--gold); }
/* the sequel vote (Kledr 2026-10-20): % of members vs the part's bar */
.gl { margin: 14px 0; }
.glbar { position: relative; height: 26px; margin: 8px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.glbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(232, 184, 74, .55), var(--gold)); }
.glbar span { position: relative; display: block; text-align: center; line-height: 26px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gl.greenlit .glbar i { background: var(--green); }
.lock .gl { text-align: left; max-width: 360px; margin: 12px auto; }
.gl-row { display: flex; gap: 12px; align-items: flex-start; }
.gl-row img { width: 72px; border-radius: 10px; }
.gl-row .gl-slot { flex: 1; }
.gl-row .gl { margin: 0 0 12px; }
/* Beam card page (/card) */
.card-page { max-width: 460px; margin: 24px auto; padding: 0 16px; }
.card-page form label { display: block; margin: 0 0 12px; }
.card-page form input:not([type=checkbox]) { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 11px 12px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: inherit; }
