/* Tier maker: isolated page styling, shared site navigation. */
body.tier-page{--lime:#ffcf3e;--ink:#e8ebf4;--muted:#a2a8bd;--line:#242a42;--panel:#11162a;background:#080c19;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.tier-page>header{background:#0a0d1bea;backdrop-filter:blur(16px);border-bottom:1px solid #23273c}body.tier-page .nav{max-width:1112px;margin:auto}body.tier-page .nav a{color:#aeb3c8}body.tier-page .nav a[aria-current=page]{color:#ffcf3e;background:#ffcf3e12;border-radius:30px;padding:9px 13px}body.tier-page .brand{color:#fff}body.tier-page .logo{background:#ffcf3e;color:#101323}body.tier-page .brand small{color:#ffcf3e}body.tier-page .btn{background:#ffcf3e;border:1px solid #ffcf3e;color:#111625;border-radius:30px;font-weight:650;box-shadow:0 5px 24px #ffcf3e18}body.tier-page .nav>.btn{color:#111625}body.tier-page .btn.secondary{background:#111525;border:1px solid #2b314b;color:#e2e5ee;box-shadow:none}body.tier-page main{max-width:none;padding:0}body.tier-page footer{border-color:#252b40;background:#0b0e1b}body.tier-page footer a{color:#b9bfd4}.tier-page .tier-studio{max-width:none;margin:0}.tier-page .tier-intro{padding:44px max(24px,calc((100% - 1048px)/2)) 38px;border-bottom:1px solid #22283e;background:radial-gradient(ellipse at 85% 0,#25204b55,transparent 65%)}.tier-breadcrumb{color:#9299ad;font-size:12px;margin-bottom:20px}.tier-page .tier-intro h1{font-size:36px;font-weight:800;letter-spacing:-.04em;line-height:1.2;margin:0 0 16px;color:#ecedf6}.tier-intro p{font-size:16px;color:#a6adc0;max-width:800px;line-height:1.7;margin:0}.tier-intro p.tier-intro-detail{font-size:14px;margin-top:10px}.tier-workspace{max-width:1048px;margin:0 auto;padding:30px 0 56px}.tier-command-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.tier-progress{display:grid;gap:2px}.tier-progress strong{color:#ffd442;font-size:25px;font-weight:800;letter-spacing:-.03em;line-height:1.2}.tier-progress>span{color:#9ba3ba;font-size:11px}.tier-page .tier-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}.tier-page .tier-actions .btn{font-size:13px;padding:11px 18px;min-height:42px}.tier-board-card{overflow:hidden;border:1px solid #262d46;border-radius:18px;background:#0d1120}.tier-page #rank-board{border:0;border-radius:0}.tier-page .tier-row{display:flex;min-height:92px;border-bottom:1px solid #232940;background:#12182c;margin:0}.tier-page .tier-row:last-child{border-bottom:1px solid #232940}.tier-page .tier-label{width:128px;flex:0 0 128px;border:0;border-radius:0;padding:8px;font-size:22px;font-weight:800;letter-spacing:0;cursor:text}.tier-page .tier-members{display:flex;flex-wrap:wrap;align-content:center;align-items:center;flex:1;min-width:0;padding:7px;gap:6px;background:linear-gradient(120deg,#111628,#14182d)}.tier-page .tier-drop-hint{font-size:12px;color:#7c859f;margin:0 8px;line-height:1.6}.tier-row-tools{width:44px;flex:0 0 44px;background:#151b30;border-left:1px solid #252c43;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px;gap:1px}.tier-page .tier-row-tools button{border:0;background:transparent;color:#a3adc8;border-radius:6px;width:30px;height:26px;min-height:26px;padding:0;cursor:pointer;font-size:20px;line-height:1}.tier-page .tier-row-tools button.tier-row-edit{font-size:18px;flex-shrink:0}.tier-page .tier-row-tools button:hover{background:#ffffff0c;color:#fff}.tier-page .tier-row-tools button:disabled{opacity:.25;cursor:default}.tier-board-bottom{position:relative;display:flex;justify-content:center;padding:13px;gap:12px}.tier-board-bottom button{background:#121626;color:#e2e5ed;border:1px solid #30364f;border-radius:30px;padding:10px 16px;font-weight:650;font-size:12px;cursor:pointer}.tier-board-bottom #rank-undo{position:absolute;right:14px;border-color:transparent;background:transparent;color:#9ca7c3}.tier-board-bottom #rank-undo:disabled{opacity:.35;cursor:default}.tier-page .tier-studio #rank-status{color:#8f99b3;margin:10px 0 20px;font-size:11px;line-height:1.5;min-height:17px}.tier-page .tier-pool-section{border:0;padding:0}.tier-filter-card{padding:16px;background:#10152a;border:1px solid #252b45;border-radius:18px;margin-bottom:16px}.tier-page .tier-filters{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin:0 0 12px}.tier-filters label{display:grid;gap:7px;color:#919bb6;text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:700;min-width:0}.tier-page .tier-filters input,.tier-page .tier-filters select{font-family:inherit;font-size:13px;letter-spacing:0;color:#e3e6f2;background:#0a1020;border:1px solid #303852;border-radius:12px;width:100%;max-width:none;min-width:0;padding:11px 12px;min-height:43px;outline:0;box-sizing:border-box}.tier-page .tier-filters input:focus,.tier-page .tier-filters select:focus{border-color:#ffcf3e;box-shadow:0 0 0 2px #ffcf3e17}.tier-page .tier-filters input::placeholder{color:#78829b}.tier-type-chips{display:flex;gap:6px;flex-wrap:wrap}.tier-type-chips button{font:600 11px/1.4 inherit;font-family:inherit;font-size:11px;color:var(--type-color,#b8c0d7);border:1px solid #29314b;background:#192036;border-radius:30px;padding:7px 10px;cursor:pointer;white-space:nowrap}.tier-type-chips button[aria-pressed=true]{border-color:var(--type-color,#ffcf3e);background:color-mix(in srgb,var(--type-color,#ffcf3e) 15%,#131a2d);box-shadow:inset 0 0 0 1px #ffffff05}.tier-type-chips button:hover{filter:brightness(1.3)}.tier-page #rank-match-count{font-size:11px;color:#929bb5;margin:14px 0 0;line-height:1.5}.tier-page .tier-pool{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;border:0;background:transparent;padding:0;border-radius:0;min-height:100px;max-height:none;overflow:visible}.tier-page .tier-sprite{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;height:74px;min-width:0;flex:0 0 80px;border:1px solid #242c44;background:linear-gradient(150deg,#171d30,#101525);border-radius:16px;padding:5px;color:#c7cfe3;cursor:grab;touch-action:manipulation;transition:border-color .15s,background .15s}.tier-page .tier-sprite img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.tier-sprite>span{display:block;font-size:10px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px;letter-spacing:0}.tier-page .tier-sprite:hover,.tier-page .tier-sprite:focus-visible{background:#252d45;border-color:#ffcf3e;outline:0;color:#fff;transform:translateY(-1px)}.tier-page .tier-members .tier-sprite{width:78px;height:74px;flex-basis:78px;border-radius:12px;background:#0e1426}.tier-page .tier-sprite.dragging{opacity:.3}.tier-page .tier-sprite.tier-insert{box-shadow:-4px 0 #ffcf3e}.tier-page .tier-sprite.tier-insert[data-after=true]{box-shadow:4px 0 #ffcf3e}.tier-page .tier-members.drag-over,.tier-page .tier-pool.drag-over{outline:2px dashed #ffcf3e;outline-offset:-3px;background:#252541}.tier-page .tier-pool>.status{grid-column:1/-1;padding:30px;color:#aab4cc}.tier-file-tools{margin-top:22px;color:#8995b0;font-size:12px}.tier-file-tools summary{cursor:pointer;display:inline-block}.tier-file-tools button,.tier-import{display:inline-block;background:#151b30;color:#c8d0e4;border:1px solid #2b3450;padding:10px;border-radius:8px;margin:12px 8px 0 0;font:inherit;cursor:pointer}.tier-import input{display:block;max-width:260px;margin-top:10px;font-size:11px}.tier-help{padding-top:48px;margin-top:32px;border-top:1px solid #232c43}.tier-help h2{font-size:26px;margin:0 0 22px;color:#e7ebf5;letter-spacing:-.03em}.tier-help>div{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tier-help article{background:#101629;border:1px solid #262e46;border-radius:16px;padding:20px}.tier-help article>span{font-size:12px;color:#ffcf3e;font-weight:750}.tier-help h3{font-size:15px;color:#e1e7f6;margin:15px 0 10px}.tier-help p{font-size:12px;color:#929eb9;line-height:1.7;margin:0}.tier-page .tier-dialog{background:#10172b;color:#e4e9f5;border:1px solid #39435e;box-shadow:0 24px 100px #000b}.tier-page .tier-dialog::backdrop{background:#020615c9;backdrop-filter:blur(5px)}.tier-page .tier-dialog input{background:#0a1020;color:#fff;border:1px solid #34425f;border-radius:8px;padding:12px;width:100%}.tier-page .tier-dialog input[type=color]{width:80px}.tier-page .tier-dialog #rank-dialog-content>button{background:#1d2840;color:#e1e7f8;border-color:#394b6c}.tier-page .tier-dialog .tier-choices button{font-size:15px}.tier-page button:focus-visible,.tier-page summary:focus-visible{outline:2px solid #ffcf3e;outline-offset:3px}
@media(max-width:1100px){.tier-workspace{margin:0 24px}.tier-page .tier-pool{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:760px){.tier-page .tier-intro{padding:28px 20px}.tier-page .tier-intro h1{font-size:29px}.tier-intro p{font-size:14px}.tier-intro p.tier-intro-detail{font-size:12px}.tier-breadcrumb{font-size:10px;margin-bottom:14px}.tier-workspace{margin:0 16px;padding-top:22px}.tier-command-bar{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}.tier-progress strong{font-size:24px}.tier-page .tier-actions{gap:6px}.tier-page .tier-actions .btn{padding:9px 12px;font-size:11px;min-height:36px}.tier-page .tier-row{min-height:88px}.tier-page .tier-label{width:66px;flex-basis:66px;font-size:20px}.tier-page .tier-members{gap:4px;padding:5px}.tier-page .tier-members .tier-sprite{width:62px;flex-basis:62px;height:72px}.tier-row-tools{width:34px;flex-basis:34px;padding:2px}.tier-page .tier-drop-hint{font-size:10px;margin:0 4px}.tier-page .tier-pool{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:none;padding:0}.tier-page .tier-sprite{height:77px;border-radius:13px}.tier-sprite>span{font-size:9px}.tier-filter-card{padding:13px;border-radius:15px}.tier-page .tier-filters{grid-template-columns:1fr;gap:12px}.tier-type-chips{gap:5px}.tier-type-chips button{font-size:10px;padding:6px 9px}.tier-board-bottom{justify-content:flex-start;padding:11px}.tier-board-bottom button{font-size:11px;padding:9px 12px}.tier-help>div{grid-template-columns:1fr 1fr}.tier-help article{padding:16px}.tier-help h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.tier-page .tier-sprite{transition:none}}
.tier-type-chips button{text-transform:capitalize}.tier-page .status{font-family:inherit}.tier-page .tier-members .tier-sprite>span{font-size:10px}.tier-page .tier-filters label{font-weight:500}
