main[data-page=shop]{display:flex;flex-direction:column;min-height:0;overflow:hidden;gap:10px}main[data-page=shop]>.local-scroll{flex:1;min-height:0}
.recipe-ledger{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#d9e2c7;font-size:11px;padding:9px 12px;background:#1b3437c9;border-radius:3px 14px 3px 3px;box-shadow:0 4px 0 #0e2026}.recipe-ledger b{color:#f7e9bd}.recipe-ledger>span{position:relative}
.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:202px;gap:14px 10px;padding:3px 5px 12px}
.recipe-grid .recipe-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:0;height:202px;padding:11px 8px 9px;border:0;border-radius:4px 21px 5px 5px;background:linear-gradient(145deg,#e6e2cc,#b5c6b1);color:#263f3a;box-shadow:inset 0 2px #fff3ce9c,0 5px 0 #193337,3px 9px 12px #071a2580;text-align:center;isolation:isolate}.recipe-grid .recipe-card.locked{background:linear-gradient(145deg,#8faaa1,#607e7a);color:#e4e8d5}.recipe-grid .recipe-card.research-ready{box-shadow:inset 0 0 0 2px #e3c380,0 5px 0 #364939,3px 9px 12px #071a2580}
.recipe-icon{display:block;position:relative;width:64px;height:62px;color:#796342;filter:drop-shadow(2px 4px 1px #25333866);flex:none}.recipe-icon>.ui-icon{width:100%;height:100%;fill:#d7bb82;stroke:#4b6255;stroke-width:1.5}.recipe-icon>i{position:absolute;right:2px;bottom:2px;width:35px;height:39px;background:#314d4c;border:1px solid #b9c49b;border-radius:3px 9px 3px 3px;display:grid;place-items:center}.recipe-icon .item-art{width:28px;height:32px}.recipe-card-state{position:absolute;left:8px;top:9px;font-size:9px;background:#254541;color:#dfe7c6;border-radius:3px;padding:3px 5px}.recipe-card>strong{font-size:12px;line-height:16px;min-height:32px;display:grid;place-items:center;overflow-wrap:anywhere}.recipe-card>small{font-size:10px}.recipe-card-note{position:relative;font-size:9px;line-height:13px;height:26px;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.recipe-steps{display:flex;gap:5px;justify-content:center;padding:2px}.recipe-steps i{width:9px;height:9px;transform:rotate(45deg);background:#365a5270;border:1px solid #688578}.recipe-steps i.filled{background:#c99f50;border-color:#f8da91;box-shadow:0 2px 2px #24382b6b}
.recipe-sheet{display:flex;flex-direction:column;gap:12px;min-height:0;max-height:100%;flex:1}.recipe-sheet-head{display:flex;align-items:center;justify-content:center;gap:20px;background:#16313380;padding:12px;border-radius:4px 20px 4px 4px;box-shadow:0 5px 0 #142b2e}.recipe-sheet-head>div{display:flex;flex-direction:column;gap:9px}.recipe-sheet-head small{font-size:11px}.recipe-reading{flex:1;min-height:0;padding:4px 5px}.recipe-reading h3{font-size:12px;margin:16px 0 8px}.recipe-reading p{font-size:12px;line-height:1.6}.recipe-reading small{font-size:10px;line-height:1.5;display:block}.recipe-effect{background:#e0dec7;color:#2b4c44;padding:12px 14px;border-radius:4px 16px 4px 4px;box-shadow:0 4px 0 #193739;margin:0 0 10px}.recipe-effect p{margin:4px 0;font-size:13px;font-weight:600}.recipe-effect small{font-size:10px;line-height:1.6;display:block}.recipe-effect.next{background:#bcd6b2}.recipe-ingredients{display:grid;gap:7px}.recipe-ingredients span{display:flex;justify-content:space-between;font-size:12px}.recipe-ingredients .missing b{color:#f4b096}.recipe-sheet footer{display:flex;flex-direction:column;gap:8px;flex:none}.recipe-sheet footer>small{font-size:11px}.recipe-discovery{text-align:center;background:radial-gradient(ellipse,#c8b77755,transparent 70%);padding:8px}.recipe-discovery .recipe-icon{margin:auto;width:80px;height:80px}.recipe-discovery h3{font-size:17px}.recipe-discovery>b{display:block;font-size:23px;color:#eed99d;margin:8px}.recipe-success .recipe-discovery{animation:recipe-unseal .6s ease-out both}.craft-reward>.item-art{width:56px;height:60px;display:block;margin:0 auto 8px}.craft-reward>small{display:block;margin-top:8px}.craft-reward p{font-size:12px;line-height:1.5}
@keyframes recipe-unseal{from{opacity:0;transform:translateY(10px) scale(.86)}65%{opacity:1;transform:translateY(-3px) scale(1.04)}to{transform:none}}
@media(max-height:700px){main[data-page=shop]{gap:7px}.recipe-sheet{gap:9px}.recipe-sheet-head{padding:7px}.recipe-discovery .recipe-icon{width:55px;height:55px}.recipe-discovery h3{margin:7px}.recipe-success .npc-host{min-height:68px}}
@media(prefers-reduced-motion:reduce){.recipe-success .recipe-discovery{animation:none}}
.recipe-effect small,.craft-reward>small{color:#536b5d}
