@font-face{font-family:Montserrat;src:url('/assets/montserrat-semibold.ttf') format('truetype');font-weight:400 600;font-display:swap}
@font-face{font-family:Montserrat;src:url('/assets/montserrat-extrabold.ttf') format('truetype');font-weight:700 900;font-display:swap}
:root{color-scheme:dark;--orange:#ff421b;--gold:#d2a54e;--text:#f2f2f7;--muted:#bdc1cd;--line:#ffffff1f;--cursor:url('/assets/kunai-cursor.svg') 1 1,auto}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#07101c;color:var(--text);font-family:Montserrat,Arial,sans-serif;font-size:14px;cursor:var(--cursor)}a,button{cursor:url('/assets/kunai-cursor.svg') 1 1,pointer}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:2px solid #ffd687;outline-offset:5px}button:disabled{opacity:.5}img{max-width:100%}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;background:#000;padding:12px;z-index:100}
.topbar{min-height:88px;padding:12px clamp(20px,3.8vw,74px);display:flex;align-items:center;gap:26px;background:#060d18ed;border-bottom:1px solid var(--line);position:relative;z-index:20}.small-logo{width:110px;flex-shrink:0;display:block}.small-logo img{display:block;width:110px;height:auto}.top-players{display:flex;gap:13px;align-items:center;min-width:0}.top-label{font-size:9px;line-height:1.6;letter-spacing:1.5px;color:#d9aa54;white-space:nowrap}.top-label span{display:block;color:#969ca9}.top-players ol{display:flex;gap:16px;list-style:none;margin:0;padding:0}.player-chip{display:flex;align-items:center;gap:8px;min-width:0}.medal{height:29px;width:25px;display:grid;place-items:center;font-size:11px;color:#f5d68a;background:linear-gradient(150deg,#916b2b,#312518);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);flex-shrink:0}.silver{color:#d9e0ec;background:linear-gradient(150deg,#8a92a2,#343844)}.bronze{color:#e4bb91;background:linear-gradient(150deg,#89623f,#362416)}.player-chip strong{font-size:10px;display:block;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-chip small{font-size:9px;color:#d5a55a;display:block;margin-top:4px}.topbar nav{display:flex;gap:22px;margin-left:auto;align-items:center;white-space:nowrap}.topbar nav a{font-size:12px;padding:14px 0;border-bottom:2px solid transparent}.topbar nav a:hover,.topbar nav a.active{color:#ff571f;border-bottom-color:#ff481f}.nav-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#8e939f;vertical-align:super;margin-left:2px}.download{border:1px solid #bc5934;color:#ff5e29;background:transparent;border-radius:3px;padding:11px 18px;white-space:nowrap;font-weight:800;font-size:12px}.download span{font-size:22px;margin-right:8px}.download:hover{background:#ab221323}.mobile-toggle{display:none;background:transparent;font-size:24px}
.hero{position:relative;min-height:calc(100svh - 88px);height:850px;max-height:1100px;overflow:hidden;background:#0a1830 url('/assets/background.webp') center center/cover no-repeat;isolation:isolate}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#030b1875 0%,#030b1820 48%,transparent 78%),linear-gradient(0deg,#060d18ba,transparent 22%);z-index:0}.hero-content{position:relative;z-index:5;width:47%;max-width:720px;padding:clamp(65px,9vh,110px) 0 170px clamp(28px,5.5vw,100px)}.hero-logo{display:block;width:100%;max-width:555px;height:auto;margin:0 0 20px -8px}.hero h1{font-size:clamp(32px,3.55vw,64px);line-height:1.09;letter-spacing:-1.4px;font-weight:800;margin:0 0 22px;white-space:nowrap}.hero h1 span{color:#ff421d}.hero-content>p{font-size:clamp(12px,1.25vw,21px);line-height:1.65;color:#c3c7d3;margin:0 0 27px}.actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.play{height:64px;min-width:258px;border:1px solid #fa6131;background:linear-gradient(180deg,#b82725,#841a20);box-shadow:0 0 0 2px #ff431a25,inset 0 0 16px #e1411f35,0 0 15px #ff411a25;display:flex;align-items:center;justify-content:center;gap:16px;padding:0 22px;border-radius:3px;letter-spacing:.2px;font-weight:800;font-size:17px;transition:background .2s,box-shadow .2s,transform .2s}.play svg{width:24px;height:24px;color:#fff0c8}.play>span{font-size:29px;font-weight:400}.play:hover{background:linear-gradient(#cf3028,#9a1e20);box-shadow:0 0 24px #ff431a50;transform:translateY(-2px)}.gameplay{display:flex;align-items:center;gap:10px;background:transparent;padding:8px 0;font-size:13px;color:#e4e5ec}.play-circle{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e6e8ef;border-radius:50%;font-size:24px;padding-left:3px}.gameplay:hover{color:#ff734b}
.characters{position:absolute;z-index:2;right:-2%;top:6%;bottom:0;width:62%;pointer-events:none}.character{position:absolute;height:104%;width:auto;max-width:none;object-fit:contain;object-position:bottom;filter:drop-shadow(0 8px 12px #0005);animation:float 7s ease-in-out infinite;will-change:transform}.minato{left:-9%;top:11%;height:100%;z-index:1;animation-delay:-2.5s}.madara{left:23%;top:0;z-index:3}.tobirama{left:61%;top:12%;height:99%;z-index:2;animation-delay:-4.7s}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}
.guild-panel{position:absolute;z-index:7;right:3.7%;bottom:6%;width:clamp(390px,36vw,600px);border:1px solid #ba923ce0;border-radius:8px;background:linear-gradient(125deg,#0b111bf5,#050b16f2);box-shadow:0 8px 32px #0005;padding:20px 24px}.guild-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;gap:16px}.guild-heading h2{font-size:15px;font-weight:600;margin:0}.guild-heading h2 span{color:#edc367;font-size:23px;margin-right:8px}.guild-heading>a{font-size:10px;color:#b8bdca;white-space:nowrap}.guild-heading>a span{font-size:20px;color:#e9ba64;margin-left:8px}.guild-panel ol{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(3,1fr)}.guild{padding:0 10px;text-align:center;min-width:0;border-right:1px solid var(--line)}.guild:last-child{border:0}.guild-crest{margin:auto auto 9px;width:43px;height:49px;display:grid;place-items:center;font-size:25px;color:#f3d799;background:linear-gradient(160deg,#772521,#31141c);border:1px solid #cbb064;border-radius:10px 10px 19px 19px}.guild:nth-child(2) .guild-crest{background:linear-gradient(160deg,#314461,#16253b);color:#b9d4ff}.guild:nth-child(3) .guild-crest{background:linear-gradient(160deg,#45314d,#21182f);color:#d5bcf3}.guild-name{font-size:11px;line-height:1.4;display:block;overflow-wrap:anywhere}.guild-stat{font-size:10px;color:#aeb5c5;display:block;margin-top:7px}.guild-rank{color:#d8ab5e;margin-right:5px;font-size:11px}.loading{color:#9aa4b8;font-size:11px;list-style:none}
footer{padding:18px 4%;display:flex;justify-content:space-between;gap:12px;color:#727e93;font-size:10px;background:#060d18;border-top:1px solid #ffffff0c}.footer-dot{color:#aa412a;margin:0 6px}.page{min-height:calc(100svh - 145px);padding:58px max(24px,6vw) 70px;background:linear-gradient(#060e1dea,#060e1df5),url('/assets/background.webp') center/cover fixed}.page-intro{max-width:1250px;margin:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:#dc9a5a}.page h1{font-size:clamp(30px,4vw,52px);margin:16px 0;letter-spacing:-1px}.page h1 span{color:#ff502b}.page-intro>p:last-child{color:#aeb8cb}.ranking-tabs{display:flex;gap:8px;max-width:1250px;margin:38px auto 20px;border-bottom:1px solid var(--line)}.ranking-tabs button{padding:14px 25px;background:transparent;color:#aeb8cb;border-bottom:2px solid transparent}.ranking-tabs button[aria-selected=true]{color:#ff6a38;border-bottom-color:#ff512c}.table-panel{max-width:1250px;margin:auto;background:#0c1629b0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#bdc5d3;background:#0b1425;padding:18px 22px;font-size:10px;letter-spacing:.7px;text-transform:uppercase}td{padding:17px 22px;border-top:1px solid #ffffff0a}tbody tr:nth-child(-n+3) td:first-child{color:#e6bd73;font-weight:800}tbody tr:hover{background:#ffffff04}.ranking-note{font-size:11px;color:#aab3c5;padding:16px 22px;margin:0}.updated{max-width:1250px;margin:20px auto;color:#758198;font-size:10px}.development{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center}.development-seal{font-size:55px;color:#d78c47}.development>p:not(.eyebrow){max-width:500px;line-height:1.8;color:#b8c1d1}.back-home{padding:13px 20px;margin-top:18px;border:1px solid #a94427;border-radius:4px;background:#85261d2b;color:#ffd1b7;font-size:12px}.back-home:hover{background:#85261d55}dialog{background:#0b1424;color:#f6f4f0;border:1px solid #a87940;border-radius:10px;padding:34px;max-width:440px;width:calc(100% - 40px);box-shadow:0 25px 80px #000b}dialog::backdrop{background:#020610b8;backdrop-filter:blur(5px)}dialog h2{font-size:23px}dialog p:not(.eyebrow){font-size:13px;line-height:1.8;color:#bdc6d8}.dialog-close{position:absolute;right:12px;top:8px;font-size:27px;background:none;color:#b7c0d0}.data-status{position:fixed;bottom:14px;left:14px;padding:10px 15px;border:1px solid #79573a;background:#101929;max-width:350px;font-size:11px;color:#ddd0be;z-index:30}
@media(min-width:1800px){.hero-content{padding-top:100px}.characters{width:58%}.hero{height:calc(100svh - 88px)}}
@media(max-width:1280px){.topbar{gap:16px;padding-inline:25px}.small-logo{width:85px}.small-logo img{width:85px}.top-players ol{gap:9px}.player-chip strong{max-width:74px;font-size:9px}.topbar nav{gap:15px}.topbar nav a{font-size:11px}.top-label{display:none}.hero{height:760px}.hero-content{width:47%;padding-top:75px}.hero h1{font-size:3.6vw}.characters{right:-4%;width:65%}.guild-panel{right:3%;width:41%;padding:17px}.play{min-width:210px;height:57px;font-size:14px}.actions{gap:16px}.gameplay{font-size:11px}}
@media(max-width:1000px){.top-players{display:none}.topbar{min-height:75px}.small-logo{width:95px}.small-logo img{width:95px}.hero{min-height:790px;height:calc(100svh - 75px)}.hero-content{width:50%;padding-left:30px;padding-top:70px}.hero h1{font-size:4vw}.hero-content>p{font-size:13px}.characters{top:15%;right:-7%;width:68%}.guild-panel{bottom:35px;width:49%}.guild-heading h2{font-size:13px}.guild-name{font-size:10px}.guild-stat{font-size:9px}.actions{gap:15px}.play{min-width:205px}}
@media(max-width:700px){.topbar{padding:9px 18px;gap:16px;min-height:72px}.small-logo{width:85px}.small-logo img{width:85px}.mobile-toggle{display:block;margin-left:auto}.download{padding:8px 12px;font-size:10px}.download span{font-size:18px;margin-right:3px}.topbar nav{display:none;position:absolute;top:71px;left:0;right:0;background:#07101ff7;padding:15px 24px;flex-wrap:wrap;gap:25px;border-bottom:1px solid var(--line)}.topbar nav.open{display:flex}.hero{height:auto;min-height:1100px;background-position:62% top;background-size:auto 1100px}.hero-shade{background:linear-gradient(180deg,#02081720,#030b1860 35%,#030b1800 55%,#030b18ef 100%)}.hero-content{width:100%;padding:34px 25px 0;max-width:540px;margin:auto}.hero-logo{width:85%;max-width:360px;margin:0 0 18px -5px}.hero h1{font-size:clamp(28px,7.5vw,43px);margin-bottom:17px}.hero-content>p{font-size:12px;margin-bottom:22px}.actions{gap:17px}.play{font-size:13px;height:52px;min-width:195px;padding:0 13px;gap:10px}.play svg{width:20px}.gameplay{font-size:10px;gap:7px}.play-circle{width:26px;height:26px;font-size:19px}.characters{top:420px;left:-5%;right:auto;width:110%;height:510px;bottom:auto}.character{height:105%}.minato{left:-3%;top:7%;height:100%}.madara{left:29%;top:0;height:104%}.tobirama{left:62%;top:11%;height:94%}.guild-panel{left:20px;right:20px;bottom:22px;width:auto;padding:17px 13px}.guild-panel ol{margin-top:17px}.guild-heading h2{font-size:12px}.guild-heading a{font-size:9px}.guild-name{font-size:9px}.guild-crest{width:36px;height:40px;font-size:21px}.guild-stat{font-size:8px}footer{font-size:8px;padding:14px 20px}.page{padding:35px 20px 55px}.ranking-tabs{margin-top:25px}.ranking-tabs button{padding:12px 17px;font-size:12px}table{font-size:10px}th,td{padding:14px 15px}.page h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.character{animation:none;will-change:auto}.play{transition:none}}

/* Keep all three portraits visible, including the narrow mobile composition. */
.minato{left:-15%}.madara{left:16%}.tobirama{left:43%}
.topbar .small-logo,.topbar .small-logo img{width:56px;height:56px}.topbar .small-logo img{object-fit:contain}
.home-view{background:#07101c url('/assets/background.webp') center top/cover fixed no-repeat}
.home-view .hero{background:transparent}
.topbar{background:#07101c66;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom-color:#ffffff24}
.topbar .small-logo,.topbar .small-logo img{width:96px;height:48px}
.characters{right:0;top:14%;bottom:auto;width:60%;height:76%}
.character{height:auto;width:54%;object-position:top;filter:drop-shadow(0 8px 16px #0005);mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%)}
.kurenai{left:-8%;top:8%;z-index:1;animation-delay:-2.5s}
.kushina{left:27%;top:0;z-index:3}
.mei{left:55%;top:8%;z-index:2;animation-delay:-4.7s}
@media(max-width:1280px){.characters{width:63%;top:16%;height:77%}}
@media(max-width:1000px){.characters{width:65%;top:21%;height:73%}}
@media(max-width:700px){.hero{min-height:980px}.home-view{background-position:62% top;background-size:auto 1150px;background-attachment:scroll}.characters{top:420px;left:-5%;right:auto;width:110%;height:390px}.character{width:54%;height:auto}.kurenai{left:-12%;top:7%}.kushina{left:24%;top:0}.mei{left:58%;top:7%}}
@media(max-width:700px){.topbar{flex-wrap:wrap;row-gap:7px}.top-players{display:flex;order:4;width:100%}.top-players ol{width:100%;justify-content:space-between;gap:6px}.top-label{display:none}.player-chip{gap:5px}.player-chip strong{max-width:60px;font-size:8px}.player-chip small{font-size:8px}.medal{width:22px;height:25px}.topbar nav{top:100%}.minato{left:-15%}.madara{left:16%}.tobirama{left:43%}}

/* Dark shinobi scrolls: lightweight native UI, live ranking retained. */
.play{position:relative;border:1px solid #ba914b;border-radius:2px;background:linear-gradient(90deg,#1a1513,#30201b 50%,#1a1513);box-shadow:inset 0 0 0 3px #090a0b,inset 0 0 0 4px #81643d,0 8px 22px #0005;color:#f8dca2;margin-inline:9px}
.play::before,.play::after{content:"";position:absolute;top:-7px;bottom:-7px;width:15px;border:1px solid #b49358;border-radius:5px;background:linear-gradient(90deg,#090b0e,#675039 45%,#241b16 80%,#090b0e);box-shadow:0 3px 8px #0007}
.play::before{left:-9px}.play::after{right:-9px}
.play:hover{background:linear-gradient(90deg,#261a16,#4a2d20,#261a16);box-shadow:inset 0 0 0 3px #090a0b,inset 0 0 0 4px #bd9555,0 8px 26px #0007}
.ranking-menu{position:relative;display:flex;align-items:center;align-self:stretch}
.ranking-scroll{position:absolute;left:50%;right:auto;top:calc(100% - 1px);bottom:auto;width:350px;max-width:calc(100vw - 40px);padding:25px 22px;border:1px solid #997743;border-radius:3px;background:linear-gradient(110deg,#161519fa,#0b0e14fa);box-shadow:inset 0 0 0 4px #070a0e,inset 0 0 0 5px #4f3d26,0 18px 40px #0009;opacity:0;visibility:hidden;transform:translate(-50%,-8px) scaleY(.96);transform-origin:top;transition:opacity .18s,transform .22s,visibility .22s;white-space:normal;z-index:30}
.ranking-scroll::before,.ranking-scroll::after{content:"";position:absolute;left:-9px;right:-9px;height:13px;border:1px solid #ac874c;border-radius:5px;background:linear-gradient(180deg,#100e0d,#695039 45%,#201813);box-shadow:0 3px 7px #0005}
.ranking-scroll::before{top:-7px}.ranking-scroll::after{bottom:-7px}
.ranking-menu:hover .ranking-scroll,.ranking-menu:focus-within .ranking-scroll{opacity:1;visibility:visible;transform:translate(-50%,0) scaleY(1)}
.ranking-scroll .guild-heading{padding-bottom:12px}.ranking-scroll .guild-heading h2{font-size:14px;color:#e6c58a}
.topbar nav .ranking-scroll a{border:0;padding:0;color:inherit;font-size:10px}.topbar nav .ranking-scroll a:hover{color:#f2cd85}
.ranking-scroll ol{display:flex;flex-direction:column;gap:13px;margin-top:16px}
.ranking-scroll .guild{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #ffffff12;padding:0 0 11px;text-align:left}.ranking-scroll .guild:last-child{border:0;padding-bottom:0}
.ranking-scroll .guild>a{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.ranking-scroll .guild-crest{width:30px;height:34px;flex-shrink:0;margin:0;font-size:17px}.ranking-scroll .guild-name{font-size:11px}.ranking-scroll .guild-stat{white-space:nowrap;margin:0;font-size:9px}
@media(max-width:700px){.hero{min-height:830px}.ranking-scroll{left:0;transform:translate(0,-8px) scaleY(.96);width:min(350px,calc(100vw - 48px))}.ranking-menu:hover .ranking-scroll,.ranking-menu:focus-within .ranking-scroll{transform:translate(0,0) scaleY(1)}.ranking-scroll .guild-heading>a{font-size:9px}.ranking-scroll .guild-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ranking-scroll{transition:none}}

/* Transform the composited portrait layer; keep the PNG mask static inside it. */
.portrait{position:absolute;width:54%;animation:portrait-float 8s ease-in-out infinite;will-change:transform;backface-visibility:hidden;isolation:isolate}
.portrait .character{position:relative;display:block;width:100%;height:auto;animation:none;will-change:auto;filter:none;object-fit:contain;mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%)}
.portrait.kurenai{animation-duration:8.4s;animation-delay:-2.5s}.portrait.mei{animation-duration:9.2s;animation-delay:-4.7s}.portrait.kushina,.portrait.kushina{animation-duration:8s}
@keyframes portrait-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-14px,0)}}
@media(prefers-reduced-motion:reduce){.portrait{animation:none;will-change:auto}}

/* BR Coin shop */
.shop-nav{color:#ffda90!important;background:linear-gradient(135deg,#572110,#9b3d17);border:1px solid #d39947;border-radius:6px;padding:10px 16px!important;box-shadow:0 0 16px #e7781920}
.shop-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;max-width:960px}.shop-card{padding:28px;background:#0a111cde;border:1px solid #ad804544;border-radius:10px}.shop-card h2{margin-top:0;color:#edc98b}.shop-card p{line-height:1.7;color:#c1c5ce}.shop-card label{display:block;margin:20px 0 8px}.shop-card input:not([type=checkbox]),.shop-card textarea{width:100%;min-width:0;padding:13px;border:1px solid #685944;border-radius:5px;background:#0b1019;color:#eee;font:inherit}.shop-card button{cursor:pointer;padding:12px 20px;border:1px solid #a67c45;border-radius:5px;background:#241c17;color:#f5d7a5;font:inherit}.shop-card button:disabled{opacity:.45;cursor:not-allowed}.coin-packs,.payment-buttons{display:flex;gap:10px;flex-wrap:wrap}.coin-packs button{flex:1}.character-check{display:flex;gap:8px}.character-check input{flex:1}.confirm-destination{font-size:13px;line-height:1.6}.confirm-destination input{margin-right:7px}.payment-buttons button{flex:1;background:#85391f}#coin-price{display:block;margin-top:12px;font-size:28px;color:#ffe0aa}#payment-result{margin-top:24px;max-width:960px}#pix-qr{max-width:100%;display:block;background:white;border-radius:6px}#pix-qr[hidden]{display:none}#pix-code{height:90px;resize:vertical}#checkout-link{margin:15px 0}#shop-message,#character-result{min-height:22px}body:not(.home-view) .portrait{animation-play-state:paused}@media(max-width:700px){.shop-layout{grid-template-columns:1fr}.shop-card{padding:20px}.character-check{flex-wrap:wrap}.character-check button{width:100%}}

/* Payment fireworks */
/* ==========================================================================
   fogos.css  -  fogos de artificio de caracteres da tela de pagamento
   --------------------------------------------------------------------------
   Gerado a partir de fogos.py (FOGOS_CSS). Nao edite na pagina.
   O canvas e criado e destruido pelo JS, aqui esta apenas como ele se
   posiciona por cima do resto e como fica o aviso do modo sem animacao.
   ========================================================================== */

/* Fixo e sem captura de clique porque a tela de sucesso continua clicavel
   durante a comemoracao, o jogador pode querer ir para o Download antes dos
   4 segundos acabarem.
   Escrevo top/left/right/bottom E inset: o inset e recente e os navegadores
   antigos que ainda entram no site pelo celular fraco ignoram a linha, ficando
   com um canvas de posicao indefinida sobre o layout.
   O maior z-index do site hoje e 200 (nav e modais), entao qualquer valor alto
   resolve, mas deixo perto do teto de inteiro para nunca ter que revisitar. */
.ndbo-fogos {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2147483000;
}

/* Nao uso image-rendering: pixelated aqui. Em tela retina o bitmap e maior que
   a caixa CSS e o navegador reduz, entao pixelated serrilharia os caracteres em
   vez de deixa-los pixelados. O ar retro vem do JS, que arredonda as posicoes
   para uma grade e usa fonte mono. */

/* Modo sem animacao: quem pediu prefers-reduced-motion nao recebe nada se
   mexendo, so este bilhete parado por 1,2s. Fica no topo, nao no centro,
   porque o centro e onde mora o recibo do pagamento e cobri-lo seria pior que
   nao comemorar. */
.ndbo-fogos__aviso {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483000;
  pointer-events: none;
  max-width: calc(100% - 24px);
  padding: 8px 16px;
  border: 1px solid rgba(255, 115, 0, .45);
  border-radius: 999px;
  background: rgba(12, 10, 9, .82);
  color: #E8B341;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Separated splash portraits and dark scroll shop button */
.characters{width:70%;right:5%;top:14%}.portrait{width:40%}.portrait.kurenai{left:-1%;top:8%}.portrait.kushina{left:32%;top:0}.portrait.mei{left:65%;top:8%}
.topbar .shop-nav{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:105px;height:43px;padding:0 19px!important;color:#ffe3ae!important;border:1px solid #b58749;border-radius:3px;background:linear-gradient(180deg,#51301b 0,#27190f 14%,#342214 50%,#1e150f 87%,#5c391c 100%);box-shadow:inset 0 1px #e8bf7950,inset 0 -1px #000,0 4px 12px #0007;font-weight:800;transition:filter .2s,box-shadow .2s}
.topbar .shop-nav::before,.topbar .shop-nav::after{content:"";position:absolute;top:-4px;bottom:-4px;width:7px;border:1px solid #b08545;border-radius:4px;background:linear-gradient(90deg,#332312,#aa8146,#3a2715);box-shadow:1px 2px 4px #0008}.topbar .shop-nav::before{left:-3px}.topbar .shop-nav::after{right:-3px}.topbar .shop-nav:hover,.topbar .shop-nav.active{filter:brightness(1.18);box-shadow:inset 0 1px #e8bf7950,0 0 18px #b97f2928}.cart-icon{width:21px;height:21px;flex-shrink:0}
@media(max-width:1280px) and (min-width:701px){.characters{width:70%;right:5%;top:17%}}
@media(max-width:700px){.characters{left:-4%;right:auto;width:108%;top:440px;height:390px}.portrait{width:39%}.portrait.kurenai{left:0%;top:10%}.portrait.kushina{left:31%;top:0}.portrait.mei{left:62%;top:10%}.topbar .shop-nav{margin:5px 8px;width:calc(100% - 16px)}}

.store-coin-art{display:block;width:160px;height:160px;object-fit:contain;margin:0 auto 22px}



/* Unified upper-body framing: all three use matching square artwork. */
.characters{width:64%;right:1%;top:15%;height:72%;left:auto}
.portrait,.portrait.kurenai{width:42%}
.portrait.kurenai{left:0%;top:7%;z-index:2}
.portrait.kushina{left:32%;top:0%;z-index:3}
.portrait.mei{left:64%;top:7%;z-index:2}
.portrait .character,.portrait.kurenai .character{width:100%;height:auto;mask-image:linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%)}
.shop-availability{max-width:960px;padding:16px 20px;background:#3e2b164d;border:1px solid #bd874960;border-radius:6px;color:#f0cfa0;line-height:1.6;margin:22px 0}
@media(max-width:1000px) and (min-width:701px){.characters{width:64%;right:0;top:22%}}
@media(max-width:700px){.hero{min-height:830px}.characters{width:108%;left:-4%;right:auto;top:440px;height:360px}.portrait,.portrait.kurenai{width:40%}.portrait.kurenai{left:0;top:7%}.portrait.kushina{left:31%;top:0}.portrait.mei{left:62%;top:7%}}
/* R Coin: the purchase flow lives above the current page. */
body.shop-open{overflow:hidden}body.shop-open .portrait{animation-play-state:paused}
#shop.coin-dialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-width:540px;max-height:calc(100svh - 32px);padding:0;margin:auto;border:1px solid #b88b4c;border-radius:14px;background:linear-gradient(150deg,#172031,#0a101b 70%);color:#f4f1e9;overflow:auto;box-shadow:0 35px 120px #000c;font-size:14px}
#shop.coin-dialog::backdrop{background:#020713a6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.coin-close{position:absolute;right:18px;top:13px;z-index:2;color:#b7bdc9;background:transparent;border:0;font-size:28px;padding:3px 9px;cursor:pointer}
.coin-header{padding:27px 32px 0;border-bottom:1px solid #ffffff0b;background:linear-gradient(140deg,#a3712720,transparent)}
.coin-header .eyebrow{margin:0 0 8px;font-size:10px;color:#d5b273;letter-spacing:2px}
#shop .coin-brand{display:flex;align-items:center;gap:10px;font-size:36px;line-height:1;margin:0;color:#f0cf95;font-weight:800}
.r-coin-logo{display:block;position:relative;width:64px;height:64px;overflow:hidden;border-radius:50%;flex:none}.r-coin-logo img{position:absolute;width:154px;height:154px;max-width:none;left:-45px;top:-45px;object-fit:contain}
#shop #shop-summary{margin:10px 0 19px;color:#b8c2d4;font-size:12px;line-height:1.6}
.coin-progress{height:3px;background:#ffffff0b;margin:0 -32px}.coin-progress span{height:100%;display:block;width:25%;background:linear-gradient(90deg,#8e5f27,#e8c482);transition:width .2s}
.coin-body{padding:25px 32px 24px}#shop h3{font-size:21px;color:#f5e6c7;margin:0 0 20px}#shop label{display:block;margin:19px 0 8px;font-size:12px;color:#c7cbd3}
#shop input:not([type=checkbox]),#shop textarea{box-sizing:border-box;width:100%;padding:13px 15px;border:1px solid #586071;border-radius:6px;background:#080e19;color:#f5f4ef;font:inherit;outline:none}#shop input:focus,#shop textarea:focus{border-color:#d6ad6a;box-shadow:0 0 0 3px #d6ad6a20}
#shop button{font:inherit;cursor:pointer}#shop button:disabled{opacity:.4;cursor:not-allowed}#shop [hidden]{display:none!important}
#shop .coin-packs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}#shop .coin-packs button{background:#1a2230;color:#eace99;border:1px solid #8b7046;border-radius:5px;padding:13px 8px}
#shop .coin-packs button:hover{background:#49331e}#shop #coin-price{font-size:30px;margin:12px 0 17px;color:#f3d69d}
#shop .coin-primary{box-sizing:border-box;display:block;width:100%;padding:15px;text-align:center;border:1px solid #d6a65e;border-radius:5px;background:linear-gradient(#a67435,#70451d);box-shadow:inset 0 1px #ffe2a550;color:#fff1ce;font-weight:800;font-size:12px;letter-spacing:.5px;text-decoration:none;margin-top:18px;cursor:pointer}
#shop .coin-primary:hover{filter:brightness(1.13)}#shop .coin-back{display:block;width:100%;padding:13px;background:none;border:0;color:#aeb9cd;font-size:12px;margin-top:4px}
.coin-delivery{display:flex;gap:12px;align-items:center;border:1px solid #be944e30;padding:13px 15px;background:#b9904b0a;border-radius:6px}.coin-delivery>span{font-size:27px;color:#d4ad6e}.coin-delivery p{margin:0!important;font-size:12px!important;color:#aeb8c9!important;line-height:1.7!important}
#shop .coin-help{color:#aeb8c9;font-size:12px;line-height:1.7;margin:14px 0}
.coin-recipient{text-align:center;padding:17px;border:1px solid #b495572f;background:#ffffff03;border-radius:7px}.recipient-check{display:block;margin:0 auto 10px;width:30px;height:30px;border-radius:50%;background:#4c86532b;color:#95d08e;line-height:30px}.coin-recipient strong{font-size:22px}#shop .coin-recipient p{font-size:12px;margin:8px 0 0}
.coin-receipt{font-size:12px;margin:20px 0}.coin-receipt>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #ffffff0b}.coin-receipt dt{color:#939fb3}.coin-receipt dd{margin:0;color:#efd5a2;text-align:right}
#shop .confirm-destination{display:flex;gap:9px;align-items:flex-start;line-height:1.6}#shop input[type=checkbox]{accent-color:#c08e46;flex:none;margin-top:3px}
#shop .coin-method{position:relative;display:block;width:100%;text-align:left;padding:18px 35px 18px 18px;border:1px solid #8e7146;border-radius:7px;background:#17202d;margin:12px 0;color:#f2d49d}#shop .coin-method strong{display:block;font-size:17px}#shop .coin-method span{display:block;margin-top:7px;font-size:11px;color:#aebbd0}#shop .coin-method b{position:absolute;right:18px;top:22px;font-size:25px}#shop .coin-method:hover{background:#2b2a29}
#shop #shop-message{font-size:12px;line-height:1.6;color:#e0b46d;min-height:0;margin:10px 0 0}#shop #shop-message:empty{display:none}#shop .shop-availability{font-size:12px;margin:0 0 16px;padding:13px}
#shop #payment-result{padding:0;margin:0;max-width:none}#shop #payment-status{font-size:14px;line-height:1.7;color:#c1ccde}#shop #pix-qr{margin:18px auto;width:200px;height:200px;border:8px solid white;border-radius:6px}#shop #pix-code{font-size:11px;resize:vertical;min-height:74px}#shop .coin-reference{font-size:10px;color:#8f9bb0;overflow-wrap:anywhere}
#shop.payment-approved #payment-title{color:#aad793}#shop.payment-approved .coin-progress span{background:#8aba68}
@media(max-width:600px){#shop.coin-dialog{width:calc(100% - 20px);max-height:calc(100svh - 20px)}.coin-body{padding:22px}.coin-header{padding:24px 22px 0}.coin-progress{margin:0 -22px}}
.ndbo-fogos{position:fixed;inset:0;z-index:2147483647;pointer-events:none}.ndbo-fogos canvas{width:100%;height:100%}.ndbo-fogos__aviso{position:absolute;left:50%;top:20%;transform:translateX(-50%);color:#ffe2a6}
#shop:has([data-shop-step="confirm"]:not([hidden])) .coin-header{padding-top:20px}
#shop:has([data-shop-step="confirm"]:not([hidden])) .coin-body{padding-top:18px;padding-bottom:18px}
#shop:has([data-shop-step="confirm"]:not([hidden])) h3{margin-bottom:14px}
#shop .coin-recipient{padding:12px}.recipient-check{margin-bottom:7px;width:26px;height:26px;line-height:26px}
#shop .coin-receipt{margin:13px 0}#shop .coin-receipt>div{padding:8px 0}#shop .confirm-destination{margin:12px 0 8px}

/* Keep the entire approved panther R artwork visible, without cropping. */
#shop .r-coin-logo{width:76px;height:76px;overflow:visible;border-radius:0}
#shop .r-coin-logo img{width:76px;height:76px;left:0;top:0;object-fit:contain}
#shop .payment-clock{margin:18px 0;color:#b9c4d6;font-size:12px}
.payment-clock-track{height:5px;background:#ffffff12;border-radius:4px;overflow:hidden}
#payment-clock-fill{display:block;height:100%;width:100%;background:linear-gradient(90deg,#88602c,#e0be7f);transition:width 1s linear}
#shop .payment-clock p{font-size:12px;margin:8px 0;color:#b9c4d6}#payment-time{color:#f1d498}
#shop .payment-new{border:1px solid #97764a;border-radius:5px;margin-top:20px;color:#efd3a4}
@media(prefers-reduced-motion:reduce){#payment-clock-fill{transition:none}}

#shop .coin-terms{margin:16px 0;padding:14px 16px;border:1px solid #b08a483b;background:#080e1880;border-radius:6px}#shop .coin-terms summary{cursor:pointer;font-size:13px;color:#edcf96;font-weight:800}#shop .coin-terms p{font-size:12px;line-height:1.7;color:#b9c4d6;margin:12px 0}#shop .coin-terms strong{color:#e5d3b7}

/* Confirmed delivery: a persistent success state, with celebration above the modal. */
.payment-success-mark{display:none}#shop.payment-approved{border-color:#56cd8c;box-shadow:0 0 0 1px #56cd8c33,0 18px 90px #000a}#shop.payment-approved #payment-result{text-align:center;padding-top:6px}#shop.payment-approved .payment-success-mark{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 18px;border:2px solid #61e4a3;border-radius:50%;background:radial-gradient(circle,#184f3a,#0e241e);box-shadow:0 0 30px #4cdf9938;color:#80ffc1;font:700 42px system-ui}#shop.payment-approved #payment-title{color:#80ffc1;font-size:28px;margin-bottom:16px}#shop.payment-approved #payment-status{padding:18px;border:1px solid #45b77b66;border-radius:10px;background:#15382b80;color:#d0ffe8;font-size:16px;font-weight:600}#shop.payment-approved #payment-done{background:linear-gradient(#32885c,#236444);border-color:#70d5a2;color:white}#shop #payment-celebrate{width:100%;margin:12px 0;color:#94e5b8}#shop #payment-celebrate[hidden]{display:none}

/* Slightly larger portraits, preserving each character's horizontal centre. */
@media(min-width:701px){.portrait,.portrait.kurenai{width:46%}.portrait.kurenai{left:-2%}.portrait.kushina{left:30%}.portrait.mei{left:62%}}
@media(max-width:700px){.portrait,.portrait.kurenai{width:43%}.portrait.kurenai{left:-1.5%}.portrait.kushina{left:29.5%}.portrait.mei{left:60.5%}}

.top-player-outfit{display:block;width:32px;height:40px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.top-player-outfit[hidden]{display:none}

/* Cohesive moonlit trio: left Minato, centre Tsunade, right Orochimaru. */
.characters{width:65%;right:1%;top:9%;height:85%}
.portrait{width:40%}
.portrait.minato{left:0%;top:7%;z-index:1;animation-duration:8.4s;animation-delay:-2.5s}
.portrait.tsunade{left:31%;top:0%;z-index:3;animation-duration:8s;animation-delay:0s}
.portrait.orochimaru{left:63%;top:7%;z-index:2;animation-duration:9.2s;animation-delay:-4.7s}
.portrait .character{mask-image:linear-gradient(to bottom,#000 0%,#000 69%,transparent 98%)}
@media(max-width:1000px) and (min-width:701px){.characters{top:19%;width:64%;right:0}}
@media(max-width:700px){.characters{left:0;right:auto;width:100%;top:435px;height:400px}.portrait{width:40%}.portrait.minato{left:-1%;top:7%}.portrait.tsunade{left:30%;top:0}.portrait.orochimaru{left:61%;top:7%}}

/* Larger hero artwork and complete regenerated Minato cloak. */
@media(min-width:1001px){.characters{width:66%;right:0%;top:3%;height:94%}.portrait{width:52%;height:auto}.portrait.minato{left:-3%;top:8%;height:auto}.portrait.tsunade{left:25%;top:0%}.portrait.orochimaru{left:53%;top:8%}.portrait .character{mask-image:linear-gradient(to bottom,#000 0%,#000 78%,transparent 100%)}}
@media(min-width:701px) and (max-width:1000px){.characters{width:66%;right:0;top:17%}.portrait{width:49%;height:auto}.portrait.minato{left:-3%;height:auto}.portrait.tsunade{left:25%}.portrait.orochimaru{left:53%}}
@media(max-width:700px){.characters{width:100%;left:0;top:425px}.portrait{width:47%;height:auto}.portrait.minato{left:-2%;height:auto}.portrait.tsunade{left:27%}.portrait.orochimaru{left:56%}.portrait .character{mask-image:linear-gradient(to bottom,#000 0%,#000 78%,transparent 100%)}}
@media(min-width:1001px){.portrait.minato{left:-12%}}

/* Shop beside Top 3; promotions have their own highlighted menu control. */
.top-players .shop-nav{flex-shrink:0;font-size:12px;font-weight:700;text-decoration:none}
.topbar nav .promotions-nav{padding:11px 16px;border:1px solid #d39b4d;border-radius:6px;color:#ffe0a8;background:linear-gradient(145deg,#75361c,#392518);box-shadow:0 0 18px #d5912520;transition:filter .25s,transform .25s}
.topbar nav .promotions-nav:hover{filter:brightness(1.15);transform:translateY(-1px);border-color:#efbd72}
@media(max-width:1100px) and (min-width:701px){.top-players{display:flex}.top-players ol,.top-players .top-label{display:none}}
@media(max-width:700px){.top-players{gap:10px}.top-players ol{width:auto;flex:1;min-width:0}.top-players .shop-nav{min-width:76px;width:auto;height:35px;margin:0;padding:0 10px!important;font-size:11px}.top-players .cart-icon{width:16px}.top-players .player-chip strong{max-width:48px}}
@media(prefers-reduced-motion:reduce){.topbar nav .promotions-nav{transition:none}}
