/**
 * Token System Styles
 * Styles for token balance display, purchase modal, and notifications
 */

/* Token Balance Display */
.token-balance-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #F2C879 0%, #E39A7B 100%);
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(227, 154, 123, 0.28);
    position: absolute;
    right: 60px; /* Position before the profile button */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    flex-shrink: 0;
}

.token-promo-hint {
    margin: 10px 0 4px;
    padding: 9px 12px;
    background: rgba(242, 200, 121, 0.14);
    border: 1px solid rgba(227, 154, 123, 0.35);
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    color: #8a5a3a;
}

.token-promo-hint strong {
    letter-spacing: 0.04em;
}

.token-balance-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-icon {
    font-size: 24px;
    animation: coin-spin 3s infinite;
}

@keyframes coin-spin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.token-info {
    display: flex;
    flex-direction: column;
}

.token-label {
    font-size: 11px;
    color: #8B4513;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-amount {
    font-size: 18px;
    font-weight: 700;
    color: #8B4513;
}

.buy-tokens-btn {
    padding: 6px 12px;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.buy-tokens-btn:hover {
    background: #A0522D;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

/* Token Purchase Modal */
.token-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.token-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.token-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    /* dvh pocita bez listy Safari; vh je zaloha pro stara zarizeni. */
    max-height: 80vh;
    max-height: 85dvh;
    overflow-y: auto;
    /* Bez tohohle iOS po dojeti na konec seznamu presunul rolovani na stranku
       pod oknem a clovek se uz nedostal zpatky nahoru - musel zavrit
       a znovu otevrit prohlizec. */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.token-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #e0e0e0;
}

.token-modal-header h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.token-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.token-modal-close:hover {
    color: #333;
}

.token-modal-body {
    padding: 28px;
}

.token-info-text {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.current-balance-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F2C879 0%, #E39A7B 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 16px;
}

.current-balance-info strong {
    font-size: 20px;
    color: #8B4513;
}

/* Token Packages List */
.token-packages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.token-package {
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.token-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #FFD700;
}

.token-package.featured {
    border-color: #FFD700;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.bonus-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FF4444;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
}

.package-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.package-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.package-tokens {
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.package-tokens .token-icon {
    font-size: 28px;
}

.token-count {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
}

.token-text {
    font-size: 14px;
    color: #666;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 12px 0 4px 0;
}

.package-per-token {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.buy-package-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F2C879 0%, #E39A7B 100%);
    color: #8B4513;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Payment Modal (Stripe) */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.payment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.payment-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 24px;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.payment-modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
}

.payment-modal-body {
    margin-top: 20px;
}

#token-payment-element {
    margin-bottom: 20px;
}

.submit-payment-btn {
    width: 100%;
    padding: 14px 24px;
    background: #FFD700;
    color: #8B4513;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-payment-btn:hover:not(:disabled) {
    background: #FFA500;
    transform: translateY(-2px);
}

.submit-payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Notification */
.token-success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    animation: slideInRight 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.success-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.success-icon {
    font-size: 32px;
}

.success-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #333;
}

.success-text p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
}

/* Gift Success Modal */
.gift-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.gift-success-modal .success-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: popIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-animation {
    position: relative;
}

.success-checkmark {
    font-size: 64px;
    animation: checkmarkPop 0.5s ease;
}

@keyframes checkmarkPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.floating-hearts {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: floatUp 2s ease infinite;
}

@keyframes floatUp {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50px);
        opacity: 0;
    }
}

.gift-success-modal h2 {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.success-message {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.reward-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.reward-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.success-close-btn {
    padding: 12px 32px;
    background: #FFD700;
    color: #8B4513;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-close-btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .token-packages-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .token-package {
        padding: 16px;
    }

    .token-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .token-balance-display {
        padding: 6px 10px;
        gap: 6px;
        right: 50px; /* Adjust for mobile profile button */
        border-radius: 16px;
    }

    .token-label {
        font-size: 9px;
    }

    .token-amount {
        font-size: 14px;
    }
    
    .token-icon {
        font-size: 20px;
    }

    .buy-tokens-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .buy-tokens-btn i {
        font-size: 10px;
    }
}

/* No packages message */
.no-packages {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}


/* Nakup srdicek - styl jako uvod a chat (Adam 10. 10. 2026) */
#token-purchase-modal .token-modal-content { background: linear-gradient(175deg, #2a1230 0%, #170d20 60%, #120a18 100%) !important;
    border: 1px solid rgba(255,95,162,.35) !important; color: #F7EFF6 !important; overflow-x: hidden; }
#token-purchase-modal .tm-hlava { position: relative; padding: 0 !important; height: 120px; border: none !important; display: flex; align-items: flex-end;
    background: none !important; }
#token-purchase-modal .tm-foto { position: absolute; inset: 0; background: url('/static/images/web/srdicka-480.webp') center 22% / cover; }
#token-purchase-modal .tm-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,10,24,.1), #2a1230); }
#token-purchase-modal .tm-hlava h2 { position: relative; z-index: 1; margin: 0 0 6px 18px !important; color: #fff !important; font-size: 1.3rem !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.6); }
#token-purchase-modal .token-modal-close { position: absolute !important; top: 10px; right: 10px; z-index: 2; background: rgba(0,0,0,.45) !important; color: #fff !important;
    border-radius: 50%; width: 34px; height: 34px; }
#token-purchase-modal .token-info-text { color: rgba(247,239,246,.8) !important; }
#token-purchase-modal .token-info-text b { color: #fff; }
#token-purchase-modal .tm-ceny { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#token-purchase-modal .tm-ceny li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .74rem; padding: 8px 4px; border-radius: 12px; text-align: center;
    background: rgba(255,255,255,.05); color: rgba(247,239,246,.85); }
#token-purchase-modal .tm-ceny li b { color: #F2C879; font-size: .82rem; }
#token-purchase-modal .tm-ceny li span { font-size: 1.1rem; }
#token-purchase-modal .current-balance-info { background: rgba(242,200,121,.12) !important; border: 1px solid rgba(242,200,121,.35) !important; color: #F7EFF6 !important; }
#token-purchase-modal .current-balance-info strong { color: #F2C879 !important; }
#token-purchase-modal .token-package { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.12) !important; color: #F7EFF6 !important; }
#token-purchase-modal .token-package.featured { background: linear-gradient(165deg, rgba(232,17,127,.22), rgba(60,20,70,.5)) !important; border-color: rgba(255,95,162,.6) !important; }
#token-purchase-modal .token-package :is(h3, .token-count, .package-price) { color: #fff !important; -webkit-text-fill-color: #fff; }
#token-purchase-modal .token-package :is(.package-desc, .package-per-token, .token-text, .package-extra) { color: rgba(247,239,246,.65) !important; }
#token-purchase-modal .package-co { font-size: .76rem; color: #F2C879; margin: 4px 0; }
#token-purchase-modal .buy-package-btn { background: linear-gradient(135deg, #FF5FA2, #E8117F) !important; color: #fff !important; border-radius: 999px !important; border: none !important; }
/* Dlazdice balicku: tri vedle sebe, velke cislo uprostred (Adam 10. 10. 2026) */
#token-purchase-modal .token-packages-list { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 12px 10px !important; margin-top: 6px; }
#token-purchase-modal .token-package.tp { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 20px 6px 12px !important; border-radius: 16px !important; cursor: pointer; min-width: 0; }
#token-purchase-modal .tp .bonus-badge { position: absolute; top: -9px; left: 50%; right: auto !important; transform: translateX(-50%); white-space: nowrap;
    font-size: .64rem !important; padding: 3px 8px !important; border-radius: 999px; background: linear-gradient(135deg, #FBE3A6, #E9B95C) !important; color: #2a0f20 !important; font-weight: 700; }
#token-purchase-modal .tp-pocet { font-size: 2.3rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
#token-purchase-modal .tp-jednotka { font-size: .78rem; color: #FF8CC0; margin-top: 2px; }
#token-purchase-modal .tp-co { font-size: .66rem; color: rgba(247,239,246,.55); margin-top: 6px; line-height: 1.25; }
#token-purchase-modal .tp-cena { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 10px 0 8px; }
#token-purchase-modal .tp .buy-package-btn { width: 100%; min-height: 46px; padding: 12px 6px !important; font-size: 1.02rem !important; font-weight: 800; box-shadow: 0 8px 20px rgba(232,17,127,.4); }
@media (max-width: 360px) { #token-purchase-modal .tp-pocet { font-size: 1.55rem; } }
/* Na PC uzsi okno (balicky 2x2, fotka nahore se neorizne do pruhu oci) */
@media (min-width: 769px) { #token-purchase-modal .token-modal-content { max-width: 500px !important; width: 100% !important; max-height: 95vh !important; }
    #token-purchase-modal .tm-hlava { height: 170px; } #token-purchase-modal .tm-foto { background-position: center 25%; } }
#token-purchase-modal .token-info-text { font-size: .9rem !important; margin-bottom: 10px !important; }
#token-purchase-modal .current-balance-info { padding: 8px 12px !important; margin-bottom: 12px !important; }
@media (min-width: 769px) and (max-height: 820px) {
    #token-purchase-modal .tm-hlava { height: 120px; }
    #token-purchase-modal .token-package.tp { padding: 16px 6px 10px !important; }
    #token-purchase-modal .tp-cena { margin: 6px 0 6px; }
    #token-purchase-modal .tp .buy-package-btn { min-height: 42px; padding: 10px 6px !important; }
    #token-purchase-modal .tm-ceny li { padding: 6px 4px; }
}

/* Nakup jednim klikem (app/services/jeden_klik.py): misto balicku potvrzeni s cenou a kartou */
#token-purchase-modal .tm-karta { margin: -4px 0 10px; font-size: .78rem; color: rgba(247,239,246,.7); text-align: center; }
#token-purchase-modal.tm-potvrzuje :is(.token-packages-list, .tm-ceny, .token-info-text, .tm-karta) { display: none !important; }
#token-purchase-modal .tm-potvrzeni { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 6px; }
#token-purchase-modal .tm-potvrzeni[hidden] { display: none; }
#token-purchase-modal .tm-pv-souhrn { text-align: center; padding: 16px 10px; border-radius: 16px;
    background: linear-gradient(165deg, rgba(232,17,127,.22), rgba(60,20,70,.5)); border: 1px solid rgba(255,95,162,.6); }
#token-purchase-modal .tm-pv-pocet { font-size: 2.4rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.02em; }
#token-purchase-modal .tm-pv-cena { margin-top: 6px; font-size: .9rem; color: #F2C879; }
#token-purchase-modal .tm-pv-koupit { width: 100%; min-height: 54px; padding: 14px 16px; border: none; border-radius: 999px;
    background: linear-gradient(135deg, #FF5FA2, #E8117F); color: #fff; font-size: 1.02rem; font-weight: 800; line-height: 1.25;
    cursor: pointer; box-shadow: 0 8px 20px rgba(232,17,127,.4); }
#token-purchase-modal .tm-pv-koupit:disabled { opacity: .6; cursor: default; }
#token-purchase-modal .tm-pv-karta { white-space: nowrap; }
#token-purchase-modal .tm-pv-stav { margin: 0; font-size: .86rem; line-height: 1.35; text-align: center; color: #F7EFF6; }
#token-purchase-modal .tm-pv-stav.chyba { color: #FFB3C7; }
#token-purchase-modal .tm-pv-stav.pozor { color: #F2C879; }
#token-purchase-modal .tm-pv-stav.ok { color: #9FE3B8; }
#token-purchase-modal .tm-pv-pozn { margin: 0; font-size: .74rem; line-height: 1.35; text-align: center; color: rgba(247,239,246,.6); }
#token-purchase-modal .tm-pv-odkaz[hidden] { display: none; }
#token-purchase-modal .tm-pv-dalsi { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
#token-purchase-modal .tm-pv-odkaz { background: none; border: none; min-height: 40px; padding: 8px 2px; color: #FF8CC0; font-size: .86rem;
    text-decoration: underline; cursor: pointer; }
/* Uzky telefon: oba odkazy pod tlacitkem na jeden radek (jinak „Zpět“ az po rolovani) */
@media (max-width: 360px) {
    #token-purchase-modal .tm-pv-dalsi { gap: 4px; }
    #token-purchase-modal .tm-pv-odkaz { font-size: .78rem; }
}
/* Nizky displej (telefon na sirku): fotka v zahlavi a velky souhrn odsunuly
   tlacitko nakupu az pod okraj okna. */
@media (max-height: 500px) {
    #token-purchase-modal .tm-hlava { height: 52px; }
    #token-purchase-modal .tm-hlava h2 { font-size: 1.1rem !important; margin-bottom: 4px !important; }
    #token-purchase-modal .token-modal-close { top: 8px; width: 30px; height: 30px; }
    #token-purchase-modal .token-modal-body { padding: 12px 18px 14px !important; }
    #token-purchase-modal.tm-potvrzuje .current-balance-info { display: none !important; }
    #token-purchase-modal .tm-potvrzeni { gap: 8px; }
    #token-purchase-modal .tm-pv-souhrn { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 8px 10px; }
    #token-purchase-modal .tm-pv-pocet { font-size: 1.6rem; }
    #token-purchase-modal .tm-pv-cena { margin-top: 0; }
    #token-purchase-modal .tm-pv-koupit { min-height: 48px; padding: 11px 16px; }
}

/* Z „došla srdíčka“: balicek, ktery chybejici pokryje (token-system.js balicekNaChybi) */
#token-purchase-modal .tm-chybi { margin: -4px 0 10px; font-size: .86rem; font-weight: 600; color: #FFB3D4; text-align: center; }
#token-purchase-modal .token-package.pokryje { border: 2px solid #FF5FA2 !important; box-shadow: 0 0 0 4px rgba(255,95,162,.18), 0 10px 26px rgba(232,17,127,.35); }
#token-purchase-modal .tp-pokryje { font-size: .72rem; font-weight: 700; color: #FFB3D4; margin: -2px 0 8px; }

/* Mobil (Adam 14. 10. 2026, navrh Fable): nahore balicky, vysvetleni a cenik az pod nimi */
@media (max-width: 768px) {
    #token-purchase-modal .tm-hlava { height: 96px !important; }
    #token-purchase-modal .token-modal-body { display: flex; flex-direction: column; }
    #token-purchase-modal .tm-chybi { order: 1; font-size: .95rem; font-weight: 700; }
    #token-purchase-modal .token-packages-list { order: 2; }
    #token-purchase-modal .tm-potvrzeni { order: 2; }
    #token-purchase-modal .current-balance-info { order: 3; margin: 12px 0 6px !important; padding: 6px 12px !important; font-size: .85rem; }
    #token-purchase-modal .tm-karta { order: 4; }
    #token-purchase-modal .token-info-text { order: 5; font-size: .8rem !important; opacity: .75; margin: 6px 0 4px !important; }
    #token-purchase-modal .tm-ceny { order: 6; }
    #token-purchase-modal .tp .buy-package-btn { min-height: 46px; }
}

/* Necleni pri nedostatku: i clenstvi (token-system.js kontext.clenstvi) */
#token-purchase-modal .tm-clenstvi { display: block; margin: -2px 0 12px; padding: 9px 12px; border-radius: 12px; text-align: center;
    font-size: .82rem; color: #F7EFF6; text-decoration: none; border: 1px dashed rgba(242,200,121,.5); background: rgba(242,200,121,.06); }
#token-purchase-modal .tm-clenstvi b { color: #F2C879; }
#token-purchase-modal .tm-clenstvi[hidden] { display: none; }
@media (max-width: 768px) { #token-purchase-modal .tm-clenstvi { order: 1; } }
/* Vic Elisky v okne srdicek (Adam 17. 10. 2026) */
@media (min-height: 720px) {
    #token-purchase-modal .tm-hlava { height: 220px; }
    #token-purchase-modal .tm-foto { background-position: center 22%; }
}
/* PC: velka fotka jako u registrace - at je videt i srdicko v rukou (Adam 17. 10. 2026) */
@media (min-width: 769px) and (min-height: 760px) {
    #token-purchase-modal .tm-hlava { height: 330px; }
    #token-purchase-modal .tm-foto { background-position: center 38%; }
}
/* Svetlejsi fotka v okne srdicek (Adam 17. 10. 2026) - ztmaveni jen dole pod nadpisem */
#token-purchase-modal .tm-foto { filter: brightness(1.18) saturate(1.05); }
#token-purchase-modal .tm-foto::after { background: linear-gradient(180deg, transparent 0%, transparent 62%, rgba(42,18,48,.85) 92%, #2a1230 100%); }
