:root {
  --bg: #141110; --bg2: #1d1916; --paper: #efe6d6; --muted: #a39789; --line: rgba(239,230,214,.12);
  --accent: #c9a84b; --tint: 60, 45, 30; --lip: #3a2c20;
  --display: 'Fraunces', Georgia, serif; --ui: 'Inter', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--paper); font-family: var(--ui); overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
#tint { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 70% at 50% 18%, rgba(var(--tint), .62), transparent 72%), radial-gradient(90% 50% at 50% 110%, rgba(var(--tint), .28), transparent 70%);
  transition: background 1.2s ease; }
#grain { position: fixed; inset: -50%; pointer-events: none; z-index: 1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.view { position: relative; z-index: 2; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom); }
/* dois painéis (como o clássico): celular desliza entre caixa e toca-discos; ≥ 900px lado a lado */
.panels { position: fixed; inset: 0; z-index: 2; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.panels::-webkit-scrollbar { display: none; }
.panel { flex: none; width: 100vw; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; }
.dots { position: fixed; left: 50%; top: calc(6px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 70; display: flex; gap: 6px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--paper); opacity: .25; transition: opacity .3s, width .3s; }
.dots i.on { opacity: .8; width: 16px; }

/* ── Topo / busca ─────────────────────────── */
.top { display: flex; align-items: center; gap: 10px; padding-top: 20px; }
/* logo oficial (midia/logos/disco/DISCO-SPEC.md): wordmark com no mínimo 200 px; abaixo disso, só a letra O.
   Cor em fundo escuro: #C8C3BC. Pesos de traço do arquivo oficial, nunca redefinir por fora. */
.brand { display: inline-flex; align-items: center; color: #C8C3BC; text-decoration: none; flex: none; }
.dlogo { display: block; height: auto; overflow: visible; }
.dlogo-full { width: 200px; }
.dlogo-o { display: none; width: 38px; }
.dlogo .ms { stroke-width: 1.2; } .dlogo .g1 { stroke-width: .65; } .dlogo .g2 { stroke-width: .5; } .dlogo .ib { stroke-width: 3.8; }
#userBtn { display: inline-flex; align-items: center; gap: 6px; }
#userBtn svg { flex: none; }
@media (max-width: 419px) { #userBtn .lbl { display: none; } #userBtn:not(.icon) { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 339px) { .dlogo-full { display: none; } .dlogo-o { display: block; } }
form.search { margin-top: 12px; display: flex; gap: 8px; }
form.search input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: rgba(0,0,0,.28);
  color: var(--paper); padding: 0 18px; font: 15px var(--ui); outline: none; }
form.search input:focus { border-color: var(--accent); }
form.search button { width: 44px; height: 44px; border-radius: 22px; background: var(--paper); color: var(--bg); display: grid; place-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--paper); border-color: var(--paper); }

/* ── Caixa ─────────────────────────────────── */
.crate { position: relative; flex: 1; min-height: 0; margin-top: 8px; perspective: 1100px; perspective-origin: 50% 0%; touch-action: pan-x; user-select: none; }
/* a pilha nunca invade a busca: o tamanho vem de fitStack() (crate.js) e o que passar do topo é cortado */
.crate { clip-path: inset(0 -60px -60px -60px); }
.crate.short .hint { display: none; }
.crate.short .caption { top: calc(68% + 6px); }
.crate.short .caption .t { font-size: 17px; -webkit-line-clamp: 1; }
.crate.short .caption .a { font-size: 13px; }
.crate.short .lip .tag { display: none; }
.stack { position: absolute; left: 50%; bottom: 25%; width: min(76vw, 340px); aspect-ratio: 1; transform: translateX(-50%); transform-style: preserve-3d; }
.rec { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform, filter; border-radius: 3px; }
.rec .cov { position: absolute; inset: 0; border-radius: 3px; background: #2a2420 center/cover no-repeat;
  box-shadow: 0 -1px 0 rgba(255,255,255,.18) inset, 0 30px 50px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); }
.rec .cov::after { content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 22%, transparent 70%, rgba(0,0,0,.28)); }
.rec .cov.noimg { display: grid; place-items: center; padding: 18px; text-align: center; font-family: var(--display); font-size: 20px; line-height: 1.15;
  background: linear-gradient(135deg, #3b2f26, #241d18); color: var(--paper); }
.lip { position: absolute; left: -16px; right: -16px; bottom: 0; height: 32%; z-index: 40; pointer-events: none;
  background: linear-gradient(180deg, #4a3828 0%, var(--lip) 18%, #261c14 100%);
  box-shadow: 0 -18px 30px -8px rgba(0,0,0,.65), inset 0 2px 0 rgba(255,255,255,.08); }
.lip::before { content: ''; position: absolute; inset: 0; opacity: .35; background: repeating-linear-gradient(92deg, transparent 0 18px, rgba(0,0,0,.18) 18px 19px, transparent 19px 41px); }
.lip .tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) rotate(-1.5deg); background: #e9dcc3; color: #2a2017;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.5); white-space: nowrap; }
.caption { position: absolute; left: 0; right: 0; top: calc(68% + 12px); z-index: 45; text-align: center; pointer-events: none; }
.caption .t { font-family: var(--display); font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 0 auto; max-width: 92%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.caption .a { font-size: 14px; color: var(--paper); opacity: .8; margin-top: 3px; }
.caption .m { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }
.hint { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 46; text-align: center; font-size: 12px; color: var(--muted); pointer-events: none; transition: opacity .6s; }
.counter { position: absolute; right: 0; top: 4px; z-index: 46; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 30px; z-index: 46; }

/* ── Mini player ───────────────────────────── */
.mini { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; gap: 10px;
  padding: 8px 10px 8px 8px; border-radius: 14px; background: rgba(20,17,16,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.mini.on { display: flex; }
body.has-mini .lip .tag { opacity: 0; }
body.has-mini .hint { display: none; }
.mini .mc { width: 42px; height: 42px; border-radius: 50%; background: #111 center/cover; flex: none; animation: spin 1.8s linear infinite; animation-play-state: paused;
  -webkit-mask: radial-gradient(circle, transparent 12%, #000 13%); mask: radial-gradient(circle, transparent 12%, #000 13%); }
.mini.playing .mc { animation-play-state: running; }
.mini .mi { flex: 1; min-width: 0; text-align: left; }
.mini .mt { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .ms { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibtn { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; flex: none; }
.ibtn.solid { background: var(--paper); color: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toca-discos ───────────────────────────── */
#deck { overflow-y: auto; overflow-x: hidden; padding-bottom: 24px; }
.deck-top { display: flex; align-items: center; gap: 8px; padding-top: 10px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 8px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px; color: var(--paper); }
.deck-top .grow { flex: 1; }
.stage { position: relative; width: 100%; max-width: 420px; margin: 8px auto 0; aspect-ratio: 1 / .96; flex: none; }
.plinth { position: absolute; inset: 4% 0 0 0; border-radius: 18px; background: linear-gradient(160deg, #2b231d, #191411 70%); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07); }
.platter { position: absolute; left: 7%; top: 12%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #2a2a2a 0 60%, #1a1a1a 61% 100%); box-shadow: 0 10px 22px rgba(0,0,0,.7); }
.sleeve-deck { position: absolute; left: 2%; top: 0%; width: 44%; aspect-ratio: 1; border-radius: 3px; background: #2a2420 center/cover; transform: rotate(-7deg);
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.85); z-index: 1; }
.vinyl { position: absolute; left: 7%; top: 12%; width: 78%; aspect-ratio: 1; border-radius: 50%; z-index: 2; }
.vinyl .disc { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 17.5%, #0b0b0b 17.6% 18.6%, transparent 18.7%),
    repeating-radial-gradient(circle, #121212 0 1.1px, #1b1b1b 1.2px 2.3px), #111;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 8px 18px rgba(0,0,0,.6); }
.vinyl .label { position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; border-radius: 50%; background: #7a5b3a center/cover; box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.vinyl .label::after { content: ''; position: absolute; left: 46%; top: 46%; width: 8%; height: 8%; border-radius: 50%; background: #0c0c0c; }
.vinyl .bands { position: absolute; inset: 0; border-radius: 50%; }
.sheen { position: absolute; left: 7%; top: 12%; width: 78%; aspect-ratio: 1; border-radius: 50%; z-index: 3; pointer-events: none;
  background: conic-gradient(from 210deg, transparent 0 8%, rgba(255,255,255,.10) 12%, transparent 18% 50%, rgba(255,255,255,.07) 62%, transparent 68%);
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 70%, transparent 71%); mask: radial-gradient(circle, transparent 0 34%, #000 35% 70%, transparent 71%); opacity: 0; }
.arm { position: absolute; right: 3%; top: 4%; width: 32%; height: 82%; z-index: 4; pointer-events: none; }
.arm svg { width: 100%; height: 100%; overflow: visible; }
#armg { transform-origin: 74px 26px; transform-box: view-box; }
.info { text-align: center; margin-top: 14px; }
.info .alb { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.info .art { font-size: 15px; opacity: .85; margin-top: 4px; }
.info .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.now { margin-top: 16px; }
.now .nt { font-size: 15px; font-weight: 600; text-align: center; min-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog { height: 4px; border-radius: 2px; background: var(--line); margin-top: 10px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); }
.times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; }
.ctrl { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 8px; }
.ctrl .play { width: 64px; height: 64px; border-radius: 32px; }
.tap-play { margin: 10px auto 0; display: none; height: 40px; padding: 0 18px; border-radius: 20px; background: var(--accent); color: #1a1208; font-weight: 600; font-size: 14px; }
.tracks { margin-top: 18px; border-top: 1px solid var(--line); }
.side-h { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 14px 0 6px; }
.trk { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); min-height: 44px; }
.trk .p { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trk .n { font-size: 14px; line-height: 1.3; }
.trk .d { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trk[aria-current="true"] .n { color: var(--accent); font-weight: 600; }
.trk[aria-current="true"] .p::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 5px; vertical-align: 1px; }
.trk.err .n { opacity: .45; text-decoration: line-through; }
.toast { visibility: hidden; position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -140%); z-index: 90; background: var(--paper); color: var(--bg);
  padding: 9px 16px; border-radius: 18px; font-size: 13px; font-weight: 500; transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

.flipper { position: fixed; z-index: 80; border-radius: 3px; background: center/cover; pointer-events: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
@media (orientation: landscape) and (max-height: 620px) and (min-width: 600px) and (max-width: 899px) {
  #crateView { display: grid; grid-template-columns: minmax(230px, 38%) 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 20px; align-content: start; }
  #crateView > .top, #crateView > form.search, #crateView > .chips, #crateView > .crumb { grid-column: 1; }
  #crateView > .crate { grid-column: 2; grid-row: 1 / -1; margin-top: 10px; }
  #crateView .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 10px 0 2px; }
  #crateView > .crumb { align-self: start; }
  #userBtn .lbl { display: none; } #userBtn:not(.icon) { width: 40px; padding: 0; justify-content: center; }
  .peek { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .panels { overflow-x: hidden; scroll-snap-type: none; }
  .panel { width: 50vw; padding-left: max(24px, calc(25vw - 230px)); padding-right: max(24px, calc(25vw - 230px)); }
  #crateView { border-right: 1px solid var(--line); }
  .dots, .mini, .mini.on { display: none !important; }
  .back { display: none; }
  body.has-mini .lip .tag { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mini .mc { animation: none; }
}

/* ══ App completo (01/11/2026) ══════════════════════════ */
#dab-nav { display: none !important; }            /* nav.js: só o login é usado aqui */
.top .grow { flex: 1; }
.tbtn { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--paper); }
.tbtn.icon { padding: 0; width: 40px; }
.chip.lib { border-style: dashed; }
.chip .n { font-family: var(--mono); font-size: 10px; opacity: .7; margin-left: 4px; }
.crumb { display: none; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.crumb.on { display: flex; }
.crumb b { color: var(--paper); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb #crumbTxt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.crumb-n { font-size: 12px; opacity: .8; }
.crumb-all { background: none; border: 1px solid rgba(239,230,214,.35); color: var(--paper); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.crumb-all:hover, .crumb-all:focus-visible { border-color: var(--paper); }
.info .art .linkish, .info .meta .linkish { display: inline; padding: 0; }
.linkish { text-decoration: underline dotted rgba(239,230,214,.45); text-underline-offset: 4px; }
.actions { display: flex; justify-content: space-between; gap: 0; margin: 14px auto 0; width: 100%; max-width: 380px; align-self: center; }
.act { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; min-width: 0; padding: 8px 2px; border-radius: 12px; font-size: 11px; color: var(--muted); }
.act svg { width: 22px; height: 22px; color: var(--paper); }
.act[aria-pressed="true"] svg { color: var(--accent); fill: var(--accent); }
.trk { grid-template-columns: 44px 1fr auto 36px; }
.trk .p { white-space: nowrap; text-align: left; }
.act { white-space: nowrap; font-size: 11px; }
.trk .ci { width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; color: var(--muted); }
.trk .ci:hover { color: var(--paper); }
.queue-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* folha (bottom sheet) */
.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; max-height: 82dvh; overflow-y: auto; background: #1c1814; border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--line); padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.sheet.on { transform: translateY(0); }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
.sheet h3 { font-family: var(--display); font-size: 20px; margin: 4px 0 4px; line-height: 1.2; }
.sheet .sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.sheet .grp { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.sheet .row { font-size: 14px; line-height: 1.45; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sheet .row small { color: var(--muted); }
.sheet .cite { font-family: var(--mono); font-size: 12px; line-height: 1.5; background: rgba(0,0,0,.3); border-radius: 8px; padding: 10px 12px; margin-top: 8px; user-select: all; }
.sheet .btn, .peek .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--paper); color: var(--bg); font-weight: 600; font-size: 13px; margin-top: 10px; text-decoration: none; }
.sheet .btn.ghost, .peek .btn.ghost { background: none; color: var(--paper); border: 1px solid var(--line); }
.sheet p { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.sheet .alt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sheet .alt[aria-current="true"] { color: var(--accent); }
.sheet .alt small { color: var(--muted); font-family: var(--mono); margin-left: auto; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 10px; }
.gallery img { height: min(62dvh, 340px); width: auto; border-radius: 4px; scroll-snap-align: center; flex: none; background: #2a2420; }
.menu a, .menu button { display: flex; align-items: center; width: 100%; min-height: 48px; font-size: 16px; color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line); text-align: left; }
.menu small { color: var(--muted); font-size: 12px; margin-left: auto; }
.banner { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 95; display: flex; gap: 10px; align-items: center;
  background: var(--paper); color: var(--bg); border-radius: 14px; padding: 12px 12px 12px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.5); font-size: 13px; line-height: 1.4; }
.banner b { display: block; font-size: 14px; }
.banner .go { background: var(--bg); color: var(--paper); border-radius: 16px; height: 34px; padding: 0 14px; font-weight: 600; font-size: 13px; flex: none; }
.banner .x { width: 34px; height: 34px; flex: none; font-size: 18px; color: var(--bg); }

/* músicos e créditos do disco */
.musicians { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 0 8px; }
.mus { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); min-height: 52px; }
.mus b { font-size: 14px; font-weight: 600; }
.mus small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.mus:active, .mus:hover { border-color: var(--accent); }

.capq { pointer-events: auto; margin-top: 8px; height: 30px; padding: 0 14px; border-radius: 15px; border: 1px solid rgba(239,230,214,.3); font-size: 12px; color: var(--paper); background: rgba(0,0,0,.25); }
.capq:disabled { opacity: .55; }
.qrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.qrow span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrow small { color: var(--muted); }
.qrow button { width: 36px; height: 36px; border-radius: 18px; color: var(--muted); font-size: 18px; }

/* YouTube visível no toca-discos (opção A, jul/2026): miniatura alterna vinil ↔ vídeo */
#yt { position: absolute; left: 4%; top: 5%; width: 92%; aspect-ratio: 4 / 3; min-width: 200px; min-height: 200px; z-index: 5; display: none; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.7); }
#yt.on { display: block; }
#yt iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; visibility: hidden; }
#yt iframe.act { visibility: visible; }
.ytthumb { position: absolute; left: 3%; bottom: 3%; z-index: 6; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 10px; background: rgba(0,0,0,.55); border: 1.5px solid #e33; color: var(--paper); font-size: 12px; }
.ytthumb img { width: 46px; height: 30px; object-fit: cover; border-radius: 6px; background: #222; }
.ytthumb[aria-pressed="true"] { background: #e33; }
.times { align-items: center; }
.ytattr { font-family: var(--ui); font-size: 11px; color: var(--muted); text-decoration: none; }

.navsheet { position: fixed; inset: 0; z-index: 120; background: var(--bg); display: flex; flex-direction: column; }
.navsheet[hidden] { display: none !important; }
.navbar { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom: 1px solid var(--line); }
.navbar span { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.navsheet iframe { flex: 1; width: 100%; border: 0; background: #0d0d0f; }

/* ── espiar: encartes lado a lado, a vitrola continua ── */
.peek { position: absolute; inset: 0; z-index: 55; display: flex; flex-direction: column; background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(6px); padding-top: env(safe-area-inset-top); opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s; }
.peek.on { opacity: 1; transform: none; }
.peek[hidden] { display: none !important; }
.peek-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px 6px; }
.peek-pos { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-track { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.peek-track::-webkit-scrollbar { display: none; }
.pk { flex: none; width: 100%; height: 100%; overflow-y: auto; scroll-snap-align: center; scroll-snap-stop: always; padding: 4px 16px 110px; display: flex; flex-direction: column; }
.pk-stage { max-width: 330px; margin-top: 0; }
.pk-stage .vinyl .disc { box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 8px 18px rgba(0,0,0,.6); }
.pk-badge { position: absolute; right: 4%; bottom: 3%; z-index: 6; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 8px; }
.pk .act:disabled { opacity: .4; }
.pk .pk-go svg { color: var(--accent); }
.pk-body { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
.pk-wait { color: var(--muted); font-size: 13px; text-align: center; padding: 14px 0; }
.peek-hint { text-align: center; font-size: 11px; color: var(--muted); padding: 0 16px; max-height: 32px; overflow: hidden; transition: opacity .5s, max-height .5s; }
.peek-hint.off { opacity: 0; max-height: 0; }
.qrow .qpeek { flex: 1; width: auto; height: auto; min-width: 0; border-radius: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; }
