.tier-page { max-width: 1280px; margin: auto; padding: 44px 24px 70px; }
.tier-page h1 { font-size: clamp(30px,4vw,48px); margin: 12px 0; }
.tier-role-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.tier-role-tabs a { padding: 12px 20px; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.tier-role-tabs a[aria-current] { background: #dbb66c; color: #231f15; border-color: #bf943e; font-weight: 700; }
.tier-context { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 24px; }
.tier-context h2 { margin-top: 0; }
.tier-context p, .tier-note { line-height: 1.9; }
.tier-note { padding: 14px 18px; border-left: 3px solid var(--gold); background: color-mix(in srgb,var(--gold) 8%,var(--panel)); }
.tier-meta { color: var(--muted); font-size: 14px; line-height: 1.8; }
.tier-board-title { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 28px 0; font-size: clamp(19px,2.5vw,25px); text-align: center; }
.tier-board-title::before, .tier-board-title::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.tier-board { --board-ink: #eeeeef; display: grid; gap: 0; padding: 3px; border: 2px solid #505052; border-radius: 7px; background: #161718; box-shadow: 0 12px 30px #00000015; }
.tier-row { display: grid; grid-template-columns: 78px minmax(0,1fr); background: #222324; border-bottom: 2px solid #171819; }
.tier-row:last-child { border-bottom: 0; }
.tier-grade { display: grid; place-items: center; margin: 0; min-height: 80px; border-radius: 3px; font: 800 50px/1 system-ui,sans-serif; color: white; text-shadow: 0 2px 3px #0005; background: linear-gradient(#ff9400,#c87300); }
.tier-grade-a .tier-grade { background: linear-gradient(#a635ec,#7624b4); }
.tier-grade-b .tier-grade { background: linear-gradient(#087ee5,#0053a4); }
.tier-grade-c .tier-grade { background: linear-gradient(#38dc13,#1a9b00); }
.tier-grade-d .tier-grade { background: linear-gradient(#f5f5f5,#aaa); }
.tier-cards { display: grid; grid-template-columns: repeat(4,minmax(0,190px)); gap: 12px; padding: 14px; align-content: center; align-items: start; }
.tier-entry { min-width: 0; margin: 0; border: 1px solid #414244; border-radius: 2px; background: #242526; color: var(--class-color,#fff); }
.tier-entry summary { display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 4px 7px; font-size: 14px; cursor: pointer; line-height: 1.35; list-style: none; }
.tier-entry summary::-webkit-details-marker { display: none; }
.tier-entry summary:hover { background: #ffffff0a; }
.tier-entry summary:focus-visible { outline: 2px solid #ecc568; outline-offset: 3px; }
.tier-entry[open] { border-color: var(--class-color,#aaa); }
.tier-spec-label { display: grid; gap: 3px; min-width: 0; }
.tier-spec-label strong { font-size: 14px; font-weight: 700; }
.tier-spec-label > span { font-size: 12px; }
.tier-entry img { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--class-color,#aaa); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px #111; }
.tier-entry p { padding: 10px 12px; margin: 0; border-top: 1px solid #414244; color: var(--board-ink); font-size: 14px; line-height: 1.8; }
.tier-class-hunter { --class-color: #b4d578; }
.tier-class-warlock { --class-color: #b2a4ff; }
.tier-class-shaman { --class-color: #4ba7ff; }
.tier-class-mage { --class-color: #61d8f5; }
.tier-class-paladin { --class-color: #ff9dcb; }
.tier-class-warrior { --class-color: #d8ad7f; }
.tier-class-rogue { --class-color: #fff275; }
.tier-class-druid { --class-color: #ff9c45; }
.tier-class-priest { --class-color: #fff; }
.tier-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media(max-width: 1000px) { .tier-cards { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 750px) { .tier-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) { .tier-page { padding: 30px 16px 50px; } .tier-row { grid-template-columns: 48px minmax(0,1fr); } .tier-grade { font-size: 34px; } .tier-cards { gap: 8px; padding: 10px; } .tier-context { padding: 18px; } .tier-role-tabs a { padding: 12px 14px; } .tier-entry summary { gap: 7px; padding: 5px; } .tier-entry img { width: 34px; height: 34px; } }
@media(max-width: 420px) { .tier-cards { grid-template-columns: 1fr; } }
