/*
 * LusoVision on Samsung and LG TVs (the same file in raf/samsung and raf/lg): the dark "glass
 * card" look of the Android app. Everything is laid out on a 1920×1080 stage that is scaled to
 * the screen. Only CSS that TVs from 2018 understand (Tizen 4.0: Chromium 56, webOS 4.0:
 * Chromium 53): flexbox with margins, no CSS grid and no flex "gap".
 */
:root {
  --gold: #e2b44a; --gold-light: #f6d88a;
  --bg: #080b12; --surface: #10151f; --surface-high: #161d2b; --surface-focus: #1c2435;
  --border: rgba(255, 255, 255, .12);
  --text: #eef1f7; --muted: #8c95a8;
  --red: #f0505a; --green: #34d17c; --cyan: #2bc8e8; --violet: #8b6cf6; --magenta: #d946ef;
}

html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: transparent; }
body { font-family: "SamsungOne", "LG Smart UI", "Museo Sans", "Roboto", "Segoe UI", Arial, sans-serif; color: var(--text); }
* { box-sizing: border-box; }
/* The picture: Samsung's AVPlay layer, or the <video> (LG, and Samsung in a PC browser). */
#av-player, #html5-player, #video { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; background: #000; }
#html5-player, #video { display: none; object-fit: contain; }

/* Not clipped: every screen is exactly the stage's size, and a clipped, scaled layer over the
   video showed thin seams at its edges in desktop browsers. */
#stage {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
  transform-origin: 0 0; z-index: 1;
}
.screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: var(--bg); overflow: hidden; }
.screen.transparent { background: transparent; }
.mono { font-family: "Consolas", "Courier New", monospace; font-weight: bold; letter-spacing: .5px; }
.muted { color: var(--muted); }
.row { display: flex; flex-direction: row; align-items: center; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1 1 auto; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hidden { display: none !important; }

/* Cards with the glowing top line of their area colour. */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 40%), var(--surface);
  border: 2px solid var(--border); border-radius: 26px; padding: 26px;
}
.card::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -2px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--gold)), transparent); opacity: .9;
}
.badge {
  width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 2px solid var(--accent, var(--gold)); color: var(--accent, var(--gold));
  font-size: 32px; flex: 0 0 auto;
}
/* SVG icons take the text colour; in a badge they fill about half of it. */
.icon { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; vertical-align: -0.14em; }
.badge .icon { width: 56%; height: 56%; }
.button .icon, .rating .icon { margin-right: .4em; }
.icon.inline { margin: 0 .2em; }
.key-dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin: 0 .35em 0 .15em; vertical-align: -0.05em; }
.key-dot.red { background: #e5383b; }
.key-dot.green { background: #2fb84f; }
.key-dot.yellow { background: #f2c230; }
.key-dot.blue { background: #2f7fe0; }
.channel .archive { color: var(--muted); font-size: 26px; margin-left: 14px; display: flex; }
.cat .count .icon { color: var(--muted); }
.pill {
  display: inline-block; padding: 6px 18px; border-radius: 20px; font-size: 22px; font-weight: bold;
  color: var(--accent, var(--gold)); border: 2px solid var(--accent, var(--gold)); background: rgba(0,0,0,.25); line-height: 1.2;
}
.card-header { display: flex; align-items: center; margin-bottom: 22px; }
.card-header .title { font-size: 34px; margin-left: 20px; flex: 1 1 auto; }

/* Anything the remote can land on. Screens that take the keys themselves (the players) are focused
   too: no browser focus ring around them (it showed as thin lines at the picture's edges). */
[data-focus], .screen, [tabindex]:focus { outline: none; }
.tile {
  background: var(--surface); border: 2px solid var(--border); border-radius: 18px;
  transition: transform .12s ease-out, background .12s, border-color .12s;
}
.tile:focus { background: var(--surface-focus); border-color: var(--accent, var(--gold)); transform: scale(1.04); box-shadow: 0 0 30px rgba(0,0,0,.6); }
.tile.selected { border-color: rgba(255,255,255,.18); box-shadow: inset 6px 0 0 var(--accent, var(--gold)); }
/* Rows inside lists don't grow (the list would clip them); a bright ring shows the focus instead. */
.vlist .tile:focus { transform: none; border-color: transparent; background: #24304a; box-shadow: inset 0 0 0 4px var(--accent, var(--gold)); color: var(--text); }
.vlist .tile.selected:focus { box-shadow: inset 0 0 0 4px var(--accent, var(--gold)), inset 10px 0 0 var(--accent, var(--gold)); }
.button {
  display: inline-flex; align-items: center; justify-content: center; height: 72px; padding: 0 40px;
  border-radius: 36px; font-size: 28px; font-weight: bold; background: var(--surface-high); border: 2px solid var(--border); color: var(--text);
}
.button.primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.button:focus { border-color: var(--gold-light); transform: scale(1.05); box-shadow: 0 0 0 4px rgba(226,180,74,.35); }
.field {
  width: 100%; height: 84px; border-radius: 16px; border: 2px solid var(--border); background: rgba(0,0,0,.35);
  color: var(--text); font-size: 30px; padding: 0 26px; margin-bottom: 20px; font-family: inherit;
}
.field:focus { border-color: var(--gold); background: var(--surface-high); }
.label { font-size: 22px; color: var(--muted); margin: 0 0 8px 6px; }
.error { color: var(--red); font-size: 26px; margin: 4px 0 18px; }

/* Login */
.login { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* The logo takes its small place in the layout but is drawn at full size and only scaled down, so it stays sharp. */
.login .logo-box { width: 220px; height: 191px; margin-bottom: 36px; position: relative; flex: 0 0 auto; }
.login .logo-box img { position: absolute; left: 50%; top: 50%; width: 512px; height: 445px; margin: -222px 0 0 -256px; transform: scale(.43); }
.login .logo-box img.moving { transition: transform 1s cubic-bezier(.4, 0, .2, 1); }
.login .card.intro-hidden { opacity: 0; pointer-events: none; }
.login .card.intro-in { transition: opacity .667s cubic-bezier(.4, 0, .2, 1) .333s; }
.login .card { width: 860px; }
.choices { display: flex; }
.choice { flex: 1 1 0; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; }
.choice + .choice { margin-left: 24px; }
.choice .badge { margin-bottom: 20px; width: 84px; height: 84px; font-size: 42px; }

/* Home */
.home { padding: 50px 70px; display: flex; flex-direction: column; }
.home-header { display: flex; align-items: center; margin-bottom: 40px; }
.home-header img { width: 110px; height: auto; margin-right: 28px; }
.home-header .name { font-size: 52px; color: var(--gold); }
.home-header .account { font-size: 24px; color: var(--muted); margin-top: 6px; }
.home-tiles { display: flex; flex-wrap: wrap; flex: 1 1 auto; margin: -10px; }
.home-tile { width: calc(33.333% - 20px); margin: 10px; display: flex; align-items: center; justify-content: center; border-radius: 26px; position: relative; overflow: hidden; }
.home-tile::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.home-tile .badge { width: 110px; height: 110px; font-size: 54px; border-radius: 28px; margin-right: 34px; }
.home-tile .t { font-size: 44px; }
.home-tile .s { margin-top: 12px; font-size: 24px; color: var(--muted); }
.home-row { margin-top: 26px; }
.home-row .items { display: flex; overflow: hidden; padding: 8px; }
.recent { width: 260px; height: 130px; margin-right: 20px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 22px; }
.recent .img { width: 140px; height: 64px; margin-bottom: 10px; }

.img { position: relative; overflow: hidden; }
.img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.img.cover img { object-fit: cover; }

/* Browsers: category list on the left, content on the right. */
.browser { display: flex; padding: 40px 50px; }
.side { width: 470px; height: 1000px; margin-right: 34px; display: flex; flex-direction: column; }
.side .vlist { flex: 1 1 auto; }
.main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.vlist { position: relative; overflow: hidden; }
.cat { height: 66px; margin: 0 6px 10px; padding: 0 22px; display: flex; align-items: center; font-size: 26px; color: var(--muted); }
.cat:focus, .cat.selected { color: var(--text); }
.cat .count { margin-left: auto; font-size: 22px; color: var(--muted); }
.main-header { display: flex; align-items: center; margin-bottom: 22px; min-height: 90px; }
.main-header .heading { font-size: 38px; font-weight: bold; margin-right: 28px; flex: 0 0 auto; }
.main-header .field { width: auto; min-width: 0; }
.chip { height: 60px; padding: 0 28px; border-radius: 30px; display: inline-flex; white-space: nowrap; flex: 0 0 auto; align-items: center; font-size: 24px; font-weight: bold; color: var(--muted); margin-left: 12px; }
.chip.selected { color: var(--accent, var(--gold)); border-color: var(--accent, var(--gold)); }
.chip:focus { background: var(--accent, var(--gold)); border-color: var(--accent, var(--gold)); color: var(--bg); }
.hint { font-size: 22px; color: var(--muted); margin-bottom: 16px; }

.channel { height: 96px; margin: 0 6px 10px; padding: 0 24px; display: flex; align-items: center; }
.channel .num { width: 70px; font-size: 24px; color: var(--muted); }
.channel .img { width: 110px; height: 62px; margin-right: 22px; }
.channel .name { font-size: 30px; }
.channel .epg { font-size: 22px; color: var(--muted); margin-top: 4px; }
.channel .star { color: var(--red); font-size: 28px; margin-left: 14px; }

.vgrid-row { display: flex; padding: 10px 14px; }
.poster { width: 230px; height: 400px; flex: 0 0 auto; border-radius: 18px; overflow: visible; background: transparent; border: none; }
.poster .frame { width: 230px; height: 345px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 2px solid var(--border); position: relative; }
.poster:focus .frame { border-color: var(--accent, var(--gold)); box-shadow: 0 0 0 4px rgba(226,180,74,.35); }
.poster:focus, .vlist .poster:focus { transform: scale(1.05); background: transparent; box-shadow: none; }
.poster:focus .frame { border-color: var(--accent, var(--gold)); box-shadow: 0 0 0 5px var(--accent, var(--gold)); }
.poster .frame .img { width: 100%; height: 100%; }
.poster .placeholder { position: absolute; left: 12px; right: 12px; top: 40%; text-align: center; font-size: 22px; color: var(--muted); }
.poster .rating { position: absolute; right: 8px; top: 8px; background: var(--gold); color: var(--bg); font-size: 20px; font-weight: bold; border-radius: 6px; padding: 1px 8px; }
.poster .fav { position: absolute; left: 8px; top: 6px; color: var(--red); font-size: 26px; }
.poster .title { font-size: 22px; margin-top: 10px; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.poster .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0,0,0,.6); }
.poster .progress div { height: 100%; background: var(--red); }

/* Info pages */
.info { padding: 60px 80px; display: flex; }
.info .backdrop { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: .25; }
.info .backdrop img { object-fit: cover; }
.info .poster-big { width: 420px; height: 630px; border-radius: 22px; overflow: hidden; border: 2px solid var(--border); flex: 0 0 auto; position: relative; }
.info .details { margin-left: 60px; flex: 1 1 auto; position: relative; min-width: 0; }
.info h1 { font-size: 58px; margin: 0 0 16px; }
.info .meta { font-size: 26px; color: var(--muted); margin-bottom: 26px; }
.info .plot { font-size: 28px; line-height: 1.45; max-height: 8.7em; overflow: hidden; margin-bottom: 34px; }
.info .actions .button { margin-right: 20px; }
.seasons { display: flex; margin: 10px 0 20px; flex-wrap: wrap; }
.episode { height: 110px; margin: 0 6px 12px; padding: 0 24px; display: flex; align-items: center; }
.episode .n { width: 90px; font-size: 26px; color: var(--gold); }
.episode .t { font-size: 28px; }
.episode .d { font-size: 22px; color: var(--muted); margin-top: 4px; }

/* Player */
.player { background: transparent; }
.infobar { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 80px 60px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.92)); display: flex; align-items: center; }
.infobar .img { width: 190px; height: 110px; margin-right: 40px; }
.infobar .name { font-size: 46px; font-weight: bold; }
.infobar .now { font-size: 30px; color: var(--gold-light); margin-top: 8px; }
.infobar .next { font-size: 26px; color: var(--muted); margin-top: 4px; }
.infobar .keys { font-size: 22px; color: var(--muted); margin-top: 10px; }
.bar { height: 6px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.bar div { height: 100%; background: var(--gold); }
.digits { position: absolute; right: 70px; top: 60px; font-size: 96px; color: var(--gold); background: rgba(8,11,18,.85); border-radius: 26px; padding: 6px 40px; }
.spinner { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px; border-radius: 50%; border: 8px solid rgba(255,255,255,.15); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-error { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(240,80,90,.9); padding: 24px 40px; border-radius: 16px; font-size: 30px; max-width: 1200px; text-align: center; }
.overlay-list { position: absolute; left: 30px; top: 30px; bottom: 30px; width: 760px; display: flex; flex-direction: column; background: var(--bg); }
.subtitle-line { position: absolute; left: 10%; right: 10%; bottom: 90px; text-align: center; font-size: 44px; text-shadow: 0 0 8px #000, 0 0 3px #000; white-space: pre-line; }
.vod-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 80px 60px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.92)); }
.vod-controls .title { font-size: 42px; font-weight: bold; }
.vod-controls .sub { font-size: 26px; color: var(--muted); margin-top: 4px; }
.vod-controls .bar { margin: 26px 0 14px; height: 8px; }
.vod-controls .time { font-size: 26px; color: var(--muted); }

/* Side panel (options, categories), dialogs, toast */
/* Reaches past the stage, so in a browser window the bars around it are dimmed (and clickable) too;
   the dialog's layer must not clip it. */
.overlay-root { overflow: visible; }
.dim { position: absolute; left: -2000px; top: -2000px; right: -2000px; bottom: -2000px; background: rgba(0,0,0,.6); }
.panel { position: absolute; right: 30px; top: 30px; bottom: 30px; width: 720px; display: flex; flex-direction: column; background: var(--bg); }
.panel .vlist { flex: 1 1 auto; }
.menu-row { height: 74px; margin: 0 6px 10px; padding: 0 26px; display: flex; align-items: center; font-size: 28px; color: var(--muted); }
.menu-row:focus, .menu-row.selected { color: var(--text); }
.menu-row .check { margin-left: auto; color: var(--gold); }
.section-title { font-size: 24px; color: var(--muted); margin: 18px 8px 10px; }
.dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 820px; }
/* Favourites & groups dialog (long OK on a channel, movie or series). */
.fav-dialog .card-header .title { font-size: 30px; }
.fav-rows { max-height: 430px; overflow: hidden; margin-bottom: 18px; }
.fav-rows .menu-row .check { color: var(--red); }
.group-heart { color: var(--red); margin-right: 14px; display: flex; flex: 0 0 auto; }
.content .menu-row .count { margin-left: 20px; font-size: 22px; color: var(--muted); }
.pin-dots { display: flex; justify-content: center; margin: 20px 0 30px; }
.pin-dots span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--gold); margin: 0 14px; }
.pin-dots span.on { background: var(--gold); }
.toast { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); background: var(--surface-focus); border: 2px solid rgba(226,180,74,.6); border-radius: 40px; padding: 20px 44px; font-size: 28px; z-index: 50; max-width: 1400px; text-align: center; }
.loader { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.empty { font-size: 30px; color: var(--muted); padding: 40px; text-align: center; }
.settings { display: flex; padding: 40px 50px; }
/* Scrolls (wheel, dragging, and the remote via the focus), without a visible scrollbar. */
.settings .content { flex: 1 1 auto; padding-left: 10px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.settings .content::-webkit-scrollbar { display: none; }
.settings h2 { font-size: 40px; margin: 6px 0 26px; }
.settings .line { font-size: 26px; margin-bottom: 14px; }
.toggle-row { display: flex; flex-wrap: wrap; margin: 0 -8px 20px; }
.toggle-row .chip { margin: 8px; }
.more-below { -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); }

/* TV guide grid: channels on the left, a 6-hour timeline across (7 px per minute). */
.guide { padding: 40px 50px; }
.guide-header { display: flex; align-items: center; height: 72px; margin-bottom: 16px; }
.guide-header .badge { margin-right: 20px; }
.guide-header .title { font-size: 40px; }
.guide-cat { max-width: 480px; height: 60px; margin-right: 20px; }
.guide-cat .ellipsis { max-width: 400px; }
.guide-ruler { display: flex; height: 40px; }
.guide-ruler-pad { width: 360px; flex: 0 0 auto; }
.guide-ruler-view { position: relative; width: 1460px; height: 40px; overflow: hidden; }
.guide-ruler-times { position: absolute; left: 0; top: 0; width: 2600px; height: 40px; }
.guide-slot { position: absolute; top: 4px; font-size: 22px; color: var(--muted); }
.guide-body { position: relative; height: 830px; overflow: hidden; }
.guide-group { position: absolute; left: 0; width: 1800px; height: 58px; line-height: 58px; padding-left: 8px; font-size: 24px; font-weight: bold; color: var(--magenta); }
.guide-row { position: absolute; left: 0; width: 1820px; height: 92px; display: flex; }
.guide-channel { width: 348px; height: 86px; margin-right: 12px; flex: 0 0 auto; display: flex; align-items: center; padding: 0 14px; border-radius: 14px; background: var(--surface); font-size: 22px; }
.guide-channel .img { width: 84px; height: 48px; margin-right: 14px; flex: 0 0 auto; }
.ellipsis2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
.guide-view { position: relative; width: 1460px; height: 86px; overflow: hidden; flex: 0 0 auto; }
.guide-track { position: absolute; left: 0; top: 0; width: 2600px; height: 86px; }
.guide-block { position: absolute; top: 0; height: 86px; padding: 8px 14px; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.guide-block .t { font-size: 22px; color: var(--muted); }
.guide-block .d { font-size: 18px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.guide-block.selected .t { color: var(--text); font-weight: bold; }
.guide-block.past { opacity: .7; }
/* In the grid the focus is a bright ring, not a zoom (the row would clip it). */
.guide-block:focus { transform: none; opacity: 1; border-color: transparent; background: #24304a; box-shadow: inset 0 0 0 4px var(--accent, var(--magenta)); }
.guide-block:focus .t { color: var(--text); }
.guide-now { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--red); pointer-events: none; z-index: 2; }

/* Settings: category states and theme swatches. */
.menu-row .state { margin-left: 18px; padding: 4px 16px; border-radius: 18px; font-size: 22px; border: 2px solid var(--border); color: var(--text); display: flex; align-items: center; flex: 0 0 auto; }
.menu-row .state.off { color: var(--muted); }
.menu-row .state.locked { color: var(--red); border-color: var(--red); }
.menu-row .state .icon { margin-right: 8px; }
.swatch { width: 132px; height: 80px; margin: 0 18px 16px 0; display: inline-flex; align-items: center; justify-content: center; background: var(--sw-bg); border-color: var(--sw-surface); }
.swatch .sw-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--sw-gold); }
.swatch.selected { border-color: var(--sw-gold); box-shadow: 0 0 0 3px var(--sw-gold); }

/* Web version only: Back and full screen for the mouse, shown while it moves. */
.web-toolbar { position: fixed; top: 14px; left: 14px; z-index: 50; display: flex; transition: opacity .2s; }
.web-toolbar.hidden { opacity: 0; pointer-events: none; }
.web-toolbar button { width: 46px; height: 46px; margin-right: 10px; border-radius: 23px; border: 1px solid rgba(255,255,255,.25); background: rgba(16,21,31,.85); color: #eef1f7; font-size: 22px; cursor: pointer; }
.web-toolbar button:hover { border-color: var(--gold); color: var(--gold); }
body.no-cursor, body.no-cursor * { cursor: none; }
[data-focus] { cursor: pointer; }

/* Mouse controls (web version sets body.mouse-ui); on a TV they stay hidden. */
body:not(.mouse-ui) .mouse-only { display: none !important; }
body.mouse-ui .tv-only { display: none !important; }
.mbtn { display: inline-flex; align-items: center; justify-content: center; height: 64px; min-width: 64px; padding: 0 24px; margin-right: 14px; border-radius: 32px; background: rgba(16, 21, 31, .88); border: 2px solid rgba(255, 255, 255, .2); color: var(--text); font-size: 26px; font-weight: bold; cursor: pointer; flex: 0 0 auto; }
.mbtn:hover { border-color: var(--accent, var(--gold)); color: var(--accent, var(--gold)); }
.mbtn .icon { margin-right: 10px; }
.mbtn .icon:only-child { margin-right: 0; }
.player-topbar { position: absolute; left: 0; right: 0; top: 0; padding: 30px 40px 60px 160px; display: flex; align-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent); }
.vod-buttons { margin-top: 22px; }
.vod-controls .keys { font-size: 22px; color: var(--muted); }
.guide-ruler-pad .mbtn { height: 40px; min-width: 40px; padding: 0 14px; font-size: 20px; margin-right: 8px; }
.pin-pad { display: flex; flex-wrap: wrap; width: 400px; margin: 0 auto 24px; }
.pin-pad .mbtn { width: 112px; margin: 0 10px 12px 0; }
.help { width: 1500px; height: 900px; }
.help-body { height: 760px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; outline: none; }
.help-body::-webkit-scrollbar { display: none; }
.help-group { margin-bottom: 26px; }
.help-title { font-size: 28px; font-weight: bold; color: var(--gold); margin-bottom: 12px; }
.help-col { flex: 1 1 0; margin-right: 40px; }
.help-head { font-size: 22px; font-weight: bold; color: var(--muted); margin-bottom: 8px; }
.help-row { display: flex; align-items: center; font-size: 22px; margin-bottom: 8px; }
.help-keys { width: 300px; flex: 0 0 auto; margin-right: 18px; padding: 4px 12px; border-radius: 8px; background: var(--surface); color: var(--gold-light); font-weight: bold; }

/* Dragging with the mouse or a finger scrolls these, instead of selecting text or panning the page. */
#stage { -webkit-user-select: none; user-select: none; }
#stage input { -webkit-user-select: text; user-select: text; }
.vlist, .guide-body, .settings .content, .help-body { touch-action: none; }