/* Spreadsheet overview: familiar columns, fast inspection, original article depth. */
body.overview-active {--sidebar:236px}
body.overview-active .topbar {height:64px;padding-inline:26px}
body.overview-active .sidebar-top {height:80px;padding-inline:22px}
body.overview-active .brand strong {font-size:27px}
body.overview-active .brand small {font-size:11px;margin-top:5px}
body.overview-active .sidebar-scroll {padding:17px 13px}
body.overview-active .main-nav {margin-bottom:16px}
body.overview-active .category-nav .nav-label {margin-top:17px;margin-bottom:6px}
body.overview-active .main-nav a,body.overview-active .category-nav a {font-size:14px;min-height:36px;padding:8px 9px;gap:9px}
body.overview-active .nav-symbol svg {width:18px;height:18px}
body.overview-active .sidebar-bottom {padding:13px 20px 0}
body.overview-active .back-to-site {min-height:44px;margin-top:10px;padding:12px 0;font-size:13px}
.overview-page {max-width:none;padding:22px 32px 46px}
.overview-page .breadcrumb {font-size:13px;margin-bottom:17px}
.overview-lead {background:none;border:0;border-radius:0;padding:0;margin:0 0 18px;min-height:0}
.overview-lead:before,.overview-lead:after {display:none}
.overview-lead .page-heading {margin:0;padding:0;gap:24px;align-items:center}
.overview-lead .section-kicker {font-size:11px;margin-bottom:6px}
.overview-lead h1 {font-size:40px;line-height:1.15;margin:0 0 8px;letter-spacing:-.025em}
.overview-lead p {font-size:16px;line-height:1.55;max-width:74ch;margin:0;color:var(--muted)}
.overview-lead .heading-count {font-size:30px;line-height:1.15;padding:0}
.overview-lead .heading-count small {font-size:12px;line-height:1.4;margin-top:4px}
.overview-view-switch {display:inline-flex;gap:3px;padding:4px;border:1px solid var(--hair-strong);border-radius:9px;background:var(--sidebar-bg);margin:0 0 16px}
.overview-view-switch button {min-height:38px;padding:7px 18px;font:500 14px/1.5 var(--sans);border-radius:6px;color:var(--muted);border:1px solid transparent}
.overview-view-switch button[aria-pressed="true"] {background:var(--panel-light);color:var(--ink);border-color:var(--hair-strong);box-shadow:0 2px 8px #0000000b}
.overview-view-switch button:hover {color:var(--accent);background:var(--hover-bg)}
.overview-page>.search-box,.overview-page>form {margin:0 0 15px}
.overview-page .search-box {min-height:48px;padding:0 14px;box-shadow:none;border-color:var(--hair-strong);border-radius:8px}
.overview-page .search-box input {height:46px;font-size:16px}
.overview-page .search-box svg {width:20px;height:20px}
.overview-page .search-box kbd {font-size:12px}
.overview-shell {min-width:0;--overview-cell-size:16px}
.overview-toolbar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.overview-help {font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0 0;flex:1;min-width:210px}
.overview-help span {white-space:nowrap;color:var(--dim)}
.overview-meta p {margin:0}
.overview-empty {grid-column:1/-1;border:1px dashed var(--hair-strong);padding:32px;border-radius:10px}
.overview-empty h2 {font-size:28px;margin:0 0 10px}
.overview-empty p {font-size:16px;line-height:1.7;color:var(--muted)}
.overview-toolbar label {display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted);flex-wrap:wrap}
.overview-toolbar select {font-size:14px;line-height:1.5;min-height:40px;padding:8px 32px 8px 12px;border:1px solid var(--hair-strong);border-radius:7px;background:var(--panel);color:var(--ink);max-width:100%}
.overview-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.overview-actions button {font-size:13px;line-height:1.45;min-height:40px;padding:8px 12px;border:1px solid var(--hair-strong);border-radius:7px;color:var(--muted);background:var(--panel)}
.overview-actions button:hover {color:var(--accent);border-color:var(--control-border)}
.overview-group-tabs {display:flex;flex-wrap:wrap;gap:7px;padding:0 0 16px;margin:0;border-bottom:1px solid var(--hair-strong)}
.overview-group-tab {display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:8px 13px;border:1px solid var(--hair-strong);border-radius:7px;background:var(--panel);font-size:14px;line-height:1.4;color:var(--nav-ink);text-align:left}
.overview-group-tab>span {font-size:11px;line-height:1.4;color:var(--dim);font-variant-numeric:tabular-nums;border-left:1px solid var(--hair-strong);padding-left:9px}
.overview-group-tab:hover {border-color:var(--control-border);background:var(--hover-bg)}
.overview-group-tab[aria-pressed="true"] {background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);font-weight:600}
.overview-group-tab[aria-pressed="true"]>span {color:inherit;opacity:.8;border-color:currentColor}
.overview-meta {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0 16px;font-size:12px;line-height:1.6;color:var(--dim)}
.overview-result-count {font-variant-numeric:tabular-nums;color:var(--muted);font-weight:500}
.overview-board {display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:13px;align-items:start}
.overview-group {min-width:0;border:1px solid var(--hair-strong);background:var(--panel);border-radius:9px;overflow:hidden}
.overview-group-title {display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 15px/1.45 var(--sans);padding:14px 14px 13px;margin:0;border-bottom:1px solid var(--hair-strong);background:var(--table-head-bg);color:var(--table-head-ink);text-wrap:pretty}
.overview-group-title span {font-size:12px;color:var(--dim);font-weight:400}
.overview-items {display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.overview-item {display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;position:relative;border-bottom:1px solid var(--hair);min-width:0;background:var(--panel)}
.overview-item:last-child {border-bottom:0}
.overview-item:nth-child(even) {background:var(--table-stripe)}
.overview-item:hover,.overview-item:focus-within {background:var(--hover-bg);box-shadow:inset 3px 0 var(--accent)}
.overview-item-open {display:flex;flex-direction:column;gap:4px;min-width:0;min-height:55px;padding:10px 8px 10px 13px;text-align:left;justify-content:center;color:var(--ink);font-size:var(--overview-cell-size);line-height:1.35}
.overview-item-title {font-size:inherit;line-height:1.4;font-weight:500;overflow-wrap:anywhere;text-wrap:pretty}
.overview-item-subtitle {display:block;color:var(--dim);font-size:11px;line-height:1.45;font-weight:400;letter-spacing:.01em}
.overview-item-summary {font-size:14px;line-height:1.6;color:var(--muted);margin:6px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.overview-item-note {font-size:11px;line-height:1.5;color:var(--gold);border-top:1px solid var(--hair);padding-top:7px;margin-top:4px}
.overview-shell[data-layout="choices"] .overview-group-tabs:has(>button:nth-child(2):last-child) {display:none}
.overview-shell[data-layout="choices"] .overview-toolbar:not(:has(select)) {display:none}
.overview-board:has(>.overview-group:only-child) {grid-template-columns:minmax(0,1fr)}
.overview-board>.overview-group:only-child .overview-items {grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:0}
.overview-board>.overview-group:only-child .overview-item {border-right:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.overview-shell[data-layout="choices"] .overview-board {grid-template-columns:minmax(0,1fr)}
.overview-shell[data-layout="choices"] .overview-items {grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0}
.overview-shell[data-layout="choices"] .overview-item {border-right:1px solid var(--hair);border-bottom:1px solid var(--hair);grid-template-columns:minmax(0,1fr)}
.overview-shell[data-layout="choices"] .overview-item-open {padding:19px 4px 20px 18px;justify-content:flex-start;min-height:160px;gap:9px}
.overview-shell[data-layout="choices"] .overview-item-title {font:26px/1.2 var(--serif);letter-spacing:-.02em}
.overview-shell[data-layout="choices"] .overview-item-subtitle {font-size:12px;color:var(--gold)}
.overview-shell[data-layout="choices"] .overview-item-summary {font-size:15px;line-height:1.65;margin:0}
.overview-choice-image {display:block;width:80px;height:80px;object-fit:contain;border-radius:50%;margin:0 0 5px;background:var(--table-stripe);flex-shrink:0}
.overview-preview {position:fixed;z-index:125;width:min(360px,calc(100vw - 28px));max-height:min(440px,65dvh);overflow:hidden;padding:17px 20px;background:var(--panel);border:1px solid var(--control-border);border-radius:10px;box-shadow:var(--popover-shadow);color:var(--reading-ink);font-size:15px;line-height:1.65;pointer-events:none;white-space:normal}
.overview-preview[hidden] {display:none}
.overview-preview-rich{width:min(480px,calc(100vw - 28px));max-height:min(720px,calc(100dvh - 28px));overflow:auto;pointer-events:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 22px}
.overview-preview-rich .overview-preview-content{font:15px/1.65 var(--sans)}
.overview-preview-rich .overview-preview-content p{display:block;overflow:visible;-webkit-line-clamp:unset;margin:0 0 14px}
.overview-preview-rich .overview-preview-content ul{padding-left:20px;margin:8px 0 20px}
.overview-preview-rich .overview-preview-content li{margin:6px 0;white-space:pre-line}
.overview-preview-rich .overview-preview-content h2,.overview-preview-rich .overview-preview-content h3{font:600 17px/1.45 var(--sans);margin:22px 0 9px}
.overview-preview-rich .overview-preview-content strong{display:inline;font:600 1em/1.5 var(--sans);margin:0}
.overview-preview h3,.overview-preview strong {display:block;font:24px/1.2 var(--serif);margin:0 0 12px;color:var(--ink)}
.overview-preview p {font-size:15px;line-height:1.65;margin:8px 0;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical;overflow:hidden}
.overview-preview small,.overview-preview>span {font-size:12px;line-height:1.5;color:var(--dim);display:block;margin-top:12px;border-top:1px solid var(--hair);padding-top:10px}
.overview-detail-dialog {color:var(--ink);background:var(--panel);border:1px solid var(--control-border);border-radius:12px;box-shadow:var(--dialog-shadow);padding:0;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.overview-detail-dialog::backdrop {background:var(--backdrop);backdrop-filter:blur(3px)}
.overview-detail-dialog[open]:not(:modal) {position:fixed;inset:104px 18px 18px auto;width:380px;max-height:none;height:auto;margin:0;z-index:120}
.overview-detail-dialog.overview-detail-wide:modal {width:min(1120px,calc(100vw - 36px))}
.overview-detail-dialog.overview-detail-wide .overview-detail-body {padding:24px 28px}
.overview-detail-header {display:flex;gap:14px;justify-content:space-between;align-items:flex-start;padding:21px 22px 16px;border-bottom:1px solid var(--hair-strong);background:var(--panel)}
.overview-detail-header h2 {font:30px/1.2 var(--serif);margin:0;overflow-wrap:anywhere}
.overview-detail-header p,.overview-detail-header small {font-size:12px;line-height:1.5;color:var(--dim);margin:7px 0 0}
.overview-detail-header button {width:40px;min-width:40px;height:40px;border:1px solid var(--hair-strong);border-radius:7px;font-size:25px;color:var(--muted);display:grid;place-items:center}
.overview-detail-header button:hover {color:var(--ink);background:var(--hover-bg)}
.overview-detail-actions {padding:14px 21px;display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--hair)}
.overview-detail-actions .button,.overview-detail-actions>a,.overview-detail-actions>button {font-size:13px;line-height:1.45;min-height:38px;padding:8px 11px;border:1px solid var(--hair-strong);border-radius:7px;gap:7px;color:var(--accent)}
.overview-detail-actions .bookmark-button {width:auto;height:auto}
.overview-detail-actions .bookmark-button svg {width:17px;height:17px}
.overview-detail-body {padding:19px 22px 26px;font-size:16px;line-height:1.75;max-width:none;white-space:normal}
.overview-detail-body p,.overview-detail-body li {font-size:16px;line-height:1.75;margin:0 0 15px;white-space:pre-line}
.overview-detail-body h2,.overview-detail-body h3 {font:24px/1.3 var(--serif);margin:24px 0 13px}
.overview-detail-body>h2:first-child,.overview-detail-body>h3:first-child {margin-top:0}
.overview-detail-body .table-hint {font-size:11px;margin-bottom:7px;color:var(--dim)}
.overview-detail-body table {font-size:14px;min-width:460px;width:100%}
.overview-detail-body td,.overview-detail-body th {padding:10px 11px;min-width:96px;font-size:14px;line-height:1.6;white-space:pre-line;overflow-wrap:normal;word-break:normal}
.overview-detail-body .table-wrap {margin:13px 0 20px;border-radius:7px}
.overview-detail-body .article-figure {margin:18px 0}
.overview-detail-body .figure-open {padding:9px}
.overview-detail-body .figure-open img {max-height:200px}
.overview-detail-body .figure-zoom {font-size:12px;min-height:34px;padding:6px 9px}
.overview-detail-source {padding:16px 22px;border-top:1px solid var(--hair-strong);background:var(--source-bg);font-size:12px;line-height:1.65;color:var(--muted)}
.overview-detail-source a {color:var(--accent);display:inline-block;margin-top:8px}
.overview-shell .empty-state {padding:40px 20px}
.overview-shell .empty-state h2 {font-size:28px}
.overview-shell .empty-state p {font-size:16px}
/* A narrow reader scrolls wide reference tables instead of breaking words into letters. */
.article-content .table-wrap {overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain;scrollbar-width:auto}
.article-content table {table-layout:auto;min-width:460px}
.article-content th,.article-content td {min-width:96px;max-width:420px;overflow-wrap:normal;word-break:normal;hyphens:none}
.article-content th:first-child,.article-content td:first-child {min-width:170px}
.article-content .article-figure img,.image-dialog .image-dialog-scroll img {background:transparent}
.article-content .rune-symbol img {background:transparent;border-color:transparent;box-shadow:none}
:root[data-theme="light"] img:is([src$="b3b3e200fd1f63e7.png"],[src$="8ae62a104266d9f7.png"],[src$="264a3bda95611b8a.png"]) {filter:brightness(.52)}
:root[data-theme="dark"] img:is([src$="54f23fc969968792.png"],[src$="bc44bb8c26545011.png"],[src$="1a77b9ccd2d83228.png"]) {filter:brightness(1.45)}
/* Source rune silhouettes already have alpha; adapt their ink instead of adding a rectangle. */
img:is([src$="bb41067f5357c9aa.png"],[src$="905c8bc08112d7a7.png"],[src$="99b1c2e5903d0efe.png"],[src$="7f667ac7b8dbfeaf.png"],[src$="c49493158fc1b182.png"],[src$="2ddf956d495a2a55.png"],[src$="f13afcd932d16c3e.png"],[src$="2810e537495a5a0a.png"]) {background:transparent}
:root[data-theme="dark"] img:is([src$="bb41067f5357c9aa.png"],[src$="905c8bc08112d7a7.png"],[src$="99b1c2e5903d0efe.png"],[src$="7f667ac7b8dbfeaf.png"],[src$="c49493158fc1b182.png"],[src$="2ddf956d495a2a55.png"],[src$="f13afcd932d16c3e.png"],[src$="2810e537495a5a0a.png"]) {filter:invert(1)}
.overview-race-table-wrap {overflow-x:auto;max-width:100%;scrollbar-width:auto;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
.overview-race-table {width:100%;min-width:850px;table-layout:auto;font-size:15px;font-variant-numeric:tabular-nums}
.overview-race-table th,.overview-race-table td {padding:7px 12px;min-width:65px;line-height:1.5;white-space:normal;word-break:normal;overflow-wrap:normal;text-align:center;vertical-align:middle}
.overview-race-table thead th {font-weight:500;font-size:13px;background:var(--table-head-bg);color:var(--table-head-ink)}
.overview-race-table th:first-child {min-width:165px;text-align:left;position:sticky;left:0;z-index:1;background:var(--panel)}
.overview-race-table tbody tr:nth-child(even) th:first-child {background:var(--panel-light)}
.overview-race-table thead th:first-child {background:var(--table-head-bg)}
.overview-race-table tbody tr:hover {background:var(--hover-bg)}
.overview-race-table .overview-race-open {font-size:17px;line-height:1.5;min-height:32px;padding:0;display:block;white-space:normal;text-align:left;color:var(--ink);font-weight:500}
.overview-race-table .overview-race-open:hover {color:var(--accent)}
.overview-race-table th:last-child,.overview-race-table td:last-child {min-width:40px;width:55px}
.overview-group-note {font-size:14px;line-height:1.65;color:var(--muted);margin:0;padding:13px 16px;border-bottom:1px solid var(--hair-strong);background:var(--source-bg)}
.result-link {min-width:0}
.result-link h2,.result-link p,.result-row .result-meta {overflow-wrap:anywhere}
@media(min-width:1600px) {
  .overview-page {padding:24px 40px 50px}
  .overview-board {grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
  .overview-shell[data-layout="choices"] .overview-items {grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}
}
@media(min-width:1050px) {
  .overview-page {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(255px,.7fr);column-gap:26px;row-gap:0;padding-top:15px}
  .overview-page>.breadcrumb {grid-column:1/-1;margin-bottom:11px}
  .overview-lead {grid-column:1;margin-bottom:16px}
  .overview-lead .section-kicker {display:none}
  .overview-lead h1 {font-size:34px;margin-bottom:5px}
  .overview-lead p {font-size:14px;line-height:1.5}
  .overview-view-switch {margin:0;flex-shrink:0}
  .overview-view-switch button {padding:7px 11px;font-size:13px;min-height:35px}
  .overview-page>form {grid-column:2;align-self:center;margin-bottom:16px}
  .overview-page>#category-results {grid-column:1/-1}
  .overview-group-tabs {gap:6px;padding-bottom:12px}
  .overview-group-tab {min-height:35px;padding:7px 10px;font-size:13px}
  .overview-meta {padding:10px 0 12px}
  .overview-toolbar {margin-bottom:10px;gap:10px}
  .overview-toolbar {justify-content:flex-start}
  .overview-toolbar select {max-width:220px;min-height:36px;padding-block:6px}
  .overview-stage-filter select {max-width:200px}
  .overview-actions {margin-left:auto}
  .overview-actions button {min-height:36px;padding:7px 10px;font-size:12px}
  .overview-shell[data-category="destiny"] .overview-board>.overview-group .overview-items {grid-template-columns:repeat(5,minmax(0,1fr))}
  .overview-shell[data-category="classes"] .overview-board>.overview-group .overview-items {grid-template-columns:repeat(3,minmax(0,1fr))}
  .overview-shell[data-category="destiny"] .overview-item {grid-template-columns:minmax(0,1fr);position:relative}
  .overview-shell[data-category="destiny"] .overview-item-open {padding:18px 15px 42px;min-height:230px}
  .overview-shell[data-category="destiny"] .overview-item-title {font-size:24px}
  .overview-shell[data-category="destiny"] .overview-item-summary {font-size:14px;line-height:1.6}
}
@media(min-width:1400px) {
  body:has(.overview-detail-dialog[open]:not(:modal)) .overview-page {padding-right:420px;grid-template-columns:minmax(0,1fr)}
  body:has(.overview-detail-dialog[open]:not(:modal)) .overview-page>form {grid-column:1}
}
@media(max-width:1250px) {
  .overview-page {padding:22px 24px 40px}
  .overview-board {grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px}
  .overview-item-open {font-size:15px}
}
@media(max-width:800px) {
  body.overview-active {--sidebar:0px}
  body.overview-active .sidebar {width:288px}
  body.overview-active .topbar {height:auto;min-height:72px;padding-inline:18px}
  .overview-page {padding:20px 18px 36px}
  .overview-lead h1 {font-size:34px}
  .overview-lead .section-kicker {display:none}
  .overview-lead {margin-bottom:12px}
  .overview-view-switch {margin-bottom:0;margin-top:12px}
  .overview-lead p {font-size:16px}
  .overview-lead .heading-count {font-size:26px}
  .overview-group-tab {min-height:44px;font-size:13px}
  .overview-group-tabs {flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:10px}
  .overview-group-tab {flex-shrink:0}
  .overview-toolbar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;margin-bottom:10px}
  .overview-toolbar label {display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;font-size:12px}
  .overview-toolbar select {min-width:0;max-width:100%;width:100%;min-height:44px;font-size:13px}
  .overview-actions {grid-column:1/-1;margin:0}
  .overview-actions button {min-height:44px}
  .overview-board {grid-template-columns:repeat(2,minmax(0,1fr))}
  .overview-item {grid-template-columns:minmax(0,1fr)}
  .overview-item-open {padding:11px 5px 11px 11px;font-size:15px;min-height:60px}
  .overview-group-title {font-size:14px;padding:13px 11px}
  .overview-shell[data-layout="choices"] .overview-items {grid-template-columns:repeat(2,minmax(0,1fr))}
  .overview-shell[data-layout="choices"] .overview-item-open {padding:16px 2px 16px 13px;min-height:145px}
  .overview-shell[data-layout="choices"] .overview-item-title {font-size:24px}
  .overview-shell[data-layout="choices"] .overview-item-summary {font-size:14px}
  .overview-detail-dialog {width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:10px}
  .overview-detail-header {padding:18px}
  .overview-detail-body {padding:18px;font-size:17px}
  .overview-detail-body p,.overview-detail-body li {font-size:17px}
  .overview-detail-actions {padding:12px 18px}
  .overview-preview {display:none!important}
}
@media(max-width:430px) {
  .overview-page {padding-inline:14px}
  .overview-lead .heading-count {display:none}
  .overview-board {grid-template-columns:minmax(0,1fr)}
  .overview-board>.overview-group:only-child .overview-items {grid-template-columns:minmax(0,1fr)}
  .overview-shell[data-layout="choices"] .overview-items {grid-template-columns:minmax(0,1fr)}
  .overview-shell[data-layout="choices"] .overview-item-open {min-height:0;padding:17px}
  .overview-meta {font-size:12px;gap:8px}
  .overview-group-tabs {gap:6px}
  .overview-group-tab {padding:8px 10px;font-size:13px;gap:7px}
  .overview-view-switch {display:flex}
  .overview-view-switch button {flex:1;min-height:44px}
}
@media(prefers-reduced-motion:reduce) {.overview-shell *,.overview-detail-dialog *{scroll-behavior:auto;transition:none}}
@media print {.overview-toolbar,.overview-group-tabs,.overview-preview,.overview-detail-dialog{display:none!important}.overview-page{padding:0}.overview-board{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-item-open{font-size:10pt}.overview-group{break-inside:avoid}}
