/* GRISHKA_V19 — эффект тапа, неоновая рамка, коллекция сезона, вход 7 дней, «3 в ряд». */
#v19-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

/* неоновая рамка сезона «Синтвейв» */
.ava.v19-frame { position: relative; overflow: visible; box-shadow: 0 0 14px rgba(255, 43, 214, .45), 0 0 22px rgba(41, 231, 255, .25); }
.ava.v19-frame::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; padding: 3px; pointer-events: none;
  background: conic-gradient(#ff2bd6, #ffd36e, #29e7ff, #9b5cff, #ff2bd6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: v19Spin 3.6s linear infinite; }
.podium-col .pav .ava.v19-frame::after { inset: -5px; padding: 3.5px; }
@keyframes v19Spin { to { transform: rotate(1turn); } }

/* коллекция сезона в GriPass */
.v19-coll { margin: 0 0 14px; padding: 14px; border-radius: 20px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 43, 214, .14), rgba(41, 231, 255, .10)), var(--surface);
  border: 1px solid rgba(255, 43, 214, .35); }
.v19-coll-t { font-size: 13px; font-weight: 800; letter-spacing: .2px; margin-bottom: 10px;
  background: linear-gradient(90deg, #ff2bd6, #29e7ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.v19-coll-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.v19-coll-row + .v19-coll-row { border-top: 1px solid var(--stroke); }
.v19-prev { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 43, 214, .35), rgba(20, 8, 40, .9)); }
.v19-prev .ava { width: 40px; height: 40px; font-size: 15px; }
.v19-fxprev { cursor: pointer; flex-direction: column; color: #fff; touch-action: manipulation; user-select: none; }
.v19-fxprev span { font-size: 20px; line-height: 1; }
.v19-fxprev small { font-size: 9.5px; opacity: .8; font-weight: 700; margin-top: 2px; }
.v19-coll-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v19-coll-b b { font-size: 14px; font-weight: 800; }
.v19-coll-b small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.v19-lock { font-size: 18px; opacity: .7; }
.v19-sw { width: 50px; height: 30px; border-radius: 99px; border: 0; padding: 0; background: var(--surface-3); position: relative; cursor: pointer; flex: none; }
.v19-sw i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.v19-sw.on { background: linear-gradient(90deg, #ff2bd6, #29e7ff); }
.v19-sw.on i { transform: translateX(20px); }

/* награда за вход */
.v19-login { text-align: center; }
.v19-login-t { font-size: 22px; font-weight: 850; letter-spacing: -.3px; }
.v19-login-s { color: var(--muted); font-size: 13px; font-weight: 600; margin: 4px 0 14px; }
.v19-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 14px; }
.v19-day { position: relative; padding: 9px 4px 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; align-items: center; gap: 4px; }
.v19-day small { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.v19-day b { font-size: 12.5px; font-weight: 800; }
.v19-day-i { height: 30px; display: grid; place-items: center; }
.v19-day-i img { height: 30px; }
.v19-day.big { grid-column: span 2; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface-2)), var(--surface-2)); }
.v19-day.big .v19-day-i, .v19-day.big .v19-day-i img { height: 38px; }
.v19-day.done { opacity: .55; }
.v19-day.done em { position: absolute; right: 6px; top: 4px; font-style: normal; color: var(--good); font-weight: 900; }
.v19-day.now { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; animation: v19Glow 1.6s ease-in-out infinite; }
@keyframes v19Glow { 50% { box-shadow: 0 0 0 2px var(--accent) inset, 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent); } }

/* Лавка Ашота: «3 в ряд» */
#shop-casino.v19-m3 #casino-feed, #shop-casino.v19-m3 #casino-me, #shop-casino.v19-m3 .casino-note,
#shop-casino.v19-m3 > .page-head.sub:has(+ #casino-feed) { display: none; }
#casino-seg .seg-btn { font-size: 12.5px; padding-left: 2px; padding-right: 2px; white-space: nowrap; }
.v19-m3-card { padding: 16px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--stroke));
  background: radial-gradient(120% 90% at 50% 0%, rgba(41, 231, 255, .12), transparent 70%), var(--surface); box-shadow: var(--shadow-sm); }
.v19-m3-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.v19-m3-cans { display: flex; flex: none; }
.v19-m3-cans img { height: 50px; margin-right: -12px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.v19-m3-cans img:nth-child(2) { transform: translateY(-5px) rotate(4deg); }
.v19-m3-cans img:nth-child(3) { transform: rotate(9deg); margin-right: 0; }
.v19-m3-t { font-size: 19px; font-weight: 850; letter-spacing: -.3px; }
.v19-m3-s { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; line-height: 1.35; }
.v19-m3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.v19-m3-grid > div { padding: 9px 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); text-align: center;
  display: flex; flex-direction: column; gap: 3px; }
.v19-m3-grid small { font-size: 10.5px; color: var(--muted); font-weight: 650; }
.v19-m3-grid b { font-size: 15px; font-weight: 850; }
.v19-shards { display: flex; align-items: center; gap: 6px; margin: 12px 2px; }
.v19-shards span { width: 26px; height: 10px; border-radius: 99px; background: var(--surface-3); }
.v19-shards span.on { background: linear-gradient(90deg, #22c55e, #29e7ff); box-shadow: 0 0 8px rgba(41, 231, 255, .5); }
.v19-shards small { font-size: 11.5px; color: var(--muted); font-weight: 650; margin-left: 4px; }
.v19-m3-go { min-height: 52px; font-size: 16px; }
.v19-m3-note { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; margin-top: 10px; line-height: 1.45; }
.v19-m3-rules { margin: 12px 4px; font-size: 12px; line-height: 1.5; }

.v19-game { user-select: none; -webkit-user-select: none; }
.v19-hud { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.v19-hud > div:first-child { padding: 8px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); text-align: center; }
.v19-hud small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 650; }
.v19-hud b { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.v19-score { flex: 1; padding: 8px 12px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); }
.v19-bar { position: relative; height: 8px; border-radius: 99px; background: var(--surface-3); margin-top: 6px; }
.v19-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #ffd36e, #ff4d4d); transition: width .35s; }
.v19-bar em { position: absolute; top: -7px; transform: translateX(-50%); font-style: normal; font-size: 16px; color: var(--surface-3);
  text-shadow: 0 0 0 transparent; transition: color .3s, transform .3s; }
.v19-bar em.on { color: #ffd36e; transform: translateX(-50%) scale(1.25); text-shadow: 0 0 8px rgba(255, 211, 110, .8); }
.v19-board { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; border-radius: 20px; touch-action: none;
  background: linear-gradient(180deg, rgba(41, 231, 255, .10), rgba(41, 231, 255, .02)), var(--surface);
  border: 1px solid var(--stroke-2); box-shadow: inset 0 0 24px rgba(41, 231, 255, .12), var(--shadow-sm); overflow: hidden; }
.v19-board::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: repeating-conic-gradient(rgba(127, 127, 127, .09) 0 25%, transparent 0 50%) 0 0 / calc(200% / 7) calc(200% / 7); }
.v19-t.c0 { background: radial-gradient(circle at 50% 56%, rgba(34, 197, 94, .30), transparent 64%); }
.v19-t.c1 { background: radial-gradient(circle at 50% 56%, rgba(255, 77, 77, .30), transparent 64%); }
.v19-t.c2 { background: radial-gradient(circle at 50% 56%, rgba(255, 211, 63, .32), transparent 64%); }
.v19-t.c3 { background: radial-gradient(circle at 50% 56%, rgba(41, 200, 255, .30), transparent 64%); }
.v19-t.c4 { background: radial-gradient(circle at 50% 56%, rgba(190, 196, 210, .26), transparent 64%); }
.v19-t.cx { background: radial-gradient(circle at 50% 56%, rgba(255, 43, 214, .35), rgba(41, 231, 255, .15) 45%, transparent 66%); }
.v19-t { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; transition: transform .2s cubic-bezier(.3, 1.2, .5, 1); will-change: transform; }
.v19-t img { display: block; height: 96%; width: auto; max-width: 92%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); transition: transform .15s; }
.v19-t.sel img { transform: scale(1.14) translateY(-2px); filter: drop-shadow(0 0 8px rgba(255, 255, 255, .7)); }
.v19-t.hint img { animation: v19Hint .9s ease-in-out 2; }
@keyframes v19Hint { 25% { transform: rotate(-12deg) scale(1.08); } 75% { transform: rotate(12deg) scale(1.08); } }
.v19-t.pop img { animation: v19Pop .25s ease-in forwards; }
@keyframes v19Pop { to { transform: scale(1.5); opacity: 0; filter: brightness(2.2); } }
.v19-t.born img { animation: v19Born .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes v19Born { from { transform: scale(.2); } }
.v19-t.k1::after, .v19-t.k2::after { content: ""; position: absolute; pointer-events: none; border-radius: 99px; z-index: 2;
  background: #fff; box-shadow: 0 0 0 1.5px rgba(10, 20, 40, .55), 0 0 8px 2px #29e7ff, 0 0 14px #ff2bd6; animation: v19Stripe 1.1s ease-in-out infinite; }
.v19-t.k1::after { left: 6%; right: 6%; top: 47%; height: 6%; }
.v19-t.k2::after { top: 4%; bottom: 4%; left: 47%; width: 6%; }
@keyframes v19Stripe { 50% { opacity: .55; } }
.v19-t.k3::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; pointer-events: none; z-index: 2;
  border: 2.5px dashed #ffb020; box-shadow: 0 0 10px rgba(255, 176, 32, .85), inset 0 0 10px rgba(255, 176, 32, .55);
  animation: v19Bomb 3s linear infinite; }
@keyframes v19Bomb { to { transform: rotate(360deg); } }
.v19-t.k4 img { animation: v19Rain 2.4s linear infinite; }
@keyframes v19Rain { 0%, 100% { filter: drop-shadow(0 0 6px #ff2bd6); } 50% { filter: drop-shadow(0 0 8px #29e7ff); } }
.v19-float { position: absolute; transform: translate(-50%, 0); font-size: 18px; font-weight: 900; color: #fff; pointer-events: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .6), 0 0 10px rgba(41, 231, 255, .8); animation: v19Float .9s ease-out forwards; white-space: nowrap; }
@keyframes v19Float { from { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 20% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -36px) scale(1.1); } }
.v19-actions { display: flex; justify-content: center; margin-top: 12px; }
.v19-actions .btn { min-width: 160px; }
.v19-end { text-align: center; }
.v19-end-stars { font-size: 46px; letter-spacing: 6px; margin-bottom: 4px; }
.v19-end-stars span { color: var(--surface-3); display: inline-block; }
.v19-end-stars span.on { color: #ffd36e; text-shadow: 0 0 14px rgba(255, 211, 110, .7); animation: v19Star .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes v19Star { from { transform: scale(0) rotate(-40deg); } }
.v19-end-t { font-size: 21px; font-weight: 850; }
.v19-end-s { color: var(--muted); font-size: 13.5px; font-weight: 650; margin: 2px 0 10px; }
.v19-end-r { font-size: 17px; font-weight: 850; color: var(--accent); margin-bottom: 8px; }
.v19-end-n { color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
