body .store-wallet{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px}body .store-wallet h3{font-size:24px;margin:6px 0}body .store-test-label{font-size:12px;letter-spacing:1px;color:#f1d28b}body .store-test-note{padding:12px 16px;background:#153653;border:1px solid #49759d;border-radius:6px}body .store-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}body .store-filters [aria-pressed="true"]{background:#28577f;border-color:#8dbafa}body .store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body .store-item{display:flex;flex-direction:column;padding:18px;gap:10px;min-width:0}body .store-item h3,body .store-item p{margin:0}body .store-item small{color:#c6d0dd}body .store-item-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}body .store-item>button{margin-top:auto;width:100%;min-height:44px}body .store-item label{display:grid;gap:5px}body .store-item select{width:100%;min-width:0}body .store-amounts{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;font-size:13px}body .store-amounts>span{display:flex;align-items:center;gap:5px}body .store-amounts .sprite{width:22px;height:22px;flex-shrink:0}body .store-item-issue{color:#f0bd7a;font-size:13px}body .store-history>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #49759d}body .store-history small{display:block;color:#c6d0dd}body #testStoreDialog{max-width:640px;width:calc(100% - 24px);padding:22px}body #testStoreDialog h2{padding-right:0}body #testStoreDialog .dialog-actions{margin-top:18px}
@media(max-width:1000px){body .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body .store-grid{grid-template-columns:minmax(0,1fr)}body .store-wallet{align-items:stretch;flex-direction:column;padding:16px}body .store-wallet h3{font-size:22px}body .store-item{padding:16px}body .store-item select{font-size:16px;min-height:44px}body .store-filters button,body .store-wallet button,body #testStoreDialog button{min-height:44px}body .store-history>div{flex-direction:column;gap:5px}}

body .store-item-art{display:block;width:100%;height:180px;object-fit:contain;flex-shrink:0;margin:0 auto}body #testStoreDialog .store-item-art{height:160px;margin:12px auto}

body .inventory-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.7em;padding:1px 5px;margin-left:4px;border-radius:4px;background:#153653;color:#f1d28b;font-size:.85em;font-variant-numeric:tabular-nums}

body #testStoreReview label{display:grid;gap:6px;margin:14px 0}body #storeGeneralChoice{width:100%;min-width:0}

body .inventory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px) auto;align-items:end;gap:12px;margin-top:16px;padding:16px;border:1px solid #49759d;border-radius:6px;background:#153653}body .inventory-toolbar label{display:grid;gap:6px;min-width:0;font-size:13px;color:#c6d0dd}body .inventory-toolbar input,body .inventory-toolbar select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;font-size:16px}body .inventory-toolbar button{min-height:44px}body .inventory-results{font-size:13px;color:#c6d0dd;margin:12px 0}body .inventory-grid{gap:12px}body .inventory-item{gap:8px;padding:16px}body .inventory-item .store-item-art{height:110px}body .inventory-item h3{font-size:18px}body .inventory-item>p{font-size:14px;line-height:1.45}body .inventory-empty{grid-column:1/-1;padding:18px}body .inventory-empty button{margin-top:12px}
@media(max-width:650px){body .inventory-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:10px}body .inventory-toolbar label:first-child{grid-column:1/-1}body .inventory-item .store-item-art{height:96px}}

body .store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body button.store-item-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;padding:14px;min-height:210px;background:#153653;border:1px solid #49759d;border-radius:7px;text-align:center;transform:none}body button.store-item-tile:hover{background:#1b4264;border-color:#8dbafa;transform:none}body button.store-item-tile:focus-visible{outline:2px solid #e8c982;outline-offset:3px}body button.store-item-tile .store-item-art{width:100%;height:120px;object-fit:contain;margin:0}body .store-item-name{display:block;width:100%;font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}body .store-item-value{display:block;margin-top:auto;color:#f1d28b;font-size:14px;font-variant-numeric:tabular-nums}body .store-item-tooltip{position:fixed;z-index:1000;width:max-content;max-width:300px;max-height:calc(100vh - 24px);overflow-y:auto;padding:12px 14px;background:#091b2e;border:1px solid #8dbafa;border-radius:6px;box-shadow:0 8px 24px #0008;color:#f5f8ff;font-size:13px;line-height:1.45;overflow-wrap:anywhere}body .store-item-tooltip[hidden]{display:none!important}body .store-item-tooltip strong,body .store-item-tooltip span,body .store-item-tooltip small{display:block}body .store-item-tooltip span{margin-top:6px}body .store-item-tooltip small{color:#c6d0dd;margin-top:6px}body #testStoreDialog .store-detail-effect{color:#f5f8ff;font-size:16px;font-weight:600;line-height:1.5}body #testStoreDialog .store-use-note{margin:14px 0 8px}body #testStoreDialog small{color:#c6d0dd}
@media(max-width:1000px){body .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){body .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body button.store-item-tile{padding:12px;min-height:195px;gap:8px}body button.store-item-tile .store-item-art{height:105px}body .store-item-name{font-size:14px}body .store-item-value{font-size:13px}}
@media(max-width:320px){body .store-grid{grid-template-columns:minmax(0,1fr)}}

.store-rotation-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:12px 0;padding:14px}.store-rotation-status span{color:#d1e0ef}.store-rotation-status small{flex-basis:100%;color:#a8bfd5}

body #generalRevealDialog{width:calc(100% - 24px);max-width:740px;max-height:calc(100dvh - 24px);box-sizing:border-box;padding:24px;overflow:auto;border-color:#e8c982}body #generalRevealDialog h2{padding:0;margin:8px 0;font-size:28px}body .general-reveal-label{margin:0;color:#f1d28b;font-size:13px}body .general-reveal-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:16px;align-items:start}body .general-reveal-art{width:100%;height:auto;object-fit:contain;border:1px solid #49759d;border-radius:7px;background:#102b44;box-sizing:border-box}body #generalRevealDialog .general-specialty{margin:0 0 14px}body #generalRevealDialog .general-secondary-perks h3{font-size:18px;margin:16px 0 10px}body #generalRevealDialog .dialog-actions{margin-top:18px}body #generalRevealDialog .dialog-actions button{min-height:44px;width:100%}
@media(max-width:650px){body #generalRevealDialog{padding:18px}body .general-reveal-layout{grid-template-columns:minmax(0,1fr);gap:14px}body .general-reveal-art{max-width:300px;margin:0 auto}body #generalRevealDialog h2{font-size:24px}}

body #testStoreDialog .construction-item-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}body #testStoreDialog .construction-item-grid .store-item-art{width:100%;height:110px;object-fit:contain}body #testStoreDialog .construction-item-grid .store-item{min-width:0;padding:12px}
