.sp-splash {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: #fdfbf7;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--site-theme-primary-container);
    opacity: 1;
    visibility: visible;
    transition: opacity 280ms ease, visibility 280ms ease;
}

.sp-dots {
    display: flex;
    gap: 6px;
}

.sp-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--site-theme-primary-container);
    opacity: .25;
    transform: scale(.6);
    animation: sp-step 1.4s ease-in-out infinite;
}

.sp-dots i:nth-child(2n) { background: #f59e0b; }
.sp-dots i:nth-child(2) { animation-delay: .12s; }
.sp-dots i:nth-child(3) { animation-delay: .24s; }
.sp-dots i:nth-child(4) { animation-delay: .36s; }
.sp-dots i:nth-child(5) { animation-delay: .48s; }
.sp-dots i:nth-child(6) { animation-delay: .6s; }
.sp-dots i:nth-child(7) { animation-delay: .72s; }

.sp-splash p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    letter-spacing: .02em;
}

.sp-splash.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sp-splash .sp-loader-mark {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--site-theme-primary-container) 14%, transparent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--site-theme-primary-container) 12%, transparent);
    animation: sp-heartbeat 1.15s ease-in-out infinite;
}

.sp-splash .sp-loader-mark .material-symbols-outlined {
    font-size: 32px;
    color: var(--site-theme-primary-container);
}

.home-offer-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(19 10 15 / 76%);
    backdrop-filter: blur(8px);
}

.home-offer-modal[hidden] {
    display: none !important;
}

.home-offer-modal__panel {
    position: relative;
    display: flex;
    max-width: min(96vw, 900px);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    align-items: center;
    justify-content: center;
    animation: home-offer-enter 220ms ease-out both;
}

.home-offer-modal__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 1rem;
    object-fit: contain;
    box-shadow: 0 24px 80px rgb(0 0 0 / 38%);
}

.home-offer-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 9999px;
    background: rgb(28 18 23 / 72%);
    color: #fff;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.home-offer-modal__close:hover,
.home-offer-modal__close:focus-visible {
    transform: scale(1.05);
    background: var(--site-theme-primary-container);
}

body.home-offer-open {
    overflow: hidden;
}

@keyframes home-offer-enter {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .home-offer-modal__panel {
        animation: none;
    }
}

.story-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgb(14 9 12 / 82%);
}

.story-video-modal[hidden] {
    display: none;
}

.story-video-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: default;
    background: transparent;
}

.story-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 64rem);
    padding: 0.5rem;
    border-radius: 1rem;
    background: #090909;
    box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
}

.story-video-modal__dialog iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0.75rem;
    background: #000;
}

.story-video-modal__close {
    position: absolute;
    z-index: 2;
    top: -0.9rem;
    right: -0.9rem;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 9999px;
    color: #fff;
    background: var(--site-theme-primary-container);
    box-shadow: 0 4px 16px rgb(0 0 0 / 30%);
    cursor: pointer;
}

body.story-video-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .story-video-modal__close {
        top: -0.65rem;
        right: -0.65rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Premium member carousel: four profiles on desktop, one on phones. */
.premium-members-viewport {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.premium-members-viewport::-webkit-scrollbar {
    display: none;
}

.premium-members-track {
    display: flex !important;
    width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 1.5rem;
}

.premium-members-track > article,
.premium-members-track > .premium-member-skeleton {
    min-width: 0;
    flex: 0 0 calc((100% - 4.5rem) / 4);
    scroll-snap-align: start;
}

.premium-members-track > .premium-members-message {
    flex: 0 0 100%;
}

.premium-members-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.premium-members-control {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid #eadde3;
    border-radius: 9999px;
    background: #fff;
    color: var(--site-theme-primary);
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease,
        opacity 160ms ease, transform 160ms ease;
}

.premium-members-control:not(:disabled):hover {
    transform: translateY(-2px);
    border-color: var(--site-theme-primary-container);
    background: var(--site-theme-primary-container);
    color: #fff;
}

.premium-members-control:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.premium-members-control:focus-visible {
    outline: 3px solid rgb(244 153 24 / 55%);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .premium-members-track > article,
    .premium-members-track > .premium-member-skeleton {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 639px) {
    .premium-members-track > article,
    .premium-members-track > .premium-member-skeleton {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-members-viewport {
        scroll-behavior: auto;
    }
    .premium-members-control {
        transition: none;
    }
}

@keyframes sp-heartbeat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.08); }
    24% { transform: scale(1); }
    36% { transform: scale(1.05); }
}

@keyframes sp-step {
    0%, 60%, 100% { opacity: .25; transform: scale(.6); }
    25% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .sp-splash,
    .sp-splash .sp-loader-mark,
    .sp-dots i { transition: none; animation: none; opacity: .8; transform: none; }
}

.site-mobile-menu[hidden] {
    display: none !important;
}

/* Slightly enlarge the shared header logo on interior pages; homepage sizing
   remains controlled by its existing hero-specific rules below. */
header a[aria-label="Saptaphere Matrimony home"] img {
    height: 2.75rem;
}

@media (min-width: 768px) {
    header a[aria-label="Saptaphere Matrimony home"] img {
        height: 3rem;
    }
}

/* Homepage full-viewport matchmaking hero. Kept scoped so inner pages retain their own header and layout. */
.home-page > .home-header {
    position: absolute !important;
    inset: 0 0 auto;
    z-index: 50;
    background: transparent !important;
    box-shadow: none !important;
}

/* Keep the homepage header over the hero initially, then match the shared
   public header appearance used on interior pages while scrolling. */
.home-page > .home-header,
.home-page > .home-header > div,
.home-page > .home-header > div > div {
    transition: background-color 220ms ease, box-shadow 220ms ease,
        padding 220ms ease, min-height 220ms ease, border-color 220ms ease;
}

.home-page > .home-header.is-scrolled {
    position: fixed !important;
    inset: 0 0 auto;
    z-index: 1000;
    background: #faf8ff !important;
    box-shadow: 0 1px 8px rgb(0 0 0 / 8%) !important;
}

.home-page > .home-header.is-scrolled > div:first-child {
    background: var(--site-theme-primary-container) !important;
    color: #fff !important;
}

.home-page > .home-header.is-scrolled > div:last-child {
    background: rgb(250 248 255 / 90%) !important;
    border-color: #eaedff !important;
    color: #131b2e !important;
    backdrop-filter: blur(16px);
}

.home-page > .home-header.is-scrolled nav a {
    color: #594045 !important;
}

.home-page > .home-header.is-scrolled nav a[aria-current="page"] {
    color: var(--site-theme-primary) !important;
}

.home-page > .home-header.is-scrolled nav a:hover,
.home-page > .home-header.is-scrolled .site-language-trigger {
    color: #594045 !important;
}

.home-page > .home-header.is-scrolled .site-language-trigger,
.home-page > .home-header.is-scrolled .site-language-chevron {
    color: #fff !important;
}

.home-page > .home-header.is-scrolled nav a[aria-current="page"]:hover,
.home-page > .home-header.is-scrolled .site-language-trigger:hover {
    color: var(--site-theme-primary) !important;
}

.home-page > .home-header.is-scrolled .site-language-trigger:hover,
.home-page > .home-header.is-scrolled .site-language-trigger:hover .site-language-chevron {
    color: #fff !important;
}

.home-page > .home-header.is-scrolled button[aria-label="Open menu"],
.home-page > .home-header.is-scrolled button[aria-label="Close menu"] {
    color: #131b2e !important;
}

.home-page > .home-header.is-scrolled .home-login-button {
    border-color: #eaedff !important;
    background: transparent !important;
    color: var(--site-theme-primary) !important;
    box-shadow: none;
}

.home-page > .home-header.is-scrolled .home-login-button:hover {
    background: #f2f3ff !important;
    color: var(--site-theme-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
    .home-page > .home-header,
    .home-page > .home-header > div,
    .home-page > .home-header > div > div {
        transition: none;
    }
}

.home-page > .home-header > div:first-child,
.home-page > .home-header > div:first-child > div,
.home-page > .home-header > div:last-child,
.home-page > .home-header > div:last-child > div {
    background: transparent !important;
    border-color: transparent !important;
    color: #fff !important;
    backdrop-filter: none !important;
}

.home-page > .home-header nav a,
.home-page > .home-header .site-language-trigger,
.home-page > .home-header .site-language-chevron {
    color: #fff !important;
}

.home-page > .home-header nav a:hover,
.home-page > .home-header .site-language-trigger:hover {
    color: #ffe0e8 !important;
}

.home-page > .home-header > div:last-child > div > a:first-child {
    color: #fff !important;
}

.home-page > .home-header a[aria-label="Saptaphere Matrimony home"] {
    padding: 0;
    background: transparent;
}

.home-page > .home-header a[aria-label="Saptaphere Matrimony home"] img {
    width: auto;
    height: 2.75rem;
}

@media (min-width: 768px) {
    .home-page > .home-header a[aria-label="Saptaphere Matrimony home"] img {
        height: 3rem;
    }
}

.home-page > .home-header .home-auth-button {
    display: inline-flex;
    box-sizing: border-box;
    width: auto;
    height: 2rem;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .375rem .875rem !important;
    border: 1px solid transparent !important;
    border-radius: 9999px !important;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    box-shadow: 0 5px 16px rgb(0 0 0 / 18%);
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-page > .home-header .home-login-button {
    background: #f49918 !important;
    color: #fff !important;
}

.home-page > .home-header .home-auth-button:hover {
    transform: translateY(-2px);
}

.home-page > .home-header .home-login-button:hover {
    border-color: #df8507 !important;
    background: #df8507 !important;
    color: #fff !important;
}

.home-hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 108px;
    color: #fff;
    background-image:
        linear-gradient(180deg, rgb(19 10 15 / 62%) 0%, rgb(19 10 15 / 48%) 52%, rgb(19 10 15 / 65%) 100%),
        url("images/home-redesign/01-a-joyful-and-radiant-indian-bride-and-gr.jpg");
    background-position: center 38%;
    background-size: cover;
}

.home-hero > div[aria-hidden="true"] {
    display: none;
}

.home-hero > .container-page.relative.grid {
    width: 100%;
    max-width: 960px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0;
    text-align: center;
}

.home-hero > .container-page.relative.grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero > .container-page.relative.grid > div:nth-child(2) {
    display: none;
}

.home-hero h1,
.home-hero h1 em,
.home-hero p,
.home-hero .field-label {
    color: #fff !important;
}

.home-hero p strong {
    color: #fff !important;
}

.home-hero h1 {
    margin-top: 1rem !important;
    font-size: clamp(2.8rem, 7vw, 5.25rem) !important;
    line-height: 1.03 !important;
    text-shadow: 0 3px 22px rgb(0 0 0 / 32%);
}

.home-hero > .container-page.relative.grid > div:first-child > p {
    max-width: 46rem;
    margin-top: 1rem !important;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    text-shadow: 0 2px 10px rgb(0 0 0 / 45%);
}

.home-hero .chip {
    border: 1px solid rgb(255 255 255 / 28%);
    background: rgb(255 255 255 / 14%) !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.home-hero > .container-page.relative.grid > div:first-child > ul {
    justify-content: center;
}

.home-hero > .container-page.relative.grid > div:first-child > ul .material-symbols-outlined {
    color: #ffe39d !important;
}

.home-hero > .container-page.relative.grid > div:first-child > div {
    justify-content: center;
}

.home-hero .btn-primary {
    border-radius: .9rem;
    box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgb(0 0 0 / 28%);
}

.home-hero > .container-page.relative.pb-16 {
    width: 100%;
    max-width: 1180px;
    padding: 1.5rem 1.25rem 2rem;
}

.home-hero .home-search {
    margin-top: 0 !important;
    border: 1px solid rgb(255 255 255 / 48%);
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 20px 60px rgb(0 0 0 / 24%);
    backdrop-filter: blur(18px);
}

.home-hero .home-search h2,
.home-hero .home-search label,
.home-hero .home-search p {
    color: #29212a !important;
    text-shadow: none;
}

.home-hero .home-search .field-label {
    color: #000 !important;
}

@media (max-width: 767px) {
    .home-page > .home-header > div:first-child > div {
        min-height: 2.25rem;
    }

    .home-hero {
        padding-top: 108px;
        background-position: 56% center;
    }

    .home-hero > .container-page.relative.grid {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .home-hero > .container-page.relative.pb-16 {
        padding: 1.25rem 1rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero .btn-primary { transition: none; }
}

.site-theme-toggle {
    position: fixed;
    z-index: 9999;
    top: 50%;
    right: 0.5rem;
    display: flex;
    width: 2.25rem;
    height: 4rem;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.35rem;
    border: 1px solid rgb(255 255 255 / 32%);
    border-radius: 9999px;
    background: #171923;
    color: #facc15;
    box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
    cursor: pointer;
    transform: translateY(-50%);
}

.site-theme-toggle:hover,
.site-theme-toggle:focus-visible {
    outline: 2px solid var(--site-theme-primary-container);
    outline-offset: 3px;
}

.site-theme-toggle .material-symbols-outlined {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.25rem;
}

.site-theme-moon {
    color: #cbd5e1;
}

.site-theme-thumb {
    position: absolute;
    z-index: 0;
    right: 0.2rem;
    bottom: 0.2rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 28%);
    transition: top 180ms ease, bottom 180ms ease, background-color 180ms ease;
}

html[data-theme="dark"] .site-theme-thumb {
    top: 0.2rem;
    bottom: auto;
    background: var(--site-theme-primary-container);
}

@media (max-width: 480px) {
    .site-theme-toggle {
        right: 0.25rem;
    }
}

.site-language-selector {
    position: relative;
}

.site-language-trigger {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.site-language-trigger:hover,
.site-language-trigger:focus-visible {
    color: #fff;
    outline: 2px solid rgb(255 255 255 / 65%);
    outline-offset: 2px;
}

.site-language-chevron {
    font-size: 1.125rem;
}

.site-language-menu {
    position: absolute;
    z-index: 100;
    top: calc(100% + 0.75rem);
    right: 0;
    width: min(19rem, calc(100vw - 2rem));
    padding: 0.5rem;
    border: 1px solid #f1e9ec;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 44px rgb(44 36 40 / 18%);
    color: #2c2428;
}

.site-language-menu[hidden] {
    display: none !important;
}

.site-language-menu-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
}

.site-language-menu-heading p,
.site-language-menu-heading span {
    display: block;
    margin: 0;
}

.site-language-menu-heading p {
    color: #28242a;
    font-size: 1rem;
    font-weight: 700;
}

.site-language-menu-heading div > span {
    margin-top: 0.2rem;
    color: #77717a;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.site-language-count {
    flex: none;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: #fdf4f7;
    color: var(--site-theme-primary);
    font-size: 0.7rem;
    font-weight: 600;
}

.site-language-options {
    display: grid;
    gap: 0.125rem;
}

.site-language-option {
    display: flex;
    width: 100%;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background: transparent;
    color: #28242a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.site-language-option:hover,
.site-language-option:focus-visible {
    background: #f7f4f5;
    outline: none;
}

.site-language-option.is-selected {
    border-color: var(--site-theme-primary-container);
    background: color-mix(in srgb, var(--site-theme-primary-container) 7%, white);
    color: var(--site-theme-primary);
}

.site-language-option-icon {
    font-size: 1.25rem;
}

.site-language-copy {
    display: grid;
    flex: 1;
    gap: 0.1rem;
}

.site-language-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2rem;
}

.site-language-code {
    color: #77717a;
    font-size: 0.7rem;
    line-height: 1rem;
}

.site-language-check {
    visibility: hidden;
    font-size: 1.125rem;
}

.site-language-option.is-selected .site-language-check {
    visibility: visible;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    background-color: #171a22;
    color: #ebe7ed;
}

html[data-theme="dark"] [class~="bg-surface-canvas"],
html[data-theme="dark"] [class~="bg-surface-ivory"] {
    background-color: #171a22;
}

html[data-theme="dark"] [class~="bg-surface-container-lowest"],
html[data-theme="dark"] [class~="bg-white"] {
    background-color: #202530;
}

html[data-theme="dark"] [class~="bg-surface-container-low"] {
    background-color: #252a36;
}

html[data-theme="dark"] [class~="bg-surface-container-low/60"] {
    background-color: rgb(37 42 54 / 60%);
}

html[data-theme="dark"] [class~="bg-surface-container-low/70"] {
    background-color: rgb(37 42 54 / 70%);
}

html[data-theme="dark"] [class~="bg-surface-container-low/50"] {
    background-color: rgb(37 42 54 / 50%);
}

html[data-theme="dark"] [class~="bg-surface-container-lowest/90"] {
    background-color: rgb(32 37 48 / 90%);
}

html[data-theme="dark"] [class~="bg-surface-container-lowest/95"] {
    background-color: rgb(32 37 48 / 95%);
}

html[data-theme="dark"] [class~="bg-surface-canvas/70"] {
    background-color: rgb(23 26 34 / 70%);
}

html[data-theme="dark"] [class~="bg-surface-container"] {
    background-color: #2d3341;
}

html[data-theme="dark"] [class~="bg-surface-dim"] {
    background-color: #353b49;
}

html[data-theme="dark"] [class~="bg-surface/90"] {
    background-color: rgb(32 37 48 / 90%);
}

html[data-theme="dark"] [class~="from-surface-ivory"] {
    --tw-gradient-from: #171a22 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(23 26 34 / 0%) var(--tw-gradient-to-position);
}

html[data-theme="dark"] [class~="via-surface"] {
    --tw-gradient-via: #202530 var(--tw-gradient-via-position);
}

html[data-theme="dark"] [class~="to-surface-canvas"] {
    --tw-gradient-to: #171a22 var(--tw-gradient-to-position);
}

html[data-theme="dark"] [class~="text-on-background"],
html[data-theme="dark"] [class~="text-on-surface"] {
    color: #f0edf2;
}

html[data-theme="dark"] [class~="text-on-surface-variant"],
html[data-theme="dark"] [class~="text-text-secondary"],
html[data-theme="dark"] [class~="text-text-muted"] {
    color: #b6adb8;
}

html[data-theme="dark"] [class~="text-primary"] {
    color: #ff80ab;
}

html[data-theme="dark"] .field-label,
html[data-theme="dark"] .closure-choice-title,
html[data-theme="dark"] .verification-document-title,
html[data-theme="dark"] .dashboard-panel-heading h2 {
    color: #f0edf2;
}

html[data-theme="dark"] [class~="border-border-subtle"],
html[data-theme="dark"] [class~="border-surface-container"],
html[data-theme="dark"] [class~="divide-border-subtle"] > :not([hidden]) ~ :not([hidden]) {
    border-color: #3a404e;
}

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    border-color: #454b59;
    background-color: #202530;
    color: #f0edf2;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #a39ba7;
}

html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

html[data-theme="dark"] .site-language-menu,
html[data-theme="dark"] .dashboard-header-panel,
html[data-theme="dark"] .site-mobile-menu,
html[data-theme="dark"] .profile-photo-lightbox > div {
    border-color: #3a404e;
    background-color: #202530;
    color: #f0edf2;
}

html[data-theme="dark"] .site-language-menu-heading p,
html[data-theme="dark"] .site-language-option {
    color: #f0edf2;
}

html[data-theme="dark"] .site-language-menu-heading div > span,
html[data-theme="dark"] .site-language-code {
    color: #b6adb8;
}

html[data-theme="dark"] .site-language-option:hover,
html[data-theme="dark"] .site-language-option:focus-visible,
html[data-theme="dark"] .site-mobile-menu-links a:hover,
html[data-theme="dark"] .site-mobile-menu-links a:focus-visible {
    background-color: #2d3341;
}

html[data-theme="dark"] .site-language-option.is-selected {
    border-color: var(--site-theme-primary-container);
    background-color: #3b2431;
    color: var(--site-theme-primary-soft);
}

html[data-theme="dark"] .site-mobile-menu-header,
html[data-theme="dark"] .site-mobile-menu-actions {
    border-color: #3a404e;
}

html[data-theme="dark"] .site-mobile-menu-links a,
html[data-theme="dark"] .site-mobile-menu-close {
    color: #f0edf2;
}

html[data-theme="dark"] .site-mobile-menu-logout {
    border-color: #454b59;
    background-color: #252a36;
    color: #f0edf2;
}

.site-theme-toggle,
.site-theme-toggle * {
    color-scheme: light;
}

.search-mode-query {
    padding: 0.75rem 0.5rem 0.25rem;
}

.search-mode-query input {
    min-height: 3rem;
}

.search-name-mode {
    grid-template-columns: minmax(0, 1fr) !important;
}

.search-name-mode > aside {
    display: none !important;
}

.search-mobile-filters-backdrop {
    position: fixed;
    z-index: 89;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(17 14 16 / 48%);
}

.search-mobile-filters-backdrop[hidden] {
    display: none !important;
}

.search-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-mobile-filter-close {
    display: none;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.search-filter-choice-selected {
    background-color: #fce7f0;
    color: var(--site-theme-primary);
}

.search-selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: -0.5rem 0 0.75rem;
}

.search-selected-options[hidden] {
    display: none;
}

.search-selected-options__chip {
    max-width: 100%;
    overflow-wrap: anywhere;
    border: 1px solid #f3c5d4;
    border-radius: 9999px;
    background: #fff2f6;
    color: #8e1746;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.search-top-placement-ribbon {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: -38px;
    width: 142px;
    transform: rotate(45deg);
    background: linear-gradient(105deg, #f49918, var(--site-theme-primary));
    box-shadow: 0 3px 10px rgba(26, 20, 27, 0.28);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.search-empty-state {
    margin-top: 1rem;
}

html[data-theme="dark"] .search-filter-choice-selected {
    background-color: #3b2431;
    color: var(--site-theme-primary-soft);
}

html[data-theme="dark"] .search-selected-options__chip {
    border-color: #67384e;
    background: #3b2431;
    color: var(--site-theme-primary-soft);
}

html[data-theme="dark"] .search-empty-state {
    background-color: #252a36;
}

@media (max-width: 1023px) {
    body.search-mobile-filters-open {
        overflow: hidden;
    }

    body.search-mobile-filters-open .search-filters-aside {
        position: fixed;
        z-index: 90;
        inset: 0 auto 0 0;
        display: block !important;
        width: min(22rem, 90vw);
        max-height: 100dvh;
        overflow-y: auto;
        padding: 0.75rem;
        background: #f8fafc;
        box-shadow: 0 20px 50px rgb(0 0 0 / 28%);
    }

    html[data-theme="dark"] body.search-mobile-filters-open .search-filters-aside {
        background: #171a22;
    }

    .search-mobile-filter-close {
        display: inline-flex;
    }
}

.site-menu-open {
    overflow: hidden;
}

.site-menu-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(17 14 16 / 42%);
}

.site-menu-backdrop[hidden] {
    display: none !important;
}

.site-mobile-menu {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(20rem, 85vw);
    flex-direction: column;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
    animation: site-menu-enter 180ms ease-out;
}

.site-mobile-menu-header {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #f1e9ec;
}

.site-mobile-menu-header img {
    display: block;
    height: 2rem;
    width: auto;
    max-width: 10rem;
}

.site-mobile-menu-close {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #2c2428;
    cursor: pointer;
}

.site-mobile-menu-links {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 0.75rem;
}

.site-mobile-menu-links a,
.site-mobile-menu-links .site-mobile-menu-item {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0;
    color: #28242a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-decoration: none;
}

.site-mobile-menu-links .material-symbols-outlined {
    color: #77717a;
    font-size: 1.125rem;
    line-height: 1;
}

.site-mobile-menu-links a:hover,
.site-mobile-menu-links a:focus-visible,
.site-mobile-menu-item:hover,
.site-mobile-menu-item:focus-visible {
    background: #f5f1fb;
    color: #8b1749;
    border-radius: 1rem;
}

.site-mobile-menu-links a[aria-current="page"],
.site-mobile-menu-item[aria-current="page"] {
    background: #ffe0e6;
    color: #a30d4f;
    border-radius: 1rem;
}

.site-mobile-menu-links a {
    transition: background-color 160ms ease, color 160ms ease;
}

.site-mobile-menu-links a[aria-current="page"] {
    font-weight: 600;
}

.site-mobile-menu-links a[aria-current="page"] .material-symbols-outlined {
    color: #a30d4f;
}

.site-mobile-menu-item {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.site-mobile-menu-actions {
    display: grid;
    flex: 0 0 auto;
    gap: 0.5rem;
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid #f1e9ec;
}

.site-mobile-menu-auth-actions {
    gap: 0.5rem;
    padding: 1rem;
}

.site-mobile-menu-feedback {
    margin: 0;
    color: #62575c;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: center;
}

.site-mobile-menu-logout {
    display: block;
    width: 100%;
    min-height: 2.625rem;
    padding: 0.625rem 1.25rem;
    border: 1px solid #eadde2;
    border-radius: 9999px;
    background: #fff;
    color: #51464b;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-align: center;
    cursor: pointer;
}

.site-mobile-menu-whatsapp {
    display: flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-decoration: none;
}

.site-mobile-menu-actions a {
    display: flex;
    min-height: 2.625rem;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    background: var(--site-theme-primary-container);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-align: center;
    text-decoration: none;
}

.site-mobile-menu-actions .site-mobile-menu-action-link {
    display: flex !important;
    width: 100%;
    min-height: 2.625rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
}

.site-mobile-menu-actions .site-mobile-menu-action-link.site-mobile-menu-register {
    background: var(--site-theme-primary-container);
    color: #fff;
}

.site-mobile-menu-actions .site-mobile-menu-action-link.site-mobile-menu-login {
    background: #f5f1fb;
    color: #8b1749;
}

.site-mobile-menu-actions .site-mobile-menu-action-link:hover,
.site-mobile-menu-actions .site-mobile-menu-action-link:focus-visible {
    filter: brightness(0.96);
}

.site-mobile-menu-actions a[href="login.html"] {
    background: #f5f1fb;
    color: #8b1749;
}

.site-mobile-menu-actions a[href*="wa.me"] {
    min-height: 2.5rem;
    background: #059669;
}

.site-mobile-menu-logout:hover,
.site-mobile-menu-logout:focus-visible {
    background: #f8e8ef;
    color: var(--site-theme-primary);
}

.dashboard-header-panel {
    position: absolute;
    z-index: 100;
    top: calc(100% + 0.5rem);
    right: 0;
    border: 1px solid #f1e9ec;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 44px rgb(44 36 40 / 18%);
    color: #2c2428;
}

.dashboard-notifications-panel {
    width: min(22rem, calc(100vw - 2rem));
}

.dashboard-header-panel[hidden] {
    display: none !important;
}

.profile-photo-lightbox[hidden] {
    display: none !important;
}

.profile-photo-lightbox {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgb(17 14 16 / 82%);
}

.profile-photo-lightbox-panel {
    position: relative;
    max-width: min(90vw, 720px);
    max-height: 90vh;
}

.profile-photo-lightbox-panel img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
    object-fit: contain;
}

.profile-photo-gallery {
    overflow-y: auto;
}

.profile-photo-gallery-panel {
    display: grid;
    width: min(100%, 960px);
    max-height: calc(100vh - 3rem);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1rem;
}

.profile-photo-gallery-panel > img {
    width: 100%;
    height: min(68vh, 680px);
    object-fit: contain;
    object-position: center top;
}

.profile-photo-lightbox-close {
    position: absolute;
    z-index: 1;
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 0;
    border-radius: 9999px;
    background: rgb(17 14 16 / 64%);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
}

.profile-photo-gallery-arrow {
    position: absolute;
    z-index: 1;
    top: 38%;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 0;
    border-radius: 9999px;
    background: rgb(255 255 255 / 18%);
    color: #fff;
    cursor: pointer;
}

.profile-photo-gallery-arrow:hover,
.profile-photo-gallery-arrow:focus-visible,
.profile-photo-lightbox-close:hover,
.profile-photo-lightbox-close:focus-visible {
    background: rgb(255 255 255 / 32%);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.profile-photo-gallery-arrow .material-symbols-outlined {
    font-size: 1.75rem;
}

.profile-photo-gallery-previous {
    left: 0;
}

.profile-photo-gallery-next {
    right: 0;
}

.profile-photo-gallery-counter {
    margin: 0;
    color: rgb(255 255 255 / 85%);
    font-size: 0.875rem;
    text-align: center;
}

.profile-photo-gallery-grid {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    overflow-x: auto;
    padding: 0.25rem;
}

.profile-photo-gallery-thumbnail {
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 4.25rem;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
}

.profile-photo-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-photo-gallery-thumbnail:hover,
.profile-photo-gallery-thumbnail:focus-visible,
.profile-photo-gallery-thumbnail.is-active {
    border-color: #fff;
    opacity: 1;
}

/* Keep the activity tabs reachable when they exceed the available width. */
.activity-tabs-scroll {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.4rem;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--site-theme-primary-container) #f3e8ed;
    -webkit-overflow-scrolling: touch;
}

.activity-tabs-scroll::-webkit-scrollbar {
    display: block;
    height: 6px;
}

.activity-tabs-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #f3e8ed;
}

.activity-tabs-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--site-theme-primary-container);
}

.activity-tabs-scroll:focus-visible {
    outline: 2px solid var(--site-theme-primary-container);
    outline-offset: 3px;
}

.profile-photo-gallery-thumbnail:focus-visible {
    outline: 2px solid #f5c34e;
    outline-offset: 2px;
}

.profile-photo-lightbox-open {
    overflow: hidden;
}

.account-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.account-file-input:focus-visible {
    outline: 2px solid var(--site-theme-primary);
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .profile-photo-lightbox {
        padding: 0.75rem;
    }

    .profile-photo-gallery-panel {
        max-height: calc(100vh - 1.5rem);
        gap: 0.75rem;
        padding: 3.5rem 0.5rem 0.75rem;
    }

    .profile-photo-gallery-panel > img {
        height: 62vh;
    }

    .profile-photo-gallery-arrow {
        top: 42%;
        width: 2.5rem;
        height: 2.5rem;
    }

    .profile-photo-gallery-previous {
        left: 0.25rem;
    }

    .profile-photo-gallery-next {
        right: 0.25rem;
    }

    .profile-photo-gallery-thumbnail {
        width: 3.5rem;
        height: 3.5rem;
        flex-basis: 3.5rem;
    }
}

.verification-status-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 9.5rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background: #e8f5ef;
}

.verification-status-icon {
    display: grid;
    width: 5rem;
    height: 5rem;
    flex: 0 0 5rem;
    place-items: center;
    border-radius: 1rem;
    background: #07966f;
    color: #fff;
    font-size: 2.25rem;
}

.verification-status-copy {
    flex: 1;
}

.verification-status-copy h2 {
    margin: 0;
    color: #18342d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
}

.verification-status-copy p {
    max-width: 40rem;
    margin: 0.25rem 0 0;
    color: #52645d;
    font-size: 1rem;
    line-height: 1.6;
}

.verification-status-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    background: #07966f;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.verification-status-badge .material-symbols-outlined {
    font-size: 1.125rem;
}

.verification-document-list {
    display: grid;
}

.verification-document-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1.25rem;
    padding: 1.125rem 0;
    border-bottom: 1px solid #e9e4e6;
}

.verification-document-row:last-child {
    border-bottom: 0;
}

.verification-document-icon {
    display: grid;
    width: 3.75rem;
    height: 3.75rem;
    flex: 0 0 3.75rem;
    place-items: center;
    border-radius: 1rem;
    background: #fce3ea;
    color: #a91550;
    font-size: 1.75rem;
}

.verification-document-copy {
    min-width: 0;
    flex: 1;
}

.verification-document-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0;
    color: #28242a;
    font-size: 1rem;
    font-weight: 700;
}

.verification-document-description {
    margin: 0.125rem 0 0;
    color: #77717a;
    font-size: 0.875rem;
    line-height: 1.45;
}

.verification-document-state {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: #e9eaff;
    color: #65718a;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.verification-document-state .material-symbols-outlined {
    font-size: 1rem;
}

.verification-document-state.is-verified {
    background: #e3f4ee;
    color: #16835f;
}

.verification-document-action {
    position: relative;
    display: inline-flex;
    min-width: 7.5rem;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    overflow: hidden;
    border-radius: 9999px;
    color: #a91550;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.verification-document-action .material-symbols-outlined {
    font-size: 1.125rem;
}

.verification-document-action.is-replace {
    background: #f1efff;
}

.verification-document-action.is-upload {
    background: var(--site-theme-primary-container);
    color: #fff;
}

.verification-document-action:focus-within {
    outline: 2px solid var(--site-theme-primary);
    outline-offset: 2px;
}

.privacy-setting-list {
    display: grid;
    gap: 0;
}

.privacy-select-row,
.privacy-switch-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.privacy-select-row {
    padding: 0 0 1.5rem;
}

.privacy-select-row + .privacy-select-row {
    padding-top: 0.25rem;
}

.privacy-select-row:nth-child(2) {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9e4e6;
}

.privacy-select-wrap {
    position: relative;
    display: block;
    width: min(100%, 18rem);
    flex: 0 0 min(100%, 18rem);
}

.privacy-select-wrap select {
    width: 100%;
    background-color: #f1efff;
}

.privacy-select-wrap > .material-symbols-outlined {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    color: #77717a;
    font-size: 1.25rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.privacy-switch-row {
    min-height: 5.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e9e4e6;
}

.privacy-switch-row:last-child {
    border-bottom: 0;
}

.privacy-switch {
    position: relative;
    display: inline-flex;
    width: 3.5rem;
    height: 1.75rem;
    flex: 0 0 3.5rem;
    align-items: center;
    padding: 0.1875rem;
    border: 0;
    border-radius: 9999px;
    background: #d5d9ee;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.privacy-switch > span {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
    transition: transform 160ms ease;
}

.privacy-switch[aria-checked="true"] {
    background: #07966f;
}

.privacy-switch[aria-checked="true"] > span {
    transform: translateX(1.75rem);
}

.privacy-switch:focus-visible {
    outline: 2px solid var(--site-theme-primary);
    outline-offset: 3px;
}

.privacy-setting-list + .font-body-sm {
    color: #77717a;
}

.security-password-form {
    display: grid;
    max-width: 42rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem 1rem;
}

.security-password-field {
    display: grid;
    min-width: 0;
    gap: 0.5rem;
    color: #393239;
    font-size: 0.875rem;
    font-weight: 600;
}

.security-password-field--current {
    grid-column: 1 / -1;
}

.security-password-input {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
}

.security-password-input input {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    outline: none;
    background: #f1efff;
    color: #28242a;
    font: inherit;
}

.security-password-input input:focus {
    border-color: #a91550;
    box-shadow: 0 0 0 2px rgb(169 21 80 / 12%);
}

.security-password-toggle {
    position: absolute;
    right: 0.75rem;
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #6f6875;
    cursor: pointer;
}

.security-password-toggle:hover,
.security-password-toggle:focus-visible {
    background: rgb(255 255 255 / 70%);
}

.security-password-form > button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 2.75rem;
    padding: 0.625rem 1.5rem;
}

.security-detail-row,
.security-session-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.security-detail-row:last-child,
.security-session-row:last-child {
    padding-bottom: 0;
}

.security-detail-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    place-items: center;
    border-radius: 0.875rem;
    background: #fce3ea;
    color: #a91550;
    font-size: 1.5rem;
}

.security-detail-copy {
    min-width: 0;
    flex: 1;
}

.security-session-icon {
    color: #a91550;
    font-size: 1.5rem;
}

.closure-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.closure-choice {
    display: flex;
    min-height: 13rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #e5dfe2;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.closure-choice:hover {
    border-color: #d8a2b8;
}

.closure-choice.is-selected {
    border: 2px solid #a91550;
    padding: calc(1.25rem - 1px);
    background: #fff6f9;
    box-shadow: 0 0 0 3px rgb(169 21 80 / 6%);
}

.closure-choice:focus-within {
    outline: 2px solid #a91550;
    outline-offset: 3px;
}

.closure-choice-icon {
    color: #a91550;
    font-size: 1.75rem;
}

.closure-choice:nth-child(2) .closure-choice-icon {
    color: #ba3d42;
}

.closure-choice-title {
    color: #28242a;
    font-size: 1rem;
    font-weight: 700;
}

.closure-choice-description {
    color: #77717a;
    font-size: 0.875rem;
    line-height: 1.55;
}

.close-account-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.close-account-heading-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    font-size: 1.5rem;
    line-height: 1;
}

.close-account-progress li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #77717a;
    font-size: 0.8125rem;
    font-weight: 600;
}

.close-account-progress li[hidden] {
    display: none;
}

.close-account-progress li > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 1.8rem;
    place-items: center;
    border: 1px solid #ded8dd;
    border-radius: 999px;
    background: #fff;
    color: #77717a;
}

.close-account-progress li[aria-current="step"],
.close-account-progress li[data-complete="true"] {
    color: #a91550;
}

.close-account-progress li[aria-current="step"] > span,
.close-account-progress li[data-complete="true"] > span {
    border-color: #a91550;
    background: #a91550;
    color: #fff;
}

.close-account-choice {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e5dfe2;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.close-account-choice:hover {
    border-color: #d8a2b8;
}

.close-account-choice.is-selected {
    border: 2px solid #a91550;
    padding: calc(0.875rem - 1px) calc(1rem - 1px);
    background: #fff6f9;
    box-shadow: 0 0 0 3px rgb(169 21 80 / 6%);
}

.close-account-choice:focus-within {
    outline: 2px solid #a91550;
    outline-offset: 3px;
}

.close-account-choice > .material-symbols-outlined {
    color: #a91550;
    font-size: 1.25rem;
}

html[data-theme="dark"] .close-account-choice {
    border-color: #454b59;
    background: #20242e;
}

html[data-theme="dark"] .close-account-choice.is-selected {
    border-color: #ff80ab;
    background: #35232d;
}

html[data-theme="dark"] .close-account-choice > .closure-choice-title {
    color: #f0edf2;
}

html[data-theme="dark"] .close-account-progress li {
    color: #b6adb8;
}

html[data-theme="dark"] .close-account-progress li > span {
    border-color: #454b59;
    background: #20242e;
    color: #b6adb8;
}

html[data-theme="dark"] .close-account-progress li[aria-current="step"],
html[data-theme="dark"] .close-account-progress li[data-complete="true"] {
    color: #ff80ab;
}

html[data-theme="dark"] .close-account-progress li[aria-current="step"] > span,
html[data-theme="dark"] .close-account-progress li[data-complete="true"] > span {
    border-color: #ff80ab;
    background: #a91550;
    color: #fff;
}

@media (max-width: 520px) {
    .close-account-progress {
        gap: 0.35rem;
    }

    .close-account-progress li {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.75rem;
    }
}

.closure-duration-row {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.closure-duration-select {
    position: relative;
    display: block;
    width: min(100%, 16rem);
}

.closure-duration-select select {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background-color: #f1efff;
    color: #393239;
    font: inherit;
}

.closure-duration-select > .material-symbols-outlined {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    color: #6f6875;
    pointer-events: none;
    transform: translateY(-50%);
}

@media (max-width: 700px) {
    .security-password-form,
    .closure-choice-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .security-password-field--current,
    .security-password-form > button[type="submit"] {
        grid-column: auto;
    }

    .security-detail-row,
    .security-session-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .security-detail-copy {
        flex-basis: calc(100% - 4rem);
    }

    .security-detail-row > button,
    .security-session-row > button,
    .security-session-row > .chip {
        margin-left: 3.75rem;
    }

    .closure-choice {
        min-height: 0;
    }

    .closure-duration-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .closure-duration-select {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .verification-status-banner {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
    }

    .verification-status-icon {
        width: 3.5rem;
        height: 3.5rem;
        flex-basis: 3.5rem;
        font-size: 1.75rem;
    }

    .verification-status-copy {
        flex-basis: calc(100% - 4.5rem);
    }

    .verification-status-copy h2 {
        font-size: 1.25rem;
    }

    .verification-status-copy p {
        font-size: 0.875rem;
    }

    .verification-status-badge {
        margin-left: 4.5rem;
    }

    .verification-document-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .verification-document-icon {
        width: 3.25rem;
        height: 3.25rem;
        flex-basis: 3.25rem;
        font-size: 1.5rem;
    }

    .verification-document-copy {
        flex-basis: calc(100% - 4rem);
    }

    .verification-document-action {
        margin-left: 4rem;
    }

    .privacy-select-row,
    .privacy-switch-row {
        align-items: flex-start;
        gap: 1rem;
    }

    .privacy-select-row {
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .privacy-select-row:nth-child(2) {
        padding-bottom: 1.25rem;
    }

    .privacy-select-wrap {
        width: 100%;
        flex-basis: auto;
    }

    .privacy-switch-row {
        min-height: 0;
        padding: 1rem 0;
    }

    .privacy-switch {
        margin-top: 0.125rem;
    }
}

.dashboard-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1e9ec;
}

.dashboard-panel-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-panel-text-button {
    border: 0;
    background: transparent;
    color: var(--site-theme-primary);
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

.dashboard-panel-message,
.dashboard-panel-footer {
    margin: 0;
    padding: 1rem 1.25rem;
    color: #655b60;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dashboard-panel-footer {
    padding-top: 0;
    color: #80767b;
    font-size: 0.75rem;
}

.dashboard-notification-items {
    display: grid;
    gap: 0.125rem;
    padding: 0.25rem;
}

.dashboard-notification-item {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #51464b;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-notification-empty {
    margin: 0;
    padding: 1rem 0.75rem;
    color: #80767b;
    font-size: 0.8125rem;
    text-align: center;
}

.dashboard-notification-item:hover,
.dashboard-notification-item:focus-visible,
.dashboard-notification-item.is-unread {
    background: #fdf4f7;
}

.dashboard-notification-icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.dashboard-notification-icon .material-symbols-outlined {
    font-size: 1rem;
}

.dashboard-notification-icon-emerald {
    background: #e7f7f0;
    color: #047857;
}

.dashboard-notification-icon-primary {
    background: #f8e8ef;
    color: var(--site-theme-primary);
}

.dashboard-notification-icon-saffron {
    background: #fff4d7;
    color: #9a6700;
}

.dashboard-notification-icon-secondary {
    background: #f1eafa;
    color: #68419b;
}

.dashboard-notification-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.25rem;
    color: #655b60;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.dashboard-notification-text.is-unread {
    color: #2c2428;
    font-weight: 600;
}

.dashboard-notification-time {
    color: #80767b;
    font-size: 0.75rem;
    font-weight: 400;
}

.dashboard-notification-unread {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 0.5rem;
    margin-top: 0.375rem;
    border-radius: 9999px;
    background: #d81b60;
}

.dashboard-notification-unread[hidden] {
    display: none !important;
}

.dashboard-notifications-all {
    display: block;
    width: calc(100% - 0.5rem);
    margin: 0.25rem;
    padding: 0.75rem;
    border: 0;
    border-top: 1px solid #f1e9ec;
    background: transparent;
    color: var(--site-theme-primary);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.dashboard-notifications-all:hover,
.dashboard-notifications-all:focus-visible {
    background: #f8e8ef;
}

.notification-page-item-unread {
    background: rgb(250 224 234 / 48%);
}

.notification-page-unread-dot {
    width: 0.625rem;
    height: 0.625rem;
    flex: 0 0 0.625rem;
    margin: 0.375rem 0.25rem 0 0;
    border-radius: 50%;
    background: var(--site-theme-primary-container);
}

.notification-page-status {
    margin: -0.75rem 0 1rem;
    color: #77717a;
    font-size: 0.8125rem;
}

.notification-page-status[hidden] {
    display: none !important;
}

.community-directory-card {
    min-width: 0;
    text-decoration: none;
}

.community-directory-card[hidden],
.community-directory-group[hidden],
#community-live-empty.hidden {
    display: none !important;
}

.dashboard-account-panel {
    width: min(18rem, calc(100vw - 2rem));
    max-height: calc(100vh - 7rem);
    padding: 0.5rem;
    overflow-y: auto;
}

.dashboard-account-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #f6f2f4;
    color: #2c2428;
    text-decoration: none;
}

.dashboard-account-identity:hover,
.dashboard-account-identity:focus-visible {
    background: #f8e8ef;
}

.dashboard-account-identity > img {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 9999px;
    object-fit: cover;
}

.dashboard-account-identity > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.125rem;
}

.dashboard-account-identity strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.dashboard-account-identity > span > span {
    color: #80767b;
    font-size: 0.75rem;
}

.dashboard-account-identity .dashboard-account-member-tier {
    color: #805b20;
}

.dashboard-account-section {
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f1e9ec;
}

.dashboard-account-section h3 {
    margin: 0;
    padding: 0.25rem 0.75rem;
    color: #80767b;
    font-size: 0.6875rem;
    font-weight: 600;
}

.dashboard-account-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #51464b;
    font: inherit;
    font-size: 0.8125rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-account-item .material-symbols-outlined {
    color: var(--site-theme-primary);
    font-size: 1.125rem;
}

.dashboard-account-item:hover,
.dashboard-account-item:focus-visible {
    background: #f8e8ef;
    color: var(--site-theme-primary);
}

.dashboard-account-logout {
    display: block;
    width: 100%;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid #eadde2;
    border-radius: 9999px;
    background: #fff;
    color: #51464b;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 640px) {
    .home-page > .home-header .home-login-button {
        display: none !important;
    }
}

.dashboard-account-logout:hover,
.dashboard-account-logout:focus-visible {
    background: #f8e8ef;
    color: var(--site-theme-primary);
}

[hidden] {
    display: none !important;
}

@keyframes site-menu-enter {
    from {
        transform: translateX(12px);
        opacity: 0.8;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (min-width: 1280px) {
    .site-mobile-menu,
    .site-menu-backdrop {
        display: none !important;
    }
}

/* Homepage footer color treatment: warm orange-tinted upper area and saffron copyright bar. */
.saptaphere-footer {
    background-color: #fff1d6 !important;
}

.saptaphere-footer__trust-strip {
    background-color: #f9d7a5 !important;
}

.saptaphere-footer__copyright {
    background-color: #f49918 !important;
}

.saptaphere-footer__copyright,
.saptaphere-footer__copyright p,
.saptaphere-footer__copyright a {
    color: #fff !important;
}

/* Lightweight placeholders keep the premium member area stable while its
   profiles load independently from the rest of the home page. */
.premium-member-skeleton {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 18px rgb(50 24 35 / 8%);
}

.premium-member-skeleton-image {
    aspect-ratio: 4 / 5;
    background: #eee9ec;
}

.premium-member-skeleton-line,
.premium-member-skeleton-button {
    height: 0.8rem;
    border-radius: 9999px;
    background: #eee9ec;
}

.premium-member-skeleton-button {
    height: 2.5rem;
    margin-top: 1.25rem;
    background: #f6e7ed;
}

.premium-member-skeleton-image,
.premium-member-skeleton-line,
.premium-member-skeleton-button {
    animation: premium-member-pulse 1.5s ease-in-out infinite;
}

.premium-members-message {
    grid-column: 1 / -1;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    color: #665b60;
    text-align: center;
}

.premium-members-message button {
    margin-left: 0.35rem;
    color: var(--site-theme-primary);
    font-weight: 600;
    text-decoration: underline;
}

@keyframes premium-member-pulse {
    50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-member-skeleton-image,
    .premium-member-skeleton-line,
    .premium-member-skeleton-button {
        animation: none;
    }
}
.story-photo-gallery__main {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 1.5rem;
    background: transparent;
    text-align: left;
}

.story-photo-gallery__main:focus-visible {
    outline: 3px solid #f49918;
    outline-offset: 4px;
}

.story-photo-gallery__main img {
    display: block;
}

.story-photo-gallery__thumbnails {
    justify-content: flex-start;
    margin-top: 0.75rem;
}

.site-toast-region {
    position: fixed;
    z-index: 11001;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    display: grid;
    width: min(26rem, calc(100vw - 2rem));
    gap: 0.75rem;
    pointer-events: none;
}

.site-toast {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    padding: 1rem 0.875rem;
    border: 1px solid rgb(255 255 255 / 70%);
    border-left: 4px solid var(--site-theme-primary-container);
    border-radius: 1rem;
    background: #fff;
    color: #29212a;
    box-shadow: 0 12px 36px rgb(36 18 28 / 20%);
    font: 500 0.9375rem/1.45 "Plus Jakarta Sans", system-ui, sans-serif;
    pointer-events: auto;
    animation: site-toast-enter 200ms ease-out both;
}

.site-toast::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    content: "";
    opacity: 0.25;
    transform-origin: left;
    animation: site-toast-timer var(--site-toast-duration, 3s) linear both;
}

.site-toast--error {
    border-color: #ffd6d2;
    border-left-color: #c62828;
    background: #fff1f0;
    color: #a51e1e;
}
.site-toast--success {
    border-color: #c6ecd8;
    border-left-color: #07875f;
    background: #edfaf3;
    color: #08734f;
}
.site-toast--info { border-left-color: var(--site-theme-primary-container); color: var(--site-theme-primary); }

.site-toast__icon { font-size: 1.375rem; }

.site-toast__message {
    min-width: 0;
    color: #29212a;
    overflow-wrap: anywhere;
}

.site-toast__close {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #6b6470;
    cursor: pointer;
}

.site-toast__close:hover,
.site-toast__close:focus-visible {
    background: #f4eef1;
    color: #8f1247;
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.site-toast.is-leaving { animation: site-toast-exit 180ms ease-in both; }

@keyframes site-toast-enter {
    from { opacity: 0; transform: translateY(-0.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes site-toast-exit {
    to { opacity: 0; transform: translateY(-0.35rem); }
}

@keyframes site-toast-timer { to { transform: scaleX(0); } }

@media (max-width: 600px) {
    .site-toast-region {
        top: max(0.75rem, env(safe-area-inset-top));
        right: max(0.625rem, env(safe-area-inset-right));
        left: max(0.625rem, env(safe-area-inset-left));
        width: auto;
    }

    .site-toast { gap: 0.625rem; padding: 0.875rem 0.75rem; font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
    .site-toast,
    .site-toast.is-leaving,
    .site-toast::after { animation-duration: 1ms; }
}
.dashboard-match-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding-top: 2px;
}

.activity-profile-actions { margin-top: 0; padding-top: 0; }

.dashboard-match-card { position: relative; }

.dashboard-match-heading-row { padding-right: 42px; }

.dashboard-match-quick-actions {
    position: absolute;
    z-index: 30;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(230, 215, 223, .9);
    border-radius: 9999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 14px rgba(48, 20, 34, .12);
    backdrop-filter: blur(8px);
}

.dashboard-match-quick-action {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: #f4f0ff;
    color: #6244a4;
    font: inherit;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
        box-shadow 180ms ease, transform 180ms ease;
}

.dashboard-match-quick-action[data-match-action="like"],
.dashboard-match-quick-action[data-search-action="like"],
.dashboard-match-quick-action[data-activity-action="like"] { background: #fff0f5; color: #bb3e68; }
.dashboard-match-quick-action[data-match-action="block"],
.dashboard-match-quick-action[data-search-action="block"] { background: #fff4f2; color: #b9473b; }
.dashboard-match-quick-action[data-match-action="share"],
.dashboard-match-quick-action[data-search-action="share"] { background: #edf7ff; color: #2879b6; }
.dashboard-match-quick-action[aria-pressed="true"] { background: #75143a; color: #fff; }
.dashboard-match-quick-action .material-symbols-outlined { font-size: 19px; }
.dashboard-match-quick-action:disabled { cursor: not-allowed; opacity: .58; }

.dashboard-match-quick-action:not(:disabled):hover,
.dashboard-match-quick-action:focus-visible {
    border-color: #c2185b;
    box-shadow: 0 4px 10px rgba(117, 20, 58, .14);
    transform: translateY(-1px);
}

.dashboard-match-quick-action:focus-visible { outline: 3px solid rgba(244, 153, 24, .45); outline-offset: 2px; }

html[data-theme="dark"] .dashboard-match-quick-actions {
    border-color: #493543;
    background: rgba(32, 37, 48, .94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .dashboard-match-quick-action { background: #392c50; color: #d6c4ff; }
html[data-theme="dark"] .dashboard-match-quick-action[data-match-action="like"],
html[data-theme="dark"] .dashboard-match-quick-action[data-search-action="like"],
html[data-theme="dark"] .dashboard-match-quick-action[data-activity-action="like"] { background: #462937; color: #ffb1c8; }
html[data-theme="dark"] .dashboard-match-quick-action[data-match-action="block"],
html[data-theme="dark"] .dashboard-match-quick-action[data-search-action="block"] { background: #462c2b; color: #ffb6aa; }
html[data-theme="dark"] .dashboard-match-quick-action[data-match-action="share"],
html[data-theme="dark"] .dashboard-match-quick-action[data-search-action="share"] { background: #26394a; color: #a9d8ff; }
html[data-theme="dark"] .dashboard-match-quick-action[aria-pressed="true"] { background: #c2185b; color: #fff; }

html[data-theme="dark"] .dashboard-match-quick-action:not(:disabled):hover,
html[data-theme="dark"] .dashboard-match-quick-action:focus-visible { border-color: #f4729b; }

@media (min-width: 768px) {
    .search-card-heading { padding-right: 176px; }
    .dashboard-match-card .dashboard-match-heading-row { padding-right: 176px; }
}

.dashboard-match-overflow {
    position: absolute;
    z-index: 30;
    top: 10px;
    right: 10px;
}

.dashboard-match-action--more {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 4px;
    border-color: #e8dce2;
    background: #fff;
    color: #75143a;
    box-shadow: 0 2px 8px rgba(70, 14, 39, .08);
}

.dashboard-match-action--more:hover,
.dashboard-match-action--more:focus-visible,
.dashboard-match-action--more[aria-expanded="true"] {
    border-color: #c2185b;
    background: #fff4f7;
    color: #9b0044;
}

.dashboard-match-action-menu {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    display: grid;
    width: min(230px, calc(100vw - 40px));
    gap: 4px;
    padding: 7px;
    border: 1px solid #f0dfe5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(50, 17, 34, .18);
}

.dashboard-match-action-menu[hidden] { display: none !important; }

.dashboard-match-action-menu .dashboard-match-action {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    border-color: transparent;
    border-radius: 9px;
    padding: 7px 10px;
    background: transparent;
    color: #342630;
    box-shadow: none;
    text-align: left;
}

.dashboard-match-action-menu .dashboard-match-action:hover:not(:disabled),
.dashboard-match-action-menu .dashboard-match-action:focus-visible {
    border-color: #f3d8df;
    background: #fff4f7;
    color: #8b1743;
}

.dashboard-match-action-menu .dashboard-match-action--block:hover:not(:disabled),
.dashboard-match-action-menu .dashboard-match-action--block:focus-visible {
    border-color: #fecaca;
    background: #fff1f1;
    color: #b91c1c;
}

.dashboard-match-action-menu .dashboard-match-action:disabled {
    color: #8b1743;
    opacity: .72;
}

html[data-theme="dark"] .dashboard-match-action--more {
    border-color: #57404b;
    background: #252a36;
    color: #ff9bbc;
}

html[data-theme="dark"] .dashboard-match-action--more:hover,
html[data-theme="dark"] .dashboard-match-action--more:focus-visible,
html[data-theme="dark"] .dashboard-match-action--more[aria-expanded="true"] {
    border-color: #c2185b;
    background: #392633;
    color: #ffc1d3;
}

html[data-theme="dark"] .dashboard-match-action-menu {
    border-color: #493543;
    background: #202530;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action {
    color: #ebe7ed;
}

html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action:hover:not(:disabled),
html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action:focus-visible {
    border-color: #614454;
    background: #392633;
    color: #ffc1d3;
}

html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action--block:hover:not(:disabled),
html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action--block:focus-visible {
    border-color: #7f3038;
    background: #3a252b;
    color: #fca5a5;
}

html[data-theme="dark"] .dashboard-match-action-menu .dashboard-match-action:disabled {
    color: #ff9bbc;
}

.search-database-filter-list {
    max-height: 15rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.search-database-filter-list label {
    min-height: 2rem;
}

.search-database-filter-list [hidden] {
    display: none !important;
}

.profile-member-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
}

.profile-member-actions > .dashboard-match-action {
    width: 100%;
    min-width: 0;
}

.profile-member-actions > [data-match-action="interest"] {
    grid-column: 1 / -1;
}

.profile-member-actions > .dashboard-match-action--chat {
    grid-column: 1 / -1;
}

.profile-chat-window[hidden] {
    display: none;
}

.profile-chat-window {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 24px;
    display: flex;
    width: min(390px, calc(100vw - 32px));
    height: min(470px, calc(100dvh - 48px));
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(24, 34, 56, 0.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(24, 34, 56, 0.24);
}

.profile-chat-header {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border-bottom: 1px solid #e7eaf2;
    background: #fff;
}

.profile-chat-header > img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #f1f2f8;
    object-fit: cover;
    object-position: top;
}

.profile-chat-person {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.profile-chat-person a {
    overflow: hidden;
    color: #182238;
    font-size: 15px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-chat-person a:hover {
    color: #a5114b;
}

.profile-chat-person span {
    color: #718096;
    font-size: 12px;
}

.profile-chat-person span.is-online {
    color: #079669;
}

.profile-chat-close {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #697386;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.profile-chat-close:hover,
.profile-chat-close:focus-visible {
    background: #f3f4fa;
    color: #a5114b;
}

.profile-chat-loading {
    padding: 7px 12px;
    background: #e8edff;
    color: #3d4962;
    font-size: 12px;
    text-align: center;
}

.profile-chat-loading[hidden] {
    display: none;
}

.profile-chat-messages {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 14px;
    background: #f3f5fb;
}

.profile-chat-empty {
    align-self: center;
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff;
    color: #566176;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(24, 34, 56, 0.08);
}

.profile-chat-row {
    display: flex;
}

.profile-chat-row.is-mine {
    justify-content: flex-end;
}

.profile-chat-bubble {
    max-width: 84%;
    overflow-wrap: anywhere;
    padding: 9px 12px;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
    color: #182238;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 2px 7px rgba(24, 34, 56, 0.08);
    white-space: pre-wrap;
}

.profile-chat-row.is-mine .profile-chat-bubble {
    border-radius: 14px 14px 4px 14px;
    background: linear-gradient(135deg, var(--site-theme-primary-container), var(--site-theme-primary-dark));
    color: #fff;
}

.profile-chat-time {
    display: block;
    margin-top: 4px;
    color: #8791a3;
    font-size: 10px;
    text-align: right;
}

.profile-chat-row.is-mine .profile-chat-time {
    color: rgba(255, 255, 255, 0.75);
}

.profile-chat-error {
    margin: 0;
    padding: 7px 12px;
    background: #fff0f0;
    color: #a52222;
    font-size: 12px;
}

.profile-chat-error[hidden] {
    display: none;
}

.profile-chat-composer {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #e2e5ec;
    background: #fff;
}

.profile-chat-composer input {
    min-width: 0;
    flex: 1;
    border: 1px solid #dfe3ec;
    border-radius: 999px;
    outline: none;
    padding: 10px 13px;
    color: #182238;
    font: inherit;
    font-size: 14px;
}

.profile-chat-composer input:focus {
    border-color: var(--site-theme-primary-container);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-theme-primary-container) 12%, transparent);
}

.profile-chat-composer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: #2196e6;
    padding: 0 13px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    transition: background-color 160ms ease, transform 160ms ease;
}

.profile-chat-composer button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #117ac3;
}

.profile-chat-composer button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 640px) {
    .profile-chat-window {
        right: 10px;
        bottom: 72px;
        width: calc(100vw - 20px);
        height: min(450px, calc(100dvh - 88px));
        border-radius: 14px;
    }
}

.dashboard-match-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 4px 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
        box-shadow 180ms ease, transform 180ms ease;
}

.dashboard-match-action-icon {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
}

.dashboard-match-profile-id {
    font-size: 14px;
    line-height: 1.25;
}

.dashboard-match-action--outline {
    border-color: #75143a;
    background: #ffffff;
    color: #75143a;
}

.dashboard-match-action--outline:hover,
.dashboard-match-action--outline:focus-visible,
.dashboard-match-action--outline[aria-pressed="true"] {
    background: #f9edf2;
    border-color: #a21d50;
    color: #8b1743;
    box-shadow: 0 5px 14px rgba(117, 20, 58, 0.14);
}

.dashboard-match-action--block {
    border-color: #dc2626;
    background: #fee2e2;
    color: #dc2626;
}

.dashboard-match-action--block:hover,
.dashboard-match-action--block:focus-visible {
    border-color: #b91c1c;
    background: #fecaca;
    color: #b91c1c;
    box-shadow: 0 5px 14px rgba(117, 20, 58, 0.14);
}

.dashboard-match-action--green {
    border-color: #75143a;
    background: #e8f5e9;
    color: #75143a;
}

.dashboard-match-action--green:hover:not([aria-pressed="true"]),
.dashboard-match-action--green:focus-visible:not([aria-pressed="true"]) {
    border-color: #5b9d66;
    background: #d5ecd8;
    color: #75143a;
    box-shadow: 0 5px 14px rgba(46, 125, 50, 0.16);
}

.dashboard-match-action--green[aria-pressed="true"],
.dashboard-match-action--green[aria-pressed="true"]:hover,
.dashboard-match-action--green[aria-pressed="true"]:focus-visible {
    border-color: #75143a;
    background: #ffffff;
    color: #75143a;
    box-shadow: 0 2px 7px rgba(70, 14, 39, 0.07);
}

.dashboard-match-action--gold {
    border-color: #d87800;
    background: linear-gradient(110deg, #f5a000 0%, #a95700 100%);
    color: #ffffff;
    box-shadow: 0 3px 9px rgba(169, 87, 0, 0.16);
}

.dashboard-match-action--gold:hover,
.dashboard-match-action--gold:focus-visible {
    border-color: #984d00;
    background: linear-gradient(110deg, #e99000 0%, #914900 100%);
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(169, 87, 0, 0.23);
}

.dashboard-match-action--interest,
.dashboard-match-action--status {
    border-color: #e9165c;
    background: linear-gradient(110deg, #ed145b 0%, #c61058 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(198, 16, 88, 0.16);
}

.dashboard-match-action--status {
    cursor: default;
}

.dashboard-match-action--interest:hover,
.dashboard-match-action--interest:focus-visible {
    border-color: #b90d4d;
    background: linear-gradient(110deg, #d81051 0%, #b90d4d 100%);
    box-shadow: 0 6px 14px rgba(198, 16, 88, 0.23);
}

.dashboard-match-action--chat {
    border-color: #05966b;
    background: #05966b;
    color: #ffffff;
}

.dashboard-match-action--chat:hover,
.dashboard-match-action--chat:focus-visible {
    border-color: #047a57;
    background: #047a57;
    box-shadow: 0 6px 16px rgba(5, 150, 107, 0.24);
}

.dashboard-match-action:not(:disabled):hover {
    transform: translateY(-2px);
}

.dashboard-match-action:focus-visible {
    outline: 3px solid rgba(244, 153, 24, 0.45);
    outline-offset: 3px;
}

.dashboard-match-action:disabled {
    opacity: 1;
}

.dashboard-match-action--status:disabled {
    opacity: 0.72;
}

.dashboard-match-photo-panel {
    min-height: 210px;
    overflow: hidden;
}

.dashboard-match-photo-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@media (min-width: 768px) {
    .dashboard-match-photo-panel {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .dashboard-match-action {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 4px 8px;
        font-size: 12px;
    }

}
.premium-access-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(22 12 18 / 58%);
    backdrop-filter: blur(5px);
}
.premium-access-dialog {
    position: relative;
    width: min(100%, 28rem);
    padding: 2rem;
    border: 1px solid rgb(212 175 55 / 35%);
    border-radius: 1.25rem;
    background: #fffdfb;
    box-shadow: 0 24px 70px rgb(38 11 23 / 28%);
    text-align: center;
}
.premium-access-close {
    position: absolute;
    top: .65rem;
    right: .8rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #541020;
    font-size: 1.6rem;
}
.premium-access-icon { color: var(--site-theme-primary-container); font-size: 3rem; }
.premium-access-dialog h2 { margin-top: .6rem; color: #4a0e17; font-size: 1.35rem; font-weight: 700; }
.premium-access-dialog p { margin: .65rem 0 1.25rem; color: #64565a; line-height: 1.6; }
.premium-access-cta {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(110deg, var(--site-theme-primary-container), var(--site-theme-primary-dark));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.premium-access-cta:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--site-theme-primary-container) 25%, transparent); transform: translateY(-1px); }

.shortprofile-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(280px, .9fr);
    align-items: start;
    gap: 1.5rem;
}
.shortprofile-contact-card,
.shortprofile-contact-note { border: 1px solid rgb(83 24 46 / 6%); }
.shortprofile-contact-action {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 999px;
    background: #f0efff;
    padding: .65rem 1rem;
    color: #a10a51;
    font-weight: 600;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.shortprofile-contact-action:hover,
.shortprofile-contact-action:focus-visible { transform: translateY(-1px); box-shadow: 0 7px 18px rgb(68 22 42 / 10%); }
.shortprofile-contact-action--whatsapp { background: #079b72; color: #fff; }
.shortprofile-contact-action--whatsapp:hover,
.shortprofile-contact-action--whatsapp:focus-visible { background: #07845f; color: #fff; }
.plan-payment-modal[hidden] { display: none !important; }
.plan-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 1rem;
    background: rgb(22 12 18 / 62%);
    backdrop-filter: blur(4px);
}
.plan-payment-dialog {
    width: min(100%, 38rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 1px solid rgb(83 24 46 / 9%);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 24px 70px rgb(38 11 23 / 28%);
}
.plan-payment-header,
.plan-payment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}
.plan-payment-header { border-bottom: 1px solid rgb(83 24 46 / 9%); }
.plan-payment-header h2 { margin-top: .15rem; color: #4a0e17; font-size: 1.25rem; font-weight: 700; }
.plan-payment-body { padding: 1.25rem; }
.plan-payment-footer { justify-content: flex-end; border-top: 1px solid rgb(83 24 46 / 9%); }
.plan-modal-close {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    background: #f4f1f3;
    color: #541020;
    font-size: 1.5rem;
}
.plan-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem 1rem;
    border-radius: 1rem;
    background: #faf5f6;
    padding: 1rem;
    color: #574850;
}
.plan-summary strong:first-child { color: #4a0e17; }
.plan-summary strong:nth-child(2) { color: #a10a51; font-size: 1.2rem; }
.plan-summary span { grid-column: 1 / -1; font-size: .9rem; }
.plan-price-breakdown { grid-column: 1 / -1; display: grid; width: 100%; gap: .3rem; padding-top: .55rem; border-top: 1px solid rgb(83 24 46 / 10%); }
.plan-price-line { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; color: #574850; font-size: .875rem; }
.plan-price-line span { font-size: inherit; }
.plan-summary .plan-price-line strong { display: block; flex: 0 0 auto; margin-left: auto; color: #4a0e17; font-size: .875rem; text-align: right; }
.plan-summary .plan-price-discount strong { color: #087f5b; }
.plan-price-final { padding-top: .35rem; border-top: 1px solid rgb(83 24 46 / 10%); font-weight: 700; }
.plan-summary .plan-price-final strong { color: #a10a51; font-size: 1rem; }
.plan-modal-addons { margin-top: 1.25rem; }
.plan-modal-addons h3 { margin-bottom: .6rem; color: #4a0e17; font-weight: 700; }
.plan-addon-list { display: grid; gap: .5rem; }
.plan-addon-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid rgb(83 24 46 / 12%);
    border-radius: .8rem;
    padding: .7rem .8rem;
    color: #3f3438;
    cursor: pointer;
}
.plan-addon-option input { accent-color: var(--site-theme-primary-container); }
.plan-addon-option span:nth-of-type(1) { flex: 1; }
.plan-addon-option span:nth-of-type(2) { color: var(--site-theme-primary-dark); font-weight: 700; }
.plan-coupon-row { display: flex; gap: .5rem; margin-top: 1rem; }
.plan-coupon-row input { min-width: 0; flex: 1; border: 1px solid #ded6da; border-radius: .7rem; padding: .65rem .8rem; }
.plan-coupon-row button { border-radius: .7rem; background: #F49918; padding: .6rem 1rem; color: #fff; font-weight: 700; }
.plan-payment-status { min-height: 1.5rem; margin-top: .8rem; color: #b42318; font-size: .9rem; }
.plan-payment-status.is-success { color: #087f5b; }
.plan-payment-status.is-error { color: #b42318; }
body.plan-payment-open { overflow: hidden; }
@media (max-width: 520px) {
    .plan-payment-header,
    .plan-payment-body,
    .plan-payment-footer { padding-right: 1rem; padding-left: 1rem; }
    .plan-payment-footer { flex-wrap: wrap; }
    .plan-payment-footer > button { flex: 1 1 auto; }
}
.shortprofile-login-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(22 12 18 / 58%);
    backdrop-filter: blur(5px);
}
.shortprofile-login-dialog {
    position: relative;
    width: min(100%, 27rem);
    padding: 2rem;
    border: 1px solid color-mix(in srgb, var(--site-theme-primary-container) 13%, transparent);
    border-radius: 1.25rem;
    background: #fffdfb;
    box-shadow: 0 24px 70px rgb(38 11 23 / 28%);
    text-align: center;
}
.shortprofile-login-close {
    position: absolute;
    top: .55rem;
    right: .7rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #541020;
    font-size: 1.6rem;
}
.shortprofile-login-icon { color: var(--site-theme-primary-container); font-size: 2.8rem; }
.shortprofile-login-dialog h2 { margin-top: .55rem; color: #4a0e17; font-size: 1.35rem; font-weight: 700; }
.shortprofile-login-dialog p { margin: .65rem 0 1.25rem; color: #64565a; line-height: 1.6; }
.shortprofile-login-primary,
.shortprofile-login-secondary {
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .7rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
}
.shortprofile-login-primary { background: linear-gradient(110deg, var(--site-theme-primary-container), var(--site-theme-primary-dark)); color: #fff; }
.shortprofile-login-primary:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--site-theme-primary-container) 25%, transparent); transform: translateY(-1px); }
.shortprofile-login-secondary { margin-top: .55rem; background: #f5f3ff; color: var(--site-theme-primary-dark); }
@media (max-width: 480px) {
    .shortprofile-login-dialog { padding: 1.75rem 1.25rem 1.25rem; }
}
@media (max-width: 1023px) {
    .shortprofile-layout { grid-template-columns: minmax(0, 1fr); }
    .shortprofile-contact-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .shortprofile-contact-column { grid-template-columns: minmax(0, 1fr); }
}

.profile-partner-match-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
}

.profile-partner-match-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    font-size: clamp(0.75rem, 3.5vw, 1rem);
    line-height: 1.25;
}

/* Homepage promotional offer card — wedding invitation coupon */
.home-hero-copy-layout.has-home-offer,
.home-hero-copy-content {
    min-width: 0;
}

.home-hero-copy-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-hero .home-offer-card {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100%, 22.5rem);
    flex-direction: column;
    align-items: center;
    margin: 1.29rem auto 1.35rem;
    padding-top: 1.05rem;
    color: #4a1020;
    text-align: center;
    filter: drop-shadow(0 18px 28px rgb(18 4 10 / 42%));
    animation: home-offer-card-sway 4.2s ease-in-out infinite;
    transform-origin: 50% 0;
}

.home-offer-card__hanger {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 1.15rem;
    height: 1.7rem;
    border: 3px solid #c9a227;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    background: transparent;
    transform: translateX(-50%);
    box-shadow: inset 0 0 0 1px rgb(255 236 170 / 55%);
}

.home-offer-card__hanger::after {
    position: absolute;
    top: -.28rem;
    left: 50%;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff4c4, #d4a017 58%, #8a6410);
    box-shadow: 0 0 0 2px #fff8e6, 0 2px 6px rgb(0 0 0 / 28%);
    content: '';
    transform: translateX(-50%);
}

.home-offer-card__paper {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: .28rem;
    overflow: hidden;
    padding: 1.35rem 1.2rem 1.05rem;
    border: 1px solid #e8c56a;
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at 12% 18%, rgb(255 255 255 / 80%) 0 1.1px, transparent 1.4px),
        radial-gradient(circle at 88% 22%, rgb(255 255 255 / 70%) 0 1px, transparent 1.3px),
        linear-gradient(180deg, #fff8ea 0%, #f6e3bf 48%, #f3d7a4 100%);
    background-size: 18px 18px, 16px 16px, auto;
    color: #4a1020;
    box-shadow:
        inset 0 0 0 5px rgb(154 18 60 / 8%),
        inset 0 0 0 6px rgb(201 162 39 / 45%);
}

.home-offer-card__paper::before {
    position: absolute;
    inset: .42rem;
    border: 1px dashed rgb(154 18 60 / 28%);
    border-radius: .8rem;
    content: '';
    pointer-events: none;
}

.home-offer-card__paper::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 18%, rgb(255 255 255 / 0) 32%, rgb(255 255 255 / 55%) 50%, rgb(255 255 255 / 0) 68%, transparent 82%);
    content: '';
    pointer-events: none;
    animation: home-offer-card-shimmer 3.8s ease-in-out infinite;
}

.home-offer-card__kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    margin: 0;
    padding: .18rem .7rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #9b0044, #c2185b);
    color: #fff8e6;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-offer-card__kicker .material-symbols-outlined {
    font-size: .95rem;
    color: #ffe39d;
}

.home-offer-card__ornament {
    position: relative;
    z-index: 1;
    color: #c9a227;
    font-size: 1.85rem;
}

.home-offer-card__deal {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: .2rem;
    margin: .1rem 0 0;
    line-height: .85;
    color: #9b0044;
}

.home-offer-card__deal-value {
    font-size: 3.15rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-shadow: 0 6px 0 rgb(154 18 60 / 8%);
}

.home-offer-card__deal-unit {
    padding-bottom: .45rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-hero .home-offer-card p.home-offer-card__eyebrow {
    position: relative;
    z-index: 1;
    margin: .15rem 0 0;
    color: #7d0737 !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-hero .home-offer-card p.home-offer-card__message {
    position: relative;
    z-index: 1;
    max-width: 18.5rem;
    margin: 0;
    color: #351020 !important;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.4;
    text-wrap: balance;
}

.home-offer-card__coupon {
    position: relative;
    z-index: 1;
    display: grid;
    width: calc(100% - .4rem);
    margin-top: .55rem;
    padding: .55rem .75rem .5rem;
    border: 0;
    border-top: 1.5px dashed rgb(154 18 60 / 38%);
    background:
        radial-gradient(circle at 0 0, transparent 8px, rgb(255 255 255 / 42%) 8.5px) left top / 50% 100% no-repeat,
        radial-gradient(circle at 100% 0, transparent 8px, rgb(255 255 255 / 42%) 8.5px) right top / 50% 100% no-repeat;
    color: inherit;
    cursor: pointer;
    text-align: center;
}

.home-offer-card__coupon-label {
    display: block;
    color: #8a4a18;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-offer-card__coupon-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 1.85rem;
    margin-top: .15rem;
}

.home-offer-card__coupon-code {
    color: #3f0018;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.home-offer-card__copy-icon {
    font-size: 1.05rem;
    color: #9b0044;
}

.home-offer-card__coupon:hover,
.home-offer-card__coupon:focus-visible {
    outline: none;
}

.home-offer-card__coupon:hover .home-offer-card__coupon-code,
.home-offer-card__coupon:focus-visible .home-offer-card__coupon-code {
    color: #c2185b;
}

.home-offer-card__cta {
    position: relative;
    z-index: 1;
    margin-top: .15rem;
    color: #9b0044;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
}

.home-offer-card__cta:hover,
.home-offer-card__cta:focus-visible {
    color: #c2185b;
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .home-hero .home-hero-copy-layout.has-home-offer { display: block !important; }
    .home-hero .home-hero-copy-layout.has-home-offer > .home-hero-copy-content {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .home-hero > .container-page.relative.grid { position: static; }
    .home-hero .home-offer-card {
        position: absolute;
        top: 9.6875rem;
        left: calc(clamp(1rem, 3.5vw, 4.5rem) + 2.19rem);
        width: 16.25rem;
        margin: 0;
        animation: home-offer-card-sway 4.8s ease-in-out infinite;
    }
}

@media (max-width: 1199px) {
    .home-hero > .container-page.relative.grid > .home-offer-card { grid-row: 1; }
    .home-hero > .container-page.relative.grid > .home-hero-copy-layout { grid-row: 2; }
}

@media (max-width: 640px) {
    .home-hero > .container-page.relative.grid > .home-hero-copy-layout { grid-row: 1; }
    .home-hero > .container-page.relative.grid > .home-offer-card { grid-row: 2; }
    .home-hero .home-offer-card { width: min(100%, 20.5rem); margin-bottom: 1rem; }
    .home-offer-card__paper { padding: 1.2rem 1rem .9rem; }
    .home-offer-card__deal-value { font-size: 2.55rem; }
    .home-offer-card__message { font-size: .88rem; }
    .home-hero .home-hero-copy-content > ul { justify-content: center; }
    .home-hero .home-hero-copy-content > ul > li { justify-content: center; text-align: center; }
}

@keyframes home-offer-card-sway {
    0%, 100% { transform: rotate(-1.2deg) translateY(0); }
    50% { transform: rotate(1.4deg) translateY(-7px); }
}

@keyframes home-offer-card-shimmer {
    0% { transform: translateX(-120%); opacity: 0; }
    18% { opacity: .7; }
    42%, 100% { transform: translateX(120%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero .home-offer-card,
    .home-offer-card__paper::after { animation: none; }
}

/* Dark appearance fixes for shared components that use intentionally light styling. */
html[data-theme="dark"] .sp-splash {
    background: #171a22;
}

html[data-theme="dark"] .sp-splash p {
    color: #b6adb8;
}

html[data-theme="dark"] .sp-splash .sp-loader-mark {
    border-color: #3a404e;
    background: #202530;
}

html[data-theme="dark"] .premium-members-control {
    border-color: #454b59;
    background: #202530;
    color: #ff9fbd;
}

html[data-theme="dark"] .card {
    border-color: #3a404e;
    background-color: #202530;
    color: #f0edf2;
}

html[data-theme="dark"] .dashboard-panel-heading {
    border-color: #3a404e;
}

html[data-theme="dark"] .dashboard-panel-message,
html[data-theme="dark"] .dashboard-notification-item {
    color: #ded8e2;
}

html[data-theme="dark"] .dashboard-panel-footer,
html[data-theme="dark"] .dashboard-notification-empty {
    color: #b6adb8;
}

html[data-theme="dark"] .dashboard-notification-item:hover,
html[data-theme="dark"] .dashboard-notification-item:focus-visible,
html[data-theme="dark"] .dashboard-notification-item.is-unread {
    background: #2d3341;
}

html[data-theme="dark"] .dashboard-notification-icon-emerald,
html[data-theme="dark"] .dashboard-notification-icon-primary,
html[data-theme="dark"] .dashboard-notification-icon-saffron,
html[data-theme="dark"] .dashboard-notification-icon-secondary {
    background: #35303b;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled {
    background: #171a22 !important;
    box-shadow: 0 1px 10px rgb(0 0 0 / 38%) !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled > div:last-child {
    background: rgb(23 26 34 / 94%) !important;
    border-color: #3a404e !important;
    color: #f0edf2 !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled nav a,
html[data-theme="dark"] .home-page > .home-header.is-scrolled nav a:hover,
html[data-theme="dark"] .home-page > .home-header.is-scrolled .site-language-trigger:hover {
    color: #ded8e2 !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled nav a[aria-current="page"],
html[data-theme="dark"] .home-page > .home-header.is-scrolled nav a[aria-current="page"]:hover {
    color: #ff9fbd !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled button[aria-label="Open menu"],
html[data-theme="dark"] .home-page > .home-header.is-scrolled button[aria-label="Close menu"] {
    color: #f0edf2 !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled .home-login-button {
    border-color: #75405a !important;
    color: #ffb4cc !important;
}

html[data-theme="dark"] .home-page > .home-header.is-scrolled .home-login-button:hover {
    background: #3b2431 !important;
    color: #ffd0df !important;
}

html[data-theme="dark"] .saptaphere-footer {
    background-color: #202530 !important;
    color: #f0edf2;
}

html[data-theme="dark"] .saptaphere-footer__trust-strip {
    background-color: #2d3341 !important;
    color: #f0edf2 !important;
}
