.rules-page .header{background:#151513}
.rules-page main{--reading-font:Manrope,Arial,sans-serif;font-family:var(--reading-font);font-size:18px;line-height:1.75}
.rules-intro{padding-top:46px;padding-bottom:40px}
.back-link{font-size:15px;color:#bcb5ab;display:inline-block;margin-bottom:38px}
.back-link:hover{color:var(--orange)}
.rules-intro h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(52px,5.5vw,78px);font-weight:700;line-height:1.02;margin:18px 0}
.rules-intro h1 span{color:var(--orange)}
.rules-intro>p{color:#c4bdb4;font-size:19px;line-height:1.65;max-width:60ch}
.rules-intro .eyebrow{color:#99aebb;font-family:Manrope,sans-serif;font-size:10px}
.draft-notice{display:flex;align-items:center;gap:18px;padding:23px 26px;background:#92140c14;border:1px solid #92140c77;border-left:3px solid var(--red);border-radius:5px;margin-bottom:42px}
.draft-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #b55446;color:#eea89a;border-radius:50%;font-size:18px}
.draft-notice strong{font-size:18px;font-weight:600;color:#f0bcb1}
.draft-notice p{font-size:16px;line-height:1.65;color:#d0bcb6;margin:4px 0 0;max-width:80ch}
.draft-badge{font-family:Manrope,sans-serif;font-size:10px;letter-spacing:1px;margin-left:auto;white-space:nowrap;color:#e7a194}
.rules-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:44px;align-items:start;margin-bottom:80px}
.rules-sidebar{position:sticky;top:100px;min-width:0}
.sidebar-label{font-family:Manrope,sans-serif;display:flex;justify-content:space-between;font-size:11px;letter-spacing:1.4px;padding:4px 0 20px;color:#9bafbb;font-weight:600}
.sidebar-label>span{color:#aaa399}
.category-nav{display:flex;flex-direction:column;align-items:stretch;height:auto;gap:6px}
.category-nav a{height:auto;min-height:51px;font-family:var(--reading-font);font-size:16px;font-weight:500;line-height:1.35;padding:14px;border-left:2px solid transparent;display:flex;align-items:center;gap:12px;color:#ccc5bb;background:#1d1d19;border-radius:0 4px 4px}
.category-nav a:after{display:none}
.category-nav a span{font-size:13px;color:#9a9d99;letter-spacing:.3px;font-variant-numeric:tabular-nums}
.category-nav a.current{color:var(--orange);border-left-color:var(--orange);background:#ff753b12}
.category-nav a.current span{color:var(--orange)}
.category-nav a[hidden]{display:none}
.sidebar-tip{padding:24px 20px;border:1px solid var(--line);margin-top:28px;border-radius:5px}
.sidebar-tip>span{float:right;font-size:25px;color:var(--orange)}
.sidebar-tip strong{font-size:18px;font-weight:600}
.sidebar-tip p{font-size:16px;color:#bab3a8;line-height:1.6;margin:8px 0 18px}
.sidebar-tip button{color:var(--orange);font-size:15px;font-weight:600;padding:0}
.rules-body{min-width:0}
.search-box{display:flex;gap:15px;align-items:center;border:1px solid #63503e;border-radius:5px;padding:17px 20px;background:#20201b}
.search-box svg{width:23px;height:23px;fill:none;stroke:var(--orange);stroke-width:1.5;flex-shrink:0}
.search-box input{background:none;border:0;outline:0;color:var(--white);font:inherit;font-size:18px;line-height:1.5;min-width:0;width:100%}
.search-box:focus-within{outline:2px solid var(--orange);outline-offset:2px}
.search-box input::placeholder{color:#b0a99d;opacity:1}
.search-box kbd{white-space:nowrap;font-size:11px;border:1px solid #625c50;padding:4px 7px;border-radius:3px;color:#beb7ab}
.search-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#b7afa3;font-size:14px;line-height:1.5;margin:14px 0 28px;min-height:22px}
.search-meta button{color:var(--orange);font-size:14px;padding:0}
.rules-section{scroll-margin-top:100px;border:1px solid #ede6e322;padding:32px 36px;margin-bottom:26px;border-radius:6px;background:#1d1d19;box-shadow:0 8px 25px #0000000a}
.rule-heading{display:flex;align-items:center;gap:17px;border-bottom:1px solid #ede6e324;padding-bottom:22px;margin-bottom:22px}
.rule-heading .section-number{font-family:'Barlow Condensed',Impact,sans-serif;font-size:38px;line-height:1;color:var(--orange);font-weight:600;font-variant-numeric:tabular-nums}
.rule-heading h2{font-family:var(--reading-font);font-size:27px;font-weight:700;line-height:1.25;letter-spacing:-.2px;overflow-wrap:anywhere}
.rule-heading>span:last-child{font-family:Manrope,sans-serif;font-size:10px;letter-spacing:.8px;color:#9fb2bd;margin-left:auto;white-space:nowrap}
.rule-description{font-size:18px;color:#bfb8ad;line-height:1.75;max-width:72ch;margin:0 0 25px}
.rule-item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:25px 0;margin:0;border-top:1px solid #ede6e315}
.rule-item:last-child{padding-bottom:3px}
.rule-item>span{color:var(--orange);font-size:15px;font-weight:600;line-height:1.4;min-height:32px;display:flex;align-items:center;justify-content:center;align-self:start;padding:5px 4px;margin-top:1px;border:1px solid #ff753b30;border-radius:4px;background:#ff753b0c;font-variant-numeric:tabular-nums}
.rule-item h3{font-family:var(--reading-font);font-size:21px;line-height:1.45;margin:0 0 9px;font-weight:600;color:#ede6e3;overflow-wrap:anywhere}
.rule-item p{font-size:18px;font-weight:400;color:#d3cdc3;margin:0;line-height:1.8;max-width:72ch;overflow-wrap:anywhere}
.rule-item mark,.rule-heading mark,.rule-description mark{background:#ff753b35;color:#fff5ec;border-bottom:1px solid var(--orange);border-radius:2px}
.protected-content{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.rules-end{padding:26px;display:flex;gap:18px;border:1px dashed #655849;color:#bfb7ab;margin-top:30px;border-radius:5px}
.rules-end>span{color:var(--orange);font-size:29px;line-height:1.5}
.rules-end strong{font-size:18px;font-weight:600;color:#e2dacd;line-height:1.5}
.rules-end p{font-size:16px;line-height:1.7;margin:6px 0 0}
.empty-search{text-align:center;padding:50px 20px;border:1px solid var(--line);border-radius:5px}
.empty-search>span{font-size:55px;color:var(--gray)}
.empty-search h2{font-family:var(--reading-font);font-size:30px;font-weight:600}
.empty-search p{font-size:18px;color:#c7bfb3}
.empty-search .button{margin-top:15px;font-size:15px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
@media(max-width:1100px){
 .rules-layout{grid-template-columns:235px minmax(0,1fr);gap:28px}
 .rules-section{padding:28px}
 .rule-heading>span:last-child{display:none}
 .rule-heading h2{font-size:25px}
 .draft-badge{display:none}
 .category-nav a{padding-inline:11px;font-size:16px}
}
@media(max-width:850px){
 .rules-layout{grid-template-columns:minmax(0,1fr);gap:26px}
 .rules-sidebar{position:static}
 .sidebar-label{padding-bottom:14px}
 .category-nav{position:static;display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;padding:0 0 9px;background:none;box-shadow:none;gap:9px;scrollbar-width:thin}
 .category-nav a{flex-shrink:0;white-space:nowrap;padding:12px 15px;min-height:48px;gap:9px;border-left:0;border-bottom:2px solid transparent;font-size:16px;border-radius:4px 4px 0 0}
 .category-nav a.current{border-bottom-color:var(--orange)}
 .sidebar-tip{display:none}
}
@media(max-width:760px){
 .rules-page main{font-size:17px}
 .rules-intro{padding-top:28px;padding-bottom:28px}
 .back-link{font-size:14px;margin-bottom:28px}
 .rules-intro h1{font-size:56px}
 .rules-intro>p{font-size:18px}
 .rules-intro .eyebrow{font-size:9px}
 .draft-notice{padding:18px;align-items:start;gap:12px;margin-bottom:29px}
 .draft-notice strong{font-size:18px}
 .draft-notice p{font-size:16px}
 .draft-icon{width:26px;height:26px;margin-top:2px}
 .search-box{padding:15px;gap:10px}
 .search-box input{font-size:17px}
 .search-box kbd{display:none}
 .search-meta{align-items:start;flex-wrap:wrap;gap:6px;font-size:13px;margin-bottom:22px}
 .search-meta button{font-size:14px}
 .rules-section{padding:23px 20px;margin-bottom:22px}
 .rule-heading{gap:13px;padding-bottom:18px;margin-bottom:18px}
 .rule-heading .section-number{font-size:33px}
 .rule-heading h2{font-size:24px}
 .rule-description{font-size:17px;line-height:1.7;margin-bottom:20px}
 .rule-item{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:22px 0}
 .rule-item>span{font-size:14px;min-height:29px;padding:4px 2px}
 .rule-item h3{font-size:20px;line-height:1.4;margin-bottom:9px}
 .rule-item p{font-size:17px;line-height:1.8}
 .rules-end{padding:20px;gap:12px}
 .rules-end strong{font-size:18px}
 .rules-end p{font-size:16px}
 .rules-layout{margin-bottom:48px}
}
@media(max-width:380px){.rules-section{padding:21px 16px}.rule-item{gap:10px;grid-template-columns:32px minmax(0,1fr)}.rule-heading h2{font-size:23px}}
.search-shortcut{display:flex;align-items:center;flex-shrink:0;padding:0;background:none;border:0}.search-shortcut:hover kbd{color:var(--orange);border-color:var(--orange)}
@media(max-width:760px){.search-shortcut{display:none}}

.rule-item{grid-template-columns:64px minmax(0,1fr)}
.rule-item--named{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.rule-item{grid-template-columns:56px minmax(0,1fr)}.rule-item--named{grid-template-columns:minmax(0,1fr)}}
.limits-wrap{margin-top:32px;border:1px solid #6E88984d;background:#17161480;overflow:hidden;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.limits-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.5}
.limits-table th,.limits-table td{padding:17px 14px;text-align:left;vertical-align:middle;border-bottom:1px solid #6E88982b}
.limits-table thead{background:#6E889812;color:#6E8898}
.limits-table thead th{font-size:11px;font-weight:600;letter-spacing:.04em}
.limits-table thead th:first-child{width:36%}
.limits-table thead th:last-child{width:28%}
.limits-table thead i{color:#FF753B;margin-right:5px}
.limits-table tbody th{font-family:'Space Grotesk',sans-serif;font-weight:500;color:#EDE6E3;font-size:17px;overflow-wrap:anywhere}
.limits-table td{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:400;font-variant-numeric:tabular-nums;color:#EDE6E3;white-space:nowrap}
.limits-table td:last-child{color:#FF753B;font-size:16px}
.limits-table tbody tr:nth-child(even){background:#6E889807}
.limits-table tbody tr:last-child>*{border-bottom:0}
.limits-table small{display:block;font-family:Manrope,Arial,sans-serif;font-size:11px;font-weight:400;color:#6E8898;margin-top:4px}
.limits-table mark{background:#FF753B35;color:#EDE6E3}
@media(max-width:600px){
 .limits-wrap{border:0;clip-path:none;background:transparent;margin-top:26px;overflow:visible}
 .limits-table,.limits-table tbody{display:block}
 .limits-table thead{display:none}
 .limits-table tbody tr{display:grid;grid-template-columns:1fr 1fr 1.5fr;background:#17161480;border:1px solid #6E88984d;margin-bottom:12px;padding:16px;gap:16px 10px;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
 .limits-table tbody th{grid-column:1/-1;padding:0 0 12px;border-bottom:1px solid #6E88982b!important;font-size:18px}
 .limits-table td{padding:0;border:0;font-size:21px}
 .limits-table td:before{content:attr(data-label);display:block;font-family:Manrope,Arial,sans-serif;font-size:10px;line-height:1.4;color:#6E8898;margin-bottom:6px;white-space:normal}
 .limits-table td:last-child{font-size:18px}
 .limits-table td:empty{display:none}
}
