:root {
  --bg: #0b0d12; --panel: #141821; --panel2: #1d2330; --line: #2a3142;
  --text: #eef1f6; --muted: #97a0b3; --accent: #3ea6ff; --accent-ink: #04121f; --gold: #ffc94d; --danger: #ff6b5e;
  --rail: 104px; --r: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); overflow: hidden;
  font: 18px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overscroll-behavior: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }
h1 { font-size: 30px; margin: 0 0 12px; } h2 { font-size: 21px; margin: 22px 0 12px; } p { margin: 8px 0; }
small { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
.hidden { display: none !important; } .grow { flex: 1; min-width: 0; } .muted { color: var(--muted); }
.ic { display: inline-flex; width: 28px; height: 28px; flex: none; } .ic svg { width: 100%; height: 100%; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: #2c3446; border-radius: 6px; }

#app { display: flex; height: 100vh; height: 100dvh; }
#rail { width: var(--rail); flex: none; background: var(--panel); display: flex; flex-direction: column; padding: 8px 0; gap: 2px; border-right: 1px solid var(--line); overflow-y: auto; }
.nav { position: relative; height: 82px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 14px; border-left: 4px solid transparent; }
.nav.on { color: var(--text); border-left-color: var(--accent); background: var(--panel2); }
.nav:active { background: var(--panel2); }
.badge { position: absolute; top: 12px; right: 22px; background: var(--accent); color: var(--accent-ink); font: 700 12px/20px system-ui; min-width: 20px; border-radius: 10px; text-align: center; }
.clock { text-align: center; color: var(--muted); font-size: 15px; padding: 6px 0; }
#main { flex: 1; min-width: 0; height: 100%; overflow-y: auto; }

.page { padding: 28px 32px 60px; max-width: 1500px; } .page.narrow, .card.narrow { max-width: 820px; margin: 0 auto; }
.v-center, .v-gate { display: flex; align-items: center; justify-content: center; }
.loading { text-align: center; } .loading .spinner { position: static; margin: 0 auto 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 18px 0; }
.card h2:first-child { margin-top: 0; } .card label { display: block; color: var(--muted); font-size: 15px; margin: 18px 0 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .two .card { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 22px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-weight: 600; }
.btn:active { filter: brightness(1.3); } .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.on { color: var(--gold); } .btn.on svg { fill: currentColor; } .btn.small { min-height: 40px; padding: 0 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.input { width: 100%; height: 60px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); outline: none; }
.input:focus { border-color: var(--accent); } .input.big { height: 68px; font-size: 21px; }
.fields { display: grid; gap: 12px; margin: 16px 0; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { min-height: 50px; padding: 0 18px; border-radius: 9px; color: var(--muted); font-weight: 600; }
.seg button.on { background: var(--accent); color: var(--accent-ink); }
.opt { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.empty { color: var(--muted); padding: 28px 12px; text-align: center; }
[data-empty]::after { content: attr(data-empty); display: block; color: var(--muted); padding: 40px; text-align: center; }

.profiles { display: grid; gap: 12px; }
.profile { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.pbtn { width: 60px; height: 60px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.pbtn:active { background: rgba(255,255,255,.16); }

/* three-column browsers */
.v-live, .v-vod, .v-series { display: grid; overflow: hidden !important; }
.v-live { grid-template-columns: 280px minmax(0, 1fr) minmax(380px, 38%); }
.v-vod, .v-series { grid-template-columns: 280px minmax(0, 1fr); }
.col { min-height: 0; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.cats { overflow-y: auto; padding: 8px; flex: 1; }
.cat { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; padding: 8px 14px; border-radius: 10px; color: var(--muted); }
.cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cat small { flex: none; font-size: 13px; }
.cat.on { background: var(--panel2); color: var(--text); box-shadow: inset 4px 0 var(--accent); }
.toolbar { display: flex; gap: 12px; padding: 12px; align-items: center; flex-wrap: wrap; } .toolbar .input { flex: 1; min-width: 200px; height: 54px; }
.list-body, .grid-body { flex: 1; min-height: 0; }
.vlist { overflow-y: auto; position: relative; } .vlist-inner { position: relative; width: 100%; }

.row { display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px; border-bottom: 1px solid #1a1f2b; cursor: pointer; }
.row.sel { background: var(--panel2); box-shadow: inset 4px 0 var(--accent); } .row:active { background: var(--panel2); }
.row .num { width: 52px; flex: none; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.logo { width: 60px; height: 44px; flex: none; object-fit: contain; }
.row .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tag { flex: none; font-size: 12px; color: var(--accent); border: 1px solid var(--accent); border-radius: 6px; padding: 1px 6px; }
.star { width: 60px; height: 60px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #4a5368; }
.star.on { color: var(--gold); } .star.on svg { fill: currentColor; }

.pane { border-right: 0; padding: 12px; }
.dock { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 20px; font-size: 16px; flex: none; }
.pane-title { margin: 14px 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg { flex: 1; min-height: 0; overflow-y: auto; }
.prog-row { display: flex; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid #1a1f2b; }
.prog-row .when { width: 96px; flex: none; color: var(--muted); font-size: 15px; } .prog-row.past { opacity: .6; }
.prog-row.now { background: var(--panel); border-radius: 10px; } .prog-row.now .when { color: var(--accent); }
.prog { height: 5px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; margin-top: 8px; } .prog i { display: block; height: 100%; background: var(--accent); }

/* posters */
.cell { padding: 10px; } .hrow .cell { width: 190px; flex: none; padding: 0; }
.card-poster { display: block; width: 100%; text-align: left; }
.poster { position: relative; aspect-ratio: 2 / 3; background: var(--panel2); border-radius: 12px; overflow: hidden; }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--muted); font-size: 15px; overflow: hidden; }
.poster .rate { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.75); color: var(--gold); font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 8px; }
.poster .prog { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; }
.ttl { margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.25; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ttl-sub { font-size: 13px; color: var(--muted); }
.hrow { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; } .hrow.wrap { flex-wrap: wrap; overflow: visible; }
.tile { width: 200px; height: 124px; flex: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; }
.tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.tile-logo { width: 110px; height: 60px; object-fit: contain; }
.home-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; } .home-head h1 { margin: 0; }
.bigtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bigtile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 22px; }
.bigtile .ic { width: 40px; height: 40px; color: var(--accent); }

/* sheets */
#sheet { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sheet-panel { position: relative; width: min(1150px, 100%); max-height: 100%; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.sheet-close { position: sticky; float: right; top: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--panel2); display: flex; align-items: center; justify-content: center; z-index: 2; }
.detail { display: flex; gap: 28px; } .detail-poster { width: 260px; flex: none; align-self: flex-start; } .detail-main { flex: 1; min-width: 0; }
.meta { color: var(--muted); } .plot { color: #cfd5e1; max-width: 70ch; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 12px; }
.chip { flex: none; min-height: 50px; padding: 0 18px; border-radius: 25px; background: var(--panel2); border: 1px solid var(--line); font-weight: 600; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.ep { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px 10px; min-height: 68px; border-bottom: 1px solid var(--line); }
.ep .num { width: 40px; color: var(--muted); font-weight: 700; } .ep:active { background: var(--panel2); }

/* screens */
.code { font: 700 54px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 6px; margin: 6px 0 10px; }
.code.entry { color: var(--accent); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 360px; }
.keypad button { height: 68px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 26px; font-weight: 600; } .keypad button:active { background: var(--accent); color: var(--accent-ink); }
.remote { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .remote .btn { padding: 0 16px; }

#toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: #f1f4f9; color: #10141c; padding: 14px 20px; border-radius: 14px; font-weight: 600; display: flex; gap: 16px; align-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.5); max-width: 90vw; }
.toast .btn { background: #10141c; color: #fff; }

.spinner { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; border: 5px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .9s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* player */
#player { position: fixed; background: #000; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: none; }
#player[data-mode="full"] { inset: 0; z-index: 50; }
#player[data-mode="dock"] { z-index: 5; border-radius: var(--r); cursor: pointer; }
#player[data-mode="mini"] { right: 24px; bottom: 24px; width: min(440px, 46vw); aspect-ratio: 16 / 9; z-index: 40; border-radius: var(--r); box-shadow: 0 10px 40px rgba(0,0,0,.7); border: 1px solid var(--line); cursor: pointer; }
#player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.p-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; pointer-events: none; transition: opacity .2s;
  background: linear-gradient(rgba(0,0,0,.75), transparent 26%, transparent 68%, rgba(0,0,0,.85)); }
#player.show-ui[data-mode="full"] .p-ui { opacity: 1; pointer-events: auto; }
#player:not([data-mode="full"]) .p-ui, #player:not([data-mode="full"]) .p-menu, #player:not([data-mode="full"]) .p-drawer, #player:not([data-mode="full"]) .p-osd { display: none; }
.p-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.p-logo { width: 72px; height: 48px; object-fit: contain; flex: none; }
.p-titles { flex: 1; min-width: 0; } .p-title { font-size: 24px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-sub { color: #cdd3df; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-mid { display: flex; align-items: center; justify-content: center; gap: 4vw; }
.pbtn.big { width: 84px; height: 84px; } .pbtn.big .ic { width: 40px; height: 40px; } .pbtn.txt { font-size: 22px; font-weight: 700; }
.pbtn.huge { width: 116px; height: 116px; background: rgba(255,255,255,.14); } .pbtn.huge .ic { width: 56px; height: 56px; }
.pbtn.fav.on { color: var(--gold); } .pbtn.fav.on svg { fill: currentColor; }
.p-bot { padding: 0 18px 12px; } .p-row { display: flex; align-items: center; gap: 6px; }
.p-time { font-variant-numeric: tabular-nums; padding: 0 8px; }
.p-live { background: var(--danger); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 6px; margin: 0 8px; }
.seek { height: 48px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.seek .track { position: relative; width: 100%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.seek .buf, .seek .fill { position: absolute; left: 0; top: 0; bottom: 0; } .seek .buf { background: rgba(255,255,255,.35); } .seek .fill { background: var(--accent); }
.p-osd { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); background: rgba(0,0,0,.7); padding: 10px 22px; border-radius: 12px; font-size: 24px; font-weight: 700; pointer-events: none; max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(16,20,28,.94); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; text-align: center; max-width: min(620px, 86%); z-index: 3; }
.p-msg-actions { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
#player:not([data-mode="full"]) .p-msg { font-size: 13px; padding: 8px 12px; } #player:not([data-mode="full"]) .p-msg-actions { display: none; }
.p-menu { position: absolute; right: 18px; bottom: 96px; width: 340px; max-height: 70%; overflow-y: auto; background: rgba(16,20,28,.96); border: 1px solid var(--line); border-radius: 16px; padding: 10px; z-index: 4; }
.p-menu-title { font-weight: 700; padding: 8px 12px; } .p-menu-label { color: var(--muted); font-size: 14px; padding: 10px 12px 2px; }
.p-opt { display: block; width: 100%; text-align: left; min-height: 54px; padding: 8px 12px; border-radius: 10px; } .p-opt.on { color: var(--accent); font-weight: 700; } .p-opt:active { background: var(--panel2); }
.p-drawer { position: absolute; left: 0; top: 0; bottom: 0; width: min(440px, 80%); background: rgba(12,15,21,.95); border-right: 1px solid var(--line); z-index: 4; display: flex; }
.p-drawer-list { flex: 1; }
.p-miniclose { display: none; position: absolute; top: 6px; right: 6px; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.7); align-items: center; justify-content: center; z-index: 5; }
#player[data-mode="mini"] .p-miniclose { display: flex; }

/* scan-to-add */
.qr-card { display: flex; gap: 24px; align-items: center; } .qr-card h2 { margin-top: 0; }
.qr-box { flex: none; width: 240px; height: 240px; background: #fff; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #333; }
.qr-box svg { display: block; } .qr-card.linked { border-color: var(--accent); } .qr-card.linked .qr-state { color: var(--accent); }
.setup-status { padding: 12px 16px; border-radius: 12px; background: var(--panel2); color: var(--muted); } .setup-status.on { color: var(--accent); }

/* editing the order of groups and channels */
.grip { width: 56px; height: 56px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: grab; touch-action: none; border-radius: 12px; }
.grip:active { background: var(--panel2); color: var(--text); cursor: grabbing; }
.cat .grip { width: 44px; height: 44px; margin: 0 -4px 0 -10px; } .cat .grip + span { flex: 1; }
.row.ch.editing { cursor: default; } .row.ch.editing:active { background: none; }
.edit-hint small { font-size: 14px; }
.drag-ghost { z-index: 80; pointer-events: none; margin: 0; background: var(--panel2); border: 1px solid var(--accent); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.6); opacity: .96; color: var(--text); }
.drag-src { opacity: .3; }
.drop-line { position: fixed; z-index: 81; height: 4px; border-radius: 2px; background: var(--accent); pointer-events: none; }

/* TV guide */
.v-guide { display: flex; flex-direction: column; overflow: hidden !important; }
.guide-group { max-width: min(520px, 60%); } .guide-group span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-body { flex: 1; min-height: 0; overflow: auto; position: relative; overscroll-behavior: contain; border-top: 1px solid var(--line); }
.guide-inner { position: relative; }
.guide-head { position: sticky; top: 0; z-index: 4; background: var(--panel); border-bottom: 1px solid var(--line); }
.guide-corner { position: sticky; left: 0; z-index: 1; width: var(--gch); height: 100%; background: var(--panel); display: flex; align-items: center; padding: 0 16px; color: var(--muted); font-size: 15px; border-right: 1px solid var(--line); }
.guide-tick { position: absolute; top: 0; height: 100%; display: flex; align-items: center; padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; white-space: nowrap; }
.guide-row { position: absolute; left: 0; width: 100%; display: flex; border-bottom: 1px solid #1a1f2b; }
.guide-ch { position: sticky; left: 0; z-index: 3; width: var(--gch); flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--bg); border-right: 1px solid var(--line); text-align: left; }
.guide-ch:active { background: var(--panel2); } .guide-ch .logo { width: 52px; height: 40px; }
.guide-ch span { font-size: 15px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.guide-progs { position: relative; flex: 1; min-width: 0; }
.guide-prog { position: absolute; top: 6px; bottom: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; overflow: hidden; overflow: clip; }
.guide-prog:active { filter: brightness(1.35); }
.guide-prog.now { background: #17324a; border-color: var(--accent); } .guide-prog.past { opacity: .55; }
.gp-in { position: sticky; left: calc(var(--gch) + 4px); display: inline-flex; flex-direction: column; justify-content: center; height: 100%; max-width: 100%; padding: 0 12px; vertical-align: top; }
.gp-in b, .gp-in small { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gp-in b { font-size: 16px; } .gp-in small { font-size: 13px; }
.guide-wait { position: sticky; left: calc(var(--gch) + 16px); display: inline-flex; align-items: center; height: 100%; color: var(--muted); font-size: 15px; }
.guide-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--danger); z-index: 2; pointer-events: none; }
.guide-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; } .guide-groups .cat { background: var(--panel2); }

/* portrait and small screens: nav along the bottom, single-column browsing */
@media (max-width: 1000px) {
  .v-live { grid-template-columns: 230px minmax(0, 1fr); } .v-live .pane { display: none; }
  .v-vod, .v-series { grid-template-columns: 230px minmax(0, 1fr); }
  .two { grid-template-columns: 1fr; } .detail-poster { width: 180px; }
}
@media (max-width: 720px) {
  #app { flex-direction: column-reverse; }
  #rail { width: 100%; height: 72px; flex-direction: row; padding: 0; border-right: 0; border-top: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; }
  #rail .grow, .clock { display: none; }
  .nav { height: 100%; min-width: 76px; flex: 1; border-left: 0; border-top: 3px solid transparent; font-size: 12px; } .nav.on { border-top-color: var(--accent); }
  #main { height: auto; min-height: 0; }
  .v-live, .v-vod, .v-series { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .cats-col { border-right: 0; } .cats { display: flex; overflow-x: auto; overflow-y: hidden; gap: 6px; } .cat { width: auto; flex: none; min-height: 48px; } .cat.on { box-shadow: inset 0 -3px var(--accent); }
  .page { padding: 18px 16px 40px; } .bigtiles { grid-template-columns: 1fr; } .detail { flex-direction: column; } .sheet-panel { padding: 18px; }
  .code { font-size: 40px; } .p-mid { gap: 2vw; } .pbtn.huge { width: 88px; height: 88px; } .pbtn.big { width: 64px; height: 64px; }
  .editing .cats { display: block; overflow-x: hidden; overflow-y: auto; max-height: 38vh; } .editing .cat { width: 100%; }
  .v-guide .toolbar .btn span { display: none; } .v-guide .toolbar .guide-group span { display: block; } .guide-ch .logo { display: none; }
  .qr-card { flex-direction: column; align-items: stretch; } .qr-box { align-self: center; }
  .p-menu { right: 8px; left: 8px; width: auto; } #player[data-mode="mini"] { bottom: 88px; right: 12px; }
}
