/* ManoPLAY - interface para TV 1920x1080 (vitrine em fileiras, identidade neon ManoPLAY)
 * Area segura da TV: nada importante a menos de 80-96px das laterais e 54px de cima/baixo
 * (muitas TVs cortam a borda da imagem).
 * Leve para a TV: foco sem sombras borradas, sem filtros e transicoes so de transform. */
:root {
  --bg: #08080d;
  --bg2: #111119;
  --card: #1a1a24;
  --line: rgba(255, 255, 255, .10);
  --text: #f5f6fb;
  --muted: #a3a7bd;
  --neon: #00e5ff;
  --neon2: #b04bff;
  --hot: #ff2bd6;
  --focus: #ffffff;
  --safe-x: 96px;
  --safe-y: 54px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
body {
  width: 1920px; height: 1080px; overflow: hidden; position: relative;
  background: var(--bg); color: var(--text);
  font-family: "SamsungOne", "Samsung Sans", "Roboto", "Segoe UI", Arial, sans-serif;
}
button, input { font-family: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: left; }
.hidden { display: none !important; }

/* icones SVG */
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 28px; height: 28px; margin-right: 14px; stroke-width: 2.4; flex: 0 0 auto; }

/* camadas */
#video-layer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 0; }
#av-player { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
#html-player { position: absolute; background: #000; }
#bg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 1; background: var(--bg); }
.screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 2; overflow: hidden; }

/* video em tela cheia: a pagina fica transparente para o player aparecer por baixo */
body.video-full, body.video-preview { background: transparent; }
body.video-full #bg, body.video-preview #bg { display: none; }

/* ---------- foco ---------- */
.focusable { outline: none; }
.focused { z-index: 3; }

/* ---------- botoes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 72px; padding: 0 40px; border-radius: 10px; font-size: 30px; font-weight: 700; transition: transform .12s ease-out; }
.btn-light { background: rgba(255, 255, 255, .92); color: #0b0b10; }
.btn-ghost { background: rgba(110, 110, 130, .45); color: #fff; }
.btn-primary { background: linear-gradient(90deg, var(--neon), var(--neon2)); color: #06060c; border-radius: 999px; }
.btn-block { width: 100%; }
.btn.focused { transform: scale(1.06); box-shadow: 0 0 0 4px var(--neon); }
.btn-light.focused { background: #fff; }
.btn-ghost.focused { background: #fff; color: #0b0b10; }

.kind { display: inline-block; font-size: 20px; font-weight: 800; letter-spacing: 3px; color: var(--neon); }
.meta { color: var(--muted); font-size: 24px; }
.msg { font-size: 26px; color: #ffb4e8; margin-top: 18px; min-height: 34px; }

/* ---------- login ---------- */
.login-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 130px; gap: 70px; }
.login-brand { width: 560px; }
.logo-big { width: 520px; }
.tagline { font-size: 32px; color: var(--muted); margin: 18px 0 50px; }
.device-box { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 18px; padding: 26px 30px; }
.device-box div { display: flex; justify-content: space-between; font-size: 26px; padding: 8px 0; }
.device-box span { color: var(--muted); }
.device-box b { letter-spacing: 1px; color: var(--neon); }
.login-card { width: 640px; background: #14141e; border: 1px solid var(--line); border-radius: 24px; padding: 50px 56px; }
.login-card h2 { font-size: 52px; margin-bottom: 26px; }
.login-card label { display: block; font-size: 24px; color: var(--muted); margin: 18px 0 8px; }
.field { width: 100%; height: 76px; border-radius: 12px; padding: 0 24px; font-size: 30px; background: rgba(255, 255, 255, .07); border: 3px solid rgba(255, 255, 255, .14); }
.field.focused { border-color: var(--neon); background: rgba(255, 255, 255, .12); }
.login-card .btn { margin-top: 36px; }
.login-qr { width: 360px; text-align: center; }
.login-qr img { width: 300px; height: 300px; background: #fff; padding: 16px; border-radius: 18px; }
.login-qr p { font-size: 26px; color: var(--muted); margin-top: 22px; line-height: 1.45; }
.login-qr b { color: var(--text); }

.set-item i svg { width: 34px; height: 34px; }

/* ---------- home: destaque em tela cheia + abas no topo ----------
   Dois estados: normal (abas e destaque grandes, fileiras espiando embaixo) e
   .browsing (foco nas fileiras: abas somem, destaque sobe e as fileiras ocupam a tela).
   Tudo anima so com transform/opacity (leve para a TV). */
#hero-img { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: #111 center/cover no-repeat; transition: opacity .25s; }
#hero-img.poster { background-size: contain; background-position: right center; }
.hero-shade {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
  background: linear-gradient(90deg, var(--bg) 10%, rgba(8, 8, 13, .75) 38%, rgba(8, 8, 13, 0) 65%),
              linear-gradient(0deg, var(--bg) 18%, rgba(8, 8, 13, .6) 40%, rgba(8, 8, 13, 0) 60%),
              linear-gradient(180deg, rgba(8, 8, 13, .7) 0%, rgba(8, 8, 13, 0) 18%);
}
#screen-home.browsing #hero-img { opacity: .35; }

#topbar { position: absolute; left: 0; top: var(--safe-y); width: 1920px; height: 76px; padding: 0 var(--safe-x) 0 120px;
  display: flex; align-items: center; z-index: 10; transition: transform .25s ease-out, opacity .2s; }
#screen-home.browsing #topbar { transform: translateY(-170px); opacity: 0; }
.top-logo { height: 52px; width: auto; }
#tabs { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(30, 30, 40, .72); }
.tab { white-space: nowrap; height: 64px; padding: 0 30px; border-radius: 999px; font-size: 28px; font-weight: 600; color: #c9ccdb; display: flex; align-items: center; transition: transform .12s ease-out; }
.tab.tab-icon { padding: 0 20px; }
.tab svg { width: 32px; height: 32px; }
.tab.active { background: rgba(255, 255, 255, .16); color: #fff; }
.tab.focused { background: #fff; color: #0b0b10; transform: scale(1.06); }
#clock { margin-left: auto; font-size: 38px; font-weight: 300; color: #fff; }

.hero-info { position: absolute; left: 120px; top: 330px; width: 940px; z-index: 5; transition: transform .25s ease-out; }
#screen-home.browsing .hero-info { transform: translateY(-230px); }
.hero-kicker { display: flex; align-items: center; gap: 22px; margin-bottom: 14px; }
.hero-info h1 { font-size: 80px; line-height: 1.04; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#hero-overview { font-size: 28px; line-height: 1.45; color: #e3e5ef; margin-bottom: 34px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.hero-actions { display: flex; gap: 24px; transition: opacity .2s; }
#screen-home.browsing .hero-actions { opacity: 0; }

/* ---------- home: fileiras ---------- */
#rows-viewport { position: absolute; left: 0; top: 500px; width: 1920px; height: 580px; overflow: hidden; z-index: 6;
  transform: translateY(390px); transition: transform .25s ease-out; }
#screen-home.browsing #rows-viewport { transform: none; }
#rows { position: absolute; left: 0; top: 0; width: 1920px; transition: transform .2s ease-out; }
.row { padding: 0 0 10px 100px; }
.row-title { font-size: 30px; font-weight: 700; margin: 0 0 0 20px; color: #e9ebf5; }
.row-track { display: flex; gap: 28px; overflow: hidden; padding: 24px var(--safe-x) 16px 20px; width: 1820px; }

/* card: imagem com cantos arredondados e titulo embaixo; no foco a imagem "levanta" */
.card { flex: 0 0 auto; position: relative; }
.card .pic { position: relative; border-radius: 12px; overflow: hidden; background: #20202c center/cover no-repeat; transition: transform .14s ease-out; }
.card .pic.contain { background-size: 70% auto; background-color: #1a1a26; }
.card .letter { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 80px; font-weight: 800; color: rgba(255, 255, 255, .18); }
.card .label { padding: 12px 4px 0; font-size: 22px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .14s ease-out; }
.card.poster { width: 200px; }
.card.poster .pic { height: 300px; }
.card.wide { width: 320px; }
.card.wide .pic { height: 180px; }
.card.focused .pic { transform: scale(1.1); box-shadow: 0 18px 36px rgba(0, 0, 0, .65), 0 0 0 3px rgba(255, 255, 255, .85); }
.card.focused .label { color: #fff; transform: translateY(14px); }
/* barrinha de progresso (continuar assistindo) */
.prog { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--neon); }
.card .prog { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.detail-progress { display: flex; align-items: center; gap: 20px; margin-top: 22px; width: 520px; }
.detail-progress .prog { flex: 1; }
.detail-progress .meta { white-space: nowrap; font-size: 22px; }
.card .live-dot { position: absolute; left: 10px; top: 10px; font-size: 16px; font-weight: 800; padding: 3px 9px; border-radius: 6px; background: #e5093c; letter-spacing: 1px; }

/* ---------- catalogo ---------- */
#cat-panel { position: absolute; left: 0; top: 0; bottom: 0; width: 540px; padding: var(--safe-y) 30px var(--safe-y) 80px; background: #0c0c12; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
#cat-panel h2 { font-size: 48px; margin: 0 0 28px 18px; }
#cat-list, #live-cat-list { flex: 1; min-height: 0; overflow: hidden; padding: 4px; }
.cat-item { display: block; width: 100%; padding: 18px 22px; border-radius: 10px; font-size: 27px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.cat-item.active { color: var(--text); font-weight: 700; box-shadow: inset 5px 0 0 var(--neon); }
.cat-item.focused { background: #fff; color: #0b0b10; box-shadow: none; }
#grid-panel { position: absolute; left: 540px; right: 0; top: 0; bottom: 0; padding: var(--safe-y) var(--safe-x) 0 50px; display: flex; flex-direction: column; }
#cat-panel.hidden + #grid-panel { left: 0; padding-left: 160px; padding-right: 160px; }
.grid-title { font-size: 34px; margin-bottom: 12px; color: #e9ebf5; flex: 0 0 auto; }
#search-bar { margin-bottom: 26px; width: 1100px; flex: 0 0 auto; }
.search-title { font-size: 48px; margin-bottom: 22px; }
#search-hint { margin-top: 12px; }
#grid { flex: 1; min-height: 0; display: flex; flex-wrap: wrap; gap: 26px 22px; align-content: flex-start; overflow: hidden; padding: 16px 16px var(--safe-y); }
#cat-panel.hidden + #grid-panel #grid { gap: 26px 26px; }

/* ---------- TV ao vivo com previa ---------- */
#live-cats { position: absolute; left: 0; top: 0; bottom: 0; width: 460px; padding: var(--safe-y) 24px var(--safe-y) 80px; background: #0c0c12; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
#live-cats h2 { font-size: 44px; margin: 0 0 28px 18px; }
#live-channels { position: absolute; left: 460px; top: 0; bottom: 0; width: 600px; padding: var(--safe-y) 20px; background: #101018; }
#live-channel-list { height: 100%; overflow: hidden; padding: 6px; }
.ch-item { display: flex; align-items: center; gap: 20px; width: 100%; height: 92px; padding: 0 18px; border-radius: 12px; margin-bottom: 8px; }
.ch-num { width: 70px; font-size: 26px; color: var(--muted); text-align: right; }
.ch-logo { width: 96px; height: 60px; border-radius: 8px; background: #20202c center/contain no-repeat; flex: 0 0 96px; }
.ch-name { flex: 1; font-size: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-item.playing .ch-name { color: var(--neon); font-weight: 700; }
.ch-item.focused { background: #fff; color: #0b0b10; }
.ch-item.focused .ch-num { color: #444; }
.ch-item.focused .ch-name { color: #0b0b10; }
/* area da previa: o fundo e pintado em 4 faixas ao redor da janela do video
   (o video toca por baixo da pagina e aparece pelo "buraco"). Janela: 724x407 em (40, 80). */
#live-preview { position: absolute; left: 1060px; top: 0; right: 0; bottom: 0; padding: 80px var(--safe-x) 0 40px; overflow: hidden;
  background:
    linear-gradient(var(--bg2), var(--bg2)) 0 0 / 100% 80px no-repeat,
    linear-gradient(var(--bg2), var(--bg2)) 0 0 / 40px 100% no-repeat,
    linear-gradient(var(--bg2), var(--bg2)) 100% 0 / var(--safe-x) 100% no-repeat,
    linear-gradient(var(--bg2), var(--bg2)) 0 100% / 100% 593px no-repeat; }
#preview-box { width: 724px; height: 407px; position: relative; background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
body:not(.video-preview) #preview-box { background: #000; }
.preview-msg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 26px; color: var(--muted); padding: 0 40px; }
.preview-info { position: relative; margin-top: 34px; }
.preview-head { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }
#preview-logo { width: 130px; height: 80px; object-fit: contain; background: #1d1d28; border-radius: 10px; }
#preview-name { font-size: 44px; font-weight: 800; }
.epg-label { font-size: 20px; letter-spacing: 3px; font-weight: 800; color: var(--neon); }
.epg-label.next { margin-top: 26px; color: var(--muted); }
.epg-title { font-size: 32px; font-weight: 700; margin: 6px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-title.small { font-size: 28px; font-weight: 600; color: #d9dbe6; }
.epg-bar { width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; margin-bottom: 8px; }
#epg-progress { height: 100%; width: 0; background: var(--neon); }
.hint { margin-top: 40px; font-size: 22px; color: var(--muted); }

/* ---------- detalhes ---------- */
#detail-backdrop { position: absolute; right: 0; top: 0; width: 1500px; height: 1080px; background: #111 center/cover no-repeat; }
#detail-backdrop.poster { background-size: contain; background-position: right top; }
.detail-shade { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px;
  background: linear-gradient(90deg, var(--bg) 25%, rgba(8, 8, 13, .8) 45%, rgba(8, 8, 13, .1) 75%),
              linear-gradient(0deg, var(--bg) 8%, rgba(8, 8, 13, 0) 55%); }
.detail-body { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; padding: 90px 0 0 130px; }
.detail-top { width: 1000px; }
.detail-top h1 { font-size: 76px; font-weight: 800; line-height: 1.04; margin: 12px 0 18px; letter-spacing: -1px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-row { font-size: 26px; color: #d0d3e2; margin-bottom: 22px; }
.meta-row b { color: #46d369; }
#detail-plot { font-size: 28px; line-height: 1.5; color: #e6e8f2; max-width: 980px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.credits { font-size: 22px; color: var(--muted); margin-top: 16px; max-width: 980px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-actions { display: flex; gap: 22px; margin-top: 36px; }
#series-box { position: absolute; left: 112px; right: 0; top: 630px; }
#series-box .season-head, #series-box .episode-desc { margin-left: 18px; }
.season-head { display: flex; align-items: center; gap: 30px; margin-bottom: 18px; }
.seasons { display: flex; gap: 14px; }
.season-btn { height: 56px; padding: 0 26px; border-radius: 999px; font-size: 24px; font-weight: 700; color: var(--muted); border: 2px solid rgba(255, 255, 255, .18); }
.season-btn.active { color: #0b0b10; background: rgba(255, 255, 255, .85); border-color: transparent; }
.season-btn.focused { box-shadow: 0 0 0 4px var(--neon); color: #fff; background: rgba(0, 229, 255, .22); }
.season-btn.active.focused { color: #0b0b10; background: #fff; }
#episodes-viewport { width: 1808px; overflow: hidden; }
.episodes { display: flex; gap: 22px; padding: 16px var(--safe-x) 18px 18px; }
.ep-card { flex: 0 0 auto; width: 380px; }
.ep-thumb { position: relative; width: 380px; height: 214px; border-radius: 10px; overflow: hidden; background: #20202c center/cover no-repeat; transition: transform .12s ease-out; }
.ep-num { position: absolute; left: 14px; bottom: 6px; font-size: 64px; font-weight: 900; color: rgba(255, 255, 255, .9); line-height: 1; }
.ep-dur { position: absolute; right: 10px; bottom: 10px; font-size: 19px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .7); }
.ep-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 3px solid #fff; background: rgba(0, 0, 0, .45);
  display: none; align-items: center; justify-content: center; font-size: 30px; }
.ep-title { font-size: 23px; font-weight: 600; margin-top: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d6d9e6; }
.ep-card.focused .ep-thumb { box-shadow: 0 0 0 5px var(--focus); transform: scale(1.04); }
.ep-card.focused .ep-play { display: flex; }
.ep-card.focused .ep-title { color: #fff; }
.episode-desc { width: 1100px; font-size: 24px; line-height: 1.45; color: #c9ccdb; min-height: 70px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.episode-desc b { color: #fff; }

/* ---------- player ---------- */
#screen-player { background: transparent; }
#player-osd { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.osd-top { position: absolute; left: 0; top: 0; right: 0; padding: 70px 110px 120px; display: none; gap: 40px; align-items: flex-start;
  background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
#player-osd.paused .osd-top { display: flex; }
#osd-poster { width: 200px; height: 300px; object-fit: cover; border-radius: 12px; background: #20202c; }
#osd-poster.ph { object-fit: contain; padding: 30px; }
.osd-info { max-width: 1200px; }
.osd-info h2 { font-size: 54px; margin: 8px 0 14px; }
#osd-plot { font-size: 26px; line-height: 1.45; color: #dfe1ec; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.osd-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 110px 64px; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)); }
.osd-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .25); overflow: hidden; }
#osd-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon), var(--neon2)); }
.osd-row { display: flex; align-items: center; gap: 30px; margin-top: 18px; }
#osd-state { font-size: 34px; width: 40px; }
.osd-hint { margin-left: auto; font-size: 22px; color: var(--muted); }

#player-error { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: rgba(5, 5, 10, .94); display: flex; align-items: center; justify-content: center; }
.err-card { width: 1300px; background: #15151f; border: 1px solid var(--line); border-radius: 22px; padding: 50px 60px; }
.err-card h2 { font-size: 44px; margin-bottom: 14px; }
#err-summary { font-size: 28px; color: #ffb4e8; margin-bottom: 20px; }
#err-list { font-size: 20px; color: var(--muted); margin: 0 0 20px 30px; line-height: 1.6; max-height: 330px; overflow: hidden; word-break: break-all; }
.err-actions { display: flex; gap: 22px; margin-top: 26px; }

.spinner { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, .15); border-top-color: var(--neon); animation: spin 1s linear infinite; z-index: 5; }
.spinner.inline { position: relative; left: auto; top: auto; margin: 140px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

#toast { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 50; padding: 20px 40px; border-radius: 999px; font-size: 28px;
  background: #16161f; border: 1px solid rgba(255, 255, 255, .25); white-space: nowrap; }

/* ---------- login: outro servidor ---------- */
.link-btn { display: block; margin: 22px auto 0; padding: 10px 18px; border-radius: 8px; font-size: 24px; color: var(--muted); text-align: center; }
.link-btn.focused { color: #0b0b10; background: #fff; }
.login-card.auto #server-wrap { display: none; }

/* ---------- configuracoes ---------- */
#set-menu { position: absolute; left: 0; top: 0; bottom: 0; width: 560px; padding: var(--safe-y) 30px var(--safe-y) 80px; background: #0c0c12; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
#set-menu h2 { font-size: 46px; margin: 0 0 30px 18px; }
.set-item { display: flex; align-items: center; gap: 22px; height: 76px; padding: 0 24px; border-radius: 12px; font-size: 29px; color: var(--muted); flex: 0 0 auto; }
.set-item i { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.set-item.active { color: var(--text); font-weight: 700; box-shadow: inset 5px 0 0 var(--neon); }
.set-item.focused { background: #fff; color: #0b0b10; box-shadow: none; }
.set-logout { margin-top: auto; }
#set-panel { position: absolute; left: 560px; right: 0; top: 0; bottom: 0; padding: 80px var(--safe-x) var(--safe-y) 100px; }
#set-panel h1 { font-size: 56px; margin-bottom: 40px; }
.set-rows { width: 100%; max-width: 1100px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 26px 34px; font-size: 28px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row span { color: var(--muted); }
.set-row b { font-weight: 600; text-align: right; overflow-wrap: anywhere; max-width: 760px; font-size: 24px; }
.set-row b.ok { color: #46d369; }
.set-row b.warn { color: #ffb02e; }
.set-row b.bad { color: #ff5a6e; }
#set-extra { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
#set-extra .qr { width: 260px; height: 260px; background: #fff; padding: 14px; border-radius: 16px; }
#set-extra p { font-size: 26px; color: var(--muted); line-height: 1.5; max-width: 700px; }
.set-note { margin-top: 30px; font-size: 24px; color: var(--muted); max-width: 1100px; line-height: 1.45; }

/* ---------- sair do app / sem internet ---------- */
.dialog-actions { display: flex; justify-content: center; gap: 24px; margin-top: 36px; }
#net-banner { position: absolute; left: 50%; top: var(--safe-y); transform: translateX(-50%); z-index: 60; padding: 18px 36px; border-radius: 14px;
  font-size: 26px; font-weight: 600; background: #b3122f; color: #fff; white-space: nowrap; }

/* ---------- PIN (controle dos pais) ---------- */
.pin-card.consent-card { width: 1180px; text-align: left; }
.consent-lead { font-size: 28px; margin: 6px 0 14px; }
.consent-list { margin: 0 0 18px 30px; font-size: 25px; line-height: 1.45; color: #d9dbe6; }
.consent-list li { margin-bottom: 10px; }
.consent-card .dialog-actions { justify-content: flex-start; }
#exit-sub:empty { display: none; }
#exit-sub { margin-top: 12px; font-size: 24px; line-height: 1.4; }
#pin-dialog, #exit-dialog, #consent-dialog { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 40; background: rgba(5, 5, 10, .88); display: flex; align-items: center; justify-content: center; }
.pin-card { width: 620px; background: #15151f; border: 1px solid var(--line); border-radius: 24px; padding: 46px 56px; text-align: center; }
.pin-card h2 { font-size: 44px; margin-bottom: 10px; }
#pin-dots { display: flex; justify-content: center; gap: 26px; margin: 30px 0 6px; }
#pin-dots span { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); }
#pin-dots span.on { background: var(--neon); border-color: var(--neon); }
#pin-msg { min-height: 34px; margin: 10px 0 14px; }
#pin-pad { display: flex; flex-wrap: wrap; gap: 14px; width: 440px; margin: 0 auto; }
.pin-key { width: 137px; height: 84px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 38px; font-weight: 700; text-align: center; }
.pin-key.pin-fn { font-size: 24px; color: var(--muted); }
.pin-key.focused { background: #fff; color: #0b0b10; }
.pin-tip { margin-top: 24px; font-size: 21px; }
