:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-synthesis: none;
  --background: #17191c;
  --surface: #202328;
  --surface-hover: #282d34;
  --border: #3b4048;
  --rule: #30353d;
  --text: #e1e4e8;
  --muted: #a2a9b3;
  --orange: #e4a44c;
  --blue: #82b8e5;
  --positive: #9ac698;
  --negative: #e4a19a;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); }
body { margin: 0; color: var(--text); background: var(--background); }
button, input, select, textarea { font: inherit; }
button, input, select { border-radius: 2px; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled, select:disabled { opacity: .48; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
button { color: var(--text); }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: #bad9f3; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: 20px; line-height: 1.25; }
h2 { font-size: 14px; line-height: 1.4; }
h3 { font-size: 13px; line-height: 1.4; }
hr { margin: 14px 0; border: 0; border-top: 1px solid var(--rule); }
strong { font-weight: 600; }
.site-width { width: min(1600px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -50px; left: 15px; padding: 8px 12px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 8px; }
.masthead { background: #202327; border-bottom: 1px solid var(--border); }
.masthead-inner { height: 48px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand strong { font-size: 17px; color: #f0f1f2; }
.brand span { color: var(--muted); font-size: 12px; }
.version-links { display: flex; align-items: center; gap: 16px; font-size: 12px; }
.version-links > span { color: var(--muted); }
.navigation-bar { border-bottom: 1px solid var(--border); background: #1c1f23; }
.navigation-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 41px; }
.primary-nav { display: flex; gap: 4px; align-self: stretch; }
.nav-item { padding: 10px 15px 8px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font-weight: 600; white-space: nowrap; }
.nav-item:first-child { padding-left: 0; padding-right: 16px; }
.nav-item:hover { color: var(--text); }
.nav-item.active { color: var(--orange); border-bottom-color: var(--orange); }
.header-actions { display: flex; gap: 7px; padding-block: 5px; }
.button, .preset-button, .segment { min-height: 28px; padding: 4px 10px; border: 1px solid #4b525d; background: #2a2f36; color: var(--text); font-size: 12px; text-decoration: none; }
.button:hover, .preset-button:hover, .segment:hover { background: #353c45; border-color: #636e7d; }
.button.primary { color: #dddfe2; border-color: #5a6470; background: #333b45; }
.button.primary:hover { background: #414d5b; }
.button svg { display: none; }
.page-header { padding: 20px 0 15px; }
.page-header > p:not([hidden]) { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
#view-eyebrow, .eyebrow { display: none; }
#workspace:focus { outline: none; }
.workspace-grid, .stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.setup, .control-panel { border: 1px solid var(--border); background: var(--surface); padding: 14px 16px; }
.setup-grid { display: grid; grid-template-columns: minmax(70px, .6fr) minmax(75px, .7fr) minmax(110px, 1fr) minmax(280px, 2.3fr) minmax(140px, 1.2fr); gap: 12px 20px; align-items: start; }
.setup-grid > .field { min-width: 0; }
.input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.input-grid.three, .input-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.input-grid.four, .input-grid.four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field { min-width: 0; }
.field label, .field-label { display: flex; justify-content: space-between; gap: 8px; color: #c8cdd4; font-size: 12px; margin-bottom: 5px; }
.field label > span { color: var(--text); font-variant-numeric: tabular-nums; }
.field input[type="number"], .field select, input[type="text"] { width: 100%; min-height: 30px; padding: 4px 7px; border: 1px solid #4a515c; background: #171a1f; color: var(--text); }
.field input[type="number"]:hover, .field select:hover { border-color: #68717e; }
.field input[type="range"] { width: 100%; min-width: 0; accent-color: var(--blue); }
.field input[type="checkbox"], .toggle-row input { accent-color: var(--blue); }
.field-hint { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.field-row { display: grid; grid-template-columns: 1fr 75px; gap: 10px; align-items: center; }
.preset-row { display: flex; gap: 0; }
.preset-button { flex: 1; border-radius: 0; min-height: 30px; padding-inline: 7px; }
.preset-button + .preset-button { margin-left: -1px; }
.preset-button:first-child { border-radius: 2px 0 0 2px; }
.preset-button:last-child { border-radius: 0 2px 2px 0; }
.preset-button.active, .segment.active { position: relative; background: #3c3529; border-color: #9c7944; color: #f2c98f; }
.advanced-controls { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
details > summary { cursor: pointer; color: var(--muted); font-size: 12px; width: fit-content; }
details > summary:hover { color: var(--text); }
details[open] > summary { margin-bottom: 12px; }
.advanced-controls .input-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.control-panel .panel-header, .setup .panel-heading { margin: -2px 0 12px; padding: 0 0 10px; background: none; }
.control-panel > .field { margin-top: 12px; }
.control-panel > .input-grid { margin-top: 12px; }
.control-panel > .toggle-row { margin-top: 14px; }
.mobile-settings { display: none; }
.comparison-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; align-items: start; }
.comparison-layout > *, .wrath-layout > *, .sources-layout > * { min-width: 0; }
.spell-inspector { position: sticky; top: 12px; }
.panel, .section { border: 1px solid var(--border); background: var(--surface); min-width: 0; }
.panel-heading, .panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); padding: 10px 12px; }
.panel-heading h2, .panel-header h2 { color: #e7e9ed; }
.panel-heading p, .panel-header p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.panel-body, .section-body { padding: 12px; }
.panel-body > h3, .section-body > h3 { margin: 15px 0 7px; }
.toolbar, .table-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); padding: 0 0 9px; font-size: 12px; }
.toolbar p, .table-caption p { margin: 0; }
.toolbar strong { color: var(--text); }
.table-scroll { width: 100%; overflow-x: auto; scrollbar-color: #565e69 #22262c; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.result-table, .comparison-table { font-size: 12px; }
th { color: var(--muted); background: #23272d; text-align: right; font-weight: 400; white-space: nowrap; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
th:first-child, td:first-child { text-align: left; }
th:not(:first-child), td:not(:first-child) { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
.result-table { min-width: 620px; }
.result-table th { padding: 9px 10px; font-size: 11px; }
.result-table td { height: 46px; padding: 5px 10px; }
.result-table th:first-child { width: 29%; }
.result-table tbody tr:hover, .comparison-table tbody tr[data-spell]:hover { background: #292e36; }
.result-table tbody tr[data-spell], .comparison-table tbody tr[data-spell] { cursor: pointer; }
.result-table .selected-row, .comparison-table .selected-row { background: #293746; }
.result-table .selected-row:hover, .comparison-table .selected-row:hover { background: #304052; }
.selected-row td:first-child { border-left: 2px solid #82b8e5; padding-left: 8px; }
.sort-button { padding: 0; background: transparent; border: 0; border-radius: 0; font-size: inherit; font-weight: inherit; color: inherit; white-space: nowrap; }
.sort-button:hover, .sort-button.active { color: #f0c185; }
.spell-name { display: inline-flex; align-items: center; gap: 9px; text-align: left; color: var(--text); font-size: 12px; font-weight: 600; line-height: 1.3; }
.spell-button { border: 0; padding: 0; background: none; }
.spell-name:hover { color: #fff; }
.spell-meta { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.spell-icon { flex: 0 0 26px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #696a6a; border-radius: 2px; overflow: hidden; }
.spell-icon img { width: 24px; height: 24px; object-fit: cover; display: block; }
img.spell-icon { width: 26px; height: 26px; object-fit: cover; }
.spell-inspector .panel-heading, .spell-inspector .panel-header { align-items: start; }
.spell-inspector .spell-name { font-size: 14px; }
.spell-inspector .spell-meta { font-size: 11px; }
.spell-inspector .button { padding: 3px 7px; min-height: 25px; }
.formula { padding: 10px; background: #191d22; border: 1px solid #343b45; color: #cbd2db; font-family: Consolas, "Liberation Mono", monospace; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.formula strong { color: #f1cd9c; }
.description-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; margin: 10px 0; font-size: 12px; }
.description-list dt, .description-list dd { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.description-list dt { color: var(--muted); }
.description-list dd { text-align: right; font-variant-numeric: tabular-nums; }
.description-list dt:last-of-type, .description-list dd:last-of-type { border-bottom: 0; }
.target-list { margin-top: 12px; font-size: 11px; }
.target-list th, .target-list td { padding: 5px 8px; }
.target-list th { font-size: 10px; }
.target-list th:first-child, .target-list td:first-child { width: 70px; }
.target-list td:last-child { color: var(--muted); }
.notes, .notice { color: var(--muted); font-size: 11px; line-height: 1.6; }
.notes { margin-top: 12px; }
.notes p + p { margin-top: 6px; }
.notice { border-top: 1px solid var(--border); padding: 11px 0 0; }
.notice-title { color: #c7ccd4; font-weight: 600; margin-right: 4px; }
.notice.warning { border: 1px solid #695a43; background: #2b2822; padding: 10px 12px; color: #d2bd9d; }
.text-button { padding: 0; border: 0; border-radius: 0; color: var(--blue); background: none; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.text-button:hover { color: #bad9f3; }
.badge { padding: 0; color: var(--muted); font-size: 10px; white-space: nowrap; letter-spacing: 0; }
.badge.verified { color: #9ab4c9; }
.badge.warning { color: #d6b679; }
.muted { color: var(--muted); }
.positive { color: var(--positive); }
.negative { color: var(--negative); }
.damage-cell { font-variant-numeric: tabular-nums; }
.damage-cell strong { font-weight: 600; }
.bar-track { height: 2px; margin-top: 4px; background: #343941; }
.bar-fill { height: 2px; opacity: .8; }
.segmented { display: inline-flex; gap: 0; }
.segment { border-radius: 0; }
.segment + .segment { margin-left: -1px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spell-inspector .detail-grid { display: block; }
.wrath-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wrath-layout > .wide, .wrath-layout > .full-width { grid-column: 1 / -1; }
.mana-summary, .summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); background: var(--surface); }
.mana-summary > *, .stat-card { padding: 10px 14px; min-width: 0; }
.mana-summary > * + *, .stat-card + .stat-card { border-left: 1px solid var(--border); }
.stat-label { display: block; color: var(--muted); font-size: 11px; }
.stat-value { display: block; margin: 3px 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-foot { color: var(--muted); font-size: 11px; }
.mana-summary .value, .mana-summary strong { display: block; margin: 3px 0; font-size: 16px; }
.mana-summary .label { color: var(--muted); font-size: 11px; }
.mana-summary .detail { color: var(--muted); font-size: 11px; }
.toggle-row { display: flex; align-items: start; gap: 8px; color: var(--muted); font-size: 12px; }
.toggle-row input { margin: 3px 0 0; }
.toggle-row strong { display: block; color: var(--text); font-weight: 400; }
.chart { margin-top: 4px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart svg text { font-family: Arial, Helvetica, sans-serif; font-size: 11px; fill: var(--muted); }
.chart .grid-line { stroke: #343a43; stroke-width: 1; }
.chart .axis-line { stroke: #626c79; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 10px; margin-top: 6px; }
.legend > span { display: flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 12px; height: 2px; background: var(--orange); }
.legend-dot.jade { background: #7caf9e; }
.sources-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); align-items: start; gap: 16px; }
.prose { color: #c2c8d0; font-size: 12px; line-height: 1.65; }
.prose h3 { color: var(--text); margin: 20px 0 6px; }
.prose ul { padding-left: 19px; margin: 7px 0 12px; }
.prose li { margin: 7px 0; }
.sources-list { list-style: none; margin: 0; padding: 0; }
.sources-list li { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.sources-list li:first-child { padding-top: 0; }
.sources-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sources-list a { font-size: 12px; }
.sources-list p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.empty-state { border: 1px solid var(--border); padding: 24px 16px; background: var(--surface); color: var(--muted); }
.empty-state h2 { color: var(--text); margin-bottom: 7px; }
.loading { padding: 24px 0; color: var(--muted); }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 22px; border-top: 1px solid var(--border); padding: 12px 0 20px; color: #8c96a3; font-size: 10px; }
.page-footer p { margin: 0; }
.share-fallback { position: fixed; inset: auto 20px 20px auto; z-index: 20; width: min(520px, calc(100% - 40px)); background: #252b32; border: 1px solid #6b7889; padding: 15px; }
.share-fallback label { display: block; color: var(--text); margin-bottom: 8px; }
.share-fallback input { margin-bottom: 8px; }
.target-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 12px 0; background: var(--border); border: 1px solid var(--border); }
.target-chip { display: flex; flex-direction: column; gap: 3px; background: var(--surface); padding: 8px; }
.target-chip > span { color: var(--muted); font-size: 10px; }
.target-chip strong { font-size: 13px; }

@media (min-width: 1550px) {
  .comparison-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .result-table td { height: 48px; }
}
@media (max-width: 1100px) {
  .setup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .setup-grid > .field:has(.preset-row) { grid-column: span 2; }
  .comparison-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 12px; }
  .advanced-controls .input-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-table { min-width: 580px; }
  .result-table td, .result-table th { padding-inline: 8px; }
}
@media (max-width: 900px) {
  .comparison-layout { grid-template-columns: minmax(0, 1fr); }
  .spell-inspector { position: static; }
  .spell-inspector .panel-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .spell-inspector .panel-body > .formula { grid-column: 1 / -1; }
  .spell-inspector .panel-body > .notes, .spell-inspector .panel-body > .field-hint { grid-column: 1 / -1; }
  .spell-inspector .description-list { align-self: start; }
  .sources-layout { grid-template-columns: 1fr; }
  .wrath-layout { grid-template-columns: 1fr; }
  .wrath-layout > .wide, .wrath-layout > .full-width { grid-column: auto; }
}
@media (max-width: 600px) {
  .site-width { width: calc(100% - 24px); }
  .masthead-inner { height: 45px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 15px; }
  .brand span { font-size: 11px; }
  .version-links { gap: 10px; font-size: 11px; }
  .navigation-inner { flex-wrap: wrap; gap: 0; }
  .primary-nav { flex: 1 1 auto; }
  .nav-item { padding: 10px 11px 8px; font-size: 12px; }
  .nav-item:first-child { padding-right: 11px; }
  .header-actions { gap: 5px; margin-left: auto; }
  .header-actions .button { padding: 3px 6px; min-height: 26px; font-size: 11px; }
  .page-header { padding-top: 16px; }
  h1 { font-size: 19px; }
  .setup, .control-panel { padding: 12px; }
  .setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .setup-grid > .field:has(.preset-row) { grid-column: 1 / -1; }
  .setup-grid > .field:first-child { grid-column: auto; }
  .advanced-controls .input-grid, .input-grid.three, .input-grid.three-col, .input-grid.four, .input-grid.four-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .input-grid { gap: 12px; }
  .toolbar, .table-caption { flex-wrap: wrap; gap: 4px; }
  .result-table { min-width: 570px; }
  .panel-heading, .panel-header { padding: 10px; }
  .panel-body, .section-body { padding: 10px; }
  .spell-inspector .panel-body, .detail-grid { display: block; }
  .detail-grid > * + * { margin-top: 12px; }
  .description-list { gap: 0 10px; }
  .mana-summary, .summary-grid { grid-template-columns: 1fr; }
  .mana-summary > *, .stat-card { padding: 9px 12px; }
  .mana-summary > * + *, .stat-card + .stat-card { border-left: 0; border-top: 1px solid var(--border); }
  .stat-card { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
  .stat-label { align-self: center; }
  .stat-value { font-size: 17px; margin: 0; text-align: right; }
  .stat-foot { grid-column: 1 / -1; margin-top: 2px; }
  .page-footer { margin-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: color 80ms linear, background-color 80ms linear; }
}
.setup{margin-bottom:16px}.setup-foot{margin-top:10px;color:var(--muted);font-size:11px}.aoe-setup .setup-grid{grid-template-columns:80px 90px 140px minmax(275px,1fr) 150px}.wrath-setup .setup-grid{grid-template-columns:70px repeat(4,minmax(105px,1fr)) minmax(275px,2fr)}.talent-settings{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:14px;padding-top:12px;border-top:1px solid var(--rule)}.relic-field .toggle-row{min-height:30px;align-items:center;margin:0}.advanced-controls .input-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.inspector-body{padding:12px}.inspector-body>h3{margin:16px 0 6px}.inspector-total{display:flex;align-items:baseline;gap:10px;margin:14px 0 8px}.inspector-total strong{font-size:22px;font-variant-numeric:tabular-nums}.inspector-total span{font-size:11px;color:var(--muted)}.target-scroll{max-height:280px;overflow:auto}.target-list{margin-top:0}.table-notes{padding:12px;border-top:1px solid var(--rule);font-size:11px;color:var(--muted);line-height:1.6}.table-notes ul{padding-left:18px}.panel-heading>.notes{margin:0}.sorted-column{color:#f2c98f}.mana-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.mana-summary>div>span{color:var(--muted);font-size:11px}.results-status{margin:10px 0 16px;font-size:12px;color:var(--muted)}.mechanics-notes p{font-size:12px;color:#c2c8d0;line-height:1.6}.mechanics-notes h3:first-child{margin-top:0}.legend i{display:inline-block;width:14px;height:2px}.warning{padding:10px 12px;border-left:3px solid #b88a4a;background:#2d2923;color:#e0c7a6;font-size:12px}.toast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);border:1px solid #62768b;background:#273443;padding:10px 16px;color:var(--text);font-size:12px;z-index:20}.inspector-body details{font-size:11px;color:var(--muted);line-height:1.6}.inspector-body details[open] summary{margin-bottom:8px}
@media(max-width:1100px){.aoe-setup .setup-grid{grid-template-columns:80px 90px 120px minmax(250px,1fr) 130px;gap:14px}.aoe-setup .setup-grid>.preset-field{grid-column:auto}.wrath-setup .setup-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.wrath-setup .setup-grid>.preset-field{grid-column:span 3}.talent-settings{grid-template-columns:repeat(3,minmax(0,1fr))}.advanced-controls .input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.aoe-setup .setup-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aoe-setup .setup-grid>.preset-field{grid-column:span 2}.wrath-setup .setup-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wrath-setup .setup-grid>.preset-field{grid-column:span 3}}
@media(max-width:500px){.setup{padding:12px}.setup-grid,.aoe-setup .setup-grid{gap:12px}.talent-settings,.advanced-controls .input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mana-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mana-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.mana-summary>div:nth-child(4){border-top:1px solid var(--border)}.mana-summary>div{padding:10px}.inspector-total{flex-wrap:wrap}.toast{width:calc(100% - 24px);text-align:center}.result-table{min-width:560px}.result-table td,.result-table th{padding-left:8px;padding-right:8px}}

.mobile-table-hint{display:none}@media(max-width:900px){.mobile-table-hint{display:block;padding:6px 10px;color:var(--muted);font-size:10px;border-bottom:1px solid var(--rule)}}
/* Version 3: compact field notes, with school-colored comparison bars. */
:root{font-size:14px;--background:#141916;--surface:#1d2420;--surface-hover:#263029;--border:#3b453d;--rule:#303a32;--text:#e6e8dc;--muted:#a5b0a4;--orange:#d2b57e;--blue:#9ebba8;--positive:#a9c695;--negative:#e1a28e}
body{background:var(--background)}
.site-width{width:min(1440px,calc(100% - 64px))}
.masthead{background:#1a211c;border-top:3px solid #ae9362;border-bottom:1px solid #394336}
.masthead-inner{height:88px}
.brand{gap:12px;align-items:center}
.brand-mark{width:37px;height:44px;color:#c3a674}
.brand-mark svg{width:100%;height:100%}
.brand-type{display:flex;flex-direction:column;gap:0}
.brand .brand-type strong{font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:400;line-height:1.05;color:#ebe4d4;letter-spacing:.5px}
.brand .brand-type>span{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#c0ae8c;line-height:1.8}
.masthead-tools{display:flex;align-items:center;gap:30px}
.icon-switch{display:flex;align-items:center;gap:0;font-size:11px}
.icon-switch>span{margin-right:10px;color:var(--muted)}
.icon-switch button{padding:6px 10px;background:#151c17;border:1px solid #3c483e;color:var(--muted)}
.icon-switch button+button{border-left:0}
.icon-switch button[aria-pressed=true]{background:#354034;color:#dfdfc8}
.version-links{gap:12px;font-size:11px}
.version-links a{color:#9da997;text-decoration:none}
.version-links>span{border:1px solid #6a654d;color:#d2bc91;padding:2px 6px;border-radius:3px}
.navigation-bar{background:#182019;border-color:#354033}
.navigation-inner{min-height:49px}
.primary-nav{gap:16px}
.nav-item,.nav-item:first-child{padding:14px 3px 12px;font-size:13px;font-weight:500}
.header-actions{gap:8px}
.button{border-radius:4px;background:#242e26;border-color:#475247;min-height:30px;padding:5px 12px}
.button.primary{background:#3c4431;border-color:#716c4b;color:#e7dab9}
.button.primary:hover{background:#4c553e}
.page-header{padding:27px 0 19px;display:flex;align-items:baseline;gap:18px}
h1{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:400;letter-spacing:-.3px}
.page-header>p:not([hidden]){font-size:12px;color:#9ba897;margin:0}
.setup{padding:19px 20px 12px;border-radius:7px;border-color:#3f4b3e;background:#202920;box-shadow:0 3px 8px #080e0a35;margin-bottom:22px}
.aoe-setup .setup-grid{grid-template-columns:minmax(100px,.75fr) minmax(110px,.8fr) minmax(145px,1.1fr) minmax(270px,2fr) minmax(100px,.8fr);gap:24px;align-items:center}
.field label,.field-label{font-size:11px;color:#b8c2b2;margin-bottom:7px}
.stepper{display:flex;height:40px;border:1px solid #56624e;border-radius:5px;overflow:hidden;background:#151d16;box-shadow:inset 0 2px 3px #0a100d77}
.stepper:focus-within{border-color:#c2af7f;box-shadow:0 0 0 2px #c2af7f22}
.stepper button{flex:0 0 28px;background:transparent;border:0;color:#97a98d;font-size:17px;padding:0}
.stepper button:hover{background:#2b3629;color:#e3dbb9}
.field .stepper input[type=number]{min-width:0;width:100%;text-align:center;border:0;background:transparent;font-size:20px;min-height:38px;padding:0;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield;color:#efe8d4;outline:0;box-shadow:none}
.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.field input[type=number],.field select,input[type=text]{border-radius:4px;background:#151d17;border-color:#4b594c;min-height:34px}
.preset-row{gap:4px}
.preset-button,.preset-button:first-child,.preset-button:last-child{border-radius:4px;min-height:40px;background:#283228;border:1px solid #465142;margin:0;font-size:12px;padding:5px 9px}
.preset-button.active,.segment.active{border-color:#9c8a5c;color:#e6d5a7;background:#474b32}
.segmented{width:100%;background:#151d16;border:1px solid #4b5947;border-radius:5px;padding:3px;gap:2px;min-height:40px}
.segment,.segment+.segment{flex:1;margin:0;border-radius:3px;border:1px solid transparent;background:transparent;min-height:30px;padding:4px 8px;font-size:12px;color:#a4b29d}
.segment.active{background:#475138;border-color:#737850;color:#f1e6c2}
.advanced-controls{margin-top:15px;padding-top:10px;border-color:#384535}
.advanced-controls .input-grid{margin-top:15px}
.advanced-controls summary{font-size:11px;color:#a5b29b}
.section{border-radius:6px;border-color:#3b473b;overflow:hidden;box-shadow:0 3px 9px #090f0b25;background:#1d2520}
.comparison-layout{grid-template-columns:minmax(0,1fr) 365px;gap:22px}
.panel-heading{padding:15px 17px;background:#222c23;border-bottom-color:#3d493b}
.panel-heading h2{font-size:14px;font-weight:500;color:#e2e6d7}
.panel-heading .notes{font-size:11px;color:#a5b09e}
.count{font-family:Arial,sans-serif;font-size:10px;border:1px solid #4a5747;border-radius:3px;padding:2px 5px;margin-left:7px;color:#afbc9d}
.result-table{min-width:0;table-layout:fixed}
.result-table th:first-child{width:39%}
.result-table th{background:#19221c;padding:12px 17px;font-size:11px;color:#afbaa8}
.result-table td{height:58px;padding:9px 17px;border-color:#303c32}
.result-table td:first-child{padding-right:8px}
.result-table td:not(:first-child){padding-left:8px}
.result-table tbody tr:hover{background:#27332a}
.result-table .selected-row,.result-table .selected-row:hover{background:#2b392d}
.selected-row td:first-child{border-left:2px solid #c4af7d;padding-left:15px}
.spell-name{font-size:12px;gap:11px;font-weight:500;line-height:1.4;color:#e3e7d9}
.spell-meta{font-size:10px;margin-top:3px;color:#96a58f}
.spell-icon,img.spell-icon{width:32px;height:32px;flex:0 0 32px;border-radius:4px;border:1px solid #7e7a55;object-fit:cover;box-shadow:0 1px 4px #080d0a88}
.symbol-icon{font-family:Georgia,serif;font-size:24px;color:var(--school);background:#162019;border-color:color-mix(in srgb,var(--school) 35%,#1e2922);text-shadow:0 0 12px color-mix(in srgb,var(--school) 20%,transparent);box-shadow:none}
.metric-bar{height:28px;position:relative;display:flex;align-items:center;justify-content:flex-end;padding:0 8px;isolation:isolate}
.metric-bar:before{content:'';position:absolute;inset:0;background:#111a1444;z-index:-2;border-radius:2px}
.metric-bar .bar-fill{position:absolute;inset:0 auto 0 0;height:100%;min-width:0;border-left:2px solid var(--school);background:color-mix(in srgb,var(--school) 22%,transparent);opacity:1;border-radius:2px;z-index:-1}
.metric-bar strong{font-family:Consolas,'Liberation Mono',monospace;font-size:12px;font-weight:500;color:#e2e6d7;white-space:nowrap}
.sorted-column .metric-bar strong{color:#f1e9d7}
.sorted-column .metric-bar .bar-fill{background:color-mix(in srgb,var(--school) 30%,transparent)}
.sort-button.active{color:#dfcb98}
.table-notes{padding:15px 17px;background:#19211b;border-color:#384534}
.table-notes details summary{font-size:11px}
.spell-inspector{border-top:2px solid var(--school);max-height:calc(100vh - 28px);overflow:auto;scrollbar-color:#4a5a4a #1d2520}
.spell-inspector .panel-heading{padding:14px 16px;align-items:center}
.spell-inspector .panel-heading>a{font-size:10px;white-space:nowrap;color:#a8b99e}
.spell-inspector .spell-name{font-size:15px}
.inspector-body{padding:15px 16px}
.inspector-body>.spell-meta{font-size:11px;margin:0}
.inspector-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0;padding-bottom:16px;border-bottom:1px solid #3b4838}
.inspector-stats>div{display:flex;gap:9px;align-items:baseline}
.inspector-stats strong{font-family:Georgia,'Times New Roman',serif;font-size:27px;line-height:1;color:#e9e3cf;font-weight:400;font-variant-numeric:tabular-nums}
.inspector-stats span{color:#b3b9a7;font-size:10px}
.description-list{font-size:11px;margin:0 0 20px;gap:0 12px}
.description-list dt,.description-list dd{padding:7px 0;border-color:#303e33}
.talent-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:16px;border-top:1px solid #3e4c3a;margin-top:18px}
.talent-heading h3{font-size:12px;font-weight:500}
.state-indicator{font-size:10px;color:#9ca797;border:1px solid #4b5648;border-radius:3px;padding:1px 7px}
.state-indicator.on{color:#b6caa1;background:#35432b;border-color:#5d7048}
.talent-build{font-size:10px;color:#98a590;line-height:1.55;margin:6px 0 10px}
.talent-list{border-top:1px solid #344130}
.talent-item{border-bottom:1px solid #344130;padding:9px 0}
.talent-item>summary{list-style:none;display:flex;align-items:center;gap:9px;width:100%;margin:0;cursor:pointer}
.talent-item>summary::-webkit-details-marker{display:none}
.talent-item>summary:after{content:'+';color:#819175;font-size:11px}
.talent-item[open]>summary:after{content:'−'}
.talent-item>summary img{flex:0 0 28px;width:28px;height:28px;object-fit:cover;border:1px solid #716e4b;border-radius:3px}
.talent-item>summary>span{flex:1;min-width:0;display:block}
.talent-item strong{display:block;color:#d6dfc8;font-size:11px;font-weight:500}
.talent-item small{display:block;font-size:10px;line-height:1.35;color:#9fae95;margin-top:2px}
.talent-item b{font-size:10px;font-weight:400;color:#abb995;font-variant-numeric:tabular-nums;white-space:nowrap}
.talent-item p{font-size:11px;line-height:1.6;color:#b0bda6;margin:9px 0 2px 37px}
.talent-item .talent-status{font-size:10px;color:#c2b385}



.spell-math{margin-top:20px}
.inspector-body>details{padding-top:13px}
.inspector-body>details>summary{font-size:11px}
.inspector-body>details p{margin-top:10px}
.formula{border-radius:3px;background:#151e17;border-color:#354532;color:#c2cdb8;line-height:1.8}
.target-list th{background:#19251c}
.target-list td,.target-list th{border-color:#32412f}
.wrath-setup .setup-grid{grid-template-columns:minmax(85px,.65fr) repeat(4,minmax(110px,1fr)) minmax(275px,2fr);gap:18px}
.wrath-options{display:flex;gap:26px;align-items:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid #3b4836}
.wrath-options>.field{min-width:140px}.wrath-options>.field:first-child{min-width:235px}.wrath-options>.field:last-child{margin-left:auto}
.talent-well{padding:17px;margin-top:18px;background:#151d17;border:1px solid #46543d;border-radius:5px}
.talent-well-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}
.talent-well-header h3{font-size:13px}.talent-well-header p{margin:3px 0 0;font-size:11px;color:#9eac93}
.talent-point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.talent-point{display:grid;grid-template-columns:32px minmax(0,1fr) 53px;align-items:center;gap:9px;border:1px solid #35452f;background:#1d291d;padding:10px;border-radius:4px}
.talent-point img{width:32px;height:32px;border:1px solid #726b46;border-radius:3px}
.talent-point strong{display:block;font-size:11px;font-weight:500;color:#d5dec6}.talent-point small{display:block;font-size:9px;color:#99aa8c;margin-top:3px}
.talent-point select{width:53px;min-height:30px;background:#121b14;border:1px solid #566149;color:#e1dfc6;padding:3px;font-size:11px}


.mana-summary{background:#202b21;border-radius:5px;border-color:#46533b;overflow:hidden}
.mana-summary>div{padding:18px 20px}.mana-summary>div+div{border-color:#435139}
.mana-summary strong{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:400;margin-top:8px}
.mana-summary>div>span{font-size:11px;color:#b0bda3}
.wrath-layout{gap:22px}.section-body{padding:16px}.results-status{margin:15px 0 20px}
.chart .grid-line{stroke:#394933}.chart svg text{fill:#a2b095}
.mechanics-notes p,.prose{color:#bbc6b2;line-height:1.75}
.sources-list li{border-color:#3c4a34}.sources-list a{color:#b9c8a7}
.page-footer{border-color:#37442f;color:#8c9d82;font-size:10px;margin-top:25px;padding-bottom:25px}
.warning{background:#302d20;border-color:#bba36a;color:#e2d0a0;border-radius:3px}
.toast{background:#33452f;border-color:#7a8b60;border-radius:5px;color:#e4e8d5}
.audit-class{padding:14px 0;border-bottom:1px solid #3c4a34}.audit-class>summary{font-size:13px;color:#c5d1b9}.audit-row{font-size:11px;padding:8px 0;border-top:1px solid #2e3d28}.audit-row strong{color:#d6dfcb}.audit-row p{color:#a2b399;margin:4px 0 0}
@media(min-width:1550px){.comparison-layout{grid-template-columns:minmax(0,1fr) 385px}.result-table td{height:60px}}
@media(max-width:1150px){.site-width{width:calc(100% - 40px)}.aoe-setup .setup-grid{grid-template-columns:90px 100px 130px minmax(250px,1fr) 100px;gap:14px}.comparison-layout{grid-template-columns:minmax(0,1fr) 330px;gap:16px}.wrath-setup .setup-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.wrath-setup .setup-grid>.preset-field{grid-column:span 3}.result-table th:first-child{width:44%}.result-table th,.result-table td{padding-inline:10px}.selected-row td:first-child{padding-left:8px}.spell-name{gap:8px}.talent-point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.comparison-layout{grid-template-columns:minmax(0,1fr)}.spell-inspector{position:static;max-height:none}.aoe-setup .setup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.aoe-setup .setup-grid>.preset-field{grid-column:span 2}.aoe-setup .setup-grid>.field:last-child{grid-column:auto}.result-table th:first-child{width:40%}.result-table th,.result-table td{padding-inline:16px}.selected-row td:first-child{padding-left:14px}.wrath-options{flex-wrap:wrap;gap:16px}.wrath-options>.field:last-child{margin-left:0}.page-header{gap:14px}.masthead-tools{gap:20px}.wrath-layout{grid-template-columns:1fr}}
@media(max-width:600px){.site-width{width:calc(100% - 24px)}.masthead-inner{height:83px}.brand-mark{width:29px;height:36px}.brand{gap:8px}.brand .brand-type strong{font-size:24px}.brand .brand-type>span{font-size:8px;letter-spacing:2.5px}.masthead-tools{flex-direction:column-reverse;gap:9px;align-items:flex-end}.icon-switch{font-size:9px}.icon-switch>span{margin-right:5px}.icon-switch button{padding:4px 6px}.version-links{font-size:9px;gap:9px}.version-links>span{padding:0 4px}.navigation-inner{min-height:45px}.primary-nav{gap:12px}.nav-item,.nav-item:first-child{font-size:11px;padding:12px 0 10px}.header-actions .button{font-size:10px;padding:4px 7px}.header-actions{gap:5px}.page-header{display:block;padding:21px 0 16px}.page-header h1{font-size:25px}.page-header>p:not([hidden]){font-size:11px;margin-top:5px}.setup{padding:14px 12px 11px;margin-bottom:16px}.aoe-setup .setup-grid{gap:13px 10px}.field label,.field-label{font-size:10px}.stepper{height:38px}.stepper button{flex-basis:22px;font-size:16px}.field .stepper input[type=number]{font-size:18px}.preset-button{font-size:10px;padding-inline:4px;min-height:36px}.preset-row{gap:3px}.segment{font-size:11px;padding-inline:6px;min-height:27px}.segmented{min-height:36px;padding:3px}.panel-heading{padding:13px 12px}.panel-heading h2{font-size:12px}.panel-heading .notes{font-size:10px}.count{margin-left:4px;font-size:9px}.result-table th:first-child{width:43%}.result-table th,.result-table td{padding:10px 8px}.result-table td{height:60px}.selected-row td:first-child{padding-left:6px}.spell-name{font-size:11px;gap:7px}.spell-meta{font-size:9px}.spell-icon,img.spell-icon{width:27px;height:27px;flex-basis:27px}.symbol-icon{font-size:22px}.metric-bar{padding:0 5px;height:27px}.metric-bar strong{font-size:11px}.table-notes{padding:14px 12px}.wrath-setup .setup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 10px}.wrath-setup .setup-grid>.preset-field{grid-column:span 3}.wrath-options>.field:first-child{min-width:0;width:100%}.wrath-options>.field{min-width:0;flex:1}.wrath-options{gap:13px}.talent-well{padding:12px}.talent-point-grid{grid-template-columns:1fr}.talent-well-header{display:block}.talent-well-header .text-button{margin-top:9px}.mana-summary>div{padding:14px}.mana-summary strong{font-size:23px}.talent-well-header p{font-size:10px}.wrath-layout{gap:16px}.inspector-stats strong{font-size:28px}}
@media(max-width:360px){.spell-icon,img.spell-icon{width:23px;height:23px;flex-basis:23px}.spell-name{gap:5px;font-size:10px}.result-table th:first-child{width:44%}.metric-bar strong{font-size:10px}.result-table td:not(:first-child){padding-left:4px}.result-table th,.result-table td{padding-right:6px}.header-actions{width:100%;justify-content:flex-end;border-top:1px solid #354033}.icon-switch>span{display:none}}

.talent-item small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.talent-item[open] small{display:block}.talent-item[open]>summary{margin-bottom:8px}
.audit-talent{padding:10px 0;border-top:1px solid #34442f}.audit-talent:first-child{margin-top:12px}.audit-talent summary{font-size:11px;line-height:1.6}.audit-talent summary .notes{font-size:10px}.audit-talent p{font-size:11px;color:#adbba0;line-height:1.6;margin:8px 0}.sources-layout>div>.section+.section{margin-top:20px}.sources-layout .section-body>p{font-size:12px;line-height:1.6}.spirit-row.selected-row{background:#2b392d} .comparison-table th{background:#19221c}

/* v4: occupied time, active windows and spell sequences. */
.aoe-setup .setup-grid{grid-template-columns:minmax(90px,.65fr) minmax(100px,.7fr) minmax(135px,.9fr) minmax(250px,1.8fr) minmax(210px,1.4fr);gap:20px}
.aoe-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.aoe-switches .field{min-width:0}
.row-spell-copy{display:block;min-width:0}
.row-spell-copy>strong{font-weight:500;line-height:1.35;display:block}
.result-table td{height:77px}
.result-table th:first-child{width:44%}
.spell-button{width:100%;text-align:left;align-items:center}
.row-occupancy{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:400;color:#b7c1ab;margin-top:6px;white-space:nowrap}
.occupancy-track{width:30px;height:4px;background:#131c15;border-radius:1px;overflow:hidden;flex:0 0 30px;box-shadow:inset 0 0 0 1px #4d5b4133}
.occupancy-track i{display:block;height:100%;background:#98a580}
.row-cooldown{display:block;font-size:9px;line-height:1.4;font-weight:400;color:#98a58e;margin-top:4px}
.row-cooldown.active{color:#d7be82}
.rotation-icons{position:relative;width:42px;height:42px;flex:0 0 42px;display:block}
.rotation-icons .spell-icon{position:absolute;width:25px;height:25px;font-size:20px;box-shadow:0 1px 4px #050b07;border-radius:3px}
.rotation-icons .spell-icon:nth-child(1){left:0;top:0;z-index:4}
.rotation-icons .spell-icon:nth-child(2){left:15px;top:5px;z-index:3}
.rotation-icons .spell-icon:nth-child(3){left:1px;top:16px;z-index:2}
.rotation-icons .spell-icon:nth-child(4){left:16px;top:19px;z-index:1}
.cooldown-detail{margin:14px 0 16px;padding:12px;border:1px solid #4c5035;border-radius:4px;background:#292c1f44}
.cooldown-detail .talent-heading{margin:0;padding:0;border:0}
.cooldown-detail h3{color:#d5c38f}
.cooldown-detail .description-list{margin:12px 0 6px}
.cooldown-detail p,.cooldown-note,.rotation-note{font-size:11px;line-height:1.55;color:#a9b59e}
.cooldown-detail p{margin:7px 0 0}
.cooldown-note{margin:12px 0}
.rotation-inspector .panel-heading{align-items:flex-start}
.rotation-inspector .panel-heading h2{line-height:1.4;min-width:0;font-size:14px}
.rotation-inspector .panel-heading>a{white-space:nowrap}
.cast-timeline{list-style:none;padding:0;margin:12px 0 5px;border-left:1px solid #4b5d3d}
.cast-timeline li{position:relative;display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:8px;align-items:center;margin:0 0 2px;padding:7px 0 7px 12px;color:#c3cdb6;font-size:11px}
.cast-timeline li:before{content:'';position:absolute;left:-3px;top:50%;width:5px;height:5px;border-radius:50%;background:#8e9f74}
.cast-timeline .spell-icon{width:23px;height:23px;font-size:18px}
.cast-timeline time{font-size:10px;font-variant-numeric:tabular-nums;color:#98a78c;white-space:nowrap}
.timeline-wait{display:flex;align-items:center;justify-content:center;font-size:20px;color:#9aa98f}
.rotation-breakdown{margin-top:14px}
.rotation-components{font-size:11px;margin-top:9px}
.rotation-components td,.rotation-components th{padding:8px 4px}
.rotation-components td:first-child,.rotation-components th:first-child{text-align:left}
.rotation-inspector .spell-math{margin-top:16px}
@media(min-width:1550px){.result-table td{height:80px}}
@media(max-width:1150px){.aoe-setup .setup-grid{grid-template-columns:85px 90px 120px minmax(230px,1fr) 190px;gap:13px}.aoe-switches{gap:8px}.result-table th:first-child{width:48%}.comparison-layout{grid-template-columns:minmax(0,1fr) 330px}.row-occupancy{gap:4px}.occupancy-track{width:24px;flex-basis:24px}.rotation-icons{width:39px;flex-basis:39px}.result-table .spell-name{gap:8px}}
@media(max-width:1000px){.aoe-setup .setup-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aoe-setup .setup-grid>.preset-field{grid-column:span 2}.aoe-switches{min-width:190px}}
@media(max-width:900px){.comparison-layout{grid-template-columns:minmax(0,1fr)}.result-table th:first-child{width:43%}.aoe-switches{min-width:0}.result-table .spell-name{gap:12px}}
@media(max-width:600px){.aoe-setup .setup-grid>.preset-field{grid-column:1/-1}.aoe-switches{grid-column:1/-1;gap:12px}.aoe-switches .field-label{margin-bottom:5px}.aoe-switches .segmented{min-height:34px}.result-table th:first-child{width:48%}.result-table td{height:88px}.result-table .spell-name{gap:7px;align-items:center}.row-spell-copy>strong{font-size:10px}.row-occupancy{font-size:8px;gap:4px;white-space:normal;line-height:1.35}.occupancy-track{width:18px;flex-basis:18px}.row-cooldown{font-size:8px}.rotation-icons{width:31px;height:34px;flex-basis:31px}.rotation-icons .spell-icon{width:21px;height:21px;font-size:17px}.rotation-icons .spell-icon:nth-child(2){left:10px;top:4px}.rotation-icons .spell-icon:nth-child(3){left:0;top:12px}.rotation-icons .spell-icon:nth-child(4){left:11px;top:14px}.spell-table>.panel-heading{align-items:flex-start;gap:8px}.spell-table>.panel-heading>.notes{text-align:right;max-width:45%;line-height:1.4}.rotation-inspector .rotation-icons{width:42px;height:42px;flex-basis:42px}.rotation-inspector .rotation-icons .spell-icon{width:25px;height:25px}.rotation-inspector .rotation-icons .spell-icon:nth-child(2){left:15px;top:5px}.rotation-inspector .rotation-icons .spell-icon:nth-child(3){left:1px;top:16px}.rotation-inspector .rotation-icons .spell-icon:nth-child(4){left:16px;top:19px}}
@media(max-width:360px){.result-table th:first-child{width:50%}.result-table .spell-name{gap:5px}.row-spell-copy>strong{font-size:9px}.row-occupancy{font-size:7px;gap:3px}.occupancy-track{width:14px;flex-basis:14px}.rotation-icons{width:28px;flex-basis:28px}.row-cooldown{font-size:7px}.result-table td{padding-inline:6px}.selected-row td:first-child{padding-left:4px}}

.cooldown-extra{border-top:1px solid #4b503533;padding-top:10px;margin-top:10px}.cooldown-extra summary{color:#c2b588}

.rotation-icons-many{height:59px}.rotation-icons-many .spell-icon:nth-child(3){top:17px}.rotation-icons-many .spell-icon:nth-child(4){top:21px}.rotation-icons-many .spell-icon:nth-child(5){left:0;top:32px;z-index:2}.rotation-icons-many .spell-icon:nth-child(6){left:15px;top:35px;z-index:1}
@media(max-width:600px){.rotation-icons-many{height:46px}.rotation-icons-many .spell-icon:nth-child(3){top:13px}.rotation-icons-many .spell-icon:nth-child(4){top:16px}.rotation-icons-many .spell-icon:nth-child(5){left:0;top:25px}.rotation-icons-many .spell-icon:nth-child(6){left:10px;top:28px}.rotation-inspector .rotation-icons-many{height:59px}.rotation-inspector .rotation-icons-many .spell-icon:nth-child(3){top:17px}.rotation-inspector .rotation-icons-many .spell-icon:nth-child(4){top:21px}.rotation-inspector .rotation-icons-many .spell-icon:nth-child(5){left:0;top:32px}.rotation-inspector .rotation-icons-many .spell-icon:nth-child(6){left:15px;top:35px}}
