* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior: none;
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

/* ===== ХЕДЕР ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    background: #1b1b1b;
    border-bottom: 3px solid #ff9000;
    position: sticky;
    top: 0;
    z-index: 500;
}
.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 1px; color: #fff; }
.logo span { display: inline-block; background: #ff9000; color: #000; padding: 1px 6px; border-radius: 4px; margin: 0 2px; font-weight: 900; }
.nav-pills { display: flex; gap: 6px; }
.pill { padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #999; background: #2c2c2c; cursor: pointer; transition: all 0.2s; }
.pill.active, .pill:hover { background: #ff9000; color: #000; }
.pill.sound-toggle { background: transparent; font-size: 1.1rem; padding: 4px 8px; min-width: 36px; text-align: center; }

/* ===== ЭКРАНЫ ===== */
.screen { display: none; flex-direction: column; align-items: center; animation: fadeIn 0.3s ease; }
.screen.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== ВЫБОР ===== */
#select { background: #0a0a0a; }
.section-bar { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; max-width: 900px; }
.bar-accent { width: 4px; height: 22px; background: #ff9000; border-radius: 2px; flex-shrink: 0; }
.section-bar h2 { font-size: clamp(0.85rem, 2.5vw, 1.1rem); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #ccc; }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 8px 12px 30px; max-width: 900px; width: 100%; }
.card { width: calc(50% - 6px); max-width: 430px; background: #1b1b1b; border-radius: 6px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(255,144,0,0.15); }
.card:active { transform: scale(0.97); }

.thumb { position: relative; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease, filter 0.5s ease; filter: brightness(0.9) saturate(0.9); }
.card:hover .thumb img { transform: scale(1.07); filter: brightness(1.05) saturate(1.1); }

.thumb::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.thumb .card-shine {
    position: absolute;
    top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    pointer-events: none; z-index: 2;
    transition: left 0.6s ease;
}
.card:hover .card-shine { left: 200%; }
.thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
.card:hover .thumb-overlay { opacity: 1; }
.play-btn { width: 50px; height: 50px; background: #ff9000; color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(255,144,0,0.5); }

.card-bottom { padding: 10px 12px; }
.card-title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.7rem; color: #888; }
.card-meta span:first-child { color: #ff9000; }
.views { color: #666 !important; }

.footer { width: 100%; text-align: center; padding: 20px; border-top: 1px solid #1b1b1b; margin-top: 10px; }
.footer p { font-size: 0.7rem; color: #444; text-transform: uppercase; letter-spacing: 1px; }

/* ===== ИГРОВОЙ ЭКРАН ===== */
#game {
    cursor: pointer;
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.game-bg { position: absolute; inset: 0; z-index: 0; transition: background 0.6s ease; }
.game-bg.bg-anora {
    background:
        radial-gradient(circle at 15% 85%, rgba(255,50,80,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255,120,60,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(100,10,20,0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 30%, rgba(255,60,80,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(200,30,60,0.06) 0%, transparent 50%),
        repeating-conic-gradient(rgba(255,50,50,0.015) 0deg 30deg, transparent 30deg 60deg),
        #0a0408;
}
.game-bg.bg-durdona {
    background:
        radial-gradient(circle at 15% 85%, rgba(180,40,220,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255,60,180,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(60,10,80,0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 25% 35%, rgba(200,50,200,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 65%, rgba(150,30,180,0.06) 0%, transparent 50%),
        repeating-conic-gradient(rgba(180,50,255,0.015) 0deg 30deg, transparent 30deg 60deg),
        #08040a;
}
.game-bg.bg-imona {
    background:
        radial-gradient(circle at 15% 85%, rgba(30,80,255,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(60,150,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(10,20,80,0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 35% 25%, rgba(50,100,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 65% 75%, rgba(30,70,200,0.06) 0%, transparent 50%),
        repeating-conic-gradient(rgba(50,100,255,0.015) 0deg 30deg, transparent 30deg 60deg),
        #04060a;
}
.game-bg.bg-soliha {
    background:
        radial-gradient(circle at 15% 85%, rgba(255,180,30,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255,200,60,0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(80,50,10,0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 30%, rgba(255,160,40,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(200,130,20,0.06) 0%, transparent 50%),
        repeating-conic-gradient(rgba(255,180,50,0.015) 0deg 30deg, transparent 30deg 60deg),
        #0a0804;
}

/* Боке-шары на фоне */
.bokeh {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
    opacity: 0;
}
.bokeh.float1 { animation: bokeh1 7s ease-in-out infinite; }
.bokeh.float2 { animation: bokeh2 9s ease-in-out infinite 1s; }
.bokeh.float3 { animation: bokeh3 6s ease-in-out infinite 2s; }
.bokeh.float4 { animation: bokeh4 8s ease-in-out infinite 0.5s; }
.bokeh.float5 { animation: bokeh5 10s ease-in-out infinite 3s; }

@keyframes bokeh1 { 0%,100% { opacity:0.3; transform:translate(0,0) scale(1); } 50% { opacity:0.6; transform:translate(15px,-25px) scale(1.2); } }
@keyframes bokeh2 { 0%,100% { opacity:0.25; transform:translate(0,0) scale(1); } 50% { opacity:0.5; transform:translate(-20px,15px) scale(1.15); } }
@keyframes bokeh3 { 0%,100% { opacity:0.35; transform:translate(0,0) scale(1); } 50% { opacity:0.55; transform:translate(10px,20px) scale(1.25); } }
@keyframes bokeh4 { 0%,100% { opacity:0.2; transform:translate(0,0) scale(1); } 50% { opacity:0.45; transform:translate(-15px,-10px) scale(1.1); } }
@keyframes bokeh5 { 0%,100% { opacity:0.3; transform:translate(0,0) scale(1); } 50% { opacity:0.5; transform:translate(20px,10px) scale(1.3); } }

/* Виньетка */
.game-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.game-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(27,27,27,0.9);
    border-bottom: 1px solid #252525;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(8px);
}
.back-link { font-size: 0.8rem; color: #888; cursor: pointer; transition: color 0.2s; }
.back-link:hover { color: #ff9000; }
.game-label { font-size: 0.95rem; font-weight: 700; color: #ff9000; text-transform: uppercase; letter-spacing: 2px; animation: pulse-text 2s ease-in-out infinite; }
@keyframes pulse-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.counter { font-size: 0.8rem; color: #666; font-weight: 700; min-width: 60px; text-align: right; }

/* ===== РАМКА С ПРОГРЕССОМ (снизу вверх с двух сторон) ===== */
.ring-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 20px;
}

.progress-ring {
    position: relative;
    max-width: 550px;
    width: 100%;
    border-radius: 10px;
    background: #222;
    padding: 5px;
}

/* Левая полоска */
.progress-ring {
    --side: 0%;
}
.progress-ring::before,
.progress-ring::after {
    content: '';
    position: absolute;
    width: 5px;
    bottom: 0;
    height: var(--side);
    background: #ff9000;
    transition: height 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255,144,0,0.6);
}
.progress-ring::before {
    left: 0;
    border-radius: 10px 0 0 10px;
}
.progress-ring::after {
    right: 0;
    border-radius: 0 10px 10px 0;
}

/* Нижняя полоска */
.progress-bottom {
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;
    height: 5px;
    background: #ff9000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    z-index: 2;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 8px rgba(255,144,0,0.5);
}

/* Верхняя полоска */
.progress-top {
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    height: 5px;
    background: #ff9000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    z-index: 2;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 8px rgba(255,144,0,0.5);
}

.ring-inner {
    border-radius: 6px;
    overflow: hidden;
    background: #111;
    position: relative;
}

.ring-inner img {
    width: 100%;
    display: block;
    pointer-events: none;
    animation: breathe 4s ease-in-out infinite;
    transform-origin: center bottom;
}

/* Дыхание + покачивание */
@keyframes breathe {
    0%   { transform: scale(1) translateY(0) rotate(0deg); }
    25%  { transform: scale(1.005) translateY(-0.5px) rotate(0.15deg); }
    50%  { transform: scale(1.01) translateY(-1.5px) rotate(0deg); }
    75%  { transform: scale(1.005) translateY(-0.5px) rotate(-0.15deg); }
    100% { transform: scale(1) translateY(0) rotate(0deg); }
}

/* Пульсация при клике */
@keyframes imgPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.025); filter: brightness(1.15); }
    100% { transform: scale(1); }
}
.ring-inner img.pulse {
    animation: imgPulse 0.18s ease;
}

/* Блик-свайп по фото */
.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 4;
    animation: shineSwipe 6s ease-in-out infinite 2s;
}
@keyframes shineSwipe {
    0%, 80%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    40% { left: 200%; opacity: 1; }
    50% { opacity: 0; left: 200%; }
}

/* Тень под фото — "пол" */
.img-shadow {
    position: absolute;
    bottom: -22px;
    left: 8%;
    right: 8%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(255,144,0,0.25) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 3;
    animation: shadowPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shadowPulse {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.05); }
}

/* Глубокая тень внутри рамки */
.ring-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

/* Тёплый оверлей при наборе прогресса */
.warmth {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,100,50,0.0) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
    border-radius: 6px;
    transition: background 0.5s ease;
}

/* Параллакс-обёртка */
.progress-ring {
    transition: transform 0.15s ease-out, background 0.15s ease;
    transform: perspective(800px) rotateX(0deg) rotateY(0deg);
}

/* Уход старого фото */
.ring-inner img.img-out {
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(2);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Появление нового фото — яркая вспышка */
@keyframes imgRevealBright {
    0% { opacity: 0; transform: scale(0.92); filter: brightness(3) saturate(0); }
    40% { opacity: 1; filter: brightness(1.8) saturate(0.5); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1) saturate(1); }
}
.ring-inner img.img-in {
    animation: imgRevealBright 0.5s ease forwards;
}

/* Вспышка-оверлей при смене */
.flash-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,144,0,0.6) 0%, rgba(255,255,255,0.3) 40%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    border-radius: 6px;
}
.flash-overlay.active {
    animation: flashBang 0.5s ease-out forwards;
}
@keyframes flashBang {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.3); }
}

/* Тремор при приближении к раздеванию */
@keyframes tremor {
    0%, 100% { transform: perspective(800px) translate(0, 0); }
    10% { transform: perspective(800px) translate(-1px, 0.5px); }
    20% { transform: perspective(800px) translate(1px, -0.5px); }
    30% { transform: perspective(800px) translate(-0.5px, 1px); }
    40% { transform: perspective(800px) translate(1px, 0.5px); }
    50% { transform: perspective(800px) translate(-1px, -0.5px); }
    60% { transform: perspective(800px) translate(0.5px, 1px); }
    70% { transform: perspective(800px) translate(-0.5px, -1px); }
    80% { transform: perspective(800px) translate(1px, 0.5px); }
    90% { transform: perspective(800px) translate(0, -0.5px); }
}
.progress-ring.tremor {
    animation: tremor 0.3s ease infinite;
}

/* Плавающие карточки на выборе */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.card { animation: cardFloat 3s ease-in-out infinite; }
.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 1s; }
.card:nth-child(4) { animation-delay: 1.5s; }
.card:hover { animation-play-state: paused; }

/* ===== СЕРДЕЧКИ ===== */
.heart { position: fixed; pointer-events: none; z-index: 300; animation: heartFloat 1.2s ease-out forwards; }
@keyframes heartFloat {
    0% { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
    100% { opacity: 0; transform: translateY(-120px) translateX(var(--dx, 0px)) scale(0.3) rotate(20deg); }
}
.heart.burst { animation: heartBurst 1.4s ease-out forwards; }
@keyframes heartBurst {
    0% { opacity: 1; transform: translateY(0) translateX(0) scale(0.5); }
    30% { opacity: 1; transform: translateY(-40px) translateX(var(--dx, 0px)) scale(1.3); }
    100% { opacity: 0; transform: translateY(-200px) translateX(var(--dx, 0px)) scale(0) rotate(30deg); }
}

/* ===== ПРОИЗВОДИТЕЛЬНОСТЬ ===== */
.ring-inner img {
    will-change: transform, opacity, filter;
}
.bokeh {
    will-change: transform, opacity;
}
.progress-ring {
    will-change: transform, box-shadow;
}
.card {
    will-change: transform;
}
.heart {
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .ring-inner img { animation: none !important; }
    .bokeh { animation: none !important; opacity: 0.3 !important; }
    .shine { animation: none !important; }
    .img-shadow { animation: none !important; }
    .card { animation: none !important; }
    .game-label { animation: none !important; }
}

/* ===== TOUCH-ФИДБЕК ===== */
@media (hover: none) and (pointer: coarse) {
    .card:hover { transform: none; box-shadow: none; }
    .card:hover .thumb img { transform: none; filter: brightness(0.9) saturate(0.9); }
    .card:hover .thumb-overlay { opacity: 0; }
    .card:hover .card-shine { left: -80%; }

    .card:active { transform: scale(0.95); animation-play-state: paused; }
    .card:active .thumb img { filter: brightness(1.1) saturate(1.1); transform: scale(1.04); }
    .card:active .thumb-overlay { opacity: 1; }
}

/* ===== АДАПТИВ ===== */

/* Большие экраны */
@media (min-width: 1024px) {
    .grid { max-width: 1000px; gap: 18px; padding: 12px 24px 40px; }
    .progress-ring { max-width: 550px; }
    .card-bottom { padding: 14px 16px; }
    .card-title { font-size: 1rem; }
}

/* Планшеты */
@media (min-width: 700px) and (max-width: 1023px) {
    .grid { max-width: 950px; gap: 16px; padding: 10px 20px 40px; }
    .progress-ring { max-width: 480px; }
}

/* Средние телефоны */
@media (max-width: 699px) {
    .header { padding: 0 12px; height: 50px; }
    .logo { font-size: 1.15rem; }
    .pill { padding: 5px 12px; font-size: 0.7rem; }
    .section-bar { padding: 14px 14px 10px; }
    .section-bar h2 { font-size: 0.85rem; }
    .grid { gap: 8px; padding: 8px 8px 24px; }
    .card-bottom { padding: 8px 10px; }
    .card-title { font-size: 0.85rem; }
    .card-meta { font-size: 0.65rem; }
    .game-top { padding: 10px 14px; }
    .game-label { font-size: 0.85rem; letter-spacing: 1.5px; }
    .counter { font-size: 0.75rem; min-width: 50px; }
    .back-link { font-size: 0.75rem; }
    .ring-wrap { padding: 14px; }
    .play-btn { width: 40px; height: 40px; font-size: 1rem; }
    .progress-ring { max-width: 100%; }
}

/* Маленькие телефоны */
@media (max-width: 400px) {
    .header { padding: 0 8px; height: 44px; }
    .logo { font-size: 1rem; }
    .nav-pills { gap: 3px; }
    .pill { padding: 4px 8px; font-size: 0.6rem; letter-spacing: 0.5px; }
    .section-bar { padding: 10px 8px 8px; }
    .section-bar h2 { font-size: 0.78rem; letter-spacing: 0.5px; }
    .grid { gap: 6px; padding: 6px 6px 18px; }
    .card-bottom { padding: 6px 8px; }
    .card-title { font-size: 0.75rem; }
    .card-meta { font-size: 0.6rem; }
    .game-top { padding: 8px 10px; }
    .game-label { font-size: 0.75rem; letter-spacing: 1px; }
    .counter { font-size: 0.7rem; min-width: 45px; }
    .back-link { font-size: 0.7rem; }
    .ring-wrap { padding: 8px; }
    .play-btn { width: 36px; height: 36px; font-size: 0.9rem; }
    .footer p { font-size: 0.6rem; }
}

/* Очень маленькие (SE, mini) */
@media (max-width: 350px) {
    .logo { font-size: 0.9rem; }
    .pill { padding: 3px 6px; font-size: 0.55rem; }
    .ring-wrap { padding: 6px; }
    .game-label { font-size: 0.7rem; }
}

/* Ландшафтная ориентация на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .header { height: 40px; }
    .game-top { padding: 6px 12px; }
    .ring-wrap { padding: 6px 20px; }
    .progress-ring { max-width: 350px; }
    .section-bar { padding: 8px 12px 6px; }
    .grid { padding: 4px 12px 16px; }
    .card { width: calc(25% - 9px); }
}

/* ===== FAKE TELEGRAM TOAST (retention experiment) ===== */
/* Slides in from the top, looks like a native Telegram Premium notice.
   Fixed-position + high z-index so it stays above the game canvas. */
.tg-toast {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 10000;
    background: rgba(28, 28, 30, 0.95);
    border: 1px solid rgba(84, 169, 235, 0.35);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-width: calc(100vw - 24px);
    pointer-events: none;
    animation: tg-toast-in 0.45s cubic-bezier(.2,.9,.3,1.2) forwards;
}
.tg-toast svg { flex-shrink: 0; }
.tg-toast.tg-toast-out {
    animation: tg-toast-out 0.45s ease-in forwards;
}
@keyframes tg-toast-in {
    from { transform: translate(-50%, -120%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
@keyframes tg-toast-out {
    from { transform: translate(-50%, 0); opacity: 1; }
    to { transform: translate(-50%, -120%); opacity: 0; }
}
