.manual-ui-host { position: absolute; inset: 0; pointer-events: none; }
.stage[data-screen="manual"] > .top-runtime, .stage[data-screen="manual"] > .gear-button { display: none; }
.stage[data-screen="manual"] ~ .status-rail .toast { display: none; }
.manual-shell { position: absolute; inset: 13% 2.8% 2.5%; display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-size: clamp(12px, 1.12vw, 17px); pointer-events: auto; min-width: 0; min-height: 0; }
.stage[data-screen="manual"] .manual-shell { top: 2%; }
.manual-shell *, .manual-shell *::before, .manual-shell *::after { box-sizing: border-box; }
.manual-shell h2, .manual-shell h3, .manual-shell p, .manual-shell ul, .manual-shell ol { margin: 0; }
.manual-shell h2 { font-size: clamp(23px, 2.8vw, 42px); line-height: 1.08; font-weight: 950; }
.manual-shell h3 { font-size: 1.05em; line-height: 1.15; }
.manual-shell small { font-size: max(11px, .83333em); }
.manual-kicker { font-weight: 850; letter-spacing: .05em; margin-bottom: 5px !important; }
.manual-header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); border: 2px solid var(--ink); padding: 8px 14px; box-shadow: 3px 3px 0 var(--shadow); }
.manual-header-title { flex: 0 0 auto; }
.manual-header > .manual-roadmap { flex: 0 0 auto; }
.manual-energy { position: relative; display: grid; flex: 1 1 260px; min-width: 130px; max-width: 380px; gap: 4px; margin-inline: auto; pointer-events: none; }
.manual-energy-heading, .manual-energy-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; line-height: 1.2; }
.manual-energy-heading { font-size: 13px; font-weight: 850; }
.manual-energy-heading > b::before { content: "◆"; color: #b7811c; margin-right: 5px; }
.manual-energy-heading > span { font-size: 12px; font-variant-numeric: tabular-nums; }
.manual-energy-number { font-size: 16px; color: #126e73; font-weight: 950; }
.manual-energy-caption > small { font-size: 11px; color: #715a2f; }
.manual-energy-track { position: relative; height: 20px; overflow: hidden; border: 2px solid #133f4b; border-radius: 4px; background: #123e49; box-shadow: 0 0 0 2px #ccaa57, inset 0 2px 5px #061f2b; }
.manual-energy-liquid { position: absolute; inset: 0; transform-origin: left center; background: linear-gradient(90deg, #268b8a, #4fe2d3 72%, #fff1a3); box-shadow: inset 0 2px 0 #dafff8b3, inset 0 -3px 0 #16646888; transition: transform 340ms cubic-bezier(.18,.7,.25,1); }
.manual-energy-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), #fff3d33d calc(10% - 1px), #fff3d33d 10%); }
.manual-energy-front { position: absolute; top: 0; bottom: 0; width: 3px; transform: translateX(-100%); background: #fff9d1; box-shadow: 0 0 7px 3px #a5fff4; transition: left 340ms cubic-bezier(.18,.7,.25,1); }
.manual-energy-inlet { position: absolute; width: 13px; height: 13px; left: 1px; top: 50%; transform: translateY(-50%) rotate(45deg); border: 1px solid #ead394; background: #3b8586; box-shadow: 0 0 4px #c8fff6; }
.manual-energy-sweep { position: absolute; inset: -15px 0; opacity: 0; background: linear-gradient(105deg, transparent 35%, #fffbe8bd 49%, transparent 62%); transform: translateX(-100%); }
.manual-energy-gain, .manual-energy-burst { position: absolute; z-index: 2; left: 50%; top: 50%; padding: 3px 9px; border: 1px solid #e7c46a; border-radius: 4px; background: #103d4cf2; color: #fff3b7; font-size: 14px; font-weight: 950; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%); text-shadow: 0 1px 0 #0d3b4a; }
.manual-energy.is-gaining .manual-energy-gain { animation: manual-energy-gain 340ms ease-out both; }
.manual-energy.is-gaining .manual-energy-inlet { animation: manual-energy-impact 340ms ease-out both; }
.manual-energy.is-gaining .manual-energy-sweep { animation: manual-energy-sweep 340ms ease-out both; }
.manual-energy.is-pulsing .manual-energy-track { animation: manual-energy-pulse 220ms ease-out both; }
.manual-energy.is-resonating .manual-energy-track { animation: manual-energy-resonance 560ms ease-out both; }
.manual-energy.is-resonating .manual-energy-burst { animation: manual-energy-burst 560ms ease-out both; }
.manual-energy-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 8; }
.manual-energy-streams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.manual-energy-trail { fill: none; stroke: #92fff0; stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px #ffe196); }
.manual-energy-dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #fff9d1; border: 2px solid #6eeed7; border-radius: 50%; box-shadow: 0 0 6px 3px #58e6d9cc, 0 0 13px 5px #f9d26780; pointer-events: none; }
.manual-energy-dot::after { content: ""; position: absolute; inset: 2px; background: white; border-radius: 50%; }
.manual-energy-source-ring { position: absolute; width: 40px; height: 40px; border: 3px solid #fff1a3; border-radius: 50%; box-shadow: 0 0 9px 3px #63f6d9, inset 0 0 9px #63f6d9; }
@keyframes manual-energy-gain { 0% { opacity: 0; transform: translate(-50%, -20%); } 20%, 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -85%); } }
@keyframes manual-energy-impact { 0%, 100% { background: #3b8586; } 30% { background: #fffbe8; box-shadow: 0 0 12px 6px #baffed; } }
@keyframes manual-energy-sweep { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 0; transform: translateX(100%); } }
@keyframes manual-energy-pulse { 0%, 100% { box-shadow: 0 0 0 2px #ccaa57; } 40% { box-shadow: 0 0 0 3px #ffe395, 0 0 15px 3px #4fe2d3; } }
@keyframes manual-energy-resonance { 0%, 100% { box-shadow: 0 0 0 2px #ccaa57; } 20%, 60% { box-shadow: 0 0 0 3px #fff4ac, 0 0 19px 5px #f2b632bb; } }
@keyframes manual-energy-burst { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.9); } 18%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -75%); } }
.manual-roadmap { list-style: none; display: flex; align-items: stretch; justify-content: center; gap: 14px; padding: 0; min-width: 0; }
.manual-roadmap li { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center; padding: 7px 10px; background: #e9dfbe; border: 2px solid var(--ink); position: relative; min-width: 0; }
.manual-roadmap li:not(:last-child)::after { content: "›"; position: absolute; right: -14px; font-size: 24px; font-weight: 900; }
.manual-roadmap li > span { grid-row: span 2; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font-weight: 900; }
.manual-roadmap li small { font-size: max(11px, .75em); }
.manual-roadmap li.current { background: #ffe09a; border-color: #b27319; }
.manual-roadmap li.complete { background: #d5e4b9; }
.manual-paper { background: var(--paper) var(--ui-panel-readable) center / 140% 174% no-repeat; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--shadow); border-radius: 10px; padding: 20px 24px; }
.manual-button { min-height: 39px; padding: 7px 13px; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 2px 3px 0 var(--shadow); background: var(--paper) var(--ui-button-primary) center / 126.22% 125% no-repeat; color: var(--ink); font: inherit; font-weight: 900; cursor: pointer; line-height: 1.15; }
.manual-button.primary { background-color: var(--yellow); }
.manual-button.info { background-image: var(--ui-button-info); background-size: 129.57% 126.98%; background-color: var(--teal); color: var(--paper); }
.manual-button.success { background-image: var(--ui-button-success); background-size: 122.26% 128%; background-color: #c9db9d; }
.manual-button.danger { background-image: var(--ui-button-danger); background-size: 127.04% 128%; background-color: var(--coral); color: #fff8e2; }
.manual-button:disabled, .manual-perk-card:disabled { opacity: .52; cursor: default; filter: grayscale(.55); }
.manual-shell button:not(:disabled):hover { filter: brightness(1.08); }
.manual-shell button:focus-visible, .manual-bubble-canvas:focus-visible { outline: 3px solid #f2b632; outline-offset: 2px; }
.manual-shell button { -webkit-tap-highlight-color: transparent; }
.manual-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 9px; color: var(--paper); background: #103d4ceb; border: 2px solid #e1cd94; flex: 0 0 auto; }
.manual-footer > span { font-size: max(11px, .82em); text-align: center; }
.manual-footer-notice { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.manual-footer-notice.is-notice { color: #ffe09b; font-weight: 900; }
.manual-footer .manual-button { min-height: 34px; padding: 5px 12px; white-space: nowrap; }
.manual-play-layout { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); gap: 16px; }
.manual-playarea { min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 5px 10px; background: #0d3b4aeb; border: 4px solid #e2d19f; outline: 2px solid var(--ink); position: relative; }
.manual-board-instruction { width: 100%; color: var(--paper); text-align: center; font-size: max(11px, .86em); line-height: 1.32; flex: 0 0 auto; max-width: 700px; }
.manual-control-guide { display: block; line-height: 1.4; }
.manual-sidebar { position: relative; overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.manual-accessible-label { position: absolute; width: 1px; height: 1px; padding: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.manual-essential-controls { display: flex; flex-direction: column; flex: 0 0 auto; gap: 7px; }
.manual-details { flex: 1 1 auto; min-height: 30px; display: flex; flex-direction: column; overflow: auto; scrollbar-width: thin; overscroll-behavior: contain; border-top: 1px solid #b7a472; }
.manual-details > summary { padding: 7px 2px; cursor: pointer; font-weight: 900; min-height: 30px; position: sticky; top: 0; z-index: 1; background: #f3e5bd; }
.manual-details > summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.manual-detail-body { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.manual-details:not([open]) > .manual-detail-body { display: none; }
.manual-detail-body h3 { margin-bottom: 5px; }
.manual-rules .manual-hint-note { margin-top: 6px; }
.manual-objective { border-bottom: 2px solid #b9a66a; padding-bottom: 10px; }
.manual-objective h3 { background: var(--ink); color: var(--paper); padding: 6px 9px; margin-bottom: 7px; }
.manual-objective { flex: 0 0 auto; }
.manual-objective-line { display: flex; justify-content: space-between; gap: 12px; }
.manual-objective-line > p { display: flex; flex-direction: column; gap: 3px; font-weight: 900; }
.manual-objective strong { color: #b53e2c; font-size: 1.8em; white-space: nowrap; }
.manual-objective label { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-weight: 900; }
.manual-objective label b { font-size: 2.1em; color: var(--ink); }
.manual-objective progress { display: block; width: 100%; height: 13px; accent-color: #c4921d; }
.manual-grid-frame { aspect-ratio: 1; height: 100%; max-width: 100%; min-height: 0; flex: 0 1 auto; position: relative; padding: 8px; border: 5px solid #bdbb8a; background: #103d4c; box-shadow: inset 0 0 0 2px #fff3d3, 4px 4px 0 #071f2b; }
.manual-grid-frame.is-link { padding: 0; }
.manual-grid-frame.is-link > .manual-grid { position: absolute; inset: 7.15%; width: auto; height: auto; }
.manual-grid { display: grid; grid-template: repeat(6, minmax(0, 1fr)) / repeat(6, minmax(0, 1fr)); height: 100%; width: 100%; gap: 3px; touch-action: none; user-select: none; -webkit-user-select: none; }
.manual-tile { min-width: 0; min-height: 0; position: relative; display: grid; place-items: center; padding: 6%; background: var(--paper) var(--ui-slot) center / 100% 100% no-repeat; color: var(--ink); border: 2px solid #658676; border-radius: 7%; touch-action: none; cursor: pointer; }
.manual-tile-icon { width: 92%; height: 92%; object-fit: contain; pointer-events: none; user-select: none; }
.manual-tile.is-selected { border-color: #ffe3a3; outline: 3px solid #f2b632; z-index: 2; background-image: var(--ui-slot-selected); }
.manual-tile.is-hint { box-shadow: inset 0 0 0 3px #f2b632; }
.manual-tile.is-empty { background: #18515b; border: 1px dashed #6b958b; box-shadow: none; opacity: .62; }
.manual-tile:disabled:not(.is-empty) { cursor: wait; }
.manual-grid-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.manual-link-line { fill: none; stroke: #f2b632; stroke-width: 4px; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 1px #fff3d3); }
.manual-tile.is-clearing > * { animation: manual-tile-clear .38s ease-in both; }
.manual-compass { display: inline-grid; position: relative; place-items: center; border-radius: 50%; background: #123e49; color: #fff3d3; border: 2px solid #cdbd88; line-height: 1; overflow: hidden; }
.manual-compass::before { content: ""; position: absolute; width: 42%; height: 70%; background: linear-gradient(#e9654c 50%, #fff3d3 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: rotate(30deg); }
.manual-compass i { position: absolute; width: 12%; height: 12%; border-radius: 50%; background: #f2b632; }
.manual-bubble-frame { flex: 1 1 0; min-height: 0; aspect-ratio: 2 / 3; max-width: 100%; display: flex; justify-content: center; }
.manual-bubble-canvas { display: block; height: 100%; width: auto; max-width: 100%; aspect-ratio: 2 / 3; border: 2px solid #f1dca7; touch-action: none; cursor: crosshair; }
.manual-ammo { display: flex; gap: 12px; justify-content: space-around; }
.manual-ammo > span { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px; font-size: max(11px, .84em); }
.manual-ammo > span:first-child { padding: 2px 4px; border: 1px solid #b48b27; background: #f5dfa1; border-radius: 4px; }
.manual-ammo .manual-tile-icon { width: 38px; height: 38px; grid-row: span 2; }
.manual-ammo b { grid-column: 1 / -1; text-align: center; }
.manual-aim-controls { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 4px; }
.manual-aim-controls .manual-button { padding-inline: 3px; font-size: max(11px, .8em); }
.manual-operation-row { display: flex; flex-wrap: wrap; gap: 6px; }
.manual-operation-row .manual-button { flex: 1; }
.manual-hint-note { font-size: max(11px, .77em); line-height: 1.35; }
.manual-message { min-height: 1.4em; padding: 5px 7px; border-left: 4px solid var(--yellow); background: #e9dfbd; font-size: max(11px, .88em); line-height: 1.35; }
.manual-perks h3 { margin-bottom: 6px; }
.manual-perks > p { font-size: max(11px, .82em); line-height: 1.4; }
.manual-perks ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.manual-perks li { display: flex; align-items: center; gap: 7px; }
.manual-symbol { width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; }
.manual-perks li span { display: flex; flex-direction: column; gap: 3px; }
.manual-perks li small { font-size: max(11px, .77em); line-height: 1.3; }
.manual-station-reward { border-top: 1px solid #a7a078; padding-top: 8px; }
.manual-station-reward > b { display: block; margin-top: 5px; }
.manual-rewards { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 5px !important; }
.manual-rewards li { display: flex; align-items: center; gap: 4px; font-size: max(11px, .88em); }
.manual-reward-icon { width: 30px; height: 30px; object-fit: contain; }
.manual-pending { margin-top: 9px; border-top: 2px dashed #a19664; padding-top: 9px; }
.manual-pending > p { font-size: max(11px, .8em); margin-top: 5px; }
.manual-pending-claim { margin-top: 7px; padding: 6px; background: #e8d9ae; }
.manual-pending-claim > b { font-size: max(11px, .85em); }
.manual-pending-claim > button { margin-top: 5px; width: 100%; }
.manual-map { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 30%); gap: 18px; }
.manual-map-main { display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: center; padding: 14px; background: #fff3d3e8; border: 3px solid var(--ink); }
.manual-map-main > p { text-align: center; max-width: 680px; line-height: 1.4; }
.manual-map-main h2 { font-size: clamp(32px, 5vw, 70px); }
.manual-map-main .manual-roadmap { width: 95%; }
.manual-map-art { flex: 1; min-height: 50px; width: 90%; max-height: 200px; display: flex; align-items: center; justify-content: space-evenly; border-bottom: 5px dashed var(--teal); }
.manual-map-art > img { height: 95%; max-width: 27%; object-fit: contain; }
.manual-map-art > .manual-tile-icon { height: 50%; width: 15%; }
.manual-map-actions { display: flex; gap: 12px; }
.manual-map-info { overflow: auto; display: flex; flex-direction: column; gap: 11px; line-height: 1.5; }
.manual-map-info > button { margin-top: auto; }
.manual-summary { flex: 1; min-height: 0; align-self: center; width: 90%; overflow: hidden; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.manual-summary-content { display: flex; flex: 1 1 auto; flex-direction: column; gap: 14px; align-items: center; min-height: 0; overflow: auto; width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
.manual-summary-actions { flex: 0 0 auto; width: 100%; padding-top: 6px; border-top: 1px solid #b7a472; }
.manual-summary .manual-roadmap { width: 100%; }
.manual-earned { padding: 14px; background: #e7d8a9; border: 2px solid var(--ink); }
.manual-large-note { font-size: 1.15em; }
.manual-choice-heading, .manual-result-heading { padding: 8px 18px; background: #fff3d3f0; border: 2px solid var(--ink); text-align: center; }
.manual-choice-heading p:last-child, .manual-result-heading p:last-child { margin-top: 5px; }
.manual-choice-cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.manual-perk-card { min-width: 0; min-height: 0; display: flex; align-items: center; flex-direction: column; gap: 14px; text-align: center; color: var(--ink); cursor: pointer; font: inherit; }
.manual-perk-art { flex: 1; min-height: 36px; width: 60%; max-height: 190px; object-fit: contain; }
.manual-perk-card h3 { font-size: 1.6em; }
.manual-perk-card p { font-size: 1.12em; font-weight: 900; }
.manual-perk-card small { line-height: 1.4; }
.manual-card-choose { margin-top: auto; padding: 10px; width: 100%; font-weight: 950; background: var(--yellow) var(--ui-button-primary) center / 126.22% 125%; border: 2px solid var(--ink); }
.manual-choice-owned { max-height: 16%; overflow: auto; padding: 6px 12px; background: #fff3d3ea; }
.manual-choice-owned .manual-perks { display: flex; gap: 12px; align-items: center; }
.manual-choice-owned .manual-perks > ul { display: flex; }
.manual-choice-owned .manual-perks small { display: none; }
.manual-result-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 43% 1fr; gap: 18px; }
.manual-result-stations, .manual-result-rewards { overflow: auto; display: flex; flex-direction: column; gap: 11px; }
.manual-result-rewards { overflow: hidden; }
.manual-result-body { display: flex; flex-direction: column; gap: 11px; flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: thin; padding-bottom: 3px; }
.manual-result-stations > ol { list-style: none; padding: 0; }
.manual-result-stations > ol li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #aaa270; }
.manual-result-stations .manual-tile-icon { width: 42px; height: 42px; }
.manual-result-stations > ol li > span { margin-left: auto; font-weight: 900; }
.manual-research-total { font-size: 1.25em; }
.manual-research-total b { font-size: 1.8em; color: #af4a20; }
.manual-result-body > .manual-rewards { background: #e7d7ae; padding: 8px; }
.manual-claim-state { line-height: 1.4; border-top: 1px solid #a79761; padding-top: 7px; }
.manual-claim-state > p { margin-top: 4px; }
.manual-result-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; padding-top: 6px; border-top: 1px solid #b7a472; }
.manual-result-actions > button { flex: 1; }
@keyframes manual-tile-clear { 0%, 45% { opacity: 1; transform: scale(1); } 100% { opacity: .15; transform: scale(.45); } }
@media (orientation: landscape) and (max-height: 560px) {
  .manual-shell { inset: 12% 1.5% .8%; font-size: 11px; gap: 3px; }
  .manual-header { padding: 2px 7px; gap: 8px; border-width: 1px; }
  .manual-energy { flex-basis: 180px; min-width: 120px; max-width: 290px; gap: 3px; }
  .manual-energy-heading { font-size: 11px; }
  .manual-energy-heading > span { font-size: 11px; }
  .manual-energy-number { font-size: 13px; }
  .manual-energy-track { height: 14px; }
  .manual-energy-inlet { width: 9px; height: 9px; }
  .manual-energy-caption > small { font-size: 11px; }
  .manual-energy-gain, .manual-energy-burst { font-size: 12px; }
  .manual-header .manual-kicker { display: none; }
  .manual-shell h2 { font-size: 21px; }
  .manual-kicker { margin-bottom: 2px !important; }
  .manual-roadmap { gap: 10px; }
  .manual-roadmap li { padding: 3px 6px; gap: 3px; border-width: 1px; }
  .manual-roadmap li > span { width: 17px; height: 17px; }
  .manual-roadmap li small { font-size: 11px; }
  .manual-roadmap li:not(:last-child)::after { right: -10px; font-size: 19px; }
  .manual-play-layout { gap: 7px; grid-template-columns: minmax(0, 1fr) minmax(225px, 35%); }
  .manual-playarea { padding: 2px 4px; gap: 2px; border-width: 2px; }
  .manual-board-instruction { display: none; }
  .manual-control-guide { font-size: 11px; line-height: 1.35; }
  .manual-grid-frame { height: 100%; padding: 3px; border-width: 2px; }
  .manual-link-line { stroke-width: 3px; }
  .manual-grid { gap: 2px; }
  .manual-tile { border-width: 1px; }
  .manual-tile.is-selected { outline-width: 2px; }
  .manual-paper { padding: 7px 9px; border-width: 2px; border-radius: 5px; }
  .manual-sidebar { gap: 4px; padding: 6px 8px; }
  .manual-objective { padding-bottom: 3px; border-bottom-width: 1px; }
  .manual-objective-line { gap: 5px; }
  .manual-objective-line > p { flex-direction: row; align-items: center; gap: 6px; font-size: 11px; }
  .manual-objective label { flex-direction: row; align-items: center; gap: 5px; font-size: 11px; }
  .manual-objective h3 { padding: 3px 5px; margin-bottom: 3px; }
  .manual-objective strong { font-size: 19px; }
  .manual-objective label b { font-size: 21px; }
  .manual-objective progress { height: 6px; }
  .manual-button { min-height: 32px; padding: 5px 6px; white-space: nowrap; }
  .manual-essential-controls { gap: 4px; }
  .manual-essential-controls .manual-button, .manual-summary-actions .manual-button, .manual-result-actions .manual-button, .manual-map-actions .manual-button { min-height: 36px; }
  .manual-operation-row { flex-wrap: nowrap; gap: 5px; }
  .manual-operation-row .manual-button { min-width: 0; font-size: 11px; }
  .manual-details { flex: 0 0 auto; min-height: 27px; margin-top: auto; }
  .manual-details > summary { padding: 6px 2px; min-height: 27px; font-size: 11px; }
  .manual-details[open] { position: absolute; z-index: 5; top: var(--manual-objective-bottom, 48px); bottom: 5px; left: 5px; right: 5px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper) var(--ui-panel-readable) center / 140% 174%; padding: 0 7px; }
  .manual-detail-body { gap: 10px; padding-bottom: 9px; }
  .manual-hint-note { font-size: 11px; }
  .manual-perks > p, .manual-perks li small, .manual-rewards li { font-size: 11px; line-height: 1.35; }
  .manual-message { padding: 3px 5px; font-size: 11px; line-height: 1.25; min-height: 20px; flex: 0 0 auto; }
  .manual-footer { padding: 1px 5px; gap: 4px; border-width: 1px; }
  .manual-footer .manual-button { min-height: 32px; padding: 3px 8px; }
  .manual-footer > span { font-size: 11px; }
  .manual-ammo { gap: 6px; align-items: center; }
  .manual-ammo > span { display: flex; flex-wrap: nowrap; gap: 3px; font-size: 11px; }
  .manual-ammo b { font-size: 11px; }
  .manual-ammo .manual-tile-icon { width: 24px; height: 24px; }
  .manual-ammo > span:first-child .manual-tile-icon { width: 28px; height: 28px; }
  .manual-aim-controls .manual-button { font-size: 11px; }
  .manual-symbol { width: 23px; height: 23px; }
  .manual-reward-icon { width: 22px; height: 22px; }
  .manual-map { gap: 9px; grid-template-columns: minmax(0, 1fr) minmax(235px, 34%); }
  .manual-map-main { gap: 6px; padding: 7px; }
  .manual-map-main h2 { font-size: 32px; }
  .manual-map-art { max-height: 75px; }
  .manual-map-info { gap: 7px; }
  .manual-choice-heading, .manual-result-heading { padding: 4px 9px; }
  .manual-choice-cards { gap: 10px; }
  .manual-perk-card { gap: 6px; padding: 9px; }
  .manual-perk-card h3 { font-size: 17px; }
  .manual-perk-card p { font-size: 12px; }
  .manual-perk-card small { font-size: 11px; }
  .manual-perk-art { max-height: 68px; }
  .manual-card-choose { padding: 6px 3px; }
  .manual-choice-owned { max-height: 13%; padding: 3px 9px; }
  .manual-result-layout { gap: 9px; }
  .manual-result-stations, .manual-result-rewards { gap: 5px; }
  .manual-result-body { gap: 6px; }
  .manual-result-actions { flex-wrap: nowrap; gap: 4px; padding-top: 4px; }
  .manual-result-actions .manual-button { min-width: 0; font-size: 11px; }
  .manual-result-stations > ol li { padding: 5px 0; gap: 5px; }
  .manual-result-stations .manual-tile-icon { width: 27px; height: 27px; }
  .manual-research-total { font-size: 12px; }
  .manual-research-total b { font-size: 22px; }
  .manual-summary { gap: 5px; }
  .manual-summary-content { gap: 6px; }
  .manual-summary-actions { padding-top: 4px; }
  .manual-earned { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { .manual-shell *, .manual-shell *::before, .manual-shell *::after { animation: none !important; transition: none !important; } }
.manual-assets-panel { align-self: center; width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; overflow-wrap: anywhere; }
.manual-assets-panel p { line-height: 1.5; }
.manual-assets-panel .manual-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 44px; }
.manual-assets-panel a:focus-visible { outline: 3px solid #f2b632; outline-offset: 3px; }
.manual-assets-wait { color: #176f77; letter-spacing: .3em; font-size: 22px; }
@media (max-height: 560px), (max-width: 639px) { .manual-assets-panel { padding: 12px; gap: 8px; } .manual-assets-panel h3 { font-size: 16px; } .manual-assets-panel p { font-size: 13px; } }
