:root{--bg:#060a12;--panel:#0d1422;--line:#1d2b43;--blue:#55adff;--blue2:#287dff;--text:#f7faff;--muted:#91a0b6}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -10%,#14335d,#060a12 48%);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}a{text-decoration:none;color:inherit}header{height:72px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 6%;background:#060a12dd;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.logo{font-weight:950;letter-spacing:2px}.logo span{color:var(--blue)}nav{display:flex;align-items:center;gap:24px;color:#b7c5d9;font-size:14px}.discord,.back{padding:11px 15px;border:1px solid var(--line);border-radius:10px;background:#111a29;color:white}.menu{display:none;background:none;border:0;color:white;font-size:25px}.wrap{width:min(1080px,92%);margin:auto}.hero{padding:100px 0 85px}.tag{color:var(--blue);font-size:11px;font-weight:900;letter-spacing:2.5px}.hero h1{font-size:clamp(50px,8vw,88px);line-height:.96;margin:18px 0}.hero em{font-style:normal;color:var(--blue)}.hero p{max-width:650px;color:var(--muted);font-size:19px;line-height:1.7}.cta{display:inline-block;border:0;border-radius:11px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:white;padding:14px 21px;font-weight:900;box-shadow:0 12px 35px #287dff35}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;padding-bottom:100px}.card,.panel{background:#0d1422df;border:1px solid var(--line);border-radius:18px;padding:26px}.card b{color:var(--blue)}.card p,.muted{color:var(--muted);line-height:1.6}.panel{margin:45px auto 90px}.panelhead{display:flex;justify-content:space-between;align-items:center;gap:15px}.panel h2{font-size:32px;margin:10px 0 30px}.formstep{display:none}.formstep.active{display:block}.formstep h3{font-size:22px}.formstep label{display:block;font-weight:750;margin:18px 0}input,textarea{width:100%;margin-top:8px;background:#080e18;border:1px solid #1b2b43;color:white;border-radius:11px;padding:14px;font:inherit;outline:0}textarea{min-height:120px;resize:vertical}input:focus,textarea:focus{border-color:var(--blue)}.progress{height:5px;background:#172338;border-radius:9px;margin:25px 0}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue2),var(--blue));transition:.25s}.actions{display:flex;justify-content:space-between;gap:10px;margin-top:25px}.secondary{background:#111a29;border:1px solid var(--line);color:white;padding:13px 18px;border-radius:11px;font-weight:800}.hidden{display:none!important}.testwrap{padding:45px 0 90px}.testhead{display:flex;justify-content:space-between;align-items:end}.testhead h1{font-size:30px;margin:7px 0}.question{font-size:23px;line-height:1.45;font-weight:800}.option{display:flex;gap:13px;width:100%;text-align:left;margin:8px 0;padding:16px;background:#080e18;color:#dfe9f8;border:1px solid #1b2b43;border-radius:13px;font:inherit;cursor:pointer}.option i{font-style:normal;width:28px;height:28px;min-width:28px;border-radius:50%;display:grid;place-items:center;background:#17243a;color:#8fa4c1;font-weight:900}.option.selected{border-color:var(--blue);background:#10233c}.option.selected i{background:var(--blue);color:#06101a}.disabled{opacity:.45;pointer-events:none}.result{text-align:center;padding:40px 10px}.result .score{font-size:52px;color:var(--blue);font-weight:950}.result p{color:var(--muted)}footer{text-align:center;color:#68768b;padding:25px;border-top:1px solid var(--line);font-size:13px}
@media(max-width:760px){header{padding:0 16px}.menu{display:block}nav{display:none;position:absolute;left:10px;right:10px;top:72px;flex-direction:column;align-items:stretch;background:#0c1422;border:1px solid var(--line);border-radius:14px;padding:12px}.open nav{display:flex}nav a{padding:12px}.hero{padding:70px 0 55px}.hero h1{font-size:52px}.hero p{font-size:17px}.cards{grid-template-columns:1fr;padding-bottom:65px}.panel{width:96%;margin:25px auto 60px;padding:19px;border-radius:15px}.panel h2{font-size:27px}.testwrap{width:96%;padding:22px 0 60px}.testhead h1{font-size:24px}.question{font-size:19px}.option{font-size:15px;padding:14px}.actions>*{flex:1;text-align:center}.cta{width:100%;text-align:center}}

.hidden{display:none!important}.muted{opacity:.72}.statusbox{margin:24px 0;padding:24px;border:1px solid rgba(98,217,255,.25);border-radius:16px;background:rgba(98,217,255,.06)}.statuslabel{font-size:13px;text-transform:uppercase;letter-spacing:.12em;opacity:.7}.status{font-size:30px;font-weight:800;margin:8px 0}.status.success{color:#43d17a}.status.danger{color:#ff4d67}.timeline{display:grid;gap:16px;margin:24px 0}.tl{display:flex;gap:14px;opacity:.45}.tl.active{opacity:1}.tl>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#202936;border:1px solid #344154;flex:none}.tl.active>span{background:#62d9ff;color:#061018;border-color:#62d9ff;font-weight:800}.tl p{margin:5px 0 0;opacity:.7}.panelhead{gap:18px}.panelhead>div:last-child{display:flex;gap:8px;flex-wrap:wrap}header nav{display:flex;align-items:center;gap:14px}@media(max-width:760px){header nav{gap:8px;flex-wrap:wrap;justify-content:flex-end}header nav a{font-size:13px}.panelhead{align-items:flex-start;flex-direction:column}}
.staff-toolbar{display:flex;gap:10px;margin:20px 0;flex-wrap:wrap}.staff-toolbar input,.staff-toolbar select{margin-top:0;flex:1;min-width:220px}.staff-list{display:grid;gap:16px}.staff-card{background:#0a111d;border:1px solid var(--line);border-radius:16px;padding:20px}.staff-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.staff-top h3{margin:7px 0 3px}.app-id{color:var(--blue);font-weight:900}.status-pill{padding:8px 11px;border-radius:999px;font-weight:800;font-size:13px;background:#182335}.status-pill.success{background:#123d29;color:#6df0a0}.status-pill.danger{background:#451d28;color:#ff8497}.status-pill.review{background:#173451;color:#75cfff}.staff-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.staff-grid>div{padding:13px;border:1px solid #18263a;border-radius:12px;background:#080e18}.staff-grid b,.staff-grid span{display:block}.staff-grid b{font-size:12px;color:#9eb0c7;margin-bottom:6px}.staff-grid span{color:#e8f1ff;line-height:1.45}.staff-grid select{width:100%;margin:0;background:#111a29;border:1px solid #263850;color:white;border-radius:9px;padding:9px}.staff-actions{display:flex;gap:8px;flex-wrap:wrap}.staff-actions button{cursor:pointer;border:1px solid var(--line);font:inherit}.staff-actions .accept{background:#164d32;color:#7af0aa;border:1px solid #216b45;padding:13px 18px;border-radius:11px;font-weight:800}.staff-actions .reject{background:#4b1d28;color:#ff91a2;border:1px solid #70293a;padding:13px 18px;border-radius:11px;font-weight:800}@media(max-width:760px){.staff-grid{grid-template-columns:1fr}.staff-top{flex-direction:column}.staff-actions>*{flex:1;text-align:center}}
.logo{display:flex;align-items:center;gap:9px}.logo img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 0 9px rgba(85,173,255,.45))}.logo span{font-weight:950;letter-spacing:1.8px}.logo b{color:var(--blue)}
.staff-note{margin:14px 0;padding:15px;border:1px solid #18263a;border-radius:12px;background:#080e18}.staff-note label{display:block}.staff-note textarea{min-height:90px;margin-top:8px}.staff-note button{margin-top:8px;cursor:pointer}
.phase-box{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:14px 0;padding:15px;border:1px solid rgba(98,217,255,.2);border-radius:12px;background:rgba(98,217,255,.04)}.phase-box>div:first-child span{display:block;color:#c9d7e9;margin-top:5px}.phase-actions{display:flex;gap:8px;flex-wrap:wrap}.schedule-box{margin-top:16px;padding:18px;border:1px solid rgba(98,217,255,.25);border-radius:14px;background:linear-gradient(180deg,rgba(98,217,255,.07),rgba(8,14,24,.75))}.schedule-box h3{margin-top:0}.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.schedule-grid label{font-weight:800}.schedule-box .cta{border:0;cursor:pointer;font:inherit}.schedule-box input{margin-top:8px}@media(max-width:760px){.logo img{width:30px;height:30px}.phase-box{align-items:flex-start;flex-direction:column}.phase-actions{width:100%}.phase-actions>*{flex:1;text-align:center}.schedule-grid{grid-template-columns:1fr}}

.example-wrap{display:block;margin:18px 0}.example-wrap textarea{width:100%;box-sizing:border-box;margin-top:8px;min-height:120px}.test-answers{margin-top:16px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.02)}.test-answer-list details{margin-top:8px;padding:10px;border-radius:8px;background:rgba(255,255,255,.03)}.test-answer-list p{margin:7px 0;white-space:pre-wrap}

/* ===== SAFIRA RP — NOVO PORTAL DE REGRAS ===== */
.rules-page{background:#020b14;color:#eef7ff}.rules-top{height:76px;background:rgba(2,10,19,.94);border-bottom:1px solid #12365a;padding:0 3.2%;box-shadow:0 8px 30px #0008}.rules-top .logo span{display:flex;flex-direction:column;font-size:21px;line-height:1}.rules-top .logo small{font-size:7px;letter-spacing:.6px;color:#92a9bf;margin-top:5px}.rules-top nav a{padding:11px 15px;border-radius:10px}.rules-top nav a.active{border:1px solid #168dff;background:#0a3972;box-shadow:0 0 20px #008cff66;color:#fff}.rules-hero{height:205px;position:relative;overflow:hidden;background-image:url('/regras-hero.png');background-size:cover;background-position:center 16%;border-bottom:1px solid #1766a4}.rules-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,9,18,.76),rgba(1,20,40,.34),rgba(2,9,18,.76)),linear-gradient(0deg,#03101e 0%,transparent 65%)}.rules-hero-copy{position:relative;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-shadow:0 3px 25px #000}.rules-hero-copy>div{font-weight:900;letter-spacing:8px;color:#5fc6ff}.rules-hero-copy h1{font-size:64px;line-height:.9;margin:9px 0 12px;letter-spacing:3px;font-style:italic;background:linear-gradient(#fff,#80bfff 52%,#2466a9);-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 0 14px #138cff)}.rules-hero-copy p{font-size:12px;letter-spacing:2px;border:1px solid #187cd0;background:#05264ccc;padding:8px 22px;border-radius:999px;color:#bfe2ff}.rules-shell{width:min(1500px,97%);margin:-1px auto 55px;display:grid;grid-template-columns:255px 1fr;gap:18px}.rules-sidebar{background:linear-gradient(180deg,#06182a,#04111e);border:1px solid #143a5d;border-radius:16px;padding:18px 12px;min-height:720px}.rules-sidebar h3{font-size:13px;color:#4eb8ff;margin:4px 10px 16px;letter-spacing:1.2px}.side-cat{width:100%;display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#d7e7f7;padding:12px 13px;border-radius:10px;text-align:left;cursor:pointer;font:inherit;margin:2px 0}.side-cat span{width:24px;text-align:center;font-size:19px;color:#c9e5ff}.side-cat b{font-weight:650}.side-cat:hover{background:#0a2948}.side-cat.active{background:linear-gradient(90deg,#0864cf,#0a4eaa);box-shadow:inset 0 0 0 1px #32a8ff,0 0 17px #0078ff42;color:#fff}.rules-main{min-width:0}.category-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:16px 0}.category-card{padding:0;overflow:hidden;min-width:0;background:#061626;border:1px solid #143a5d;border-radius:13px;color:#fff;text-align:left;cursor:pointer;transition:.2s}.category-card:hover,.category-card.active{transform:translateY(-2px);border-color:#2ea9ff;box-shadow:0 0 20px #078eff35}.cat-photo{height:58px;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#14518d,#061523 72%);border-bottom:1px solid #16466e}.cat-photo span{font-size:29px;color:#dff2ff;filter:drop-shadow(0 0 9px #168fff)}.cat-info{padding:10px}.cat-info strong,.cat-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-info strong{font-size:12px}.cat-info small{font-size:9px;color:#718da9;margin:4px 0 7px}.cat-info em{display:inline-block;font-style:normal;font-size:9px;background:#073a70;border:1px solid #0c579b;color:#b8ddff;padding:4px 8px;border-radius:999px}.rules-content{background:linear-gradient(180deg,#061729,#04111e);border:1px solid #17436a;border-radius:16px;padding:22px}.rules-title{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid #12334f}.rules-title>div:first-child{display:flex;align-items:center;gap:15px}.bigicon{width:45px;height:45px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#0c8dff,#0756bb);border:1px solid #5fc4ff;font-size:23px;box-shadow:0 0 18px #007fff44}.rules-title h2{margin:0 0 4px;font-size:24px}.rules-title p{margin:0;color:#718ca7;font-size:12px}.rules-search{display:flex;align-items:center;gap:8px}.rules-search>span{margin-right:-35px;z-index:1;color:#80a9cc}.rules-search input{width:220px;margin:0;padding:11px 12px 11px 34px;background:#03101d;border:1px solid #195080;border-radius:11px}.rules-search b{white-space:nowrap;background:linear-gradient(145deg,#087cf0,#064ca5);padding:11px 13px;border-radius:10px;font-size:11px;border:1px solid #168fff}.rules-list{padding-top:15px;display:grid;gap:8px}.modern-rule{border:1px solid #102e49;border-radius:10px;background:#061a2c;overflow:hidden}.modern-rule summary{list-style:none;display:flex;align-items:center;gap:13px;padding:10px 13px;cursor:pointer}.modern-rule summary::-webkit-details-marker{display:none}.rule-num{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#0b8cff,#0752b2);border:1px solid #35afff;font-weight:900;box-shadow:0 0 13px #007cff44}.modern-rule summary div{min-width:0;flex:1}.modern-rule strong,.modern-rule small{display:block}.modern-rule strong{font-size:13px;margin-bottom:3px}.modern-rule small{font-size:10px;color:#7690aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modern-rule summary i{font-style:normal;color:#b8dbf8;font-size:18px;transition:.2s}.modern-rule[open] summary i{transform:rotate(180deg)}.rule-body{padding:0 65px 16px;color:#b4c9dc;font-size:13px;line-height:1.7}.no-rules{padding:40px;text-align:center;color:#7891a8}
@media(max-width:1150px){.category-cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:850px){.rules-shell{grid-template-columns:1fr}.rules-sidebar{min-height:0;display:none}.category-cards{grid-template-columns:repeat(2,1fr)}.rules-title{align-items:flex-start;flex-direction:column}.rules-search{width:100%}.rules-search input{flex:1;width:auto}.rules-hero-copy h1{font-size:48px}.rules-hero{height:175px}}@media(max-width:520px){.category-cards{grid-template-columns:1fr 1fr;gap:8px}.cat-photo{height:45px}.rules-content{padding:14px}.rules-search b{display:none}.rules-hero-copy h1{font-size:40px}.rules-hero-copy p{font-size:9px}.rule-body{padding-left:15px;padding-right:15px}.modern-rule small{display:none}}

/* =========================================================
   SAFIRA RP — FULL PREMIUM UI 2026
   Visual unificado em TODAS as páginas
   ========================================================= */
:root{--sf-bg:#020913;--sf-panel:#06172a;--sf-panel2:#08213b;--sf-line:#0b69c7;--sf-blue:#0797ff;--sf-cyan:#38c8ff;--sf-text:#f4f9ff;--sf-muted:#8faecb}
html{scroll-behavior:smooth} body{background:radial-gradient(circle at 75% -10%,rgba(0,130,255,.18),transparent 34%),linear-gradient(180deg,#020812 0%,#03101e 48%,#020812 100%)!important;color:var(--sf-text);min-height:100vh;background-attachment:fixed!important}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(rgba(2,9,19,.35),rgba(2,9,19,.88)),url('/safira-city-bg.svg') center/cover no-repeat;opacity:.72}
header{background:rgba(2,10,20,.92)!important;border-bottom:1px solid rgba(24,139,255,.32)!important;box-shadow:0 10px 35px rgba(0,0,0,.35);backdrop-filter:blur(18px);min-height:72px}
header .logo img{filter:drop-shadow(0 0 14px rgba(0,151,255,.55))} header nav a{border-radius:11px!important;padding:10px 13px!important;transition:.2s ease} header nav a:hover{background:rgba(0,132,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(44,170,255,.22)}
.wrap{position:relative;z-index:1}.panel,.card,.editor,.staff-card,.application-card{background:linear-gradient(145deg,rgba(7,28,50,.94),rgba(3,15,29,.94))!important;border:1px solid rgba(42,148,255,.28)!important;box-shadow:0 16px 50px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.03)!important;border-radius:18px!important}
.panel{overflow:hidden}.tag{color:#51c4ff!important;letter-spacing:.12em;font-weight:800}.cta{background:linear-gradient(135deg,#078cff,#0759d7)!important;border:1px solid #2cb8ff!important;box-shadow:0 8px 25px rgba(0,116,255,.28),inset 0 1px rgba(255,255,255,.2)!important;border-radius:12px!important}.cta:hover{transform:translateY(-2px);filter:brightness(1.12)}.secondary{background:rgba(7,28,50,.86)!important;border:1px solid rgba(44,168,255,.35)!important;border-radius:12px!important}
input,textarea,select{background:#031426!important;border:1px solid rgba(48,150,245,.28)!important;color:#eef8ff!important;border-radius:11px!important;outline:none}input:focus,textarea:focus,select:focus{border-color:#159cff!important;box-shadow:0 0 0 3px rgba(0,145,255,.11)!important}
footer{border-top:1px solid rgba(42,148,255,.18);background:rgba(1,7,14,.7);color:#7696b3!important}

/* Banner visual comum */
.sf-page-hero{max-width:1280px;margin:28px auto 22px;padding:0 22px}.sf-page-hero-inner{min-height:245px;border-radius:22px;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:34px;border:1px solid rgba(44,168,255,.35);box-shadow:0 20px 60px rgba(0,0,0,.38),0 0 35px rgba(0,123,255,.08);background:linear-gradient(90deg,rgba(2,10,22,.97) 0%,rgba(2,16,33,.72) 48%,rgba(1,12,25,.32) 100%),url('/safira-city-bg.svg') center/cover no-repeat}.sf-page-hero-inner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,119,255,.13));pointer-events:none}.sf-page-copy{position:relative;z-index:2;max-width:760px}.sf-kicker{font-weight:900;letter-spacing:.2em;color:#35baff;font-size:.78rem}.sf-page-copy h1{font-size:clamp(2.2rem,5vw,4.6rem);line-height:.92;margin:8px 0 12px;text-transform:uppercase;text-shadow:0 0 24px rgba(0,145,255,.32)}.sf-page-copy p{color:#a9c6df;max-width:680px;margin:0;font-size:1.02rem}.sf-pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.sf-pill{font-size:.78rem;font-weight:800;color:#dff4ff;background:rgba(0,111,221,.18);border:1px solid rgba(45,168,255,.35);padding:8px 11px;border-radius:999px}

/* Home / candidaturas */
body.sf-home .hero{min-height:470px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(39,151,255,.28);border-radius:24px!important;padding:52px!important;background:linear-gradient(90deg,rgba(2,10,21,.98),rgba(3,21,40,.68),rgba(2,12,25,.25)),url('/safira-city-bg.svg') center/cover no-repeat!important;box-shadow:0 24px 70px rgba(0,0,0,.4)}
body.sf-home .hero h1{font-size:clamp(3rem,7vw,6rem)!important;line-height:.88!important;text-transform:uppercase}body.sf-home .hero em{font-style:normal;color:#22adff;text-shadow:0 0 25px rgba(0,147,255,.35)}
.cards{gap:18px!important}.cards .card{position:relative;overflow:hidden;min-height:170px;padding:26px!important}.cards .card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#29c4ff,#076eff)}.cards .card b{font-size:2.1rem;color:#169eff!important;text-shadow:0 0 20px rgba(0,149,255,.35)}

/* Candidaturas */
body.sf-apply .panel{max-width:1050px;margin:auto}.panelhead{padding-bottom:20px;border-bottom:1px solid rgba(44,157,255,.16)}.formstep{padding:20px 0}.formstep h3{font-size:1.45rem;color:#eaf7ff}.progress{height:8px!important;background:#031426!important;border-radius:99px;overflow:hidden}.progress span{background:linear-gradient(90deg,#006cff,#2fc6ff)!important;box-shadow:0 0 16px rgba(0,154,255,.5)}

/* Staff dashboard */
body.sf-staff .wrap{max-width:1300px}.staff-list{display:grid;gap:14px}.staff-list>*{border-radius:16px!important}.status,.badge{border-radius:999px!important}

/* Teste */
body.sf-test .panel{max-width:950px;margin:auto}.testhead strong{background:#071e38;border:1px solid rgba(40,160,255,.4);padding:10px 14px;border-radius:12px;color:#62c8ff}.question{font-size:1.25rem!important;line-height:1.55}.option,.answer{border:1px solid rgba(41,139,232,.25)!important;background:#06192d!important;border-radius:13px!important}

/* Editor de regras */
body.sf-editor .editor{padding:20px!important}.toolbar{position:sticky;top:82px;z-index:5;background:rgba(2,12,24,.88);backdrop-filter:blur(12px);padding:12px;border:1px solid rgba(35,143,243,.22);border-radius:15px}

@media(max-width:780px){.sf-page-hero{padding:0 12px;margin-top:14px}.sf-page-hero-inner{min-height:210px;padding:24px;border-radius:17px}.sf-page-copy h1{font-size:2.5rem}body.sf-home .hero{min-height:420px;padding:28px!important}body.sf-home .hero h1{font-size:3.2rem!important}.cards{grid-template-columns:1fr!important}}


/* ===== REGRAS V3 — SAFIRA GLASS / PREMIUM ===== */
.rules-page{background:radial-gradient(circle at 55% -10%,#0b3156 0,#04111f 30%,#020810 72%);min-height:100vh}
.rules-top{height:82px;background:rgba(2,8,15,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(65,172,255,.18);position:sticky;top:0;z-index:50}
.rules-top nav a{font-weight:700;color:#a9bfd3}.rules-top nav a:hover{color:#fff;background:#0b2034}.rules-top nav a.active{background:linear-gradient(135deg,#0d82ff,#0750bd);border-color:#49b9ff;box-shadow:0 0 26px #008cff55}
.rules-hero{height:340px;border:0;background-position:center 28%;isolation:isolate}
.rules-hero:after{content:"";position:absolute;inset:auto 0 0;height:110px;background:linear-gradient(transparent,#020b14);z-index:1}
.rules-hero-shade{background:linear-gradient(90deg,rgba(1,6,13,.83),rgba(2,17,34,.18),rgba(1,6,13,.83)),linear-gradient(0deg,rgba(2,11,20,.88),transparent 70%)}
.rules-hero-copy{z-index:2;padding-top:12px}.hero-kicker{font-size:10px;letter-spacing:3px;font-weight:900;color:#7dd0ff;border:1px solid #2488cc;background:#061c31c7;padding:7px 12px;border-radius:999px;margin-bottom:12px}
.rules-hero-copy>div{font-size:17px;letter-spacing:10px;color:#75d5ff}.rules-hero-copy h1{font-size:88px;margin:8px 0 12px;letter-spacing:5px;filter:drop-shadow(0 0 22px #168fff)}
.rules-hero-copy p{font-weight:800;background:rgba(3,28,54,.78);box-shadow:0 0 25px #008cff24}
.hero-badges{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;justify-content:center}.hero-badges span{font-size:10px;font-weight:800;color:#c8e8ff;background:rgba(4,22,39,.8);border:1px solid #1d5b89;padding:8px 11px;border-radius:9px;backdrop-filter:blur(8px)}
.rules-shell{width:min(1540px,96%);grid-template-columns:270px 1fr;gap:22px;margin-top:-26px;position:relative;z-index:4}
.rules-sidebar{position:sticky;top:104px;height:max-content;min-height:0;padding:13px;background:linear-gradient(180deg,rgba(7,28,48,.94),rgba(3,14,25,.96));border:1px solid rgba(55,157,229,.25);box-shadow:0 18px 55px #0008, inset 0 1px #ffffff08;backdrop-filter:blur(18px)}
.side-head{display:flex;gap:11px;align-items:center;padding:9px 9px 15px;border-bottom:1px solid #143753;margin-bottom:8px}.side-head>span{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#138fff,#064eae);box-shadow:0 0 20px #078bff44}.side-head h3{margin:0;color:#fff;font-size:12px}.side-head small{display:block;color:#64829e;font-size:9px;margin-top:3px}
.side-cat{padding:11px 12px;border:1px solid transparent}.side-cat:hover{border-color:#164b72;background:#08233a}.side-cat.active{background:linear-gradient(90deg,#0b70df,#084a9e);border-color:#35aeff;box-shadow:0 7px 22px #006eff35,inset 0 1px #ffffff24}.side-cat span{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#0a2943;font-size:15px}.side-cat.active span{background:#ffffff16}
.side-help{margin-top:13px;padding:14px;border-radius:12px;background:linear-gradient(145deg,#082641,#061827);border:1px solid #17456a}.side-help b,.side-help small{display:block}.side-help b{font-size:11px}.side-help small{font-size:9px;line-height:1.5;color:#7e9ab4;margin:6px 0 10px}.side-help a{display:block;text-align:center;padding:8px;border-radius:8px;background:#0b64c9;color:#fff;font-size:10px;font-weight:800;text-decoration:none}
.section-eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:#5cbcff;margin:8px 2px 9px}
.category-cards{grid-template-columns:repeat(6,1fr);gap:10px;padding:0 0 16px}.category-card{position:relative;border-radius:15px;background:linear-gradient(155deg,#09223a,#04111e);border:1px solid #153d5f;box-shadow:0 10px 28px #0004}.category-card:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(120deg,transparent,#159cff10);pointer-events:none}.category-card:hover,.category-card.active{transform:translateY(-4px);border-color:#32adff;box-shadow:0 12px 30px #0007,0 0 24px #078eff30}.category-card.active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:#29aaff;box-shadow:0 0 12px #19a2ff}
.cat-photo{height:72px;background:radial-gradient(circle at 50% 20%,#1464a7,#071a2c 68%);position:relative;overflow:hidden}.cat-photo:after{content:"";position:absolute;width:90px;height:90px;border:1px solid #ffffff0d;border-radius:50%;top:-44px;right:-25px}.cat-photo span{font-size:31px}.cat-info{padding:11px 12px 12px}.cat-info strong{font-size:12px}.cat-info small{font-size:9px;margin:5px 0 8px}.cat-info em{background:#082e54;border-color:#155f9c;color:#8fd1ff}
.rules-content{border-radius:18px;padding:25px;background:linear-gradient(145deg,rgba(7,28,48,.95),rgba(3,14,25,.97));border:1px solid rgba(55,157,229,.28);box-shadow:0 20px 60px #0008,inset 0 1px #ffffff08}
.rules-title{padding-bottom:21px}.bigicon{width:52px;height:52px;border-radius:13px}.rules-title h2{font-size:27px}.rules-title p{font-size:11px;color:#7e9bb6}.rules-search input{height:42px;border-color:#1c527c;background:#020d17}.rules-search input:focus{outline:none;border-color:#28a8ff;box-shadow:0 0 0 3px #0b83ff1f}.rules-search b{box-shadow:0 0 18px #007dff30}
.rules-list{gap:10px}.modern-rule{border-radius:12px;background:linear-gradient(90deg,#071d31,#061726);border-color:#143a59;transition:.2s}.modern-rule:hover{border-color:#226b9f;transform:translateX(2px)}.modern-rule[open]{border-color:#2089d0;box-shadow:0 9px 24px #0005}.modern-rule summary{padding:12px 14px}.rule-num{width:42px;height:42px;border-radius:10px}.modern-rule strong{font-size:13px}.modern-rule small{font-size:10px;color:#7594af}.rule-body{margin:0 14px 14px 68px;padding:14px 16px;border-radius:10px;background:#03111e;border:1px solid #123653;color:#b9cee0;line-height:1.75}
@media(max-width:1150px){.category-cards{grid-template-columns:repeat(4,1fr)}.rules-hero-copy h1{font-size:72px}}
@media(max-width:850px){.rules-shell{grid-template-columns:1fr;margin-top:-10px}.rules-sidebar{display:none}.rules-hero{height:265px}.rules-hero-copy h1{font-size:58px}.hero-badges{display:none}.category-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.rules-hero{height:225px}.rules-hero-copy h1{font-size:46px}.hero-kicker{font-size:8px}.rules-hero-copy>div{font-size:12px}.category-cards{gap:8px}.cat-photo{height:58px}.rules-content{padding:15px}.rules-title h2{font-size:22px}.rule-body{margin:0 10px 10px;padding:12px}.rules-top{height:70px}}
/* REGRAS V5 — visual limpo sem fotografias */
.rules-page{background:#020a13!important;background-image:radial-gradient(circle at 55% -20%,#0a3158 0,transparent 38%)!important}
.rules-page .rules-hero{display:none!important}
.rules-page .rules-shell{width:min(1640px,98%)!important;grid-template-columns:275px 1fr!important;gap:22px!important;margin:24px auto 70px!important;position:relative!important;z-index:2!important}
.rules-page .rules-sidebar{top:104px!important;border-radius:14px!important;background:#061729!important;border:1px solid #174c79!important;padding:14px!important}
.rules-page .side-head{display:none!important}
.rules-page .side-cat{min-height:49px!important;border-radius:10px!important;margin:3px 0!important;font-size:14px!important}
.rules-page .side-cat span{background:transparent!important;color:#79c8ff!important;font-size:20px!important}
.rules-page .side-cat.active{background:linear-gradient(135deg,#087ee9,#0758bd)!important;border:1px solid #39b5ff!important;box-shadow:0 0 18px #087cff55!important}
.rules-page .side-cat.active span{color:#fff!important}
.rules-page .rules-sidebar:before{content:'REGRAS';display:block;color:#18a4ff;font-weight:900;letter-spacing:.08em;font-size:14px;padding:5px 12px 14px}
.rules-page .rules-overview{min-height:118px;display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:18px;padding:22px 26px;margin-bottom:16px;border:2px solid #119dff;border-radius:15px;background:linear-gradient(110deg,#0b3157,#061a2e 60%,#061322);box-shadow:0 0 25px #008dff26,inset 0 1px #ffffff0b}
.rules-page .overview-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#19b9ff,#0757d2);font-size:32px;color:#fff;box-shadow:0 0 22px #008dff55}
.rules-page .overview-copy h1{font-size:30px;margin:0 0 8px;letter-spacing:.02em}.rules-page .overview-copy p{margin:0;color:#aac7df;font-size:12px;letter-spacing:.04em}
.rules-page .overview-search{display:flex;align-items:center;gap:9px}.rules-page .overview-search input{width:265px;height:44px;margin:0;background:#04111f;border:1px solid #17639b;border-radius:10px;color:#fff;padding:0 15px 0 34px}.rules-page .overview-search>span{margin-right:-34px;z-index:2;color:#7aa5c6}.rules-page .overview-search b{white-space:nowrap;padding:13px 17px;border-radius:10px;background:linear-gradient(145deg,#118eff,#0758c9);font-size:12px;box-shadow:0 0 18px #008dff35}
.rules-page .category-cards{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:13px!important;padding:0 0 16px!important}
.rules-page .category-card{min-height:160px!important;padding:17px!important;border-radius:14px!important;background:linear-gradient(145deg,#071b2f,#04111f)!important;border:1px solid #145a8f!important;text-align:left!important;box-shadow:none!important}
.rules-page .category-card:hover,.rules-page .category-card.active{transform:translateY(-2px)!important;border-color:#20aaff!important;box-shadow:0 0 20px #008dff22!important}
.rules-page .category-card.active:after,.rules-page .category-card:before{display:none!important}
.rules-page .cat-photo{display:none!important}.rules-page .cat-icon-row{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.rules-page .cat-icon{font-size:36px;line-height:1;color:#159fff;text-shadow:0 0 16px #008dff66}.rules-page .cat-arrow{font-size:27px;color:#b8dcf5;line-height:.8}
.rules-page .cat-info{padding:0!important;min-height:0!important}.rules-page .cat-info strong{font-size:14px!important;color:#fff!important}.rules-page .cat-info small{display:block!important;font-size:10px!important;color:#87a8c2!important;margin:6px 0 12px!important}.rules-page .cat-info em{display:flex!important;justify-content:space-between!important;align-items:center!important;width:max-content;min-width:72px;padding:5px 9px!important;border-radius:999px!important;background:#06284a!important;border:1px solid #0877c7!important;color:#8ed5ff!important;font-size:9px!important}.rules-page .cat-info em span{font-size:16px;margin-left:8px}
.rules-page .rules-content{border:1px solid #138fe5!important;border-radius:14px!important;background:linear-gradient(145deg,#071d32,#04111f)!important;padding:22px!important;box-shadow:0 0 25px #008dff1c!important}
.rules-page .rules-title{border-bottom:1px solid #164c73!important}.rules-page .bigicon{background:linear-gradient(145deg,#17b5ff,#0756ce)!important;color:#fff!important}.rules-page .modern-rule{background:#071c30!important;border:1px solid #16496e!important}.rules-page .modern-rule:hover{border-color:#218acb!important}.rules-page .rule-num{background:linear-gradient(145deg,#159fff,#0756c9)!important}
@media(max-width:1250px){.rules-page .category-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}.rules-page .rules-overview{grid-template-columns:58px 1fr}.rules-page .overview-search{grid-column:1/-1}.rules-page .overview-search input{flex:1;width:auto}}
@media(max-width:850px){.rules-page .rules-shell{grid-template-columns:1fr!important;margin-top:15px!important}.rules-page .rules-sidebar{display:none!important}.rules-page .category-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rules-page .rules-overview{grid-template-columns:50px 1fr;padding:16px}.rules-page .overview-icon{width:50px;height:50px}.rules-page .overview-copy h1{font-size:21px}.rules-page .overview-search{grid-column:1/-1}.rules-page .overview-search b{padding:13px 10px}}
/* REGRAS V6 — simples, consistente e integrada no resto do site */
.rules-page{background:#060a12!important;background-image:radial-gradient(circle at 50% -18%,#12345d 0,transparent 42%)!important}
.rules-page .rules-top{height:72px!important;padding:0 6%!important;background:#060a12e8!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;backdrop-filter:blur(18px)!important}
.rules-page .rules-top .logo span{display:inline!important;font-size:inherit!important;line-height:normal!important;color:var(--blue)!important}.rules-page .rules-top .logo small{display:none!important}
.rules-page .rules-top nav{gap:18px!important;font-size:13px!important}.rules-page .rules-top nav a{padding:9px 10px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#b7c5d9!important}.rules-page .rules-top nav a:hover{color:#fff!important;background:#111a29!important}.rules-page .rules-top nav a.active{color:#fff!important;background:#13243b!important;box-shadow:inset 0 0 0 1px #2f7fd0!important}.rules-page .rules-top nav .discord{padding:10px 14px!important;border:1px solid var(--line)!important;background:#111a29!important}
.rules-page .rules-shell{width:min(1320px,92%)!important;grid-template-columns:230px minmax(0,1fr)!important;gap:20px!important;margin:34px auto 70px!important}
.rules-page .rules-sidebar{position:sticky!important;top:92px!important;min-height:0!important;padding:12px!important;border-radius:14px!important;background:#0b1422!important;border:1px solid #1c2b40!important;box-shadow:none!important}
.rules-page .rules-sidebar:before{content:'REGULAMENTO'!important;color:#8fb2d2!important;font-size:11px!important;letter-spacing:.12em!important;padding:8px 10px 12px!important}
.rules-page .side-cat{min-height:44px!important;padding:9px 10px!important;margin:2px 0!important;border-radius:9px!important;color:#c9d5e5!important;font-size:13px!important}.rules-page .side-cat span{width:28px!important;height:28px!important;font-size:16px!important;display:grid!important;place-items:center!important;background:#111f31!important;border-radius:7px!important;color:inherit!important}.rules-page .side-cat.active{background:#132a46!important;border:1px solid #286ba8!important;box-shadow:none!important}.rules-page .side-cat.active span{background:#167be0!important}
.rules-page .side-help{background:#0d1827!important;border:1px solid #1d3047!important}.rules-page .side-help a{background:#176fc7!important}
.rules-page .rules-overview{min-height:104px!important;grid-template-columns:54px 1fr auto!important;gap:16px!important;padding:20px!important;margin-bottom:18px!important;border:1px solid #263c55!important;border-radius:16px!important;background:#0d1726!important;box-shadow:none!important}.rules-page .overview-icon{width:50px!important;height:50px!important;border-radius:12px!important;background:#142a45!important;border:1px solid #2e6b9f!important;box-shadow:none!important;font-size:24px!important}.rules-page .overview-copy h1{font-size:25px!important;margin:0 0 5px!important}.rules-page .overview-copy p{font-size:11px!important;color:#8498ae!important}.rules-page .overview-search input{width:220px!important;height:40px!important;background:#080f19!important;border:1px solid #263a51!important}.rules-page .overview-search b{padding:11px 13px!important;background:#176fc7!important;box-shadow:none!important}
.rules-page .category-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding-bottom:20px!important}.rules-page .category-card{min-height:132px!important;padding:15px!important;border-radius:13px!important;background:#0c1624!important;border:1px solid #1d3047!important;box-shadow:none!important}.rules-page .category-card:hover{transform:translateY(-2px)!important;border-color:#3277b4!important;background:#0f1d2e!important}.rules-page .category-card.active{transform:none!important;border-color:#2388e3!important;background:#10233a!important;box-shadow:inset 0 0 0 1px #2388e333!important}.rules-page .cat-icon-row{margin-bottom:13px!important}.rules-page .cat-icon{width:35px;height:35px;display:grid;place-items:center;font-size:20px!important;background:#132a45;border-radius:9px;text-shadow:none!important}.rules-page .cat-arrow{font-size:20px!important;color:#71879d!important}.rules-page .cat-info strong{font-size:13px!important}.rules-page .cat-info small{font-size:10px!important;margin:4px 0 9px!important}.rules-page .cat-info em{min-width:0!important;width:max-content!important;padding:4px 8px!important;background:#101f31!important;border:1px solid #274560!important;color:#9abbd6!important}
.rules-page .rules-content{padding:20px!important;border:1px solid #263b53!important;border-radius:16px!important;background:#0c1624!important;box-shadow:none!important}.rules-page .rules-title{padding-bottom:16px!important;border-bottom:1px solid #1e3045!important}.rules-page .bigicon{width:45px!important;height:45px!important;background:#142a45!important;border:1px solid #2e6b9f!important;box-shadow:none!important;font-size:21px!important}.rules-page .rules-title h2{font-size:23px!important}.rules-page .rules-search input{background:#080f19!important;border-color:#263a51!important}.rules-page .rules-search b{background:#176fc7!important;box-shadow:none!important}.rules-page .modern-rule{background:#0a1421!important;border:1px solid #1d3045!important;border-radius:11px!important}.rules-page .modern-rule:hover{transform:none!important;border-color:#315a7d!important}.rules-page .modern-rule[open]{border-color:#2e75ae!important;box-shadow:none!important}.rules-page .rule-num{background:#142a45!important;border:1px solid #2e6b9f!important;box-shadow:none!important}.rules-page .rule-body{background:#080f19!important;border-color:#1d3045!important}
@media(max-width:1180px){.rules-page .rules-top nav{gap:6px!important}.rules-page .rules-top nav a{font-size:11px!important;padding:8px 7px!important}.rules-page .category-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){.rules-page .rules-shell{width:min(94%,760px)!important;grid-template-columns:1fr!important}.rules-page .rules-sidebar{display:none!important}.rules-page .rules-overview{grid-template-columns:50px 1fr!important}.rules-page .overview-search{grid-column:1/-1!important}.rules-page .overview-search input{width:auto!important;flex:1!important}.rules-page .category-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.rules-page .rules-shell{width:94%!important;margin-top:20px!important}.rules-page .rules-overview{padding:15px!important}.rules-page .overview-copy h1{font-size:19px!important}.rules-page .overview-copy p{font-size:9px!important}.rules-page .overview-search b{display:none!important}.rules-page .category-cards{grid-template-columns:1fr!important}.rules-page .category-card{min-height:112px!important}.rules-page .rules-content{padding:14px!important}}



/* SAFIRA MOBILE V5 — drawer outside header stacking context, no dim/blur */
@media(max-width:850px){
 html,body{max-width:100%;overflow-x:clip}
 header .menu{display:grid!important;place-items:center;min-width:46px;min-height:46px;position:relative;z-index:2;border-radius:12px;background:#0c2a46;border:1px solid #246a9e;color:#fff;cursor:pointer;font-size:26px}
 body>.sf-mobile-drawer{display:flex!important;position:fixed!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;width:min(340px,88vw)!important;height:100vh!important;height:100dvh!important;margin:0!important;box-sizing:border-box!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;padding:calc(env(safe-area-inset-top, 0px) + 78px) 15px calc(env(safe-area-inset-bottom, 0px) + 25px)!important;background:#071626!important;background-image:none!important;border:0!important;border-left:1px solid #286494!important;border-radius:0!important;box-shadow:-5px 0 20px #0003!important;z-index:2147483000!important;overflow-y:auto!important;overscroll-behavior:contain;opacity:1!important;visibility:visible!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:translate3d(105%,0,0)!important;transition:transform .32s cubic-bezier(.2,.8,.2,1)!important;pointer-events:none!important}
 body.mobile-nav-open>.sf-mobile-drawer{transform:translate3d(0,0,0)!important;pointer-events:auto!important}
 body>.sf-mobile-drawer a{display:flex!important;align-items:center!important;min-height:50px!important;flex-shrink:0!important;padding:13px 15px!important;margin:0!important;color:#eff8ff!important;background:#102b45!important;border:1px solid #265477!important;border-radius:12px!important;font-size:15px!important;line-height:1.4!important;opacity:1!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-decoration:none!important;white-space:normal!important}
 body>.sf-mobile-drawer a:active{background:#1b4770!important}
 .sf-mobile-close{position:absolute;top:calc(env(safe-area-inset-top, 0px) + 16px);right:16px;width:48px;height:48px;background:#123756;color:white;border:1px solid #3987be;border-radius:12px;font-size:28px;cursor:pointer}
 .sf-menu-backdrop{display:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 body.mobile-nav-open{overflow:visible!important}
}
@media(min-width:851px){body>.sf-mobile-drawer{display:none!important}}
@media(prefers-reduced-motion:reduce){body>.sf-mobile-drawer{transition:none!important}}

/* SAFIRA V6: only the independent mobile drawer is visible on small screens */
@media (max-width:850px){
 header nav, header nav:not(.sf-mobile-drawer), .rules-page .rules-top nav, body.open header nav, body.mobile-nav-open header nav {display:none!important;visibility:hidden!important;pointer-events:none!important;}
 body > #sf-mobile-drawer {visibility:visible!important;display:flex!important;}
 body:not(.mobile-nav-open) > #sf-mobile-drawer {transform:translate3d(105%,0,0)!important;pointer-events:none!important;}
 body.mobile-nav-open > #sf-mobile-drawer {transform:translate3d(0,0,0)!important;pointer-events:auto!important;}
 body, body.mobile-nav-open, body.open {filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
}
