/* ═══════════════════════════════════════════════════════════
   myJodoh premium design layer
   Matches the Flutter app: see FLUTTER_HANDOVER.md
   Loaded last in layouts/main.php. Tailwind's runtime styles are
   added after this file, so rules start with "html body".
═══════════════════════════════════════════════════════════ */
:root {
    --mj-pink: #FE507E;
    --mj-pink-hover: #E8446F;
    --mj-page: #F2F2F7;
    --mj-card: #FFFFFF;
    --mj-text: #1C1C1E;
    --mj-text-2: #6B6B73;
    --mj-line: #E5E5EA;
    --mj-field: #F7F7FA;
    --mj-tint: #FFF5F8;
    --mj-dark: #1C1C1E;
    --mj-vip-ring: #B8935A;
    --mj-ring: #DEDEE3;
    --mj-error: #DC2626;
    --mj-success: #15803D;
}

/* ── Base ─────────────────────────────────────────────── */
html body {
    background: var(--mj-page) !important;
    color: var(--mj-text);
    letter-spacing: .1px;
    -webkit-font-smoothing: antialiased;
}
html body .font-serif { font-family: inherit; }
html body .uppercase { text-transform: none; letter-spacing: .1px; }
html body .tracking-tight, html body .tracking-wide, html body .tracking-wider { letter-spacing: .1px; }

/* ── Text colours and sizes ───────────────────────────── */
html body .text-gray-900, html body .text-gray-800 { color: var(--mj-text); }
html body .text-gray-700, html body .text-gray-600, html body .text-gray-500, html body .text-gray-400 { color: var(--mj-text-2); }
html body .text-brand, html body .text-\[\#fe507e\] { color: var(--mj-pink); }
html body .text-xs { font-size: 13px; line-height: 18px; }
/* 13px is the smallest text. Small number badges are the only exception. */
html body .text-\[8px\], html body .text-\[9px\], html body .text-\[10px\], html body .text-\[11px\], html body .text-\[12px\],
html body .text-\[\.65rem\], html body .text-\[\.68rem\], html body .text-\[\.7rem\] { font-size: 13px; line-height: 18px; }
html body .text-red-500, html body .text-red-600, html body .text-red-700 { color: var(--mj-error); }
html body .text-green-600, html body .text-green-700, html body .text-emerald-600 { color: var(--mj-success); }

/* Titles: compact page title, welcome heading, card or section title */
html body h1.text-2xl, html body h1.text-3xl { font-size: 20px; line-height: 26px; font-weight: 700; }
html body h1.text-4xl, html body h1.text-5xl { font-size: 34px; line-height: 40px; font-weight: 800; }
html body h2.text-lg, html body h3.text-lg { font-size: 16px; line-height: 22px; font-weight: 700; }

/* ── Surfaces ─────────────────────────────────────────── */
html body .bg-gray-50, html body .bg-base-200, html body .bg-\[\#f8f8fb\]\/95 { background-color: var(--mj-page); }
html body .border-gray-50, html body .border-gray-100, html body .border-gray-200, html body .border-\[\#f0f0f4\] { border-color: var(--mj-line); }
html body .shadow-sm, html body .shadow, html body .shadow-md, html body .shadow-lg, html body .shadow-xl,
html body .card.shadow-md,
html body [class*="shadow-[0_"] { box-shadow: none; }
html body .rounded-3xl, html body .rounded-\[28px\] { border-radius: 16px; }
html body .hover\:border-pink-200:hover { border-color: var(--mj-line); }
html body .hover\:shadow-xl:hover, html body .hover\:shadow-lg:hover { box-shadow: 0 8px 24px rgba(28,28,30,.06); }
html body .hover\:-translate-y-2:hover { transform: none; }

/* ── Buttons ──────────────────────────────────────────── */
html body .btn { border-radius: 14px; font-weight: 700; box-shadow: none; text-transform: none; letter-spacing: .1px; }
html body .btn-primary, html body .btn-brand, html body .btn-save {
    background: var(--mj-pink); border-color: var(--mj-pink); color: #fff;
}
html body .btn-primary:hover, html body .btn-brand:hover, html body .btn-save:hover {
    background: var(--mj-pink-hover); border-color: var(--mj-pink-hover);
}
html body a.bg-brand, html body button.bg-brand { border-radius: 14px; box-shadow: none; }
/* Main button: 50 tall, 16 bold. Full-width buttons are the main action on a page. */
html body a.bg-brand.w-full, html body button.bg-brand.w-full, html body .btn-save.w-full, html body .btn-save {
    min-height: 50px; font-size: 16px; font-weight: 700; border-radius: 14px;
}
html body .bg-brand { background-color: var(--mj-pink); }
html body .hover\:bg-brand-d:hover { background-color: var(--mj-pink-hover); }
html body .hover\:-translate-y-0\.5:hover { transform: none; }

/* ── Form fields ──────────────────────────────────────── */
html body input[type="text"], html body input[type="email"], html body input[type="password"],
html body input[type="tel"], html body input[type="number"], html body input[type="url"],
html body input[type="search"], html body input[type="date"], html body input:not([type]),
html body select, html body textarea {
    background-color: var(--mj-field) !important;
    border: 1px solid var(--mj-line) !important;
    border-radius: 12px !important;
    color: var(--mj-text) !important;
    font-size: 15px;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
html body input::placeholder, html body textarea::placeholder { color: #8E8E93 !important; }
html body input:focus, html body select:focus, html body textarea:focus {
    border-color: var(--mj-pink) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(254,80,126,.12) !important;
    outline: none !important;
}
html body select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--mj-pink) !important; }
html body input:disabled, html body select:disabled, html body textarea:disabled { opacity: .55 !important; cursor: not-allowed !important; }
html body .field-error input, html body .field-error select, html body .field-error textarea,
html body input.field-error, html body select.field-error, html body textarea.field-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
/* Fields are about 46 tall, with room for a finger */
html body input[type="text"], html body input[type="email"], html body input[type="password"],
html body input[type="tel"], html body input[type="number"], html body input[type="url"],
html body input[type="search"], html body input[type="date"], html body input:not([type]), html body select { min-height: 46px; }
html body label { font-weight: 600; }
/* Stops iPhones zooming in when a field is tapped */
@media (max-width: 640px) {
    html body input[type="text"], html body input[type="email"], html body input[type="password"],
    html body input[type="tel"], html body input[type="number"], html body input[type="search"],
    html body input:not([type]), html body select, html body textarea { font-size: 16px; }
}

/* ── Top bar ──────────────────────────────────────────── */
html body #topBar {
    background: #fff !important;
    border-bottom: 1px solid var(--mj-line) !important;
    box-shadow: none !important;
}
html body #topBarHamburger { background: transparent !important; color: var(--mj-text) !important; }
html body .tb-logo { height: 32px; width: auto; object-fit: contain; }
html body .tb-icon {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; color: var(--mj-text); text-decoration: none; flex-shrink: 0;
    transition: background .15s;
}
html body .tb-icon:hover { background: var(--mj-page); }
html body .tb-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px;
    border: 1px solid var(--mj-line); border-radius: 9999px; color: var(--mj-text);
    font-size: 13px; font-weight: 600; text-decoration: none; flex-shrink: 0; transition: background .15s;
}
html body .tb-chip:hover { background: var(--mj-page); }
html body .tb-chip img, html body .tb-chip-fallback {
    width: 30px; height: 30px; border-radius: 9999px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--mj-ring);
}
html body .tb-chip-fallback { display: none; align-items: center; justify-content: center; background: var(--mj-page); color: var(--mj-text-2); }
html body .tb-login {
    display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 12px;
    background: var(--mj-pink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s;
}
html body .tb-login:hover { background: var(--mj-pink-hover); }
html body #navUnreadBadge {
    display: none; position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9999px; background: var(--mj-pink); color: #fff; font-size: 11px; font-weight: 700;
    align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1;
}

/* ── Sidebar ──────────────────────────────────────────── */
html body #sidebar {
    background: var(--mj-dark);
    box-shadow: none;
    border-right: 1px solid rgba(255,255,255,.06);
}
html body .sl {
    margin: 1px 10px; width: calc(100% - 20px); padding: 10px 12px; border: 0; border-radius: 10px;
    font-size: 14px; color: rgba(255,255,255,.74);
}
html body .sl svg { color: rgba(255,255,255,.5); }
html body .sl:hover { background: rgba(255,255,255,.07); color: #fff; }
html body .sl.active { background: rgba(254,80,126,.16); color: #fff; font-weight: 600; box-shadow: none; }
html body .sl.active svg { color: var(--mj-pink); }
html body .sl-label, html body .sb-acc-label {
    font-size: 13px; font-weight: 600; letter-spacing: .1px; text-transform: none; color: rgba(255,255,255,.42);
}
html body .sl-label { padding: 16px 22px 4px; }
html body .sb-acc-btn { padding: 12px 22px 4px; }
html body .sl-divider { border-top: 1px solid rgba(255,255,255,.07); margin: 10px 20px; }
html body .sl-danger { color: rgba(255,255,255,.55) !important; }
html body .sl-danger svg { color: rgba(255,255,255,.4) !important; }
html body .sl-danger:hover { background: rgba(255,255,255,.07) !important; color: #fff !important; }
html body .sl-search-hero { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
html body .sl-search-hero:hover { background: rgba(255,255,255,.1); }
html body .sb-badge { background: var(--mj-pink); color: #fff; font-size: 11px; }
html body .sl-cta-login { background: var(--mj-pink); color: #fff; border-radius: 14px; height: 48px; padding: 0; }
html body .sl-cta-login:hover { background: var(--mj-pink-hover); }
html body .sl-cta-register { background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; height: 46px; padding: 0; }
html body .sl-cta-register:hover { background: rgba(255,255,255,.07); }
html body #sb-bar { background: var(--mj-pink) !important; }
html body #sb-profile-wrap, html body #sb-selfie-wrap { border: 1px solid rgba(255,255,255,.22) !important; }

/* ── Footer ───────────────────────────────────────────── */
html body footer.mj-footer { background: var(--mj-dark); }

/* ── Back to top ──────────────────────────────────────── */
html body #backToTop { background: #fff; color: var(--mj-text); border: 1px solid var(--mj-line); box-shadow: 0 6px 18px rgba(28,28,30,.08); }
html body #backToTop:hover { background: var(--mj-page); }

/* ── Scroll reveal: quieter ───────────────────────────── */
.fade-up { transform: translateY(12px); }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Shared user list row
   [Photo 56, thin ring]  Username  [star] [selfie]     5 min
                          27 · Selangor · Bujang
                          Extra info
═══════════════════════════════════════════════════════════ */
.ur-list { background: #fff; border: 1px solid var(--mj-line); border-radius: 16px; overflow: hidden; }
.ur { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; color: inherit; text-decoration: none; transition: background .15s; }
.ur + .ur { border-top: 1px solid var(--mj-line); }
.ur:hover { background: #FAFAFC; }
.ur-photo { position: relative; flex: 0 0 56px; width: 56px; height: 56px; }
.ur-photo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--mj-page); box-shadow: 0 0 0 1px var(--mj-ring); }
.ur-photo.is-vip img { box-shadow: 0 0 0 1.5px var(--mj-vip-ring); }
.ur-dot { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #22C55E; border: 2px solid #fff; }
.ur-body { flex: 1; min-width: 0; display: block; }
.ur-top { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ur-name { font-size: 15px; font-weight: 600; color: var(--mj-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ur-badge { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.ur-time { margin-left: auto; padding-left: 8px; font-size: 13px; color: var(--mj-text-2); white-space: nowrap; }
.ur-meta, .ur-extra { display: block; font-size: 13px; line-height: 19px; color: var(--mj-text-2); }
.ur-extra { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ur-extra-title { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--mj-text); }
.ur-extra.ur-extra-2 { -webkit-line-clamp: 2; }
.ur-extra:not(.hidden) + .ur-extra-title { margin-top: 12px; }
.ur-end { padding: 16px; text-align: center; font-size: 13px; color: var(--mj-text-2); }
.ur-skel { background: var(--mj-page); border-radius: 6px; animation: mjPulse 1.4s ease-in-out infinite; }
@keyframes mjPulse { 50% { opacity: .55; } }

/* ═══════════════════════════════════════════════════════════
   Sign-in pages: full-screen video, same as the app
═══════════════════════════════════════════════════════════ */
html body.auth-page { background: var(--mj-dark) !important; }
html body.auth-page #sidebar, html body.auth-page #sidebarBackdrop, html body.auth-page #topBar,
html body.auth-page footer, html body.auth-page #backToTop { display: none !important; }
html body.auth-page #mainContent { margin-left: 0; background: transparent; }
.auth-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--mj-dark); }
.auth-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.75) 100%); }
.auth-back {
    position: fixed; top: 16px; left: 16px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff;
    background: rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.auth-back:hover { background: rgba(255,255,255,.22); }
.auth-wrap { position: relative; z-index: 1; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 72px 16px 32px; }
.auth-col { width: 100%; max-width: 420px; }
.auth-head { text-align: center; margin-bottom: 20px; }
.auth-logo { display: inline-block; height: 64px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 0 14px rgba(254,80,126,.65)) drop-shadow(0 0 4px rgba(255,255,255,.45)); }
/* Same size as the app's sign-in logo */
html body .auth-logo { height: 56px; margin-bottom: 12px; }
html body .auth-head h1 { font-size: 28px; line-height: 34px; font-weight: 800; color: #fff; margin: 0; }
html body .auth-head p { font-size: 15px; line-height: 22px; color: rgba(255,255,255,.82); margin-top: 6px; }
html body .auth-card { background: #fff; border: 0; border-radius: 16px; padding: 20px; }
.auth-foot { text-align: center; margin-top: 16px; }
html body .auth-foot, html body .auth-foot p, html body .auth-foot a { color: rgba(255,255,255,.78); }
html body .auth-foot a { text-decoration: underline; }
html body .auth-page button[type="submit"].bg-brand, html body .auth-page .auth-card a.bg-brand { height: 50px; border-radius: 14px; font-size: 16px; font-weight: 700; }
html body .auth-social a { height: 48px; border-radius: 14px; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════
   Home
═══════════════════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; background: var(--mj-dark); color: #fff; min-height: min(calc(100dvh - 56px), 760px); display: flex; align-items: center; justify-content: center; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.75) 100%); }
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: 640px; padding: 56px 20px; text-align: center; }
.hero-logo { display: inline-block; height: 72px; width: auto; margin-bottom: 20px; filter: drop-shadow(0 0 14px rgba(254,80,126,.65)) drop-shadow(0 0 4px rgba(255,255,255,.45)); }
html body .hero h1 { font-size: 34px; line-height: 1.15; font-weight: 800; color: #fff; margin: 0; }
html body .hero p { font-size: 16px; line-height: 24px; color: rgba(255,255,255,.86); margin: 12px 0 0; }
html body .hero-since { font-size: 13px !important; color: rgba(255,255,255,.7) !important; margin-top: 4px !important; }
.hero-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; min-width: 170px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; transition: background .15s; }
html body .hero-btn-main { background: var(--mj-pink); color: #fff; }
html body .hero-btn-main:hover { background: var(--mj-pink-hover); }
html body .hero-btn-alt { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html body .hero-btn-alt:hover { background: rgba(255,255,255,.24); }
html body .hero-play { position: absolute; z-index: 1; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: 9999px; background: rgba(0,0,0,.45); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html body .hero-play:hover { background: rgba(0,0,0,.65); }
@media (min-width: 768px) { html body .hero h1 { font-size: 48px; } }
@media (max-width: 480px) { .hero-btn { flex: 1 1 100%; } }
/* Phones: keep the text below the faces in the video and clear of the Tonton button.
   A smaller logo keeps more of the faces clear. */
@media (max-width: 767px) {
    .hero { align-items: flex-end; }
    .hero-copy { padding: 24px 20px 72px; }
    .hero-logo { height: 68px; margin-bottom: 14px; }
}

.home-sec { padding: 28px 0; }
.home-sec-in { max-width: 1120px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 1024px) { .home-sec { padding: 40px 0; } .home-sec-in { padding: 0 24px; } }
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
html body .home-head h2 { font-size: 22px; line-height: 28px; font-weight: 800; color: var(--mj-text); margin: 0; }
html body .home-head p { font-size: 15px; color: var(--mj-text-2); margin: 2px 0 0; }
html body .home-link { font-size: 14px; font-weight: 700; color: var(--mj-pink); text-decoration: none; white-space: nowrap; }
html body .home-link:hover { color: var(--mj-pink-hover); }
@media (min-width: 900px) {
    .ur-list.is-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .ur-list.is-grid .ur { border-top: 0; border-bottom: 1px solid var(--mj-line); }
    .ur-list.is-grid .ur:nth-child(odd) { border-right: 1px solid var(--mj-line); }
    .ur-list.is-grid .ur:nth-last-child(-n+2) { border-bottom: 0; }
}

.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.howto-card { background: #fff; border: 1px solid var(--mj-line); border-radius: 16px; padding: 14px; }
.howto-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 12px; background: var(--mj-page); }
html body .howto-card h3 { font-size: 16px; font-weight: 700; color: var(--mj-text); margin: 12px 0 4px; }
html body .howto-card p { font-size: 14px; line-height: 21px; color: var(--mj-text-2); margin: 0; }

.home-cta { background: var(--mj-dark); }
.home-cta-in { max-width: 680px; margin: 0 auto; padding: 44px 20px; text-align: center; }
html body .home-cta h2 { font-size: 26px; line-height: 32px; font-weight: 800; color: #fff; margin: 0; }
html body .home-cta p { font-size: 15px; line-height: 23px; color: rgba(255,255,255,.72); margin: 10px 0 20px; }

/* Registration: same layout as the app */
/* Step bar at the top of the screen, beside the back arrow, as in the app */
html body .reg-bars { position: fixed; z-index: 5; top: 36px; left: 72px; right: 16px; display: flex; gap: 6px; }
@media (min-width: 768px) { html body .reg-bars { left: 50%; right: auto; width: 420px; margin-left: -210px; } }
html body .reg-bars span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); transition: background .3s; }
html body .reg-bars span.on { background: var(--mj-pink); }
html body #reg-heading:focus { outline: none; }
html body .reg-step { animation: regIn .25s ease both; }
@keyframes regIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

html body .reg-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--mj-text-2); }
html body .reg-hint { margin: 8px 0 0; font-size: 13px; line-height: 18px; color: var(--mj-text-2); }
html body .reg-err { margin: 8px 0 0; font-size: 13px; line-height: 18px; font-weight: 500; color: #DC2626; }
html body .reg-err-box { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; font-size: 13px; line-height: 18px; color: #DC2626; }
html body .reg-field { margin-bottom: 14px; }
html body .auth-page .reg-dob select, html body .reg-field input { width: 100%; font-size: 15px !important; }
html body .reg-field input { padding: 13px 14px !important; line-height: 20px; }
html body .reg-dob { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 8px; }
html body .reg-dob select { min-width: 0; padding: 13px 28px 13px 12px !important; line-height: 20px; }
/* Phones zoom in on fields under 16px */
@media (max-width: 767px) { html body .reg-dob select, html body .reg-field input { font-size: 16px !important; } }

html body .reg-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-top: 16px; border-radius: 14px;
    background: var(--mj-pink); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s;
}
html body .reg-btn:hover { background: var(--mj-pink-hover); color: #fff; }
html body .reg-btn:disabled { opacity: .7; cursor: not-allowed; }
html body .reg-btn-white { background: #fff; color: var(--mj-text); }
html body .reg-btn-white:hover { background: #fff; color: var(--mj-text); }
html body .reg-btn-line { margin-top: 8px; background: #fff; border: 1px solid var(--mj-line); color: var(--mj-text); }
html body .reg-btn-line:hover { background: var(--mj-page); color: var(--mj-text); }

html body .reg-rows { margin: -6px -8px 0; }
html body .reg-row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 8px; border-radius: 12px;
    text-align: left; color: var(--mj-text); transition: background .15s;
}
html body .reg-row + .reg-row { margin-top: 2px; }
html body .reg-row:hover { background: var(--mj-page); }
html body .reg-row.selected { background: #FFF5F8; }
html body .reg-row-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--mj-ring); }
html body .reg-row-text { flex: 1; min-width: 0; }
html body .reg-row-text strong { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
html body .reg-row-text small { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--mj-text-2); }
html body .reg-tick { flex-shrink: 0; color: var(--mj-pink); visibility: hidden; }
html body .reg-row.selected .reg-tick { visibility: visible; }

html body .reg-pw { position: relative; }
html body .reg-pw input { padding-right: 48px !important; }
html body .reg-pw button { position: absolute; top: 50%; right: 2px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--mj-text-2); }
html body .reg-strength { margin-top: 8px; }
html body .reg-strength > div { display: flex; gap: 4px; }
html body .reg-strength span { flex: 1; height: 4px; border-radius: 2px; background: var(--mj-line); }
html body .reg-strength p { margin: 4px 0 0; font-size: 13px; }

html body .reg-agree { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 19px; color: var(--mj-text-2); cursor: pointer; }
html body .reg-agree input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--mj-pink); cursor: pointer; }
html body .reg-agree a { color: var(--mj-pink); font-weight: 600; text-decoration: none; }
html body .reg-agree a:hover { text-decoration: underline; }
html body .reg-captcha { display: flex; justify-content: center; margin-top: 14px; }
/* reCAPTCHA is a fixed 304px wide, which is too wide for the card on small phones */
@media (max-width: 380px) { html body .reg-captcha { transform: scale(.9); } }

html body .reg-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; font-size: 13px; color: rgba(255,255,255,.82); }
html body .reg-or::before, html body .reg-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.3); }
html body .reg-social {
    display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 14px;
    background: #fff; color: var(--mj-text); font-size: 15px; font-weight: 600; transition: background .15s;
}
html body .reg-social:hover { background: var(--mj-page); }
html body .reg-social:disabled { opacity: .7; cursor: wait; }
html body .reg-social-row { display: flex; gap: 10px; margin-top: 10px; }
html body .reg-social-err { margin: 10px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; text-align: center; color: #fff; }

html body .reg-foot { margin: 16px 0 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.82); }
html body .reg-foot a { color: #fff; font-weight: 700; text-decoration: underline; }
html body .reg-play { display: flex; justify-content: center; margin-top: 16px; }
html body .reg-play img { height: 40px; width: auto; }

html body .reg-block { text-align: center; }
html body .reg-block h1 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 800; color: #fff; }
html body .reg-block p { margin: 8px 0 4px; font-size: 15px; line-height: 21px; color: rgba(255,255,255,.9); }
html body .reg-block-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.9); text-decoration: none; }
html body .reg-block-link:hover { color: #fff; text-decoration: underline; }
html body .reg-block-link.hidden { display: none; }

html body .reg-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.5); }
html body .reg-modal.hidden { display: none; }
html body .reg-modal-card { width: 100%; max-width: 340px; padding: 20px; border-radius: 16px; background: #fff; text-align: center; }
html body .reg-modal-card h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--mj-text); }
html body .reg-modal-card p { margin: 6px 0 0; font-size: 15px; line-height: 21px; color: var(--mj-text-2); word-break: break-word; }
html body .reg-modal-card strong { color: var(--mj-text); }
html body .reg-modal-link { display: block; width: 100%; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--mj-pink); }

/* Tailwind's "hidden" must still win inside list rows */
html body .ur .hidden { display: none; }

/* Desktop hero: keep the text clear of the people in the video */
@media (min-width: 1024px) {
    .hero { justify-content: flex-end; }
    .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.78) 100%); }
    .hero-copy { max-width: 560px; margin-right: 4%; }

    /* Home top bar: see-through over the video, solid after scrolling past it */
    html body.home-page #topBar { transition: background-color .25s ease, border-color .25s ease; }
    html body.home-page #topBar:not(.is-scrolled) { background: transparent !important; border-bottom-color: transparent !important; }
    html body.home-page .hero { margin-top: -56px; min-height: min(100dvh, 816px); }
    html body.home-page #topBar:not(.is-scrolled) .tb-login {
        background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    html body.home-page #topBar:not(.is-scrolled) .tb-login:hover { background: rgba(255,255,255,.24); }
    html body.home-page #topBar:not(.is-scrolled) .tb-icon { color: #fff; }
    html body.home-page #topBar:not(.is-scrolled) .tb-icon:hover { background: rgba(255,255,255,.14); }
    html body.home-page #topBar:not(.is-scrolled) .tb-chip {
        color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    html body.home-page #topBar:not(.is-scrolled) .tb-chip:hover { background: rgba(255,255,255,.24); }
}

/* The Aktiviti panel waits off screen on small widths; its shadow must not show there */
html body #rightSidebar:not(.open) { box-shadow: none; }

/* ── Berdekatan ───────────────────────────────────────── */
html body .nb-radius { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--mj-line); }
html body .nb-radius button { min-width: 0; height: 40px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--mj-text-2); transition: background .15s; }
html body .nb-radius button:hover { background: var(--mj-page); }
html body .nb-radius button.on { background: var(--mj-pink); color: #fff; }
html body .nb-banner { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--mj-line); }
html body .nb-banner #banner-msg { margin: 0; font-size: 14px; font-weight: 600; color: var(--mj-text); }
html body .nb-banner #banner-sub { margin: 2px 0 0; font-size: 13px; color: var(--mj-text-2); }
html body .nb-banner #banner-sub:empty { display: none; }
html body .nb-state { padding: 28px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--mj-line); text-align: center; }
html body .nb-state h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--mj-text); }
html body .nb-state p { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--mj-text-2); }
html body .nb-btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 320px; height: 50px; margin: 18px auto 0; border-radius: 14px; background: var(--mj-pink); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s; }
html body .nb-btn:hover { background: var(--mj-pink-hover); color: #fff; }
html body .nb-btn.hidden { display: none; }
html body .nb-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--mj-pink); text-decoration: none; }

/* ── Mencari ──────────────────────────────────────────── */
html body .mc-guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body .mc-guest #banner-msg { font-weight: 500; font-size: 13px; line-height: 18px; }
html body .mc-guest a { flex-shrink: 0; display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--mj-pink); text-decoration: none; white-space: nowrap; }
html body .mc-guest-end { margin-top: 10px; }

/* ── Minat ────────────────────────────────────────────── */
html body .mn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html body .mn-chips.hidden { display: none; }
html body .ur .mn-chips { margin-top: 6px; }
html body .mn-chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 9999px; background: var(--mj-page); font-size: 13px; line-height: 18px; color: var(--mj-text-2); text-transform: capitalize; }
html body .mn-chip.on { background: var(--mj-pink); color: #fff; font-weight: 600; }
html body .mn-viewer { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--mj-line); }
html body .mn-viewer.hidden { display: none; }
html body .mn-viewer-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--mj-text-2); }

/* ── Galeri ───────────────────────────────────────────── */
html body .gl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html body .gl-grid.hidden { display: none; }
@media (min-width: 640px) { html body .gl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { html body .gl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html body .gl-tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: var(--mj-line); text-align: left; }
html body .gl-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
@media (hover: hover) { html body .gl-tile:hover img { transform: scale(1.03); } }
html body .gl-tile:focus-visible { outline: 2px solid var(--mj-pink); outline-offset: 2px; }
html body .gl-info { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 32px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0)); }
html body .gl-name, html body .gl-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
html body .gl-name { font-size: 15px; line-height: 20px; font-weight: 600; }
html body .gl-meta { font-size: 13px; line-height: 18px; color: rgba(255,255,255,.85); }

html body #lightbox { position: fixed; inset: 0; z-index: 999990; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.9); }
html body #lightbox.hidden { display: none; }
html body .gl-lb-body { width: 100%; max-width: 440px; text-align: center; }
html body #lb-img { display: block; width: 100%; max-height: 68vh; max-height: 68dvh; object-fit: contain; border-radius: 16px; }
html body #lb-name { margin: 14px 0 0; font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; }
html body #lb-meta { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.75); }
html body #lb-meta:empty { display: none; }
html body .gl-lb-body .nb-btn { margin-top: 14px; }
html body .gl-lb-btn { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
html body .gl-lb-btn:hover { background: rgba(255,255,255,.26); }
html body .gl-lb-close { top: 12px; right: 12px; }
html body .gl-lb-prev { left: 12px; top: 50%; margin-top: -22px; }
html body .gl-lb-next { right: 12px; top: 50%; margin-top: -22px; }

/* ── Loading spinner: iOS-style, the same as the app ──────
   Use <span class="mj-spinner"></span>. It takes the text colour, so it's white
   on pink buttons. Tailwind, daisyUI and Font Awesome spinners all become this. */
@keyframes mjSpin { to { transform: rotate(360deg); } }
html body .mj-spinner, html body svg.animate-spin, html body .loading.loading-spinner, html body .loading.loading-dots, html body i.fa-spin {
    background: currentColor; fill: none; stroke: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%221.0%22 transform=%22rotate%280 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.175%22 transform=%22rotate%2830 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.25%22 transform=%22rotate%2860 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.325%22 transform=%22rotate%2890 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.4%22 transform=%22rotate%28120 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.475%22 transform=%22rotate%28150 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.55%22 transform=%22rotate%28180 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.625%22 transform=%22rotate%28210 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.7%22 transform=%22rotate%28240 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.775%22 transform=%22rotate%28270 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.85%22 transform=%22rotate%28300 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.925%22 transform=%22rotate%28330 12 12%29%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%221.0%22 transform=%22rotate%280 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.175%22 transform=%22rotate%2830 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.25%22 transform=%22rotate%2860 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.325%22 transform=%22rotate%2890 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.4%22 transform=%22rotate%28120 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.475%22 transform=%22rotate%28150 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.55%22 transform=%22rotate%28180 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.625%22 transform=%22rotate%28210 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.7%22 transform=%22rotate%28240 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.775%22 transform=%22rotate%28270 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.85%22 transform=%22rotate%28300 12 12%29%22/%3E%3Crect x=%2210.9%22 y=%221.5%22 width=%222.2%22 height=%226%22 rx=%221.1%22 opacity=%220.925%22 transform=%22rotate%28330 12 12%29%22/%3E%3C/svg%3E") center / contain no-repeat;
    animation: mjSpin 1s steps(12) infinite;
}
html body .mj-spinner { display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
html body .mj-spinner.hidden { display: none; }
html body .mj-spinner-sm { width: 16px; height: 16px; }
html body .mj-spinner-lg { width: 32px; height: 32px; }
html body svg.animate-spin > * { display: none; }
html body i.fa-spin { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; }
html body i.fa-spin::before { content: none !important; }
html body .ur-end .mj-spinner { color: #8E8E93; }

/* ── Search panel ─────────────────────────────────────── */
/* visibility keeps the closed panel's shadow off screen and its controls out of keyboard reach */
html body #searchDrawer {
    z-index: 999999; height: 100dvh; visibility: hidden; transform: translateX(100%);
    box-shadow: -12px 0 32px rgba(0,0,0,.18);
    transition: transform .3s ease, visibility 0s linear .3s;
}
html body #searchDrawer.open { visibility: visible; transform: translateX(0); transition: transform .3s ease, visibility 0s; }
html body #searchBackdrop { z-index: 999998; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
html body #searchBackdrop.open { opacity: 1; pointer-events: auto; }

html body .sd-head { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 6px 8px 6px 20px; border-bottom: 1px solid var(--mj-line); }
html body .sd-head h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--mj-text); }
html body .sd-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--mj-text-2); transition: background .15s; }
html body .sd-close:hover { background: var(--mj-page); }

html body .sd-tabs { display: flex; gap: 6px; flex-shrink: 0; padding: 12px 20px; border-bottom: 1px solid var(--mj-line); }
html body #searchDrawer .search-tab {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 44px; padding: 0 8px; border-radius: 12px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--mj-text-2);
}
html body #searchDrawer .search-tab:hover { background: var(--mj-page); }
html body #searchDrawer .search-tab.active { background: var(--mj-pink); color: #fff; }
html body #searchDrawer .search-tab svg { flex-shrink: 0; }

html body .sd-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }
html body .sd-panel { flex: 1 0 auto; display: flex; flex-direction: column; }
html body .sd-panel.hidden { display: none; }
html body .sd-form { flex: 1 0 auto; display: flex; flex-direction: column; }
html body .sd-fields { flex: 1 0 auto; display: flex; flex-direction: column; gap: 20px; padding: 20px; }
html body .sd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html body .sd-row > div { min-width: 0; }
html body .sd-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--mj-text-2); }
html body .sd-label-row { display: flex; align-items: baseline; justify-content: space-between; }
html body .sd-age { font-size: 15px; font-weight: 700; color: var(--mj-text); }
html body .sd-hint { margin: 8px 0 0; font-size: 13px; line-height: 19px; color: var(--mj-text-2); }

html body #searchDrawer .sf-input, html body #searchDrawer textarea {
    width: 100%; font-size: 15px !important; padding-top: 13px !important; padding-bottom: 13px !important; padding-left: 14px !important; line-height: 20px;
}
html body #searchDrawer input.sf-input, html body #searchDrawer textarea { padding-right: 14px !important; }
html body #searchDrawer select.sf-input { padding-right: 34px !important; text-overflow: ellipsis; }
html body #searchDrawer textarea { display: block; resize: none; }
/* Phones zoom in on fields under 16px */
@media (max-width: 767px) { html body #searchDrawer .sf-input, html body #searchDrawer textarea { font-size: 16px !important; } }

html body #ageRange.noUi-target { height: 6px; margin: 16px 13px 10px; border: 0; border-radius: 9999px; background: var(--mj-line); box-shadow: none; }
html body #ageRange .noUi-connects { border-radius: 9999px; }
html body #ageRange .noUi-connect { background: var(--mj-pink); }
html body #ageRange .noUi-handle {
    top: -10px; right: -13px; width: 26px; height: 26px; border: 1px solid var(--mj-line); border-radius: 50%;
    background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.22); cursor: grab;
}
html body #ageRange .noUi-handle::after { display: none; }
/* Invisible, so the 26px knob still has a tap target of about 44px */
html body #ageRange .noUi-handle::before { top: -10px; left: -10px; width: 44px; height: 44px; background: transparent; }

html body .sd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html body #searchDrawer .filter-chip {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--mj-line); border-radius: 12px; background: var(--mj-field);
    font-size: 14px; font-weight: 600; color: var(--mj-text); cursor: pointer; user-select: none;
}
html body #searchDrawer .filter-chip:hover { border-color: var(--mj-pink); background: var(--mj-field); color: var(--mj-text); }
/* The tick box stays in the form but can't be seen; the chip shows the state */
html body #searchDrawer .filter-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
html body #searchDrawer .filter-chip:has(input:checked) { border-color: var(--mj-pink); background: #FFF5F8; color: var(--mj-pink); }
html body #searchDrawer .filter-chip input:checked ~ span { color: var(--mj-pink); }
html body #searchDrawer .filter-chip:has(input:focus-visible) { outline: 2px solid var(--mj-pink); outline-offset: 2px; }

html body .sd-foot {
    position: sticky; bottom: 0; margin-top: auto; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--mj-line);
}
html body .sd-submit {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 14px;
    background: var(--mj-pink); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s;
}
html body .sd-submit:hover { background: var(--mj-pink-hover); color: #fff; }
html body .sd-submit:disabled { opacity: .75; }

html body .sd-guest { padding: 28px 20px; text-align: center; }
html body .sd-guest h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--mj-text); }
html body .sd-guest p { margin: 0 0 20px; font-size: 15px; line-height: 22px; color: var(--mj-text-2); }
html body .sd-link { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--mj-pink); text-decoration: none; }

/* Logo over the video with sound */
.hero-modal-logo {
    position: absolute; top: 14px; left: 16px; height: 40px; width: auto; pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(254,80,126,.65)) drop-shadow(0 0 3px rgba(255,255,255,.45));
}
