/* v17: remove decorative microcopy; keep decision data readable. */
.romaji,.cover-foot,.route small,.roster-title>span,.guide-head>small,
.difficulty-options small,.boss-card>small,.boss-card>.fight-tag{display:none}
.quiet,.gift,.settings label,.home-catalog summary,.difficulty-picker legend,.mode-heading,
.section-title h2{font-size:15px;letter-spacing:0}
.route em{font-size:15px;line-height:1.5;color:#e3eeea;letter-spacing:0}
.route-quick em{color:#203641}
.route b{font-size:22px}.route{min-height:100px}
#difficulty-detail{font-size:14px;line-height:1.5;margin:12px 0 0;color:#e3eeea}
.roster-note,.card span,.card small,.boss-card p,.boss-card em,.mob-card p,
.companion-card p,.log-row,.guide-content dd,.practice-intro{font-size:15px;line-height:1.65;color:#dae8e6}
.card b,.boss-card b,.roster-title h2{font-size:17px}
.sheet #modal-type{font-size:14px;letter-spacing:0;color:#c5dbd9}
.sheet #message{font-size:16px;line-height:1.5;color:#e0ebe7}
.sheet #message:empty,.sheet #modal-type:empty{display:none}
.sheet .upgrade p,.sheet .upgrade .gear-recommendation,.sheet .island-threat,
.sheet .gear-level,.sheet .upgrade .card-key,.sheet .quality-label{font-size:14px;line-height:1.5}
.sheet .upgrade b,.sheet .upgrade .ocean-quality-name{font-size:18px;line-height:1.4}
.sheet .upgrade{height:auto;min-height:0}
.sheet .loadout-item small,.sheet .loadout-item span,.sheet .special-form-recipe small,
.sheet .companion-loadout p,.sheet .reward small,.sheet .result-stats small,
.sheet .audio-settings,.sheet .audio-settings label{font-size:14px;line-height:1.6}
.sheet .loadout-item b{font-size:16px}
#arena #health-number,#arena #xp-number{font-size:14px}
#arena #level-label{font-size:13px;line-height:19px}
#arena #gear-summary small{font-size:12px;line-height:14px}
#arena .boss-overflow{font-size:13px;line-height:18px}
#arena .route-control>button,#arena .growth-route small,#arena .growth-route button{font-size:14px}
#arena .growth-route b{font-size:16px}
#arena #practice-toolbar button,#arena #practice-toolbar label,#arena #practice-toolbar select{font-size:14px}
@media(max-width:580px){
 .topbar{gap:8px}.masthead{letter-spacing:0;font-size:14px}.nav{gap:6px}.nav .quiet{padding:8px;font-size:14px;min-height:42px}
 .route em{font-size:14px}.difficulty-options b{font-size:18px}
 .sheet{max-height:100%;overflow-y:auto;padding:18px 14px}
 .sheet .upgrade p,.sheet .upgrade .gear-recommendation,.sheet .upgrade .card-key,
 .sheet .quality-label,.sheet .gear-level,.sheet .island-threat{font-size:14px}
 #arena .pilot-bars{width:137px}#arena #health-number,#arena #xp-number{font-size:13px;line-height:20px}
 #arena #level-label{font-size:12px;line-height:18px}#arena #coin-label{font-size:17px}
 #arena #pause{min-width:40px;width:40px;height:40px}
 #arena #dash{font-size:16px}
 .loadout-grid{grid-template-columns:1fr}
}
@media(max-height:500px) and (orientation:landscape){
 #arena #health-number,#arena #xp-number{font-size:13px}
 #arena #gear-summary small{font-size:12px}#arena #dash{font-size:14px}
}
.audio-mix small{font-size:14px;line-height:1.5}
@media(max-width:580px){.masthead b{display:none}.masthead{flex:0 0 30px}.topbar .nav{align-items:center}.nav button,.nav summary{white-space:nowrap}.topbar{justify-content:space-between}.audio-mix summary{font-size:14px!important}}
/* Duration is a real mode choice, never decorative copy. */
.route em,.route-secondary em{display:block!important}.route-featured em{color:#233c46}
.pause-audio{flex-basis:100%;width:100%;font-size:15px}.pause-audio>summary{cursor:pointer;padding:12px;list-style-position:inside}.sound-pause button{font-size:14px}
.sheet .upgrade-actions{position:static;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;padding:8px 0;background:none}
.sheet .upgrade-actions button{font-size:14px;min-height:42px;padding:9px 12px}
.sheet .loadout-item.unowned{opacity:1;background:#193545}
@media(max-height:500px){.loadout-sheet #choices{position:static;box-shadow:none;background:none}.loadout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Main-island choices: keep all decision text out of the narrow icon column. */
.island-sheet #choices{display:flex;flex-direction:column;gap:10px}
.island-sheet .altar-rewards{width:100%;gap:10px}
.island-sheet .upgrade{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto;gap:3px 10px;padding:12px;text-align:left;align-content:start}
.island-sheet .upgrade img{grid-column:1;grid-row:1/4;width:48px;height:52px;margin:0;object-fit:contain}
.island-sheet .upgrade .card-key,.island-sheet .upgrade b,.island-sheet .upgrade .gear-level{grid-column:2;margin:0}
.island-sheet .upgrade p,.island-sheet .upgrade .island-threat,.island-sheet .upgrade .gear-recommendation{grid-column:1/-1;max-width:none;margin:0;line-height:1.4}
.island-sheet .upgrade p{margin-top:4px}
.island-sheet #choices>button{min-height:44px;margin:0;align-self:center}
.island-sheet #caption{font-size:22px;line-height:1.3;margin:6px 0 12px}
@media(max-width:580px){
 #arena #modal:has(.island-sheet){padding:8px;align-items:center}
 .sheet.island-sheet{width:100%;max-height:calc(100dvh - 16px);padding:12px;overflow-y:auto;overscroll-behavior:contain}
 .island-sheet .altar-rewards{gap:7px}
 .island-sheet .upgrade{padding:8px 10px;gap:2px 8px}
 .island-sheet .upgrade img{width:44px;height:48px}
 .island-sheet #caption{font-size:19px;margin:4px 0 8px}
 .island-sheet #choices{gap:7px}
 .island-sheet .upgrade .card-key{display:none}
 .island-sheet .upgrade img{grid-row:1/3}
 .island-sheet .upgrade .gear-level{font-size:14px}
}
@media(min-width:581px) and (max-height:500px){
 .sheet.island-sheet{padding:12px;max-height:calc(100dvh - 16px);overflow:auto}
 .island-sheet .upgrade{padding:8px;gap:2px 6px}
 .island-sheet #caption{margin:2px 0 6px;font-size:20px}
}
/* The field is shorter than the viewport; island decisions temporarily cover HUD. */
#arena #modal:has(.island-sheet){position:fixed;inset:0;padding:8px;overflow:hidden}
.sheet.island-sheet{max-height:100%;min-height:0}
/* Inventory is run-first: owned weapons/passives precede the collection catalogue. */
.loadout-section{text-align:left;margin:18px 0 28px}
.loadout-section h3{font-size:20px;color:#ffe4a8;margin:0 0 12px}
.loadout-section .loadout-grid{margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.loadout-unowned{padding-top:22px;border-top:2px solid #6e939d}
.loadout-section .loadout-item{padding:12px;grid-template-columns:52px minmax(0,1fr)}
.loadout-section .loadout-item b{font-size:17px;line-height:1.4}
.loadout-section .loadout-item small,.loadout-section .loadout-item span{font-size:14px;line-height:1.55}
.loadout-section .loadout-item img{width:52px;height:58px}
@media(max-width:580px){.loadout-section .loadout-grid{grid-template-columns:1fr}}

/* Even a fresh run opens on owned equipment; scroll to browse the catalogue. */
.loadout-owned{min-height:calc(100dvh - 160px)}
