/* FicherTV Player - layout "Opção A" (tela inicial) e "Kids 1" no web player, 02/12/2026 (inicio.js).
   Cores de destaque: --ac (verde FicherTV; revenda = a cor dela, posta pelo wl.js v10). Aba ativa e botão principal ficam
   brancos sem revenda (como no a.png) e na cor da revenda com ela. Cartões de app têm cores próprias. Kids tem paleta própria.
   Nada de position:fixed dentro do .pbar (backdrop-filter prende o fixed no Safari). */
:root { --ac: #3fd9a8; --ac2: #2fa3d8; --ac-tx: #04131a; --tab-on: #fff; --tab-on-tx: #050a12; --anel: #fff;
  --ini-pad: clamp(16px, 5vw, 96px); }
html.wl-cor { --tab-on: var(--ac); --tab-on-tx: var(--ac-tx); --anel: var(--ac); }
html:not([data-tema]):not(.wlf) body { background:
  radial-gradient(1200px 700px at 15% -10%, rgba(63, 217, 168, .13), transparent 60%),
  radial-gradient(1000px 700px at 100% 0%, rgba(47, 163, 216, .13), transparent 60%),
  radial-gradient(900px 600px at 50% 120%, rgba(120, 80, 255, .08), transparent 60%), #060a0f; background-attachment: fixed; }
html.wl-cor:not([data-tema]):not(.wlf) body { background: radial-gradient(1200px 700px at 15% -10%, rgba(255, 255, 255, .05), transparent 60%), #060a0f; }

/* ---------------------------------------------------------------- topo */
#player-app > .pbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 18px;
  padding: calc(14px + env(safe-area-inset-top)) max(var(--ini-pad), env(safe-area-inset-right)) 14px max(var(--ini-pad), env(safe-area-inset-left));
  background: rgba(6, 10, 15, .9); border-bottom: 1px solid rgba(255, 255, 255, .06); flex-wrap: nowrap; }
#player-app > .pbar .pbrand { justify-self: start; min-width: 0; max-width: 100%; gap: clamp(8px, .73vw, 14px); }
#player-app > .pbar .pbrand img { width: clamp(34px, 2.9vw, 56px); height: clamp(34px, 2.9vw, 56px); flex: none; }
#player-app > .pbar .pbrand .word { font-size: clamp(18px, 1.56vw, 30px); font-weight: 800; letter-spacing: -.5px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#tabs { justify-self: center; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); max-width: 100%;
  min-width: 0; overflow-x: auto; scrollbar-width: none; order: 0; flex: none; }
#tabs::-webkit-scrollbar { display: none; }
#tabs > button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: clamp(40px, 2.9vw, 56px); padding: 0 clamp(14px, 1.15vw, 22px);
  border-radius: 999px; border: 0; background: transparent; color: #b9c8d1; font: inherit; font-size: clamp(14px, 1.1vw, 21px); font-weight: 700;
  white-space: nowrap; cursor: pointer; box-shadow: none; }
#tabs > button:hover { color: #fff; background: rgba(255, 255, 255, .07); }
#tabs > button.on { background: var(--tab-on); color: var(--tab-on-tx); }
#tabs > button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--anel); }
#tabs > button[hidden] { display: none !important; }
#tabs > button[data-livre="radio"] { display: none !important; }   /* Rádio abre pelo cartão "Seus apps" */
#tabs .tic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pdir { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.45vw, 28px); min-width: 0; }
.prel { text-align: right; line-height: 1.1; white-space: nowrap; }
.prel b { display: block; font-size: clamp(18px, 1.77vw, 34px); font-weight: 700; }
.prel small { display: block; font-size: clamp(11px, .9vw, 17px); color: #8fa3b0; font-weight: 500; margin-top: 2px; }
.pperfil { flex: none; width: clamp(40px, 2.9vw, 56px); height: clamp(40px, 2.9vw, 56px); border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--ac), var(--ac2)); color: var(--ac-tx); display: inline-flex; align-items: center; justify-content: center; }
.pperfil svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pperfil:focus-visible, .pperfil:hover { outline: none; box-shadow: 0 0 0 3px #060a0f, 0 0 0 6px var(--anel); }
.pmenu { position: absolute; right: var(--ini-pad); top: calc(100% + 6px); z-index: 25; width: min(300px, calc(100vw - 32px)); padding: 8px;
  display: flex; flex-direction: column; gap: 2px; background: #0f161d; border: 1px solid #22303c; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.pmenu[hidden] { display: none !important; }
#pmenu > button, #pmenu > a { display: block; width: 100%; margin: 0; text-align: left; padding: 12px 14px; border-radius: 10px; border: 0; background: transparent;
  color: var(--text); font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.3; text-decoration: none; cursor: pointer; white-space: normal; box-shadow: none; }
#pmenu > [hidden] { display: none !important; }
#pmenu > button:hover, #pmenu > a:hover, #pmenu > button:focus-visible, #pmenu > a:focus-visible { background: #18232d; outline: none; }
#pmenu > .pboost.on { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #04120f; }
/* busca: nas seções da lista e no Futebol; na aba Buscar, grande e com a escolha da seção */
.psub { display: none; align-items: center; gap: 10px; padding: 12px var(--ini-pad) 0; width: 100%; box-sizing: border-box; flex-wrap: wrap; }
html[data-vista="lib"] .psub, html[data-vista="fut"] .psub, html[data-vista="busca"] .psub { display: flex; }
#q.psearch { flex: 1 1 260px; max-width: 560px; min-width: 0; margin: 0; padding: 11px 16px; border-radius: 999px; font-size: 15px; order: 0; }
#q.psearch:focus { outline: none; border-color: var(--ac); }
html[data-vista="busca"] .psub { justify-content: center; padding-top: 18px; }
html[data-vista="busca"] #q.psearch { flex-basis: 100%; max-width: 760px; font-size: 18px; padding: 14px 20px; order: 2; }
.bkinds { display: flex; gap: 6px; flex-basis: 100%; justify-content: center; order: 1; }
.bkinds[hidden] { display: none !important; }
.bkinds button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.bkinds button.on { background: var(--tab-on); color: var(--tab-on-tx); border-color: transparent; }
.bkinds button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--anel); }
html[data-vista="busca"] .pside { display: none; }
html[data-vista="busca"] .pcontent { padding-left: var(--ini-pad); padding-right: var(--ini-pad); }
html[data-vista="lib"] .psub, html[data-vista="fut"] .psub { padding-left: 18px; padding-right: 18px; }
html[data-vista="busca"] .pbody { grid-template-columns: 1fr; }
#player-app .pside { top: var(--hdr, 62px); max-height: calc(100vh - var(--hdr, 62px)); }
.pcard .pprog i, .pprog i { background: var(--ac); }

/* ---------------------------------------------------------------- Início */
.ini { width: 100%; max-width: 1920px; margin: 0 auto; padding: clamp(14px, 1.9vw, 36px) var(--ini-pad) 48px; box-sizing: border-box; min-width: 0; }
.ini[hidden] { display: none !important; }
.ih { position: relative; border-radius: clamp(20px, 1.8vw, 34px); overflow: hidden; min-height: clamp(230px, 21.9vw, 420px); display: flex; align-items: center;
  background: radial-gradient(circle at 78% 35%, #ffd28a 0 5%, rgba(255, 210, 138, .25) 6%, transparent 22%), linear-gradient(110deg, #050a18 30%, #1f3b73 70%, #3b5ba8); }
.ih::after { content: ""; position: absolute; right: 0; bottom: 0; width: 60%; height: 55%; pointer-events: none;
  background: repeating-linear-gradient(170deg, transparent 0 30px, rgba(255, 255, 255, .04) 30px 32px); }
.ih.com-arte { background: #050a18; }
.ih.com-arte::after { content: none; }
.ih-arte { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; }
.ih-fundo { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.25); opacity: .55; }
.ih-arte::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, #050a18 0%, rgba(5, 10, 24, .75) 30%, rgba(5, 10, 24, .1) 75%); }
.ih-pos { position: absolute; z-index: 1; right: clamp(20px, 3.75vw, 72px); top: 50%; height: 78%; max-height: 330px; aspect-ratio: 2 / 3; width: auto;
  transform: translateY(-50%); object-fit: cover; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.ih-tx { position: relative; z-index: 2; padding: clamp(22px, 3.75vw, 72px); max-width: min(800px, 64%); box-sizing: border-box; min-width: 0; }
.ih-k { font-size: clamp(12px, .95vw, 18px); font-weight: 800; color: var(--ac); letter-spacing: 2px; text-transform: uppercase; }
.ih-t { margin: clamp(8px, .73vw, 14px) 0 clamp(6px, .52vw, 10px); font-size: clamp(26px, 3.33vw, 64px); line-height: 1.04; letter-spacing: -1px; font-weight: 800;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ih-s { margin: 0 0 clamp(14px, 1.15vw, 22px); font-size: clamp(14px, 1.15vw, 22px); color: #b9c8d1; }
.ih-prog { width: min(420px, 100%); height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; margin: 0 0 clamp(18px, 1.56vw, 30px); }
.ih-prog i { display: block; height: 100%; background: var(--ac); }
.ih-bts { display: flex; flex-wrap: wrap; gap: clamp(8px, .52vw, 12px); }
.ibt { height: clamp(46px, 3.33vw, 64px); padding: 0 clamp(20px, 1.77vw, 34px); border-radius: 999px; border: 0; font: inherit; font-weight: 800;
  font-size: clamp(15px, 1.15vw, 22px); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; }
.ibt.pri { background: var(--tab-on); color: var(--tab-on-tx); }
.ibt.sec { background: rgba(255, 255, 255, .14); color: #fff; }
.ibt:hover { filter: brightness(1.08); }
.ibt:focus-visible { outline: none; box-shadow: 0 0 0 3px #060a0f, 0 0 0 6px var(--anel); }
.iic { display: inline-flex; width: 1em; height: 1em; flex: none; }
.iic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ini-h { margin: clamp(22px, 2.1vw, 40px) 0 clamp(12px, .95vw, 18px); font-size: clamp(18px, 1.35vw, 26px); font-weight: 800; }
.ini-h small { font-size: .7em; color: #8fa3b0; font-weight: 600; margin-left: 8px; }
.ini-h[hidden] { display: none !important; }
.ia { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.25vw, 24px); }
.iapp { position: relative; aspect-ratio: 225 / 176; min-height: 96px; border-radius: clamp(16px, 1.35vw, 26px); border: 0; padding: 8px; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, .73vw, 14px); overflow: hidden; color: #fff; font: inherit;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; box-sizing: border-box; min-width: 0; }
.iapp b { font-size: clamp(14px, 1.15vw, 22px); font-weight: 700; line-height: 1.15; text-align: center; }
.iapp .iapp-ic { width: clamp(32px, 3vw, 58px); height: clamp(32px, 3vw, 58px); }
.iapp:hover, .iapp:focus-visible { outline: none; transform: scale(1.06); z-index: 2; box-shadow: 0 0 0 clamp(3px, .26vw, 5px) #fff, 0 20px 60px rgba(0, 0, 0, .55); }
.iapp-selo { position: absolute; top: clamp(8px, .83vw, 16px); left: clamp(8px, .83vw, 16px); font-size: clamp(9px, .73vw, 14px); font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .35); white-space: nowrap; }
.iapp-selo::before { content: ""; display: inline-block; width: .65em; height: .65em; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: .05em; }
.g-live { background: linear-gradient(135deg, #ff4d5e, #b3122a); }
.g-yt { background: #1a1a1f; }
.g-mus { background: linear-gradient(135deg, #3fd9a8, #128f6c); color: #04131a; }
.g-rad { background: linear-gradient(135deg, #ff9a3c, #c2410c); }
.g-game { background: linear-gradient(135deg, #ec4899, #7e22ce); }
.g-esp { background: linear-gradient(135deg, #14b8a6, #0e7490); }
.ytl { position: relative; display: block; flex: none; width: clamp(46px, 4.8vw, 92px); height: clamp(32px, 3.33vw, 64px); border-radius: clamp(10px, .94vw, 18px); background: #ff0033; }
.ytl::after { content: ""; position: absolute; left: 41%; top: 28%; border-left: solid #fff; border-left-width: clamp(13px, 1.35vw, 26px);
  border-top: solid transparent; border-bottom: solid transparent; border-top-width: clamp(7px, .73vw, 14px); border-bottom-width: clamp(7px, .73vw, 14px); }
.ifj { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.25vw, 24px); }
.ifj[hidden] { display: none !important; }
.ij { display: flex; align-items: center; gap: clamp(8px, .83vw, 16px); min-width: 0; border-radius: 18px; background: #0f1a22; border: 1px solid #1d2c37;
  padding: clamp(12px, .94vw, 18px) clamp(14px, 1.15vw, 22px); color: #fff; font: inherit; font-weight: 700; font-size: clamp(14px, 1.05vw, 20px); cursor: pointer;
  text-align: left; box-sizing: border-box; }
.ij:hover, .ij:focus-visible { outline: none; border-color: var(--anel); box-shadow: 0 0 0 2px var(--anel); }
.ij-n { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iesc { flex: none; position: relative; width: clamp(28px, 2.1vw, 40px); height: clamp(28px, 2.1vw, 40px); border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; overflow: hidden; background: #22303c; }
.iesc.ok { background: rgba(255, 255, 255, .08); }
.iesc img { width: 78%; height: 78%; object-fit: contain; }
.iesc-s { font-size: clamp(9px, .78vw, 15px); font-weight: 800; color: #fff; letter-spacing: 0; }
.ij-p { margin-left: auto; flex: none; font-size: clamp(16px, 1.35vw, 26px); font-weight: 800; white-space: nowrap; }
.ij-p.hora { font-size: clamp(14px, 1.15vw, 22px); color: #8fa3b0; }
.ij-ao { flex: none; font-size: clamp(9px, .68vw, 13px); font-weight: 800; color: #ff4d5e; letter-spacing: 1px; white-space: nowrap; }
.ini-aviso { margin: 28px 0 0; color: #6f8593; font-size: 13px; max-width: 760px; }
.ini-aviso[hidden] { display: none !important; }

/* telas médias: marca e relógio em cima, abas embaixo, centradas */
#player-app > .pbar.topo2 { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marca dir" "abas abas"; }
#player-app > .pbar.topo2 .pbrand { grid-area: marca; }
#player-app > .pbar.topo2 .pdir { grid-area: dir; }
#player-app > .pbar.topo2 #tabs { grid-area: abas; justify-self: center; }
@media (max-width: 1180px) {
  #player-app > .pbar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marca dir" "abas abas"; }
  #player-app > .pbar .pbrand { grid-area: marca; }
  #player-app > .pbar .pdir { grid-area: dir; }
  #tabs { grid-area: abas; justify-self: center; }
}
@media (max-width: 1000px) {
  .ia { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ifj { grid-template-columns: 1fr; }
  .ih-tx { max-width: 100%; }
  .ih-arte { width: 100%; }
  .ih-pos { display: none; }
  .ih-arte::after { background: linear-gradient(90deg, rgba(5, 10, 24, .92) 0%, rgba(5, 10, 24, .7) 60%, rgba(5, 10, 24, .45) 100%); }
}
/* celular: abas roláveis numa fileira própria, destaque menor, 3 apps por fileira, jogos um embaixo do outro */
@media (max-width: 700px) {
  #player-app > .pbar { padding: calc(10px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); gap: 8px 10px; }
  #tabs, #player-app > .pbar.topo2 #tabs { justify-self: stretch; padding: 4px; }
  #tabs > button { height: 38px; padding: 0 12px; font-size: 14px; gap: 6px; }
  .ini { padding: 12px 12px 36px; }
  .ih { min-height: 0; border-radius: 20px; background: radial-gradient(circle at 92% 12%, #ffd28a 0 16px, rgba(255, 210, 138, .25) 20px, transparent 56px),
    linear-gradient(110deg, #050a18 35%, #1f3b73 80%, #3b5ba8); }
  .ih.com-arte { background: #050a18; }
  .ih-tx { padding: 22px 18px; }
  .ih-t { font-size: 26px; }
  .ibt { height: 44px; padding: 0 16px; font-size: 15px; }
  .ia { gap: 10px; }
  .iapp { aspect-ratio: 1 / .86; border-radius: 16px; }
  .iapp b { font-size: 13.5px; }
  .ij { padding: 12px 14px; }
  .psub { padding: 10px 12px 0; }
  html[data-vista="busca"] .psub { padding-top: 12px; }
  html[data-vista="busca"] #q.psearch { font-size: 16px; }
  .pmenu { right: 12px; }
}
@media (max-width: 520px) {
  .prel { display: none; }
  #tabs .tic { display: none; }
  #tabs > button { padding: 0 11px; }
}

/* ---------------------------------------------------------------- camada (YouTube, Música, Jogos) */
.ycam { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 50; background: #000; display: flex; flex-direction: column; }
.ycam[hidden] { display: none !important; }
html.ycam-on body { overflow: hidden; }
html.ycam-gira .ycam { width: 100vh; height: 100vw; transform-origin: 0 0; transform: rotate(90deg) translateY(-100%); }
.ycam-bar { flex: none; display: flex; align-items: center; gap: 12px; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0 max(12px, env(safe-area-inset-left));
  background: #0b0f14; color: #fff; box-sizing: border-box; }
.ycam-volta { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 15px; font-weight: 800; }
.ycam-volta .iic { width: 20px; height: 20px; }
.ycam-volta:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--anel); }
.ycam-t { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ycam-f { flex: 1; width: 100%; min-height: 0; border: 0; display: block; background: #000; }
.ycam.kids .ycam-bar { background: #3fa9f5; font-family: Nunito, "Varela Round", "Arial Rounded MT Bold", system-ui, sans-serif; }
.ycam.kids .ycam-volta { background: #fff; color: #2b5ea8; }
.ycam.kids .ycam-volta:focus-visible { box-shadow: 0 0 0 3px #ff5fa2; }

/* ---------------------------------------------------------------- Modo Kids */
html.kids-on body { overflow: hidden; }
html.kids-on #player-app > :not(#kids):not(#series):not(#stage):not(#dns-ask) { display: none !important; }
.kd { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 30; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  font-family: Nunito, "Varela Round", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif; color: #fff;
  background: linear-gradient(180deg, #5ec8ff 0%, #8fd8ff 45%, #c9b6ff 100%); }
.kd[hidden] { display: none !important; }
.kd-ceu { position: fixed; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* nuvens e sol: dentro da faixa livre do topo (.kd-deco, overflow escondido), com as bolhas DENTRO da caixa de cada nuvem */
.kd-deco { flex: 1 1 0; min-width: 0; align-self: stretch; position: relative; overflow: hidden; min-height: clamp(54px, 5.8vw, 112px); }
.kd-deco i { position: absolute; display: block; }
.kd-deco .kd-sol { right: 8%; top: 50%; width: clamp(40px, 4.6vw, 88px); height: clamp(40px, 4.6vw, 88px); margin-top: calc(clamp(40px, 4.6vw, 88px) / -2);
  border-radius: 50%; background: radial-gradient(circle, #fff6a8, #ffd23f 60%); box-shadow: 0 0 9px 2px #ffe47a; }
.kd-deco .kd-nuv { width: clamp(64px, 7.5vw, 144px); height: clamp(30px, 3.5vw, 66px); opacity: .92; }
.kd-deco .kd-nuv::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; border-radius: 999px; background: #fff; }
.kd-deco .kd-nuv::after { content: ""; position: absolute; left: 22%; bottom: 18%; width: 44%; height: 82%; border-radius: 50%; background: #fff; }
.kd-deco .kd-nuv.n1 { left: 10%; top: 12%; }
.kd-deco .kd-nuv.n2 { left: 46%; top: 40%; transform: scale(.72); transform-origin: 0 0; opacity: .8; }
.kd-grama { position: absolute; left: -10%; right: -10%; bottom: -140px; height: 300px; border-radius: 50% 50% 0 0; background: #7ed957; }
.kd-grama.g2 { left: 47%; right: -16%; bottom: -170px; background: #5cc74a; }
.kd-topo, .kd-home, .kd-sub { position: relative; z-index: 1; }
.kd-topo { display: flex; align-items: center; gap: clamp(10px, .94vw, 18px); flex-wrap: wrap;
  padding: max(clamp(14px, 2.3vw, 44px), env(safe-area-inset-top)) var(--ini-pad) 0; }
.kd-logo { width: clamp(44px, 3.85vw, 74px); height: clamp(44px, 3.85vw, 74px); object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .2)); flex: none; }
.kd-nm { font-size: clamp(22px, 2.1vw, 40px); font-weight: 900; color: #fff; text-shadow: 0 4px 0 #2b7bd8; min-width: 0; overflow-wrap: anywhere; }
.kd-tag { background: #ff5fa2; color: #fff; font-size: clamp(14px, 1.15vw, 22px); font-weight: 900; padding: 6px 16px; border-radius: 20px; box-shadow: 0 4px 0 #c43b7b; flex: none; }
.kd-selo { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #24477a; background: rgba(255, 255, 255, .6);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.kd-selo[hidden] { display: none !important; }
.kd-selo img { width: 18px; height: 18px; }
.kd-sair { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .88); color: #3a3a7a; border: 0; cursor: pointer;
  font: inherit; font-size: clamp(15px, 1.15vw, 22px); font-weight: 800; padding: 10px 20px; border-radius: 26px; }
.kd-sair .iic { width: 1.05em; height: 1.05em; }
.kd-sair:focus-visible, .kd-sair:hover { outline: none; box-shadow: 0 0 0 4px #ff5fa2; }
.kd-oi { text-align: center; margin: clamp(18px, 3.4vw, 66px) 16px clamp(18px, 3vw, 58px); }
.kd-oi h1 { margin: 0; font-size: clamp(34px, 4.4vw, 84px); font-weight: 900; color: #fff; line-height: 1.08; text-shadow: 0 6px 0 #2b7bd8, 0 12px 30px rgba(0, 0, 0, .15); }
.kd-oi p { margin: 6px 0 0; font-size: clamp(17px, 1.56vw, 30px); font-weight: 800; color: #24477a; }
.kd-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 470px)); justify-content: center; gap: clamp(12px, 1.35vw, 26px);
  padding: 0 var(--ini-pad) clamp(60px, 8vw, 150px); }
.kd-grade .kc { min-height: clamp(96px, 9.6vw, 190px); }
.kd-grade .kc-em { font-size: clamp(42px, 5vw, 96px); }
.kd-grade .kc-tx b { font-size: clamp(20px, 2vw, 40px); }
.kd-oi { margin-top: clamp(12px, 2vw, 40px) !important; margin-bottom: clamp(14px, 2vw, 40px) !important; }
.kc, .kj, .kyt { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.35vw, 26px); min-height: clamp(110px, 13vw, 250px); padding: 0 clamp(16px, 2.1vw, 40px);
  border-radius: clamp(26px, 2.3vw, 44px); border: 0; color: #fff; font: inherit; font-weight: 900; text-align: left; cursor: pointer; min-width: 0; box-sizing: border-box;
  box-shadow: 0 12px 0 rgba(0, 0, 0, .18), 0 20px 40px rgba(0, 0, 0, .12); text-shadow: 0 3px 0 rgba(0, 0, 0, .18); transition: transform .15s ease, box-shadow .15s ease; }
.kc-em { flex: none; font-size: clamp(48px, 6.25vw, 120px); line-height: 1; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .15)); text-shadow: none; }
.kc-tx { min-width: 0; }
.kc-tx b, .kj b { display: block; font-size: clamp(22px, 2.3vw, 44px); font-weight: 900; line-height: 1.1; overflow-wrap: anywhere; }
.kc-tx small { display: block; font-size: clamp(13px, 1.15vw, 22px); font-weight: 800; opacity: .92; margin-top: 4px; }
.kc:hover, .kc:focus-visible, .kj:hover, .kj:focus-visible, .kyt:hover, .kyt:focus-visible { outline: none; transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 0 0 7px #fff, 0 14px 0 rgba(0, 0, 0, .18), 0 30px 60px rgba(0, 0, 0, .2); z-index: 2; }
.k1 { background: linear-gradient(135deg, #ff7aa8, #ff4d7d); } .k2 { background: linear-gradient(135deg, #ffb340, #ff8a00); } .k3 { background: linear-gradient(135deg, #8b6cff, #6a3dff); }
.k4 { background: linear-gradient(135deg, #2ed3a0, #0fae7e); } .k5 { background: linear-gradient(135deg, #3fb8ff, #1d82e8); } .k6 { background: linear-gradient(135deg, #ff6b6b, #e63946); }
.kd-sub { padding: 0 var(--ini-pad) 120px; }
.kd-sub[hidden], .kd-home[hidden] { display: none !important; }
.kd-subtopo { display: flex; align-items: center; gap: 16px; margin: clamp(18px, 2vw, 36px) 0 clamp(16px, 1.6vw, 30px); }
.kd-subtopo h2 { margin: 0; font-size: clamp(28px, 3vw, 56px); font-weight: 900; color: #fff; text-shadow: 0 5px 0 #2b7bd8; }
.kd-volta { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #2b5ea8; border: 0; cursor: pointer; font: inherit; font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 900; padding: 10px 20px 10px 12px; border-radius: 26px; box-shadow: 0 5px 0 rgba(0, 0, 0, .12); }
.kd-volta .iic { width: 1.2em; height: 1.2em; }
.kd-volta:focus-visible, .kd-volta:hover { outline: none; box-shadow: 0 0 0 4px #ff5fa2, 0 5px 0 rgba(0, 0, 0, .12); }
.kd-jg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: clamp(14px, 1.6vw, 30px); }
.kj { min-height: clamp(110px, 9vw, 170px); }
.kj .kc-em { font-size: clamp(44px, 4.2vw, 80px); }
.kyt { width: 100%; max-width: 760px; background: linear-gradient(135deg, #ff4d5e, #d61f3a); min-height: clamp(100px, 8vw, 150px); }
.kyt .ytl { background: #fff; }
.kyt .ytl::after { border-left-color: #ff0033; }
.kd-h3 { margin: clamp(26px, 2.6vw, 50px) 0 8px; font-size: clamp(22px, 1.9vw, 36px); font-weight: 900; color: #fff; text-shadow: 0 4px 0 #2b7bd8; }
.kd-msg { margin: 6px 0 12px; font-size: clamp(15px, 1.15vw, 22px); font-weight: 800; color: #24477a; }
.kd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.kchip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; border: 0; cursor: pointer; font: inherit; text-align: left;
  background: rgba(255, 255, 255, .9); color: #24477a; padding: 8px 18px; border-radius: 22px; box-shadow: 0 5px 0 rgba(0, 0, 0, .1); max-width: 100%; }
.kchip small { font-size: 11px; font-weight: 800; color: #ff3d8b; text-transform: uppercase; letter-spacing: .5px; }
.kchip span { font-size: clamp(15px, 1.05vw, 20px); font-weight: 900; overflow-wrap: anywhere; }
.kchip.on { background: #ff5fa2; color: #fff; }
.kchip.on small { color: #ffe1ef; }
.kchip:focus-visible, .kchip:hover { outline: none; box-shadow: 0 0 0 4px #fff, 0 5px 0 rgba(0, 0, 0, .1); }
.kd-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.kitem { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; border: 0; border-radius: 24px; background: #fff; color: #18325a;
  font: inherit; cursor: pointer; text-align: center; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); min-width: 0; }
.kitem-im { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #bfe6ff, #d9ccff); }
.kitem-im img { width: 100%; height: 100%; object-fit: contain; }
.k-ini { font-size: 28px; font-weight: 900; color: #2b5ea8; }
.kitem-n { font-size: 15px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kitem:focus-visible, .kitem:hover { outline: none; box-shadow: 0 0 0 5px #ff5fa2, 0 6px 0 rgba(0, 0, 0, .12); }
.kmais { grid-column: 1 / -1; justify-self: center; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 900; background: #fff; color: #2b5ea8;
  padding: 12px 26px; border-radius: 26px; }
.kmais:focus-visible { outline: none; box-shadow: 0 0 0 4px #ff5fa2; }
@media (max-width: 760px) {
  .kd-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 10px 90px; }
  .kd-grade .kc { flex-direction: column; justify-content: center; text-align: center; gap: 4px; min-height: 118px; padding: 12px 6px; border-radius: 24px; }
  .kd-grade .kc-em { font-size: 40px; }
  .kd-grade .kc-tx b { font-size: 16px; }
  .kd-grade .kc-tx small { font-size: 11px; }
  .kc:hover, .kc:focus-visible { box-shadow: 0 0 0 5px #fff, 0 10px 0 rgba(0, 0, 0, .18); }
  .kd-oi h1 { font-size: 32px; }
  .kd-topo { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .kd-sair { padding: 8px 14px; font-size: 14px; }
  .kd-sub { padding: 0 12px 90px; }
  .kd-itens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kd-deco .kd-nuv.n2 { display: none; }
  .kd-deco { margin: 0 -8px; min-height: 44px; }   /* o espaço dos dois gaps: o enfeite não empurra o "Sair" para a 2ª fileira */
}
@media (max-width: 380px) {
  .kd-selo span { display: none; }
  .kd-grade .kc-tx small { display: none; }
  .kd-grade .kc-tx b { font-size: 15px; }
}
/* código da TV para a revenda (menu) */
.cod-in { display: block; width: 100%; box-sizing: border-box; margin: 6px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 24px; font-weight: 800; letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.cod-in:focus { outline: none; border-color: var(--ac); }
.cod-bts { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cod-bts .btn { margin: 0; }
@media (prefers-reduced-motion: reduce) { .iapp, .kc, .kj, .kyt { transition: none; } }

/* ---------------------------------------------------------------- senha do Kids */
.kp { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(20, 40, 80, .6); overflow-y: auto; font-family: Nunito, "Varela Round", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif; }
.kp[hidden] { display: none !important; }
.kp-cx { width: min(400px, 100%); background: #fff; color: #24477a; border-radius: 32px; padding: 22px 22px 18px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  box-sizing: border-box; margin: auto; }
.kp-em { font-size: 40px; line-height: 1; }
.kp-cx h2 { margin: 8px 0 4px; font-size: 23px; font-weight: 900; line-height: 1.2; }
.kp-s { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #4a6a99; }
.kp-dots { display: flex; justify-content: center; gap: 10px; min-height: 22px; margin: 4px 0 6px; }
.kp-dots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #b8c9e6; box-sizing: border-box; }
.kp-dots i.on { background: #ff5fa2; border-color: #ff5fa2; }
.kp-msg { min-height: 20px; margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #e63946; }
.kp-tec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kp-k { height: 58px; border: 0; border-radius: 18px; background: #eef5ff; color: #24477a; font: inherit; font-size: 26px; font-weight: 900; cursor: pointer; }
.kp-k.x { font-size: 22px; }
.kp-k.ok { background: #2ed3a0; color: #fff; font-size: 22px; }
.kp-k:focus-visible, .kp-k:hover { outline: none; box-shadow: 0 0 0 4px #ff5fa2; }
.kp-k:active { transform: scale(.96); }
.kp-esq { margin: 12px 0 0; font-size: 12.5px; font-weight: 700; color: #6b7fa3; }
.kp-esq[hidden] { display: none !important; }
.kp-cancel { margin-top: 12px; border: 0; background: transparent; color: #4a6a99; font: inherit; font-size: 16px; font-weight: 800; padding: 10px 18px; border-radius: 18px; cursor: pointer; }
.kp-cancel:focus-visible, .kp-cancel:hover { outline: none; box-shadow: 0 0 0 3px #b8c9e6; }
