/* Shared adventure presentation. Existing scene geometry and gameplay handlers remain authoritative. */
:root{--ad-ink:#181b18;--ad-panel:#292a22;--ad-edge:#8e7851;--ad-paper:#efe0bb;--ad-muted:#c9b996;--ad-gold:#d7b671}
.standard-icon{width:32px;height:32px;flex:none;image-rendering:pixelated;object-fit:contain}.standard-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}.standard-action .action-label{min-width:0;white-space:normal}.action-label:empty{display:none}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #f3d27e;outline-offset:3px}button,summary{touch-action:manipulation}button:not(.scene-hotspot):not(.cell){min-height:44px}
.adventure-shell{grid-template-rows:64px minmax(0,1fr) 72px}.adventure-shell .compact-hud{gap:9px;background:#23271f;box-shadow:inset 0 -2px #584a32;padding:4px 16px}.hud-token{min-width:74px}.hud-place{display:grid;gap:5px;min-width:0;max-width:240px}.hud-place strong{font:14px Georgia;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-place small{font:11px monospace;color:var(--ad-muted)}.compact-brand{font-size:16px;letter-spacing:2px}.bottom-nav{background:#22261e;box-shadow:inset 0 2px #615035;gap:0}.bottom-nav button{max-width:190px;font-size:12px;letter-spacing:.4px}.bottom-nav button .action-label{display:flex;align-items:center;gap:8px}.bottom-nav .standard-icon{width:34px;height:34px}.bottom-nav button.active{box-shadow:inset 0 3px var(--ad-gold);background:#65513238}.bottom-nav b{border-radius:0}.result-chip{bottom:80px;min-height:32px!important;max-width:260px;background:#302a1d;border-color:#a28a58}
#main:has(>.world-view){display:flex;flex-direction:column;padding:0;overflow:hidden}#main>.world-view{flex:1;min-height:0;height:auto}.world-notices{position:relative;z-index:7;flex:none;max-height:32dvh;overflow:auto}.world-notices:empty{display:none}.world-notices~.world-view .scene-heading{top:0}.scene-heading{padding:13px 22px;background:linear-gradient(#101710ed,transparent);min-height:74px}.scene-heading h1{font-size:clamp(21px,2.4vw,32px);margin:3px 0}.scene-heading .eyebrow{font-size:10px;line-height:1.5}.scene-help{min-width:44px;min-height:44px}.scene-controls{display:flex;flex-wrap:wrap;gap:7px;padding:8px 14px;white-space:normal;overflow:visible;background:#24281f;border-top:2px solid #867149;box-shadow:none;max-height:26dvh;overflow-y:auto}.scene-controls>.standard-action,.scene-controls>button{font-size:11px;background:transparent;border-color:transparent;border-bottom:1px solid #87735370}.scene-controls>.standard-action img{width:24px;height:24px}.scene-footnote,.pan-hint{display:none}.adventure-actions{display:flex;align-items:stretch;gap:7px;flex:1 1 100%;min-width:0}.adventure-actions>button{flex:1 1 0;min-width:0;max-width:230px;justify-content:flex-start;padding:7px 11px;background:#332e21;border:1px solid #887046;font:13px/1.3 Georgia;text-align:left;white-space:normal}.adventure-actions>button:hover{background:#494030;border-color:#d7b671}.adventure-actions .action-label{overflow-wrap:anywhere}.adventure-dialog .adventure-actions{display:grid;grid-template-columns:1fr 1fr}.adventure-dialog .adventure-actions>button{max-width:none}.scene-hotspot{min-width:44px;min-height:44px;cursor:pointer}.scene-hotspot .hotspot-ring{display:none}.scene-hotspot:hover,.scene-hotspot:focus-visible,.scene-hotspot.interaction-revealed{outline:2px solid #ead09b;background:#dcbf6030;box-shadow:inset 0 0 0 2px #211b1366}.scene-hotspot.interaction-revealed .hotspot-label{opacity:1;transform:none}.hotspot-label{font:12px/1.4 Georgia;max-width:240px;white-space:normal;padding:6px 9px;background:#1e231eee;border-color:#dbc386;pointer-events:none}
.quest-tracker{padding:7px 20px;border-bottom:1px solid #937c51;background:#252b22;color:var(--ad-paper)}.quest-tracker>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none}.quest-tracker>summary span{display:grid;gap:3px}.quest-tracker>summary small{color:var(--ad-muted)}.quest-tracker>summary::after{content:'Ansehen';font-size:11px;border-bottom:1px solid #a38c5c;margin-left:auto}.quest-tracker[open]>summary::after{content:'Einklappen'}.quest-tracker>summary .standard-icon{width:25px;height:25px}.quest-tracker>div{padding:0 0 9px}.quest-tracker p{margin:5px 0}.quest-tracker button{margin-right:8px}.quest-steps{display:flex;gap:8px;list-style:none;flex-wrap:wrap;padding:0;font-size:11px}.quest-steps li{padding:5px 8px;border-bottom:1px solid #786b51;color:#c5b99c}.quest-steps li[aria-current]{color:#ffe4ac;border-color:#efc76e}.work-contract{padding:12px 0;background:transparent;border:0}
/* Nonmodal side dialogue keeps the scene and global navigation available. */
#modal.adventure-dialog{position:fixed;z-index:30;left:auto;right:18px;top:80px;bottom:90px;margin:0;width:min(570px,calc(100vw - 36px));height:fit-content;max-height:calc(100dvh - 174px);padding:24px;border:2px solid #937d54;border-top:5px solid #c1a164;border-radius:0;background:#292b23;color:var(--ad-paper);box-shadow:-12px 16px 30px #0008;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;box-sizing:border-box}#modal.adventure-dialog.notebook-drawer{width:min(970px,calc(100vw - 36px))}#modal .close{position:relative;float:right;top:auto;right:auto;min-height:40px;font-size:11px;padding:4px 8px;background:transparent;border:1px solid #8f7b54}#modal .close img{width:20px;height:20px}#modal h2{font:26px/1.2 Georgia;margin:9px 0 19px;padding-right:10px;clear:none;color:#f4dfac}#modal .eyebrow{font-size:10px;color:#d0b887}#modal p,#modal li{line-height:1.6;overflow-wrap:anywhere}#modal .hint,#modal small{color:#cbbd9f}#modal input,#modal select,#modal textarea{max-width:100%;box-sizing:border-box;min-height:44px;border-radius:0;background:#1b211b;border:1px solid #918065;color:#efe0bb;font:inherit;padding:9px}#modal input[type=radio],#modal input[type=checkbox]{min-height:20px;min-width:20px;accent-color:#d0ac66}#modal .modal-actions{display:flex;flex-direction:column;gap:6px;padding-top:16px;border-top:1px solid #8b7954;margin-top:20px}#modal .modal-actions>button{justify-content:flex-start;text-align:left;background:transparent;border:0;border-left:3px solid #82704d;border-radius:0;padding:11px 13px;white-space:normal;font:15px/1.45 Georgia;color:#eee0bd}#modal .modal-actions>button.primary{border-color:#e2bd6e;background:#c3a36418;color:#ffe6ac}#modal .modal-actions>button:hover{background:#c3a36425;border-color:#e2bd6e}#modal .owner-dialog{gap:17px;align-items:flex-start;background:transparent;border:0;padding:8px 0}#modal .owner-dialog blockquote{font:18px/1.65 Georgia;margin:0;color:#ffebbc}#modal .owner-dialog .dialogue-portrait,#modal .owner-dialog .dialog-portrait,#modal .encounter-portrait{flex:none;width:105px;max-height:150px;image-rendering:pixelated}#modal .story-scene,#modal .encounter-art,#modal .transport-art,#modal .result-vignette{width:100%;max-height:255px;object-fit:contain;image-rendering:pixelated;background:#171c17}#modal .response-list{display:grid;gap:8px}#modal .response-list button{display:grid;gap:4px;text-align:left;padding:12px 14px;border:0;border-left:3px solid #a58850;background:#3d3829;color:#f1ddb4;font:15px/1.5 Georgia;white-space:normal}#modal .response-list button small{font:12px monospace}#modal .story-prose blockquote{margin:15px 0;padding:12px;border-left:3px solid #b79959;font:17px/1.5 Georgia}#modal .work-offer,#modal .action-card{border:0;border-top:1px solid #776748;background:transparent;padding:15px 0;border-radius:0;box-shadow:none}#modal .work-offers{display:block}#modal .work-offer h3{font:22px Georgia;color:#f2d697}#modal .work-decisions{border:1px solid #8c7851;padding:12px}#modal .facts{font-size:14px;gap:9px}#modal .facts dt{color:#c8b893}#modal .facts dd{margin:0}.pixel-die{width:48px;height:48px;shape-rendering:crispEdges}body.busy #main button,body.busy .bottom-nav button{cursor:progress;opacity:.7}
.quest-folio{max-width:1100px;margin:auto;padding:20px 30px;background:#25291f;min-height:100%;border-left:4px solid #84633d}.quest-folio header h1{font:34px Georgia;color:#efd49c;margin:8px 0}.folio-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #9e8051;padding-bottom:10px}.folio-tabs button,.dossier-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;color:#d6c7a5;font:15px Georgia}.folio-tabs button[aria-current],.dossier-tabs button[aria-current]{color:#ffe3a5;border-color:#d7b671;background:#9b814225}.quest-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;padding:22px 0}.quest-entry{border:0;border-left:3px solid #a88d54;padding:10px 20px;background:#332f20;min-width:0}.quest-entry h2{font:24px Georgia;margin:7px 0;color:#efd6a1}.quest-entry p{font:15px/1.7 Georgia;color:#dacbaa}.quest-entry button{margin:5px 5px 0 0}.quest-entry small{color:#c7b48a}.quest-folio footer{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #937b50;padding:17px 0}.empty-page{padding:20px;font:18px/1.7 Georgia}.dossier{max-width:1100px;margin:auto;padding:20px 25px;background:#282b21}.dossier-identity{border-bottom:1px solid #8a7349;padding:18px 0}.dossier .panel{border:0;border-top:1px solid #80704e;border-radius:0;background:transparent;box-shadow:none}.rpg-attributes{gap:10px}.rpg-attributes details{border:0;border-bottom:2px solid #8a7349;background:#393323}.dossier-relations .panel{padding:16px 0}.dossier-tabs{border-bottom:1px solid #8f7950;margin:18px 0}.dossier-people{gap:7px}.dossier-people button{border:0;border-bottom:2px solid #7a6d4d;background:#332f23}.dossier-people button[aria-current]{border-color:#e2bd6e;color:#ffe2a3}.dossier footer{display:flex;gap:8px;flex-wrap:wrap}.combat-board .cell{min-height:44px;min-width:38px}.combat-log{font:13px/1.6 Georgia}.objective-marker{font-size:11px;color:#ffe5a8;background:#302f20;border:1px solid #a4884e}.game-drawer .combat-stage{max-width:100%}
@media(min-width:1100px){body:has(#modal[open]:not(.notebook-drawer)) .scene-heading{max-width:calc(100vw - 575px)}}
@media(max-width:900px){.compact-brand{display:none}.hud-place{max-width:160px}.adventure-shell .compact-hud{padding:4px 10px;gap:4px}.bottom-nav button .action-label{flex-direction:column;gap:2px}.adventure-actions{gap:5px}.adventure-actions>button{padding:7px;font-size:12px}.adventure-actions .standard-icon{width:27px;height:27px}#modal.adventure-dialog{right:12px;width:min(530px,calc(100vw - 24px));top:76px;padding:18px}}
@media(max-width:600px){.adventure-shell{grid-template-rows:60px minmax(0,1fr) 66px}.hud-place{display:none}.hud-token{min-width:0;padding:5px;flex:1}.hud-token small{font-size:9px;letter-spacing:.2px}.hud-token strong{font:16px Georgia}.hud-token em{font-size:10px}.adventure-shell .compact-hud{gap:2px;padding:3px 6px}.bottom-nav .standard-icon{width:26px;height:26px}.bottom-nav button{font:10px Arial;padding:3px 1px}.scene-controls{padding:7px;gap:4px;max-height:29dvh}.adventure-actions{flex-wrap:wrap}.adventure-actions>button{flex:1 1 calc(50% - 8px);max-width:none;min-height:48px;font-size:12px;padding:5px 8px}.scene-controls>button{min-height:38px!important;font-size:10px;flex:1;padding:4px}.scene-heading{padding:10px 13px;min-height:65px}.scene-heading h1{max-width:280px;font-size:22px}.scene-heading .eyebrow{max-width:265px;font-size:9px}.scene-hotspot{min-width:44px;min-height:44px}.hotspot-label{font-size:12px}.quest-tracker{padding:4px 12px;font-size:12px}.quest-tracker>summary{min-height:44px}.quest-tracker>summary small{font-size:10px}.quest-tracker>div{max-height:130px;overflow:auto}.world-notices{max-height:24dvh}.result-chip{bottom:74px;right:5px;max-width:210px;font-size:10px;opacity:.95}#modal.adventure-dialog,#modal.adventure-dialog.notebook-drawer{top:auto;bottom:66px;left:0;right:0;width:100%;max-height:70dvh;margin:0;border:0;border-top:4px solid #bc9a60;padding:14px 16px 20px;box-shadow:0 -10px 25px #0009}#modal h2{font-size:23px;margin-bottom:16px}#modal .close{font-size:10px}#modal .owner-dialog blockquote{font-size:16px}#modal .owner-dialog .dialogue-portrait,#modal .owner-dialog .dialog-portrait{width:82px;max-height:120px}#modal .transport-art,#modal .story-scene,#modal .encounter-art{max-height:180px}#modal .modal-actions>button{min-height:48px;font-size:15px}#modal .response-list button{min-height:52px}#modal .adventure-actions{grid-template-columns:1fr}#modal .activity-report{display:block}.dossier,.quest-folio{padding:8px 10px}.quest-pages{display:block;padding:12px 0}.quest-entry{padding:10px 13px;margin-bottom:16px}.quest-entry h2{font-size:22px}.folio-tabs{gap:0;justify-content:space-between}.folio-tabs button{font-size:12px;padding:7px}.dossier .rpg-attributes{grid-template-columns:1fr 1fr}.dossier-identity{grid-template-columns:90px 1fr}.dossier-identity h1{font-size:24px}.dossier-tabs{flex-wrap:wrap}.dossier-tabs button{font-size:13px}.dossier-statline{flex-wrap:wrap}.dossier-people{overflow-x:auto}.quest-folio footer{gap:5px}.quest-folio footer button{font-size:11px}.dossier-progress{width:100%}}
@media(max-height:520px) and (orientation:landscape){.adventure-shell{grid-template-rows:48px minmax(0,1fr) 52px}.scene-heading{padding:4px 12px;min-height:48px}.scene-heading h1{font-size:19px}.scene-controls{max-height:24dvh;padding:4px}.adventure-actions{flex-wrap:nowrap}.adventure-actions>button{min-height:40px;font-size:10px}.adventure-actions .standard-icon{width:22px;height:22px}.scene-controls>button{display:none}.bottom-nav button .action-label{flex-direction:row}.bottom-nav .standard-icon{width:24px;height:24px}.quest-tracker>summary{min-height:34px}.quest-tracker{font-size:11px}#modal.adventure-dialog{top:52px;bottom:56px;max-height:calc(100dvh - 110px);width:min(510px,70vw);left:auto;right:8px;padding:12px}.hud-token{padding:0 7px}.result-chip{bottom:57px}}
@media(prefers-reduced-motion:reduce){.adventure-shell *,#modal{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Object inspection and availability are shared by mouse, keyboard and touch. */
.item-inspection-art{width:100%;max-height:210px;object-fit:contain;image-rendering:pixelated}.crew-availability{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #88724e}.crew-availability p{margin:3px 0;font-size:13px}.choice-portrait{width:56px;height:65px;object-fit:cover;image-rendering:pixelated;flex:none}.org-check{display:flex;gap:10px;align-items:center}.trade-reason{border-left:3px solid #e2bc6b;padding:7px 12px;color:#f3d8a0}.adventure-actions button.next-objective{border:2px solid #ebc272;background:#544129}.adventure-dialog .cards{display:block}.adventure-dialog .weapon-card{display:grid;grid-template-columns:110px 1fr;gap:5px 16px;border:0;border-bottom:1px solid #8d7851;background:transparent;border-radius:0;padding:15px 0}.adventure-dialog .weapon-card>img{grid-row:1 / span 8;width:110px;max-height:180px;object-fit:contain;image-rendering:pixelated}.adventure-dialog .weapon-card h3{margin:5px 0}.adventure-dialog .weapon-card p{margin:3px 0}.adventure-dialog .weapon-card>button{grid-column:2}.adventure-dialog .weapon-card .row{flex-wrap:wrap}.scene-controls>button{min-height:44px!important}.bottom-nav button{min-width:44px}.archive-links .archive-link{display:flex;text-align:left;gap:16px;padding:18px;border:0;border-bottom:1px solid #907954;background:#302e21}.archive-link small{display:block;color:#cabb9b}.archive-link>span:last-child{margin-left:auto}.archive-link .action-label{display:flex;gap:12px;align-items:center;width:100%}
@media(max-width:600px){.adventure-dialog .weapon-card{grid-template-columns:80px 1fr;gap:5px 10px}.adventure-dialog .weapon-card>img{width:80px}.adventure-dialog .weapon-card p{font-size:13px}}
@media(max-height:520px) and (orientation:landscape){.scene-controls>button{display:inline-flex}.scene-controls{max-height:30dvh}.adventure-actions>button{min-height:44px}.quest-tracker>summary{min-height:44px}}
.card-suit-art{width:1em;height:1em;display:inline-block;vertical-align:middle}.card-back-mark{width:50%;height:64%;background:repeating-conic-gradient(#e2d1a4 0 25%,#253b43 0 50%) 0 0 / 6px 6px;border:2px solid #e2d1a4}.pixel-horse{width:90px;height:60px;shape-rendering:crispEdges}
.combat-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.combat-quick-actions button{min-height:48px;background:#343126;border:1px solid #9b8052;color:#f1ddb4}.combat-quick-actions [aria-pressed=true]{background:#665433;border:2px solid #ebc472}.combat-controls{background:#272b21;border:1px solid #8f744d;border-radius:0}.combat-controls select{min-height:44px;background:#20261d;color:#ebddb9}.combat-stage{border:3px solid #8d7955}.game-viewport>.result-chip{position:fixed;left:auto;right:14px;width:auto;max-width:min(260px,65vw);min-height:44px!important}#toast{bottom:calc(78px + env(safe-area-inset-bottom));pointer-events:none;max-width:min(480px,80vw)}.scene-heading .scene-help{font-size:11px;min-width:48px;width:auto;border-radius:0}.scene-controls .adventure-actions>button[data-do=street]{border-left:3px solid #c8b378}.hud-place small{line-height:1.2}
@media(max-width:600px){.bottom-nav button{font-size:11px}.game-viewport>.result-chip{right:8px;bottom:190px;max-width:230px}#toast{bottom:80px}.combat-layout{display:flex;flex-direction:column}.combat-stage{min-width:0}.combat-board{min-width:0}.combat-board .cell{min-width:0;min-height:44px}.combat-layout aside{width:100%}}

/* Beta 24.1: visible mobile context, no feedback covering interactive content. */
.compact-hud .hud-place{background:transparent;border:0;border-left:1px solid #776345;padding:4px 10px;text-align:left;min-height:44px;flex:1;max-width:260px}.hud-place:after{content:'Zur Szene';font:10px Arial;color:#ddc38d}.compact-hud .hud-feedback{background:#3b3525;color:#f5ddaa;border:1px solid #a38951;font:12px Georgia;max-width:120px;padding:5px 9px;min-height:44px}.compact-hud .signal{min-width:44px;min-height:44px}.dossier-identity aside img{display:block;aspect-ratio:4/5;height:auto;object-fit:contain;background:#20251e}.inventory-world .scene-canvas{min-width:100%;width:100%}.inventory-tray{position:absolute;z-index:3;inset:88px 4% 18px;background:#24271eef;border:2px solid #9b8050;padding:14px;display:flex;flex-direction:column;min-height:0;box-shadow:0 6px 18px #0007}.inventory-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #8f7750;padding-bottom:10px}.inventory-tabs button{background:transparent;color:#eeddba;border:0;border-bottom:3px solid transparent;min-height:44px}.inventory-tabs [aria-current]{border-color:#e4c17d;background:#615034}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:10px;overflow-y:auto;align-content:start;min-height:0;padding:12px 2px;flex:1}.inventory-entry{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;padding:10px;background:#352e23;border:1px solid #867347;color:#f0dfb5;min-width:0}.inventory-entry:hover{background:#53452f!important}.inventory-entry .inventory-art{width:100%;height:90px;object-fit:contain;image-rendering:pixelated}.inventory-entry span{display:grid;gap:6px;font:14px/1.35 Georgia;overflow-wrap:anywhere}.inventory-entry small{font:11px/1.4 Arial;color:#d1bf9a}.inventory-entry b{font:12px Arial;color:#f7d294}.inventory-hint{font:12px/1.4 Georgia;color:#dac49d;margin:8px 0 0}.inventory-empty{color:#e5d2ac}.compact-hud .hud-feedback:empty{display:none}
@media(max-width:600px){.adventure-shell{grid-template-rows:108px minmax(0,1fr) 66px}.adventure-shell .compact-hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 44px;gap:0;padding:3px 6px}.compact-hud .compact-brand{display:none}.compact-hud .hud-token{width:100%;min-width:0}.compact-hud .signal{grid-column:5;grid-row:1}.compact-hud .hud-place{display:grid;grid-column:1/4;grid-row:2;max-width:none;min-width:0;padding:3px 5px;border-left:0;gap:2px}.hud-place strong{font-size:12px}.hud-place small{font-size:10px}.hud-place:after{display:none}.compact-hud .hud-feedback{grid-column:4/6;grid-row:2;max-width:none;width:100%;min-height:44px;font-size:11px}.inventory-tray{inset:74px 8px 8px;padding:8px}.inventory-tabs{gap:0;padding-bottom:5px}.inventory-tabs button{flex:1;padding:5px;font-size:12px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.inventory-entry{padding:8px}.inventory-entry .inventory-art{height:64px}.inventory-hint{font-size:11px}.inventory-entry span{font-size:13px}}
@media(max-height:520px) and (orientation:landscape){.inventory-tray{inset:58px 8px 5px;flex-direction:row;gap:10px;padding:5px}.inventory-tabs{flex-direction:column;border:0;padding:0;overflow-y:auto;flex:none}.inventory-tabs button{padding:3px 10px}.inventory-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));padding:0}.inventory-entry{flex-direction:row;gap:5px;padding:5px}.inventory-entry .inventory-art{width:50px;height:50px}.inventory-entry span{font-size:11px}.inventory-entry small,.inventory-hint{display:none}}

#modal.adventure-dialog .close{min-height:44px}

.scene-controls button,.scene-controls button.primary{color:#efe0bb}.scene-controls button:hover{color:#fff0c7}.scene-controls button:disabled{color:#d5c4a3}

@media(max-width:600px){.hud-place:after{display:block;font-size:9px}}
@media(max-height:520px) and (orientation:landscape){.inventory-tabs{display:grid;grid-template-columns:1fr 1fr;align-content:start;width:140px;gap:3px}.inventory-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.inventory-entry span{hyphens:auto}}
.training-people .crew-availability>img{width:64px;height:80px;object-fit:cover;image-rendering:pixelated;flex:none}
/* Keep trade text in its own column; supplies without artwork use the full width. */
.adventure-dialog .weapon-card{grid-template-columns:110px minmax(0,1fr)}
.adventure-dialog .weapon-card>:not(img){grid-column:2;min-width:0;overflow-wrap:anywhere}
.adventure-dialog .weapon-card:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
.adventure-dialog .weapon-card:not(:has(>img))>*{grid-column:1}
@media(max-width:600px){.adventure-dialog .weapon-card:has(>img){grid-template-columns:80px minmax(0,1fr)}}
