:root{--bg:#f7f2eb;--paper:#fffcf7;--ink:#35282f;--muted:#7c7072;--line:#e5dad2;--accent:#dc542e;--peach:#f8e2d4;--rail:#382831;--soft:#efe7e0;--green:#346b5e;--shadow:0 20px 55px #3828310a;--radius:14px;--font:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b84323;outline-offset:4px}input{accent-color:var(--accent)}[hidden]{display:none!important}::selection{background:#f4c0a9}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1{font-size:clamp(30px,3.5vw,46px);font-weight:750}h2{font-size:25px;font-weight:700}h3{font-size:19px;font-weight:700}.ico{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.ico.sm{width:16px;height:16px}.ico.lg{width:28px;height:28px}.skip{position:fixed;left:-10000px;top:8px;background:white;padding:10px 16px;z-index:400}.skip:focus{left:10px}.muted{color:var(--muted)}.tiny{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:10px;font-weight:750;color:var(--muted)}.tag{display:inline-flex;align-items:center;gap:7px;padding:4px 9px;background:var(--soft);border-radius:5px;font-size:11px;line-height:1.7;font-weight:650;white-space:nowrap}.tag.accent{background:#f7e0d4;color:#9e3d20}.tag.green{background:#e5eee7;color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 19px;border:1px solid transparent;border-radius:8px;font-weight:650;font-size:14px;line-height:1.45;transition:background .15s,transform .15s}.btn.primary{background:var(--accent);color:#fff}.btn.primary:hover{background:#c44725}.btn.dark{background:var(--rail);color:var(--paper)}.btn.dark:hover{background:#523a45}.btn.outline{background:transparent;border-color:#d7c9bd;color:var(--ink)}.btn.outline:hover{background:#f0e7dd}.btn.soft{background:var(--soft);color:var(--ink)}.btn.text{padding:10px 0;background:none;color:var(--ink)}.btn.small{min-height:38px;padding:8px 13px;font-size:12px}.icon-btn{display:inline-grid;place-items:center;min-width:42px;min-height:42px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink)}.link{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;padding:5px 0;color:var(--ink);font-size:13px;font-weight:650;text-align:left}.link:hover{text-decoration:underline;text-underline-offset:5px}.divider{height:1px;background:var(--line)}.visually-hidden{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
/* One navigation tree, reused as the mobile drawer. No duplicate header/footer menu. */
.rail{width:232px;background:var(--rail);color:#f9f1e8;position:fixed;inset:0 auto 0 0;z-index:80;padding:30px 18px 24px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 33px}.brand-symbol{width:43px;height:48px;display:grid;place-items:center;border:1px solid #987779;font-size:29px;line-height:1;font-weight:650;position:relative}.brand-symbol:after{content:'';position:absolute;width:6px;height:6px;background:#f27d52;bottom:-4px;left:18px;border-radius:50%}.brand-name{font-size:17px;font-weight:800;line-height:1.05;letter-spacing:-.04em}.rail-rule{height:1px;background:#ffffff1c;margin:0 8px 27px}.rail nav{display:grid;gap:7px}.nav-item{border:0;border-left:3px solid transparent;display:flex;align-items:center;gap:13px;min-height:50px;width:100%;padding:12px 13px;color:#d9c8c8;background:none;font-size:14px;text-align:left;border-radius:0}.nav-item .ico{width:18px;height:18px;opacity:.75}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item[aria-current=page]{background:#ed754e;color:#2a1b22;border-left-color:#ffd2b5;font-weight:750}.nav-item[aria-current=page] .ico{opacity:1}.nav-item.community{margin-top:19px;border-top:1px solid #ffffff1c;padding-top:21px;min-height:65px}.rail-note{margin-top:auto;padding:35px 13px 0;display:grid;gap:6px;font-size:11px;color:#b49ca1}.rail-note .dot{width:5px;height:5px;border-radius:50%;background:#ed754e;display:inline-block;margin-right:7px}.close-menu{display:none}.backdrop{display:none}.frame{margin-left:232px;min-height:100vh}.topbar{height:69px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:15px}.preview-label{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.preview-label b{color:var(--ink);font-weight:650}.preview-dot{width:6px;height:6px;background:var(--accent);border-radius:50%}.review-trigger{display:flex;gap:9px;align-items:center;border:0;background:none;font-size:12px;font-weight:650;color:var(--ink);padding:10px 0}.mobile-menu-btn{display:none}.mobile-brand{display:none}.shell{max-width:1270px;padding:38px 40px 50px;margin:auto;min-height:calc(100vh - 124px)}.footer{padding:16px 40px 22px;max-width:1270px;margin:auto;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#97868b;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 29px}.page-head p{margin-top:11px;max-width:650px;font-size:14px;color:var(--muted)}.head-action{flex-shrink:0}.back-link{margin:0 0 22px}.panel{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:var(--radius)}.panel+.panel{margin-top:20px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-label h2{font-size:20px}.note{display:flex;gap:11px;color:var(--muted);font-size:12px;line-height:1.65;padding:16px 0}.note .ico{width:17px;height:17px;margin-top:2px}.note.filled{background:#f2e8dd;border:1px solid #e7d4c6;padding:14px 17px;border-radius:8px}.note p{margin:0}.status{border:1px solid #e0c4b8;background:#f9eae1;padding:15px 18px;font-size:13px;border-radius:8px;line-height:1.6}.status.success{background:#e8f0e9;border-color:#ccdfcf;color:#285447}.status.error{background:#fbe6de;border-color:#edbaa9;color:#882c1e}.status:empty{display:none}.spacer{height:20px}.inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.empty{border:1px dashed #d6c5ba;border-radius:12px;padding:55px 28px;text-align:center;color:var(--muted)}.empty .ico{margin:0 auto 17px;width:27px;height:27px;color:#b19a8a}.empty h2{font-size:21px;color:var(--ink);margin-bottom:10px}.empty p{font-size:13px;max-width:460px;margin:auto}.empty .btn{margin-top:20px}
/* Home intentionally has no account/support shortcut cards. */
.home-layout{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(260px,.8fr);border:1px solid var(--line);background:var(--paper);border-radius:14px;overflow:hidden;min-height:560px}.home-main{padding:49px 42px;display:flex;flex-direction:column;align-items:flex-start;position:relative}.home-main h1{font-size:clamp(60px,6.7vw,100px);line-height:.9;letter-spacing:-.075em;margin:73px 0 29px;font-weight:800}.home-main h1 .end{color:var(--accent)}.home-main p{font-size:15px;max-width:310px;line-height:1.8;color:var(--muted)}.home-main .btn{margin-top:29px;min-width:185px}.home-agenda{background:#f4e3d7;border-left:1px solid #e5cdbd;padding:36px 28px;display:flex;flex-direction:column}.home-agenda .today-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#806456}.home-agenda h2{font-size:26px;margin-top:28px}.home-next{padding:25px 0 24px;border-bottom:1px solid #dcc4b5}.home-next .time-large{font-size:52px;line-height:1;font-weight:700;letter-spacing:-.05em;color:var(--accent);margin:15px 0 11px;font-variant-numeric:tabular-nums}.home-next .next-name{font-weight:650;font-size:17px}.home-next .muted{font-size:12px;margin-top:5px}.home-agenda-list{display:grid;gap:18px;padding:25px 0}.home-agenda-row{display:grid;grid-template-columns:52px 1fr;gap:15px;font-size:12px}.home-agenda-row time{font-variant-numeric:tabular-nums;font-weight:700}.home-agenda-row.past{color:#988177}.home-agenda-note{margin-top:auto;padding-top:25px;font-size:11px;color:#886f62}.home-footnote{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.home-footnote .tag{background:#eee2d7}
/* Task steps are informational, not a second navigation menu. */
.steps{display:flex;align-items:center;list-style:none;margin:0 0 30px;padding:0;gap:16px;flex-wrap:wrap}.step{display:flex;align-items:center;gap:8px;color:#998a85;font-size:12px}.step .step-num{display:grid;place-items:center;width:22px;height:22px;border:1px solid #daccbf;border-radius:50%;font-size:10px;font-weight:700}.step.current{color:var(--ink);font-weight:650}.step.current .step-num{border-color:var(--rail);background:var(--rail);color:var(--paper)}.step.done .step-num{border-color:#c7d7c9;background:#e8efe7;color:var(--green)}.step-join{width:23px;height:1px;background:var(--line)}.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.package-card{padding:26px;background:var(--paper);border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:13px}.file-mark{height:62px;display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.08em;font-weight:700;color:#9f5d41}.file-mark .ico{width:38px;height:38px;stroke-width:1.3}.package-card h2{font-size:25px}.package-card p{font-size:13px;color:var(--muted)}.package-card .btn{margin-top:16px;width:100%}.download-detail{display:grid;grid-template-columns:1fr minmax(220px,.65fr);gap:28px}.package-focus{padding:35px;background:var(--paper);border:1px solid var(--line);border-radius:12px;min-height:310px}.package-focus h2{font-size:35px;margin:15px 0}.package-focus p{font-size:14px;color:var(--muted);max-width:500px}.package-focus .inline-actions{margin-top:30px}.package-instructions{padding:12px 0}.package-instructions h3{font-size:18px;margin:10px 0 18px}.instruction{display:flex;gap:12px;margin-bottom:19px;font-size:13px;color:var(--muted)}.instruction b{width:22px;height:22px;border:1px solid var(--line);border-radius:4px;display:grid;place-items:center;font-size:10px;flex-shrink:0}.instruction strong{display:block;color:var(--ink);font-weight:650;margin-bottom:3px}.completed{display:grid;grid-template-columns:65px 1fr;gap:22px;align-items:start}.completed .complete-icon{width:60px;height:60px;display:grid;place-items:center;background:#e3ece3;border-radius:50%;color:var(--green)}.completed h2{font-size:27px;margin:4px 0 12px}.completed p{max-width:530px;color:var(--muted);font-size:14px}.completed .inline-actions{margin-top:25px}.existing{margin-top:24px;font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:19px}.existing summary{cursor:pointer;font-weight:650;color:var(--ink);padding:5px 0}.existing p{padding-top:10px;max-width:530px}
/* Account preview only: read-only fixed values, no real credentials accepted. */
.account-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.account-row{padding:26px 29px;display:flex;align-items:center;gap:21px;border-bottom:1px solid var(--line)}.account-row:last-child{border-bottom:0}.account-row:hover{background:#fbf3eb}.account-row .task-icon{width:45px;height:45px;background:#f3e5da;display:grid;place-items:center;border-radius:9px;color:#a04f32}.account-row h2{font-size:21px}.account-row p{font-size:13px;color:var(--muted);margin-top:7px}.account-row .row-arrow{margin-left:auto}.future-note{display:flex;gap:12px;align-items:flex-start;padding:20px 4px;font-size:12px;color:var(--muted)}.future-note .ico{width:16px;height:16px;margin-top:2px}.account-form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr);gap:30px;align-items:start}.form-card{padding:28px;border:1px solid var(--line);background:var(--paper);border-radius:12px}.form-card h2{font-size:24px;margin-bottom:20px}.form-fields{display:grid;gap:17px;margin:20px 0}.field{display:grid;gap:7px;font-size:12px;font-weight:650}.field input,.field select{width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #d9ccc3;border-radius:6px;background:#fffcf7;color:var(--ink);outline-offset:2px;font-size:14px}.field input[readonly]{color:#77666b;background:#f6f0e9}.field-note{font-size:11px;color:var(--muted);font-weight:400}.form-card .status{margin:15px 0}.review-list{margin:20px 0 25px;display:grid;gap:0}.review-list div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.review-list dt{color:var(--muted)}.review-list dd{margin:0;font-weight:650}.design-note{border-left:2px solid #d4b4a4;padding:4px 0 4px 17px;margin-top:18px;font-size:12px;color:var(--muted);max-width:340px}.design-note strong{color:var(--ink);display:block;font-size:13px;margin-bottom:9px}.design-note p+p{margin-top:10px}.test-tool{margin-top:24px;padding-top:16px;border-top:1px dashed #d9c6b9;font-size:12px;color:var(--muted)}.test-tool summary{cursor:pointer}.test-tool .field{margin-top:12px}.helper-steps{font-size:12px;line-height:1.8;padding-left:20px;color:var(--muted)}
/* Content: one list, one detail; no articles masquerading as official announcements. */
.tabs{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow:auto;padding-bottom:0}.tabs .tab{white-space:nowrap;border:0;border-bottom:2px solid transparent;color:var(--muted);background:none;padding:13px 18px;font-size:13px;font-weight:650}.tabs .tab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.tabs .tab:hover{background:#f0e7de}.preview-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;font-size:11px;color:var(--muted);flex-wrap:wrap}.preview-tools label{display:flex;align-items:center;gap:9px}.preview-tools select{padding:6px 10px;border:1px solid #dbcabf;background:var(--paper);color:var(--muted);font-size:11px;border-radius:5px;max-width:190px}.news-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.news-row{display:grid;grid-template-columns:80px minmax(0,1fr) 24px;gap:25px;align-items:center;padding:30px}.news-row .news-thumb{display:grid;place-items:center;aspect-ratio:1;background:#eedacf;color:#a17262;border-radius:7px}.news-row .news-thumb .ico{width:31px;height:31px;stroke-width:1.2}.news-row h2{font-size:24px;margin:10px 0}.news-row p{font-size:13px;color:var(--muted)}.article{max-width:780px;background:var(--paper);padding:35px;border:1px solid var(--line);border-radius:12px}.article h1{font-size:36px;margin:16px 0 25px}.article-body{font-size:15px;color:#6a5e61;line-height:1.9}.article-body p+p{margin-top:17px}.article .status{margin-top:25px;font-size:12px}.search{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:var(--paper);min-height:44px;max-width:365px;width:100%}.search .ico{color:#a3948b;width:18px;height:18px}.search input{border:0;background:none;outline:none;min-width:0;width:100%;font-size:13px;color:var(--ink)}.search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.guide-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.guide-count{font-size:12px;color:var(--muted)}.guide-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.guide-tile{border:0;background:none;text-align:left;padding:0;color:var(--ink);display:block}.guide-tile:hover .guide-thumb{border-color:#bd9580;background:#f5e5d9}.guide-thumb{aspect-ratio:16/11;position:relative;display:grid;place-items:center;border:1px solid #decfc3;background:#eee4d9;border-radius:7px;overflow:hidden;transition:background .15s}.guide-thumb .ico{stroke-width:1.1;color:#b39d8e;width:27px;height:27px}.guide-slot{position:absolute;left:10px;top:7px;color:#aa9689;font:10px/1.2 ui-monospace,monospace}.guide-thumb img{width:100%;height:100%;object-fit:contain;background:#fffcf7}.guide-tile strong{display:block;margin-top:10px;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.guide-tile small{display:block;font-size:10px;color:#9d8d83;margin-top:4px}.guide-detail-image{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:10px}.guide-detail-image img{max-height:70vh;width:100%;object-fit:contain}.guide-detail-image button{display:block;width:100%;border:0;background:none;padding:0;color:var(--ink)}.guide-detail-image .image-label{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 0;font-size:12px;color:var(--muted)}.image-missing{aspect-ratio:16/8;display:grid;place-items:center;background:#eee4d9;border:1px dashed #c7b5a5;border-radius:8px;padding:24px;color:#947b6c;text-align:center}.image-missing .ico{margin:auto auto 15px;width:32px;height:32px}.file-input{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.viewer-dialog{max-width:1100px!important}.viewer-area{overflow:auto;max-height:70vh;background:#221b20;padding:15px}.viewer-area img{margin:auto;max-height:62vh;object-fit:contain}.viewer-area.zoomed{display:block}.viewer-area.zoomed img{max-height:none;max-width:none;width:1600px}
/* Rankings and activities: data meaning stays explicit. */
.rank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;flex-wrap:wrap}.table-region{overflow:auto;border:1px solid var(--line);background:var(--paper);border-radius:10px;max-width:100%}.rank-table{width:100%;border-collapse:collapse;font-size:13px;min-width:440px}.rank-table th{text-align:left;padding:14px 20px;color:var(--muted);font-size:11px;font-weight:600;background:#f3eae1;white-space:nowrap}.rank-table th:last-child,.rank-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.rank-table td{padding:19px 20px;border-top:1px solid var(--line)}.rank-table td:first-child{color:#a58778;width:65px}.rank-table td:nth-child(2){font-weight:650}.rank-note{font-size:11px;color:var(--muted);margin-top:15px}.daybar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-bottom:22px}.day-button{padding:13px 5px;border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:7px;font-size:12px;line-height:1.4;display:grid;justify-items:center;gap:5px}.day-button small{height:14px;font-size:9px;color:var(--accent)}.day-button[aria-selected=true]{background:var(--rail);border-color:var(--rail);color:var(--paper)}.day-button[aria-selected=true] small{color:#ffae87}.schedule-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:9px 27px}.schedule-row{display:grid;grid-template-columns:75px 35px 1fr auto;gap:13px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.schedule-row:last-child{border:0}.schedule-row time{font-size:22px;font-weight:650;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.schedule-icon{width:31px;height:31px;display:grid;place-items:center;background:#f4e9df;border-radius:50%;color:#a58874}.schedule-row.battle .schedule-icon{color:var(--accent);background:#f9dfce}.schedule-row.world .schedule-icon{color:#6f576f;background:#ebe2ea}.schedule-row h3{font-size:16px;letter-spacing:0}.schedule-row p{font-size:11px;color:var(--muted);margin-top:3px}.schedule-row.past time{color:#b5a69e}.schedule-state{font-size:10px;color:#9c8b82;white-space:nowrap}.schedule-state.next{color:#a04020;background:#fbe3d2;padding:4px 8px;border-radius:4px}.schedule-foot{margin-top:17px;font-size:11px;color:var(--muted)}
/* Dialogs are review utilities or the single community entry. */
dialog{border:1px solid var(--line);padding:0;border-radius:16px;background:var(--paper);color:var(--ink);width:min(820px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-shadow:0 30px 120px #1f142b38;overflow:auto}dialog::backdrop{background:#24182099;backdrop-filter:blur(3px)}body.dialog-open{overflow:hidden}.dialog-head{position:sticky;top:0;z-index:1;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 26px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:22px}.dialog-body{padding:26px}.dialog-intro{font-size:13px;color:var(--muted);margin-bottom:20px}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.community-card{padding:22px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:center}.community-card h3{font-size:21px;margin-bottom:18px}.qr-placeholder{width:158px;aspect-ratio:1;border:1px dashed #c6b7ae;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#a58c7d;font-size:12px;gap:10px;border-radius:4px;background:#f7f0e8}.qr-placeholder .ico{width:31px;height:31px;stroke-width:1.1}.community-qr{width:158px;height:158px;object-fit:contain}.community-card .btn{margin-top:20px;width:100%}.community-card small{margin-top:10px;font-size:10px;color:var(--muted)}.community-config{margin-top:23px;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}.community-config summary{cursor:pointer}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.config-row{display:grid;gap:10px}.community-config .status{margin-top:10px}.flow-overview{display:grid;gap:14px}.flow-lane{padding:19px 20px;border:1px solid var(--line);border-radius:10px}.flow-lane h3{font-size:16px;margin-bottom:13px}.flow-steps{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.flow-steps a,.flow-steps button,.flow-steps span.node{font-size:12px;background:#f1e4d8;color:var(--ink);border:1px solid #e0cbbb;border-radius:5px;padding:8px 11px}.flow-steps a:hover,.flow-steps button:hover{background:#edceba}.flow-steps .ico{width:14px;height:14px;color:#b5a295}.flow-lane p{color:var(--muted);font-size:11px;margin-top:12px}.pending-list{margin:17px 0 0;padding-left:19px;font-size:12px;color:var(--muted)}.pending-list li{padding:5px 0}.review-end{border-top:1px solid var(--line);margin-top:25px;padding-top:23px}.review-end h3{font-size:18px}.review-end .btn{margin-top:18px}.toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translateX(-50%);z-index:350;background:var(--rail);color:#fff4ed;padding:12px 18px;border:1px solid #805c6d;border-radius:7px;box-shadow:var(--shadow);max-width:calc(100% - 32px);font-size:13px;pointer-events:none}.mobile-overlay{display:none}
@media(min-width:1600px){.shell{padding-top:50px}.home-layout{min-height:610px}}
@media(max-width:1180px){.rail{width:212px}.frame{margin-left:212px}.topbar{padding-inline:28px}.shell{padding:30px 28px 40px}.footer{padding-inline:28px}.home-main{padding:40px 30px}.home-main h1{font-size:76px}.home-layout{grid-template-columns:1.2fr .9fr}.home-agenda{padding:30px 23px}.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.package-card{padding:21px}.package-card h2{font-size:23px}.account-form-layout{grid-template-columns:1fr .6fr}.day-button{font-size:11px}}
@media(max-width:920px){.rail{transform:translateX(-100%);transition:transform .18s;top:0;width:264px;z-index:250}.rail.open{transform:none}.rail.open .close-menu{display:inline-grid;position:absolute;right:12px;top:20px;border-color:#705461;color:#e5c7d0;background:#49333f;min-width:32px;min-height:32px}.rail .brand{padding-right:42px}.frame{margin-left:0}.topbar{height:64px;padding:0 22px}.mobile-menu-btn{display:inline-grid;place-items:center;background:none;border:0;color:var(--ink);width:34px;height:40px;padding:0;margin-right:12px}.mobile-brand{display:flex;align-items:center;font-size:12px;font-weight:800;letter-spacing:-.02em}.preview-label{margin-left:auto}.preview-label b{display:none}.review-trigger{font-size:11px}.review-trigger .ico{width:16px;height:16px}.backdrop.open{display:block;position:fixed;inset:0;background:#281b28a0;z-index:230;border:0;width:100%;height:100%}body.menu-open{overflow:hidden}.shell{padding:30px 23px 40px}.footer{padding:14px 23px 22px}.home-layout{min-height:510px}.home-main h1{font-size:76px}.toast{left:50%}}
@media(max-width:680px){.topbar{padding:0 16px;gap:9px}.preview-label{display:none}.review-trigger{margin-left:auto}.shell{padding:27px 18px 35px}.footer{padding:15px 18px;flex-wrap:wrap;font-size:9px}.page-head{display:block;margin-bottom:24px}.page-head h1{font-size:32px}.page-head p{font-size:13px}.page-head .head-action{margin-top:14px}.home-layout{grid-template-columns:1fr;min-height:auto}.home-main{padding:29px 27px 33px}.home-main h1{font-size:74px;margin:40px 0 20px}.home-main p{font-size:14px;max-width:100%}.home-main .btn{margin-top:23px;min-width:170px}.home-agenda{border-left:0;border-top:1px solid #e5cdbd;padding:24px 25px}.home-agenda h2{font-size:21px;margin-top:18px}.home-next{padding:10px 0 18px}.home-next .time-large{font-size:42px}.home-agenda-list{padding:19px 0;gap:13px}.home-agenda-note{padding-top:8px}.home-footnote{display:block;font-size:11px;margin-top:17px}.home-footnote .tag{margin-top:8px}.download-grid{grid-template-columns:1fr;gap:11px}.package-card{display:grid;grid-template-columns:58px 1fr;gap:4px 14px;padding:19px}.package-card .file-mark{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;gap:8px;height:auto;padding-top:7px;font-size:9px}.package-card .file-mark .ico{width:27px;height:27px}.package-card h2{grid-column:2;font-size:23px}.package-card p{grid-column:2;font-size:12px;margin-top:3px}.package-card .btn{grid-column:2;min-height:40px;padding:10px 12px;margin-top:11px;justify-self:start;width:auto;font-size:12px}.download-detail,.account-form-layout{grid-template-columns:1fr;gap:20px}.package-focus{min-height:auto;padding:25px}.package-focus h2{font-size:30px}.package-focus .inline-actions{margin-top:22px}.package-instructions{padding:0 6px}.steps{gap:9px;margin-bottom:24px}.step{font-size:10px;gap:6px}.step .step-num{width:19px;height:19px;font-size:9px}.step-join{width:11px}.panel{padding:23px}.completed{grid-template-columns:1fr;gap:15px}.completed .complete-icon{width:46px;height:46px}.completed h2{font-size:24px}.completed p{font-size:13px}.account-row{padding:20px 17px;gap:15px}.account-row .task-icon{width:36px;height:36px;flex-shrink:0}.account-row h2{font-size:19px}.account-row p{font-size:12px}.account-row .row-arrow{width:17px}.design-note{max-width:none;margin-top:0;font-size:11px}.form-card{padding:23px}.news-row{grid-template-columns:55px 1fr;gap:18px;padding:22px}.news-row> .ico{display:none}.news-row h2{font-size:20px}.news-row p{font-size:12px}.news-row .news-thumb .ico{width:23px}.article{padding:24px}.article h1{font-size:29px}.article-body{font-size:14px}.tabs .tab{padding:11px 14px;font-size:12px}.guide-toolbar{align-items:stretch;flex-direction:column;gap:10px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.guide-tile strong{font-size:11px}.guide-detail-image{padding:10px}.rank-toolbar{gap:13px}.rank-toolbar .search{max-width:none}.daybar{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.day-button{font-size:10px;padding:11px 2px}.day-button small{font-size:8px}.schedule-list{padding:5px 17px}.schedule-row{grid-template-columns:56px 24px 1fr;gap:10px;padding:18px 0}.schedule-row time{font-size:19px}.schedule-icon{width:24px;height:24px}.schedule-icon .ico{width:14px;height:14px}.schedule-row h3{font-size:14px}.schedule-row p{font-size:10px}.schedule-state{grid-column:3;padding:0;justify-self:start;margin-top:-7px}.schedule-state:empty{display:none}.schedule-state.next{padding:3px 6px}.dialog-head{padding:17px 20px}.dialog-head h2{font-size:20px}.dialog-body{padding:20px}.community-grid{gap:11px}.community-card{padding:17px 11px}.community-card h3{font-size:18px;margin-bottom:15px}.qr-placeholder,.community-qr{width:118px;height:118px;font-size:10px}.community-card .btn{font-size:11px;padding:10px 8px;min-height:40px}.community-card small{text-align:center;font-size:9px}.config-grid{grid-template-columns:1fr}.community-config{font-size:11px}.flow-lane{padding:17px}.flow-steps a,.flow-steps button,.flow-steps span.node{font-size:11px;padding:7px 10px}.toast{font-size:12px;width:max-content;max-width:calc(100% - 32px);bottom:20px}.image-missing{aspect-ratio:4/3}}
@media(max-width:360px){.shell{padding-inline:13px}.home-main h1{font-size:65px}.rail{max-width:calc(100% - 38px)}.day-button{font-size:9px}.community-grid{grid-template-columns:1fr}.community-card{display:grid;grid-template-columns:85px 1fr;gap:10px;align-items:center}.community-card h3{grid-column:2;grid-row:1;margin:0}.community-card .qr-placeholder,.community-card .community-qr{width:85px;height:85px;grid-column:1;grid-row:1/4}.community-card .btn{grid-column:2;margin:0}.community-card small{grid-column:2;margin:0}.step{font-size:9px}.step-join{width:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.spacer-text{margin-top:17px}

/* Mobile patch 01: a task-based phone homepage. Desktop rules above are unchanged. */
@media(max-width:767px){
 .mobile-home{display:grid;gap:22px;min-width:0}
 .mobile-section-head{margin:0 0 16px}
 .mobile-section-head h1{font-size:29px;letter-spacing:-.04em}
 .mobile-rank-section{min-width:0}
 .mobile-rank-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:14px}
 .mobile-rank-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:55px;padding:7px 2px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--muted);line-height:1.3}
 .mobile-rank-tabs small{font-size:9px;text-transform:uppercase;letter-spacing:.06em}
 .mobile-rank-tabs span{font-size:12px;font-weight:650;white-space:nowrap}
 .mobile-rank-tabs button[aria-selected=true]{background:var(--rail);border-color:var(--rail);color:var(--paper)}
 .mobile-rank-tabs button[aria-selected=true] small{color:#f8b595}
 .mobile-rank-controls{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:11px}
 .rank-data-state{color:var(--muted);font-size:11px;line-height:1.5;max-width:180px}
 .mobile-demo-select select{width:135px;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:6px;padding:6px;background:var(--paper);color:var(--ink);font-size:12px}
 .mobile-rank-search{width:100%;max-width:none;margin-bottom:13px}
 .mobile-rank-search input{font-size:16px;min-width:0}
 .mobile-rank-section .empty{padding:22px 14px;background:var(--paper)}
 .mobile-rank-section .empty .ico{width:23px;height:23px;margin-bottom:10px}
 .mobile-rank-section .empty h2{font-size:18px}
 .mobile-rank-section .empty p{font-size:12px;max-width:250px}
 .mobile-rank-section .empty .btn{margin-top:13px}
 .mobile-rank-section .rank-note{font-size:11px;margin-top:10px}
 .mobile-rank-section .rank-table{min-width:0;width:100%;table-layout:fixed}
 .mobile-rank-section .rank-table th,.mobile-rank-section .rank-table td{padding:11px 8px;font-size:12px;overflow-wrap:anywhere}
 .mobile-rank-section .rank-table th:first-child,.mobile-rank-section .rank-table td:first-child{width:43px}
 .mobile-rank-section .rank-table th:last-child,.mobile-rank-section .rank-table td:last-child{width:90px}
 .mobile-content-section{min-width:0;border-top:1px solid var(--line);padding-top:16px}
 .mobile-content-tabs{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:4px;margin-bottom:18px;padding:4px;background:var(--soft);border-radius:9px}
 .mobile-content-tabs button{min-height:46px;background:none;border:0;border-radius:6px;color:var(--muted);padding:9px 4px;font-size:12px;font-weight:650;white-space:nowrap}
 .mobile-content-tabs button[aria-selected=true]{background:var(--paper);color:var(--ink);box-shadow:0 2px 5px #3828310a}
 .mobile-content-body{min-height:220px;min-width:0}
 .mobile-content-body .tabs{margin-bottom:14px;gap:3px}
 .mobile-content-body .tabs .tab{min-height:44px;font-size:12px;padding:10px 12px}
 .mobile-content-body .preview-tools{margin-bottom:14px;gap:8px}
 .mobile-content-body .preview-tools select{min-height:44px}
 .mobile-content-body .news-row{padding:18px 15px;grid-template-columns:36px minmax(0,1fr);gap:13px}
 .mobile-content-body .news-row h2{font-size:18px;margin:9px 0 7px}
 .mobile-content-body .news-row p{font-size:12px}
 .mobile-content-body .news-row>.ico{display:none}
 .mobile-guide-tools{display:flex;justify-content:flex-end;margin-bottom:13px}
 .mobile-guide-tools .btn{min-height:44px}
 .mobile-content-body .guide-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin-bottom:15px}
 .mobile-content-body .guide-toolbar .search{max-width:none}
 .mobile-content-body .guide-toolbar input{font-size:16px}
 .mobile-content-body .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}
 .mobile-content-body .guide-tile strong{font-size:12px}
 .mobile-timezone{font-size:12px;color:var(--muted);margin-bottom:14px}
 .mobile-content-body .daybar{gap:3px;grid-template-columns:repeat(7,minmax(0,1fr))}
 .mobile-content-body .day-button{min-width:0;min-height:47px;padding:7px 1px;font-size:10px}
 .mobile-content-body .day-button small{font-size:8px}
 .mobile-content-body .section-label{margin-bottom:13px;gap:8px}
 .mobile-content-body .section-label h2{font-size:19px}
 .mobile-content-body .section-label .tiny{font-size:10px}
 .mobile-download-page .page-head{margin-bottom:22px}
 .pc-download-note{padding:27px 22px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
 .pc-download-symbol{display:inline-grid;place-items:center;width:45px;height:45px;border-radius:10px;background:var(--peach);color:var(--accent);margin-bottom:19px}
 .pc-download-note h2{font-size:24px;margin-bottom:12px}
 .pc-download-note p{color:var(--muted);font-size:14px;line-height:1.7}
 .pc-download-note>.btn{margin-top:23px;width:100%;white-space:normal;min-height:48px}
 #download-copy-result{margin-top:15px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
 #download-copy-result label{display:grid;gap:8px}
 #download-copy-result input{width:100%;min-width:0;min-height:44px;font-size:16px;border:1px solid var(--line);padding:8px;border-radius:6px;background:var(--paper);color:var(--ink)}
 .mobile-package-details{margin-top:18px;border:1px solid var(--line);padding:4px 18px;border-radius:9px;background:var(--paper)}
 .mobile-package-details summary{padding:13px 0;min-height:48px;font-size:14px;font-weight:650;cursor:pointer}
 .mobile-package-list>div{display:grid;grid-template-columns:55px 1fr;gap:7px 12px;padding:14px 0;border-top:1px solid var(--line)}
 .mobile-package-list strong{font-size:15px}
 .mobile-package-list p{grid-column:2;font-size:12px;color:var(--muted)}
 .mobile-package-list .tag{align-self:start;font-size:10px;justify-content:center}
 .mobile-package-details>.tiny{padding:9px 0 16px;font-size:11px}
}

/* Rankings: same Fusion/Companion shell. Added scope never restyles other pages. */
.rank-regions{display:flex;gap:8px;margin:0 0 16px}.rank-regions button,.rank-subtabs button{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:10px 14px;font:inherit;font-size:12px;min-height:42px;color:var(--ink)}.rank-regions [aria-selected=true],.rank-subtabs [aria-selected=true]{background:var(--rail);color:var(--paper);border-color:var(--rail)}
.rank-pvp{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;flex-wrap:wrap}.rank-subtabs{display:flex;gap:8px}.rank-variant{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.rank-variant select{min-width:55px}
.rank-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:8px 0 12px;min-height:36px}.rank-summary .btn{font-size:11px;white-space:nowrap}
.rank-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.45fr);gap:10px;margin-bottom:14px}.rank-filters .search{min-width:0;max-width:none;margin:0}.rank-job-label{min-width:0}.rank-filters select,.rank-pagination select,.rank-variant select{max-width:100%;width:100%;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font:inherit;font-size:12px}.rank-filters input{min-width:0}
.live-table{min-width:0;table-layout:fixed;width:100%}.live-table th,.live-table td{padding:14px 12px;overflow-wrap:anywhere;vertical-align:middle}.live-table th:first-child,.live-table td:first-child{width:55px}.live-table .class-cell{width:100px;font-weight:400;font-size:12px}.live-table th:nth-last-child(2){width:105px}.live-table th:last-child{width:185px}.live-table td strong{font-size:13px}.live-table td small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px;line-height:1.55}.live-table abbr{text-decoration:none}.class-short{display:none}.rank-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.rank-pagination select{width:auto;min-width:100px}.page-buttons{display:flex;align-items:center;gap:12px}.page-buttons .icon-btn{width:38px;min-width:38px;min-height:38px}.rank-source-time{margin-top:14px;font-size:11px;color:var(--muted)}.rank-empty-cell{text-align:center!important;padding:28px!important}.rank-empty{padding:35px 20px}.rank-empty h2{font-size:20px}
@media(max-width:767px){.live-table th,.live-table td{padding:12px 7px;font-size:11px}.live-table th{font-size:10px;white-space:normal}.live-table th:first-child,.live-table td:first-child{width:34px}.live-table th:nth-last-child(2){width:58px}.live-table th:last-child{width:104px}.live-table td strong{font-size:12px}.live-table td small{font-size:9px}.live-table .class-cell{font-size:10px}.class-full{display:none}.class-short{display:inline}.rank-filters{grid-template-columns:minmax(0,1fr) 112px;gap:7px}.rank-filters select{font-size:11px}.rank-pagination{gap:8px;font-size:11px}.rank-pagination select{min-width:86px;font-size:11px}.page-buttons{gap:8px}.rank-subtabs button{font-size:11px;padding:9px 10px}.rank-variant{font-size:11px}.rank-summary{font-size:10px}.mobile-rank-section .table-region{overflow-x:hidden}.live-region{border-radius:9px}}
@media(max-width:350px){.live-table th:last-child{width:92px}.live-table th:nth-last-child(2){width:48px}.rank-pagination>span{width:100%}.rank-filters{grid-template-columns:minmax(0,1fr) 100px}}
/* Override Mobile-01's three-column table sizing for the new class column. */
@media(max-width:767px){
 .mobile-rank-section .live-table th,.mobile-rank-section .live-table td{padding:12px 7px;font-size:11px;overflow-wrap:anywhere}
 .mobile-rank-section .live-table th{font-size:10px;white-space:normal}
 .mobile-rank-section .live-table th:first-child,.mobile-rank-section .live-table td:first-child{width:40px;white-space:nowrap}
 .mobile-rank-section .live-table th:nth-child(3):not(:last-child),.mobile-rank-section .live-table td.class-cell{width:62px;font-size:10px;white-space:nowrap}
 .mobile-rank-section .live-table th:last-child,.mobile-rank-section .live-table td:last-child{width:106px}
 .mobile-rank-section .live-table .class-short{white-space:nowrap}
 .rank-variant>span{white-space:nowrap}
}
@media(max-width:350px){
 .mobile-rank-section .live-table th:first-child,.mobile-rank-section .live-table td:first-child{width:34px;padding-inline:4px}
 .mobile-rank-section .live-table th:nth-child(3):not(:last-child),.mobile-rank-section .live-table td.class-cell{width:54px;padding-inline:4px}
 .mobile-rank-section .live-table th:last-child,.mobile-rank-section .live-table td:last-child{width:92px;padding-inline:4px}
}

/* NewEmpire Ranking Refinement — dark petroleum, complete podium row highlight */
.ne-table-region{background:#0e2232;border:1px solid #2c5268;border-radius:12px;overflow-x:auto;max-width:100%}
.ne-rank-table{width:100%;min-width:690px;table-layout:auto;border-collapse:separate;border-spacing:0 3px;color:#e8f2f7;font-size:12px}
.ne-rank-table thead th{background:#102b3e!important;color:#9fc4d5!important;border:0!important;padding:10px 10px!important;font-size:10px;letter-spacing:.055em;white-space:nowrap;text-transform:uppercase}
.ne-rank-table td{padding:10px 10px!important;border-top:0!important;white-space:nowrap;overflow-wrap:normal!important;color:#e4eff6;font-size:12px;line-height:1.4}
.ne-rank-table tbody tr.ne-regular-row:nth-child(odd) td{background:#142e42}
.ne-rank-table tbody tr.ne-regular-row:nth-child(even) td{background:#1d3b4d}
.ne-rank-table tbody tr.ne-regular-row:hover td{background:#234d62}
.ne-rank-table tbody tr.ne-podium-1 td{background:#453723;color:#fff4d9;border-top:1px solid #bd9650!important;border-bottom:1px solid #bd9650!important}
.ne-rank-table tbody tr.ne-podium-2 td{background:#233e50;color:#e6f4fb;border-top:1px solid #91bcd2!important;border-bottom:1px solid #91bcd2!important}
.ne-rank-table tbody tr.ne-podium-3 td{background:#45302d;color:#f9e7dc;border-top:1px solid #bc8168!important;border-bottom:1px solid #bc8168!important}
.ne-rank-table tbody tr td:first-child{border-radius:7px 0 0 7px;border-left:3px solid transparent!important;text-align:center!important;width:54px!important;min-width:54px!important}
.ne-rank-table tbody tr td:last-child{border-radius:0 7px 7px 0;border-right:1px solid transparent!important}
.ne-rank-table tbody tr.ne-podium-1 td:first-child{border-left-color:#e3b85c!important}
.ne-rank-table tbody tr.ne-podium-2 td:first-child{border-left-color:#add9e9!important}
.ne-rank-table tbody tr.ne-podium-3 td:first-child{border-left-color:#d49a7b!important}
.ne-rank-table .ne-rank-number{display:inline-flex;align-items:center;justify-content:center;min-width:28px;color:#9ac3d7;font-variant-numeric:tabular-nums;font-weight:650}
.ne-rank-table .ne-rank-number.ne-medal-1,.ne-rank-table .ne-rank-number.ne-medal-2,.ne-rank-table .ne-rank-number.ne-medal-3{position:relative;flex-direction:column;gap:0;width:30px;height:34px;line-height:1;font-weight:800;font-size:15px;border:0;background:transparent;clip-path:none}
.ne-rank-table .ne-rank-number.ne-medal-1{color:#ffdc87}.ne-rank-table .ne-rank-number.ne-medal-2{color:#c5e8f8}.ne-rank-table .ne-rank-number.ne-medal-3{color:#f2b79b}
.ne-rank-table .ne-medal-crown{font-size:11px;line-height:12px}
.ne-rank-table .ne-character-name{color:#f1f7fc;font-size:12px;font-weight:650}
.ne-rank-table .ne-podium-1 .ne-character-name{color:#ffe2a0}.ne-rank-table .ne-podium-2 .ne-character-name{color:#d9f0ff}.ne-rank-table .ne-podium-3 .ne-character-name{color:#ffcfb2}
.ne-rank-table .ne-guild-name{color:#8bdacb;font-weight:600}
.ne-rank-table .ne-faction{font-size:11px;font-weight:650}
.ne-rank-table .ne-faction-good{color:#72c8ff}.ne-rank-table .ne-faction-evil{color:#ff948f}
.ne-rank-table .ne-number{font-variant-numeric:tabular-nums;color:#e4f1fa}
.ne-rank-table .ne-muted{color:#83a9b9}.ne-rank-table .ne-job{color:#d6eaf4;text-decoration:none}
.ne-rank-table .ne-metric-col{text-align:right!important}.ne-rank-table .ne-kd-divider{color:#7da6b9;margin:0 3px}
.ne-rank-table th:first-child{width:54px!important}.ne-rank-table th:last-child,.ne-rank-table td:last-child{width:auto!important}
.ne-rank-table th:nth-last-child(2){width:auto!important}
.ne-rank-table .ne-name-col{min-width:110px}
.ne-rank-table.ne-board-level{min-width:730px}.ne-rank-table.ne-board-guild{min-width:650px}
.ne-rank-table.ne-board-gold{min-width:610px}.ne-rank-table.ne-board-honor{min-width:650px}
@media(max-width:767px){
 .mobile-rank-section .ne-table-region{overflow-x:auto!important}
 .mobile-rank-section .ne-rank-table{table-layout:auto!important;width:100%!important;min-width:650px!important}
 .ne-rank-table td,.ne-rank-table th{padding:9px 8px!important;white-space:nowrap!important;overflow-wrap:normal!important}
 .ne-rank-table .ne-character-name{font-size:11px}
 .ne-rank-table .class-full{display:none}.ne-rank-table .class-short{display:inline}
 .ne-rank-table .ne-name-col{min-width:96px}
}


/* Warm table treatment, matched to NewEmpire's cream/mulberry page */
.ne-table-region{background:#f6f0e9!important;border:1px solid #decfc2!important;border-radius:11px!important}
.ne-rank-table{color:#49353b!important;border-spacing:0 3px!important}
.ne-rank-table thead th{
 background:#eee1d4!important;color:#51333f!important;
 font-size:12px!important;font-weight:800!important;letter-spacing:.035em!important;
 text-align:center!important;padding:13px 9px!important;border-bottom:2px solid #d5bcae!important
}
.ne-rank-table tbody td{color:#4d3740!important;text-align:center!important;font-size:12px!important}
.ne-rank-table tbody tr.ne-regular-row:nth-child(odd) td{background:#fbf6f0!important}
.ne-rank-table tbody tr.ne-regular-row:nth-child(even) td{background:#f1e7de!important}
.ne-rank-table tbody tr.ne-regular-row:hover td{background:#e9d9ce!important}
.ne-rank-table tbody tr.ne-podium-1 td{background:transparent!important;color:#50371f!important;border-top:1px solid #d6a64e!important;border-bottom:1px solid #d6a64e!important}
.ne-rank-table tbody tr.ne-podium-2 td{background:transparent!important;color:#314f62!important;border-top:1px solid #96b9c9!important;border-bottom:1px solid #96b9c9!important}
.ne-rank-table tbody tr.ne-podium-3 td{background:transparent!important;color:#683d33!important;border-top:1px solid #c48d72!important;border-bottom:1px solid #c48d72!important}
.ne-rank-table .ne-rank-number{color:#825768!important}
.ne-rank-table .ne-rank-number.ne-medal-1{color:#9b671d!important}
.ne-rank-table .ne-rank-number.ne-medal-2{color:#527d96!important}
.ne-rank-table .ne-rank-number.ne-medal-3{color:#a55b3f!important}
.ne-rank-table .ne-character-name{color:#382731!important;font-weight:750!important}
.ne-rank-table .ne-podium-1 .ne-character-name{color:#81501d!important}
.ne-rank-table .ne-podium-2 .ne-character-name{color:#345a72!important}
.ne-rank-table .ne-podium-3 .ne-character-name{color:#874a34!important}
.ne-rank-table .ne-guild-name{color:#167e75!important;font-weight:700!important}
.ne-rank-table .ne-faction-good{color:#196db4!important}
.ne-rank-table .ne-faction-evil{color:#bd3d49!important}
.ne-rank-table .ne-number{color:#4e3942!important}
.ne-rank-table .ne-muted{color:#8f747a!important}
.ne-rank-table .ne-job{color:#604854!important}
.ne-rank-table .ne-kd-divider{color:#ac8e8d!important}
.ne-rank-table td.ne-metric-col{text-align:center!important}
.ne-rank-table tbody tr td:first-child{border-radius:7px 0 0 7px!important}
.ne-rank-table tbody tr td:last-child{border-radius:0 7px 7px 0!important}
@media(max-width:767px){
 .ne-rank-table thead th{font-size:11px!important;font-weight:800!important}
 .ne-rank-table tbody td{font-size:11px!important}
}

.ne-gold-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}.ne-gold-tabs .tab{min-width:100px;text-align:center}

/* Centered navigation, language switcher, theme switcher */
.frame{margin-left:0!important;min-height:100vh}
.rail{display:none}
.topbar{height:74px!important;position:sticky;top:0;z-index:100;background:var(--bg);padding:0 clamp(20px,3.4vw,56px)!important;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;box-shadow:0 2px 10px #00000008}
.header-brand{display:inline-flex;align-items:center;gap:10px;justify-self:start;white-space:nowrap;font-size:14px;font-weight:850;letter-spacing:.07em}
.header-brand-symbol{width:32px;height:32px;border:1.5px solid var(--accent);border-radius:7px;display:grid;place-items:center;color:var(--accent);font-size:21px;line-height:1;font-weight:850}
.header-navigation{grid-column:2;justify-self:center;min-width:0}
.header-navigation nav{display:flex;justify-content:center;align-items:center;gap:3px}
.header-navigation .nav-item{width:auto;min-height:43px;padding:9px 11px;border:0;border-radius:8px;white-space:nowrap;display:inline-flex;gap:6px;align-items:center;color:var(--muted);font-size:12px;font-weight:700}
.header-navigation .nav-item .ico{width:15px;height:15px;opacity:.75}
.header-navigation .nav-item:hover{background:var(--soft);color:var(--ink)}
.header-navigation .nav-item[aria-current=page]{background:var(--soft);color:var(--accent);border:0;font-weight:800}
.header-navigation .nav-item.community{margin:0;border:0;min-height:43px;padding:9px 11px}
.header-actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:7px;z-index:2}
.header-control{height:38px;min-width:38px;padding:0 10px;border:1px solid var(--line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:750;white-space:nowrap}
.header-control:hover{background:var(--soft);border-color:var(--accent)}
.language-picker{position:relative}
.language-options{position:absolute;right:0;top:calc(100% + 9px);z-index:120;min-width:174px;padding:6px;border:1px solid var(--line);border-radius:11px;background:var(--paper);box-shadow:0 14px 35px #11132225;display:grid;gap:2px}
.language-options[hidden]{display:none!important}
.language-options button{width:100%;text-align:left;background:transparent;border:0;border-radius:6px;color:var(--ink);font-size:13px;font-weight:600;padding:10px 12px}
.language-options button:hover,.language-options button[aria-current=true]{background:var(--soft);color:var(--accent)}
.lang-caret{font-size:15px;line-height:1;color:var(--muted)}
.mobile-brand{display:none!important}
.preview-label{display:none!important}
@media(max-width:1100px){
 .topbar{grid-template-columns:1fr auto;height:64px!important;padding:0 20px!important}
 .header-brand,.header-navigation{display:none!important}
 .mobile-brand{display:flex!important;align-items:center;grid-column:1;font-size:13px;font-weight:800;letter-spacing:.04em}
 .mobile-menu-btn{display:inline-grid!important;place-items:center;background:none;border:0;color:var(--ink);width:34px;height:40px;padding:0;margin-right:10px}
 .header-actions{grid-column:2}
 .rail{display:flex;transform:translateX(-100%);transition:transform .18s;top:0;width:264px;z-index:250}
 .rail.open{transform:none}
 .rail.open .close-menu{display:inline-grid;position:absolute;right:12px;top:20px;border-color:#705461;color:#e5c7d0;background:#49333f;min-width:32px;min-height:32px}
 .rail .brand{padding-right:42px}
 .backdrop.open{display:block;position:fixed;inset:0;background:#281b28a0;z-index:230;border:0;width:100%;height:100%}
 body.menu-open{overflow:hidden}
}
@media(max-width:480px){.topbar{padding:0 13px!important}.header-actions{gap:5px}.header-control{padding:0 9px;min-width:36px;height:36px}.mobile-brand{font-size:12px}.lang-code{font-size:11px}}
html[lang=th] body{font-family:'Noto Sans Thai','Leelawadee UI',Tahoma,system-ui,sans-serif;line-height:1.75}
html[lang=th] .header-navigation .nav-item{font-size:11px;letter-spacing:0}
html[lang=th] .ne-rank-table thead th{letter-spacing:0!important;text-transform:none!important}
html[lang=th] .rank-table th{white-space:nowrap}

/* Center the Hall of Fame category menu as well. */
@media(min-width:768px){.rank-major{justify-content:center}.rank-major .tab{min-width:95px;text-align:center}}

/* Dark mode: every page and ranking, not only the outer background. */
html[data-theme=dark]{--bg:#111722;--paper:#1b2634;--ink:#edf2f8;--muted:#b2bfce;--line:#344459;--accent:#ff906a;--peach:#2e3745;--rail:#192434;--soft:#283548;--green:#96d5bb;--shadow:0 20px 55px #00000040;color-scheme:dark}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}
html[data-theme=dark] .topbar{box-shadow:0 2px 16px #00000025}
html[data-theme=dark] .home-agenda{background:#242d3c;border-left-color:var(--line);border-top-color:var(--line)}
html[data-theme=dark] .home-agenda .today-title,html[data-theme=dark] .home-agenda-note,html[data-theme=dark] .home-agenda-row.past{color:#b5c4d5}
html[data-theme=dark] .home-next{border-bottom-color:var(--line)}
html[data-theme=dark] .home-footnote .tag{background:var(--soft)}
html[data-theme=dark] .btn.outline{border-color:#536177;color:var(--ink)}
html[data-theme=dark] .btn.outline:hover,html[data-theme=dark] .tabs .tab:hover{background:#334257}
html[data-theme=dark] .btn.dark{background:#344a62;color:#f4f8fb}
html[data-theme=dark] .tag{background:#2b3b4d;color:#d6e6f0}
html[data-theme=dark] .tag.accent{background:#54382f;color:#ffb696}
html[data-theme=dark] .status{background:#34303a;border-color:#655164;color:#f4d9d0}
html[data-theme=dark] .status.success{background:#203e38;border-color:#3d7060;color:#b8edda}
html[data-theme=dark] .status.error{background:#4b2d34;border-color:#a45b65;color:#ffc5c8}
html[data-theme=dark] .empty{border-color:#526075}
html[data-theme=dark] .article-body{color:#d0d8e5}
html[data-theme=dark] .news-row .news-thumb{background:#364357;color:#ffb28d}
html[data-theme=dark] .guide-thumb,html[data-theme=dark] .image-missing{background:#2a3748;border-color:#526177;color:#c7d5e2}
html[data-theme=dark] .guide-tile:hover .guide-thumb{background:#364b61;border-color:#8aabc0}
html[data-theme=dark] .guide-thumb img{background:#263345}
html[data-theme=dark] .guide-tile small{color:#b1bfd0}
html[data-theme=dark] .day-button[aria-selected=true]{background:#40556e;color:#fff}
html[data-theme=dark] .schedule-icon{background:#34465a;color:#d9e4f0}
html[data-theme=dark] .schedule-row.battle .schedule-icon{background:#523c39;color:#ffae8e}
html[data-theme=dark] .schedule-row.world .schedule-icon{background:#403a50;color:#d5c1e8}
html[data-theme=dark] .schedule-row.past time{color:#8c9aaf}
html[data-theme=dark] .schedule-state.next{background:#51372f;color:#ffb69b}
html[data-theme=dark] .qr-placeholder{background:#2b3848;color:#b5c8da;border-color:#546478}
html[data-theme=dark] .field input,html[data-theme=dark] .field select{background:#243447;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .account-row:hover{background:#283648}
html[data-theme=dark] .account-row .task-icon{background:#3d3843;color:#ffb390}
html[data-theme=dark] .note.filled{background:#273749;border-color:#41556d}
html[data-theme=dark] .flow-steps a,html[data-theme=dark] .flow-steps button,html[data-theme=dark] .flow-steps span.node{background:#293b4e;border-color:#536579}
html[data-theme=dark] .flow-steps a:hover,html[data-theme=dark] .flow-steps button:hover{background:#374b60}
html[data-theme=dark] .rank-table th{background:#293749;color:#d9e4f0}
html[data-theme=dark] .rank-regions button,html[data-theme=dark] .rank-subtabs button{background:#243246;color:#dbe7f3;border-color:#4d5d70}
html[data-theme=dark] .rank-regions [aria-selected=true],html[data-theme=dark] .rank-subtabs [aria-selected=true]{background:#42546a;color:#fff;border-color:#71889e}
html[data-theme=dark] .rank-filters select,html[data-theme=dark] .rank-variant select,html[data-theme=dark] .rank-pagination select{background:#243447;color:var(--ink);border-color:#4e6074}
html[data-theme=dark] .ne-table-region{background:#172535!important;border-color:#425569!important}
html[data-theme=dark] .ne-rank-table{color:#edf2f8!important}
html[data-theme=dark] .ne-rank-table thead th{background:#263a4e!important;color:#dce7f3!important;border-bottom-color:#53748c!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-regular-row:nth-child(odd) td{background:#1e3043!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-regular-row:nth-child(even) td{background:#263a4e!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-regular-row:hover td{background:#31516a!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-podium-1 td{background:#4a3c28!important;color:#fff1ce!important;border-color:#cba151!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-podium-2 td{background:#2b4353!important;color:#e0f3ff!important;border-color:#9dc8da!important}
html[data-theme=dark] .ne-rank-table tbody tr.ne-podium-3 td{background:#47352f!important;color:#ffe6d7!important;border-color:#c78e73!important}
html[data-theme=dark] .ne-rank-table tbody td{color:#e6edf5!important}
html[data-theme=dark] .ne-rank-table .ne-character-name{color:#f5f8fc!important}
html[data-theme=dark] .ne-rank-table .ne-podium-1 .ne-character-name{color:#ffdc91!important}
html[data-theme=dark] .ne-rank-table .ne-podium-2 .ne-character-name{color:#d2efff!important}
html[data-theme=dark] .ne-rank-table .ne-podium-3 .ne-character-name{color:#ffd1b4!important}
html[data-theme=dark] .ne-rank-table .ne-guild-name{color:#8bdacb!important}
html[data-theme=dark] .ne-rank-table .ne-faction-good{color:#77c8ff!important}
html[data-theme=dark] .ne-rank-table .ne-faction-evil{color:#ff9d9e!important}
html[data-theme=dark] .ne-rank-table .ne-number{color:#edf3fa!important}
html[data-theme=dark] .ne-rank-table .ne-job{color:#d8e4f1!important}
html[data-theme=dark] .ne-rank-table .ne-muted{color:#9eb2c5!important}
html[data-theme=dark] .ne-rank-table .ne-rank-number{color:#bad2e4!important}
html[data-theme=dark] .ne-rank-table .ne-medal-1{color:#ffdc87!important}
html[data-theme=dark] .ne-rank-table .ne-medal-2{color:#c5e8f8!important}
html[data-theme=dark] .ne-rank-table .ne-medal-3{color:#f2b79b!important}
html[data-theme=dark] .ne-rank-table .ne-kd-divider{color:#a5b6c9!important}

/* NewEmpire Hall of Fame 06 — colored menus, balanced headings and filters */
.ne-rank-categories{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;border:0!important;margin:0 0 18px!important;padding:4px 0 8px!important;overflow:visible!important;grid-template-columns:none!important}
.ne-rank-categories .ne-category{--category-color:#247c65;--category-soft:#e0eee6;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;min-height:48px!important;min-width:110px!important;padding:11px 15px!important;border:1px solid transparent!important;border-radius:9px!important;background:var(--category-soft)!important;color:var(--category-color)!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;text-align:center!important;white-space:nowrap!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;transition:transform .12s,background-color .12s}
.ne-rank-categories .ne-category:hover{transform:translateY(-1px);border-color:var(--category-color)!important}
.ne-rank-categories .ne-category:focus-visible{outline:3px solid var(--category-color);outline-offset:3px}
.ne-rank-categories .ne-category[aria-selected=true]{background:var(--category-color)!important;color:#fff!important;border-color:var(--category-color)!important;box-shadow:0 4px 12px #20142015!important}
.ne-rank-categories .ne-category-level{--category-color:#008C75;--category-soft:#e0eee6}
.ne-rank-categories .ne-category-gold{--category-color:#E8A008;--category-soft:#f5e9cb;--category-on-active:#291d05}
.ne-rank-categories .ne-category-honor{--category-color:#3469D1;--category-soft:#e2e9f7}
.ne-rank-categories .ne-category-guild{--category-color:#8948B6;--category-soft:#ede3f2}
.ne-rank-categories .ne-category-pvp{--category-color:#D94D3C;--category-soft:#f7e1db}
.ne-rank-categories .ne-category-honor[aria-selected=true]{background:linear-gradient(115deg,#3469D1 0%,#637fc1 65%,#c66e45 100%)!important}
.ne-ranking-view{--board-accent:#008C75}.ne-view-gold{--board-accent:#E8A008}.ne-view-honor{--board-accent:#3469D1}.ne-view-guild{--board-accent:#8948B6}.ne-view-pvp{--board-accent:#D94D3C}
.ne-ranking-view .rank-summary{margin-top:2px}
.ne-ranking-view .ne-table-region{background:#f7f1ea!important;border:1px solid #e0cfc0!important;border-top:3px solid var(--board-accent)!important;border-radius:11px!important;overflow-x:auto!important}
.ne-ranking-view .ne-rank-table{width:100%!important;min-width:650px;table-layout:auto!important;border-spacing:0 3px!important}
.ne-ranking-view .ne-rank-table thead th{background:#243B4A!important;color:#fff7ef!important;text-transform:none!important;font-size:13px!important;font-weight:850!important;letter-spacing:0!important;padding:15px 10px!important;text-align:center!important;border:0!important;white-space:nowrap!important}
.ne-ranking-view .ne-rank-table thead th:first-child{width:90px!important}
.ne-ranking-view .ne-rank-table td{font-size:12px!important;text-align:center!important;padding:12px 9px!important}
.ne-ranking-view .ne-rank-table .ne-rank-cell{min-width:74px!important;width:90px!important}
.ne-ranking-view .ne-rank-table .ne-name-col{min-width:120px!important}
.ne-ranking-view .ne-rank-table .ne-filter-row td{background:#f0e4da!important;border:0!important;border-radius:0!important;padding:12px 14px!important;width:auto!important;text-align:initial!important}
.ne-ranking-view .ne-filter-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;width:100%;align-items:stretch}
.ne-ranking-view .ne-search-box{grid-column:span 2;display:flex;align-items:center;gap:6px;min-width:0;min-height:38px;padding:0 8px;background:#fffcf8;border:1px solid #d8c5b8;border-radius:7px;color:#856b79}
.ne-ranking-view .ne-search-box:focus-within{outline:2px solid var(--board-accent);outline-offset:1px}
.ne-ranking-view .ne-search-box>.ico{width:17px;height:17px;flex:none}
.ne-ranking-view .ne-search-box input{min-width:0;width:100%;border:0!important;outline:0!important;background:transparent!important;color:#503745;font:inherit;font-size:13px!important;line-height:1.25}
.ne-ranking-view .ne-search-box input::placeholder{color:#907987}
.ne-ranking-view .ne-reset-filter{flex:none;display:grid;place-items:center;width:26px;height:28px;border:0;border-radius:5px;background:transparent;color:#8a6274;cursor:pointer}
.ne-ranking-view .ne-reset-filter .ico{width:13px;height:13px}
.ne-ranking-view .ne-reset-filter:disabled{opacity:.2;cursor:default}
.ne-ranking-view .ne-job-filter{display:grid;place-items:center;min-width:0;min-height:38px;padding:5px 2px;border:1px solid #dccabc;border-radius:7px;background:#fffaf5;color:#715763;font:inherit;font-size:11px;font-weight:650;line-height:1.25;text-align:center;cursor:pointer;white-space:nowrap}
.ne-ranking-view .ne-job-filter:hover{border-color:var(--board-accent);background:#f7eae2}
.ne-ranking-view .ne-job-filter[aria-pressed=true]{background:#603f51;border-color:#603f51;color:#fff;font-weight:800}
.ne-ranking-view .ne-job-filter:focus-visible{outline:2px solid var(--board-accent);outline-offset:2px}
.ne-ranking-view .ne-mobile-board-title,.ne-ranking-view .ne-mobile-card{display:none}
.ne-ranking-view .ne-desktop-rank-badge{display:inline-flex}
.ne-ranking-view .ne-rank-table .ne-character-name{color:#713852!important;font-weight:800!important}
.ne-ranking-view .ne-rank-table .ne-guild-name{color:#a36b14!important;font-weight:800!important}
.ne-ranking-view .ne-rank-table .ne-podium-1 .ne-character-name{color:#81501d!important}
.ne-ranking-view .ne-rank-table .ne-podium-2 .ne-character-name{color:#345a72!important}
.ne-ranking-view .ne-rank-table .ne-podium-3 .ne-character-name{color:#874a34!important}
.ne-ranking-view .ne-rank-table .ne-faction-good{color:#196db4!important}
.ne-ranking-view .ne-rank-table .ne-faction-evil{color:#bd3d49!important}
.ne-ranking-view .ne-reborn{color:var(--reborn-color)!important;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.ne-ranking-view .ne-no-results td{background:#faf6f0!important;border:0!important;color:#795d69!important}
html[lang=th] .ne-rank-categories .ne-category{font-size:13px!important}
html[lang=th] .ne-ranking-view .ne-rank-table thead th{font-size:12px!important;white-space:normal!important}
html[lang=th] .ne-ranking-view .ne-job-filter{font-size:11px!important;white-space:normal}

/* Phone cards, four filter columns, search occupies two columns */
@media(max-width:767px){
 .ne-rank-categories{gap:5px!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto!important;padding:2px 1px 10px!important;scrollbar-width:thin;max-width:100%}
 .ne-rank-categories .ne-category{min-width:max-content!important;min-height:44px!important;padding:9px 11px!important;font-size:12px!important;flex:none!important}
 .ne-ranking-view .ne-table-region{overflow:visible!important;background:transparent!important;border:0!important;border-top:0!important}
 .ne-ranking-view .ne-rank-table{display:block!important;min-width:0!important;width:100%!important;border-spacing:0!important}
 .ne-ranking-view .ne-rank-table thead{display:none!important}
 .ne-ranking-view .ne-rank-table tbody{display:block!important;width:100%!important}
 .ne-ranking-view .ne-rank-table tbody tr{display:block!important;width:100%!important}
 .ne-ranking-view .ne-rank-table .ne-filter-row td{display:block!important;width:100%!important;min-width:0!important;padding:0 0 10px!important;background:transparent!important;border:0!important}
 .ne-ranking-view .ne-mobile-board-title{display:block;font-size:13px;font-weight:850;color:#fff7ef;background:#243B4A;border-radius:8px;padding:12px 14px;margin:0 0 8px;border-left:4px solid var(--board-accent)}
 .ne-ranking-view .ne-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:9px;background:#f0e4da;border-radius:9px}
 .ne-ranking-view .ne-filter-grid.no-jobs .ne-search-box{grid-column:span 4}
 .ne-ranking-view .ne-search-box{min-height:38px;padding:0 6px}
 .ne-ranking-view .ne-search-box input{font-size:12px!important}
 .ne-ranking-view .ne-job-filter{min-height:38px;font-size:11px!important;padding:4px 2px}
 .ne-ranking-view .ne-data-section tr{margin:0 0 6px!important;border-radius:9px;overflow:hidden}
 .ne-ranking-view .ne-data-section tr td{display:none!important}
 .ne-ranking-view .ne-data-section tr td:first-child{display:block!important;width:100%!important;min-width:0!important;border:1px solid #e4d2c4!important;border-radius:9px!important;padding:0!important;white-space:normal!important;text-align:initial!important}
 .ne-ranking-view .ne-data-section tr.ne-podium-1 td:first-child{border-color:#cda65c!important}
 .ne-ranking-view .ne-data-section tr.ne-podium-2 td:first-child{border-color:#9abacb!important}
 .ne-ranking-view .ne-data-section tr.ne-podium-3 td:first-child{border-color:#c68d70!important}
 .ne-ranking-view .ne-desktop-rank-badge{display:none!important}
 .ne-ranking-view .ne-mobile-card{display:block!important;padding:11px 12px;white-space:normal!important}
 .ne-ranking-view .ne-mobile-card-main{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px}
 .ne-ranking-view .ne-card-badge{display:flex;justify-content:center;align-items:center}
 .ne-ranking-view .ne-mobile-identity{display:flex;flex-direction:column;min-width:0;gap:3px;align-items:flex-start}
 .ne-ranking-view .ne-mobile-identity .ne-character-name{font-size:14px!important;line-height:1.35;overflow-wrap:anywhere}
 .ne-ranking-view .ne-mobile-identity .ne-guild-name{font-size:11px!important;line-height:1.4;overflow-wrap:anywhere}
 .ne-ranking-view .ne-mobile-stats{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;max-width:132px;min-width:52px}
 .ne-ranking-view .ne-mobile-stats small{font-size:10px;font-weight:650;color:#856b76;white-space:normal}
 .ne-ranking-view .ne-mobile-stats strong{font-size:12px;color:#523745;font-weight:850;line-height:1.4;overflow-wrap:anywhere;word-break:break-word}
 .ne-ranking-view .ne-mobile-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0 0 42px;margin-top:7px;border-top:1px solid #ae90752a;font-size:11px;color:#775c69}
 .ne-ranking-view .ne-mobile-card-bottom>span:last-child{text-align:right}
 .ne-ranking-view .ne-mobile-card-bottom .ne-reborn{font-size:13px}
 .ne-ranking-view .ne-no-results td:first-child{display:block!important;padding:25px 10px!important;text-align:center!important}
 .ne-ranking-view .rank-pagination{font-size:11px}
}
@media(max-width:350px){
 .ne-ranking-view .ne-mobile-card{padding:10px 8px}
 .ne-ranking-view .ne-mobile-card-main{grid-template-columns:30px minmax(0,1fr) auto;gap:5px}
 .ne-ranking-view .ne-mobile-stats{max-width:106px}
 .ne-ranking-view .ne-job-filter{font-size:10px!important}
}
/* Dark mode contrasts */
html[data-theme=dark] .ne-rank-categories .ne-category:not([aria-selected=true]){background:color-mix(in srgb,var(--category-color) 22%,#1b2634)!important;color:color-mix(in srgb,var(--category-color) 48%,white)!important;border-color:color-mix(in srgb,var(--category-color) 55%,#1b2634)!important}
html[data-theme=dark] .ne-ranking-view .ne-table-region{background:#172535!important;border-color:#425569!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table thead th{background:#352c42!important;color:#f8edf6!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-filter-row td{background:#243447!important}
html[data-theme=dark] .ne-ranking-view .ne-search-box{background:#1b2b3d;border-color:#526075;color:#c2b5cb}
html[data-theme=dark] .ne-ranking-view .ne-search-box input{color:#f5e9f2!important}
html[data-theme=dark] .ne-ranking-view .ne-search-box input::placeholder{color:#bac3cf}
html[data-theme=dark] .ne-ranking-view .ne-job-filter{background:#29394d;border-color:#50627a;color:#e5e9f3}
html[data-theme=dark] .ne-ranking-view .ne-job-filter[aria-pressed=true]{background:#79516a;border-color:#c094b3;color:#fff}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-character-name{color:#f2b5da!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-guild-name{color:#f3c46e!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-podium-1 .ne-character-name{color:#ffdc91!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-podium-2 .ne-character-name{color:#d2efff!important}
html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-podium-3 .ne-character-name{color:#ffd1b4!important}
html[data-theme=dark] .ne-ranking-view .ne-reborn{filter:brightness(1.4)}
html[data-theme=dark] .ne-ranking-view .ne-no-results td{background:#243447!important;color:#e8d8e7!important}
@media(max-width:767px){
 html[data-theme=dark] .ne-ranking-view .ne-table-region{background:transparent!important;border:0!important}
 html[data-theme=dark] .ne-ranking-view .ne-rank-table .ne-filter-row td{background:transparent!important}
 html[data-theme=dark] .ne-ranking-view .ne-mobile-board-title{background:#352c42;color:#f8edf6}
 html[data-theme=dark] .ne-ranking-view .ne-filter-grid{background:#243447}
 html[data-theme=dark] .ne-ranking-view .ne-mobile-stats small{color:#c7b6c8}
 html[data-theme=dark] .ne-ranking-view .ne-mobile-stats strong{color:#f5e9f2}
 html[data-theme=dark] .ne-ranking-view .ne-mobile-card-bottom{color:#d9c9dc}
}

/* v06.1: restore the ORIGINAL LEFT SIDEBAR; center items inside it.
   The header is reserved for branding and language/theme controls.
   No ranking, translation, or snapshot logic changes. */
.header-navigation{display:none!important}
@media(min-width:961px){
 .rail{display:flex!important;flex-direction:column!important;transform:none!important;width:232px!important;z-index:80!important}
 .rail-rule{margin-bottom:0!important}
 .rail nav{display:grid!important;align-content:center;margin-top:auto!important;margin-bottom:auto!important}
 .rail-note{margin-top:0!important}
 .rail .close-menu{display:none!important}
 .frame{margin-left:232px!important}
 .topbar{height:69px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:0 40px!important}
 .header-brand{display:none!important} /* Brand stays in the original left rail */
 .header-actions{display:flex!important;grid-column:2!important;justify-self:end!important}
 .mobile-brand{display:none!important}
 .mobile-menu-btn{display:none!important}
 .backdrop{display:none!important}
}
@media(min-width:961px) and (max-width:1180px){
 .rail{width:212px!important}
 .frame{margin-left:212px!important}
 .topbar{padding:0 28px!important}
}
@media(max-width:960px){
 .header-navigation{display:none!important}
 .frame{margin-left:0!important}
 .rail nav{margin-top:auto;margin-bottom:auto}
 .rail-note{margin-top:0}
}

/* Hall of Fame v06.2 — center only the requested Hall of Fame headings and Gold storage tabs.
   Keep the restored LEFT sidebar from v06.1. */
.ne-hof-page-head{display:flex!important;justify-content:center!important;text-align:center!important}
.ne-hof-page-head>div:first-child{width:100%!important}
.ne-hof-page-head h1,.ne-hof-mobile-head h1{
 text-align:center!important;text-transform:uppercase!important;
 font-weight:850!important;letter-spacing:.012em!important
}
.ne-hof-mobile-head{text-align:center!important}
.ne-ranking-view .ne-gold-tabs{
 display:flex!important;justify-content:center!important;align-items:stretch!important;
 flex-wrap:wrap!important;width:100%!important;gap:8px!important;margin:12px auto 18px!important
}
.ne-ranking-view .ne-gold-tabs .tab{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 text-align:center!important;text-transform:uppercase!important;font-weight:800!important;
 letter-spacing:.025em!important;min-width:120px!important;line-height:1.3!important
}
@media(max-width:480px){
 .ne-ranking-view .ne-gold-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 .ne-ranking-view .ne-gold-tabs .tab{min-width:0!important;min-height:44px!important;padding:9px 4px!important;font-size:10px!important;letter-spacing:0!important;white-space:normal!important}
 .ne-hof-mobile-head h1{font-size:clamp(24px,7.5vw,30px)!important}
}

/* v06.5: center menu text, menu groups, and PVP subcategories */
.ne-ranking-view .ne-rank-categories{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;margin-inline:auto!important}
.ne-ranking-view .ne-rank-categories .ne-category{display:inline-flex!important;justify-content:center!important;align-items:center!important;text-align:center!important}
.ne-ranking-view .ne-rank-categories .ne-category>span{display:block!important;width:100%!important;text-align:center!important}
.ne-ranking-view .rank-pvp{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important}
.ne-ranking-view .rank-pvp .rank-subtabs{display:flex!important;justify-content:center!important;align-items:stretch!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important}
.ne-ranking-view .rank-pvp .rank-subtabs .tab{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-width:136px!important;font-weight:750!important}
.ne-ranking-view .rank-pvp .rank-variant{justify-content:center!important}
/* On boards other than Level, search stays available without job buttons. */
.ne-ranking-view .ne-filter-grid.no-jobs{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important}
.ne-ranking-view .ne-filter-grid.no-jobs .ne-search-box{width:min(100%,340px)!important;max-width:340px!important;flex:0 1 340px!important}
@media(max-width:767px){
 .ne-ranking-view .ne-rank-categories{justify-content:safe center!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important}
 .ne-ranking-view .rank-pvp .rank-subtabs .tab{min-width:116px!important}
 .ne-ranking-view .ne-filter-grid.no-jobs .ne-search-box{width:100%!important;max-width:none!important;flex:1 1 auto!important}
}

/* v06.6 — Sidebar back under brand, no vertical centering. */
.rail nav{margin-top:0!important;margin-bottom:0!important;align-content:start!important}
.rail-note{margin-top:auto!important}
/* Server selector: human-readable names, no internal D2/D3 labels. */
.ne-ranking-view .ne-server-selector{display:flex;align-items:stretch;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 auto 20px}
.ne-ranking-view .ne-server-option{font:inherit;min-height:52px;min-width:165px;max-width:46%;padding:12px 19px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px;font-size:13px;font-weight:800;cursor:pointer;text-align:center}
.ne-ranking-view .ne-server-option[aria-selected=true]{background:#A34D36;border-color:#A34D36;color:#fff8f1;box-shadow:0 3px 0 #dfae8c}
.ne-ranking-view .ne-server-option:focus-visible,.ne-ranking-view .ne-day-option:focus-visible,.ne-go-button:focus-visible{outline:3px solid #ed9a67;outline-offset:2px}
/* Seven historical days: one row on desktop, swipe on mobile. */
.ne-ranking-view .ne-pvp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:12px auto 5px;max-width:950px}
.ne-ranking-view .ne-day-option{min-width:0;min-height:46px;padding:8px 4px;border-radius:7px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;font-size:11px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:3px;text-align:center}
.ne-ranking-view .ne-day-option[aria-pressed=true]{background:#533847;color:#fff8f1;border-color:#533847}
.ne-ranking-view .ne-day-empty{opacity:.45;font-size:19px}
.ne-ranking-view .ne-pvp-days-note{text-align:center;color:var(--muted);font-size:11px;margin:6px 0 12px}
/* Pagination jump. */
.ne-ranking-view .page-buttons{flex-wrap:wrap}
.ne-ranking-view .ne-go-page{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}
.ne-ranking-view .ne-go-page input{width:65px;min-height:37px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);text-align:center;font:inherit;padding:5px}
.ne-ranking-view .ne-go-button{min-height:37px;border:0;border-radius:6px;padding:6px 13px;background:#533847;color:white;font-weight:800;cursor:pointer}
/* Guides: editorial reader; sidebar left, rich article right. */
.ne-guide-reader{display:grid;grid-template-columns:minmax(195px,240px) minmax(0,1fr);align-items:stretch;gap:0;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:560px}
.ne-guide-sidebar{padding:20px 14px;background:color-mix(in srgb,var(--rail) 9%,var(--paper));border-right:1px solid var(--line)}
.ne-guide-sidebar h2{font-size:14px;font-weight:850;color:var(--ink);margin:0 0 15px}
.ne-guide-sidebar nav{display:flex;flex-direction:column;gap:4px;max-height:66vh;overflow-y:auto}
.ne-guide-side-link{display:block;padding:11px 10px;border-radius:6px;font-size:12px;line-height:1.45;color:var(--ink);text-decoration:none}
.ne-guide-side-link:hover{background:color-mix(in srgb,var(--rail) 12%,var(--paper))}
.ne-guide-side-link[aria-current=page]{background:#785b49;color:#fff8ed;font-weight:800}
.ne-guide-side-empty{font-size:12px;color:var(--muted);line-height:1.65;padding:9px}
.ne-guide-search{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--paper);margin-bottom:13px}
.ne-guide-search input{width:100%;min-width:0;background:none;border:0;outline:none;font:inherit;font-size:12px;color:var(--ink)}
.ne-guide-content{min-width:0;padding:30px clamp(18px,3vw,48px)}
.ne-guide-article{max-width:820px;margin:0 auto}
.ne-guide-article>h2{font-size:clamp(21px,2.4vw,30px);color:var(--ink);margin:0 0 26px;line-height:1.3}
.ne-guide-article-body{font-size:14px;line-height:1.9;color:var(--ink)}
.ne-guide-article-body p{margin:0 0 16px}
.ne-guide-article-body h2{font-size:19px;margin:27px 0 10px;color:var(--ink)}
.ne-guide-article-body ul{padding-left:23px;margin:0 0 17px}
.ne-guide-article-body blockquote{border-left:3px solid #b58a53;padding:11px 18px;background:color-mix(in srgb,var(--rail) 6%,var(--paper));margin:18px 0}
.ne-guide-figure{margin:18px auto 26px;text-align:center}
.ne-guide-figure img{max-width:100%;max-height:650px;width:auto;height:auto;object-fit:contain;border-radius:7px}
.ne-guide-figure figcaption{font-size:12px;color:var(--muted);margin-top:7px}
@media(max-width:767px){
 .ne-ranking-view .ne-server-option{min-width:0;max-width:none;flex:1 1 0;padding:11px 6px;font-size:12px}
 .ne-ranking-view .ne-pvp-days{display:flex;overflow-x:auto;gap:5px;padding-bottom:4px;scroll-snap-type:x mandatory}
 .ne-ranking-view .ne-day-option{min-width:95px;flex:0 0 95px;scroll-snap-align:start}
 .ne-ranking-view .ne-go-page{width:100%;justify-content:flex-end}
 .ne-guide-reader{grid-template-columns:1fr;min-height:0}
 .ne-guide-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:14px}
 .ne-guide-sidebar nav{flex-direction:row;overflow-x:auto;max-height:none;gap:6px}
 .ne-guide-side-link{white-space:nowrap;min-width:max-content}
 .ne-guide-content{padding:22px 17px}
}
html[data-theme=dark] .ne-ranking-view .ne-server-option[aria-selected=true],html[data-theme=dark] .ne-ranking-view .ne-day-option[aria-pressed=true]{background:#68485b;border-color:#a77a8e;color:#fff}
html[data-theme=dark] .ne-guide-side-link[aria-current=page]{background:#68485b}

/* CMS v1.3 image original viewer */
.ne-cms-zoomable{cursor:zoom-in}
.ne-cms-zoomable:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.ne-cms-original{max-height:78vh;overflow:auto;text-align:center}
.ne-cms-original img{max-width:none;width:auto;height:auto;max-height:none}

/* CMS v1.3.1: fit-to-screen guide images with optional full-resolution view */
dialog.ne-cms-image-dialog{width:min(1400px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(100dvh - 28px);overflow:hidden;display:flex;flex-direction:column}dialog.ne-cms-image-dialog:not([open]){display:none}dialog.ne-cms-image-dialog .dialog-head{flex:none}dialog.ne-cms-image-dialog .dialog-body{min-height:0;overflow:auto;display:flex;flex-direction:column;padding:12px 18px 18px}dialog.ne-cms-image-dialog .ne-cms-viewer-actions{flex:none;display:flex;justify-content:flex-end;margin-bottom:8px}dialog.ne-cms-image-dialog .ne-cms-original{min-height:0;max-height:none;overflow:auto;display:flex;align-items:center;justify-content:center;flex:1}dialog.ne-cms-image-dialog .ne-cms-original img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain}dialog.ne-cms-image-dialog .ne-cms-original.is-original{display:block;text-align:left}dialog.ne-cms-image-dialog .ne-cms-original.is-original img{max-width:none;max-height:none;width:auto;height:auto}@media(max-width:650px){dialog.ne-cms-image-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}dialog.ne-cms-image-dialog .dialog-body{padding:10px}}

/* Adaptive image viewer: dialog follows the displayed image aspect ratio. */
dialog.ne-cms-image-dialog{width:max-content!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 24px)!important;padding:0!important}
dialog.ne-cms-image-dialog .dialog-body{width:max-content;max-width:calc(100vw - 32px);overflow:visible!important;display:block!important}
dialog.ne-cms-image-dialog .ne-cms-original{display:block!important;overflow:auto!important;max-height:calc(100dvh - 170px);max-width:calc(100vw - 70px);flex:none!important}
dialog.ne-cms-image-dialog .ne-cms-original img{display:block;width:auto!important;height:auto!important;max-width:calc(100vw - 70px)!important;max-height:calc(100dvh - 170px)!important;object-fit:contain}
dialog.ne-cms-image-dialog .ne-cms-original.is-original img{max-width:none!important;max-height:none!important}

/* NewEmpire UI refinement */
.news-row{
 grid-template-columns:minmax(0,1fr) 24px!important;
 gap:20px!important;
}
.ne-news-date{
 display:block;
 margin-top:9px;
 color:var(--muted);
 font-size:12px;
}
.ne-ranking-view .ne-server-option[aria-selected=true]{
 box-shadow:none!important;
}
.ne-ranking-view .ne-server-option{
 box-shadow:none!important;
}
.ne-ranking-view .ne-table-region{
 border-top:1px solid #e0cfc0!important;
}
@media(max-width:680px){
 .news-row{grid-template-columns:minmax(0,1fr)!important}
}

/* NewEmpire compact news list */
.news-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  min-height:58px!important;
  padding:14px 20px!important;
}
.news-row > div:not(.news-thumb){
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px 14px!important;
  min-width:0;
}
.news-row h3{
  margin:0!important;
  font-size:16px!important;
  line-height:1.4!important;
}
.news-row .ne-news-date{
  margin:0 0 0 auto!important;
  white-space:nowrap;
  font-size:12px!important;
}
.news-row .news-thumb{display:none!important}
@media(max-width:680px){
 .news-row{padding:12px!important}
 .news-row h3{font-size:14px!important}
 .news-row .ne-news-date{font-size:11px!important}
}

/* Center image popup title */
.ne-cms-image-dialog .modal-header h2,
.ne-cms-image-dialog .modal-header h3,
.ne-cms-image-dialog .modal-title {
    text-align: center !important;
    flex: 1;
}

/* Center modal title without moving the close button */
dialog .modal-header,
.modal .modal-header {
    position: relative;
}
dialog .modal-header h2,
dialog .modal-header h3,
.modal .modal-header h2,
.modal .modal-header h3 {
    width: 100%;
    text-align: center !important;
    padding: 0 60px;
}


/* Guide image viewer: centered title */
dialog.viewer-dialog .dialog-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}
dialog.viewer-dialog .dialog-head #dialog-title {
    flex: 1;
    text-align: center !important;
    margin: 0;
    padding: 0 64px;
}
dialog.viewer-dialog .dialog-head .icon-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* YouTube article player */
.ne-youtube-player{
 width:min(100%,850px);
 aspect-ratio:16/9;
 margin:20px auto;
}
.ne-youtube-player iframe{
 display:block;width:100%;height:100%;
 border:0;border-radius:10px;
}


/* NE_RANKING_PODIUM_FULL_ROW_SHIMMER_V1 */
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-1 {
  background:linear-gradient(105deg,#DDAE39 0%,#FFEBA3 28%,#FFF8DA 45%,#F6C94F 70%,#E8B83D 100%)!important;
  background-size:200% 100%!important;
  animation:nePodiumShimmer 8s ease-in-out infinite alternate;
}
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-2 {
  background:linear-gradient(105deg,#91AFC4 0%,#DCECF5 28%,#FFFFFF 45%,#B5CFDF 70%,#A1BDD0 100%)!important;
  background-size:200% 100%!important;
  animation:nePodiumShimmer 9s ease-in-out infinite alternate;
}
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-3 {
  background:linear-gradient(105deg,#C98258 0%,#F5C6A5 28%,#FFE6D2 45%,#E5A078 70%,#CE8A60 100%)!important;
  background-size:200% 100%!important;
  animation:nePodiumShimmer 10s ease-in-out infinite alternate;
}
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-1 td,
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-2 td,
.ne-ranking-view .ne-rank-table tbody tr.ne-podium-3 td {
  background:transparent!important;
}
@keyframes nePodiumShimmer {
  0% {background-position:0% 50%}
  100% {background-position:100% 50%}
}
@media (prefers-reduced-motion:reduce) {
  .ne-ranking-view .ne-rank-table tbody tr.ne-podium-1,
  .ne-ranking-view .ne-rank-table tbody tr.ne-podium-2,
  .ne-ranking-view .ne-rank-table tbody tr.ne-podium-3 {
    animation:none!important;
  }
}


/* NE_RANKING_LUXURY_METALLIC_V1 */

/* Satin category buttons */
.ne-ranking-view .ne-rank-categories .ne-category {
  background:linear-gradient(
    135deg,
    color-mix(in srgb,var(--category-color) 18%,white),
    color-mix(in srgb,var(--category-color) 8%,white)
  )!important;
  color:var(--category-color)!important;
  box-shadow:inset 0 1px 0 #ffffffa8,0 3px 9px #352b2810;
}
.ne-ranking-view .ne-rank-categories .ne-category[aria-selected=true] {
  background:linear-gradient(
    125deg,
    color-mix(in srgb,var(--category-color) 82%,black),
    color-mix(in srgb,var(--category-color) 75%,white),
    var(--category-color)
  )!important;
  color:var(--category-on-active,#fff)!important;
  box-shadow:inset 0 1px 0 #ffffff70,0 5px 13px #352b2824;
}

/* Burnt Copper server button */
.ne-ranking-view .ne-server-option[aria-selected=true] {
  background:linear-gradient(
    120deg,#873C2C 0%,#C76C4D 45%,#A34D36 100%
  )!important;
  border-color:#A34D36!important;
  box-shadow:inset 0 1px 0 #ffffff55,0 4px 12px #6e302322;
}

/* Obsidian Gold: one continuous header background */
.ne-ranking-view .ne-rank-table thead tr:first-child {
  background:linear-gradient(
    110deg,#14232E 0%,#243B4A 45%,#182832 100%
  )!important;
}
.ne-ranking-view .ne-rank-table thead tr:first-child th {
  background:transparent!important;
  color:#F6E5B8!important;
  border-top:1px solid #C8A45D!important;
  border-bottom:1px solid #C8A45D!important;
}

/* Preserve accessible reduced-motion behavior */


/* NE_RANKING_LUXURY_V2_FINAL */

/* LEVEL 4 — Pearl Glass: class and secondary controls */
html:not([data-theme=dark]) .ne-ranking-view .ne-job-filter,
html:not([data-theme=dark]) .ne-ranking-view .ne-day-option:not([aria-pressed=true]) {
  background:linear-gradient(135deg,#FFFEFC 0%,#F8F1EB 55%,#EDE0D5 100%)!important;
  border-color:#D7BEA7!important;
  color:#654451!important;
  box-shadow:inset 0 1px 0 #FFFFFF,0 2px 5px #5C403014;
}

html:not([data-theme=dark]) .ne-ranking-view .ne-job-filter:hover,
html:not([data-theme=dark]) .ne-ranking-view .ne-day-option:not([aria-pressed=true]):hover {
  background:linear-gradient(135deg,#FFFFFF,#F3E6D7)!important;
  border-color:#C8A45D!important;
}

/* Selected class: Obsidian Steel, not solid */
html:not([data-theme=dark]) .ne-ranking-view .ne-job-filter[aria-pressed=true] {
  background:linear-gradient(115deg,#243B4A 0%,#486A78 50%,#243B4A 100%)!important;
  border-color:#C8A45D!important;
  color:#FFF2D1!important;
  box-shadow:inset 0 1px 0 #FFFFFF45,0 3px 8px #243B4A25;
}

/* Secondary selected tabs: shared Satin Gradient */
html:not([data-theme=dark]) .ne-ranking-view .ne-day-option[aria-pressed=true] {
  background:linear-gradient(115deg,#32232F 0%,#654456 52%,#392934 100%)!important;
  border-color:#A98B8F!important;
  color:#FFF1E4!important;
}

/* LEVEL 5 — Silk Alternating, one gradient across each row */
html:not([data-theme=dark]) .ne-ranking-view .ne-rank-table tbody tr.ne-regular-row:nth-child(odd) {
  background:linear-gradient(90deg,#FBF7F1 0%,#F5ECE3 50%,#FBF7F1 100%)!important;
}
html:not([data-theme=dark]) .ne-ranking-view .ne-rank-table tbody tr.ne-regular-row:nth-child(even) {
  background:linear-gradient(90deg,#EFE5DC 0%,#F7F0E9 50%,#EFE5DC 100%)!important;
}
html:not([data-theme=dark]) .ne-ranking-view .ne-rank-table tbody tr.ne-regular-row td {
  background:transparent!important;
}
html:not([data-theme=dark]) .ne-ranking-view .ne-rank-table tbody tr.ne-regular-row:hover {
  background:linear-gradient(90deg,#E9D8C9 0%,#F8EDE1 50%,#E9D8C9 100%)!important;
}

/* LEVEL 3 — Main sidebar active menu: Copper Satin */
.rail .nav-item[aria-current=page] {
  background:linear-gradient(105deg,#A74432 0%,#F28B60 52%,#C8543C 100%)!important;
  color:#271D21!important;
  border-left-color:#FFE0AD!important;
  box-shadow:inset 0 1px 0 #FFFFFF55,0 3px 10px #160D1420;
}

/* Keep header-navigation styling independent */

/* Compact Luxury V3 */
.ne-v3-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:10px 0 12px;
}
.ne-v3-tools{
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:auto;
}
.ne-v3-search{
  display:flex;
  align-items:center;
  gap:7px;
  width:260px;
  min-height:39px;
  box-sizing:border-box;
  padding:0 10px;
  border:1px solid #d7bfb1;
  border-radius:9px;
  background:#fffaf6;
}
.ne-v3-search input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#47333c;
  font:inherit;
}
.ne-v3-search:focus-within{
  border-color:#b96b59;
  box-shadow:0 0 0 3px rgba(185,107,89,.12);
}
.ne-v3-refresh{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:39px;
  padding:0 15px;
  border:1px solid #a84f49;
  border-radius:9px;
  background:#bd554c;
  color:#fff;
  font:inherit;
  font-weight:750;
  cursor:pointer;
}
.ne-v3-refresh:hover{background:#a84540}
.ne-v3-refresh:disabled{opacity:.55;cursor:wait}
.ne-v3-refresh:focus-visible{
  outline:3px solid #e8a88d;
  outline-offset:2px;
}
@media(max-width:600px){
  .ne-v3-tools{width:100%;margin-left:0}
  .ne-v3-search{flex:1;width:auto}
  .ne-v3-refresh{padding:0 12px}
}
html[data-theme=dark] .ne-v3-search{
  background:#273747;
  border-color:#526579;
}
html[data-theme=dark] .ne-v3-search input{color:#f4f4f4}
