@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #020606;
    --accent-menta: #2ed573;
    --sidebar-bg: rgba(4, 10, 9, 0.98);
    --glass: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #fcfcfc;
    --text-dim: #8a9694;
    --text-danger: #ff5252;
}


* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-tap-highlight-color: transparent; scrollbar-width: none !important; }
*::-webkit-scrollbar { display: none !important; width: 0; }
html { height: 100%; min-height: 100%; background-color: var(--bg-base); overflow-x: hidden; overscroll-behavior-x: none; }
body { height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; width: 100%; background: radial-gradient(circle at 50% -20%, #0a241d 0%, #020606 70%) no-repeat fixed; color: var(--text-main); overflow: hidden; overflow-x: hidden; display: flex; overscroll-behavior-x: none; }

.master-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.glow-sphere { position: absolute; width: 45vw; height: 45vw; border-radius: 50%; background: var(--accent-menta); filter: blur(150px); opacity: 0.05; }


.lm-side-menu { width: 280px; height: 100%; background: var(--sidebar-bg); border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; z-index: 2000; flex-shrink: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lm-menu-card { height: 100%; display: flex; flex-direction: column; padding: 30px 20px; overflow-y: auto; }
.close-menu-btn { position: absolute; top: 20px; right: 20px; font-size: 24px; color: var(--text-dim); cursor: pointer; display: none; }
.brand-zone { margin-bottom: 30px; }
.brand-zone h1 { font-size: 24px; font-weight: 800; margin: 0; color: white; }
.brand-zone p { font-size: 10px; color: var(--accent-menta); font-weight: 700; text-transform: uppercase; margin-top: 5px; }
.menu-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; margin: 25px 0 10px; font-weight: 800; opacity: 0.6; }
.lm-menu-item { padding: 12px 14px; border-radius: 12px; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 14px; transition: 0.2s; margin-bottom: 4px; font-weight: 500; cursor: pointer; }
.lm-menu-item:hover { background: var(--glass); color: var(--accent-menta); transform: translateX(4px); }
.lm-menu-item i { width: 20px; color: var(--accent-menta); font-size: 16px; opacity: 0.9; text-align: center; }


.app-shell { flex: 1; display: flex; flex-direction: column; height: 100vh; height: 100dvh; position: relative; min-width: 0; overflow-x: hidden; }
.mobile-header { height: 60px; padding: 0 20px; display: none; align-items: center; justify-content: space-between; background: rgba(2, 6, 6, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); flex-shrink: 0; z-index: 50; }

#chat-window { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior-x: none; overscroll-behavior-y: contain; touch-action: pan-y pinch-zoom; padding: 20px 20px 10px 20px; display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 900px; margin: 0 auto; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; min-height: 0; }


.message-row {
    display: flex; width: 100%; flex-direction: column;
    animation: fadeInSlide 0.3s ease-out; position: relative;
    touch-action: pan-y pinch-zoom; transition: transform 0.2s; will-change: transform;


    padding-bottom: 30px;
    margin-bottom: 0;
}
@keyframes fadeInSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.message-row.user { align-items: flex-end; }
.message-row.assistant { align-items: flex-start; }

.bubble { max-width: 85%; padding: 12px 18px; font-size: 15px; line-height: 1.5; border-radius: 18px; width: fit-content; word-wrap: break-word; overflow-wrap: anywhere; position: relative; }
.message-row.assistant .bubble { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-border); border-bottom-left-radius: 4px; color: #e5e5e5; backdrop-filter: blur(10px); }
.message-row.user .bubble { background: linear-gradient(135deg, #2ed573, #26af5f); color: #010404; font-weight: 600; border-bottom-right-radius: 4px; box-shadow: 0 5px 20px rgba(46, 213, 115, 0.2); }


.in-bubble-quote {
    background: rgba(0, 0, 0, 0.25); border-left: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px; padding: 8px 10px; margin-bottom: 8px;
    font-size: 13px; opacity: 0.95; display: flex; flex-direction: column; text-align: left;
}
.message-row.user .in-bubble-quote { background: rgba(0, 0, 0, 0.2); border-left-color: rgba(255, 255, 255, 0.8); }
.in-bubble-quote strong { font-size: 10px; opacity: 0.8; margin-bottom: 4px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.in-bubble-quote span { font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }


.message-actions {
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;


    position: absolute;
    bottom: 5px;

    display: flex; gap: 10px; z-index: 10;
}

.message-row.user .message-actions { right: 0; left: auto; }
.message-row.assistant .message-actions { left: 0; right: auto; }


.message-row:hover .message-actions { opacity: 1; pointer-events: auto; }

.reply-btn-desktop {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-dim);
    font-size: 10px; cursor: pointer; font-weight: 700; text-transform: uppercase;
    display: flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 12px;
    transition: 0.2s; backdrop-filter: blur(4px);
}
.reply-btn-desktop:hover { background: rgba(46, 213, 115, 0.15); color: var(--accent-menta); border-color: var(--accent-menta); }


.message-row::after { content: '\f3e5'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-size: 16px; opacity: 0; transition: opacity 0.2s; }
.message-row.swiping::after { opacity: 1; }


.input-container { padding: 10px 20px 15px; width: 100%; max-width: 900px; margin: 0 auto; background: rgba(2, 6, 6, 0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); flex-shrink: 0; padding-bottom: max(15px, env(safe-area-inset-bottom)); }

.reply-bar { background: rgba(46, 213, 115, 0.1); border-left: 3px solid var(--accent-menta); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; animation: slideUpFade 0.3s ease-out; }
.reply-bar.hidden { display: none; }
.reply-content { font-size: 12px; color: #e5e5e5; max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-content strong { color: var(--accent-menta); display: block; margin-bottom: 2px; }
.close-reply { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 5px; font-size: 14px; }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#chat-form { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 24px; padding: 8px 8px 8px 12px; display: flex; align-items: flex-end; gap: 8px; transition: 0.3s; }
#chat-form.disabled { opacity: 0.5; pointer-events: none; }
#chat-form:focus-within { border-color: rgba(46, 213, 115, 0.5); box-shadow: 0 0 15px rgba(46, 213, 115, 0.1); }
textarea { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 16px; resize: none; max-height: 120px; padding: 12px 0; line-height: 1.4; overflow-y: auto; }
#send-btn { background: var(--accent-menta); color: #010404; border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 2px; transition: 0.2s; }
#send-btn:hover { transform: scale(1.1); }


#mic-btn { background: transparent; border: none; color: var(--text-dim); font-size: 18px; cursor: pointer; padding: 0 5px; margin-bottom: 3px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
#mic-btn:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }
#mic-btn.listening { color: #ff5252; background: rgba(255, 82, 82, 0.1); animation: pulseMic 1.5s infinite ease-in-out; }
@keyframes pulseMic { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4); } 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); } }

#attach-btn { background: transparent; border: none; color: var(--text-dim); font-size: 17px; cursor: pointer; padding: 0 5px; margin-bottom: 3px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
#attach-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }

.image-preview-bar { display:flex; align-items:center; gap:10px; margin-bottom:10px; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); }
.image-preview-bar.hidden { display:none; }
.image-preview-thumb-wrap { width:48px; height:48px; flex:0 0 auto; border-radius:12px; overflow:hidden; background:rgba(255,255,255,.05); }
.image-preview-thumb { width:100%; height:100%; object-fit:cover; display:block; }
.image-preview-copy { min-width:0; flex:1 1 auto; }
.image-preview-copy strong { display:block; color:#fff; font-size:12px; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.image-preview-copy span { display:block; margin-top:3px; color:rgba(255,255,255,.52); font-size:10px; line-height:1.35; }
.image-preview-remove { width:34px; height:34px; border:none; border-radius:50%; background:rgba(255,255,255,.06); color:rgba(255,255,255,.82); cursor:pointer; display:grid; place-items:center; flex:0 0 auto; }
.image-preview-remove:hover { background:rgba(255,255,255,.1); }

.bubble.with-image { overflow:hidden; }
.chat-image-wrap { margin-bottom:8px; }
.chat-image-link { display:block; text-decoration:none; }
.chat-image { display:block; width:min(100%, 320px); max-height:320px; object-fit:cover; border-radius:14px; border:1px solid rgba(255,255,255,.08); background:#0d1413; }
.chat-image-caption { margin-top:6px; color:rgba(255,255,255,.52); font-size:10px; line-height:1.3; word-break:break-word; }

.clear-chat-container { text-align: center; margin-top: 10px; }
.clear-chat-btn { background: transparent; border: none; color: var(--text-dim); font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; opacity: 0.5; }
.clear-chat-btn:hover { color: var(--text-danger); opacity: 1; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #0f172a; border: 1px solid var(--glass-border); padding: 25px; border-radius: 20px; width: 90%; max-width: 350px; text-align: center; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.btn-cancel { background: rgba(255,255,255,0.05); color: white; border: none; padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; flex: 1; }
.btn-confirm { background: var(--text-danger); color: white; border: none; padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; flex: 1; }

.welcome-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px; animation: fadeInUp 0.6s ease-out; text-align:center; }
.welcome-container.exit { animation: explodeOut 0.5s forwards !important; pointer-events: none; }
@keyframes explodeOut { to { opacity: 0; transform: scale(1.5); filter: blur(20px); } }
.welcome-icon-box { width: 90px; height: 90px; background: rgba(46, 213, 115, 0.05); border: 2px solid rgba(46, 213, 115, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; animation: pulseIconIntense 2.5s infinite ease-in-out; }
.welcome-icon { font-size: 36px; color: var(--accent-menta); }
.welcome-title { font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.welcome-text { font-size: 16px; color: var(--text-dim); max-width: 320px; line-height: 1.6; font-weight: 500; }
@keyframes pulseIconIntense { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4); } 70% { transform: scale(1.15); box-shadow: 0 0 0 20px rgba(46, 213, 115, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); } }


.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0 20px 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(5px);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    height: auto;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    animation: fadeInIndicator 0.3s ease;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-menta);
    border-radius: 50%;
    opacity: 0.3;
    animation: typingBounce 1.4s infinite ease-in-out both;
}


.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }


@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.7);
        opacity: 0.3;
    }
    40% {
        transform: scale(1.1);
        opacity: 1;
    }
}

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

.hidden { display: none !important; }

@media (max-width: 1024px) {
    .lm-side-menu { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); width: 85%; max-width: 320px; }
    .lm-side-menu.open { transform: translateX(0); box-shadow: 50px 0 100px rgba(0,0,0,0.8); }
    .mobile-header { display: flex; }
    .close-menu-btn { display: block; }
    .message-actions { display: none !important; } /* Mobilon nincs hover gomb */
}
@media (min-width: 1025px) {
    .lm-side-menu { position: relative; transform: none; display: flex; }
    .mobile-header { display: none; } .close-menu-btn { display: none; }
}
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1500; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(5px); }
.overlay.active { opacity: 1; pointer-events: auto; }



.auth-shell {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;
    position: relative;
    z-index: 10;


    overflow-y: auto;
}


.auth-card {
    background: rgba(4, 10, 9, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;

    width: 100%;
    max-width: 400px;

    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);


    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    position: relative;


    margin: auto;
}


.auth-logo {
    width: 60px; height: 60px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid var(--accent-menta);
    color: var(--accent-menta);
    border-radius: 50%;
    font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
}


.auth-title h1 {
    font-size: 24px; font-weight: 800; color: white;
    margin-bottom: 5px; letter-spacing: -0.5px;
}
.auth-title p {
    font-size: 14px; color: var(--text-dim); margin-bottom: 30px;
}


.auth-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: #ff8a8a;
    padding: 12px; border-radius: 12px;
    font-size: 13px; margin-bottom: 20px;
    text-align: left; display: flex; align-items: center; gap: 10px;
}
.auth-error::before {
    content: '\f071'; font-family: "Font Awesome 6 Free"; font-weight: 900;
}

/* Form */
.auth-form {
    display: flex; flex-direction: column; gap: 15px; text-align: left;
}
.auth-form label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--text-dim); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 1px;
}
.auth-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    outline: none; transition: 0.3s;
}
.auth-form input:focus {
    border-color: var(--accent-menta);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
    background: rgba(255, 255, 255, 0.08);
}
.auth-form input::placeholder { color: rgba(255, 255, 255, 0.2); }


.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-menta), #26af5f);
    color: #010404; border: none;
    padding: 14px; border-radius: 12px;
    font-size: 16px; font-weight: 800; text-transform: uppercase;
    cursor: pointer; transition: 0.3s; margin-top: 10px;
    box-shadow: 0 5px 15px rgba(46, 213, 115, 0.2);
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3); }


.auth-footer { margin-top: 25px; font-size: 14px; color: var(--text-dim); }
.auth-footer a { color: var(--accent-menta); text-decoration: none; font-weight: 600; transition: 0.2s; }
.auth-footer a:hover { text-decoration: underline; color: #fff; }


@media (max-width: 480px) {
    .auth-shell {
        padding: 15px;
    }

    .auth-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .auth-logo { width: 50px; height: 50px; font-size: 20px; margin-bottom: 15px; }
    .auth-title h1 { font-size: 22px; }

    @media (max-height: 600px) {
        .auth-shell {
            align-items: flex-start;
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }
}




.auth-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    width: 100%;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border);
    color: #fff !important;
    border-radius: 12px;
    padding: 14px 16px;
    padding-right: 40px;
    font-size: 15px;
    outline: none;
    cursor: pointer;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238a9694' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}


.auth-form select:focus {
    border-color: var(--accent-menta);
    background-color: rgba(255, 255, 255, 0.08) !important;
}


.auth-form select option {
    background-color: #020606;
    color: white;
}

.checkbox-wrapper {
    display: flex;

    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}


.checkbox-wrapper input[type="checkbox"] {
    display: none;
}


.custom-checkbox {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: relative;
    margin-top: 2px;
}


.checkbox-wrapper input:checked + .custom-checkbox {
    background: var(--accent-menta);
    border-color: var(--accent-menta);
}

.custom-checkbox::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.2s;
}

.checkbox-wrapper input:checked + .custom-checkbox::after {
    opacity: 1;
    transform: scale(1);
}


.checkbox-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
    padding-top: 2px;
}
.checkbox-text a { color: var(--accent-menta); text-decoration: none; font-weight: 600; }

@media (max-width: 480px) {
    .auth-shell {
        padding: 10px;
        align-items: center;
    }

    .auth-card {
        padding: 20px 15px;
        width: 100%;
        border-radius: 16px;
        margin: 0;
    }

    .auth-logo { width: 45px; height: 45px; font-size: 20px; margin-bottom: 10px; }
    .auth-title h1 { font-size: 20px; margin-bottom: 2px; }
    .auth-title p { font-size: 12px; margin-bottom: 15px; }
    .auth-form { gap: 10px; }
    .auth-form input,
    .auth-form select {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
        height: auto;
    }

    .auth-form label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    .custom-checkbox { width: 20px; height: 20px; min-width: 20px; }
    .checkbox-text { font-size: 11px; }
    .auth-submit {
        padding: 12px;
        font-size: 14px;
        margin-top: 5px;
    }
}

body.profile-page {
    background-color: #020606;
    min-height: 100vh;
    overflow-y: auto !important;
}

.fixed-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, #0a241d 0%, #020606 70%);
    z-index: -1; pointer-events: none;
}
.glow-spot {
    position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(150px); opacity: 0.06;
}
.top-right { top: -20%; right: -10%; background: var(--accent-menta); }
.bottom-left { bottom: -10%; left: -10%; background: #0984e3; }

.dashboard-wrapper {
    max-width: 1100px; margin: 0 auto; padding: 40px 20px; width: 100%;
}

.dash-header { margin-bottom: 30px; }
.sub-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--accent-menta); text-transform: uppercase; }
.dash-header h1 { font-size: 32px; font-weight: 800; color: white; margin: 5px 0 10px 0; }
.header-desc { color: var(--text-dim); font-size: 14px; max-width: 600px; line-height: 1.5; }
.floating-back-btn {
    position: fixed; top: 20px; left: 20px; width: 45px; height: 45px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; z-index: 100; transition: 0.2s;
}
.floating-back-btn:hover { background: var(--accent-menta); color: black; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.card {
    background: rgba(20, 25, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.card-label {
    font-size: 11px; text-transform: uppercase; color: var(--text-dim); letter-spacing: 1px; font-weight: 700; margin-bottom: 15px;
}
.profile-card { background: radial-gradient(circle at top right, rgba(46, 213, 115, 0.1), rgba(20, 25, 33, 0.9)); }
.card-content.row { display: flex; align-items: center; gap: 30px; height: 100%; }

.avatar-block-lg { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.avatar-block-lg img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--accent-menta); box-shadow: 0 0 25px rgba(46, 213, 115, 0.2);
}
.badge-admin {
    position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: #ff5252;
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; border: 2px solid #141921;
}

.profile-texts { flex: 1; }
.name-status h2 { margin: 0; font-size: 26px; color: white; font-weight: 800; }
.verified-badge { font-size: 12px; color: #2ed573; margin-left: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.unverified-badge { font-size: 12px; color: #f1c40f; margin-left: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.handle { font-size: 14px; color: var(--text-dim); margin-bottom: 15px; display: block; }

.meta-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.ms-item { display: flex; flex-direction: column; }
.ms-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; }
.ms-val { font-size: 14px; color: white; font-weight: 600; }
.mode-display { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.mode-icon-circle {
    width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent-menta); border: 1px solid var(--glass-border);
}
.mode-info h3 { margin: 0; font-size: 18px; color: white; font-weight: 700; }
.mode-description { font-size: 13px; color: #ccc; line-height: 1.5; margin-bottom: auto; }
.card-footer-btn { margin-top: 15px; text-align: right; }
.card-footer-btn a { font-size: 12px; color: var(--accent-menta); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; }
.card-footer-btn a:hover { border-color: var(--accent-menta); }

.infinite-wrapper { text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.icon-glow { font-size: 40px; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); margin-bottom: 10px; }
.infinite-wrapper h3 { margin: 0; color: white; }
.infinite-wrapper p { font-size: 12px; color: var(--text-dim); margin: 0; }

.limit-box { margin-top: auto; }
.limit-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.limit-header strong { font-size: 24px; color: white; }
.limit-header span { font-size: 13px; color: var(--text-dim); }
.progress-bar-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.progress-bar-fill { height: 100%; background: var(--accent-menta); border-radius: 4px; }
.limit-sub { font-size: 12px; color: #ccc; margin: 0; }


.card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.sub-title h3 { margin: 0; font-size: 22px; font-weight: 800; }
.sub-meta { font-size: 12px; color: #ccc; background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 12px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #bbb; padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.02); }
.feature-item.active { color: white; background: rgba(255,255,255,0.05); }
.feature-item.active i { color: var(--accent-menta); }
.feature-item.inactive { opacity: 0.5; }

.upsell-container { background: rgba(46, 213, 115, 0.1); padding: 15px; border-radius: 12px; text-align: center; margin-top: auto; }
.upsell-container p { margin: 0 0 10px 0; font-size: 13px; color: white; }
.btn-upgrade-full { display: block; width: 100%; background: var(--accent-menta); color: #000; padding: 10px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 13px; transition: 0.2s; }
.btn-upgrade-full:hover { transform: scale(1.02); }


.score-display { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.circular-chart { width: 60px; height: 60px; }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3; }
.circle { fill: none; stroke-width: 3; stroke-linecap: round; }
.score-text { display: flex; flex-direction: column; }
.score-text strong { font-size: 24px; line-height: 1; }
.score-text span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; }

.security-list { list-style: none; padding: 0; margin: 0; }
.security-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.security-list li:last-child { border: none; }
.text-green { color: #2ed573; }
.text-red { color: #ff5252; }
.security-list span { font-size: 13px; color: #ddd; }


.actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 12px;
    text-decoration: none; color: white; font-size: 13px; font-weight: 600;
    border: 1px solid var(--glass-border); transition: 0.2s; text-align: center;
}
.action-btn i { font-size: 20px; color: var(--accent-menta); }
.action-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.action-btn.danger i { color: #ff5252; }
.action-btn.danger:hover { background: rgba(255, 82, 82, 0.1); }



@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .col-span-2 { grid-column: span 2; }
}

@media (max-width: 600px) {
    .dashboard-wrapper { padding: 20px 15px; }
    .bento-grid { display: flex; flex-direction: column; gap: 20px; } /* Egy oszlop */

    .card-content.row { flex-direction: column; text-align: center; align-items: center; }
    .meta-stats { justify-content: center; }
    .name-status { justify-content: center; flex-direction: column; gap: 5px; }

    .feature-grid { grid-template-columns: 1fr; } /* Funkciók egymás alatt */
    .actions-grid { grid-template-columns: 1fr; } /* Gombok nagyok legyenek */
    .action-btn { flex-direction: row; justify-content: flex-start; padding: 15px; }
}

.alert-box {
    padding: 15px; border-radius: 12px; margin-bottom: 25px;
    display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
}
.alert-box.success {
    background: rgba(46, 213, 115, 0.15); border: 1px solid rgba(46, 213, 115, 0.3); color: #2ed573;
}
.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    align-items: start;
}

.settings-card {
    background: rgba(20, 25, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
}


.avatar-section-card { text-align: center; }
.avatar-upload-wrapper { position: relative; width: 150px; margin: 0 auto; }
.avatar-preview-box {
    width: 150px; height: 150px; border-radius: 50%; position: relative; overflow: hidden;
    border: 4px solid var(--accent-menta); box-shadow: 0 0 30px rgba(46, 213, 115, 0.2);
    margin-bottom: 15px;
}
.avatar-preview-box img { width: 100%; height: 100%; object-fit: cover; }

.avatar-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; opacity: 0; transition: 0.3s; cursor: pointer;
}
.avatar-preview-box:hover .avatar-overlay { opacity: 1; }
.avatar-overlay i { font-size: 24px; margin-bottom: 5px; }
.avatar-overlay span { font-size: 12px; font-weight: 700; text-transform: uppercase; }


#avatarInput { display: none; }
.avatar-hint { font-size: 11px; color: var(--text-dim); margin-top: 10px; }



.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }


.form-group.full-width { grid-column: span 2; }

.form-group label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; font-weight: 700; display: flex; justify-content: space-between; }
.form-group label i { color: #555; } /* Lakat ikon */

.input-wrapper { position: relative; }
.input-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 14px;
}

.settings-card input[type="text"],
.settings-card input[type="email"],
.settings-card input[type="number"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px 15px 12px 45px; /* Hely az ikonnak */
    border-radius: 12px;
    color: white; font-size: 15px; font-family: inherit;
    outline: none; transition: 0.2s;
}

.settings-card input:focus {
    border-color: var(--accent-menta);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
}


.form-group.disabled { opacity: 0.6; pointer-events: none; }
.form-group.disabled input { background: rgba(0,0,0,0.2); border-color: transparent; color: #888; }



.form-actions {
    grid-column: span 2; margin-top: 20px; text-align: right;
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px;
}

.btn-save {
    background: var(--accent-menta); color: #020617;
    border: none; padding: 12px 24px; border-radius: 12px;
    font-size: 14px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: 0.2s;
}
.btn-save:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3); }



@media (max-width: 900px) {
    .settings-grid { grid-template-columns: 1fr; }

    .avatar-section-card { display: flex; flex-direction: column; align-items: center; }

    .form-grid { grid-template-columns: 1fr; } /* Inputok is egymás alá */
    .form-actions { grid-column: span 1; text-align: center; }
    .btn-save { width: 100%; justify-content: center; }
}

.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}

.dash-header {
    width: 100%;
    max-width: 880px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.security-grid {
    display: grid;
    grid-template-columns: 350px 500px;
    gap: 30px;
    justify-content: center;
    width: 100%;
}


.tips-card {
    text-align: center;
    background: linear-gradient(180deg, rgba(20, 25, 33, 0.8) 0%, rgba(46, 213, 115, 0.05) 100%);
    height: 100%; /* Hogy egyforma magas legyen a jobbal */
}

.lock-icon-wrapper {
    width: 80px; height: 80px; background: rgba(255,255,255,0.03);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto; border: 1px solid var(--glass-border);
}
.lock-icon-wrapper i { font-size: 32px; color: var(--accent-menta); }

.tips-card h3 { color: white; margin: 0 0 10px 0; font-size: 18px; }
.tips-intro { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 25px; }

.req-list { list-style: none; padding: 0; margin: 0 0 25px 0; text-align: left; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 12px; }
.req-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #ccc; margin-bottom: 8px; }
.req-list li:last-child { margin-bottom: 0; }
.req-list li i { color: var(--accent-menta); font-size: 11px; }

.security-status {
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px;
    display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.security-status span { color: var(--text-dim); }
.security-status strong { display: flex; align-items: center; gap: 5px; }



.form-card { padding: 30px; }

.alert-box.error {
    background: rgba(255, 82, 82, 0.15); border: 1px solid rgba(255, 82, 82, 0.3); color: #ff5252; margin-bottom: 20px; padding: 10px; border-radius: 8px; font-size: 13px;
}
.alert-box.success {
    background: rgba(46, 213, 115, 0.15); border: 1px solid rgba(46, 213, 115, 0.3); color: #2ed573; margin-bottom: 20px; padding: 10px; border-radius: 8px; font-size: 13px;
}

.divider-line {
    height: 1px; background: rgba(255,255,255,0.05); margin: 25px 0;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.form-group label {
    font-size: 12px; color: var(--text-dim); text-transform: uppercase; font-weight: 700;
    margin: 0; display: block; text-align: left;
}

.input-wrapper { position: relative; width: 100%; }

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 15px 14px 45px; /* Hely az ikonnak */
    border-radius: 12px;
    color: white; font-size: 15px;
    outline: none; transition: 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--accent-menta);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
}

.input-wrapper .input-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 16px; transition: 0.2s;
    width: 20px; text-align: center; pointer-events: none;
}

.input-wrapper input:focus + .input-icon { color: var(--accent-menta); }


/* Gombok */
.form-actions-pw {
    display: flex; justify-content: flex-end; gap: 15px; margin-top: 30px;
}

.btn-cancel {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-dim);
    padding: 12px 20px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-cancel:hover { color: white; border-color: white; }

.btn-save-pw {
    background: var(--accent-menta); color: #000; border: none;
    padding: 12px 25px; border-radius: 12px; font-weight: 800; cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.2); transition: 0.2s;
}
.btn-save-pw:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46, 213, 115, 0.4); }



@media (max-width: 950px) {
    .security-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .dash-header {
        flex-direction: column; align-items: center; text-align: center; gap: 10px;
    }

    .tips-card { display: flex; flex-direction: column; align-items: center; height: auto; }
    .req-list { width: 100%; }

    .form-actions-pw { flex-direction: column-reverse; }
    .btn-save-pw, .btn-cancel { width: 100%; padding: 14px; }
}


body.premium-page {
    background-color: #030303;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
}


.glow-bg {
    position: fixed; width: 800px; height: 800px; border-radius: 50%;
    filter: blur(180px); opacity: 0.12; pointer-events: none; z-index: -1;
}
.glow-bg.top { top: -400px; left: 50%; transform: translateX(-50%); background: #2ed573; }
.glow-bg.bottom { bottom: -400px; right: -200px; background: #0984e3; }

.container {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px; text-align: center;
}

.back-btn-wrapper {
    position: fixed; top: 30px; left: 30px; width: 45px; height: 45px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: 0.3s; z-index: 50;
}
.back-btn-wrapper:hover { background: #2ed573; color: #000; border-color: #2ed573; }




.hero-header { margin-bottom: 60px; }
.hero-header h1 { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; }
.gradient-text { background: linear-gradient(90deg, #fff, #2ed573); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-header p { font-size: 18px; color: #888; }


.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}


.pricing-box {
    background: #0f1014;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px 30px;
    width: 320px;
    min-height: 500px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-box.basic {
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.pricing-box.pro {
    background: #131518;
    border: 2px solid #2ed573;
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 50px rgba(46, 213, 115, 0.15);
}
.badge-best {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #2ed573; color: #000; font-weight: 800; padding: 6px 16px;
    border-radius: 20px; font-size: 12px; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(46, 213, 115, 0.4);
}



.box-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.box-header h3 { font-size: 20px; margin: 0 0 10px 0; color: #fff; font-weight: 700; }
.box-header p { font-size: 13px; color: #777; margin: 0; }

.price { font-size: 36px; font-weight: 800; color: #fff; }
.price-wrapper { display: flex; flex-direction: column; align-items: center; }
.old-price { font-size: 16px; color: #ff5252; text-decoration: line-through; font-weight: 700; margin-bottom: -5px; }
.main-price { font-size: 48px; font-weight: 900; color: #fff; }
.term { font-size: 16px; color: #888; font-weight: 500; }


.features { list-style: none; padding: 0; margin: 0 0 30px 0; flex: 1; text-align: left; }
.features li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 14px; color: #ccc; }
.features li i { color: #2ed573; font-size: 16px; width: 20px; text-align: center; }
.features li.mute { color: #555; }
.features li.mute i { color: #555; }
.features li.strong { color: #fff; font-weight: 700; }


.btn-neon {
    display: block; width: 100%; padding: 18px; border-radius: 14px;
    background: #2ed573; color: #000; font-weight: 900; font-size: 16px;
    text-transform: uppercase; text-decoration: none; position: relative; overflow: hidden;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.3); transition: 0.3s;
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(46, 213, 115, 0.6); }


.btn-shine {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg); animation: shineBtn 3s infinite;
}
@keyframes shineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.btn-flat {
    width: 100%; padding: 16px; background: rgba(255,255,255,0.05); color: #666;
    border: none; border-radius: 14px; font-weight: 700; cursor: default;
}
.btn-outline {
    display: block; width: 100%; padding: 16px; border: 1px solid #ffd700; border-radius: 14px;
    color: #ffd700; font-weight: 700; text-decoration: none; transition: 0.2s;
}
.btn-outline:hover { background: rgba(255, 215, 0, 0.1); }

.guarantee { margin-top: 15px; font-size: 12px; color: #888; }
.footer-trust { color: #444; font-size: 20px; display: flex; gap: 15px; justify-content: center; align-items: center; }
.footer-trust span { font-size: 12px; }



.vip-dashboard {
    max-width: 800px; margin: 0 auto; text-align: center;
}
.vip-header-text h1 { font-size: 32px; font-weight: 800; color: white; margin-bottom: 5px; }
.vip-header-text p { color: #888; margin-bottom: 40px; }
.vip-tag { background: #2ed573; color: #000; font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: 20px; letter-spacing: 2px; }

.vip-card-container {
    display: flex; gap: 40px; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.02); padding: 40px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.05);
}


.holo-card {
    width: 360px; height: 220px; border-radius: 20px;
    background: linear-gradient(135deg, #111, #081a14);
    border: 1px solid rgba(46, 213, 115, 0.4);
    position: relative; overflow: hidden;
    padding: 25px; text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex; flex-direction: column; justify-content: space-between;
}
.holo-shine {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: holoMove 6s infinite linear; pointer-events: none;
}
@keyframes holoMove { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.card-top { display: flex; justify-content: space-between; align-items: center; }
.logo-icon { font-size: 24px; color: #fff; }
.card-type { font-size: 10px; letter-spacing: 2px; color: #2ed573; font-weight: 800; }

.card-chip { display: flex; gap: 5px; margin-top: 10px; width: 40px; height: 28px; background: #ccc; border-radius: 4px; background: linear-gradient(135deg, #ddd, #999); position: relative; overflow: hidden; }
.chip-line { width: 100%; height: 1px; background: #666; position: absolute; top: 30%; }
.chip-line:last-child { top: 60%; }

.card-number { font-size: 18px; font-family: monospace; color: #fff; letter-spacing: 2px; text-shadow: 0 2px 2px rgba(0,0,0,0.5); }

.card-details { display: flex; justify-content: space-between; }
.label { font-size: 8px; color: #aaa; display: block; margin-bottom: 2px; }
.val { font-size: 12px; color: #fff; font-weight: 600; text-transform: uppercase; }


.status-panel { text-align: left; flex: 1; }
.status-row { background: rgba(0,0,0,0.3); padding: 15px; border-radius: 12px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); }
.indicator-box { display: flex; align-items: center; gap: 10px; color: #aaa; font-size: 13px; }

.led { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; animation: pulseLed 2s infinite; }
.led.green { background: #2ed573; color: #2ed573; }
.led.orange { background: #f39c12; color: #f39c12; }
@keyframes pulseLed { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.text-glow { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.vip-buttons { display: flex; gap: 10px; margin-top: 20px; }
.btn-vip { flex: 1; padding: 12px; text-align: center; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.btn-vip.manage { background: rgba(255,255,255,0.1); color: #fff; }
.btn-vip.manage:hover { background: rgba(255,255,255,0.2); }
.btn-vip.renew { background: #2ed573; color: #000; }


@media (max-width: 950px) {
    .pricing-container { flex-direction: column; align-items: stretch; gap: 50px; max-width: 400px; margin: 0 auto; }

    .pricing-box { width: 100%; min-height: auto; }

    /* Pro kártya felül */
    .pricing-box.pro { order: -1; transform: scale(1); }
    .pricing-box.basic { order: 2; transform: scale(1); }

    .vip-card-container { flex-direction: column; padding: 20px; }
    .holo-card { width: 100%; max-width: 340px; }
    .status-panel { width: 100%; }
}


html:has(body.premium-page),
body.premium-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    display: block !important;
    background-color: #020606;
    background-image: radial-gradient(circle at 50% 0%, #1a2e26 0%, #020606 80%);
}

.lockwall-container {
    display: flex; justify-content: center; align-items: center;
    min-height: 80vh; width: 100%; padding: 20px;
}

.lock-card {
    background: rgba(20, 25, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    position: relative; overflow: hidden;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lock-icon-box {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid var(--accent-menta); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--accent-menta);
    box-shadow: 0 0 40px rgba(46, 213, 115, 0.2);
}

.premium-badge {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
    color: var(--accent-menta); margin-bottom: 10px; text-transform: uppercase;
}

.lock-card h1 { font-size: 28px; color: white; margin: 0 0 15px 0; font-weight: 800; }
.lock-card p { font-size: 15px; color: var(--text-dim); line-height: 1.6; margin-bottom: 30px; }

.btn-unlock-glow {
    display: block; width: 100%; padding: 16px; border-radius: 12px;
    background: var(--accent-menta); color: #000; font-weight: 800; text-decoration: none;
    font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 25px rgba(46, 213, 115, 0.3); transition: 0.3s; margin-bottom: 15px;
}
.btn-unlock-glow:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(46, 213, 115, 0.6); }

.btn-back-link { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 600; }


.app-dashboard-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 150px 20px;
    width: 100%;
    box-sizing: border-box;
}

.app-header {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 40px; gap: 15px; text-align: center;
}
.logo-orb {
    width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #2ed573, #26af5f);
    color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.4); flex-shrink: 0;
}
.header-titles h1 { font-size: 2.2rem; color: white; margin: 0 0 5px 0; font-weight: 800; }
.header-titles p { font-size: 1rem; color: var(--text-dim); margin: 0; }

.tool-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

.tool-card {
    background: rgba(20, 25, 33, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    height: auto !important;
}

.card-head { margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.card-head h2 { font-size: 20px; color: white; margin: 0 0 5px 0; display: flex; align-items: center; gap: 10px; }
.card-head p { font-size: 13px; color: var(--text-dim); margin: 0; }
.slider-group { margin-bottom: 25px; background: rgba(255,255,255,0.02); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.slider-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: white; font-weight: 700; text-transform: uppercase; }
.val-display { color: var(--accent-menta); font-weight: 800; background: rgba(46, 213, 115, 0.1); padding: 2px 8px; border-radius: 6px; }

.lm-range {
    width: 100%; -webkit-appearance: none; height: 8px; background: rgba(255,255,255,0.1);
    border-radius: 10px; outline: none; margin: 0; cursor: pointer;
}
.lm-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.5); margin-top: -7px;
    border: 2px solid var(--accent-menta); transition: transform 0.2s;
}
.lm-range::-webkit-slider-thumb:hover { transform: scale(1.1); }


.input-block { margin-bottom: 25px; }
.input-block label { display: block; font-size: 12px; font-weight: 700; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; }

.custom-select-wrapper { position: relative; width: 100%; }


.lm-input-select {
    width: 100%;
    -webkit-appearance: none; appearance: none;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: white !important;
    padding: 14px; padding-right: 40px;
    border-radius: 12px;
    font-size: 14px;
    outline: none; cursor: pointer;
    font-family: inherit;
}
.lm-input-select option { background-color: #0f131a; color: white; padding: 10px; }


.select-arrow {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); pointer-events: none; font-size: 12px;
}


.lm-input-text {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: white; padding: 14px; border-radius: 12px; font-size: 14px;
    outline: none; font-family: inherit; min-height: 100px; resize: vertical;
}
.lm-input-text:focus, .lm-input-select:focus {
    border-color: var(--accent-menta); background: rgba(255,255,255,0.08);
}


.btn-analyze-neon {
    width: 100%; padding: 18px; background: var(--accent-menta); color: #000;
    border: none; border-radius: 12px; font-weight: 800; font-size: 15px;
    text-transform: uppercase; cursor: pointer; transition: 0.2s; margin-top: 10px;
    box-shadow: 0 5px 20px rgba(46, 213, 115, 0.2); display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-analyze-neon:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(46, 213, 115, 0.4); }


.tool-sidebar {
    display: flex; flex-direction: column; gap: 20px;
    position: sticky; top: 20px; /* Követi a görgetést */
}

.result-widget {
    background: rgba(20, 25, 33, 0.8); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; padding: 30px; text-align: center;
}
.widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.widget-header h3 { font-size: 16px; color: white; margin: 0; font-weight: 700; text-transform: uppercase; }
.live-badge { background: #ff5252; color: white; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 4px; animation: pulseDot 1s infinite; }

.gauge-bar { height: 12px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin: 20px 0; position: relative; }
.gauge-fill { height: 100%; background: var(--accent-menta); border-radius: 10px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); width: 0%; }
.gauge-value { font-size: 42px; font-weight: 900; color: white; line-height: 1; margin-bottom: 5px; }
.gauge-category { font-size: 14px; color: var(--text-dim); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.ai-feedback-widget {
    background: rgba(46, 213, 115, 0.05); border: 1px solid rgba(46, 213, 115, 0.2);
    border-radius: 24px; padding: 25px;
}
.ai-header { color: var(--accent-menta); font-weight: 800; margin-bottom: 15px; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.ai-content p { font-size: 14px; color: #ddd; line-height: 1.6; margin: 0; }
.ai-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 15px 0; }
.advice-text { font-style: italic; color: #fff; margin-top: 5px; }



@media (max-width: 900px) {
    .app-dashboard-wrapper {
        padding: 30px 15px 120px 15px;
    }
    .tool-grid { grid-template-columns: 1fr; gap: 30px; }

    .tool-sidebar {
        position: static;
        order: -1;
    }

    .tool-card, .result-widget, .ai-feedback-widget {
        padding: 25px;
    }

    .card-head h2 { font-size: 18px; }
    .btn-analyze-neon { padding: 16px; font-size: 14px; }

    .lock-card { padding: 30px 20px; }
    .lock-card h1 { font-size: 24px; }
}


.motivation-wrapper {
    max-width: 600px; margin: 0 auto; padding: 40px 20px;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
}


.motivation-header { text-align: center; margin-bottom: 50px; animation: fadeInUp 0.6s ease-out; }
.header-icon-box {
    width: 70px; height: 70px; margin: 0 auto 20px;
    background: rgba(46, 213, 115, 0.1); border: 1px solid var(--accent-menta);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--accent-menta);
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.2);
}
.motivation-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 10px 0; color: white; }
.motivation-header p { font-size: 15px; color: var(--text-dim); margin: 0; line-height: 1.5; }



.card-scene {
    width: 320px; height: 480px; perspective: 1000px; margin-bottom: 30px;
}


.card-object {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card-object.is-flipped { transform: rotateY(180deg); }


.card-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px; text-align: center;
}

.face-front {
    background: linear-gradient(135deg, rgba(20, 25, 33, 0.95), rgba(10, 40, 30, 0.95));
}
.face-front::before {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px;
}

.front-icon { font-size: 50px; color: var(--accent-menta); margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(46, 213, 115, 0.4)); }
.face-front h3 { font-size: 22px; color: white; margin: 0 0 10px 0; }
.face-front p { font-size: 14px; color: #ccc; margin: 0 0 30px 0; }
.tap-hint {
    font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px;
    animation: pulseText 2s infinite; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
@keyframes pulseText { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }


.face-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at top, rgba(46, 213, 115, 0.15), rgba(20, 25, 33, 0.98));
    border-color: var(--accent-menta);
}

.quote-icon { font-size: 24px; color: var(--accent-menta); opacity: 0.5; margin-bottom: 20px; }
.quote-body {
    font-size: 18px; line-height: 1.6; color: white; font-weight: 500; font-style: italic;
    margin-bottom: 20px; flex-grow: 1; display: flex; align-items: center; justify-content: center;
}
.quote-author { font-size: 14px; color: var(--accent-menta); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.card-footer-logo {
    margin-top: 30px; font-size: 10px; color: rgba(255,255,255,0.1); font-weight: 900; letter-spacing: 3px;
}


.card-shine {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg); pointer-events: none; transition: 0.5s;
}
.card-object:hover .card-shine { left: 200%; transition: 1s; }



.motivation-status-text {
    font-size: 13px; color: var(--text-dim); background: rgba(255,255,255,0.05);
    padding: 10px 20px; border-radius: 20px; display: flex; align-items: center; gap: 8px;
}
.motivation-status-text i { color: var(--accent-menta); }



@media (max-width: 480px) {
    .card-scene { width: 100%; max-width: 300px; height: 420px; }
    .quote-body { font-size: 16px; }
}


.app-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}


.breathing-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.tool-card {
    background: rgba(20, 25, 33, 0.75);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card-header-small {
    font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}

.breathing-main {
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(46, 213, 115, 0.2);
}


.breath-header { width: 100%; display: flex; justify-content: center; z-index: 10; }
.mode-tabs {
    background: rgba(255,255,255,0.05); padding: 4px; border-radius: 12px; display: flex; gap: 5px;
}
.mode-tab {
    background: transparent; border: none; color: var(--text-dim);
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.mode-tab:hover { color: white; }
.mode-tab.active { background: var(--accent-menta); color: #000; }


.visualizer-area {
    flex-grow: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.orb-container { width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }


.breathing-orb {
    width: 140px; height: 140px; border-radius: 50%;
    position: relative; display: flex; align-items: center; justify-content: center;
    transform: scale(1);
    --duration: 4000ms;
    transition: transform var(--duration) ease-in-out;
}
.orb-border {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--accent-menta);
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
    transition: all var(--duration) ease-in-out;
}
.orb-glow {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--accent-menta); opacity: 0.1; filter: blur(20px);
    transition: all var(--duration) ease-in-out;
}


.breathing-orb.inhale { transform: scale(1.5); }
.breathing-orb.inhale .orb-border { border-color: #fff; box-shadow: 0 0 50px rgba(46, 213, 115, 0.5); }
.breathing-orb.inhale .orb-glow { opacity: 0.4; }
.breathing-orb.exhale { transform: scale(1); }
.breathing-orb.hold { transform: scale(1.5); }
.breathing-orb.hold .orb-border { border-color: #fff; box-shadow: 0 0 80px rgba(255, 255, 255, 0.3); }
.breathing-orb.hold-out { transform: scale(1); opacity: 0.6; }


.instruction-box { height: 60px; text-align: center; }
#instruction-text { font-size: 24px; font-weight: 800; color: white; margin-bottom: 5px; }
#sub-text { font-size: 13px; color: var(--text-dim); }


.breath-footer { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mini-stats {
    display: flex; align-items: center; gap: 20px;
    background: rgba(0,0,0,0.3); padding: 8px 20px; border-radius: 30px;
}
.ms-item { display: flex; align-items: center; gap: 8px; }
.ms-item .lbl { font-size: 10px; color: var(--text-dim); font-weight: 700; }
.ms-item .val { font-size: 14px; color: white; font-weight: 700; font-family: monospace; }
.ms-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.1); }

.control-buttons { display: flex; justify-content: center; width: 100%; }
.btn-ctrl {
    padding: 14px 40px; border-radius: 50px; font-weight: 800; font-size: 14px; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s;
}
.btn-ctrl.start { background: var(--accent-menta); color: #000; box-shadow: 0 0 20px rgba(46, 213, 115, 0.3); }
.btn-ctrl.start:hover { transform: scale(1.05); }
.btn-ctrl.stop { background: rgba(255,82,82,0.15); color: #ff5252; border: 1px solid rgba(255,82,82,0.3); width: 100%; justify-content: center; }
.btn-ctrl.stop:hover { background: rgba(255,82,82,0.25); }



.sidebar-panel {
    justify-content: flex-start;
    text-align: left;
}

.panel-section { margin-bottom: 20px; }
.panel-section h3 { font-size: 14px; color: white; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.panel-section h3 i { color: var(--accent-menta); }

.panel-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 20px 0; width: 100%; }


.track-name { display: block; color: white; font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.vol-control { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 12px; }
.vol-control input { flex: 1; accent-color: var(--accent-menta); height: 4px; }


.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.bullet { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.bullet.inhale { background: var(--accent-menta); box-shadow: 0 0 8px var(--accent-menta); }
.bullet.exhale { background: #0984e3; }
.bullet.hold { background: #fff; }

.guide-list div { display: flex; flex-direction: column; font-size: 13px; color: #ccc; }
.guide-list small { color: var(--text-dim); font-size: 11px; }

.info-box { background: rgba(46, 213, 115, 0.05); padding: 15px; border-radius: 12px; font-size: 12px; color: #ccc; line-height: 1.5; border: 1px solid rgba(46, 213, 115, 0.1); margin-top: auto; }
.info-box i { color: var(--accent-menta); margin-right: 5px; }



@media (max-width: 900px) {
    .app-center-wrapper { align-items: flex-start; padding-top: 30px; height: auto; display: block; }

    .breathing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tool-card { height: auto; min-height: auto; padding: 25px; }
    .sidebar-panel { order: 2; } /* Jobb oldal lent */
    .orb-container { width: 180px; height: 180px; margin-top: 20px; }
    .breathing-orb { width: 120px; height: 120px; }
}

body.profile-page {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.lm-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
.lm-page-header h1 {
    font-size: 32px; font-weight: 800; margin: 10px 0; color: white; letter-spacing: -1px;
}
.lm-page-header p {
    color: var(--text-dim); font-size: 15px; max-width: 500px; margin: 0 auto; line-height: 1.6;
}
.lm-personalize-container {
    max-width: 1000px; width: 100%; margin: 0 auto;
    display: flex; flex-direction: column; gap: 30px;
    /* Hely a fix gombnak alul */
    padding-bottom: 140px !important;
}
.lm-hero-card {
    background: rgba(20, 25, 33, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 30px;
    position: relative; overflow: hidden;
    transition: border-color 0.4s ease;
}
.lm-hero-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px; border-radius: 50%;
    background: var(--accent-menta); filter: blur(120px); opacity: 0.15; z-index: 0;
    transition: background 0.4s ease;
}
.lm-hero-content {
    position: relative; z-index: 1; display: flex; align-items: center; gap: 25px;
}
.lm-hero-icon {
    width: 80px; height: 80px; flex-shrink: 0; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s ease;
}
.lm-hero-text { text-align: left; }
.current-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; display: block; margin-bottom: 5px; }
.lm-hero-text h2 { font-size: 24px; color: white; margin: 0 0 5px 0; font-weight: 800; }
.lm-hero-text p { font-size: 14px; color: #ccc; margin: 0; line-height: 1.5; }
.lm-grid-wrapper {
    position: relative;
}

.lm-persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 10px;
}
.lm-persona-grid.blurred { filter: blur(8px); opacity: 0.5; pointer-events: none; user-select: none; }

.lm-persona-option { display: block; cursor: pointer; height: 100%; }
.lm-persona-option input { display: none; }

.lm-persona-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 25px;
    height: 100%; min-height: 140px;
    display: flex; flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.lm-grid-wrapper:not(:has(.lm-lock-overlay)) .lm-persona-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.lm-persona-option input:checked + .lm-persona-card {
    background: rgba(46, 213, 115, 0.08);
    border-color: var(--accent-menta);
    border-width: 2px; /* Vastagabb keret */
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.25);
    transform: translateY(-2px);
}

.lm-check-mark {
    position: absolute; top: 15px; right: 15px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent-menta); color: #000; display: flex; align-items: center; justify-content: center;
    font-size: 12px; opacity: 0; transform: scale(0.5) rotate(-45deg); transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lm-persona-option input:checked + .lm-persona-card .lm-check-mark { opacity: 1; transform: scale(1) rotate(0deg); }

.lm-pc-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.lm-pc-icon {
    width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; transition: transform 0.3s;
}
.lm-persona-card:hover .lm-pc-icon { transform: scale(1.1); }

.lm-pc-title { font-size: 18px; font-weight: 700; color: white; margin: 0; }
.lm-pc-desc { font-size: 14px; color: #ccc; line-height: 1.5; margin: 0; }
.lm-lock-overlay {
    position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center;
    background: rgba(2, 6, 6, 0.5);
    border-radius: 24px;
}
.lm-lock-box {
    background: rgba(20, 25, 33, 0.95); border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px; padding: 35px 25px; text-align: center; max-width: 340px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8); backdrop-filter: blur(15px);
}
.lm-lock-icon {
    width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(255, 215, 0, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #ffd700; font-size: 28px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.25);
}
.lm-lock-box h3 { font-size: 22px; color: white; margin: 0 0 10px 0; font-weight: 800; }
.lm-lock-box p { font-size: 14px; color: #ccc; margin: 0 0 25px 0; line-height: 1.6; }
.lm-btn-unlock {
    display: inline-block; width: 100%; padding: 16px; border-radius: 14px;
    background: linear-gradient(135deg, #ffd700, #e1b12c); color: #000; font-weight: 800;
    text-decoration: none; font-size: 14px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.lm-btn-unlock:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); }
.lm-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(2, 6, 6, 0.9); backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border); padding: 20px;
    display: flex; justify-content: center; z-index: 2000;
}
.lm-btn-save {
    background: var(--accent-menta); color: #000; border: none;
    padding: 18px 40px; border-radius: 16px; font-weight: 800; font-size: 16px; cursor: pointer;
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.2); transition: 0.3s; width: 100%; max-width: 450px; text-transform: uppercase;
}
.lm-btn-save:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(46, 213, 115, 0.5); background: #26af61; }

.lm-alert {
    padding: 15px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.lm-alert.success { background: rgba(46, 213, 115, 0.1); border: 1px solid #2ed573; color: #2ed573; }
.lm-alert.error { background: rgba(255, 82, 82, 0.1); border: 1px solid #ff5252; color: #ff5252; }

@media (max-width: 768px) {
    .lm-hero-content { flex-direction: column; text-align: center; }
    .lm-hero-text { text-align: center; }
    .lm-action-bar { padding: 15px; }
    .lm-personalize-container { padding-bottom: 160px !important; }
    .lm-persona-card { padding: 20px; } /* Kisebb padding mobilon */
}

.limit-popup {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    background: rgba(255, 82, 82, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 10;
}
.limit-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
#user-input.limit-reached {
    color: #ff5252;
}
.model-status-badge {
    text-align: center;
    font-size: 11px;
    color: #00dc82;
    background: rgba(0, 220, 130, 0.08);
    border: 1px solid rgba(0, 220, 130, 0.2);
    border-radius: 50px;
    padding: 6px 14px;
    margin: 0 auto 12px auto;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 0.5px;
}
.ai-disclaimer-text {
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    margin-bottom: 5px;
    width: 100%;
    pointer-events: none;
    font-weight: 400;
}
@media (max-width: 600px) {
    .model-status-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    .ai-disclaimer-text {
        font-size: 9px;
        margin-top: 10px;
    }
}


/* ===== TRAUMA SUPPORT EXPERIENCE ===== */

html:has(body.trauma-page),
body.trauma-page {
    height: auto !important;
    min-height: 100%;
}

body.trauma-page {
    display: block !important;
    min-height: 100vh;
    margin: 0;
    color: #eef7f3;
    background:
        radial-gradient(circle at top left, rgba(46,213,115,0.12), transparent 35%),
        radial-gradient(circle at top right, rgba(0,160,255,0.10), transparent 28%),
        linear-gradient(180deg, #07100d 0%, #030607 100%);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

body.trauma-page * {
    box-sizing: border-box;
}

.trauma-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

.trauma-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.trauma-back,
.trauma-mini-btn,
.trauma-primary-btn,
.trauma-secondary-btn {
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.trauma-back,
.trauma-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #eef7f3;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.trauma-mini-btn {
    font-size: 13px;
}

.trauma-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    gap: 22px;
    margin-bottom: 22px;
}

.trauma-hero-card,
.trauma-side-card,
.trauma-step-card,
.trauma-result-card,
.trauma-safety-card {
    width: 100%;
    background: rgba(11, 19, 18, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.32);
    backdrop-filter: blur(18px);
}

.trauma-hero-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.trauma-hero-card::after {
    content: '';
    position: absolute;
    inset: auto -15% -30% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,213,115,0.18), transparent 65%);
    pointer-events: none;
}

.trauma-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(46,213,115,0.08);
    border: 1px solid rgba(46,213,115,0.22);
    color: #9af0bc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trauma-title {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.02;
    margin: 18px 0 14px;
    letter-spacing: -0.04em;
}

.trauma-lead {
    max-width: 720px;
    color: rgba(238,247,243,0.78);
    line-height: 1.7;
    font-size: 16px;
}

.trauma-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.trauma-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d6e5dd;
    font-size: 13px;
}

.trauma-side-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.trauma-progress {
    display: flex;
    gap: 10px;
}

.trauma-progress .bar {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.trauma-progress .bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2ed573, #7ce8ff);
    transition: width .25s ease;
}

.trauma-side-card h3 {
    margin: 0;
    font-size: 22px;
}

.trauma-side-card p {
    margin: 0;
    color: rgba(238,247,243,0.72);
    line-height: 1.6;
}

.trauma-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 22px;
    align-items: start;
}

.trauma-main {
    min-width: 0;
}

.trauma-step-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.trauma-step-card {
    padding: 28px;
    min-width: 0;
}

.trauma-step-card.hidden {
    display: none;
}

.trauma-step-head {
    margin-bottom: 20px;
}

.trauma-step-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.trauma-step-head p {
    margin: 0;
    color: rgba(238,247,243,0.72);
    line-height: 1.6;
}

.trauma-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.trauma-option {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    min-height: 96px;
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #eef7f3;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
    touch-action: manipulation;
}

.trauma-option:hover,
.trauma-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(124,232,255,0.28);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.trauma-option.active {
    border-color: rgba(46,213,115,0.6);
    background: rgba(46,213,115,0.08);
    box-shadow: 0 0 0 1px rgba(46,213,115,0.18) inset;
}

.trauma-option .opt-title {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
}

.trauma-option .opt-desc {
    display: block;
    color: rgba(238,247,243,0.65);
    font-size: 14px;
    line-height: 1.45;
}

.trauma-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trauma-field {
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.trauma-field.full {
    grid-column: 1 / -1;
}

.trauma-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
}

.trauma-muted {
    color: rgba(238,247,243,0.6);
    font-size: 14px;
}

.trauma-slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trauma-slider {
    width: 100%;
    accent-color: #2ed573;
}

.trauma-slider-value {
    min-width: 58px;
    text-align: center;
    font-weight: 800;
    color: #9af0bc;
}

.trauma-toggle-group,
.trauma-tone-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trauma-toggle {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #eef7f3;
    cursor: pointer;
    font-weight: 700;
    touch-action: manipulation;
}

.trauma-toggle.active {
    background: rgba(46,213,115,0.1);
    border-color: rgba(46,213,115,0.5);
    color: #9af0bc;
}

.trauma-textarea {
    width: 100%;
    min-height: 128px;
    resize: vertical;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(2,6,6,0.75);
    color: #eef7f3;
    outline: none;
    touch-action: manipulation;
}

.trauma-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.trauma-primary-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #2ed573, #7ce8ff);
    color: #03100b;
    box-shadow: 0 12px 26px rgba(46,213,115,0.22);
    touch-action: manipulation;
}

.trauma-secondary-btn {
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    color: #eef7f3;
    border: 1px solid rgba(255,255,255,0.08);
    touch-action: manipulation;
}

.trauma-result-grid {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.trauma-result-card {
    padding: 24px;
}

.trauma-result-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.trauma-result-card p,
.trauma-result-card li {
    color: rgba(238,247,243,0.82);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.trauma-result-card ul {
    margin: 0;
    padding-left: 18px;
}

.trauma-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.trauma-state-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.trauma-focus-chip {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(124,232,255,0.08);
    border: 1px solid rgba(124,232,255,0.26);
    color: #bceffd;
    font-weight: 700;
}

.trauma-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 24px;
    min-width: 0;
}

.trauma-safety-card {
    padding: 22px;
}

.trauma-safety-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.trauma-safety-card p,
.trauma-safety-card li {
    color: rgba(238,247,243,0.74);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.trauma-safety-card ul {
    margin: 0;
    padding-left: 18px;
}

.trauma-emergency {
    border: 1px solid rgba(255, 110, 110, 0.25);
    background: linear-gradient(180deg, rgba(95,18,18,0.45), rgba(31,12,12,0.88));
}

.trauma-emergency h4 {
    color: #ffd6d6;
}

.trauma-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(238,247,243,0.75);
    font-size: 14px;
}

.trauma-loading i {
    color: #7ce8ff;
}

.trauma-error {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,82,82,0.1);
    border: 1px solid rgba(255,82,82,0.22);
    color: #ffd7d7;
}

.trauma-footer-note {
    margin-top: 18px;
    color: rgba(238,247,243,0.55);
    font-size: 13px;
    line-height: 1.6;
}

.trauma-inline-results {
    display: none;
}

.trauma-inline-results.visible {
    display: grid;
    gap: 16px;
}

@media (max-width: 980px) {
    .trauma-hero,
    .trauma-layout {
        grid-template-columns: 1fr;
    }

    .trauma-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 720px) {
    .trauma-shell {
        padding: 18px 14px 34px;
    }

    .trauma-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .trauma-title {
        font-size: 34px;
    }

    .trauma-grid,
    .trauma-form-grid {
        grid-template-columns: 1fr;
    }

    .trauma-hero-card,
    .trauma-side-card,
    .trauma-step-card,
    .trauma-result-card,
    .trauma-safety-card {
        border-radius: 22px;
    }

    .trauma-hero-card,
    .trauma-side-card,
    .trauma-step-card {
        padding: 22px;
    }

    .trauma-actions {
        flex-direction: column-reverse;
    }

    .trauma-primary-btn,
    .trauma-secondary-btn,
    .trauma-back {
        width: 100%;
        justify-content: center;
    }
}

/* ==== MOBILE CHAT SWIPE HARDENING ==== */
@media (max-width: 900px) {
    html,
    body,
    .app-shell,
    #chat-window {
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
    }

    #chat-window {
        padding-left: 14px;
        padding-right: 14px;
    }

    .message-row {
        max-width: 100%;
        transform: translateX(0);
    }

    .bubble {
        max-width: 88%;
    }

    .message-actions {
        display: none !important;
    }

    .reply-bar {
        margin-left: 14px;
        margin-right: 14px;
    }
}

button,
a,
input,
textarea,
select,
label,
summary,
.reply-btn-desktop,
.reply-close-btn,
.send-btn,
.mic-btn,
.menu-toggle-btn {
    touch-action: manipulation;
}

.action-btn.coupon {
    background: rgba(46, 213, 115, 0.12);
    border: 1px solid rgba(46, 213, 115, 0.25);
    color: #2ed573;
}

.action-btn.coupon:hover {
    background: rgba(46, 213, 115, 0.2);
}

/* Kapcsolati állapotjelző */
.connection-status{position:fixed;left:50%;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);z-index:10050;max-width:min(92vw,540px);padding:11px 16px;border-radius:999px;font-size:13px;font-weight:800;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.connection-status.offline{background:#3b1518;color:#ffd9dc;border:1px solid rgba(255,107,107,.35)}
.connection-status.online{background:#0b2f20;color:#cffff0;border:1px solid rgba(46,213,115,.35)}
.connection-status[hidden]{display:none!important}
:focus-visible{outline:3px solid rgba(46,213,115,.7);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ========================================================================== */
/* Lélekmenta 6.0.1 – egyszerű, mobilbarát modellválasztó                     */
/* ========================================================================== */
.model-picker {
    width: min(760px, calc(100% - 24px));
    margin: 8px auto 6px;
    padding: 8px 10px 7px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(7,16,13,.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    flex: 0 0 auto;
}
.model-picker-row {
    display: grid;
    grid-template-columns: auto minmax(210px, 1fr) auto;
    align-items: center;
    gap: 9px;
}
.model-picker-label {
    color: rgba(255,255,255,.5);
    font-size: 10px;
    font-weight: 750;
}
.model-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
}
.model-option {
    min-width: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    color: rgba(255,255,255,.58);
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.model-option:hover { color: rgba(255,255,255,.9); }
.model-option.selected,
.model-option[aria-checked="true"] {
    color: #ecfff4;
    background: rgba(46,213,115,.15);
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
}
.model-option.depth.selected,
.model-option.depth[aria-checked="true"] {
    color: #f1eaff;
    background: rgba(168,125,255,.17);
}
.model-option.locked { opacity: .62; }
.model-option small {
    color: inherit;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .35px;
}
.chat-quota-badge {
    min-width: 54px;
    color: rgba(255,255,255,.52);
    font-size: 9px;
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}
.chat-quota-badge.premium { color: #75e9a5; }
.model-picker-note {
    margin: 5px 0 0;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.message-model-label {
    display: block;
    width: max-content;
    margin-top: 9px;
    padding-top: 7px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
}
.chat-starter-grid {
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
}
.chat-starter-grid button {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.035);
    text-align: left;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}
.chat-starter-grid button:hover { border-color: rgba(46,213,115,.35); background: rgba(46,213,115,.07); }
.chat-starter-grid i { color: #5ee697; }
.model-upgrade-modal .modal-icon.premium { color: #72eaa3; background: rgba(46,213,115,.13); }
.upgrade-benefits {
    display: grid;
    gap: 9px;
    margin: 18px 0;
    text-align: left;
}
.upgrade-benefits span { color: rgba(255,255,255,.78); font-size: 12px; }
.upgrade-benefits i { margin-right: 8px; color: #5ee697; }
.premium-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

@media (max-width: 680px) {
    .model-picker {
        width: calc(100% - 14px);
        margin: 5px auto 4px;
        padding: 7px 8px 6px;
        border-radius: 12px;
    }
    .model-picker-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
    }
    .model-picker-label { display: none; }
    .model-options { min-width: 0; }
    .model-option { min-height: 36px; padding: 7px 8px; font-size: 11px; }
    .chat-quota-badge { min-width: 48px; font-size: 8px; }
    .model-picker-note { margin-top: 4px; font-size: 8px; }
    .chat-starter-grid { grid-template-columns: 1fr; width: 100%; margin-top: 17px; }
    .chat-starter-grid button { min-height: 44px; }
    .stacked-mobile { flex-direction: column; }
    .stacked-mobile > * { width: 100%; }
}

@media (max-width: 360px) {
    .model-picker-row { grid-template-columns: 1fr; }
    .chat-quota-badge { display: none; }
}

.model-upgrade-modal .btn-confirm,
.model-upgrade-modal .premium-link.btn-confirm {
    background: linear-gradient(135deg, #2ed573, #26af5f);
    color: #031009;
    box-shadow: 0 12px 28px rgba(46,213,115,.22);
}
.model-upgrade-modal .btn-confirm:hover,
.model-upgrade-modal .premium-link.btn-confirm:hover {
    filter: brightness(1.06);
}

.ai-memory-panel {
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.025);
}
.ai-memory-panel.premium { border-color: rgba(46,213,115,.22); background: rgba(46,213,115,.045); }
.ai-memory-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.ai-memory-head h2 { margin:6px 0 0; font-size:clamp(19px,4vw,27px); }
.ai-memory-panel p { color:var(--text-dim); line-height:1.65; }
.ai-memory-status { flex:0 0 auto; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.06); font-size:10px; font-weight:900; letter-spacing:.6px; }
.ai-memory-panel.premium .ai-memory-status { color:var(--accent-menta); background:rgba(46,213,115,.11); }
.ai-memory-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
.ai-memory-groups > div { padding:14px; border:1px solid rgba(255,255,255,.07); border-radius:16px; background:rgba(0,0,0,.13); }
.ai-memory-groups b { display:block; margin-bottom:10px; font-size:12px; }
.ai-memory-tags { display:flex; flex-wrap:wrap; gap:7px; }
.ai-memory-tags span { padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.055); color:rgba(255,255,255,.76); font-size:10px; }
.ai-memory-tags span.empty { padding:0; background:transparent; color:rgba(255,255,255,.42); }
.ai-memory-clear-form { margin-top:15px; }
.ai-memory-clear, .ai-memory-upgrade { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 14px; border-radius:12px; font-size:11px; font-weight:800; text-decoration:none; cursor:pointer; }
.ai-memory-clear { border:1px solid rgba(255,107,107,.2); background:rgba(255,107,107,.07); color:#ffabab; }
.ai-memory-upgrade { border:1px solid rgba(185,154,255,.28); background:rgba(185,154,255,.1); color:#d8c7ff; }
@media(max-width:640px){.ai-memory-panel{padding:17px}.ai-memory-head{flex-direction:column}.ai-memory-groups{grid-template-columns:1fr}.ai-memory-status{align-self:flex-start}}

#mic-btn.premium-locked { color:#9fe7bf; border-color:rgba(46,213,115,.18); }
#mic-btn.premium-locked::after {
    content:'+';
    position:absolute;
    right:2px;
    top:1px;
    width:13px;
    height:13px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#22c77a;
    color:#fff;
    font-size:9px;
    font-weight:900;
}

#mic-btn.premium-locked { position:relative; }
.depth-trial-upgrade-card {
    width:min(640px,94%);
    align-self:center;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:13px;
    align-items:center;
    padding:15px;
    margin:4px auto 10px;
    border:1px solid rgba(46,213,115,.18);
    border-radius:17px;
    background:linear-gradient(135deg,rgba(46,213,115,.10),rgba(255,255,255,.03));
}
.depth-trial-card-icon { width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:rgba(46,213,115,.13);color:#7ee6b1; }
.depth-trial-card-copy strong,.depth-trial-card-copy span{display:block}.depth-trial-card-copy strong{font-size:12px;margin-bottom:4px}.depth-trial-card-copy span{color:rgba(255,255,255,.58);font-size:10px;line-height:1.45}
.depth-trial-upgrade-card a{padding:9px 11px;border-radius:10px;background:#22c77a;color:#022111;text-decoration:none;font-size:10px;font-weight:850;white-space:nowrap}
@media(max-width:620px){.depth-trial-upgrade-card{grid-template-columns:auto minmax(0,1fr)}.depth-trial-upgrade-card a{grid-column:1/-1;text-align:center;width:100%}}

/* ========================================================================== */
/* Lélekmenta 6.0.2 – stabil chatfejléc és egyszerű modellválasztó            */
/* ========================================================================== */
.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -9px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--accent-menta);
    font-size: 20px;
    cursor: pointer;
}
.mobile-menu-button:active { background: rgba(255,255,255,.06); }
.mobile-header-brand {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
}
.mobile-header-spacer { width: 24px; height: 1px; }

.chat-toolbar {
    width: 100%;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(255,255,255,.065);
    background: rgba(2,6,6,.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.chat-toolbar-inner {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    margin: 0 auto;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.chat-model-control {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.chat-model-control-label {
    flex: 0 0 auto;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.chat-model-select-shell {
    position: relative;
    min-width: 0;
    display: inline-flex;
    align-items: center;
}
.chat-model-select-shell select {
    width: auto;
    max-width: 220px;
    min-height: 36px;
    margin: 0;
    padding: 7px 34px 7px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    outline: none;
    color: #eafff2;
    background: rgba(46,213,115,.09);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.chat-model-select-shell select.depth-active {
    color: #f1eaff;
    background: rgba(168,125,255,.12);
    border-color: rgba(168,125,255,.25);
}
.chat-model-select-shell select:focus-visible {
    border-color: rgba(46,213,115,.55);
    box-shadow: 0 0 0 3px rgba(46,213,115,.12);
}
.chat-model-select-shell i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.5);
    font-size: 9px;
    pointer-events: none;
}
.chat-quota-badge {
    flex: 0 0 auto;
    min-width: 0;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 999px;
    color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.035);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
.chat-quota-badge.premium {
    border-color: rgba(46,213,115,.18);
    color: #83edaf;
    background: rgba(46,213,115,.07);
}

.message-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px 4px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .35px;
    line-height: 1;
    text-transform: uppercase;
}
.message-meta-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent-menta);
    box-shadow: 0 0 0 3px rgba(46,213,115,.08);
}
.message-meta.depth { color: rgba(183, 235, 210, .78); }
.message-meta.depth .message-meta-dot {
    background: #56d99a;
    box-shadow: 0 0 0 3px rgba(86,217,154,.10);
}
.message-row.assistant .bubble {
    min-width: 0;
    max-width: min(85%, 720px);
}

@media (max-width: 1024px) {
    .mobile-header {
        min-height: 58px;
        height: auto;
        padding: max(6px, env(safe-area-inset-top)) 16px 6px;
    }
}

@media (max-width: 680px) {
    .chat-toolbar-inner {
        padding: 7px 12px;
        gap: 8px;
    }
    .chat-model-control { gap: 7px; }
    .chat-model-control-label { display: none; }
    .chat-model-select-shell select {
        max-width: min(68vw, 205px);
        min-height: 38px;
        padding-left: 11px;
        font-size: 12px;
    }
    .chat-quota-badge {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 8px;
    }
    #chat-window {
        padding-top: 14px;
        gap: 12px;
    }
    .welcome-container {
        min-height: 100%;
        height: auto;
        padding: 28px 8px 22px;
    }
    .welcome-icon-box {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }
    .welcome-icon { font-size: 29px; }
    .welcome-title { font-size: 21px; }
    .welcome-text { font-size: 14px; }
    .message-row.assistant .bubble,
    .message-row.user .bubble {
        max-width: 90%;
    }
}

@media (max-width: 370px) {
    .chat-toolbar-inner { padding-left: 9px; padding-right: 9px; }
    .chat-model-select-shell select { max-width: 66vw; }
    .chat-quota-badge { padding-left: 6px; padding-right: 6px; }
}

/* ========================================================================== */
/* Lélekmenta 6.0.3 – egyedi, letisztult modellválasztó                       */
/* ========================================================================== */
.chat-toolbar-inner {
    display: block;
    padding: 10px 20px 12px;
}

.chat-model-picker {
    width: 100%;
    min-width: 0;
}

.chat-model-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.chat-model-picker-title {
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .65px;
    line-height: 1.2;
    text-transform: uppercase;
}

.chat-model-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.chat-model-option {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    outline: 0;
    color: rgba(255,255,255,.62);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.chat-model-option:hover {
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.035);
}

.chat-model-option:active { transform: scale(.99); }

.chat-model-option:focus-visible {
    outline: 3px solid rgba(46,213,115,.22);
    outline-offset: 2px;
}

.chat-model-option-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: rgba(255,255,255,.58);
    background: rgba(255,255,255,.045);
    font-size: 13px;
    transition: inherit;
}

.chat-model-option-copy {
    min-width: 0;
    display: block;
    flex: 1 1 auto;
}

.chat-model-option-copy strong,
.chat-model-option-copy small {
    display: block;
    min-width: 0;
}

.chat-model-option-copy strong {
    color: inherit;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.15;
}

.chat-model-option-copy small {
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-model-option-tag {
    flex: 0 0 auto;
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.035);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .35px;
    line-height: 1;
    text-transform: uppercase;
}

.chat-model-option.harmony.selected,
.chat-model-option.harmony[aria-checked="true"] {
    color: #effff5;
    border-color: rgba(46,213,115,.24);
    background: linear-gradient(135deg, rgba(46,213,115,.17), rgba(46,213,115,.075));
    box-shadow: 0 5px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.035);
}

.chat-model-option.harmony.selected .chat-model-option-icon,
.chat-model-option.harmony[aria-checked="true"] .chat-model-option-icon {
    color: #75eca5;
    background: rgba(46,213,115,.14);
}

.chat-model-option.depth.selected,
.chat-model-option.depth[aria-checked="true"] {
    color: #effff8;
    border-color: rgba(46,213,115,.22);
    background: linear-gradient(135deg, rgba(38,189,133,.16), rgba(46,213,115,.07));
    box-shadow: 0 5px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.035);
}

.chat-model-option.depth.selected .chat-model-option-icon,
.chat-model-option.depth[aria-checked="true"] .chat-model-option-icon {
    color: #7ee6b1;
    background: rgba(38,189,133,.16);
}

.chat-model-option.depth .chat-model-option-tag {
    border-color: rgba(46,213,115,.18);
    color: #9fe7bf;
    background: rgba(46,213,115,.09);
}

.chat-model-option.locked:not(.selected) {
    opacity: .76;
}

.chat-model-option.locked:not(.selected):hover {
    opacity: 1;
}

@media (max-width: 680px) {
    .chat-toolbar-inner {
        padding: 9px 12px 10px;
    }

    .chat-model-picker-head {
        margin-bottom: 7px;
    }

    .chat-model-picker-title {
        display: inline-block;
        font-size: 9px;
    }

    .chat-model-options {
        gap: 4px;
        padding: 3px;
        border-radius: 14px;
    }

    .chat-model-option {
        min-height: 49px;
        gap: 8px;
        padding: 8px 9px;
        border-radius: 11px;
    }

    .chat-model-option-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        font-size: 12px;
    }

    .chat-model-option-copy strong { font-size: 11px; }
    .chat-model-option-copy small { font-size: 8px; }
    .chat-model-option-tag { padding: 3px 5px; font-size: 6px; }
}

@media (max-width: 430px) {
    .chat-model-option-copy small {
        max-width: 24vw;
    }

    .chat-model-option-tag {
        position: absolute;
        top: 5px;
        right: 5px;
    }
}

@media (max-width: 355px) {
    .chat-model-option {
        gap: 6px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .chat-model-option-icon {
        width: 25px;
        height: 25px;
    }

    .chat-model-option-copy small { display: none; }
}

@media (max-width: 680px) {
    .image-preview-bar { padding:8px 10px; gap:8px; }
    .image-preview-thumb-wrap { width:42px; height:42px; border-radius:10px; }
    .chat-image { width:min(100%, 260px); max-height:260px; }
}

/* ==========================================================================
   Lélekmenta 6.0.4 – ChatGPT-szerű beviteli modellválasztó, egységes zöld UI
   ========================================================================== */
.chat-toolbar { display: none !important; }

.input-container {
    position: relative;
    padding-top: 10px;
}

#chat-form {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
}

#chat-form:focus-within {
    border-color: rgba(46,213,115,.38) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.24), 0 0 0 3px rgba(46,213,115,.07) !important;
}

#chat-form textarea {
    width: 100%;
    min-height: 42px;
    max-height: 150px;
    padding: 8px 7px 3px !important;
    font-size: 16px;
    line-height: 1.45;
}

.composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.composer-actions-left,
.composer-actions-right {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.composer-actions-left { flex: 1 1 auto; }
.composer-actions-right { flex: 0 0 auto; }

.composer-icon-btn,
#mic-btn.composer-icon-btn,
#attach-btn.composer-icon-btn {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.045) !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 14px !important;
    cursor: pointer;
}

.composer-icon-btn:hover,
#mic-btn.composer-icon-btn:hover,
#attach-btn.composer-icon-btn:hover {
    color: #8af1b2 !important;
    background: rgba(46,213,115,.10) !important;
    border-color: rgba(46,213,115,.22) !important;
}

.composer-icon-btn.feature-disabled {
    opacity: .42;
}

.model-picker-inline {
    position: relative;
    min-width: 0;
}

.model-picker-button {
    height: 34px;
    max-width: 160px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.86);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.model-picker-button:hover,
.model-picker-button[aria-expanded="true"] {
    background: rgba(46,213,115,.10);
    border-color: rgba(46,213,115,.24);
    color: #effff5;
}

.model-picker-button > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.model-picker-button > i:first-child { color: #72eaa3; }
.model-picker-chevron { font-size: 8px; opacity: .58; transition: transform .18s ease; }
.model-picker-button[aria-expanded="true"] .model-picker-chevron { transform: rotate(180deg); }

.model-picker-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 2500;
    width: min(340px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(8,15,13,.985);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.035);
    transform-origin: bottom left;
    animation: lmModelMenuIn .16s ease-out;
}

@keyframes lmModelMenuIn {
    from { opacity: 0; transform: translateY(7px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.model-picker-menu-title {
    padding: 6px 9px 8px;
    color: rgba(255,255,255,.44);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.model-picker-item {
    position: relative;
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: rgba(255,255,255,.78);
    text-align: left;
    font: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.model-picker-item:hover {
    background: rgba(255,255,255,.045);
    color: #fff;
}

.model-picker-item.selected,
.model-picker-item[aria-selected="true"] {
    border-color: rgba(46,213,115,.24);
    background: linear-gradient(135deg, rgba(46,213,115,.14), rgba(46,213,115,.055));
    color: #effff5;
}

.model-picker-item.locked:not(.selected) { opacity: .72; }

.model-picker-item-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.05);
    color: #72eaa3;
}

.model-picker-item.selected .model-picker-item-icon {
    background: rgba(46,213,115,.13);
}

.model-picker-item-copy { min-width: 0; }
.model-picker-item-copy strong,
.model-picker-item-copy small { display: block; }
.model-picker-item-copy strong { font-size: 12px; font-weight: 850; }
.model-picker-item-copy small {
    margin-top: 3px;
    color: rgba(255,255,255,.43);
    font-size: 9px;
    line-height: 1.35;
}

.model-picker-badge {
    padding: 4px 7px;
    border: 1px solid rgba(46,213,115,.18);
    border-radius: 999px;
    background: rgba(46,213,115,.075);
    color: #8af1b2;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.model-picker-check {
    width: 16px;
    color: #72eaa3;
    font-size: 10px;
    opacity: 0;
}
.model-picker-item.selected .model-picker-check { opacity: 1; }

.chat-quota-badge {
    flex: 0 0 auto;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap;
}

#send-btn {
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
}

/* Mélység is a Lélekmenta egységes zöld vizuális rendszerét használja. */
.message-meta.depth,
.message-meta.depth .message-meta-dot,
.depth-trial-card-icon,
.model-upgrade-modal .modal-icon.premium {
    color: #72eaa3 !important;
}
.message-meta.depth .message-meta-dot { background: #52df8c !important; }
.model-upgrade-modal {
    border-color: rgba(46,213,115,.18) !important;
    background: #0b1512 !important;
}
.model-upgrade-modal .premium-link,
.depth-trial-upgrade-card a {
    background: #2ed573 !important;
    color: #031009 !important;
}
.upgrade-benefits span i { color: #72eaa3 !important; }

/* A régi, elcsúszó lila próbakártya nem jelenik meg. */
.depth-trial-upgrade-card { display: none !important; }

.image-preview-bar {
    border-color: rgba(46,213,115,.16) !important;
    background: rgba(46,213,115,.055) !important;
}

.chat-image-wrap {
    margin: 0 0 8px;
    overflow: hidden;
    border-radius: 13px;
}
.chat-image-link { display: block; }
.chat-image {
    display: block;
    width: min(320px, 100%);
    max-height: 360px;
    object-fit: cover;
    border-radius: 13px;
    background: rgba(255,255,255,.04);
}
.chat-image-caption {
    margin-top: 5px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
}
.bubble.with-image { padding: 8px 8px 11px; }

@media (max-width: 620px) {
    .input-container { padding-left: 10px; padding-right: 10px; }
    #chat-form { border-radius: 20px !important; padding: 9px !important; }
    .composer-actions { gap: 5px; }
    .composer-actions-left { gap: 4px; }
    .model-picker-button { max-width: 122px; padding: 0 8px; gap: 5px; }
    .chat-quota-badge { display: none; }
    .model-picker-menu {
        position: fixed;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: calc(94px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        transform-origin: bottom center;
    }
    .model-picker-item { grid-template-columns: 36px minmax(0,1fr) auto auto; }
}

@media (max-width: 360px) {
    .model-picker-button { max-width: 102px; }
    .model-picker-item-copy small { font-size: 8px; }
    .model-picker-badge { display: none; }
}


/* 6.0.4 végleges modellválasztó és Safari finomhangolás */
.model-picker-menu,
.model-picker-item,
.model-picker-badge,
.model-upgrade-modal,
.model-upgrade-modal * {
    --lm-model-accent: #2ed573;
}
.model-picker-menu {
    overflow: hidden;
    overscroll-behavior: contain;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.model-picker-item.depth.selected,
.model-picker-item.depth[aria-selected="true"],
.model-picker-item[data-model-tier="depth"].selected,
.model-picker-item[data-model-tier="depth"][aria-selected="true"] {
    border-color: rgba(46,213,115,.25) !important;
    background: linear-gradient(135deg, rgba(46,213,115,.145), rgba(46,213,115,.055)) !important;
    color: #effff5 !important;
}
.model-picker-item[data-model-tier="depth"] .model-picker-item-icon,
.model-picker-item[data-model-tier="depth"] .model-picker-badge {
    color: #8af1b2 !important;
    border-color: rgba(46,213,115,.18) !important;
    background: rgba(46,213,115,.08) !important;
}
.model-upgrade-modal .modal-actions .btn-cancel {
    background: rgba(255,255,255,.055) !important;
    color: #fff !important;
}
.model-upgrade-modal .modal-actions .premium-link {
    border: 0 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
@supports (-webkit-touch-callout: none) {
    html, body { min-height: -webkit-fill-available; }
    .app-shell { height: 100dvh; min-height: -webkit-fill-available; }
    .input-container { -webkit-transform: translateZ(0); transform: translateZ(0); }
}
@media (max-width: 620px) {
    .model-picker-menu {
        bottom: calc(88px + env(safe-area-inset-bottom));
        max-height: min(64dvh, 360px);
        overflow-y: auto;
    }
    .model-picker-menu-title { padding-top: 8px; }
    .model-picker-item { min-height: 62px; }
}


/* ========================================================================== 
   Lélekmenta 6.0.5 – modellválasztó közvetlenül a beviteli buborékban
   ========================================================================== */
#chat-form .composer-actions-left {
    overflow: visible;
}
#chat-form .model-picker-inline {
    position: relative;
    z-index: 40;
}
#chat-form .model-picker-button {
    min-width: 0;
    max-width: 150px;
    height: 34px;
    border-color: rgba(255,255,255,.09);
    background: transparent;
}
#chat-form .model-picker-button:hover,
#chat-form .model-picker-button[aria-expanded="true"] {
    background: rgba(255,255,255,.06);
    border-color: rgba(46,213,115,.24);
}
#chat-form .model-picker-menu {
    position: absolute;
    left: 0;
    right: auto;
    bottom: calc(100% + 9px);
    width: min(330px, calc(100vw - 30px));
    max-height: min(60dvh, 330px);
    overflow-y: auto;
    z-index: 4000;
    transform-origin: bottom left;
}
.model-picker-item[data-model-tier="depth"],
.model-picker-item[data-model-tier="depth"] * {
    --lm-model-accent: #2ed573;
}
.message-meta.depth,
.message-meta.harmony {
    color: rgba(114,234,163,.72) !important;
}
.message-meta.depth .message-meta-dot,
.message-meta.harmony .message-meta-dot {
    background: #52df8c !important;
}
@media (max-width: 620px) {
    #chat-form .composer-actions-left {
        flex: 1 1 auto;
        min-width: 0;
    }
    #chat-form .model-picker-inline {
        min-width: 0;
        max-width: calc(100vw - 125px);
    }
    #chat-form .model-picker-button {
        width: auto;
        max-width: 132px;
        height: 32px;
        padding: 0 9px;
    }
    #chat-form .model-picker-menu {
        position: absolute;
        left: 0;
        right: auto;
        bottom: calc(100% + 8px);
        width: min(320px, calc(100vw - 38px));
        max-height: min(56dvh, 310px);
    }
}
@media (max-width: 370px) {
    #chat-form .model-picker-button { max-width: 112px; }
    #chat-form .model-picker-menu { width: calc(100vw - 28px); }
}

/* ========================================================================== 
   Lélekmenta 6.1.0 – valódi mobil viewport + fizetési állapotjelző
   ========================================================================== */
:root {
    --lm-viewport-height: 100dvh;
    --lm-viewport-offset-top: 0px;
}
html, body {
    height: var(--lm-viewport-height, 100dvh) !important;
    min-height: var(--lm-viewport-height, 100dvh) !important;
}
body {
    position: relative;
}
.app-shell {
    height: var(--lm-viewport-height, 100dvh) !important;
    min-height: 0 !important;
    transform: translateY(var(--lm-viewport-offset-top, 0px));
}
.input-container {
    position: relative;
    z-index: 80;
    flex: 0 0 auto;
}
#chat-window {
    scroll-padding-bottom: 28px;
}
body.lm-keyboard-open .mobile-header {
    display: none !important;
}
body.lm-keyboard-open #chat-window {
    padding-top: 8px;
}
body.lm-keyboard-open .input-container {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.lm610-payment-banner {
    flex: 0 0 auto;
    width: min(860px, calc(100% - 32px));
    margin: 10px auto 0;
    padding: 11px 13px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(247,185,85,.24);
    border-radius: 15px;
    background: rgba(247,185,85,.075);
    color: #fff;
    text-decoration: none;
    z-index: 70;
}
.lm610-payment-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #f7b955;
    background: rgba(247,185,85,.11);
}
.lm610-payment-banner b,
.lm610-payment-banner small { display: block; }
.lm610-payment-banner b { font-size: 12px; }
.lm610-payment-banner small { margin-top: 3px; color: rgba(255,255,255,.56); font-size: 9px; line-height: 1.35; }
.lm610-payment-banner > i { color: #f7b955; font-size: 11px; }
@media (max-width: 620px) {
    .lm610-payment-banner { width: calc(100% - 20px); margin-top: 7px; }
    body.lm-keyboard-open .lm610-payment-banner { display: none; }
    #chat-form textarea { max-height: min(116px, 24vh); }
}
