/* GRISHKA_V18 — «Лавка Ашота»: лотерея и уведомления. Цвета — из текущей темы. */
#shop-casino.v18-lot #casino-feed, #shop-casino.v18-lot #casino-me, #shop-casino.v18-lot .casino-note,
#shop-casino.v18-lot > .page-head.sub:has(+ #casino-feed) { display: none; }
#casino-lottery { margin-top: 4px; }
.v18-lot-card { position: relative; padding: 18px 16px 16px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--stroke));
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--surface);
  box-shadow: var(--shadow-sm); overflow: hidden; }
.v18-lot-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.v18-lot-emoji { font-size: 44px; line-height: 1; animation: v18Wobble 3.4s ease-in-out infinite; }
@keyframes v18Wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.06); } }
.v18-lot-t { font-size: 20px; font-weight: 850; letter-spacing: -.3px; }
.v18-lot-s { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.v18-lot-s b { color: var(--text); font-variant-numeric: tabular-nums; }
.v18-lot-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; }
.v18-lot-grid > div { padding: 10px 6px 9px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); text-align: center;
  display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v18-lot-grid small { font-size: 10.5px; color: var(--muted); font-weight: 650; }
.v18-lot-grid b { font-size: 15px; font-weight: 850; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  white-space: nowrap; overflow: hidden; }
.v18-lot-grid .hl { background: var(--accent); border-color: transparent; }
.v18-lot-grid .hl small, .v18-lot-grid .hl b { color: var(--accent-ink); }
.v18-lot-formula { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; margin: 10px 4px 12px; }
.v18-lot-btn { min-height: 52px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.v18-lot-rules { margin: 12px 4px 4px; font-size: 12px; line-height: 1.5; }
.v18-h.mine { border-color: var(--accent); }
.v18-h .csub b { color: var(--text); }
.v18-h-me { color: var(--good) !important; }
.v18-h-muted { color: var(--muted); }
.v18-ok { text-align: center; padding: 2px 2px 0; }
.v18-ok-ico { font-size: 62px; line-height: 1; margin-bottom: 8px; animation: v18Pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes v18Pop { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.v18-ok-t { font-size: 22px; font-weight: 850; letter-spacing: -.3px; }
.v18-ok-s { color: var(--muted); font-size: 13px; font-weight: 600; margin: 4px 0 12px; }
.v18-ok-amt { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 6px; font-size: 30px; font-weight: 900; color: var(--accent);
  font-variant-numeric: tabular-nums; }
.v18-n-cancel .v18-ok-amt { color: var(--text); }
.v18-ok-n { color: var(--muted); font-size: 13.5px; font-weight: 550; line-height: 1.5; margin: 10px 4px 16px; }
.v18-ok .v18-lot-grid { margin-bottom: 4px; }
#shop-seg .seg-btn[data-tab="casino"] { letter-spacing: -.35px; white-space: nowrap; }
