:root {
    --hyz-pink: #ec4899;
    --hyz-purple: #9333ea;
    --hyz-navy: #0f172a;
    --hyz-bg: #f8fafc;
}

body.theme-body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--hyz-bg);
    color: #334155;
}

body.theme-auth {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 15%, rgba(147, 51, 234, 0.16), transparent 34%),
        radial-gradient(circle at 88% 85%, rgba(236, 72, 153, 0.13), transparent 36%),
        var(--hyz-bg);
}

h1, h2, h3, h4, h5, h6, .fw-black {
    font-family: Nunito, Inter, sans-serif;
}

.theme-landing {
    background: radial-gradient(circle at 15% 20%, rgba(236, 72, 153, 0.15), transparent 35%),
                radial-gradient(circle at 85% 80%, rgba(147, 51, 234, 0.18), transparent 35%),
                var(--hyz-bg);
}

.hero-card,
.premium-card,
.auth-card {
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.hero-card { max-width: 760px; padding: 3rem 2rem; }
.premium-card { padding: 1.5rem; }
.auth-card { padding: 2rem; }
.landing-shell {
    background: #fff;
}
.landing-nav {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.landing-nav-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}
.landing-brand-logo {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
.landing-brand-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.landing-brand-text {
    font-family: Nunito, Inter, sans-serif;
    font-weight: 900;
    font-size: 1.55rem;
    letter-spacing: -.02em;
    color: #0f172a;
}
.landing-nav-links {
    align-items: center;
    gap: 2rem;
}
.landing-nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    font-size: .92rem;
}
.landing-nav-links a:hover {
    color: var(--hyz-purple);
}
.landing-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}
.landing-nav-login {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    padding: .58rem .95rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 12px 22px rgba(147, 51, 234, .24);
    border: 1px solid rgba(255, 255, 255, .55);
}
.landing-nav-login:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(147, 51, 234, .3);
}
.landing-nav-login i {
    font-size: .96rem;
}
.landing-nav-demo {
    font-weight: 800;
    font-size: .85rem;
    padding: .6rem 1rem;
}
.landing-hero {
    padding-top: 8.2rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #faf5ff 0%, #fdf2f8 38%, #fff 100%);
}
.landing-hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: .35;
}
.landing-hero-orb-left {
    width: 280px;
    height: 280px;
    top: 90px;
    left: -50px;
    background: #c084fc;
}
.landing-hero-orb-right {
    width: 360px;
    height: 360px;
    right: -90px;
    bottom: -80px;
    background: #f9a8d4;
}
.landing-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.landing-hero-copy {
    flex: 1 1 520px;
    text-align: center;
}
.landing-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .5rem .9rem;
    background: #fff;
    border: 1px solid #f3e8ff;
    color: var(--hyz-purple);
    font-size: .85rem;
    font-weight: 800;
}
.landing-hero-title {
    font-family: Nunito, Inter, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 1rem;
}
.landing-hero-title span {
    background: linear-gradient(135deg, var(--hyz-purple), var(--hyz-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.landing-hero-text {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 1.6rem;
    font-weight: 500;
}
.landing-hero-cta {
    min-height: 56px;
    padding-inline: 2rem;
    font-size: 1.02rem;
    font-weight: 800;
}
.landing-hero-mock {
    flex: 1 1 360px;
    max-width: 470px;
    margin-inline: auto;
}
.landing-mock-card {
    background: #fff;
    border-radius: 2rem;
    padding: 1.5rem;
    border: 4px solid #f8fafc;
    box-shadow: 0 30px 54px rgba(15, 23, 42, .12);
    transform: rotate(2deg);
}
.landing-mock-head {
    display: flex;
    gap: .8rem;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: .95rem;
    margin-bottom: 1rem;
}
.landing-mock-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fce7f3, #ede9fe);
}
.landing-mock-avatar img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.landing-mock-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}
.landing-mock-head p {
    margin: 0;
    color: var(--hyz-purple);
    font-size: .78rem;
    font-weight: 700;
}
.landing-mock-line-block,
.landing-mock-image-block {
    padding: .85rem;
    border-radius: 1.05rem;
    background: #f8fafc;
}
.landing-mock-line-block {
    margin-bottom: .8rem;
}
.landing-mock-line-block span,
.landing-mock-image-block span,
.landing-mock-image-block div {
    display: block;
    background: #e2e8f0;
    border-radius: 999px;
}
.landing-mock-line-block span:first-child {
    width: 5.5rem;
    height: .6rem;
    margin-bottom: .5rem;
}
.landing-mock-line-block span:last-child {
    width: 100%;
    height: .5rem;
}
.landing-mock-image-block div {
    width: 100%;
    height: 120px;
    border-radius: .85rem;
    margin-bottom: .6rem;
}
.landing-mock-image-block span {
    width: 4.5rem;
    height: .6rem;
}
.landing-pricing {
    background: #f8fafc;
    padding: 4.7rem 0;
}
.landing-steps,
.landing-features {
    padding: 4.2rem 0;
    background: #fff;
}
.landing-steps-grid,
.landing-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.landing-step-card,
.landing-feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    background: #fff;
    padding: 1.05rem;
}
.landing-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #f3e8ff;
    color: #6d28d9;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: .5rem;
}
.landing-step-card h4,
.landing-feature-card h4 {
    margin: 0 0 .4rem;
    font-size: 1.02rem;
    color: #0f172a;
    font-weight: 800;
}
.landing-step-card p,
.landing-feature-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.58;
    font-size: .93rem;
}
.landing-feature-card i {
    font-size: 1.25rem;
    color: #9333ea;
    margin-bottom: .55rem;
}
.landing-faq {
    background: #fff;
    padding: 4.4rem 0 2.4rem;
}
.landing-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
}
.landing-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem 1rem .95rem;
}
.landing-faq-item h4 {
    margin: 0 0 .35rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}
.landing-faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: .93rem;
}
.landing-contact {
    padding: 2.4rem 0 6rem;
    background: #fff;
}
.landing-contact-card {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    padding: 1.1rem 1.15rem;
    text-align: center;
    background: #fff;
}
.landing-contact-card h3 {
    margin: 0 0 .35rem;
    font-size: 1.06rem;
    font-weight: 900;
    color: #0f172a;
}
.landing-contact-card p {
    margin: 0;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.6;
}
.landing-contact-card a {
    color: var(--hyz-purple);
    font-weight: 800;
    text-decoration: none;
}
.landing-contact-card a:hover {
    text-decoration: underline;
}
.landing-whatsapp-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 48px;
    padding: .7rem .95rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .24);
    font-weight: 800;
    font-size: .9rem;
}
.landing-whatsapp-widget:hover,
.landing-whatsapp-widget:focus {
    color: #fff;
    transform: translateY(-2px);
}
.landing-whatsapp-widget i {
    font-size: 1.25rem;
}
.landing-section-head {
    text-align: center;
    margin-bottom: 2.1rem;
}
.landing-section-head h2 {
    color: var(--hyz-purple);
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}
.landing-section-head h3 {
    color: #0f172a;
    font-size: clamp(1.8rem, 3.2vw, 2.45rem);
    font-weight: 900;
    margin: 0;
}
.landing-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.landing-plan-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 20px 36px rgba(15, 23, 42, .08);
    position: relative;
}
.landing-plan-featured {
    border: 2px solid var(--hyz-purple);
    box-shadow: 0 26px 44px rgba(15, 23, 42, .13);
}
.landing-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--hyz-purple), var(--hyz-pink));
    color: #fff;
    font-size: .69rem;
    font-weight: 800;
    padding: .4rem .8rem;
    border-radius: 999px;
}
.landing-plan-card h4 {
    color: #0f172a;
    font-weight: 900;
    font-size: 1.55rem;
    margin-bottom: .35rem;
}
.landing-plan-card > p {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.landing-plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}
.landing-plan-card ul {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.landing-plan-card li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: #334155;
    font-size: .92rem;
    font-weight: 600;
}
.landing-plan-card li i {
    color: var(--hyz-purple);
    margin-top: .1rem;
}
@media (max-width: 991.98px) {
    .landing-hero-copy {
        text-align: center;
    }
    .landing-hero-text {
        margin-inline: auto;
    }
}
@media (max-width: 767.98px) {
    .landing-nav-demo {
        font-size: .76rem;
        padding: .52rem .78rem;
    }
    .landing-brand-logo {
        width: 54px;
        height: 54px;
    }
    .landing-brand-logo img {
        width: 48px;
        height: 48px;
    }
    .landing-hero {
        padding-top: 7rem;
        padding-bottom: 3.4rem;
    }
    .landing-mock-card {
        transform: none;
    }
    .landing-plan-card {
        padding: 1.6rem 1.2rem;
    }
    .landing-whatsapp-widget {
        right: .75rem;
        bottom: .75rem;
        min-height: 44px;
        padding: .6rem .78rem;
        font-size: .82rem;
    }
    .landing-contact {
        padding-bottom: 5.2rem;
    }
}
@media (min-width: 768px) {
    .landing-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .landing-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .landing-pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
        align-items: stretch;
    }
    .landing-plan-featured {
        transform: scale(1.04);
        z-index: 2;
    }
    .landing-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
.auth-shell-login {
    position: relative;
}
.auth-login-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 2.1rem 2rem 1.9rem;
    border-radius: 2rem;
    box-shadow: 0 28px 52px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 2;
}
.auth-login-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(145deg, #1e1b4b, #0f172a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: .03em;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.25);
}
.admin-login-icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 1.3rem;
    background: #0f172a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    font-size: 2rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .26);
}
.admin-login-icon-wrap.light {
    background: rgba(15, 23, 42, .08);
    color: #0f172a;
    box-shadow: none;
}
.panel-login-logo-wrap {
    background:
        radial-gradient(circle at 30% 25%, rgba(236, 72, 153, .34), transparent 45%),
        radial-gradient(circle at 80% 78%, rgba(147, 51, 234, .34), transparent 48%),
        linear-gradient(145deg, #1e1b4b, #0f172a);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow:
        0 20px 36px rgba(15, 23, 42, .3),
        inset 0 1px 0 rgba(255, 255, 255, .25);
}
.admin-dark-btn {
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    min-height: 56px;
    box-shadow: 0 12px 20px rgba(15, 23, 42, .24);
}
.admin-dark-btn:hover,
.admin-dark-btn:focus {
    background: #1e293b;
    color: #fff;
}
.login-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    background: #eef2ff;
    padding: .35rem;
    border-radius: 999px;
    position: relative;
    z-index: 3;
}
.login-mode-toggle-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    font-weight: 700;
    padding: .7rem .85rem;
    transition: all .2s ease;
    position: relative;
    z-index: 4;
    pointer-events: auto;
}
.login-mode-toggle-btn:hover {
    color: #1e293b;
}
.login-mode-toggle-btn.active {
    background: linear-gradient(90deg, rgba(147, 51, 234, .18), rgba(236, 72, 153, .18));
    color: #5b21b6;
    box-shadow: inset 0 0 0 1px rgba(147, 51, 234, .2);
}
.auth-login-form .form-label {
    font-size: .95rem;
    margin-bottom: .45rem;
}
.auth-login-form .form-control {
    border-radius: 1rem !important;
    border: 1px solid #dbe3ef;
    min-height: 54px;
    padding-inline: 1rem;
}
.auth-login-form .form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 .2rem rgba(168, 85, 247, 0.15);
}
.auth-submit-btn {
    min-height: 54px;
    font-weight: 800;
    letter-spacing: .01em;
    background-image: linear-gradient(90deg, #7e22ce, #ec4899) !important;
    box-shadow: 0 16px 30px rgba(147, 51, 234, 0.3);
}
.auth-submit-btn:hover,
.auth-submit-btn:focus {
    box-shadow: 0 22px 34px rgba(147, 51, 234, 0.35) !important;
}
.auth-login-form .iti {
    width: 100%;
}
.auth-login-form .iti input {
    width: 100%;
}
.hero-badge {
    display: inline-block;
    font-weight: 800;
    color: var(--hyz-pink);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    margin-bottom: .75rem;
}
.hero-title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; color: var(--hyz-navy); }
.hero-subtitle { color: #475569; max-width: 40rem; margin: 0 auto; }

.btn-gradient {
    border: none;
    color: #fff;
    background-image: linear-gradient(90deg, var(--hyz-purple), var(--hyz-pink));
    box-shadow: 0 14px 28px rgba(147, 51, 234, 0.25);
}
.btn-gradient:hover,
.btn-gradient:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(147, 51, 234, 0.34);
}

.memory-item {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1rem;
    background: #fff;
}
.memory-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}

.slide-in {
    animation: hyzSlideIn .5s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes hyzSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

body.theme-public-mobile,
body.theme-public-memory,
body.theme-public-feed {
    background:
        radial-gradient(120% 80% at 16% 8%, rgba(236, 72, 153, .16), transparent 52%),
        radial-gradient(120% 90% at 86% 94%, rgba(147, 51, 234, .16), transparent 58%),
        #f8fafc;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, auto;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
}
/* Welcome: tek ekran, kaydırma yok */
html:has(body.theme-public-mobile),
body.theme-public-mobile {
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}
body.theme-public-mobile {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
}
.public-mobile-shell {
    max-width: 460px;
    margin: 0 auto;
    padding-inline: .9rem;
}
.theme-public-mobile .public-mobile-shell,
.theme-public-mobile .welcome-screen-shell {
    height: 100%;
    max-height: 100dvh;
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    padding: .45rem .7rem;
    box-sizing: border-box;
}
.theme-public-memory .public-mobile-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: .4rem;
}

.memory-top-back {
    width: 100%;
    padding-left: .25rem;
    margin-bottom: .65rem !important;
}
.welcome-mobile-card,
.memory-mobile-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 2rem;
    box-shadow: 0 22px 44px rgba(15, 23, 42, .12);
    padding: 1.4rem 1.2rem 1.3rem;
}
.welcome-mobile-card {
    text-align: center;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: .85rem .95rem .8rem;
    box-sizing: border-box;
}
.welcome-mobile-card > *:not(.welcome-cover) {
    flex-shrink: 0;
}
.welcome-actions {
    margin-top: auto;
}
.welcome-screen-shell {
    position: relative;
}
.welcome-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(46px);
    opacity: .22;
    z-index: 0;
    pointer-events: none;
}
.welcome-orb-left {
    top: -88px;
    left: -74px;
    background: #ec4899;
}
.welcome-orb-right {
    right: -78px;
    bottom: -94px;
    background: #9333ea;
}
.welcome-mascot-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto .45rem;
    border-radius: 1.15rem;
    background: linear-gradient(155deg, #fdf2f8, #ede9fe);
    border: 1px solid #f3e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(147, 51, 234, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
    flex-shrink: 0;
}
.welcome-mascot-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}
.welcome-kicker {
    color: #ec4899;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
    font-size: .72rem;
    margin: 0 0 .2rem;
}
.welcome-couple-name {
    color: #0f172a;
    font-weight: 900;
    font-size: clamp(1.2rem, 5.2vw, 1.85rem);
    line-height: 1.08;
    white-space: nowrap;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: .42rem;
    margin: 0 0 .25rem;
}
.welcome-name-part {
    min-width: 0;
}
.welcome-name-part-left {
    text-align: right;
}
.welcome-name-part-right {
    text-align: left;
}
.welcome-name-heart {
    color: #ec4899;
    font-size: .82em;
    flex-shrink: 0;
}
.welcome-date {
    color: #9333ea;
    font-weight: 800;
    font-size: .9rem;
    margin: 0 0 .45rem;
}
.welcome-cover {
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    margin: 0 0 .45rem;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome-cover img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.welcome-description {
    color: #475569;
    font-size: clamp(.86rem, 3.4vw, .96rem);
    line-height: 1.4;
    max-width: 34ch;
    margin: 0 auto .55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.welcome-primary-btn,
.welcome-outline-btn {
    min-height: 46px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-family: Nunito, Inter, sans-serif;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.welcome-outline-btn {
    border: 2px solid #e9d5ff;
    background: #fff;
    color: #7c3aed;
}
.welcome-outline-btn:hover,
.welcome-outline-btn:focus {
    color: #6d28d9;
    background: #faf5ff;
}
.welcome-quick-links {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: #94a3b8;
    font-size: .9rem;
    font-weight: 800;
}
.welcome-quick-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    text-decoration: none;
    transition: color .2s ease;
}
.welcome-quick-link:hover,
.welcome-quick-link:focus {
    color: #6d28d9;
}
.welcome-quick-dot {
    color: #cbd5e1;
}

.memory-back-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: 1.03rem;
    line-height: 1;
    white-space: nowrap;
}
.memory-back-link .ph-caret-left {
    font-size: 1.05rem;
    transform: translateY(-.5px);
}
.memory-back-link:hover,
.memory-back-link:focus {
    color: #334155;
}
.memory-icon-circle {
    width: 66px;
    height: 66px;
    border-radius: 1.15rem;
    background: linear-gradient(150deg, #fce7f3, #ede9fe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9333ea;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 18px rgba(148, 163, 184, .25);
}
.memory-mascot-svg {
    width: 45px;
    height: 45px;
    display: block;
}
.memory-head-row {
    width: 100%;
}
.memory-head-copy {
    min-width: 0;
    flex: 1;
}
.memory-title {
    font-family: Nunito, Inter, sans-serif;
    font-weight: 900;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: .22rem;
}
.memory-title-couple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-size: clamp(1.2rem, 5.2vw, 1.9rem);
    line-height: 1.15;
}
.memory-title-name {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
.memory-title-name-left {
    text-align: left;
}
.memory-title-name-right {
    text-align: left;
}
.memory-title-heart {
    color: #ec4899;
    font-size: .8em;
}
.memory-title-sub {
    color: #64748b;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.25;
}
@media (max-width: 380px) {
    .memory-icon-circle {
        width: 58px;
        height: 58px;
    }
    .memory-mascot-svg {
        width: 39px;
        height: 39px;
    }
    .memory-title-couple {
        font-size: 1.28rem;
    }
    .memory-title-sub {
        font-size: .86rem;
    }
}
.theme-public-memory .memory-mobile-card {
    width: 100%;
    max-height: calc(100dvh - 1.4rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.memory-subtitle {
    color: #64748b;
    font-size: .92rem;
}
.public-form-label {
    display: block;
    margin-left: .35rem;
    margin-bottom: .5rem;
    font-size: .95rem;
    font-weight: 800;
    color: #475569;
}
.public-form-control {
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 1.2rem;
    min-height: 56px;
    padding: .9rem 1rem;
    color: #0f172a;
}
.public-form-control:focus {
    border-color: #c084fc;
    box-shadow: 0 0 0 4px rgba(192, 132, 252, .2);
    background: #fff;
}
.public-form-textarea {
    min-height: 156px;
    resize: vertical;
}
.public-counter-text {
    display: block;
    margin-top: .45rem;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
    text-align: right;
}
.public-counter-text.is-limit-near {
    color: #7c3aed;
}
.public-counter-text.is-limit-hit {
    color: #dc2626;
}
.public-upload-drop {
    border: 2px dashed #d8b4fe;
    border-radius: 1.25rem;
    background: rgba(245, 243, 255, .72);
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    cursor: pointer;
    text-align: center;
    position: relative;
}
.public-upload-drop-btn {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 2px dashed #d8b4fe;
    outline: none;
}
.public-upload-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
    font-size: 1.5rem;
    box-shadow: 0 2px 6px rgba(148, 163, 184, .2);
}
.public-upload-text {
    font-weight: 700;
    color: #475569;
}
.public-photo-preview-wrap {
    margin-top: .6rem;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 2px dashed #d8b4fe;
    background: rgba(245, 243, 255, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 138px;
    position: relative;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .1);
}
.public-photo-preview {
    display: block;
    width: auto;
    height: auto;
    max-width: min(86%, 210px);
    max-height: 118px;
    object-fit: contain;
    border-radius: .8rem;
    border: 1px solid rgba(148, 163, 184, .35);
    background: #fff;
}
.public-photo-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 23, 42, .86);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .76rem;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .3);
    z-index: 2;
}
.public-photo-remove-btn:hover,
.public-photo-remove-btn:focus {
    background: #ef4444;
    color: #fff;
}
.memory-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1065;
}
.memory-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .44);
}
.memory-consent-dialog {
    position: relative;
    z-index: 1;
    width: calc(100% - 2rem);
    max-width: 360px;
    margin: min(16vh, 120px) auto 0;
    border-radius: 1.3rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .2);
    padding: 1rem 1rem .95rem;
}
.memory-consent-title {
    font-family: Nunito, Inter, sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 .4rem;
}
.memory-consent-text {
    color: #475569;
    font-size: .94rem;
    line-height: 1.5;
}
.memory-consent-actions {
    margin-top: .9rem;
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
}
.memory-friendly-consent {
    padding-top: 1.3rem;
}
.memory-consent-title i {
    color: #ec4899;
    font-size: 1.1rem;
}
.memory-consent-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 800;
}
.memory-media-dialog {
    padding-top: 1.2rem;
}
.memory-media-close-btn {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.memory-media-close-btn:hover,
.memory-media-close-btn:focus {
    background: #e2e8f0;
    color: #0f172a;
}
.memory-media-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .5rem;
}
.memory-media-action-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 800;
}
.memory-submit-btn {
    min-height: 58px;
    border-radius: 999px;
    font-family: Nunito, Inter, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}

.feed-mobile-shell {
    min-height: 100vh;
    position: relative;
    padding-bottom: 5.5rem;
}
.feed-mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}
.feed-mobile-header-inner {
    max-width: 460px;
    margin: 0 auto;
    padding: .85rem .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feed-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 1.4rem;
}
.feed-back-btn-placeholder {
    opacity: 0;
}
.feed-live-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 .72rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 1.15rem;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .08);
}
.feed-live-btn:hover,
.feed-live-btn:focus {
    color: #0f172a;
    border-color: rgba(147, 51, 234, .35);
    background: #fff;
}
.feed-page-title {
    font-family: Nunito, Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
}
.feed-page-subtitle {
    font-size: .8rem;
    color: #9333ea;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.feed-subtitle-heart {
    color: #ec4899;
    font-size: .95em;
}
.feed-mobile-content {
    max-width: 460px;
    margin: 0 auto;
    padding: .95rem .95rem 1rem;
}
.feed-stack {
    display: grid;
    gap: 1rem;
}
.feed-memory-card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 1.75rem;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.feed-memory-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
}
.feed-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(160deg, #a855f7, #ec4899);
    color: #fff;
    font-family: Nunito, Inter, sans-serif;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feed-memory-name {
    color: #0f172a;
    font-weight: 800;
    font-size: 1rem;
}
.feed-memory-date {
    color: #94a3b8;
    font-size: .73rem;
    font-weight: 700;
}
.feed-memory-message {
    color: #334155;
    line-height: 1.65;
    font-weight: 500;
}
.feed-memory-message-clamp.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feed-read-more-btn {
    margin-top: .45rem;
    border: 0;
    background: transparent;
    color: #7c3aed;
    font-size: .82rem;
    font-weight: 800;
    padding: 0;
}
.feed-read-more-btn:hover,
.feed-read-more-btn:focus {
    color: #6d28d9;
}
.feed-memory-photo .feed-memory-message {
    margin-top: .2rem;
    padding: .75rem .9rem;
    border-radius: .95rem;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
}
.feed-memory-image-wrap {
    margin-bottom: .8rem;
    border-radius: 1.2rem;
    overflow: hidden;
    position: relative;
}
.feed-memory-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}
.feed-memory-image-preview {
    filter: none;
    transform: scale(1.01);
}
.feed-zoom-btn {
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    box-shadow: 0 10px 18px rgba(2, 6, 23, .24);
    cursor: pointer;
    z-index: 3;
    pointer-events: auto;
}
.feed-zoom-btn:hover,
.feed-zoom-btn:focus {
    background: #ffffff;
    color: #0f172a;
}
.feed-memory-quote {
    background: linear-gradient(150deg, #fff, #fdf2f8);
    text-align: center;
    padding: 1.35rem 1.2rem 1.15rem;
    position: relative;
    overflow: hidden;
}
.feed-memory-quote .feed-memory-head {
    justify-content: center;
    margin-bottom: .5rem;
}
.feed-memory-quote .feed-avatar {
    display: none;
}
.feed-memory-quote .feed-memory-name {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .8rem;
}
.feed-memory-quote .feed-memory-message {
    font-style: italic;
    color: #1e293b;
    font-size: 1.06rem;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: .75rem !important;
}
.feed-quote-icon {
    position: absolute;
    top: -.3rem;
    left: -.15rem;
    color: rgba(236, 72, 153, .23);
    font-size: 4.35rem;
    transform: rotate(-12deg);
    z-index: 0;
}
.feed-memory-quote .feed-memory-date::before,
.feed-memory-quote .feed-memory-date::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #c084fc;
    display: inline-block;
    margin: 0 .45rem;
    transform: translateY(-1px);
}
.feed-image-modal-dialog {
    position: relative;
    z-index: 1;
    width: calc(100% - 1.5rem);
    max-width: 560px;
    margin: min(8vh, 60px) auto 0;
    border-radius: 1.2rem;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 44px rgba(2, 6, 23, .48);
    padding: .7rem;
}
.feed-image-modal-preview {
    display: block;
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: .85rem;
    background: #020617;
}
.feed-empty-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background: #fff;
    text-align: center;
    padding: 1.4rem 1rem;
}
.feed-floating-add {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background-image: linear-gradient(90deg, var(--hyz-purple), var(--hyz-pink));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 18px 28px rgba(147, 51, 234, .35);
    font-size: 1.6rem;
    z-index: 40;
}
.feed-floating-add:hover,
.feed-floating-add:focus {
    color: #fff;
}

.small-badge {
    display: inline-flex;
    padding: .25rem .75rem;
    border-radius: 999px;
    background: #f3e8ff;
    color: #7c3aed;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.panel-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}
.panel-sidebar {
    background: linear-gradient(180deg, #1e1b4b, #0f172a);
    color: #cbd5e1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.admin-sidebar {
    border-right: 1px solid rgba(15, 23, 42, .55);
    box-shadow: 0 16px 34px rgba(2, 6, 23, .35);
}
.admin-sidebar-subtitle {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
}
.admin-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .76rem;
    font-weight: 800;
}
.panel-brand { color: #fff; font-weight: 900; font-size: 1.4rem; }
.panel-link {
    display: block;
    border-radius: 1rem;
    color: #cbd5e1;
    padding: .7rem .9rem;
    text-decoration: none;
    font-weight: 700;
}
.panel-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.panel-link.active { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

.panel-content { padding: 1.25rem; }
.admin-main-content {
    background: #f1f5f9;
    padding: 1.25rem 1.5rem;
}
body.theme-admin-top {
    background: radial-gradient(circle at 10% 8%, rgba(71, 85, 105, .20), transparent 34%),
                radial-gradient(circle at 86% 12%, rgba(147, 51, 234, .16), transparent 36%),
                #1b2230;
    color: #cbd5e1;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 64px;
    border-bottom: 1px solid #344154;
    background: #222b3a;
}
.admin-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-topbar-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
}
.admin-topbar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}
.admin-topbar-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
    background: rgba(168, 85, 247, .12);
    border: 1px solid rgba(168, 85, 247, .22);
}
.admin-topbar-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: .55rem;
    padding: .42rem .78rem;
    color: #475569;
    background: rgba(248, 250, 252, .9);
    border: 1px solid #e2e8f0;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s ease;
}
.admin-topbar-nav-link:hover {
    color: #0f172a;
    background: #fff;
    border-color: #cbd5e1;
}
.admin-topbar-nav-link i {
    font-size: 1rem;
}
.admin-topbar-nav-link.active {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-color: transparent;
    color: #fff;
}
.admin-topbar-user {
    align-items: center;
    gap: .55rem;
    border-right: 1px solid #344154;
    padding-right: .9rem;
}
.admin-topbar-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #344154;
    background: #1b2230;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
}
.admin-topbar-user strong {
    display: block;
    color: #fff;
    font-size: .8rem;
    line-height: 1.1;
}
.admin-topbar-user small {
    display: block;
    color: #64748b;
    font-size: .63rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.admin-topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #94a3b8;
    font-weight: 600;
}
.admin-topbar-logout:hover {
    color: #f87171;
}
.admin-top-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.4rem 1.2rem 1.8rem;
}
.admin-top-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.admin-top-head h1 {
    margin: 0 0 .2rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
}
.admin-top-head p {
    margin: 0;
    color: #64748b;
}
.admin-top-add-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: .55rem;
    background: #fff;
    color: #000;
    padding: .5rem .8rem;
    font-weight: 700;
    font-size: .85rem;
}
.admin-top-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-bottom: 1rem;
}
.admin-top-metric-card {
    border: 1px solid #344154;
    border-radius: .8rem;
    background: #222b3a;
    padding: .85rem .9rem;
}
.admin-top-metric-card span {
    display: block;
    color: #64748b;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.admin-top-metric-card strong {
    display: block;
    margin-top: .25rem;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
}
.admin-top-table-shell {
    border: 1px solid #344154;
    border-radius: .85rem;
    background: #222b3a;
    overflow: hidden;
}
.admin-top-table-toolbar {
    padding: .8rem;
    border-bottom: 1px solid #344154;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    background: rgba(27, 34, 48, .58);
}
.admin-top-table-search {
    position: relative;
    width: min(100%, 420px);
}
.admin-top-table-search i {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}
.admin-top-table-search input {
    width: 100%;
    min-height: 40px;
    border-radius: .55rem;
    border: 1px solid #344154;
    background: #1b2230;
    color: #fff;
    padding: 0 .7rem 0 2rem;
}
.admin-top-table-search input:focus {
    outline: 0;
    border-color: #a855f7;
}
.theme-admin-top .admin-dark-table-wrap,
.theme-admin-top .admin-dark-table {
    background: transparent;
}
.theme-admin-top .admin-dark-table thead th {
    background: rgba(27, 34, 48, .8);
    color: #94a3b8;
    border-color: #344154;
}
.theme-admin-top .admin-dark-table tbody td {
    border-color: #344154;
}
.theme-admin-top .admin-dark-table tbody tr:hover {
    background: rgba(54, 69, 93, .35);
}
.theme-admin-top .admin-dark-couple {
    color: #fff;
}
.theme-admin-top .admin-dark-couple-sub,
.theme-admin-top .admin-dark-date {
    color: #94a3b8;
}
.theme-admin-top .admin-dark-code-wrap code {
    background: #1b2230;
    border-color: #344154;
    color: #e2e8f0;
}
.theme-admin-top .admin-dark-code-copy,
.theme-admin-top .admin-dark-mini-icon,
.theme-admin-top .admin-dark-row-btn {
    border-color: #344154;
    background: #1b2230;
    color: #94a3b8;
}
.theme-admin-top .admin-dark-code-copy:hover,
.theme-admin-top .admin-dark-mini-icon:hover,
.theme-admin-top .admin-dark-row-btn:hover {
    background: #36455d;
    color: #fff;
}
.theme-admin-top .admin-dark-empty {
    color: #94a3b8;
}
.theme-admin-top .premium-card,
.theme-admin-top .admin-surface,
.theme-admin-top .admin-section-card,
.theme-admin-top .admin-card {
    background: #222b3a;
    border: 1px solid #344154;
    color: #cbd5e1;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
}
.theme-admin-top .text-secondary,
.theme-admin-top .text-muted,
.theme-admin-top .small {
    color: #94a3b8 !important;
}
.theme-admin-top h1,
.theme-admin-top h2,
.theme-admin-top h3,
.theme-admin-top h4,
.theme-admin-top h5,
.theme-admin-top h6,
.theme-admin-top .fw-black,
.theme-admin-top .fw-bold {
    color: #fff;
}
.theme-admin-top .table {
    color: #cbd5e1;
}
.theme-admin-top .admin-table thead th,
.theme-admin-top .table thead th {
    color: #94a3b8;
    border-color: #232730;
}
.theme-admin-top .table tbody td {
    border-color: #232730;
}
.theme-admin-top .table tbody tr:hover {
    background: rgba(30, 33, 41, .45);
}
.theme-admin-top .form-control,
.theme-admin-top .form-select,
.theme-admin-top .form-control:disabled,
.theme-admin-top .form-control[readonly] {
    background: #0f1115;
    border-color: #232730;
    color: #e2e8f0;
}
.theme-admin-top .form-control:focus,
.theme-admin-top .form-select:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, .22);
}
.theme-admin-top .btn-outline-secondary {
    border-color: #334155;
    color: #cbd5e1;
}
.theme-admin-top .btn-outline-secondary:hover {
    background: #1e2129;
    border-color: #475569;
    color: #fff;
}
.theme-admin-top .btn-outline-primary {
    border-color: #4c1d95;
    color: #c4b5fd;
}
.theme-admin-top .btn-outline-primary:hover {
    background: #4c1d95;
    color: #fff;
}
.theme-admin-top .btn-outline-danger {
    border-color: #7f1d1d;
    color: #fca5a5;
}
.theme-admin-top .btn-outline-danger:hover {
    background: #7f1d1d;
    color: #fff;
}
.theme-admin-top .btn-outline-success {
    border-color: #14532d;
    color: #86efac;
}
.theme-admin-top .btn-outline-success:hover {
    background: #14532d;
    color: #fff;
}
.theme-admin-top .badge.text-bg-light {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}
.theme-admin-top .list-group-item {
    background: transparent;
    border-color: #232730;
    color: #cbd5e1;
}
.theme-admin-top details > summary {
    list-style: none;
}
.theme-admin-top details > summary::-webkit-details-marker {
    display: none;
}
.admin-card {
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    border-radius: 2rem !important;
    overflow: hidden;
}
.admin-section-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 1.25rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.premium-card.admin-surface,
.admin-surface {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
}
.admin-table thead th {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}
.admin-table tbody tr:hover {
    background: #f8fafc;
}
.admin-metric {
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .05);
}
.admin-metric-icon {
    width: 46px;
    height: 46px;
    border-radius: .8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
    font-size: 1.35rem;
}
.admin-metric-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    font-weight: 800;
    margin-bottom: .2rem;
}
.admin-metric-value {
    font-family: Nunito, Inter, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #0f172a;
    line-height: 1;
    margin: 0;
}
.admin-section-card .form-control,
.admin-section-card .form-select {
    border-width: 2px;
    border-color: #e2e8f0;
    background: #f8fafc;
}
.admin-section-card .form-label,
.auth-login-form .form-label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: .5rem;
    margin-left: .3rem;
}
.admin-section-card .form-control:focus,
.admin-section-card .form-select:focus {
    border-color: #c084fc;
    box-shadow: 0 0 0 4px rgba(192, 132, 252, .2);
}
.metric-card {
    border-radius: 1.25rem;
    padding: 1rem;
    color: #fff;
}
.metric-pink { background: linear-gradient(130deg, #ec4899, #fb7185); }
.metric-purple { background: linear-gradient(130deg, #9333ea, #a855f7); }
.metric-blue { background: linear-gradient(130deg, #2563eb, #3b82f6); }
.metric-label { margin: 0; font-size: .85rem; font-weight: 700; opacity: .9; }
.metric-value { margin: .25rem 0 0; font-size: 2rem; font-weight: 900; line-height: 1; }
.admin-overview-head {
    background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .45));
    border: 1px solid #e2e8f0;
    border-radius: 1.4rem;
    padding: 1rem 1.1rem;
}

/* Creative cover uploader (admin overview) */
.admin-cover-upload {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.admin-cover-upload-click {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    outline: none;
}
.admin-cover-upload-click:focus-visible {
    box-shadow: 0 0 0 4px rgba(192, 132, 252, .22);
}
.admin-cover-upload-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f8fafc;
}
.admin-cover-upload-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .35rem;
    color: #64748b;
    background: linear-gradient(145deg, rgba(147, 51, 234, .08), rgba(236, 72, 153, .06));
}
.admin-cover-upload-placeholder i {
    font-size: 2rem;
    color: #9333ea;
}
.admin-cover-upload-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    background: radial-gradient(circle at 50% 55%, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.05) 55%, rgba(2, 6, 23, 0.38) 100%);
    opacity: .0;
    transition: opacity .18s ease;
}
.admin-cover-upload:hover .admin-cover-upload-overlay,
.admin-cover-upload:focus-within .admin-cover-upload-overlay {
    opacity: 1;
}
.admin-cover-upload-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .65rem 1.05rem;
    border-radius: 999px;
    color: #0f172a;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 30px rgba(2, 6, 23, .22);
}
.admin-cover-upload-cta i {
    color: #9333ea;
    font-size: 1.2rem;
}
.admin-cover-upload-fab {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.admin-cover-upload-fab:hover {
    transform: translateY(-1px);
    background: #fff;
}
.admin-cover-upload-fab i {
    font-size: 1.15rem;
}

.panel-settings-shell {
    background:
        radial-gradient(circle at 92% 6%, rgba(168, 85, 247, .08), transparent 28%),
        radial-gradient(circle at 8% 94%, rgba(236, 72, 153, .08), transparent 30%),
        rgba(255, 255, 255, .9);
}
.panel-settings-feedback {
    min-height: 1.25rem;
}
.panel-settings-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 1.2rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.panel-settings-link {
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    padding: .7rem .75rem;
    background: #f8fafc;
}
.panel-settings-link code {
    font-size: .82rem;
    color: #334155;
}
.admin-overview-back {
    font-size: .84rem;
    font-weight: 800;
    color: #7c3aed;
}
.admin-overview-back:hover {
    color: #6d28d9;
}
.admin-overview-action {
    min-height: 2.6rem;
    font-weight: 700;
}
.admin-overview-access code {
    background: #0f1115;
    border: 1px solid #232730;
    border-radius: .5rem;
    padding: .2rem .45rem;
    color: #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.admin-overview-access {
    background: #16191f;
    border-color: #232730;
    color: #cbd5e1;
}
.admin-overview-access .text-muted {
    color: #94a3b8 !important;
}
.admin-overview-access-title-icon {
    width: 2rem;
    height: 2rem;
    border-radius: .6rem;
    background: rgba(59, 130, 246, .12);
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, .25);
}
.admin-overview-copy .form-control {
    border-top-left-radius: .8rem;
    border-bottom-left-radius: .8rem;
    border-color: #232730;
    background: #0f1115;
    color: #cbd5e1;
    font-weight: 600;
    font-size: .88rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.admin-overview-copy .btn {
    border-top-right-radius: .8rem;
    border-bottom-right-radius: .8rem;
    font-weight: 700;
    border: 1px solid #232730;
    border-left: 0;
    background: #1e2129;
    color: #fff;
    padding-inline: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.admin-overview-mini-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem !important;
}
.admin-overview-mini-links .btn {
    min-height: 3.1rem;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
    border: 1px solid transparent;
}
.admin-overview-mini-links .btn i {
    font-size: 1rem;
}
.admin-overview-mini-links .btn span {
    font-size: .72rem;
}
.admin-overview-link-btn {
    color: #fff;
    border: 0;
}
.admin-overview-link-btn:hover,
.admin-overview-link-btn:focus {
    color: #fff;
    transform: translateY(-1px);
}
.admin-overview-link-page {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}
.admin-overview-link-feed {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}
.admin-overview-link-live {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.admin-overview-full-links {
    border: 1px solid #232730;
    border-radius: .9rem;
    background: #0f1115;
    overflow: hidden;
}
.admin-overview-full-link-row {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: .4rem;
    align-items: center;
    padding: .42rem .55rem;
    border-bottom: 1px solid #232730;
}
.admin-overview-full-link-row:last-child {
    border-bottom: 0;
}
.admin-overview-full-link-row small {
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .62rem;
}
.admin-overview-full-link-row code {
    background: transparent;
    border: 0;
    border-radius: .4rem;
    padding: 0;
    color: #e2e8f0;
    font-size: .73rem;
    word-break: break-all;
}
.admin-overview-qr {
    background: #0f1115;
    border: 1px solid #232730 !important;
}
.admin-overview-qr img {
    max-width: 132px;
}
.admin-overview-qr-image-wrap {
    background: #fff;
    padding: .5rem;
    border-radius: .8rem;
    display: inline-flex;
    box-shadow: 0 12px 22px rgba(0, 0, 0, .25);
    margin-bottom: .3rem;
}
.admin-overview-qr-download {
    border: 1px solid #232730;
    background: #1e2129;
    color: #e2e8f0;
}
.admin-overview-qr-download:hover,
.admin-overview-qr-download:focus {
    color: #fff;
    background: #2a2e39;
}
.admin-overview-metric {
    position: relative;
    overflow: hidden;
}
.admin-overview-metric::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -28px;
    top: -28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
}
.admin-overview-status .badge {
    font-size: .74rem;
}
.admin-overview-cover {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}
.admin-overview-cover-placeholder {
    min-height: 210px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}
.admin-overview-cover-placeholder i {
    font-size: 2rem;
    color: #94a3b8;
}
.admin-overview-detail {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: .9rem;
    padding: .7rem .8rem;
    margin-bottom: .7rem;
}
.admin-overview-detail:last-child {
    margin-bottom: 0;
}
.admin-overview-detail-label {
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #a855f7;
    font-size: .69rem;
    font-weight: 800;
    margin-bottom: .25rem;
}
.admin-overview-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    padding: 1.1rem .8rem;
}
.admin-overview-empty i {
    font-size: 1.6rem;
    color: #a855f7;
    display: inline-block;
    margin-bottom: .25rem;
}
.admin-overview-list .list-group-item,
.admin-overview-memory-item {
    border-color: #edf2f7;
}
.admin-overview-memory-item {
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.admin-overview-memory-preview-btn {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: .85rem;
    padding: .35rem;
    margin-bottom: .55rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    text-align: left;
}
.admin-overview-memory-preview-btn span {
    color: #6366f1;
    font-size: .8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
}
.admin-overview-memory-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: .6rem;
    border: 1px solid #dbe3ef;
}
.admin-overview-memory-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(2, 6, 23, .84);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}
.admin-overview-memory-modal img {
    max-width: min(95vw, 1100px);
    max-height: 90vh;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
}
.admin-overview-memory-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.admin-dark-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.admin-dark-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.admin-dark-title {
    color: #0f172a;
    margin: 0;
    font-size: 1.7rem;
    font-weight: 900;
}
.admin-dark-subtitle {
    margin: .2rem 0 0;
    color: #64748b;
    font-size: .92rem;
}
.admin-dark-add-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    border-radius: .8rem;
    background: #0f172a;
    color: #fff;
    min-height: 2.65rem;
    padding: 0 .9rem;
    font-weight: 700;
    font-size: .88rem;
}
.admin-dark-add-btn:hover {
    color: #fff;
    background: #020617;
}
.admin-dark-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}
.admin-dark-metric {
    border: 1px solid #dbe3ef;
    border-radius: 1rem;
    background: #fff;
    padding: .85rem .9rem;
}
.admin-dark-metric-label {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .68rem;
    color: #94a3b8;
    font-weight: 800;
}
.admin-dark-metric-value {
    margin-top: .35rem;
    color: #0f172a;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
}
.admin-dark-table-wrap {
    border: 1px solid #dbe3ef;
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}
.admin-dark-table-head {
    border-bottom: 1px solid #e2e8f0;
    padding: .8rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    justify-content: space-between;
    flex-wrap: wrap;
}
.admin-dark-table-search {
    position: relative;
    flex: 1;
    min-width: 230px;
}
.admin-dark-table-search i {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.admin-dark-table-search input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: .7rem;
    min-height: 2.5rem;
    padding: 0 .75rem 0 2rem;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    font-size: .88rem;
}
.admin-dark-table-search input:focus {
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, .18);
}
.admin-dark-table-link {
    text-decoration: none;
    color: #7c3aed;
    font-weight: 700;
    font-size: .85rem;
}
.admin-dark-table-link:hover {
    color: #6d28d9;
}
.admin-dark-table-scroll {
    max-height: 62vh;
}
.admin-dark-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #e2e8f0;
}
.admin-dark-table tbody td {
    border-color: #eef2f7;
}
.admin-dark-table tbody tr:hover {
    background: #f8fafc;
}
.admin-dark-couple {
    color: #0f172a;
    font-weight: 800;
}
.admin-dark-couple-sub {
    color: #94a3b8;
    font-size: .77rem;
    margin-top: .15rem;
    max-width: 40ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-dark-status {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: .55rem;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .45rem;
    border: 1px solid transparent;
}
.admin-dark-status-toggle {
    cursor: pointer;
    transition: all .18s ease;
}
.admin-dark-status-toggle:hover {
    transform: translateY(-1px);
}
.admin-dark-status-toggle:disabled {
    opacity: .7;
    cursor: wait;
}
.admin-dark-status-toggle.is-loading .status-text {
    opacity: .65;
}
.admin-dark-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
}
.admin-dark-status.is-active {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}
.admin-dark-status.is-active .dot {
    background: #10b981;
}
.admin-dark-status.is-passive {
    background: #f1f5f9;
    color: #475569;
    border-color: #dbe3ef;
}
.admin-dark-status.is-passive .dot {
    background: #64748b;
}
.admin-dark-date {
    color: #64748b;
    font-size: .83rem;
}
.admin-dark-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.admin-dark-mini-icon {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: .55rem;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.admin-dark-mini-icon:hover {
    color: #0f172a;
    background: #f8fafc;
}
.admin-dark-code-wrap {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.admin-dark-code-copy {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #475569;
    border-radius: .5rem;
    min-height: 1.8rem;
    padding: 0 .45rem;
    font-size: .74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.admin-dark-code-copy:hover {
    background: #f8fafc;
    color: #0f172a;
}
.admin-dark-row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .55rem;
    color: #64748b;
    text-decoration: none;
}
.admin-dark-row-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}
.admin-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(2, 6, 23, .78);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.admin-qr-modal-card {
    width: min(92vw, 340px);
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    text-align: center;
    position: relative;
}
.admin-qr-modal-close {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.admin-qr-modal-image-wrap {
    background: #fff;
    border-radius: .9rem;
    padding: .6rem;
    border: 1px solid #e2e8f0;
}
.admin-qr-modal-image-wrap img {
    width: min(100%, 220px);
    height: auto;
    object-fit: contain;
}
.admin-qr-modal-actions {
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.admin-dark-empty {
    padding: 1.2rem .9rem;
    color: #94a3b8;
    font-size: .9rem;
}
@media (max-width: 991.98px) {
    .admin-top-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-overview-mini-links {
        grid-template-columns: 1fr;
    }
    .admin-dark-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .admin-top-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-dark-metrics {
        grid-template-columns: 1fr;
    }
}

.otp-code-input {
    letter-spacing: .35em;
    font-weight: 800;
}

.chart-placeholder {
    height: 180px;
}
.chart-placeholder > div {
    flex: 1;
    border-radius: .75rem .75rem 0 0;
    background: linear-gradient(180deg, #a855f7, #ec4899);
    opacity: .82;
}

.theme-live {
    background: #020617;
}
.live-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.live-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(168, 85, 247, .34), transparent 40%),
        radial-gradient(circle at 82% 72%, rgba(236, 72, 153, .30), transparent 44%),
        linear-gradient(180deg, #020617 0%, #0b1120 100%);
}
.live-content {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}
.live-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.live-brand-block {
    display: flex;
    align-items: center;
    gap: .8rem;
}
.live-logo {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .12);
    padding: .35rem;
}
.live-title {
    margin: 0;
    color: #fff;
    font-weight: 900;
    letter-spacing: .01em;
    font-size: clamp(1.35rem, 1.2rem + .8vw, 2rem);
}
.live-couple {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #d8b4fe;
    font-weight: 700;
}
.live-couple-heart {
    color: #f472b6;
}
.live-fullscreen-btn {
    font-weight: 700;
    min-height: 2.8rem;
    padding: 0 .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: 1.05rem;
}
.live-fullscreen-text {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .01em;
}
.live-stage {
    position: relative;
    min-height: min(74vh, 820px);
    height: min(74vh, 820px);
    overflow: hidden;
}
.live-card {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .74);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 1.75rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.992);
    transition: opacity .55s ease, transform .55s ease;
}
.live-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.live-image {
    width: 100%;
    max-height: min(70vh, 740px);
    object-fit: contain;
    background: transparent;
    -webkit-user-drag: none;
    user-select: none;
    border: 1px solid rgba(255, 255, 255, .12);
    position: relative;
    z-index: 2;
}
.live-image-wrap {
    position: relative;
    min-height: min(58vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.live-image-glow {
    position: absolute;
    inset: .5rem;
    border-radius: 1.1rem;
    background: linear-gradient(130deg, rgba(168, 85, 247, .45), rgba(236, 72, 153, .42));
    filter: blur(26px);
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}
.live-image-placeholder {
    min-height: min(58vh, 640px);
    width: 100%;
    color: #94a3b8;
    border: 1px dashed #475569;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, .68), rgba(30, 41, 59, .75));
}
.live-placeholder-icon {
    font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.8rem);
    color: rgba(244, 114, 182, .42);
    display: block;
    margin-bottom: .45rem;
}
.live-quote {
    color: #fff;
    font-family: Nunito, Inter, sans-serif;
    font-size: clamp(1.25rem, 2.3vw, 2.4rem);
    line-height: 1.35;
    margin: .15rem 0 1.3rem;
}
.live-quote-icon {
    font-size: clamp(2.3rem, 1.7rem + 1.8vw, 4.2rem);
    color: rgba(244, 114, 182, .43);
    display: inline-block;
    margin-bottom: .7rem;
}
.live-text-block {
    padding-right: .35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(58vh, 640px);
}
.live-quote-only-wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.live-quote-block {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.6rem;
    padding: clamp(1.25rem, 1rem + 1vw, 2.2rem);
    width: min(1100px, 100%);
}
.live-card-quote .live-quote-block {
    text-align: center;
}
.live-meta {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: .85rem;
}
.live-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(130deg, #9333ea, #ec4899);
    color: #fff;
    font-weight: 900;
    font-family: Nunito, Inter, sans-serif;
}
.live-progress-wrap {
    margin-top: .85rem;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}
.live-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    transition: width .1s linear;
}

body[data-ui-protection-enabled="1"].theme-public .memory-item,
body[data-ui-protection-enabled="1"].theme-live .live-stage {
    -webkit-user-select: none;
    user-select: none;
}

/* reCAPTCHA v3 floating badge hide (mobile/public screens) */
body.theme-public-mobile .grecaptcha-badge,
body.theme-public-memory .grecaptcha-badge,
body.theme-public-feed .grecaptcha-badge,
body.theme-auth .grecaptcha-badge,
body .grecaptcha-badge,
body .grecaptcha-badge iframe,
body iframe[src*="recaptcha/api2/anchor"],
body iframe[src*="recaptcha/enterprise/anchor"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
}

.ui-protected-blur {
    filter: blur(5px);
}

@media (max-width: 991.98px) {
    .live-content {
        padding-top: 1rem;
        padding-bottom: 1.4rem;
    }
    .live-header {
        align-items: flex-start;
    }
    .live-logo {
        width: 3.45rem;
        height: 3.45rem;
    }
    .live-fullscreen-btn {
        margin-top: .2rem;
        min-height: 2.5rem;
        padding: 0 .75rem;
        font-size: .95rem;
    }
    .live-fullscreen-text {
        font-size: .8rem;
    }
    .live-card {
        display: none;
        padding: 1rem;
        min-height: auto;
        position: relative;
        opacity: 0;
        transform: translateY(8px) scale(.995);
    }
    .live-card.is-active {
        display: block;
        opacity: 1;
        transform: none;
    }
    .live-stage {
        height: auto;
        min-height: 0;
    }
    .live-image-wrap,
    .live-image-placeholder,
    .live-text-block {
        min-height: auto;
    }
    .live-quote-only-wrap {
        min-height: auto;
    }
    .live-quote {
        font-size: clamp(1.1rem, .95rem + 1.2vw, 1.8rem);
    }
    .live-quote-block {
        text-align: left;
    }
    .live-meta {
        width: 100%;
    }
    .panel-shell { grid-template-columns: 1fr; }
    .panel-sidebar { position: static; }
    .admin-main-content { padding: 1rem; }
    .auth-login-card {
        padding: 1.5rem 1.2rem 1.3rem;
        border-radius: 1.5rem;
    }
    .login-mode-toggle-btn {
        font-size: .92rem;
        padding: .65rem .5rem;
    }
}
@media (min-width: 768px) {
    html:has(body.theme-public-mobile),
    body.theme-public-mobile {
        height: auto;
        max-height: none;
        overflow: auto;
        position: static;
        overscroll-behavior: auto;
    }
    .theme-public-mobile .public-mobile-shell,
    .theme-public-mobile .welcome-screen-shell {
        height: auto;
        max-height: none;
        min-height: 100dvh;
        align-items: center;
        padding: 1.5rem .9rem;
    }
    .welcome-mobile-card,
    .memory-mobile-card {
        padding: 1.8rem 1.7rem 1.6rem;
    }
    .welcome-mobile-card {
        height: auto;
        max-height: none;
        overflow: visible;
        display: block;
        padding: 1.8rem 1.7rem 1.6rem;
    }
    .welcome-mascot-wrap {
        width: 108px;
        height: 108px;
        margin: 0 auto 1rem;
        border-radius: 1.45rem;
    }
    .welcome-mascot-img {
        width: 96px;
        height: 96px;
    }
    .welcome-kicker {
        font-size: .78rem;
        margin-bottom: .4rem;
    }
    .welcome-couple-name {
        font-size: clamp(1.45rem, 6vw, 2.2rem);
        margin-bottom: .5rem;
    }
    .welcome-date {
        font-size: .98rem;
        margin-bottom: 1rem;
    }
    .welcome-cover {
        flex: none;
        min-height: auto;
        max-height: 340px;
        margin: 0 0 1rem;
        border-radius: 1.45rem;
    }
    .welcome-cover img {
        height: auto;
        max-height: 340px;
    }
    .welcome-description {
        font-size: clamp(.93rem, 3.85vw, 1.03rem);
        line-height: 1.5;
        -webkit-line-clamp: 3;
        margin-bottom: 1.25rem;
    }
    .welcome-primary-btn,
    .welcome-outline-btn {
        min-height: 52px;
        font-size: 1.2rem;
    }
    .welcome-actions {
        margin-top: 0;
    }
    .feed-floating-add {
        right: calc((100vw - 460px) / 2 - 74px);
    }
}

/* Admin dashboard table readability overrides */
.theme-admin-top #admin-dark-table thead th {
    color: #cbd5e1 !important;
    border-color: #3a465c !important;
}
.theme-admin-top #admin-dark-table tbody tr {
    background: #222b3a !important;
}
.theme-admin-top #admin-dark-table tbody tr:hover {
    background: #2c3950 !important;
}
.theme-admin-top #admin-dark-table tbody td {
    color: #e2e8f0 !important;
    border-color: #3a465c !important;
}
.theme-admin-top #admin-dark-table .admin-dark-couple {
    color: #f8fafc !important;
    font-weight: 700;
}
.theme-admin-top #admin-dark-table .admin-dark-couple-sub {
    color: #cbd5e1 !important;
}
.theme-admin-top #admin-dark-table .admin-dark-code-wrap code {
    background: #111827 !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
}
.theme-admin-top #admin-dark-table .admin-dark-code-copy,
.theme-admin-top #admin-dark-table .admin-dark-mini-icon,
.theme-admin-top #admin-dark-table .admin-dark-row-btn {
    background: #1f2937 !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

/* Admin light glass theme override (2026 refresh) */
body.theme-admin-top {
    background:
        radial-gradient(circle at 12% 12%, rgba(168, 85, 247, 0.18), transparent 34%),
        radial-gradient(circle at 88% 24%, rgba(236, 72, 153, 0.16), transparent 34%),
        radial-gradient(circle at 50% 96%, rgba(59, 130, 246, 0.14), transparent 36%),
        linear-gradient(135deg, #f8fafc, #ffffff 45%, #fdf4ff) !important;
    color: #334155 !important;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
}

.theme-admin-top .admin-topbar {
    height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.theme-admin-top .admin-topbar-user {
    border-right-color: #e2e8f0 !important;
}

.theme-admin-top .admin-topbar-user-avatar {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}

.theme-admin-top .admin-topbar-user strong {
    color: #0f172a !important;
}

.theme-admin-top .admin-topbar-user small {
    color: #64748b !important;
}

.theme-admin-top .admin-topbar-logout {
    color: #64748b !important;
}

.theme-admin-top .admin-topbar-logout:hover {
    color: #ef4444 !important;
}

.theme-admin-top .admin-top-main {
    padding-top: 2rem;
    min-height: calc(100vh - 92px);
}

.theme-admin-top .admin-topbar-brand {
    min-height: 68px;
}

.theme-admin-top .admin-topbar-logo {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
}

.theme-admin-top .admin-top-head h1,
.theme-admin-top h1,
.theme-admin-top h2,
.theme-admin-top h3,
.theme-admin-top h4,
.theme-admin-top h5,
.theme-admin-top h6,
.theme-admin-top .fw-black,
.theme-admin-top .fw-bold {
    color: #0f172a !important;
}

.theme-admin-top .admin-top-head p,
.theme-admin-top .text-secondary,
.theme-admin-top .text-muted,
.theme-admin-top .small {
    color: #64748b !important;
}

.theme-admin-top .admin-top-add-btn,
.theme-admin-top .btn-gradient {
    background-image: linear-gradient(90deg, #9333ea, #ec4899) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 14px 26px rgba(147, 51, 234, 0.26) !important;
}

.theme-admin-top .admin-top-add-btn:hover,
.theme-admin-top .btn-gradient:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.theme-admin-top .admin-top-metric-card,
.theme-admin-top .admin-metric,
.theme-admin-top .metric-card {
    border-radius: 1.2rem !important;
}

.theme-admin-top .admin-top-metric-card {
    background: rgba(255, 255, 255, 0.84) !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.theme-admin-top .admin-top-metric-card span {
    color: #64748b !important;
}

.theme-admin-top .admin-top-metric-card strong {
    color: #0f172a !important;
}

.theme-admin-top .admin-top-table-shell,
.theme-admin-top .premium-card,
.theme-admin-top .admin-surface,
.theme-admin-top .admin-section-card,
.theme-admin-top .admin-card,
.theme-admin-top .admin-overview-head {
    background: rgba(255, 255, 255, 0.84) !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08) !important;
    color: #334155 !important;
}

.theme-admin-top .admin-top-table-toolbar {
    background: rgba(255, 255, 255, 0.45) !important;
    border-bottom-color: #e2e8f0 !important;
}

.theme-admin-top .admin-top-table-search input,
.theme-admin-top .form-control,
.theme-admin-top .form-select,
.theme-admin-top .form-control:disabled,
.theme-admin-top .form-control[readonly] {
    background: #ffffff !important;
    border: 1px solid #dbe3ef !important;
    color: #0f172a !important;
}

.theme-admin-top .admin-top-table-search input:focus,
.theme-admin-top .form-control:focus,
.theme-admin-top .form-select:focus {
    border-color: #c084fc !important;
    box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.18) !important;
}

.theme-admin-top .admin-table thead th,
.theme-admin-top .table thead th,
.theme-admin-top #admin-dark-table thead th {
    color: #64748b !important;
    border-color: #e2e8f0 !important;
    background: rgba(248, 250, 252, 0.72) !important;
}

.theme-admin-top .table,
.theme-admin-top #admin-dark-table,
.theme-admin-top #admin-dark-table tbody td {
    color: #334155 !important;
}

.theme-admin-top .table tbody td,
.theme-admin-top #admin-dark-table tbody td {
    border-color: #e2e8f0 !important;
}

.theme-admin-top .table tbody tr,
.theme-admin-top #admin-dark-table tbody tr {
    background: transparent !important;
}

.theme-admin-top .table tbody tr:hover,
.theme-admin-top #admin-dark-table tbody tr:hover {
    background: #f8fafc !important;
}

.theme-admin-top #admin-dark-table .admin-dark-couple {
    color: #0f172a !important;
}

.theme-admin-top #admin-dark-table .admin-dark-couple-sub {
    color: #64748b !important;
}

.theme-admin-top .admin-dark-code-wrap code,
.theme-admin-top #admin-dark-table .admin-dark-code-wrap code {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #dbe3ef !important;
}

.theme-admin-top .admin-dark-code-copy,
.theme-admin-top .admin-dark-mini-icon,
.theme-admin-top .admin-dark-row-btn,
.theme-admin-top #admin-dark-table .admin-dark-code-copy,
.theme-admin-top #admin-dark-table .admin-dark-mini-icon,
.theme-admin-top #admin-dark-table .admin-dark-row-btn {
    background: #fff !important;
    color: #475569 !important;
    border: 1px solid #dbe3ef !important;
}

.theme-admin-top .admin-dark-code-copy:hover,
.theme-admin-top .admin-dark-mini-icon:hover,
.theme-admin-top .admin-dark-row-btn:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.theme-admin-top .admin-dark-status.is-active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #a7f3d0 !important;
}

.theme-admin-top .admin-dark-status.is-passive {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #dbe3ef !important;
}

.theme-admin-top .btn-outline-secondary {
    color: #475569 !important;
    border-color: #dbe3ef !important;
    background: #fff !important;
}

.theme-admin-top .btn-outline-secondary:hover {
    color: #0f172a !important;
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.theme-admin-top .btn-outline-primary {
    color: #7c3aed !important;
    border-color: #ddd6fe !important;
    background: #faf5ff !important;
}

.theme-admin-top .btn-outline-primary:hover {
    color: #fff !important;
    border-color: #9333ea !important;
    background: #9333ea !important;
}

.theme-admin-top .btn-outline-danger {
    color: #dc2626 !important;
    border-color: #fecaca !important;
    background: #fff5f5 !important;
}

.theme-admin-top .btn-outline-success {
    color: #059669 !important;
    border-color: #a7f3d0 !important;
    background: #ecfdf5 !important;
}

.theme-admin-top .badge.text-bg-light {
    background: #f1f5f9 !important;
    color: #334155 !important;
}

.theme-admin-top .admin-overview-access,
.theme-admin-top .admin-overview-full-links,
.theme-admin-top .admin-overview-qr {
    background: rgba(248, 250, 252, 0.95) !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}

.theme-admin-top .admin-overview-copy .form-control {
    background: #fff !important;
    border-color: #dbe3ef !important;
    color: #334155 !important;
}

.theme-admin-top .admin-overview-copy .btn,
.theme-admin-top .admin-overview-qr-download {
    background: #fff !important;
    color: #475569 !important;
    border-color: #dbe3ef !important;
}

.theme-admin-top .admin-overview-full-link-row small {
    color: #64748b !important;
}

.theme-admin-top .admin-overview-full-link-row code {
    color: #334155 !important;
}

.theme-admin-top .admin-overview-detail {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

.theme-admin-top .admin-overview-memory-item {
    background: #fff !important;
    border-color: #e2e8f0 !important;
}

.theme-admin-top .admin-overview-empty {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.theme-admin-top .admin-qr-modal {
    background: rgba(15, 23, 42, 0.44) !important;
}

.theme-admin-top .admin-qr-modal-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}
