/* Shared pixel frames, command cursor and materials across the whole town. */
:root{--rpg-window:url('assets/rpg-window-frame-v27.svg');--rpg-command:url('assets/rpg-command-frame-v27.svg');--rpg-cursor:url('assets/rpg-cursor-v27.svg')}
.rpg-theme .content-section,.rpg-theme .quiz-window,.rpg-theme .chapter-card,.rpg-theme .battle-hud,.rpg-theme .feedback{border:8px solid transparent;border-image:var(--rpg-window) 8 stretch;border-radius:0;background-color:#07111dde;box-shadow:0 7px 0 #02090b85;backdrop-filter:none}
.rpg-theme .content-section{background-image:linear-gradient(120deg,#0a1924df,#07111de0)}
.rpg-theme .content-section:after{display:none}.rpg-theme .section-heading{margin-bottom:22px}.rpg-theme .section-heading h2{color:#fff0c7;text-shadow:2px 2px #030b13}
.rpg-theme .section-label{color:#ccb77f;letter-spacing:.09em}
.rpg-theme .social-link{border:4px solid transparent;border-image:var(--rpg-window) 8 stretch;border-radius:0;background:#081522a8}.rpg-theme .status-tag{border-radius:0;border-color:#8eac8577;background:#153a2ed9}.rpg-theme .status-tag.developing{color:#d8bd7d;background:#382e19b3}.rpg-theme .service-number{color:#d8bf82;text-shadow:2px 2px #020a13}.rpg-theme .career-table{background:#06131c66;border-color:#b1a07870}.rpg-theme .career-table th{color:#dbc896}
.rpg-theme .map-label{border:6px solid transparent;border-image:var(--rpg-window) 8 stretch;border-radius:0;background:#050c14d9;backdrop-filter:none;padding:5px 12px;line-height:1.5;box-shadow:3px 5px 0 #04101d55}
.rpg-theme .map-building{color:#cbb783}.rpg-theme .map-label:before{border-top-color:#e1d7bc;top:calc(100% + 5px)}
.rpg-theme .map-link:hover .map-label,.rpg-theme .map-link:focus-visible .map-label{background:#142936ed;color:#fff1c7}
.rpg-theme .dungeon-window{background:#07121dee;padding:0;overflow:visible}
.rpg-theme #dungeon .primary-button,.rpg-theme #dungeon .secondary-button,.rpg-theme #dungeon .text-button,.rpg-theme .world-theme-tabs button,.rpg-theme .dungeon-tabs button{position:relative;font-family:inherit;border:7px solid transparent;border-image:var(--rpg-command) 8 stretch;border-radius:0;background:linear-gradient(#1d3542,#0c1d2a);color:#f8e8bd;box-shadow:2px 4px 0 #010a12b8;min-height:48px;line-height:1.6;text-decoration:none;cursor:pointer}
.rpg-theme #dungeon .primary-button{font-size:18px;min-height:64px;padding:10px 28px 10px 44px;text-shadow:2px 2px #020b13;letter-spacing:.04em;background:linear-gradient(#263d47,#112532)}
.rpg-theme #dungeon .primary-button:before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:14px;height:18px;background:var(--rpg-cursor) center/100% 100% no-repeat;image-rendering:pixelated}
.rpg-theme #dungeon button:hover:not(:disabled),.rpg-theme #dungeon a.primary-button:hover,.rpg-theme #dungeon a.secondary-button:hover{background-color:#294754;color:#fff7d8;filter:brightness(1.12)}
.rpg-theme #dungeon button:focus-visible,.rpg-theme #dungeon a:focus-visible{outline:2px solid #fce6a8;outline-offset:4px}
.rpg-theme #dungeon button:disabled{cursor:default;opacity:.4;filter:saturate(.4)}
.lobby-main-actions .primary-button>span{display:none}.rpg-theme .dungeon-lobby{min-height:480px}.rpg-theme .lobby-copy{padding:34px 32px}.rpg-theme .lobby-copy h3{font-size:27px;color:#fff0c7;text-shadow:2px 3px #020a13}
.rpg-theme .quiz-eyebrow{color:#b7a572;font-size:11px;letter-spacing:.13em}.rpg-theme .learning-stats{gap:20px;color:#ccd0c4;border-top:1px solid #887b574d;border-bottom:1px solid #887b574d;margin:18px 0;padding:10px 0;font-size:12px}.rpg-theme .learning-stats strong{color:#ffe5a0}
.rpg-theme .due-note{color:#adbfc1;font-size:12px}.rpg-theme .learning-storage-note{color:#8fa4aa}.rpg-theme .free-adventure{border-color:#aa97614d;margin-top:18px;padding-top:8px}.rpg-theme .free-adventure summary{list-style:none;position:relative;padding:13px 0 13px 25px;color:#e5d3a1}.rpg-theme .free-adventure summary::-webkit-details-marker{display:none}.rpg-theme .free-adventure summary:before{content:"";position:absolute;left:2px;top:17px;width:10px;height:13px;background:var(--rpg-cursor) center/100% 100% no-repeat;image-rendering:pixelated}.rpg-theme .free-adventure[open] summary:before{transform:rotate(90deg)}
.rpg-theme .expedition-fields select,.rpg-theme .chapter-toolbar select{border:5px solid transparent;border-image:var(--rpg-window) 8 stretch;border-radius:0;background:#081822;color:#f1e7c9;padding:7px 9px}
.rpg-theme .dungeon-tabs{gap:10px;border:0;margin-bottom:24px;padding:0}.rpg-theme .dungeon-tabs button{font-size:15px;min-height:54px;padding:9px 20px;white-space:nowrap;color:#aebebf;border-image:var(--rpg-window) 8 stretch;background:#06121bd9}
.rpg-theme .dungeon-tabs [aria-selected="true"]{border-image:var(--rpg-command) 8 stretch;background:#193441;color:#fff1c5;padding-left:34px;box-shadow:0 4px 0 #0008}
.rpg-theme .dungeon-tabs [aria-selected="true"]:before{content:"";position:absolute;left:9px;top:50%;transform:translateY(-50%);width:11px;height:14px;background:var(--rpg-cursor) center/100% 100% no-repeat;image-rendering:pixelated}
.rpg-theme .world-theme-tabs{gap:9px;flex-wrap:wrap}.rpg-theme .world-theme-tabs button{padding:7px 19px;font-size:14px;white-space:nowrap;background:#07131ee8;color:#b9c7c4;border-image:var(--rpg-window) 8 stretch}.rpg-theme .world-theme-tabs [aria-pressed="true"]{background:#243c43;color:#ffe9ab;border-image:var(--rpg-command) 8 stretch}
.rpg-theme .world-scroll{border:7px solid transparent;border-image:var(--rpg-window) 8 stretch;background:#030b11;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bdab79 #06121a}
.rpg-theme .world-stage{min-width:600px;width:100%;height:auto;aspect-ratio:1672/941}.rpg-theme .world-stage:after{display:none}.dungeon-map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;image-rendering:pixelated}
.rpg-theme .world-node{width:24%;max-width:250px;min-height:72px;height:auto;gap:3px;padding:8px 9px;border:5px solid transparent;border-image:var(--rpg-window) 8 stretch;background:#07121cd9;box-shadow:2px 4px 0 #0009;color:#f3e2bb}
.rpg-theme .world-node[aria-current="true"]{border-image:var(--rpg-command) 8 stretch;background:#15323be8;box-shadow:0 0 0 2px #e6c57f50,3px 5px 0 #0009}.rpg-theme .world-node[aria-current="true"]:after{content:"";position:absolute;left:-24px;top:50%;transform:translateY(-50%);width:14px;height:18px;background:var(--rpg-cursor) center/100% 100% no-repeat;image-rendering:pixelated;border:0}
.rpg-theme .world-node .floor-number{font-size:11px;color:#ceb779}.rpg-theme .world-node .world-node-title{font-size:16px;color:#fff0c9;line-height:1.6;opacity:1;white-space:normal}.rpg-theme .world-node-title .map-topic-part{display:inline-block;white-space:nowrap!important}
.rpg-theme .world-node.is-confirmed:before{border-radius:0;right:-12px;top:-15px;background:#0b302c;color:#cdf7ce;border:2px solid #b6d69b}
.rpg-theme .chapter-toolbar{padding:22px 0 18px}.rpg-theme .chapter-card{background:#07121de8;padding:24px}.rpg-theme .chapter-kicker{color:#ccb882}.rpg-theme .chapter-card h3{color:#fff0c7;font-size:25px;text-shadow:2px 2px #020912}.rpg-theme .chapter-intro{font-size:14px;color:#b6c7c9}
.rpg-theme .reading-entry{border-color:#b8a77d4d}.rpg-theme .reading-entry summary{padding:18px 0;color:#ecdeb4;font-size:16px}.rpg-theme .read-badge{border:1px solid #9d8c61;background:#112733;color:#dec997;border-radius:0}.rpg-theme .reading-body{font-size:14px;line-height:2}.rpg-theme .reading-terms{background:#142b354d;border-color:#beab76;padding:10px 18px}.rpg-theme .reading-terms dt{color:#f0cf88}.rpg-theme .reading-sources{padding-top:15px;border-top:1px solid #9f916549}.rpg-theme .reading-sources a,.rpg-theme .feedback-links a{color:#bbd2d0;text-underline-offset:4px}
.rpg-theme .battle-topbar{background:#06111edb;padding:10px 18px;color:#d1bd87}.rpg-theme .battle-question{background:#0a1e2aeb;padding:22px 26px}.rpg-theme .battle-question .question-title{color:#f9ecc9;text-shadow:1px 2px #020b12}.rpg-theme .battle-hud{border-width:5px;background:#030d17dd;font-size:11px;padding:6px 10px;box-shadow:2px 3px 0 #0008}.rpg-theme .battle-hp{background:#030a12;height:5px}.rpg-theme .battle-hp i{background:linear-gradient(#c3d79e 40%,#749962 40%)}
.rpg-theme .battle-commands{background:#06131fe8;padding:20px 24px}.rpg-theme .battle-commands .answer-button{position:relative;border:6px solid transparent;border-image:var(--rpg-window) 8 stretch;border-radius:0;background:#112935e8;color:#f2e6c1;box-shadow:2px 3px 0 #01080db0;padding:12px 15px;min-height:74px;font-size:15px}.rpg-theme .battle-commands .answer-button:hover:not(:disabled){border-image:var(--rpg-command) 8 stretch;background:#243e48}.rpg-theme .battle-commands .answer-button.correct,.rpg-theme .battle-commands .answer-button.reveal-correct{background:#1b493fe8;opacity:1}.rpg-theme .battle-commands .answer-button.incorrect{background:#512e36ed;opacity:1}.rpg-theme .battle-commands .answer-button .answer-letter{border:0;background:none;color:#d6bb7a;padding:2px 0;min-width:20px}.rpg-theme .answer-confidence{padding-top:6px;color:#b9c8c3}
.rpg-theme .feedback{margin:18px 24px 0;padding:20px 24px;background:#0b2029e8}.rpg-theme .feedback h4{color:#f3db9b}.rpg-theme .feedback .takeaway{padding:0;background:none;border:0;box-shadow:none}.rpg-theme .quiz-actions{padding:18px 24px}.rpg-theme .expedition-result{padding:34px 28px}.rpg-theme .result-title{color:#f4dfad;text-shadow:2px 3px #010b13}.rpg-theme .result-score{color:#f5dda1}.rpg-theme .result-list{border-block:1px solid #b7a47470;padding-block:12px}.rpg-theme .result-list li{background:none;border-bottom:1px solid #a9966133;color:#d6ded1}.rpg-theme .result-review-note{color:#aebfbe}
.rpg-theme #dungeon .battle-topbar .text-button,.rpg-theme #dungeon .chapter-navigation .text-button{font-size:12px;padding:6px 10px;min-height:44px}
.rpg-theme #dungeon .battle-commands .answer-button:disabled{opacity:1;filter:none;color:#f2e6c1}
.rpg-theme #dungeon .primary-button{white-space:nowrap}
@media(max-width:600px){.rpg-theme .battle-topbar{display:grid;grid-template-columns:1fr auto;gap:6px 8px}.rpg-theme .battle-topbar>span{grid-column:1/-1;grid-row:1;max-width:none;width:100%;font-size:11px;line-height:1.7;text-align:center}.rpg-theme .battle-topbar>a{grid-column:1;grid-row:2;justify-self:start}.rpg-theme .battle-topbar>[data-pause]{grid-column:2;grid-row:2;justify-self:end}}
@media(max-width:600px){.rpg-theme .content-section{border-width:6px}.rpg-theme .map-label{font-size:16px;padding:4px 8px}.rpg-theme .dungeon-tabs{gap:7px;margin-bottom:18px}.rpg-theme .dungeon-tabs button{flex:1;font-size:12px;padding:8px 6px;min-height:52px;border-width:6px}.rpg-theme .dungeon-tabs [aria-selected="true"]{padding-left:22px}.rpg-theme .dungeon-tabs [aria-selected="true"]:before{left:4px;width:9px;height:12px}.rpg-theme .lobby-visual{min-height:150px}.rpg-theme .lobby-copy{padding:25px 19px}.rpg-theme .lobby-copy h3{font-size:24px}.rpg-theme .dungeon-lobby{min-height:0}.rpg-theme #dungeon .primary-button{font-size:16px;min-height:60px;padding-right:16px}.rpg-theme .world-node{min-height:70px}.rpg-theme .world-node .world-node-title{font-size:13px}.rpg-theme .world-theme-tabs button{font-size:13px;padding:6px 15px}.rpg-theme .chapter-card{padding:20px 14px}.rpg-theme .chapter-card h3{font-size:21px}.rpg-theme .reading-entry summary{font-size:15px}.rpg-theme .battle-topbar{padding:7px 8px}.rpg-theme .battle-question{padding:16px 14px}.rpg-theme .battle-question .question-title{font-size:16px}.rpg-theme .battle-commands{padding:16px 12px}.rpg-theme .battle-commands .answer-button{padding:10px;min-height:64px;font-size:14px}.rpg-theme .battle-hud{font-size:10px;padding:4px 6px}.rpg-theme .feedback{margin:15px 10px 0;padding:16px 12px}.rpg-theme .quiz-actions{padding:15px 12px}.rpg-theme .expedition-result{padding:25px 16px}}

/* Viewport-sized battle round: reading and all four answers take priority. */
body.is-battle-focused .site-header{visibility:hidden;pointer-events:none}
.rpg-theme #dungeon.is-in-battle:has(#dungeon-play:not([hidden]) .battle-round){width:calc(100vw - 16px);max-width:1200px;left:50%;transform:translateX(-50%);margin-inline:0}
.rpg-theme #dungeon.is-in-battle:has(#dungeon-play:not([hidden]) .battle-round)>.dungeon-tabs{display:none}
.rpg-theme #dungeon.is-in-battle .dungeon-window{scroll-margin-top:8px}
.rpg-theme #dungeon .battle-round{height:var(--battle-height,calc(100dvh - 16px));display:grid;grid-template-rows:auto auto minmax(96px,1fr) auto;min-width:0;box-sizing:border-box}
.rpg-theme #dungeon .battle-round .battle-topbar{display:flex;padding:3px 12px;gap:8px;min-height:48px;line-height:1.5}
.rpg-theme #dungeon .battle-round .battle-topbar>span{max-width:none;width:auto;line-height:1.5}
.rpg-theme #dungeon .battle-round .battle-question{padding:10px 20px}
.rpg-theme #dungeon .battle-round .battle-question-meta{margin-bottom:5px;font-size:11px;line-height:1.5}
.rpg-theme #dungeon .battle-round .question-title{font-size:18px;line-height:1.55;margin:0;overflow-wrap:anywhere}
.rpg-theme #dungeon .battle-round .battle-scene{height:auto;min-height:0;container-type:size}
.rpg-theme #dungeon .battle-round .battle-monster{height:min(47cqh,190px);width:min(47cqh,190px);top:3%;left:50%}
.rpg-theme #dungeon .battle-round .battle-hero{height:min(42cqh,180px);width:min(38cqh,155px);bottom:22px;left:50%}
.rpg-theme #dungeon .battle-round .battle-hud{font-size:11px;line-height:1.4;padding:5px 8px}
.rpg-theme #dungeon .battle-round .enemy-hud{top:10px;right:12px}
.rpg-theme #dungeon .battle-round .hero-hud{bottom:31px;left:12px}
.rpg-theme #dungeon .battle-round .battle-message{font-size:11px;padding:3px 10px;min-height:0;line-height:1.5}
.rpg-theme #dungeon .battle-round .battle-commands{padding:10px 16px 4px}
.rpg-theme #dungeon .battle-round .answer-list{gap:8px}
.rpg-theme #dungeon .battle-round .answer-button{font-size:15px;line-height:1.5;padding:8px 10px;min-height:50px;gap:8px;border-width:5px;min-width:0}
.rpg-theme #dungeon .battle-round .answer-button>span:last-child{min-width:0;overflow-wrap:anywhere}
.rpg-theme #dungeon .battle-round .answer-letter{width:auto;min-width:16px;height:auto;margin-top:0;font-size:12px;padding:0}
.rpg-theme #dungeon .battle-round .answer-confidence{min-height:36px;padding:0;margin:0;font-size:12px;line-height:1.4}
.rpg-theme #dungeon .battle-round.is-compact{grid-template-rows:auto auto minmax(72px,1fr) auto}
.rpg-theme #dungeon .battle-round.is-compact .battle-question{padding:7px 12px}
.rpg-theme #dungeon .battle-round.is-compact .question-title{font-size:15px;line-height:1.45}
.rpg-theme #dungeon .battle-round.is-compact .answer-button{padding:5px 7px;line-height:1.4}
.rpg-theme #dungeon .battle-round.is-tight{grid-template-rows:auto auto minmax(56px,1fr) auto}
.rpg-theme #dungeon .battle-round.is-tight .battle-question{padding:5px 10px}
.rpg-theme #dungeon .battle-round.is-tight .question-title{font-size:14px;line-height:1.4}
.rpg-theme #dungeon .battle-round.is-tight .answer-button{padding:3px 5px;border-width:4px}
.rpg-theme #dungeon .battle-round.is-tight .battle-hud{font-size:9px;padding:2px 4px;min-width:70px}
.rpg-theme #dungeon .battle-round.is-tight .battle-hp{min-width:50px;margin-top:2px}
@media(max-width:600px){
 .rpg-theme #dungeon .battle-round{grid-template-rows:auto auto minmax(88px,1fr) auto}
 .rpg-theme #dungeon .battle-round .battle-topbar{min-height:44px;padding:0 6px}
 .rpg-theme #dungeon .battle-round .battle-topbar>span{display:none}
 .rpg-theme #dungeon .battle-round .battle-topbar>a,.rpg-theme #dungeon .battle-round .battle-topbar>[data-pause]{font-size:12px;padding:5px 6px}
 .rpg-theme #dungeon .battle-round .battle-question{padding:8px 10px}
 .rpg-theme #dungeon .battle-round .question-title{font-size:15px;line-height:1.5}
 .rpg-theme #dungeon .battle-round .battle-commands{padding:6px 6px 0}
 .rpg-theme #dungeon .battle-round .answer-list{gap:5px}
 .rpg-theme #dungeon .battle-round .answer-button{font-size:14px;line-height:1.45;min-height:44px;padding:5px 6px;border-width:4px;gap:5px}
 .rpg-theme #dungeon .battle-round .answer-letter{min-width:12px;font-size:11px}
 .rpg-theme #dungeon .battle-round .answer-confidence{font-size:11px;min-height:32px}
 .rpg-theme #dungeon .battle-round .battle-message{display:none}
 .rpg-theme #dungeon .battle-round .battle-hero{bottom:5px}
 .rpg-theme #dungeon .battle-round .hero-hud{bottom:7px;left:5px}
 .rpg-theme #dungeon .battle-round .enemy-hud{top:5px;right:5px}
 .rpg-theme #dungeon .battle-round .battle-hud{font-size:9px;min-width:70px;padding:3px 5px;max-width:32%}
 .rpg-theme #dungeon .battle-round .battle-hp{min-width:58px;margin-top:3px}
 .rpg-theme #dungeon .battle-round.is-compact{grid-template-rows:auto auto minmax(64px,1fr) auto}
 .rpg-theme #dungeon .battle-round.is-tight{grid-template-rows:auto auto minmax(48px,1fr) auto}
 .rpg-theme #dungeon .battle-round.is-tight .battle-question{padding:4px 8px}
 .rpg-theme #dungeon .battle-round.is-tight .question-title{font-size:14px;line-height:1.4}
 .rpg-theme #dungeon .battle-round.is-tight .answer-button{padding:3px 4px;gap:4px;line-height:1.35}
}

/* A room selection is not the player's ordered-learning checkpoint. */
.rpg-theme .world-node.has-player{transform:translate(-50%,calc(-50% - 35px));z-index:3}
.map-player{position:absolute;display:block;left:calc(30% + var(--journey-step,0)*40%);top:100%;width:32px;height:36px;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 2px 0 #010710);transition:left .3s steps(6,end)}
.map-player:after{content:"";position:absolute;left:6px;right:6px;bottom:-1px;height:3px;background:#040c16a8;z-index:-1}
.map-player-sprite{width:100%;height:100%;image-rendering:pixelated}
@media(prefers-reduced-motion:reduce){.map-player{transition:none}}

@media(max-width:700px){.rpg-theme .world-theme-tabs button{padding:6px 8px}}

/* Shared AI news hub and Worker-rendered pages. */
.rpg-theme:not(.editorial-page) .main-nav a{display:inline-flex;align-items:center;min-height:44px}
@font-face{font-family:"DotGothic16";src:url("/assets/fonts/DotGothic16-Regular.ttf") format("truetype");font-display:swap;font-style:normal;font-weight:400}
.rpg-theme:not(.editorial-page) .levelup-hub,.rpg-theme:not(.editorial-page) .levelup-hub *{font-family:"DotGothic16","Yu Gothic",Meiryo,sans-serif!important;font-weight:400!important}
.levelup-hub{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:30px}
.hub-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;min-height:104px;padding:22px 24px;border:1px solid var(--line);background:var(--paper);color:var(--ink);text-decoration:none;box-shadow:inset 0 0 0 3px #142c43}
.hub-entry>span:first-child{min-width:0}.hub-entry>span:last-child{flex-shrink:0;color:var(--gold);font-size:24px}
.hub-entry:hover{background:#203a50;border-color:var(--gold)}.hub-entry-featured{border-color:var(--gold)}
.hub-kicker{display:block;margin:0 0 8px;color:var(--gold);font-size:12px;letter-spacing:.07em;line-height:1.7}
.hub-entry-title{display:block;font-size:18px;line-height:1.85;overflow-wrap:anywhere}
.levelup-hub .hub-entry{padding:24px 28px;border-color:var(--gold)}
.hub-entry-lead{display:block;margin-top:12px;color:var(--ink);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.hub-entry-nowrap{display:inline-block;white-space:nowrap}
.rpg-theme .hub-entry:focus-visible,.rpg-theme .hub-inline-link:focus-visible,.rpg-theme .ranking-tabs a:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.hub-page{min-height:100svh;display:flex;flex-direction:column}
.hub-page .site-header{position:relative;flex-shrink:0}.hub-page .brand{min-height:44px;display:inline-flex;align-items:center}
.hub-page .main-nav a{min-height:44px;display:inline-flex;align-items:center}.hub-page .main-nav a[aria-current="page"]{color:var(--gold);border-bottom-color:var(--gold)}
.hub-main{width:min(100%,1200px);margin:0 auto;padding:32px 36px 64px;flex:1;min-width:0}
.hub-main .hub-panel{margin-top:20px;min-width:0}.hub-panel h1{font-size:clamp(25px,3vw,36px);line-height:1.65;letter-spacing:.02em;margin:0;color:var(--ink);overflow-wrap:anywhere}
.hub-description{margin:18px 0 28px;color:var(--muted);line-height:1.95}
.hub-back,.hub-inline-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--gold);line-height:1.8;text-underline-offset:5px;overflow-wrap:anywhere}
.hub-back{padding:6px 14px;border:1px solid var(--line);background:#07111de8;text-decoration:none}
.hub-back:hover{background:#203a50;border-color:var(--gold)}
.rpg-theme .hub-back:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.hub-empty{padding:24px;border:1px solid var(--line);background:var(--paper);min-width:0;margin-bottom:24px}
.hub-empty h2{font-size:20px;line-height:1.85;margin:0 0 14px;color:var(--ink);overflow-wrap:anywhere}.hub-empty p{color:var(--muted);margin:0;line-height:2;overflow-wrap:anywhere}
.hub-empty .hub-inline-link{margin-top:16px}.hub-actions{display:flex;flex-wrap:wrap;gap:12px 28px}
.news-shell-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px}.news-shell-grid .hub-empty{margin-bottom:24px}
.news-shell-lead h2{font-size:24px}.ranking-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}
.ranking-tabs a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 20px;border:1px solid var(--line);background:var(--paper);color:var(--ink);text-decoration:none}
.ranking-tabs a[aria-current="page"]{color:var(--gold);border-color:var(--gold);background:var(--navy)}
.hub-page .site-footer{flex-shrink:0}.hub-skip-link{position:fixed;left:12px;top:12px;z-index:100;padding:10px 18px;min-height:44px;background:var(--paper);color:var(--gold);transform:translateY(-200%)}.hub-skip-link:focus{transform:translateY(0)}
@media(max-width:700px){.levelup-hub,.news-shell-grid{grid-template-columns:minmax(0,1fr)}.hub-entry{min-height:88px;padding:18px}.hub-main{padding:20px 15px 40px}.hub-main .hub-panel{padding:26px 22px}.hub-empty{padding:20px}.hub-entry-title{font-size:17px}.hub-page .main-nav{flex-wrap:wrap}.hub-page .site-header{height:auto;min-height:0;flex-wrap:wrap;gap:8px;padding-block:12px}.hub-page .main-nav{width:100%;justify-content:space-between;gap:4px 12px}.hub-page .main-nav a{font-size:13px;padding:6px 0}.levelup-hub{gap:14px}.news-shell-grid{gap:0}}
