/* Shared website palette, with a full-width ranking surface and native dialog. */
.ranking-shell{--rank-line:#b8c7df20;--rank-muted:#aab6c9;--rank-gold:#dec58c;--rank-panel:#0d1727;--rank-radius:14px}
.ranking-shell .island-content{background:linear-gradient(145deg,#0b1425f5,#0b1425eb);border-color:var(--rank-line);backdrop-filter:blur(10px)}
.ranking-shell .island-content-inner{padding:32px clamp(20px,3vw,44px) 24px}
.rank-page{font-size:14px;line-height:1.65}.rank-page .page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px}.section-eyebrow{color:#c8b887;font-size:11px;letter-spacing:2px}.page-heading h1{font-size:28px;line-height:1.3;margin:5px 0 8px}.page-heading p{font-size:14px;margin:0;color:var(--rank-muted)}.page-heading .snapshot{margin-top:11px;font-size:12px;color:#99a9bf}.page-heading .snapshot b{font-size:12px;font-weight:500;color:#c5d0df;margin-left:5px}.heading-actions{display:flex;align-items:center;gap:18px}.heading-actions button{white-space:nowrap;font-size:13px}.heading-actions .icon{width:16px;height:16px}.refresh-button{width:auto;padding:9px 15px;min-height:40px}
.rank-page .personal-strip{display:flex;align-items:center;gap:14px;border:1px solid var(--rank-line);border-radius:var(--rank-radius);background:#17243a66;padding:14px 18px;margin-bottom:24px}.personal-symbol{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#bfa05e13;color:var(--rank-gold);flex-shrink:0}.personal-symbol .icon{width:20px;height:20px}.personal-copy{flex:1;min-width:0}.personal-label{display:flex;align-items:center;gap:10px}.personal-label h3{font-size:14px;margin:0;color:#ede9df}.personal-label .tiny-tag{font-size:11px;margin:0;color:#96a6bf}.personal-strip .my-profile{display:flex;align-items:center;margin:2px 0 0;gap:9px;color:var(--rank-muted);font-size:13px}.personal-strip .my-profile p{margin:0;font-size:13px}.personal-strip .my-profile .avatar{width:28px;height:28px}.personal-strip .my-profile b{font-size:13px}.personal-strip .my-profile small{display:inline;margin-left:8px;font-size:12px;color:var(--rank-muted)}.personal-strip .outline-button{width:auto;min-width:140px;padding:8px 13px;font-size:13px;white-space:nowrap}
.rank-page .content-layout{display:block;grid-template-columns:none}.rank-page .class-tabs{padding:12px 14px;gap:10px;margin-bottom:25px;border-color:var(--rank-line);background:#0a132280}.rank-page .class-tabs button{padding:9px 13px;gap:9px;min-height:46px;font-size:14px}.rank-page .class-tabs small{font-size:12px;color:#9daec5;opacity:1}.class-filter-label{font-size:13px;color:var(--rank-muted);margin-right:8px}.rank-page .class-tabs img{width:28px;height:28px}.board-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.board-title h3{font-size:21px;margin:0 0 5px}.board-title p{font-size:14px;color:var(--rank-muted);margin:0}.total-label{font-size:12px;padding:5px 10px;white-space:nowrap;color:#becbde;background:#172238;border-color:var(--rank-line)}
.rank-page .podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 25px;padding:0}.rank-page .podium[hidden]{display:none}.rank-page .champion{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto auto auto;align-content:start;gap:0 14px;position:relative;min-height:218px;padding:20px;text-align:left;border:1px solid #9caec82c;border-radius:var(--rank-radius);background:#111c2de0;transform:none;box-shadow:0 8px 20px #03091215;transition:background 160ms,border-color 160ms,box-shadow 160ms}.rank-page .champion:hover{transform:none;background:#17243a;border-color:#9fafc65c;box-shadow:0 8px 24px #02091544}.rank-page .champion.first{background:linear-gradient(135deg,#b7944210,#101b2dd9);border-color:#c3a25b66}.rank-page .champion.second{border-color:#afbfda45}.rank-page .champion.third{border-color:#ad8d7045}.champion .place{position:static;grid-column:1/-1;margin-bottom:16px;font-size:12px;letter-spacing:1.1px;color:#adbbd0}.champion.first .place{color:#e1c78a}.champion.second .place{color:#c1cee1}.champion.third .place{color:#c0a28b}.rank-page .champion .avatar{grid-column:1;grid-row:2/4;width:58px;height:58px;border-radius:9px;margin:0;display:flex;border:1px solid #ffffff18}.rank-page .champion-name{grid-column:2;grid-row:2;margin:2px 0 6px;font-size:17px;line-height:1.35;font-weight:650;color:#f1f3f7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-page .champion-meta{grid-column:2;grid-row:3;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px;color:#9cacc3;min-height:20px}.champion .class-badge{font-size:11px;padding:2px 7px}.rank-page .champion-score{grid-column:1/-1;margin:19px 0 0;font-size:29px;font-weight:650;color:#e4eaf5;line-height:1.25}.rank-page .champion.first .champion-score{color:#e4ce9c}.rank-page .champion-score small{display:inline;margin-left:9px;font-size:12px;color:#9eacc2;font-weight:400}.rank-page .champion-foot{grid-column:1/-1;margin-top:14px;padding-top:11px;border-top:1px solid #b6c5dd12;font-size:12px;color:#a8b6ca;white-space:normal}
.rank-page .rank-table{border:1px solid var(--rank-line);border-radius:var(--rank-radius);background:#0d1728d9;overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 21px}.table-toolbar b{font-size:16px}.table-toolbar>div>span{font-size:12px;color:#9cacbf}.rank-page .search{width:260px;max-width:50%;min-height:40px;padding:8px 11px;background:#091321;border:1px solid #8fa3c533;border-radius:9px}.search input{font-size:14px;width:100%;min-width:0}.search .icon{width:17px;height:17px;flex-shrink:0}.rank-page table{width:100%;table-layout:fixed;font-size:14px}.rank-page th{height:44px;color:#a5b5cd;font-size:12px;font-weight:500;padding:0 20px;background:#17243a66;text-align:left}.rank-page th:first-child{width:80px}.rank-page th:nth-child(2){width:36%}.rank-page th:nth-child(3){width:17%}.rank-page th:last-child{width:80px;text-align:right}.rank-page td{height:76px;padding:10px 20px;font-size:14px;border-top:1px solid #adbfde12;vertical-align:middle;color:#bbc8dc;overflow-wrap:anywhere}.rank-page td:last-child{text-align:right}.rank-page tr[data-row]{cursor:pointer;outline-offset:-2px}.rank-page tr[data-row]:hover td{background:#aac3eb07}.rank-page tr[data-row]:focus-visible{outline:2px solid #d8bb79;outline-offset:-2px}.rank-page tr.mine td{background:#b5964910}.rank-page .rank-number{font-size:16px;font-variant-numeric:tabular-nums;color:#a8b8d0}.rank-page .rank-number.is-leading{color:#d7c18e}.rank-page .player-cell{display:flex;align-items:center;gap:13px;min-width:0}.rank-page .player-cell>.avatar{width:39px;height:39px;border-radius:7px;flex-shrink:0}.player-cell>div{min-width:0}.rank-page .player-cell button{display:block;font-size:15px;font-weight:550;max-width:100%;text-align:left;color:#eff2f9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-page .player-cell small{font-size:12px;margin-top:3px;color:#98abc6}.rank-page .score{font-size:18px;font-weight:600;color:#e1e9f7}.rank-page .detail-link{font-size:13px;color:#b4a483;padding:7px 0 7px 7px;white-space:nowrap}.rank-page .pagination{padding:14px 20px;font-size:12px;color:#9caec8}.pagination button{width:34px;height:34px}.rank-page .data-note{font-size:12px;line-height:1.9;color:#96a7c0;margin:17px 0 0;padding:0 2px}.rank-page footer{margin-top:24px;font-size:12px;color:#879ab5}.rank-page .empty-state{padding:54px 24px;font-size:14px;color:#9fadc1}.empty-state b{font-size:18px;margin-bottom:8px}.dungeon-heading,.dungeon-filters{font-size:14px}.dungeon-heading small,.dungeon-context{font-size:12px}
/* Do not rely on user-agent dialog margins: Tailwind's reset sets them to zero. */
dialog#detail-dialog{position:fixed;inset:0;margin:auto;width:min(736px,calc(100vw - 40px));max-width:calc(100vw - 40px);height:fit-content;max-height:calc(100dvh - 40px);padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #91a9cc35;border-radius:18px;background:#0e1829;color:#e8edf7;box-shadow:0 28px 90px #01061280;font-size:14px;line-height:1.65;font-family:inherit}
dialog#detail-dialog::backdrop{background:#020712a3;backdrop-filter:blur(3px)}#detail-dialog .dialog-top{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:2;background:#0e1829f5;padding:13px 20px 10px 28px;border-bottom:1px solid #a8bad719;letter-spacing:1.2px;font-size:11px;color:#c6b586}#detail-dialog #close-dialog{display:flex;justify-content:center;align-items:center;width:36px;height:36px;border:1px solid transparent;border-radius:9px;font-size:26px;line-height:1;color:#a6b5cd}#detail-dialog #close-dialog:hover{background:#ffffff07;border-color:#a8bad722;color:#fff}#dialog-content{padding:25px 28px 28px}#detail-dialog h2{font-size:27px;font-weight:650;line-height:1.2;color:#f2f4f9;margin:0 0 9px;letter-spacing:0;overflow-wrap:anywhere}#detail-dialog p{font-size:14px;color:#aebed5;margin:0;line-height:1.8}.profile-identity{display:flex;align-items:center;gap:18px;margin-bottom:25px}.profile-identity .avatar{width:78px;height:78px;border-radius:12px;border:1px solid #d1bb7a55;flex-shrink:0}.profile-identity>div{min-width:0}.profile-tags{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#9eafc7;font-size:13px}.profile-tags .class-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:3px 8px}.profile-tags .class-badge img{width:20px;height:20px}.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:23px}.profile-stat{min-width:0;border:1px solid #a6bad526;border-radius:11px;padding:14px 12px;background:#17243b66}.profile-stat span{display:block;font-size:12px;color:#99adc9;margin-bottom:7px}.profile-stat strong{display:block;font-size:25px;font-weight:600;line-height:1.3;color:#edf2fa;overflow-wrap:anywhere}.profile-stat.is-featured{border-color:#d2b2704d;background:#bfa05a0a}.profile-stat.is-featured strong{color:#e4ce98}.profile-stat strong small{font-size:13px;margin-left:4px;color:#a9b9cf;font-weight:400}.profile-section{padding-top:20px;margin-top:20px;border-top:1px solid #acbed51c}.profile-section h3{font-size:14px;font-weight:550;margin:0 0 12px;color:#d8e1f1}.profile-section .profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-section-head span{font-size:12px;color:#b4a17e}.progress-label{display:flex;justify-content:space-between;gap:15px;margin-top:10px;font-size:12px;color:#9db0cc}.level-progress{width:100%;height:7px;border-radius:5px;background:#25334a;overflow:hidden;margin-top:13px}.level-progress span{display:block;height:100%;background:#c1a15b;border-radius:5px}.level-complete{display:flex;align-items:center;gap:12px;border:1px solid #c5a45a30;background:#b6964310;border-radius:11px;padding:13px 15px;color:#dfc790}.level-complete>.icon{width:27px;height:27px;flex-shrink:0}.level-complete strong{display:block;font-size:14px}.level-complete small{display:block;font-size:12px;color:#aabbce;margin-top:3px}.profile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.profile-detail-item{min-width:0;font-size:14px;color:#d3deef}.profile-detail-item>span{display:block;font-size:12px;color:#93a8c6;margin-bottom:3px}.life-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.life-item{border:1px solid #a4b9d51c;border-radius:9px;background:#16243b55;padding:10px 12px}.life-item span{font-size:12px;color:#a8bbd5}.life-item b{display:block;color:#dfe8f6;font-size:17px;font-weight:500;margin-top:3px}.life-item small{font-size:11px;color:#8fa5c3;display:block;margin-top:3px}.profile-source{margin-top:22px;padding:13px 15px;background:#060e1b66;border-radius:10px;color:#8fa4c1;font-size:12px;line-height:1.9}.profile-source span{display:block}.profile-loading{display:flex;align-items:center;gap:9px;margin-top:17px;color:#9fb1ce;font-size:13px}.profile-loading:before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid #b7c9e32b;border-top-color:#ceb57a;animation:profile-spin 800ms linear infinite}.rules-dialog .rule-item{margin-top:19px}.rules-dialog .rule-item p{font-size:14px;color:#afc0d9}.rules-dialog h2{margin-bottom:22px!important}
html.is-dialog-open,html.is-dialog-open body{overflow:hidden!important}html.is-dialog-open .island-content{overflow:hidden!important}@keyframes profile-spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.rank-page .content-layout{display:block;grid-template-columns:none}.rank-page .podium{gap:20px}.rank-page .champion{min-height:226px;padding:22px 25px}.ranking-shell .island-content-inner{max-width:1560px;margin-inline:auto}}
@media(max-width:1050px){.ranking-shell .island-sidebar{width:230px;flex-basis:230px}.ranking-shell .island-content-inner{padding:26px 22px}.rank-page .class-tabs button{padding:8px 10px;gap:7px}.rank-page .champion{padding:16px;grid-template-columns:46px minmax(0,1fr);gap:0 10px;min-height:214px}.rank-page .champion .avatar{width:46px;height:46px}.rank-page .champion-name{font-size:15px}.rank-page .champion-score{font-size:26px}.rank-page .champion-meta>span:last-child{display:none}.rank-page th,.rank-page td{padding-inline:13px}.rank-page th:first-child{width:59px}.rank-page th:last-child{width:65px}.heading-actions{gap:10px}.heading-actions .text-button{font-size:12px}}
@media(max-width:760px){.ranking-shell .island-sidebar{width:100%;flex-basis:auto}.ranking-shell .island-content-inner{padding:25px 20px}.rank-page .page-heading{margin-top:0}.page-heading h1{font-size:25px}.rank-page .personal-strip{margin-bottom:20px}.rank-page .champion{grid-template-columns:49px minmax(0,1fr);min-height:214px}.rank-page .champion .avatar{width:49px;height:49px}.rank-page .class-tabs button{font-size:13px}.rank-page .class-tabs{gap:7px}.rank-page .class-tabs img{width:26px;height:26px}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.ranking-shell .island-content-inner{padding:23px 14px}.rank-page .page-heading{display:flex;align-items:flex-start;gap:12px}.section-eyebrow{font-size:9px;letter-spacing:1.5px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading .snapshot,.page-heading .snapshot b{font-size:11px}.heading-actions{flex-direction:column-reverse;align-items:flex-end;gap:10px;padding-top:3px}.heading-actions button{font-size:11px}.refresh-button{padding:7px 9px;min-height:33px}.heading-actions .text-button{font-size:11px}.rank-page .personal-strip{padding:12px;gap:9px;flex-wrap:wrap}.personal-symbol{width:32px;height:32px}.personal-copy{flex-basis:calc(100% - 45px)}.personal-strip .outline-button{margin-left:41px;min-height:34px;font-size:12px;padding:6px 12px}.personal-strip .my-profile p{font-size:12px}.personal-label h3{font-size:13px}.personal-strip .my-profile small{display:block;margin:0}.rank-page .class-tabs{padding:12px 8px}.rank-page .class-tabs button{min-width:0;padding:8px 3px!important;font-size:12px!important;gap:5px!important}.rank-page .class-tabs small{font-size:10px;margin:0}.board-title{align-items:flex-start;gap:9px}.board-title h3{font-size:19px}.board-title p{font-size:12px;max-width:none;line-height:1.75}.total-label{white-space:normal;font-size:10px;max-width:125px;line-height:1.7;padding:4px 7px;flex-shrink:0}.rank-page .podium{gap:7px}.rank-page .champion{display:flex;flex-direction:column;align-items:center;text-align:center;padding:13px 7px;min-height:225px}.champion .place{font-size:10px;letter-spacing:.5px;margin-bottom:12px}.rank-page .champion .avatar{width:45px;height:45px;margin:0 auto}.rank-page .champion-name{font-size:12px;margin:10px 0 6px;max-width:100%;min-height:16px}.rank-page .champion-meta{justify-content:center;min-height:20px}.champion .class-badge{font-size:10px;padding:1px 5px}.rank-page .champion-score{font-size:22px;margin:12px 0 0}.rank-page .champion-score small{display:none}.rank-page .champion-foot{font-size:10px;margin-top:10px;padding-top:8px;width:100%;margin-bottom:0}.rank-page .table-toolbar{padding:13px 11px;gap:9px}.table-toolbar b{font-size:14px}.rank-page .search{max-width:57%;width:190px;min-height:37px;padding:7px 9px}.search input{font-size:12px}.rank-page th{font-size:10px;height:39px}.rank-page th,.rank-page td{padding-inline:7px}.rank-page th:first-child{width:37px}.rank-page th:nth-child(2){width:38%}.rank-page th:nth-child(3){width:17%}.rank-page th:last-child{width:38px}.rank-page td{font-size:12px;height:71px}.rank-page .player-cell{gap:7px}.rank-page .player-cell>.avatar{width:27px;height:27px;border-radius:5px}.rank-page .player-cell button{font-size:12px;max-width:100px}.rank-page .player-cell small{font-size:10px}.rank-page .class-badge{font-size:9px;padding:1px 4px}.rank-page .score{font-size:14px}.rank-page .rank-number{font-size:13px}.rank-page .detail-link{font-size:0;padding:8px 2px}.rank-page .detail-link:after{content:'↗';font-size:15px}.rank-page .pagination{padding:12px 10px;font-size:11px}.rank-page .data-note{font-size:11px;line-height:1.9}.rank-page footer{font-size:10px}dialog#detail-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}#detail-dialog .dialog-top{padding:10px 12px 9px 20px}#dialog-content{padding:20px}#detail-dialog h2{font-size:23px}.profile-identity{gap:13px;margin-bottom:20px}.profile-identity .avatar{width:62px;height:62px}.profile-tags{font-size:12px;gap:6px}.profile-tags .class-badge{font-size:11px}.profile-stat{padding:12px}.profile-stat strong{font-size:25px}.profile-detail-grid{gap:13px}.profile-detail-item{font-size:13px}.life-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-source{font-size:11px}.profile-stats{gap:9px}.level-complete{padding:11px}}
@media(prefers-reduced-motion:reduce){.profile-loading:before{animation:none}.rank-page .champion{transition:none}}
.page-heading>div:first-child>p{display:inline}.page-heading .snapshot{display:inline-flex;align-items:center;margin-top:0;margin-left:16px}.rank-page .page-heading{margin-bottom:22px}@media(max-width:760px){.page-heading>div:first-child>p{display:block}.page-heading .snapshot{display:flex;margin-left:0;margin-top:8px}}
html,.ranking-shell .island-content{scrollbar-gutter:stable}
