/* TELA DE PERSONAGEM estilo jogo: palco em tela cheia, troca de forma sem rolar, HUD chanfrado, trilho de cenas, barra de JOIN fixa */
body.cs { overflow: hidden; height: 100vh; background: #05030a; }
.cs .top { background: linear-gradient(180deg, rgba(5, 3, 10, .85), transparent); box-shadow: none; }
.cs #fx { z-index: 1; opacity: .85; }
/* palco */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.stage .modo { position: absolute; inset: 0; background: center / cover no-repeat; background-position: 66% 50%; opacity: 0; animation: kb 26s ease-in-out infinite alternate; }
.stage .modo video { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; display: block; }
@keyframes kb {from { scale: 1.02; } to { scale: 1.09; }}
.stage .modo.on { opacity: 1; z-index: 1; }
.stage .modo.entra { opacity: 1; z-index: 2; clip-path: circle(0 at var(--x, 50%) var(--y, 90%)); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.stage .modo.entra.abre { clip-path: circle(150% at var(--x, 50%) var(--y, 90%)); }
.stage .flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 90%), #fff 0, var(--c) 18%, transparent 60%); mix-blend-mode: screen; }
.stage .flash.vai { animation: clarao 1s ease-out; }
@keyframes clarao {0% { opacity: 0; } 18% { opacity: .9; } 100% { opacity: 0; }}
.stage .vinheta { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(5, 3, 10, .92) 0%, rgba(5, 3, 10, .55) 26%, rgba(5, 3, 10, 0) 48%, rgba(5, 3, 10, 0) 78%, rgba(5, 3, 10, .55) 100%),
              linear-gradient(0deg, rgba(5, 3, 10, .9) 0%, transparent 28%), radial-gradient(ellipse at 65% 45%, transparent 55%, rgba(0, 0, 0, .45) 100%); }
.stage .scan { display: none; }   /* linhas (scanline) tiradas a pedido */
/* seletor de garotas no topo */
.girlsel { display: flex; gap: 10px; margin: 0 auto 0 34px; }
.girlsel a { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .18); background: rgba(10, 10, 30, .6); filter: grayscale(.7) brightness(.7); transition: .25s; }
.girlsel a img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 12%; }
.girlsel a:hover, .girlsel a.on { filter: none; border-color: var(--g); box-shadow: 0 0 16px var(--g); transform: translateY(-2px); }
/* tela */
.tela { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.tela > * { pointer-events: auto; }
/* HUD chanfrado */
.hud { position: absolute; left: 3.2vw; top: 50%; translate: 0 -54%; width: min(470px, 34vw); padding: 26px 30px 28px; background: linear-gradient(160deg, rgba(20, 8, 26, .72), rgba(8, 4, 14, .6)); backdrop-filter: blur(10px); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; padding: 1.5px; background: linear-gradient(160deg, var(--c), transparent 45%, transparent 60%, var(--c)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; clip-path: inherit; }
.hud .kicker { color: var(--c); text-shadow: 0 0 10px var(--c); font-size: 11px; }
.hud .nome { font: 400 clamp(64px, 6.6vw, 112px)/.95 "Permanent Marker"; text-transform: none; margin: 6px 0 2px; color: #fff; text-shadow: 0 0 14px var(--c), 0 0 42px var(--c), 0 0 90px color-mix(in srgb, var(--c) 60%, transparent); transition: text-shadow .6s; }
.hud .forma { display: inline-block; font: 700 12px "Orbitron"; letter-spacing: .3em; color: #0a0510; background: var(--c); padding: 5px 12px; margin-bottom: 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .6s; }
.hud .fala { font: italic 600 20px "Rajdhani"; color: #ffd6e6; margin: 0 0 8px; }
.hud .bio { color: #d8dbf2; font-size: 16px; line-height: 1.45; margin: 0 0 16px; }
.hud [data-f] { transition: opacity .35s, translate .35s; }
.hud.troca [data-f] { opacity: 0; translate: -10px 0; }
.stats { display: grid; gap: 8px; margin-bottom: 16px; }
.stats .st { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font: 700 10px "Orbitron"; letter-spacing: .18em; color: #b9bde0; }
.stats .seg { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.stats .seg i { height: 9px; background: rgba(255, 255, 255, .08); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); transition: background .3s, box-shadow .3s; }
.stats .seg i.on { background: linear-gradient(90deg, var(--c2), var(--c)); box-shadow: 0 0 8px var(--c); }
.fav span { font: 700 10px "Orbitron"; letter-spacing: .2em; color: #8f93b8; }
.fav div { display: flex; gap: 8px; margin: 8px 0 18px; }
.fav i { width: 42px; height: 42px; display: grid; place-items: center; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); background: rgba(40, 14, 40, .9); }
.fav i:hover { background: linear-gradient(135deg, var(--c), var(--c2)); }
.fav i img { width: 24px; }
.hud .play { width: 100%; text-align: center; }
/* troca de forma */
/* trilho de cenas */
.rail { position: absolute; right: 2.4vw; top: 50%; translate: 0 -46%; display: flex; flex-direction: column; gap: 10px; width: 132px; }
.rail .lbl { font: 700 10px "Orbitron"; letter-spacing: .2em; color: #b9bde0; text-align: center; }
.rail a { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.rail a img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.75); transform: scale(1.06); transition: .35s; }
.rail a i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 22px; text-shadow: 0 0 12px var(--c); transition: .3s; }
.rail a:hover img { filter: none; transform: scale(1.12); }
.rail a:hover i { opacity: 0; }
.rail a.mais { aspect-ratio: auto; padding: 10px 0; text-align: center; font: 700 10px "Orbitron"; letter-spacing: .14em; color: #fff; background: color-mix(in srgb, var(--c) 35%, transparent); }
/* barra de join fixa */
.joinbar { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; height: 56px; display: flex; align-items: center; justify-content: center; gap: 22px; background: linear-gradient(90deg, transparent, rgba(10, 5, 16, .92) 20%, rgba(10, 5, 16, .92) 80%, transparent); border-top: 1px solid color-mix(in srgb, var(--c) 40%, transparent); font: 500 16px "Rajdhani"; color: #d8dbf2; }
.joinbar b { font: 700 13px "Orbitron"; letter-spacing: .16em; color: var(--c); text-shadow: 0 0 8px var(--c); }
.legal-mini { position: fixed; z-index: 6; right: 14px; bottom: 62px; font-size: 11px; color: rgba(200, 200, 230, .45); }
.legal-mini a { color: inherit; }
@media (max-width: 900px) {
  body.cs { overflow: auto; height: auto; }
  .girlsel { display: none; }
  .stage .modo, .stage .modo video { background-position: 72% 50%; object-position: 72% 50%; }
  .tela { position: relative; inset: auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 60vh 4vw 90px; gap: 16px; }
  .hud { position: relative; left: auto; top: auto; translate: none; width: auto; }
  .rail { position: relative; right: auto; top: auto; translate: none; width: auto; flex-direction: row; }
  .rail .lbl, .rail a.mais { display: none; }
  .rail a { flex: 1; }
  .legal-mini { display: none; }
}
/* ---- botoes de troca de cena no centro inferior: chamativos e com cara de clicavel ---- */
.modos { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; display: flex; gap: 22px; align-items: flex-end; }
.modos::before { content: "SWITCH SCENE  \25C2  \25B8"; position: absolute; left: 50%; top: -34px; translate: -50% 0; white-space: nowrap;
  font: 700 11px "Orbitron"; letter-spacing: .42em; color: var(--c); text-shadow: 0 0 10px var(--c); animation: chamaSS 2.4s ease-in-out infinite; }
@keyframes chamaSS { 50% { opacity: .55; letter-spacing: .5em; } }
.modos button { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; cursor: pointer; border: 0; color: #fff; overflow: hidden;
  background: rgba(14, 8, 22, .72); backdrop-filter: blur(8px); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: .3s; }
.modos button.on { background: linear-gradient(120deg, color-mix(in srgb, var(--c) 55%, transparent), rgba(14, 8, 22, .8)); box-shadow: inset 0 -3px 0 var(--c); }
.modos button:not(.on) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent); }
.modos button:not(.on):hover { background: linear-gradient(120deg, color-mix(in srgb, var(--c) 40%, transparent), rgba(14, 8, 22, .85)); }
.modos button:hover { transform: translateY(-3px); }
.modos button .thumb { position: relative; display: block; flex: none; font: 0/0 a; }
.modos button img { width: 128px; height: 72px; object-fit: cover; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); filter: grayscale(.6) brightness(.7); transition: .3s; }
.modos button.on img, .modos button:hover img { filter: none; }
.modos button > span:not(.thumb) { text-align: left; font: 500 12px "Rajdhani"; color: #aeb2d6; }
.modos button b { display: block; font: 700 17px "Orbitron"; letter-spacing: .16em; color: #fff; }
.modos button .play { position: absolute; inset: 0; display: grid; place-items: center; font: 0/0 a; }
.modos button .play i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 85%, #000); animation: anelSS 1.6s ease-out infinite; }
.modos button .play i::before { content: ""; margin-left: 4px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
@keyframes anelSS { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.modos button.on .play { display: none; }
.modos button .estado { display: flex; align-items: center; gap: 6px; width: fit-content; margin-top: 7px; padding: 4px 8px; font-style: normal; color: #0a0510; background: var(--c);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.modos button .estado .tx { font: 700 9.5px "Orbitron"; letter-spacing: .2em; color: inherit; }
.modos button:not(.on) .estado { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px var(--c); }
.modos button .estado .eq { display: none; gap: 2px; align-items: flex-end; height: 9px; font: 0/0 a; }
.modos button.on .estado .eq { display: inline-flex; }
.modos button .estado .eq i { width: 2px; background: #0a0510; animation: eqSS .9s ease-in-out infinite; }
.modos button .estado .eq i:nth-child(2) { animation-delay: -.3s; }
.modos button .estado .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eqSS { 0%, 100% { height: 3px; } 50% { height: 9px; } }
.modos button:not(.on)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  background-size: 260% 100%; animation: brilhoSS 2.8s ease-in-out infinite; }
@keyframes brilhoSS { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.modos button.cutuca { animation: cutucaSS .8s cubic-bezier(.36, .07, .19, .97); }
@keyframes cutucaSS { 10%, 90% { translate: -1px 0; } 20%, 80% { translate: 3px -2px; } 30%, 50%, 70% { translate: -5px 0; } 40%, 60% { translate: 5px -2px; } }
@media (max-width: 900px) {
  .modos { position: relative; left: auto; bottom: auto; translate: none; justify-content: center; align-items: stretch; gap: 10px; margin-top: 30px; }
  .modos::before { top: -24px; font-size: 9px; }
  .modos button { padding: 8px 14px 8px 8px; gap: 10px; flex: 1; }
  .modos button img { width: 64px; height: 44px; }
  .modos button b { font-size: 13px; }
  .modos button .estado .tx { font-size: 8px; letter-spacing: .12em; }
}
/* ---- controle remoto do jogo (mesma GUI da home, .cmd-gui) flutuando a direita, sobre a cena ---- */
.cs .cmd-gui.rc-char { right: 2.6vw; top: 50%; translate: 0 -56%; z-index: 6; }   /* igual a GUI da home: sem fundo e sem borda */
.cs .cmd-gui.rc-char .cn, .cs .cmd-gui.rc-char .cams span, .cs .cmd-gui.rc-char .dpad i { cursor: pointer; }
.cs .cmd-gui.rc-char .cams span { transition: .2s; }
.cs .cmd-gui.rc-char .dpad i { transition: .15s; }
.cs .cmd-gui.rc-char .dpad i.aperta { background: linear-gradient(135deg, var(--pink), var(--purple)); box-shadow: 0 0 14px var(--pink); }
/* botoes de cena alinhados embaixo do painel da esquerda (no centro cobriam a melhor parte da cena) — tablet/celular tem regras proprias em mobile.css */
.modos { left: 3.2vw; translate: none; }
/* ---- controle remoto TRAVADO: so a posicao atual e a CAM 1 acesas; o resto apagado com cadeado. Clique abre o convite premium ---- */
.rc-char.travado { --cad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='white'/%3E%3Cpath d='M8 11V7.5a4 4 0 0 1 8 0V11'/%3E%3C/svg%3E"); }
.rc-char.travado .hx, .rc-char.travado .cams span, .rc-char.travado .dpad i { position: relative; }
.rc-char.travado .hx:not(.on) img { opacity: .4; }
.rc-char.travado .hx:not(.on)::after { content: ""; position: absolute; right: 9px; bottom: 8px; width: 13px; height: 13px; background: var(--cad) center / contain no-repeat; filter: drop-shadow(0 0 4px var(--pink)); }
.rc-char.travado .cams span:not(.on) { opacity: .6; padding-right: 22px; }
.rc-char.travado .cams span:not(.on)::after { content: ""; position: absolute; right: 7px; top: 50%; translate: 0 -50%; width: 10px; height: 10px; background: var(--cad) center / contain no-repeat; }
.rc-char.travado .dpad i:not(.m), .rc-char.travado .sl { opacity: .55; }
.rc-char.travado .sliders { cursor: pointer; }
.rc-char.travado .cn { display: inline-flex; align-items: center; gap: 6px; }
.rc-char.travado .cn::before { content: ""; width: 11px; height: 11px; flex: none; background: var(--cad) center / contain no-repeat; }
.rc-char.travado .hx:hover::after, .rc-char.travado .cams span:hover::after { animation: cadeado .5s; }
@keyframes cadeado { 25% { rotate: -14deg; } 75% { rotate: 14deg; } }
/* convite "members only" no estilo da pagina: painel chanfrado com borda neon na cor dela, retrato ao fundo, nome em neon */
.pm { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 4vw; background: rgba(5, 3, 10, .72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pm.on { opacity: 1; pointer-events: auto; }
.pm-box { position: relative; width: min(600px, 92vw); max-height: 92vh; overflow: hidden auto; padding: 34px 38px 28px; background: linear-gradient(160deg, rgba(26, 10, 34, .96), rgba(8, 4, 14, .96));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); transform: scale(.94) translateY(12px); transition: transform .4s cubic-bezier(.2, .9, .3, 1.2); }
.pm-box::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; padding: 1.5px; background: linear-gradient(160deg, var(--c), transparent 45%, transparent 60%, var(--c));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; clip-path: inherit; }
.pm.on .pm-box { transform: none; }
.pm-foto { position: absolute; right: -40px; top: 0; height: 100%; width: 55%; object-fit: cover; object-position: 50% 15%; opacity: .32; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.pm-box > *:not(.pm-foto) { position: relative; z-index: 1; }
.pm-x { position: absolute !important; top: 18px; right: 22px; z-index: 3 !important; width: 40px; height: 40px; display: grid; place-items: center; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  background: color-mix(in srgb, var(--c) 22%, rgba(10, 5, 16, .8)); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.pm-x:hover { background: color-mix(in srgb, var(--c) 45%, rgba(10, 5, 16, .8)); }
.pm-k { display: flex; align-items: center; gap: 8px; font: 700 11px "Orbitron"; letter-spacing: .3em; color: var(--c); text-shadow: 0 0 10px var(--c); }
.pm-k .ico-ui { width: 15px; height: 15px; }
.pm h3 { margin: 10px 0 4px; line-height: 1; }
.pm h3 small { display: block; font: 700 15px "Orbitron"; letter-spacing: .3em; color: #fff; margin-bottom: 2px; }
.pm h3 b { display: block; font: 400 clamp(56px, 7vw, 92px)/.95 "Permanent Marker"; color: #fff; text-shadow: 0 0 14px var(--c), 0 0 42px var(--c), 0 0 90px color-mix(in srgb, var(--c) 60%, transparent); }
.pm-sub { display: inline-block; margin-top: 10px; padding: 5px 12px; font: 700 12px "Orbitron"; letter-spacing: .24em; color: #0a0510; background: var(--c); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.pm-ln { display: block; width: 220px; height: 2px; margin: 18px 0 14px; background: linear-gradient(90deg, var(--c), transparent); box-shadow: 0 0 10px var(--c); }
.pm-txt { max-width: 440px; margin: 0 0 16px; color: #d8dbf2; font-size: 16px; line-height: 1.5; }
.pm ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.pm li { position: relative; padding-left: 24px; color: #ece6f7; font: 600 15px "Rajdhani", sans-serif; letter-spacing: .02em; }
.pm li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; background: var(--c); box-shadow: 0 0 8px var(--c); clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
.pm-cta { display: block; width: 100%; text-align: center; }
.pm-selos { margin-top: 14px; text-align: center; font: 700 9.5px "Orbitron"; letter-spacing: .16em; color: #8f93b8; }
@media (max-width: 600px) { .pm-box { padding: 30px 22px 22px; } .pm-txt { font-size: 15px; } .pm-foto { width: 70%; opacity: .22; } }
@media (max-width: 600px) { .pm-cta { font-size: 11px !important; letter-spacing: .08em !important; padding-left: 10px; padding-right: 10px; } }
@media (max-width: 900px) { .cmd-gui.rc-char { display: none !important; } }   /* celular: sem o controle remoto nas paginas de personagem */
/* seletor de garotas em cima do cartao (movido do cabecalho pelo char2.js) */
.girlsel.no-hud { position: absolute; z-index: 5; left: 3.2vw; top: 84px; margin: 0; gap: 10px; padding: 6px 10px; border-radius: 40px; background: rgba(8, 4, 14, .55); backdrop-filter: blur(8px); }
.girlsel.no-hud a { width: 48px; height: 48px; }
@media (max-width: 900px) { .girlsel.no-hud { display: flex; position: relative; left: auto; top: auto; align-self: center; } }
.girlsel.no-hud.dentro { position: static; display: inline-flex; margin: 0 0 14px; padding: 0; background: none; backdrop-filter: none; }
header.hdr .drop, header.hdr .chars > a i { display: none !important; }   /* paginas de personagem: sem o drop de retratos (o seletor fica acima do cartao) */
