:root{--bg:#0b090c;--panel:#171318;--line:#30272c;--gold:#ffd028;--muted:#a9a0a5;--white:#fff9f6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:'Plus Jakarta Sans',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.wrap{max-width:1240px;margin:auto;padding-left:28px;padding-right:28px}.topbar{background:#120e12;border-bottom:1px solid #332b30;position:sticky;top:0;z-index:20}.nav{min-height:76px;display:flex;align-items:center;gap:35px}.logo{display:flex;align-items:center;gap:10px;font-family:'Barlow Condensed',sans-serif;font-size:24px;font-weight:900;letter-spacing:1px;white-space:nowrap;line-height:1}.logo b,.logo .mark{color:var(--gold)}.logo .mark{font-size:38px}.logo small{display:block;font:700 9px 'Plus Jakarta Sans',sans-serif;letter-spacing:2.4px;color:#b8aeb1;margin-top:5px}.nav nav{display:flex;gap:23px;margin-left:auto}.nav nav a,.small-link{font-size:11px;font-weight:800;letter-spacing:.5px;color:#d8cfd1;white-space:nowrap}.nav nav a:hover,.nav nav a.selected,.small-link:hover{color:var(--gold)}.nav-actions{display:flex;align-items:center;gap:18px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:47px;padding:0 22px;font-size:12px;font-weight:900;letter-spacing:.4px;border:1px solid transparent;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-2px)}.btn-gold{background:var(--gold);color:#1b1510}.btn-outline{border-color:#5d5154;color:#fff;background:#1b171a99}.btn-small{min-height:35px;padding:0 13px;font-size:10px}.btn-full{width:100%}.menu-toggle{display:none}.page{display:none}.page.active{display:block}.hero{position:relative;min-height:575px;background:radial-gradient(ellipse at 70% 43%,#802b2a75 0%,transparent 42%),linear-gradient(110deg,#151014 15%,#26181d 56%,#0e0b0f 100%);overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 180px,#ffffff05 181px 182px),radial-gradient(circle at 74% 38%,#ee583c55,transparent 23%);pointer-events:none}.hero:after{content:'N';position:absolute;right:13%;top:-90px;font:900 640px 'Barlow Condensed';color:#ffffff06;transform:rotate(-14deg);pointer-events:none}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:60px;min-height:575px}.eyebrow{color:var(--gold);font-size:11px;letter-spacing:2px;font-weight:800}.hero h1,.page-heading h1{font:900 clamp(60px,7.4vw,112px)/.88 'Barlow Condensed',sans-serif;letter-spacing:1px;margin:22px 0 20px}.hero h1 em,.page-heading h1 em,.section-title h2 em{color:var(--gold);font-style:normal}.hero-copy>p{max-width:470px;line-height:1.9;font-size:14px;color:#d4c8cc}.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.hero-meta{display:flex;gap:22px;flex-wrap:wrap;font-size:10px;font-weight:800;color:#c0b4b7;letter-spacing:1px;margin-top:35px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2de6a0;margin-right:7px;box-shadow:0 0 9px #2de6a080}.side-panel{background:#120e13eb;border:1px solid #4d3439;box-shadow:0 18px 60px #0009}.panel-head,.panel-foot{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;font-size:10px;font-weight:900;letter-spacing:1px;border-bottom:1px solid #3a2b31}.status{color:#6ee8a7;font-size:9px}.panel-body{padding:32px 23px}.muted{color:var(--muted);font-size:12px}.panel-body h3{font:900 42px/.95 'Barlow Condensed';margin:15px 0}.panel-body p{font-size:12px;line-height:1.8;color:#b5a7ad;margin-bottom:25px}.panel-foot{border-top:1px solid #3a2b31;border-bottom:0;color:#a99ba0}.home-lower{padding-top:42px;padding-bottom:75px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section-title h2{font:900 38px 'Barlow Condensed';margin:7px 0 0}.view-all{font-size:11px;font-weight:800;color:var(--gold)}.cards{display:grid;gap:18px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.content-card{background:#171216;border:1px solid #30252b;padding:21px;min-width:0}.content-card .tag{display:inline-block;background:#6b292b;color:#fff;padding:5px 8px;font-size:9px;font-weight:900;text-transform:uppercase}.content-card time{font-size:10px;color:#8e8187;margin-left:8px}.content-card h3{font-size:15px;line-height:1.5;margin:16px 0 8px}.content-card p{font-size:12px;line-height:1.85;color:#b4a9af;white-space:pre-wrap;overflow-wrap:anywhere}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.feature{background:linear-gradient(120deg,#261c20,#141015);padding:25px;border:1px solid #3c2d33;display:flex;flex-direction:column;gap:12px}.feature span{font-size:10px;color:var(--gold);font-weight:800}.feature strong{font:900 35px 'Barlow Condensed'}.feature small{color:#b7aab0}.inner{padding-top:65px;padding-bottom:100px;min-height:70vh}.page-heading{margin-bottom:38px}.page-heading h1{font-size:80px;margin:12px 0}.page-heading p{font-size:14px;color:var(--muted)}.search,input,textarea,select{background:#1a151a;border:1px solid #45343b;color:#fff;border-radius:0;padding:14px;outline:none;width:100%}.search:focus,input:focus,textarea:focus,select:focus{border-color:var(--gold)}.search{margin-bottom:22px}.stack{display:flex;flex-direction:column;gap:12px}.rule{background:#171216;border:1px solid #33272d;padding:22px}.rule h3{margin:8px 0 12px;font-size:17px}.rule p{color:#bfb4b8;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.rule .tag{color:var(--gold);font-size:10px;font-weight:800;text-transform:uppercase}.video-card{padding:0;overflow:hidden}.video-card iframe{width:100%;aspect-ratio:16/9;border:0;display:block}.video-card .video-copy{padding:18px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.steps>div{background:#191317;border:1px solid #403039;padding:30px}.steps span{font:900 55px 'Barlow Condensed';color:var(--gold)}.steps h3{font-size:16px}.steps p{font-size:13px;color:var(--muted);line-height:1.8}.notice{background:#241c1e;padding:20px;border:1px solid #4a363c}.admin-layout{display:grid;grid-template-columns:400px minmax(0,1fr);gap:25px}.editor,.admin-items{background:#171216;padding:24px;border:1px solid #3b2b32}.editor h3,.admin-items h3{margin-top:0;font:900 25px 'Barlow Condensed'}.editor label{display:block;font-size:12px;font-weight:800;margin:18px 0}.editor label input,.editor label textarea,.editor label select{display:block;margin-top:9px;font-weight:400}.form-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px;background:#241c21;border:1px solid #3d3036}.admin-row strong{display:block;font-size:13px}.admin-row small{color:var(--muted)}.row-actions{display:flex;gap:8px}.row-actions button{background:#32282d;color:white;border:1px solid #665057;padding:8px;font-size:11px}footer{border-top:1px solid #34292e;background:#100c10}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:27px;padding-bottom:27px}.footer-inner>span{color:#877b80;font-size:10px}.empty{color:#b5a6ac;font-size:13px;padding:24px;border:1px dashed #49363e}@media(max-width:1080px){.nav{gap:15px}.nav nav{gap:12px}.nav nav a{font-size:10px}.small-link{display:none}.hero-grid{gap:25px;grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:800px){.menu-toggle{display:block;margin-left:auto;background:transparent;color:white;border:1px solid #514249;padding:7px 11px}.nav{flex-wrap:wrap;min-height:68px;padding-top:10px;padding-bottom:10px}.nav nav{display:none;order:4;width:100%;flex-direction:column;padding:15px 0}.nav nav.open{display:flex}.nav-actions{margin-left:0}.hero-grid{grid-template-columns:1fr;padding-top:60px;padding-bottom:55px}.hero{min-height:0}.side-panel{max-width:430px}.three,.feature-grid,.steps{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}}@media(max-width:540px){.wrap{padding-left:18px;padding-right:18px}.logo{font-size:20px}.logo .mark{font-size:29px}.nav-actions .btn{font-size:9px;padding:0 8px}.hero h1{font-size:67px}.page-heading h1{font-size:66px}.three,.feature-grid,.steps{grid-template-columns:1fr}.footer-inner{flex-direction:column;align-items:flex-start}}

/* Nexora RP · giao diện hero cinematic đỏ/đen */
:root{--gold:#f0184a;--bg:#10090e;--panel:#190d14;--line:#51202e;--muted:#c5aeb7;--white:#fff5f7}
.topbar{background:#13080eea;border-bottom:1px solid #612034;backdrop-filter:blur(16px)}
.nav{max-width:1520px;min-height:88px}.logo{font-size:22px}.logo b{display:block;font-size:12px;letter-spacing:3px;margin-top:3px}.logo small{font-size:8px}.logo .mark{font-size:40px;color:#f0184a}.nav nav{gap:20px}.nav nav a{letter-spacing:1px}.nav-actions{gap:12px}.region-pill{border:1px solid #6d3147;border-radius:30px;padding:9px 12px;font-size:10px;letter-spacing:2px;font-weight:900;color:#efb1c2;white-space:nowrap}.btn-gold{background:#f0184a;color:#fff;border-color:#f0184a;border-radius:9px}.btn-outline{border-color:#8e2d47;border-radius:9px;background:#1c0c1599}.btn-ghost{border:1px solid #9a354f;border-radius:9px;color:#f8a6ba;background:#1b0b15b5}.hero{min-height:calc(100vh - 88px);background:linear-gradient(90deg,#11070ec9,#1d0c1699 50%,#10070dcd),linear-gradient(0deg,#14080e 0%,transparent 40%),url('/assets/hero.jpg') center/cover no-repeat;background-color:#29121b}.hero:before{background:radial-gradient(ellipse at 50% 60%,#f0184a22,transparent 58%);inset:0}.hero:after{content:none}.hero-grid{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 88px);padding-top:65px;padding-bottom:65px}.hero-copy{text-align:center;width:100%;max-width:1100px}.hero h1{font-size:clamp(88px,12vw,184px);line-height:.81;letter-spacing:2px;margin:45px 0 35px;text-shadow:0 7px 40px #0009}.hero h1 em{display:inline-block;color:#f0184a;margin-top:17px}.hero-copy>p{max-width:780px;margin:0 auto;color:#f7dbe2;font-family:'Barlow Condensed',sans-serif;font-size:clamp(17px,1.8vw,25px);letter-spacing:2px;font-weight:700;line-height:1.5}.hero .eyebrow{letter-spacing:5px;font-size:12px}.hero-buttons{justify-content:center;margin:38px 0 22px}.hero-buttons .btn{min-height:55px;padding:0 26px}.hero-hint{display:inline-block;font-size:11px;letter-spacing:2px;font-weight:900;color:#f4b7c6}.scroll-hint{font-size:10px;color:#c8a8b2;letter-spacing:3px;margin-top:50px}.home-lower{max-width:1400px}.content-card,.feature,.rule,.steps>div,.editor,.admin-items{background:#1a1017;border-color:#512735}.content-card .tag{background:#f0184a}.panel-head{color:#fff}.page-heading h1 em,.section-title h2 em{color:#f0184a}.search:focus,input:focus,textarea:focus,select:focus{border-color:#f0184a}
@media(max-width:1080px){.region-pill{display:none}.nav{gap:15px}.nav nav{gap:12px}}
@media(max-width:800px){.hero-grid{padding-top:75px;padding-bottom:65px}.hero h1{font-size:clamp(75px,15vw,130px)}.hero .eyebrow{font-size:10px;letter-spacing:2px}.hero-copy>p{font-size:18px}.hero{min-height:650px}.nav{min-height:70px}}
@media(max-width:540px){.hero h1{font-size:clamp(64px,16vw,90px)}.hero-buttons .btn{width:100%}.hero .eyebrow{font-size:9px}.hero-copy>p{font-size:16px;letter-spacing:1px}.hero-copy>p br{display:none}.hero h1 em{margin-top:10px}.hero-hint{line-height:1.7}.scroll-hint{margin-top:25px}}

/* Nexora RP: logo gốc và video nền YouTube */
.brand-logo{display:block;width:54px;height:54px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 9px #f2b42955)}
.hero-brand{display:block;width:clamp(88px,12vw,155px);height:auto;margin:0 auto 12px;filter:drop-shadow(0 5px 22px #ffb90066)}
.hero{isolation:isolate;background:#100b10}
.hero-video{position:absolute;inset:0;overflow:hidden;z-index:-2;pointer-events:none;background:#170f15}
.hero-video iframe{position:absolute;top:50%;left:50%;width:max(100vw,177.78vh);height:max(100vh,56.25vw);transform:translate(-50%,-50%);border:0;pointer-events:none;filter:saturate(.75)}
.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#10070dbb 0%,#1308108c 42%,#11070de8 100%);pointer-events:none}
.hero:before{z-index:0;pointer-events:none}
.hero-grid{z-index:1}
@media(max-width:800px){.brand-logo{width:42px;height:42px}.hero-video iframe{width:max(100vw,177.78vh);height:max(100vh,56.25vw)}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}.hero{background:linear-gradient(135deg,#1b1017,#301c24)}}
/* Nexora RP visual refresh — LuQuy/F17-inspired layout, original Nexora branding */
:root{--bg:#13070c;--panel:#210d15;--line:#542333;--gold:#ed1749;--muted:#bba6ad;--white:#fff5f6}
body{background:radial-gradient(ellipse at 50% 25%,#300d1a 0%,#13070c 65%);font-family:'Plus Jakarta Sans',sans-serif}
.wrap{max-width:1430px}.topbar{background:#100509f5;border-bottom:1px solid #53202e}.nav{max-width:1430px;min-height:79px;gap:23px}.brand-logo{width:53px;height:53px}.logo{font-size:22px}.logo b{color:#ef1748}.logo small{color:#f5a5b9}.nav nav{gap:24px}.nav nav a{font:800 15px 'Barlow Condensed',sans-serif;letter-spacing:1.4px}.nav-actions{gap:10px}.region-pill{color:#54e3ed;border-color:#315969;background:#101318;padding:11px 16px}.online-pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 13px;border:1px solid #67283a;border-radius:30px;font:800 12px 'Barlow Condensed',sans-serif;letter-spacing:.8px;color:#e8c3cc}.online-pill i{width:8px;height:8px;background:#40e6a2;border-radius:50%;box-shadow:0 0 12px #40e6a2}.online-pill b{color:#ed1749}.btn-gold{background:#e91849;color:white;border-color:#e91849}.btn-outline,.btn-ghost{border-color:#69283b;color:#f7d7df}.hero{min-height:calc(100vh - 79px)}.hero-grid{min-height:calc(100vh - 79px);padding-top:40px;padding-bottom:30px}.hero h1{font-size:clamp(95px,12vw,180px);line-height:.82;margin:38px 0 32px}.hero h1 em{color:#ed1749}.hero-copy>p{font-size:clamp(17px,1.65vw,23px);max-width:790px}.hero .eyebrow{color:#f0184a}.hero-shade{background:linear-gradient(180deg,#12050c99 0%,#1a0711a6 42%,#14050cfa 100%)}.hero-buttons .btn{min-width:175px}.hero-hint{color:#f6d0da}.scroll-hint{margin-top:28px}
.statement{padding:120px 0 135px;background:linear-gradient(180deg,#13070c,#1b0811 80%,#11060a);clip-path:polygon(0 0,100% 0,100% 90%,96% 95%,87% 95%,85% 100%,59% 100%,57% 95%,42% 95%,40% 100%,15% 100%,13% 95%,3% 95%,0 90%)}.statement .wrap{max-width:1160px}.statement p{font:800 clamp(28px,3.25vw,47px)/1.45 'Barlow Condensed',sans-serif;text-align:center;margin:0;text-transform:uppercase}.statement em,.milestones em,.explore em{color:#f0184a;font-style:normal}.statement span{color:#55e1ed}.milestones{text-align:center;padding-top:90px;padding-bottom:95px}.section-kicker{font-size:11px;letter-spacing:5px;font-weight:900;color:#f0184a}.milestones h2,.explore h2{font:900 clamp(38px,4.1vw,58px)/1.05 'Barlow Condensed',sans-serif;margin:20px 0}.milestones>p,.explore>p{font-size:13px;color:#c3aeb6;line-height:1.8}.milestone-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-top:65px}.milestone-grid>div{border:2px solid #542235;border-radius:17px;padding:35px 12px;min-height:240px;background:#1a0a12}.milestone-grid span{display:grid;place-items:center;width:53px;height:53px;margin:0 auto 23px;border:1px solid #ed1749;border-radius:13px;color:#ed1749;font-size:24px}.milestone-grid strong{display:block;font:900 clamp(34px,3.6vw,54px) 'Barlow Condensed',sans-serif}.milestone-grid small{display:block;color:#a28c96;font:800 11px 'Barlow Condensed',sans-serif;letter-spacing:2.3px;margin-top:12px}.explore{text-align:center;padding-top:55px;padding-bottom:90px}.explore-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:20px;margin-top:45px}.explore-tile{display:flex;min-height:360px;flex-direction:column;text-align:left;justify-content:flex-end;position:relative;overflow:hidden;border:1px solid #663043;border-radius:13px;padding:24px;background:linear-gradient(160deg,#321324,#0d0811)}.explore-main{min-height:460px}.tile-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:900 90px 'Barlow Condensed',sans-serif;color:#ffffff22;background:radial-gradient(circle at 60% 35%,#b3245370,transparent 58%),linear-gradient(160deg,#27131c,#08080e)}.tile-city{background:linear-gradient(180deg,#13213844,#090914e8),url('/assets/nexora-logo.png') center 37%/contain no-repeat,linear-gradient(130deg,#29152c,#10131d);font-size:65px;color:#ffffff15}.tile-jobs{background:radial-gradient(circle at 50% 40%,#a4385770,transparent 60%),linear-gradient(130deg,#341825,#100a10)}.tile-rp{background:radial-gradient(circle at 50% 35%,#a5245d70,transparent 60%),linear-gradient(130deg,#28152d,#100a10)}.explore-tile:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#09050ae8)}.explore-tile span,.explore-tile strong{position:relative;z-index:1}.explore-tile span{color:#f0184a;font:900 11px 'Barlow Condensed',sans-serif;letter-spacing:2px}.explore-tile strong{font:900 22px 'Barlow Condensed',sans-serif;margin-top:7px}.home-lower{padding-top:40px}.section-title h2{font-size:48px}.inner{padding-top:70px}.page-heading .eyebrow{color:#ed1749}.page-heading h1{font-size:clamp(55px,6vw,87px)}.page-heading p{max-width:800px;line-height:1.8}.rule-count{display:inline-block;border:1px solid #5a2939;background:#26101a;padding:10px 15px;border-radius:9px;font-size:11px;color:#eab0c0;margin-top:20px}.search{max-width:510px;border-radius:12px;padding:19px;margin:20px 0 33px;background:#16080e}.rule{border-radius:12px;padding:29px;min-height:205px;background:#200c14}.rule .tag{color:#ed1749;letter-spacing:1.4px}.rule h3{font:900 23px 'Barlow Condensed',sans-serif;text-transform:uppercase}.rule p,.rule-detail{font-size:13px;line-height:1.7;color:#dfb6c3;white-space:pre-wrap;overflow-wrap:anywhere}.rule-more{background:none;color:#f0184a;border:0;border-top:1px solid #532334;width:100%;text-align:left;padding:16px 0 0;font:900 13px 'Barlow Condensed',sans-serif;letter-spacing:1px;margin-top:15px}.rule-detail{padding:10px 0}.rule-detail[hidden]{display:none}#rulesList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.news-controls{display:flex;gap:15px;justify-content:flex-end;flex-wrap:wrap;margin-top:30px}.news-controls select,.news-controls input{width:auto;min-width:200px;border-color:#8b6d13;background:#161021;border-radius:8px;color:#f7d62a}.news-controls input{min-width:250px}.content-card{border-radius:12px;background:#1d0b15}.content-card h3{font:900 25px 'Barlow Condensed',sans-serif}.content-card .tag{background:#1247eb;border-radius:30px;padding:6px 11px}.content-card time{color:#fff;font-weight:800}.video-card{border:2px solid #f3dfe5}.video-card iframe{aspect-ratio:16/9}.video-copy{background:#1c0c14}.editor,.admin-items{border-radius:12px}
@media(max-width:1200px){.online-pill{display:none}.nav nav{gap:13px}.nav nav a{font-size:13px}}@media(max-width:850px){.milestone-grid{grid-template-columns:repeat(2,1fr)}.explore-grid{grid-template-columns:1fr 1fr}.explore-main{grid-column:span 2;grid-row:1}#rulesList{grid-template-columns:repeat(2,1fr)}.nav nav{gap:16px}.statement{padding:90px 0}}@media(max-width:600px){.milestone-grid,.explore-grid,#rulesList{grid-template-columns:1fr}.explore-main{grid-column:auto}.explore-tile,.explore-main{min-height:290px}.statement{padding:65px 0 90px}.statement p{font-size:29px}.milestones{padding-top:60px}.milestone-grid{margin-top:30px}.milestone-grid>div{min-height:170px}.news-controls{justify-content:stretch}.news-controls select,.news-controls input{width:100%}.hero h1{font-size:clamp(65px,16vw,95px)}.nav-actions{gap:5px}.nav-actions .btn{font-size:9px}.hero-copy>p{font-size:16px}}

/* Nexora account login */
.auth-overlay[hidden],#confirmRow[hidden]{display:none!important}.auth-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.82);display:grid;place-items:center;padding:20px}.auth-panel{position:relative;width:min(440px,100%);background:#180b12;border:1px solid #793148;border-radius:16px;padding:30px;box-shadow:0 20px 70px #000}.auth-panel h2{font-size:26px;margin:0 0 20px;color:#fff}.auth-panel h2 em{color:#ef2458;font-style:normal}.auth-close{position:absolute;right:15px;top:12px;border:0;background:none;color:#fff;font-size:30px;cursor:pointer}.auth-tabs{display:flex;gap:8px;margin-bottom:20px}.auth-tabs button{flex:1;padding:12px;border:1px solid #673044;background:transparent;color:#fff;cursor:pointer}.auth-tabs button.active{background:#e91d52;border-color:#e91d52}.auth-panel label{display:block;color:#fff;font-size:14px;margin:12px 0}.auth-panel input{display:block;width:100%;padding:13px;margin-top:7px;background:#10090e;border:1px solid #784050;border-radius:6px;color:#fff;font:inherit}.auth-panel .btn{width:100%;margin-top:10px}.auth-panel #authError{color:#ff9cae;min-height:22px;font-size:13px}#userList{margin-bottom:26px}

/* Account access redesign */
.auth-overlay{overflow-y:auto;padding:32px 14px;background:linear-gradient(135deg,rgba(26,8,35,.82),rgba(35,12,30,.8)),url('/assets/auth-bg.svg') center/cover fixed!important}.auth-panel{width:min(100%,690px)!important;max-height:none!important;overflow:visible!important;border:2px solid #ffcc00!important;border-radius:12px!important;background:linear-gradient(155deg,rgba(88,65,85,.96),rgba(38,40,43,.98))!important;padding:55px 34px 38px!important;color:#fff;box-shadow:0 24px 90px #0008}.auth-panel h2{text-align:center;color:#ffd000!important;font-size:26px!important;margin:8px 0 25px}.auth-panel form{display:flex;flex-direction:column;gap:19px}.auth-panel form>label{display:flex;flex-direction:column;gap:12px;font-weight:650;font-size:17px}.auth-panel input:not([type=checkbox]){box-sizing:border-box;width:100%;background:#343438!important;border:1px solid #ffcc00!important;color:#fff!important;border-radius:5px;padding:15px 16px;font-size:16px;min-height:53px}.auth-panel input[type=checkbox]{accent-color:#ffcc00;width:17px;height:17px}.auth-panel .btn-gold{background:#ffcd00!important;color:#151515!important;font-weight:900;font-size:21px;width:100%;padding:17px;border-radius:6px}.auth-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:24px}.auth-tabs button{border:1px solid #a28b52;border-radius:6px;padding:9px 12px;color:#eee;background:#2d2b31}.auth-tabs button.active{background:#ffcc00;color:#141414;font-weight:800}.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px}.checkline{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-size:14px!important}.checkline a,.text-link{color:#ffce00!important;text-decoration:underline;cursor:pointer}.text-link{border:0;background:none;font-weight:700;font-size:15px}.password-wrap{position:relative}.eye-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:none;color:#bcbec7;font-size:20px;cursor:pointer}.password-wrap input{padding-right:45px!important}.auth-switch{text-align:center}.auth-panel [hidden]{display:none!important}#authError{color:#ff9d9d}#authSuccess{color:#b4f8cb}@media(max-width:600px){.auth-panel{padding:42px 18px 25px!important}.auth-options{flex-wrap:wrap}}

/* Nexora auth redesign: dedicated F17-inspired full-screen view */
body.auth-open{overflow:hidden}
.auth-overlay:not([hidden]){position:fixed!important;inset:0!important;z-index:99999!important;display:block!important;overflow-y:auto!important;padding:110px 18px 60px!important;background:linear-gradient(180deg,rgba(24,8,26,.38),rgba(16,9,23,.44)),url('/assets/auth-bg.svg') center/cover fixed!important}
.auth-overlay:not([hidden])::before{content:'';position:fixed;top:0;left:0;right:0;height:77px;background:#160d18;z-index:0;border-bottom:1px solid #5a3342}
.auth-panel{position:relative!important;margin:0 auto!important;width:min(100%,685px)!important;min-height:620px!important;padding:55px 34px 55px!important;background:linear-gradient(145deg,rgba(91,68,88,.94),rgba(43,43,47,.97))!important;border:2px solid #ffcd00!important;border-radius:11px!important;box-shadow:0 25px 90px #0804097a!important}
.auth-heading{text-align:center;margin:5px 0 32px}.auth-kicker{display:block;color:#ffe49b;font-size:11px;font-weight:800;letter-spacing:3px;margin-bottom:15px}.auth-heading h2{font-size:25px!important;color:#ffd000!important;margin:0 0 10px!important;font-weight:900!important}.auth-heading p{margin:0;color:#e7d9e0;font-size:13px}.auth-tabs{display:none!important}.auth-close{right:18px!important;top:12px!important;font-size:27px!important;color:#f5dbe4!important}.auth-panel form{display:flex;flex-direction:column;gap:20px!important}.auth-panel form>label{margin:0!important;gap:13px!important;font-size:17px!important;font-weight:600!important}.auth-panel input:not([type=checkbox]){min-height:55px!important;border-radius:5px!important;background:#333438!important;border:1px solid #ffcf00!important;font-size:16px!important;padding:14px 17px!important}.auth-panel input:focus{outline:2px solid #ffe17a!important;outline-offset:2px}.auth-panel input[type=checkbox]{display:inline-block!important;margin:0!important;flex:none}.auth-options{margin:3px 0 10px!important}.auth-panel #authSubmit{margin-top:7px!important;min-height:68px!important;font-size:22px!important;font-weight:900!important;border:0!important}.auth-switch{margin:10px 0 0!important;font-size:17px!important}.auth-bottom-nav{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin:0!important}.auth-bottom-nav button{font-size:14px!important}.auth-panel [hidden],.auth-bottom-nav [hidden]{display:none!important}.auth-panel #authError:empty,.auth-panel #authSuccess:empty{display:none}.auth-panel #authError,.auth-panel #authSuccess{margin:0!important;min-height:0!important}.auth-panel #termsRow .checkline{margin:12px 0!important}.auth-panel .text-link{font-size:16px!important}.auth-panel #rememberRow .checkline{font-size:14px!important}.auth-panel .password-wrap{display:block;width:100%}.auth-panel .eye-btn{z-index:1}
@media(max-width:650px){.auth-overlay:not([hidden]){padding:65px 12px 30px!important}.auth-panel{min-height:0!important;padding:48px 20px 35px!important}.auth-heading{margin-bottom:25px}.auth-panel form{gap:17px!important}.auth-panel #authSubmit{min-height:58px!important}}

/* News image upload and display */
.news-card-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px 10px 0 0;margin:-1px -1px 18px;max-width:calc(100% + 2px)}.news-image-fields{padding:14px;border:1px dashed #8b3650;border-radius:10px;background:#1c0c14}.news-image-fields[hidden]{display:none}.news-image-fields input[type=file]{margin-top:9px;width:100%;padding:12px;background:#21151d;border:1px solid #58303e;color:#fff;border-radius:8px}.admin-image-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px 0;border:1px solid #6a3045;border-radius:8px}.admin-image-preview[hidden]{display:none}.remove-image-option{display:flex!important;align-items:center;gap:9px;font-size:12px!important}.remove-image-option input{width:auto}

/* NEXORA cinematic sunset palette — recolor only, layout preserved */
:root{
  --gold:#ffad62;
  --bg:#090e1b;
  --panel:#11182a;
  --line:#293550;
  --muted:#aeb8d0;
  --white:#f8f7ff;
}
body{background:#090e1b;color:#f8f7ff}
.topbar{background:rgba(9,14,27,.94)!important;border-bottom-color:#39415e!important}
.logo b,.logo .mark,.hero .eyebrow,.eyebrow,.hero h1 em,.page-heading h1 em,.section-title h2 em,.view-all{color:#ffad62!important}
.nav nav a,.small-link{color:#d9def0}
.nav nav a:hover,.nav nav a.selected,.small-link:hover{color:#ffad62!important}
.region-pill{border-color:#66516a!important;color:#ffc39c!important;background:#21172b66}
.btn-gold,.auth-panel .btn-gold{background:linear-gradient(110deg,#ffad62,#ff6f78)!important;border-color:#ffad62!important;color:#17111d!important}
.btn-outline,.btn-ghost{border-color:#596384!important;background:#11182acc!important;color:#f8e8e6!important}
.hero{background:linear-gradient(90deg,rgba(7,13,28,.82),rgba(24,19,49,.42) 50%,rgba(9,13,29,.58)),linear-gradient(0deg,#090e1b 0%,transparent 42%),url('/assets/hero.jpg') center/cover no-repeat!important;background-color:#11182a!important}
.hero:before{background:radial-gradient(ellipse at 72% 42%,rgba(255,126,105,.24),transparent 32%),radial-gradient(ellipse at 30% 25%,rgba(92,130,255,.2),transparent 42%)!important}
.hero h1 em{background:linear-gradient(90deg,#ffb66c 0%,#ff7e8d 48%,#d99bff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.side-panel,.content-card,.rule,.editor,.admin-items{background:#11182a!important;border-color:#303b59!important}
.panel-head,.panel-foot{border-color:#303b59!important}
.panel-head{color:#ffbd8c}
.feature{background:linear-gradient(125deg,#1b2340,#151426)!important;border-color:#39415e!important}
.feature span,.rule .tag{color:#ffad62!important}
.content-card .tag{background:linear-gradient(100deg,#5c70c8,#a75caa)!important;color:#fff!important}
.search,input,textarea,select{background:#11182a!important;border-color:#394766!important;color:#f8f7ff!important}
.search:focus,input:focus,textarea:focus,select:focus{border-color:#ffad62!important}
.rule-more{color:#ffad62!important;border-top-color:#39415e!important}
.rule-count,.notice{background:#171b31!important;border-color:#4b4c70!important;color:#f7c8c1!important}
.steps>div{background:#121a2d!important;border-color:#39415e!important}
.steps span{color:#ffad62!important}
footer{background:#080d19!important;border-top-color:#303b59!important}
.admin-row{background:#1a2035!important;border-color:#39415e!important}
.row-actions button{background:#242d49!important;border-color:#596384!important}
.auth-overlay:not([hidden]),.auth-overlay{background:linear-gradient(135deg,rgba(9,14,27,.88),rgba(36,22,53,.82)),url('/assets/auth-bg.svg') center/cover fixed!important}
.auth-overlay:not([hidden])::before{background:#0b1223!important;border-bottom-color:#39415e!important}
.auth-panel{background:linear-gradient(145deg,rgba(28,36,64,.97),rgba(17,20,39,.98))!important;border-color:#ffad62!important}
.auth-panel h2,.auth-heading h2{color:#ffbd8c!important}
.auth-panel h2 em{color:#ff7e8d!important}
.auth-panel input:not([type=checkbox]),.auth-panel input{background:#0d1426!important;border-color:#6a6282!important;color:#fff!important}
.auth-panel input:focus{outline-color:#ffad62!important}
.auth-panel input[type=checkbox]{accent-color:#ffad62!important}
.auth-tabs button.active{background:#ffad62!important;border-color:#ffad62!important;color:#17111d!important}
.checkline a,.text-link{color:#ffc08e!important}
.auth-panel #authSubmit{background:linear-gradient(100deg,#ffad62,#ff7189)!important;color:#17111d!important}
.news-image-fields{border-color:#5b5278!important;background:#151b31!important}
.news-image-fields input[type=file],.admin-image-preview{border-color:#5b5278!important}
@media(prefers-reduced-motion:no-preference){.btn-gold{box-shadow:0 8px 28px rgba(255,126,105,.16)}}

/* NEXORA bright sunset palette — brighter accents and clearer surfaces */
:root{
  --gold:#ffbd59;
  --bg:#10172b;
  --panel:#1a2340;
  --line:#46547b;
  --muted:#c4cce3;
  --white:#fffaff;
}
body{background:#10172b!important;color:#fffaff!important}
.topbar{background:rgba(16,23,43,.97)!important;border-bottom:1px solid #6473a0!important;box-shadow:0 8px 28px rgba(4,8,25,.25)}
.logo b,.logo .mark,.hero .eyebrow,.eyebrow,.view-all,.feature span,.rule .tag{color:#ffc15e!important}
.nav nav a,.small-link{color:#f0eaff!important}
.nav nav a:hover,.nav nav a.selected,.small-link:hover{color:#ff9b8e!important}
.region-pill{background:linear-gradient(100deg,#30244a,#352b53)!important;border-color:#a16c9b!important;color:#ffd0b0!important}
.btn-gold,.auth-panel .btn-gold,.auth-panel #authSubmit{background:linear-gradient(105deg,#ffd166 0%,#ff987c 48%,#ff6f91 100%)!important;border-color:#ffc16a!important;color:#21152a!important;box-shadow:0 7px 24px rgba(255,128,128,.24)}
.btn-outline,.btn-ghost{background:rgba(37,47,79,.88)!important;border-color:#7786b9!important;color:#fff!important}
.hero{background:linear-gradient(90deg,rgba(10,17,39,.72),rgba(34,28,66,.24) 50%,rgba(18,17,46,.34)),linear-gradient(0deg,#10172b 0%,transparent 42%),url('/assets/hero.jpg') center/cover no-repeat!important;background-color:#202b4b!important}
.hero:before{background:radial-gradient(ellipse at 72% 42%,rgba(255,115,104,.36),transparent 34%),radial-gradient(ellipse at 29% 24%,rgba(102,143,255,.32),transparent 44%),radial-gradient(ellipse at 52% 75%,rgba(186,103,220,.16),transparent 40%)!important}
.hero h1 em{background:linear-gradient(90deg,#ffe07b 0%,#ff9b7a 40%,#ff76a8 68%,#c4a0ff 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 0 18px rgba(255,131,147,.22))}
.side-panel,.content-card,.rule,.editor,.admin-items{background:linear-gradient(145deg,#202b4a,#19223b)!important;border-color:#465782!important;box-shadow:0 12px 30px rgba(3,7,23,.16)}
.panel-head,.panel-foot{border-color:#465782!important}.panel-head{color:#ffd18a!important}.panel-body p,.content-card p,.rule p,.steps p{color:#d3d9ec!important}
.feature{background:linear-gradient(125deg,#30395e,#242440)!important;border-color:#626da0!important}.content-card .tag{background:linear-gradient(100deg,#627eea,#b56ad4)!important;color:#fff!important}
.search,input,textarea,select{background:#151f38!important;border-color:#52638f!important;color:#fff!important}.search:focus,input:focus,textarea:focus,select:focus{border-color:#ffc16a!important;box-shadow:0 0 0 2px rgba(255,193,106,.14)}
.rule-more{color:#ffc16a!important;border-top-color:#52638f!important}.rule-count,.notice{background:#272b4c!important;border-color:#6b6596!important;color:#ffe0d0!important}
.steps>div{background:linear-gradient(135deg,#222e4e,#282440)!important;border-color:#59699a!important}.steps span{color:#ffc16a!important}
footer{background:#0d1428!important;border-top-color:#465782!important}.footer-inner>span{color:#b8c1dd!important}
.admin-row{background:#28304e!important;border-color:#59699a!important}.row-actions button{background:#354265!important;border-color:#7786b9!important;color:#fff!important}
.auth-overlay:not([hidden]),.auth-overlay{background:linear-gradient(135deg,rgba(13,20,42,.78),rgba(54,32,73,.7)),url('/assets/auth-bg.svg') center/cover fixed!important}
.auth-overlay:not([hidden])::before{background:#141d36!important;border-bottom-color:#6574a1!important}
.auth-panel{background:linear-gradient(145deg,rgba(43,51,83,.98),rgba(25,30,57,.98))!important;border-color:#ffc16a!important;box-shadow:0 25px 90px rgba(5,8,28,.55)!important}
.auth-panel h2,.auth-heading h2{color:#ffd18a!important}.auth-panel input:not([type=checkbox]),.auth-panel input{background:#17213b!important;border-color:#7786b9!important;color:#fff!important}.auth-panel input:focus{outline-color:#ffc16a!important}.auth-panel input[type=checkbox]{accent-color:#ffc16a!important}
.auth-tabs button.active{background:linear-gradient(100deg,#ffd166,#ff8c91)!important;border-color:#ffc16a!important;color:#21152a!important}.checkline a,.text-link{color:#ffd18a!important}
.news-image-fields{border-color:#6976a7!important;background:#202a48!important}.news-image-fields input[type=file],.admin-image-preview{border-color:#6976a7!important}

/* NEXORA FINAL GLOBAL BRIGHTNESS PASS — applies across every page and component */
:root{--gold:#ffe06b;--bg:#111a32;--panel:#202b4b;--line:#6575a5;--muted:#d5def5;--white:#ffffff}
html,body{background-color:#111a32!important;color:#fff!important}body{color:#fdfcff!important}
p,li,dd,dt,label,summary,small,time,.muted,.content-card p,.rule p,.steps p,.panel-body p,.feature small,.admin-row small,.page-heading p,.hero-copy>p,.footer-inner>span,.empty{color:#e0e6fa!important}
h1,h2,h3,h4,h5,h6,strong,b,legend,.section-title h2,.page-heading h1,.panel-body h3,.editor h3,.admin-items h3{color:#fff!important}
.hero h1 em,.page-heading h1 em,.section-title h2 em{color:#ffe06b!important}.eyebrow,.hero .eyebrow,.logo b,.logo .mark,.view-all,.feature span,.rule .tag,.steps span,.rule-more{color:#ffe06b!important}
.topbar{background:rgba(15,23,46,.98)!important;border-bottom:1px solid #7787b7!important;box-shadow:0 8px 30px rgba(4,8,25,.32)!important}.nav nav a,.small-link{color:#f6f3ff!important}.nav nav a:hover,.nav nav a.selected,.small-link:hover{color:#ffad91!important}
.region-pill{color:#ffe2c9!important;border-color:#d18ab2!important;background:linear-gradient(100deg,#34284f,#493052)!important}
.hero{background:linear-gradient(90deg,rgba(11,18,42,.62),rgba(39,31,70,.16) 52%,rgba(17,20,49,.28)),linear-gradient(0deg,#111a32 0%,transparent 45%),url('/assets/hero.jpg') center/cover no-repeat!important;background-color:#202b4b!important}.hero:before{background:radial-gradient(ellipse at 72% 42%,rgba(255,120,102,.42),transparent 34%),radial-gradient(ellipse at 29% 24%,rgba(105,153,255,.38),transparent 44%),radial-gradient(ellipse at 53% 77%,rgba(206,113,235,.22),transparent 40%)!important}
.hero h1 em{background:linear-gradient(90deg,#fff09a 0%,#ffb17d 34%,#ff82a6 68%,#d6b0ff 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:drop-shadow(0 0 18px rgba(255,131,147,.3))}
.side-panel,.content-card,.rule,.editor,.admin-items{background:linear-gradient(145deg,#263456,#202944)!important;border-color:#6173a5!important;color:#fff!important;box-shadow:0 12px 30px rgba(3,7,23,.2)}.panel-head,.panel-foot{border-color:#52648f!important;color:#ffe2a2!important}
.feature{background:linear-gradient(125deg,#38466f,#302b50)!important;border-color:#7786bd!important}.content-card .tag{background:linear-gradient(100deg,#647ff0,#c46cce)!important;color:#fff!important}
.search,input,textarea,select{background:#182440!important;border-color:#687bb0!important;color:#fff!important}input::placeholder,textarea::placeholder,.search::placeholder{color:#bac7e7!important;opacity:1!important}.search:focus,input:focus,textarea:focus,select:focus{border-color:#ffe06b!important;box-shadow:0 0 0 3px rgba(255,224,107,.18)!important}
.btn-gold,.auth-panel .btn-gold,.auth-panel #authSubmit{background:linear-gradient(105deg,#ffe06b 0%,#ffab7d 48%,#ff729c 100%)!important;border-color:#ffe06b!important;color:#24172d!important;box-shadow:0 8px 28px rgba(255,128,128,.28)!important}.btn-outline,.btn-ghost{background:rgba(47,59,96,.95)!important;border-color:#8596cb!important;color:#fff!important}.btn-outline:hover,.btn-ghost:hover{background:#414e79!important;border-color:#ffd17b!important;color:#fff!important}
.rule-count,.notice{background:linear-gradient(120deg,#30365e,#423052)!important;border-color:#8274ad!important;color:#fff0e7!important}.steps>div{background:linear-gradient(135deg,#2b3a60,#342b50)!important;border-color:#7182b7!important}footer{background:#10182d!important;border-top-color:#6575a5!important}.footer-inner>span{color:#d2dcf5!important}
.admin-row{background:#303b60!important;border-color:#7182b7!important;color:#fff!important}.row-actions button{background:#3b4a73!important;border-color:#8798cb!important;color:#fff!important}
.auth-overlay:not([hidden]),.auth-overlay{background:linear-gradient(135deg,rgba(13,20,42,.72),rgba(62,37,80,.66)),url('/assets/auth-bg.svg') center/cover fixed!important}.auth-overlay:not([hidden])::before{background:#1b2745!important;border-bottom-color:#7182b7!important}.auth-panel{background:linear-gradient(145deg,rgba(49,61,98,.99),rgba(29,36,66,.99))!important;border-color:#ffe06b!important;box-shadow:0 25px 90px rgba(5,8,28,.55)!important}
.auth-panel h2,.auth-heading h2{color:#ffe1a0!important}.auth-panel h2 em{color:#ff91aa!important}.auth-panel input:not([type=checkbox]),.auth-panel input{background:#172440!important;border-color:#8293c5!important;color:#fff!important}.auth-panel input:focus{outline-color:#ffe06b!important}.auth-panel input[type=checkbox]{accent-color:#ffe06b!important}.auth-tabs button.active{background:linear-gradient(100deg,#ffe06b,#ff8eaa)!important;border-color:#ffe06b!important;color:#24172d!important}.checkline,.checkline label,.auth-panel .checkline{color:#e8edff!important}.checkline a,.text-link{color:#ffe09a!important}
.news-image-fields{border-color:#817bb5!important;background:#283453!important}.news-image-fields input[type=file],.admin-image-preview{border-color:#8293c5!important}.status{color:#7ff0bb!important}.panel-body .muted,.content-card time{color:#cbd5f0!important}::selection{background:#ff9c9e!important;color:#171a31!important}
@media(prefers-reduced-motion:no-preference){.btn,.content-card,.rule,.feature{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.content-card:hover,.rule:hover,.feature:hover{border-color:#ffbd8a!important;box-shadow:0 12px 32px rgba(255,140,145,.12)}}

/* =========================================================
   NEXORA GOLD & WHITE — unified brand palette
   Layout and functionality are intentionally unchanged.
   ========================================================= */
:root{
  --gold:#f5c400;
  --bg:#080808;
  --panel:#151515;
  --line:#51451b;
  --muted:#bdbdbd;
  --white:#f7f7f7;
}
html,body{background:#080808!important;color:#f7f7f7!important}
body{color:#f7f7f7!important}
p,li,dd,dt,label,summary,small,time,.muted,.content-card p,.rule p,.steps p,
.panel-body p,.feature small,.admin-row small,.page-heading p,.hero-copy>p,
.footer-inner>span,.empty{color:#d2d2d2!important}
h1,h2,h3,h4,h5,h6,strong,b,legend,.section-title h2,.page-heading h1,
.panel-body h3,.editor h3,.admin-items h3{color:#fff!important}
a{color:inherit}
.topbar{background:rgba(8,8,8,.97)!important;border-bottom:1px solid #5a4a12!important;box-shadow:0 8px 30px rgba(0,0,0,.55)!important}
.logo b,.logo .mark,.hero .eyebrow,.eyebrow,.view-all,.feature span,.rule .tag,
.steps span,.rule-more,.hero h1 em,.page-heading h1 em,.section-title h2 em{
  color:#f5c400!important
}
.nav nav a,.small-link{color:#f0f0f0!important}
.nav nav a:hover,.nav nav a.selected,.small-link:hover{color:#f5c400!important}
.logo small{color:#c9c9c9!important}
.region-pill{color:#ffe98a!important;border-color:#a78a19!important;background:#17140a!important}
.hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.88),rgba(12,10,2,.62) 52%,rgba(0,0,0,.78)),
    linear-gradient(0deg,#080808 0%,transparent 48%),
    url('/assets/hero.jpg') center/cover no-repeat!important;
  background-color:#101010!important
}
.hero:before{
  background:
    radial-gradient(ellipse at 72% 42%,rgba(245,196,0,.22),transparent 34%),
    radial-gradient(ellipse at 28% 24%,rgba(255,255,255,.08),transparent 42%)!important
}
.hero:after{color:rgba(255,255,255,.035)!important}
.hero h1 em,.page-heading h1 em,.section-title h2 em{
  background:linear-gradient(100deg,#fff 0%,#ffe98a 42%,#f5c400 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  filter:drop-shadow(0 0 14px rgba(245,196,0,.18))
}
.side-panel,.content-card,.rule,.editor,.admin-items{
  background:linear-gradient(145deg,#1b1b1b,#111)!important;
  border-color:#51451b!important;color:#fff!important;
  box-shadow:0 12px 30px rgba(0,0,0,.38)!important
}
.panel-head,.panel-foot{border-color:#51451b!important;color:#f5d65a!important}
.panel-body p,.content-card p,.rule p,.steps p{color:#d0d0d0!important}
.feature{background:linear-gradient(125deg,#222,#121212)!important;border-color:#5a4b19!important}
.content-card .tag,.rule .tag{
  background:linear-gradient(100deg,#f5c400,#fff0a6)!important;color:#111!important
}
.search,input,textarea,select{
  background:#101010!important;border-color:#5b512e!important;color:#fff!important
}
input::placeholder,textarea::placeholder,.search::placeholder{color:#aaa!important;opacity:1!important}
.search:focus,input:focus,textarea:focus,select:focus{
  border-color:#f5c400!important;box-shadow:0 0 0 3px rgba(245,196,0,.16)!important
}
.btn-gold,.auth-panel .btn-gold,.auth-panel #authSubmit{
  background:linear-gradient(105deg,#ffe477 0%,#f5c400 55%,#d6a900 100%)!important;
  border-color:#f5c400!important;color:#15120a!important;
  box-shadow:0 8px 26px rgba(245,196,0,.18)!important
}
.btn-gold:hover,.auth-panel #authSubmit:hover{filter:brightness(1.08)}
.btn-outline,.btn-ghost{
  background:#171717!important;border-color:#8b741d!important;color:#fff!important
}
.btn-outline:hover,.btn-ghost:hover{
  background:#29240f!important;border-color:#f5c400!important;color:#ffe477!important
}
.rule-count,.notice{background:#1b1910!important;border-color:#6d5b1c!important;color:#f8e7a3!important}
.steps>div{background:linear-gradient(135deg,#202020,#121212)!important;border-color:#5a4b19!important}
footer{background:#070707!important;border-top-color:#51451b!important}
.footer-inner>span{color:#bdbdbd!important}
.admin-row{background:#1b1b1b!important;border-color:#5a4b19!important;color:#fff!important}
.row-actions button{background:#24210f!important;border-color:#8b741d!important;color:#fff!important}
.auth-overlay:not([hidden]),.auth-overlay{
  background:linear-gradient(135deg,rgba(0,0,0,.88),rgba(25,21,5,.78)),
    url('/assets/auth-bg.svg') center/cover fixed!important
}
.auth-overlay:not([hidden])::before{background:#090909!important;border-bottom-color:#5a4b19!important}
.auth-panel{
  background:linear-gradient(145deg,rgba(30,30,30,.98),rgba(12,12,12,.99))!important;
  border-color:#f5c400!important;box-shadow:0 25px 90px rgba(0,0,0,.7)!important
}
.auth-panel h2,.auth-heading h2{color:#ffe477!important}
.auth-panel h2 em{color:#f5c400!important}
.auth-panel input:not([type=checkbox]),.auth-panel input{
  background:#101010!important;border-color:#806b1d!important;color:#fff!important
}
.auth-panel input:focus{outline-color:#f5c400!important}
.auth-panel input[type=checkbox]{accent-color:#f5c400!important}
.auth-tabs button{border-color:#65551c!important;background:#111!important;color:#eee!important}
.auth-tabs button.active{
  background:linear-gradient(100deg,#ffe477,#f5c400)!important;
  border-color:#f5c400!important;color:#15120a!important
}
.checkline,.checkline label,.auth-panel .checkline{color:#ddd!important}
.checkline a,.text-link{color:#ffe477!important}
.news-image-fields{border-color:#9b811d!important;background:#17150c!important}
.news-image-fields input[type=file],.admin-image-preview{border-color:#806b1d!important}
.status{color:#7ff0bb!important}
.panel-body .muted,.content-card time{color:#bdbdbd!important}
::selection{background:#f5c400!important;color:#111!important}
@media(prefers-reduced-motion:no-preference){
  .btn,.content-card,.rule,.feature{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
  .content-card:hover,.rule:hover,.feature:hover{
    border-color:#f5c400!important;box-shadow:0 12px 32px rgba(245,196,0,.10)!important
  }
}


/* Rule cards stay compact until the visitor opens the full text. */
.rule{min-width:0;align-self:start}
.rule-summary{margin-bottom:0;max-height:5.2em;overflow:hidden}
.rule-detail{white-space:pre-wrap;overflow-wrap:anywhere}
.rule-more{cursor:pointer}
.rule-more:hover{color:#ffe15a}
.video-card{overflow:hidden;border-color:#806400;background:#111}
.video-card iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#080808}
.video-watch{display:inline-flex;margin-top:14px;color:#f5d21b;font-weight:900;font-size:12px;letter-spacing:.7px;text-decoration:none}
.video-watch:hover{text-decoration:underline}
