.shop-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(720px,calc(100vw - 20px));max-height:90dvh;padding:20px;color:#f2f6ea;background:#10271f;border:1px solid #657a57;border-radius:20px;font:14px/1.4 system-ui;overflow:auto}.shop-dialog::backdrop{background:#071911cc}.shop-dialog *{box-sizing:border-box}.shop-header{display:flex;align-items:center;gap:12px}.shop-header h2{font-size:25px;margin:0;flex:1}.shop-dialog button{font:inherit;cursor:pointer;min-height:44px;border-radius:9px;padding:8px 12px;border:1px solid #60745c;color:#f2f6ea;background:#254735}.shop-dialog button:disabled{cursor:default;opacity:.65}.shop-dialog button:focus-visible{outline:3px solid #f5c857;outline-offset:2px}.shop-wallet{white-space:nowrap;color:#f5c857}.shop-intro{color:#c3d0bd;margin:12px 0 20px}.shop-section{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.shop-section h3{margin:0;font-size:17px}.shop-section .shop-pause{font-size:12px;padding:6px 8px}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shop-item{min-width:0;border:1px solid #47604b;border-radius:12px;overflow:hidden;background:#1b372b}.shop-stage{height:140px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at bottom,#366448,#18372a)}.shop-stage canvas{width:120px;height:110px;image-rendering:pixelated;max-width:100%}.shop-stage .shop-turn{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:44px;padding:0;border:0;background:#173425bb;font-size:24px}.shop-left{left:2px}.shop-right{right:2px}.shop-item-body{padding:10px}.shop-item h4{font-size:14px;margin:0 0 8px;min-height:39px}.shop-item .shop-buy{width:100%;background:#f5c857;color:#22301c;border:0;font-weight:700;font-size:13px;padding:8px 4px}.shop-buy .coin-amount{display:inline-flex;vertical-align:middle;gap:4px}.shop-buy svg{width:18px;height:18px}.shop-note{font-size:11px;min-height:30px;margin:8px 0 0;color:#c3d0bd}.shop-owned .shop-buy{background:#30523b;color:#d9e7ce}.shop-message{margin:14px 0 0;color:#f5d57d}.shop-message:empty{display:none}@media(max-width:600px){.shop-dialog{padding:14px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-item h4{font-size:13px}.shop-header{gap:8px}.shop-header h2{font-size:23px}.shop-header .shop-close{padding:8px}.shop-stage{height:136px}.shop-stage canvas{width:120px;height:110px}.shop-item-body{padding:9px}}

.shop-dialog .shop-buy:not(:disabled),.shop-dialog .shop-buy:not(:disabled) .coin-amount,.shop-dialog .shop-buy:not(:disabled) .coin-number{color:#000}
.shop-dialog .shop-buy .coin-amount,.shop-dialog .shop-buy .coin-number{color:inherit}

.shop-daily{margin-top:26px;padding-top:20px;border-top:1px solid #52694c}.shop-daily h3{font-size:18px;margin:0 0 8px}.daily-description{color:#c3d0bd;font-size:13px;margin:0 0 14px}.daily-portrait{display:flex;justify-content:center;background:radial-gradient(ellipse at bottom,#366448,#18372a);padding:12px}.daily-portrait canvas{width:96px;height:96px;image-rendering:pixelated}.daily-rarity{font-size:12px;margin:0 0 10px;color:#c3d0bd}.shop-card[data-rarity=rare]{border-color:#a482ca}.shop-card[data-rarity=legend]{border-color:#e4bb53}.shop-card h4{min-height:0}.daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-message{color:#f5d57d}.daily-message:empty{display:none}

.shop-card{background:transparent;border:0!important;overflow:visible}.daily-card-wrap{display:flex;justify-content:center;padding:6px 0}.shop-dialog .daily-collection-card{width:104px;border-radius:12px;padding:6px 6px 7px;background:#1a1a3a;border:2px solid var(--rarity-color);display:flex;flex-direction:column;align-items:center;gap:5px;position:relative}.daily-card-avatar{width:64px;height:64px;border-radius:8px;overflow:hidden;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center}.daily-card-avatar canvas{width:64px;height:64px;image-rendering:pixelated}.daily-collection-card .collection-name{font-size:11px;font-weight:900;text-align:center;line-height:1.1;width:100%}.shop-dialog .daily-collection-card .juice-special{min-height:0;height:28px;padding:0}.shop-card .shop-item-body{padding:8px 0}.shop-card .shop-note{text-align:center}
.shop-item{position:relative;overflow:hidden}.shop-purchase-shine{position:absolute;inset:0;pointer-events:none;z-index:5;background:linear-gradient(90deg,transparent 25%,#fff9 50%,transparent 75%);opacity:0}
@media(prefers-reduced-motion:reduce){.shop-purchase-shine{display:none}}

.shop-purchase-glow{position:absolute;inset:1px;border:3px solid #caff8b;border-radius:12px;background:#caff8b22;pointer-events:none;z-index:4}.shop-purchase-check{position:absolute;left:50%;top:30%;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d4ff99;color:#17351f;font:900 26px/1 system-ui;pointer-events:none;z-index:7;box-shadow:0 3px 8px #0005}.shop-purchase-spark{position:absolute;left:50%;top:38%;width:5px;height:5px;background:#f8dc76;pointer-events:none;z-index:6}.daily-message:empty{display:none}
