.mythic-page { min-width:0; }
.mythic-tabs { margin-bottom:22px; }
.mythic-tabs .armory-tab { min-height:54px; }
.mythic-panel { min-width:0; }
.mythic-panel[hidden] { display:none; }
.mythic-section { padding:22px;margin:0 0 22px; }
.mythic-section h2:first-child { margin-top:0; }
.mythic-section p:last-child { margin-bottom:0; }
.mythic-facts { grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px; }
.mythic-facts>div { display:flex;flex-direction:column;gap:8px; }
.mythic-facts span,.mythic-rank { color:#99b6c8;font-size:14px; }
.mythic-notice { padding:18px 22px;border-left:3px solid var(--cyan);margin:22px 0; }
.mythic-notice p:last-child { margin-bottom:0; }
.mythic-character { max-width:360px;margin-bottom:14px; }
.mythic-powers { width:100%;box-sizing:border-box;margin-bottom:22px; }
.mythic-powers .reference-list-scroll { width:100%;box-sizing:border-box;scrollbar-gutter:auto; }
.mythic-powers .reference-list { width:100%; }
.mythic-powers .reference-inline .class-prose { max-width:none; }
.mythic-table { overflow-x:auto;margin-block:18px; }
.mythic-powers .reference-list thead th,
.mythic-table thead th { background:#10283e;color:#dff6ff;border-bottom:1px solid #38708b;text-align:left; }
/* Each power row is followed by its hidden detail row. */
.mythic-powers .reference-list tbody>tr:nth-child(4n+3),
.mythic-table tbody>tr:nth-child(even):not(.mythic-current-rank) { background:rgba(66,135,173,.07); }
.mythic-powers .reference-list tbody>tr:not(.reference-inline):hover { background:#153144; }
.mythic-section>summary { cursor:pointer;min-height:44px;color:var(--cyan); }
.mythic-section>summary:focus-visible { outline:2px solid var(--cyan);outline-offset:3px; }
.mythic-panel .class-prose { font-size:16px;line-height:1.75; }
.mythic-panel .class-prose h2 { font-size:23px; }
.mythic-columns { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px; }
.mythic-columns .mythic-section { min-width:0; }
.mythic-section li { margin-bottom:10px; }
.mythic-shortcuts { display:flex;flex-wrap:wrap;gap:12px; }
.mythic-shortcuts .button { min-height:44px;white-space:normal; }
.mythic-reading { border-top:1px solid var(--line); }
.mythic-reading>summary { position:relative;cursor:pointer;list-style:none;min-height:48px;padding:14px 32px 14px 0;box-sizing:border-box;color:#bfe9f5;font-weight:600;line-height:1.5; }
.mythic-reading>summary::-webkit-details-marker { display:none; }
.mythic-reading>summary::after { content:'+';position:absolute;right:4px;top:12px;font-size:22px;color:var(--cyan); }
.mythic-reading[open]>summary::after { content:'−'; }
.mythic-reading>summary:focus-visible { outline:2px solid var(--cyan);outline-offset:2px; }
.mythic-reading>div { padding:10px 0 20px; }
.mythic-power-toolbar { display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);align-items:center;gap:24px; }
.mythic-power-toolbar .mythic-character { margin:0; }
.mythic-power-toolbar .mythic-rank { margin:8px 0 0; }
.mythic-panel .mythic-current-rank { background:#57ddff18;box-shadow:inset 3px 0 var(--cyan); }
@media(max-width:700px) {
  .mythic-columns,.mythic-power-toolbar { grid-template-columns:1fr;gap:0; }
  .mythic-power-toolbar { gap:16px; }
  .mythic-section,.mythic-notice { padding:18px; }
  .mythic-facts { grid-template-columns:1fr; }
  .mythic-tabs .armory-tab { min-height:48px;font-size:12px; }
}
