:root{
  --rules-bg:#05060a;--rules-panel:#0d1018;--rules-panel2:#111622;--rules-text:#f7f8fc;--rules-muted:#9199ad;
  --rules-line:rgba(255,255,255,.09);--rules-line-hi:rgba(255,255,255,.16);--rules-cyan:#35d9ff;--rules-violet:#8a4dff;
  --rules-red:#ff6277;--rules-green:#27dfa0;--rules-shadow:0 24px 70px rgba(0,0,0,.30);
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}
body.rules-page{margin:0;min-height:100vh;padding-top:96px;background:var(--rules-bg);color:var(--rules-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden;position:relative;isolation:isolate}
body.light{--rules-bg:#f6f8fc;--rules-panel:#fff;--rules-panel2:#f0f4fa;--rules-text:#121722;--rules-muted:#687287;--rules-line:rgba(26,38,60,.11);--rules-line-hi:rgba(26,38,60,.18);--rules-shadow:0 20px 55px rgba(37,50,76,.09)}
.rules-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}.rules-grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,black,transparent 82%)}body.light .rules-grid-bg{background-image:linear-gradient(rgba(22,36,62,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(22,36,62,.025) 1px,transparent 1px)}
.rules-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.18}.rules-glow-a{width:560px;height:560px;left:-190px;top:30px;background:var(--rules-violet)}.rules-glow-b{width:500px;height:500px;right:-220px;top:260px;background:var(--rules-cyan);opacity:.10}body.light .rules-glow{opacity:.07}
.rules-shell{position:relative;z-index:2;width:min(1380px,calc(100% - 44px));margin:0 auto;padding:28px 0 48px}.rules-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:22px;padding:42px 44px;border:1px solid var(--rules-line);border-radius:24px;background:linear-gradient(135deg,rgba(17,22,34,.88),rgba(8,10,16,.82));box-shadow:var(--rules-shadow);overflow:hidden}.rules-hero:before{content:"RULES";position:absolute;right:30px;bottom:-32px;font-size:132px;font-weight:950;letter-spacing:-.07em;color:rgba(255,255,255,.023);pointer-events:none}body.light .rules-hero{background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(246,249,253,.92))}body.light .rules-hero:before{color:rgba(22,36,62,.035)}
.rules-kicker{display:flex;align-items:center;gap:9px;color:var(--rules-cyan);font-size:10px;font-weight:900;letter-spacing:.18em}.rules-kicker span{width:24px;height:1px;background:linear-gradient(90deg,var(--rules-violet),var(--rules-cyan));box-shadow:0 0 12px rgba(53,217,255,.35)}.rules-hero h1{margin:17px 0 12px;font-size:clamp(38px,5.3vw,72px);line-height:.95;letter-spacing:-.055em}.rules-hero-copy>p{max-width:760px;margin:0;color:var(--rules-muted);font-size:15px;line-height:1.72}
.rules-search-wrap{margin-top:28px;max-width:720px;height:52px;display:flex;align-items:center;gap:12px;padding:0 14px;border:1px solid var(--rules-line-hi);border-radius:13px;background:rgba(255,255,255,.035);transition:.18s}.rules-search-wrap:focus-within{border-color:rgba(53,217,255,.42);box-shadow:0 0 0 3px rgba(53,217,255,.08)}body.light .rules-search-wrap{background:rgba(255,255,255,.72)}.rules-search-wrap svg{width:19px;height:19px;fill:none;stroke:var(--rules-muted);stroke-width:1.8;flex:none}.rules-search-wrap input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--rules-text);font:inherit;font-size:13px}.rules-search-wrap input::placeholder{color:var(--rules-muted)}.rules-search-wrap>span{padding-left:12px;border-left:1px solid var(--rules-line);color:var(--rules-muted);font-size:10px;font-weight:800;white-space:nowrap}
.rules-hero-side{align-self:stretch;display:grid;grid-template-rows:auto 1fr;gap:10px}.rules-hero-stat,.rules-hero-note{border:1px solid var(--rules-line);border-radius:16px;background:rgba(255,255,255,.025)}body.light .rules-hero-stat,body.light .rules-hero-note{background:rgba(30,48,78,.025)}.rules-hero-stat{min-height:96px;padding:17px 19px;display:flex;align-items:end;justify-content:space-between}.rules-hero-stat span{color:var(--rules-muted);font-size:9px;font-weight:900;letter-spacing:.18em}.rules-hero-stat strong{font-size:46px;line-height:.82;letter-spacing:-.06em;color:var(--rules-cyan)}.rules-hero-note{padding:18px;display:flex;align-items:flex-start;gap:13px}.rules-hero-note svg{width:28px;height:28px;fill:none;stroke:var(--rules-violet);stroke-width:1.6;flex:none}.rules-hero-note b{font-size:12px}.rules-hero-note p{margin:6px 0 0;color:var(--rules-muted);font-size:11px;line-height:1.55}
.rules-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;margin-top:22px;align-items:start}.rules-nav{position:sticky;top:106px;border:1px solid var(--rules-line);border-radius:18px;background:rgba(13,16,24,.86);box-shadow:0 18px 50px rgba(0,0,0,.18);overflow:hidden}body.light .rules-nav{background:rgba(255,255,255,.91);box-shadow:0 15px 40px rgba(37,50,76,.07)}.rules-nav-head{padding:17px 17px 13px;border-bottom:1px solid var(--rules-line);display:flex;align-items:center;justify-content:space-between;gap:8px}.rules-nav-head span{font-size:9px;font-weight:900;letter-spacing:.17em;color:var(--rules-cyan)}.rules-nav-head small{font-size:9px;color:var(--rules-muted)}.rules-nav nav{padding:8px}.rules-nav nav a{min-height:42px;padding:7px 9px;border-radius:9px;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:8px;color:var(--rules-muted);text-decoration:none;border:1px solid transparent;transition:.16s}.rules-nav nav a i{font-style:normal;font-size:9px;font-weight:900;letter-spacing:.06em;color:#747e94}.rules-nav nav a span{font-size:11px;font-weight:750}.rules-nav nav a:hover{color:var(--rules-text);background:rgba(255,255,255,.035)}.rules-nav nav a.active{color:var(--rules-text);border-color:rgba(53,217,255,.17);background:linear-gradient(90deg,rgba(138,77,255,.10),rgba(53,217,255,.045))}.rules-nav nav a.active i{color:var(--rules-cyan)}.rules-nav-help{margin:0 8px 8px;padding:13px;border:1px solid rgba(138,77,255,.17);border-radius:11px;background:rgba(138,77,255,.05)}.rules-nav-help span{display:block;color:var(--rules-muted);font-size:9px;line-height:1.45}.rules-nav-help a{margin-top:7px;display:flex;align-items:center;justify-content:space-between;color:var(--rules-text);font-size:10px;font-weight:850;text-decoration:none}.rules-nav-help a b{color:var(--rules-cyan)}
.rules-list{display:grid;gap:12px;min-width:0}.rule-card{scroll-margin-top:108px;border:1px solid var(--rules-line);border-radius:18px;background:linear-gradient(180deg,rgba(17,22,34,.78),rgba(11,14,22,.72));box-shadow:0 18px 50px rgba(0,0,0,.13);overflow:hidden;transition:border-color .18s,transform .18s,opacity .18s}.rule-card:hover{border-color:var(--rules-line-hi)}body.light .rule-card{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(250,252,255,.94));box-shadow:0 16px 45px rgba(37,50,76,.055)}.rule-card[hidden]{display:none!important}.rule-card header{min-height:88px;padding:19px 22px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--rules-line);background:linear-gradient(90deg,rgba(138,77,255,.035),transparent 45%)}.rule-number{width:48px;height:48px;border:1px solid rgba(53,217,255,.18);border-radius:12px;display:grid;place-items:center;color:var(--rules-cyan);font-size:13px;font-weight:950;letter-spacing:.08em;background:rgba(53,217,255,.035)}.rule-card header small{display:block;margin-bottom:5px;color:var(--rules-muted);font-size:8px;font-weight:900;letter-spacing:.17em}.rule-card h2{margin:0;font-size:19px;letter-spacing:-.015em}.rule-tag{padding:7px 9px;border:1px solid rgba(138,77,255,.18);border-radius:999px;background:rgba(138,77,255,.07);color:#bca7ff;font-size:9px;font-weight:850;white-space:nowrap}.rule-tag.danger{border-color:rgba(255,98,119,.22);background:rgba(255,98,119,.07);color:#ff8a9b}.rule-card-danger{border-color:rgba(255,98,119,.13)}.rule-card-danger header{background:linear-gradient(90deg,rgba(255,98,119,.045),transparent 45%)}.rule-card ol{list-style:none;margin:0;padding:10px 22px 18px}.rule-card li{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.055);color:var(--rules-muted);font-size:13px;line-height:1.58}.rule-card li:last-child{border-bottom:0}.rule-card li b{color:var(--rules-text);font-size:10px;letter-spacing:.04em;padding-top:3px}.rule-card li span{min-width:0}body.light .rule-card li{border-bottom-color:rgba(26,38,60,.07)}.rule-card-final{border-color:rgba(53,217,255,.14)}
.rules-appeal{margin:0 22px 22px;padding:16px 17px;border:1px solid rgba(53,217,255,.15);border-radius:13px;background:linear-gradient(110deg,rgba(138,77,255,.07),rgba(53,217,255,.045));display:flex;align-items:center;justify-content:space-between;gap:18px}.rules-appeal small{display:block;margin-bottom:5px;color:var(--rules-cyan);font-size:8px;font-weight:900;letter-spacing:.15em}.rules-appeal b{font-size:11px}.rules-appeal a{height:39px;padding:0 13px;border:1px solid var(--rules-line-hi);border-radius:9px;display:inline-flex;align-items:center;gap:12px;flex:none;text-decoration:none;color:var(--rules-text);background:rgba(255,255,255,.035);font-size:10px;font-weight:850}.rules-appeal a span{color:var(--rules-cyan)}.rules-appeal a:hover{background:rgba(255,255,255,.07)}
.rules-empty{min-height:260px;border:1px dashed var(--rules-line-hi);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.rules-empty strong{font-size:20px}.rules-empty span{margin-top:7px;color:var(--rules-muted);font-size:12px}.rules-empty button{margin-top:16px;height:40px;padding:0 15px;border:1px solid var(--rules-line-hi);border-radius:9px;background:rgba(255,255,255,.04);color:var(--rules-text);font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.rules-footer{margin-top:26px;padding:18px 3px 0;border-top:1px solid var(--rules-line);display:flex;justify-content:space-between;gap:15px;color:var(--rules-muted);font-size:10px}.rules-top{position:fixed;z-index:9000;right:22px;bottom:22px;width:42px;height:42px;border:1px solid var(--rules-line-hi);border-radius:11px;background:rgba(13,16,24,.9);color:var(--rules-text);display:grid;place-items:center;box-shadow:0 15px 40px rgba(0,0,0,.23);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;cursor:pointer}body.light .rules-top{background:rgba(255,255,255,.94)}.rules-top.show{opacity:1;visibility:visible;transform:none}.rules-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}

/* V1.0.1 interaction stability: keep decorative/compositor layers out of hit testing. */
.rules-hero,.rules-layout,.rules-list,.rule-card,.rules-footer{position:relative;z-index:1}
.rules-nav{z-index:5}
.rules-search-wrap,.rules-nav a,.rules-appeal a,.rules-empty button,.rules-top{pointer-events:auto}
.rules-bg,.rules-grid-bg,.rules-glow,.rules-hero::before{pointer-events:none!important}
@media(max-width:980px){body.rules-page{padding-top:82px}.rules-shell{width:calc(100% - 28px);padding-top:18px}.rules-hero{grid-template-columns:1fr;padding:30px}.rules-hero-side{grid-template-columns:140px 1fr;grid-template-rows:auto}.rules-layout{grid-template-columns:1fr}.rules-nav{position:relative;top:auto}.rules-nav-head,.rules-nav-help{display:none}.rules-nav nav{display:flex;overflow-x:auto;scrollbar-width:none;padding:7px}.rules-nav nav::-webkit-scrollbar{display:none}.rules-nav nav a{min-width:max-content;grid-template-columns:26px auto;padding:7px 10px}.rules-list{gap:10px}}
@media(max-width:620px){html{scroll-padding-top:82px}.rules-shell{width:calc(100% - 20px);padding:12px 0 30px}.rules-hero{padding:24px 19px;border-radius:18px}.rules-hero:before{font-size:84px;right:10px}.rules-hero h1{font-size:42px}.rules-hero-copy>p{font-size:13px}.rules-search-wrap{margin-top:22px;height:48px}.rules-search-wrap>span{display:none}.rules-hero-side{grid-template-columns:1fr}.rules-hero-stat{display:none}.rules-hero-note{padding:14px}.rules-layout{margin-top:10px;gap:10px}.rules-nav{border-radius:13px}.rule-card{scroll-margin-top:80px;border-radius:14px}.rule-card header{min-height:74px;padding:14px;grid-template-columns:42px minmax(0,1fr);gap:11px}.rule-number{width:42px;height:42px}.rule-card header>div:nth-child(2){min-width:0}.rule-card h2{font-size:16px}.rule-tag{grid-column:2;justify-self:start;margin-top:-6px}.rule-card ol{padding:7px 14px 13px}.rule-card li{grid-template-columns:40px minmax(0,1fr);padding:10px 0;font-size:12px;line-height:1.55}.rules-appeal{margin:0 14px 14px;padding:14px;align-items:stretch;flex-direction:column}.rules-appeal a{justify-content:space-between}.rules-footer{flex-direction:column;gap:5px;text-align:center}.rules-top{right:14px;bottom:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rule-card,.rules-top,.rules-nav a{transition:none!important}}
