:root:root {
    --sm-gold: #d4af37;
    --sm-gold-soft: #fbf5df;
    --sm-gold-deep: #9c781b;
    --sm-lavender: #7c6af5;
    --sm-lavender-deep: #5948c1;
    --sm-lavender-soft: #f0edff;
    --sm-plum: #29243b;
    --sm-ink: #29243b;
    --sm-muted: #716d7c;
    --sm-line: rgba(41, 36, 59, .1);
    --sm-card: #fff;
    --sm-background: #f8f6ff;
    --sm-shadow: 0 18px 48px rgba(41, 36, 59, .08);
    --sm-radius: 24px;
}

html {
    scroll-behavior: smooth;
    background: #fff;
}

body.public-view,
body.admin-portal-body {
    color: var(--sm-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.public-view {
    background:
        radial-gradient(ellipse at 92% 6%, rgba(124, 106, 245, .08), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #fbfaff 60%, #fff 100%);
}

body.admin-portal-body,
body.admin-portal-body .admin-app-shell {
    background: #f8f7fb;
}

.public-view .container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.public-view :is(main, section, article, aside, form) {
    min-width: 0;
}

.public-view :is(h1, h2, h3, h4) {
    color: var(--sm-plum);
    letter-spacing: -.035em;
}

.public-view p {
    color: var(--sm-muted);
}

.public-view .navbar {
    position: sticky;
    top: 0;
    z-index: 1200;
    border-bottom: 1px solid rgba(41, 36, 59, .08);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 26px rgba(41, 36, 59, .04);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.public-view .navbar-container {
    width: min(1320px, calc(100% - 48px));
    min-height: 76px;
    height: auto;
    padding-block: 10px;
}

.public-view .navbar-brand,
.public-view .navbar-menu a,
.public-view .public-nav-group > button {
    color: var(--sm-plum);
}

.public-view .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.public-view .brand-text strong {
    color: var(--sm-plum);
    font-size: 15px;
    letter-spacing: -.02em;
}

.public-view .brand-text span {
    color: #827b91;
    font-size: 10px;
    letter-spacing: .12em;
}

.public-view .navbar-menu > a,
.public-view .public-nav-group > button {
    min-height: 42px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.public-view .navbar-menu > a:hover,
.public-view .navbar-menu > a.active,
.public-view .public-nav-group > button:hover {
    color: var(--sm-lavender-deep);
    background: var(--sm-lavender-soft);
}

.public-view .public-nav-group > div {
    border: 1px solid var(--sm-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(41, 36, 59, .14);
}

.public-view .public-global-search input {
    width: 160px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--sm-line);
    border-radius: 999px;
    background: #f8f7fb;
}

.public-view .universal-hero {
    padding: 80px 0 54px;
    background:
        radial-gradient(circle at 82% 12%, rgba(212, 175, 55, .22), transparent 27rem),
        linear-gradient(125deg, #29243b 0%, #453b70 58%, #5948c1 100%);
}

.public-view .universal-hero-inner {
    max-width: 900px;
}

.public-view .universal-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1.02;
}

.public-view .universal-hero p {
    color: rgba(255, 255, 255, .78);
    max-width: 660px;
}

.public-view .eyebrow,
.public-view .mini-tag {
    color: var(--sm-gold-deep);
    letter-spacing: .14em;
}

.public-view :is(.button, .button-primary, .button-secondary, .button-outline, .pay-button, .contact-submit-btn, .experience-btn, .lux-btn, .filter-btn, .mini-cta-btn, .btn-primary-glass, .btn-glass, .awards-btn-primary, .awards-btn-secondary) {
    min-height: 46px;
    border-radius: 999px;
    font-weight: 750;
    letter-spacing: -.01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.public-view :is(.button-primary, .pay-button, .contact-submit-btn, .filter-btn, .mini-cta-btn, .btn-primary-glass, .awards-btn-primary) {
    border: 0;
    background: var(--sm-lavender-deep);
    color: #fff;
}

.public-view :is(.button-secondary, .button-outline, .btn-glass, .awards-btn-secondary) {
    border: 1px solid rgba(41, 36, 59, .16);
    background: #fff;
    color: var(--sm-plum);
}

.public-view :is(.button, .pay-button, .contact-submit-btn, .experience-btn, .lux-btn, .filter-btn, .mini-cta-btn, .btn-primary-glass, .btn-glass):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(41, 36, 59, .14);
}

.public-view :is(input, select, textarea) {
    min-height: 46px;
    border: 1px solid rgba(41, 36, 59, .14);
    border-radius: 14px;
    background: #fff;
    color: var(--sm-ink);
}

.public-view :is(input, select, textarea):focus {
    border-color: var(--sm-lavender);
    box-shadow: 0 0 0 4px rgba(124, 106, 245, .12);
}

.public-view :is(a, button, input, select, textarea):focus-visible,
.admin-portal-body :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(124, 106, 245, .72);
    outline-offset: 3px;
}

.public-view :is(.experience-card, .lux-activity-card, .week-event-card, .panel, .detail-card, .summary-card, .registration-form, .payment-card, .profile-lookup-card, .member-card, .profile-event-row, .calendar-card, .confirm-card, .contact-form-card, .contact-info-card, .offer-card, .value-pill, .mini-testimonial) {
    overflow: hidden;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius);
    background: #fff;
    box-shadow: 0 14px 40px rgba(41, 36, 59, .07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.public-view :is(.experience-card, .lux-activity-card, .week-event-card, .offer-card) {
    transition: transform .28s ease, box-shadow .28s ease;
}

.public-view :is(.experience-card, .lux-activity-card, .week-event-card, .offer-card):hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(41, 36, 59, .12);
}

.public-view :is(.section-v15, .week-slider-section, .testimonials-v15, .gallery-v16, .about-section, .about-values, .mini-cta-v2, .calendar-v19, .upcoming-v18, .contact-v16, .profile-page) {
    padding-block: clamp(56px, 7vw, 96px);
    background: transparent;
}

.public-view .section-heading {
    max-width: 820px;
    margin: 0 auto 34px;
}

.public-view .section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.public-view .section-heading p {
    max-width: 620px;
    margin-inline: auto;
}

.public-view .home-v14 {
    overflow: clip;
    background: transparent;
}

.public-view .hero-v14 {
    min-height: min(780px, calc(100svh - 76px));
    display: grid;
    align-items: center;
    padding-block: 76px;
    isolation: isolate;
}

.public-view .hero-bg {
    transform: none;
    background-position: center 45%;
    animation: sm-hero-settle 1.1s ease-out both;
}

.public-view .hero-overlay {
    background: linear-gradient(90deg, rgba(28, 24, 42, .78), rgba(28, 24, 42, .25) 68%, rgba(28, 24, 42, .18));
}

.public-view .hero-gradient {
    background:
        linear-gradient(0deg, rgba(26, 22, 38, .52), transparent 42%),
        linear-gradient(90deg, rgba(31, 26, 46, .28), transparent 75%);
}

.public-view .hero-grid {
    width: min(1240px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
    gap: clamp(24px, 5vw, 76px);
}

.public-view .hero-copy {
    max-width: 760px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: sm-copy-rise .75s .1s both;
}

.public-view .hero-copy .hero-taga {
    display: inline-flex;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(41, 36, 59, .24);
    color: #f7e6a9 !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .13em;
    text-shadow: none !important;
}

.public-view .hero-copy h1 {
    max-width: 800px;
    margin: 24px 0 20px;
    color: #fff !important;
    font-size: clamp(3.2rem, 5.7vw, 5rem);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: .99;
    text-shadow: 0 2px 22px rgba(20, 17, 29, .25) !important;
}

.public-view .hero-copy > p {
    max-width: 570px;
    color: rgba(255, 255, 255, .88) !important;
    font-size: clamp(1.05rem, 1.5vw, 1.24rem);
    line-height: 1.75;
    text-shadow: none !important;
}

.public-view .hero-actions {
    gap: 12px;
    margin-top: 30px;
}

.public-view .btn-primary-glass {
    padding: 14px 25px;
    background: var(--sm-gold);
    color: var(--sm-plum);
}

.public-view .btn-glass {
    padding: 13px 24px;
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.public-view .hero-floating-gallery {
    height: 440px;
    opacity: .94;
}

.public-view .floating-photo {
    border: 5px solid rgba(255, 255, 255, .92);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(18, 15, 27, .3);
    animation: sm-float 7s ease-in-out infinite;
}

.public-view .floating-photo-1 {
    top: 5%;
    left: 3%;
    width: 54%;
    height: 72%;
}

.public-view .floating-photo-2 {
    top: 1%;
    right: 2%;
    width: 43%;
    height: 47%;
    animation-delay: -1.5s;
}

.public-view .floating-photo-3 {
    bottom: 1%;
    left: 17%;
    width: 52%;
    height: 45%;
    animation-delay: -3s;
}

.public-view .floating-photo-4 {
    right: 0;
    bottom: 2%;
    width: 40%;
    height: 35%;
    animation-delay: -4.5s;
}

.public-view .featured-event-hero {
    min-height: 570px;
}

.public-view .featured-event-hero::after {
    background: linear-gradient(90deg, rgba(34, 29, 48, .82), rgba(34, 29, 48, .26) 72%, rgba(34, 29, 48, .12));
}

.public-view .featured-event-layout {
    padding-block: 74px;
}

.public-view .featured-event-panel {
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(21, 17, 31, .2);
}

.public-view .featured-event-panel strong {
    color: var(--sm-lavender-deep);
}

.public-view .community-stats-band {
    padding-block: 38px;
    background: #f5f2ff;
}

.public-view .community-stats-grid article {
    padding: 20px 16px;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.public-view .community-stats-grid strong {
    color: var(--sm-lavender-deep);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.public-view .community-stats-grid span {
    color: var(--sm-muted);
}

.public-view .week-card-slider,
.public-view .activity-showcase-grid,
.public-view .activities-grid-v18 {
    gap: 24px;
}

.public-view .week-card-slider {
    grid-auto-columns: minmax(290px, 360px);
}

.public-view .week-event-card {
    padding: 0 0 18px;
}

.public-view .week-event-card > img {
    width: 100%;
    height: 235px;
    border-radius: 0;
    object-fit: cover;
}

.public-view .week-event-card > :not(img) {
    margin-inline: 18px;
}

.public-view .activity-showcase-grid,
.public-view .activities-grid-v18 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-view .experience-card,
.public-view .lux-activity-card {
    border-radius: 24px;
    background: #fff;
}

.public-view .experience-media,
.public-view .lux-card-image {
    height: 290px;
}

.public-view .experience-media {
    background-position: center;
}

.public-view .experience-overlay,
.public-view .card-overlay {
    background: linear-gradient(0deg, rgba(28, 24, 42, .52), transparent 62%);
}

.public-view .experience-content,
.public-view .lux-card-content {
    padding: 22px;
}

.public-view .experience-content h3,
.public-view .lux-card-content h3 {
    margin: 10px 0;
    color: var(--sm-plum);
    font-size: 1.35rem;
    line-height: 1.2;
}

.public-view .experience-content p,
.public-view .lux-card-content p {
    min-height: 3.2em;
    line-height: 1.6;
}

.public-view .experience-price,
.public-view .lux-price {
    color: var(--sm-plum);
    font-size: 1.15rem;
    font-weight: 800;
}

.public-view .experience-btn,
.public-view .lux-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    background: var(--sm-lavender-deep);
    color: #fff;
    text-decoration: none;
}

.public-view .experience-category,
.public-view .lux-category {
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    color: var(--sm-plum);
}

.public-view .testimonials-v15 {
    padding-block: 78px;
    background: #f6f3ff;
}

.public-view .testimonial-marquee {
    margin-top: 36px;
}

.public-view .testimonial-track {
    animation-duration: 42s;
}

.public-view .mini-testimonial {
    width: 340px;
    min-height: 220px;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
}

.public-view .mini-testimonial::before {
    display: none;
}

.public-view .mini-testimonial p {
    color: #524d60;
    line-height: 1.65;
}

.public-view .mini-user strong {
    color: var(--sm-plum);
}

.public-view .gallery-v16 {
    padding-block: 84px;
}

.public-view .bento-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 14px;
}

.public-view .bento-item {
    grid-column: span 4;
    grid-row: span 2;
    overflow: hidden;
    border-radius: 22px;
}

.public-view .bento-item-1,
.public-view .bento-item-5 {
    grid-column: span 6;
    grid-row: span 3;
}

.public-view .bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.public-view .bento-item:hover img {
    transform: scale(1.045);
}

.public-view .gallery-content {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    background: rgba(41, 36, 59, .48);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.public-view .mini-cta-card {
    padding: clamp(28px, 5vw, 58px);
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 15%, rgba(212, 175, 55, .22), transparent 24rem),
        linear-gradient(125deg, #29243b, #514487);
    box-shadow: 0 24px 55px rgba(41, 36, 59, .16);
}

.public-view .mini-cta-content h2,
.public-view .mini-cta-tag {
    color: #fff;
}

.public-view .mini-cta-tag {
    color: #f2dfa0;
}

.public-view .mini-cta-btn {
    padding-inline: 24px;
    background: var(--sm-gold);
    color: var(--sm-plum);
}

.public-view .home-awards-premium {
    border-radius: 0;
    background: #28233a;
}

.public-view .upcoming-v18 {
    padding-block: 42px 90px;
    background: transparent;
}

.public-view .upcoming-glow,
.public-view .about-glow,
.public-view .contact-glow,
.public-view .calendar-glow {
    opacity: .5;
    filter: blur(90px);
}

.public-view .filter-wrap {
    margin: 0 auto 38px;
    padding: 18px;
    border: 1px solid var(--sm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(41, 36, 59, .06);
}

.public-view .modern-filter-bar {
    gap: 14px;
}

.public-view .filter-group label {
    color: var(--sm-muted);
    font-size: .75rem;
    font-weight: 750;
}

.public-view .filter-btn {
    padding-inline: 24px;
    background: var(--sm-lavender-deep);
    color: #fff;
}

.public-view .lux-card-image {
    height: 270px;
}

.public-view .lux-card-content {
    padding: 21px;
}

.public-view .lux-meta {
    color: var(--sm-muted);
    font-size: .83rem;
}

.public-view .beta-detail-layout {
    display: grid;
    gap: 22px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.public-view .beta-detail-layout > .detail-poster,
.public-view .beta-detail-layout > .detail-head {
    grid-column: 1;
    grid-row: 1;
}

.public-view .beta-detail-layout > .detail-poster {
    position: relative;
    min-height: clamp(390px, 52vw, 620px);
    margin: 0;
    border-radius: 28px;
}

.public-view .beta-detail-layout > .detail-poster::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(28, 24, 42, .62), transparent 80%), linear-gradient(0deg, rgba(28, 24, 42, .52), transparent 68%);
    content: "";
}

.public-view .beta-detail-layout > .detail-head {
    z-index: 1;
    align-self: end;
    justify-self: start;
    width: min(760px, calc(100% - 32px));
    margin: 16px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    background: rgba(41, 36, 59, .66);
    box-shadow: 0 18px 48px rgba(18, 15, 27, .2);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.public-view .beta-detail-layout .detail-head h1 {
    margin-block: 14px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1;
}

.public-view .beta-detail-layout .detail-head > p,
.public-view .beta-detail-layout .detail-head .countdown,
.public-view .beta-detail-layout .detail-head .booked-pill,
.public-view .beta-detail-layout .detail-head .detail-trust-row {
    color: rgba(255, 255, 255, .86);
}

.public-view .beta-detail-layout .detail-head .badge {
    border-radius: 999px;
    background: var(--sm-gold-soft);
    color: var(--sm-plum);
}

.public-view .beta-detail-layout .detail-head .current-price {
    color: #f2dfa0;
}

.public-view .beta-detail-layout .detail-head .countdown {
    width: min(100%, 440px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.public-view .beta-detail-layout .detail-head .countdown span {
    min-width: 0;
    padding: 8px 4px;
    border-color: rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
    font-size: .72rem;
}

.public-view .beta-detail-layout .detail-head .countdown strong {
    color: #f2dfa0;
    font-size: 1.15rem;
}

.public-view .beta-detail-layout .detail-head .booked-pill {
    border-color: rgba(242, 223, 160, .32);
    background: rgba(242, 223, 160, .12);
    color: #f2dfa0;
}

.public-view .beta-detail-layout .detail-head .detail-trust-row span {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
}

.public-view .beta-detail-layout .detail-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr);
    gap: 22px;
    margin-top: 6px;
}

.public-view .beta-detail-layout .detail-grid > .panel,
.public-view .event-extra-grid > .panel,
.public-view .people-also-joined {
    border: 1px solid var(--sm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(41, 36, 59, .07);
}

.public-view .beta-detail-layout .detail-grid > aside.panel {
    position: sticky;
    top: 100px;
}

.public-view .event-extra-grid {
    gap: 22px;
    margin-top: 22px;
}

.public-view .panel.faq {
    border-color: var(--sm-line);
    border-radius: 22px;
    background: #fff;
}

.public-view .panel.faq details {
    border-color: var(--sm-line);
    border-radius: 14px;
}

.public-view .about-v18 {
    padding-block: 22px 90px;
    background: transparent;
}

.public-view .about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
    gap: 48px;
    margin-top: 10px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid var(--sm-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 0%, rgba(212, 175, 55, .14), transparent 24rem),
        #fff;
    box-shadow: var(--sm-shadow);
}

.public-view .about-story h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
}

.public-view .story-stats {
    align-content: center;
}

.public-view .about-stat {
    padding: 22px 0;
    border-bottom: 1px solid var(--sm-line);
}

.public-view .about-stat strong {
    color: var(--sm-lavender-deep);
    font-size: 1.7rem;
}

.public-view .offer-grid,
.public-view .values-grid {
    gap: 18px;
}

.public-view .offer-card,
.public-view .value-pill {
    padding: 26px;
}

.public-view .offer-icon,
.public-view .contact-icon {
    color: var(--sm-lavender-deep);
}

.public-view .contact-v16 {
    padding-block: 42px 90px;
    background: transparent;
}

.public-view .contact-layout {
    gap: clamp(24px, 5vw, 64px);
}

.public-view .contact-copy h1,
.public-view .contact-copy h2 {
    color: var(--sm-plum);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.04;
}

.public-view .contact-info-card,
.public-view .contact-form-card {
    border: 1px solid var(--sm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(41, 36, 59, .07);
}

.public-view .contact-form-card {
    padding: clamp(22px, 4vw, 40px);
}

.scroll-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 3px;
    background: rgba(124, 106, 245, .08);
}

.scroll-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #7c6af5, #5948c1);
    box-shadow: 0 0 18px rgba(124, 106, 245, .4);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c6af5, #5948c1);
    color: #fff;
    box-shadow: 0 18px 40px rgba(89, 72, 193, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(41, 36, 59, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: var(--sm-plum);
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.header-search-toggle:hover {
    background: rgba(124, 106, 245, .08);
    transform: translateY(-1px);
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    background: rgba(20, 16, 30, .42);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-panel {
    width: min(760px, calc(100% - 28px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 26px 70px rgba(20, 16, 30, .2);
}

.search-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.search-overlay-label {
    color: var(--sm-plum);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.search-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(124, 106, 245, .08);
    color: var(--sm-plum);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.search-overlay-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-overlay-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid rgba(41, 36, 59, .12);
    border-radius: 18px;
    background: #f7f5ff;
}

.search-input-icon {
    display: inline-flex;
    align-items: center;
    color: var(--sm-lavender-deep);
}

.search-overlay-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
}

.search-overlay-form input:focus {
    outline: none;
    box-shadow: none;
}

.search-overlay-form .button {
    min-width: 120px;
}

@media (max-width: 900px) {
    .header-search-toggle {
        display: none;
    }
    .search-overlay-form {
        flex-direction: column;
        align-items: stretch;
    }
    .search-overlay-form .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-bar,
    .back-to-top,
    .header-search-toggle,
    .search-overlay {
        transition: none;
    }
}

.pro-dashboard {
    display: grid;
    gap: 22px;
    padding: 10px 0 20px;
}

.dashboard-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(41, 36, 59, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 42px rgba(41, 36, 59, .06);
}

.dashboard-filter-bar label {
    display: grid;
    gap: 8px;
    color: var(--sm-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-filter-bar input,
.dashboard-filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(41, 36, 59, .1);
    border-radius: 12px;
    background: #fbfaff;
    color: var(--sm-ink);
}

.dashboard-command {
    display: grid;
    gap: 18px;
    padding: 26px 24px;
    border: 1px solid rgba(41, 36, 59, .08);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(124, 106, 245, .12), transparent 18rem),
        linear-gradient(135deg, #fff, #f7f4ff);
    box-shadow: 0 18px 42px rgba(41, 36, 59, .06);
}

.dashboard-command-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-command h2 {
    margin: 0;
    color: var(--sm-plum);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -.05em;
}

.dashboard-command p {
    margin: 8px 0 0;
    color: var(--sm-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.dashboard-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-command-actions a,
.dashboard-command-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(41, 36, 59, .08);
    border-radius: 999px;
    background: #fff;
    color: var(--sm-plum);
    font-weight: 800;
    text-decoration: none;
}

.dashboard-command-actions a.primary,
.dashboard-command-actions button.primary {
    border: 0;
    background: linear-gradient(135deg, var(--sm-lavender), var(--sm-lavender-deep));
    color: #fff;
    box-shadow: 0 14px 28px rgba(89, 72, 193, .24);
}

.dashboard-kpi-grid,
.dashboard-ops-grid,
.dashboard-table-grid,
.admin-ops-content .metric-row,
.admin-ops-content .dashboard-grid,
.admin-ops-content .stats-grid,
.admin-ops-content .overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.dashboard-kpi-grid article,
.dashboard-panel,
.dashboard-metric-wall article,
.dashboard-report-panel,
.event-performance-list a,
.timeline-feed p,
.compact-table p,
.dashboard-filter-bar,
.dashboard-command,
.metric-card,
.stat-card,
.overview-card {
    border: 1px solid rgba(41, 36, 59, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 42px rgba(41, 36, 59, .06);
}

.dashboard-kpi-grid article {
    padding: 18px 18px 16px;
}

.dashboard-kpi-grid article span,
.dashboard-metric-wall article span {
    color: var(--sm-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dashboard-kpi-grid article strong,
.dashboard-metric-wall article strong {
    display: block;
    margin-top: 10px;
    color: var(--sm-plum);
    font-size: clamp(1.4rem, 2.3vw, 2.3rem);
    letter-spacing: -.06em;
}

.dashboard-kpi-grid article small,
.dashboard-metric-wall article small {
    display: block;
    margin-top: 6px;
    color: var(--sm-muted);
    line-height: 1.5;
}

.dashboard-panel {
    padding: 18px 18px 16px;
}

.dashboard-panel-head,
.dashboard-panel-head > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-panel-head {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(41, 36, 59, .06);
}

.dashboard-panel-head h3 {
    margin: 0;
    color: var(--sm-plum);
    font-size: 1.08rem;
    letter-spacing: -.04em;
}

.dashboard-panel-head p {
    margin: 5px 0 0;
    color: var(--sm-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.dashboard-insights {
    display: grid;
    gap: 12px;
}

.dashboard-insights li,
.dashboard-insights p {
    list-style: none;
    margin: 0;
    padding: 12px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 106, 245, .05), rgba(212, 175, 55, .04));
    color: var(--sm-ink);
    line-height: 1.5;
}

.event-performance-list,
.timeline-feed,
.compact-table {
    display: grid;
    gap: 12px;
}

.event-performance-list a {
    display: grid;
    gap: 8px;
    padding: 14px 14px 12px;
    color: var(--sm-ink);
    text-decoration: none;
}

.event-performance-list strong,
.compact-table strong,
.timeline-feed strong {
    color: var(--sm-plum);
}

.event-performance-list span,
.compact-table span,
.timeline-feed small {
    color: var(--sm-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.event-performance-list i {
    display: block;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(124, 106, 245, .08);
}

.event-performance-list b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sm-gold), var(--sm-lavender));
}

.dashboard-table-grid .compact-table p,
.timeline-feed p {
    margin: 0;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(124, 106, 245, .03);
}

.timeline-feed p {
    display: grid;
    gap: 4px;
}

.timeline-feed span {
    color: var(--sm-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-metric-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.dashboard-metric-wall article {
    padding: 18px 16px;
}

.dashboard-report-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    padding: 20px 22px;
    align-items: center;
}

.dashboard-report-panel h3 {
    margin: 0;
    color: var(--sm-plum);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.25;
    letter-spacing: -.04em;
}

.dashboard-report-panel .eyebrow {
    display: inline-block;
    color: var(--sm-gold-deep);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
}

.quick-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.quick-export-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 106, 245, .08), rgba(212, 175, 55, .08));
    color: var(--sm-plum);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .dashboard-report-panel {
        grid-template-columns: 1fr;
    }
}

.admin-portal-body {
    background:
        radial-gradient(circle at top right, rgba(124, 106, 245, 0.12), transparent 18rem),
        linear-gradient(180deg, #f8f5ff 0%, #f4f5fb 100%);
    color: var(--sm-plum);
    font-family: Inter, "Segoe UI", sans-serif;
}

.admin-app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-pro-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px 18px 24px;
    border-right: 1px solid rgba(41, 36, 59, 0.08);
    background: linear-gradient(180deg, #1e1638 0%, #271d47 100%);
    box-shadow: 18px 0 42px rgba(28, 19, 48, 0.08);
    z-index: 30;
}

.admin-pro-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.admin-pro-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-pro-mark img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.admin-pro-brand strong,
.admin-pro-brand small {
    display: block;
    color: #fff;
}

.admin-pro-brand strong {
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.admin-pro-brand small {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-pro-nav {
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.admin-pro-nav a,
.admin-side-section summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-pro-nav a:hover,
.admin-side-section summary:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transform: translateX(2px);
}

.admin-pro-nav a.is-active {
    background: linear-gradient(135deg, rgba(124, 106, 245, 0.28), rgba(212, 175, 55, 0.18));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-pro-nav a svg,
.admin-side-section summary svg,
.admin-side-section a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.admin-side-section {
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.admin-side-section summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-side-section summary::-webkit-details-marker {
    display: none;
}

.admin-side-section[open] {
    padding-bottom: 6px;
}

.admin-side-section a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 8px 0;
    padding: 10px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
}

.admin-side-section a.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-content {
    padding: 30px 28px 42px;
}

.admin-ops-content {
    min-width: 0;
}

.admin-ops-content .panel,
.admin-ops-content .dashboard-panel,
.admin-ops-content .metric-card,
.admin-ops-content .data-table,
.admin-ops-content form,
.admin-ops-content .detail-card,
.admin-ops-content .stat-card,
.admin-ops-content .member-card,
.admin-ops-content .overview-card {
    border: 1px solid rgba(41, 36, 59, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 42px rgba(41, 36, 59, 0.06);
}

.admin-ops-content .metric-row,
.admin-ops-content .dashboard-grid,
.admin-ops-content .stats-grid,
.admin-ops-content .overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.admin-ops-content .metric-card,
.admin-ops-content .stat-card,
.admin-ops-content .overview-card {
    padding: 20px 18px;
}

.admin-ops-content .metric-card strong,
.admin-ops-content .stat-card strong,
.admin-ops-content .overview-card strong {
    display: block;
    color: var(--sm-plum);
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    line-height: 1.15;
}

.admin-ops-content .metric-card span,
.admin-ops-content .stat-card span,
.admin-ops-content .overview-card span,
.admin-ops-content .mini-label,
.admin-ops-content .kpi-label {
    display: block;
    margin-top: 8px;
    color: var(--sm-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-ops-content .panel-header,
.admin-ops-content .dashboard-panel-head,
.admin-ops-content .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-ops-content h1,
.admin-ops-content h2,
.admin-ops-content h3,
.admin-ops-content h4 {
    letter-spacing: -0.04em;
    color: var(--sm-plum);
}

.admin-ops-content table {
    width: 100%;
    border-collapse: collapse;
}

.admin-ops-content th,
.admin-ops-content td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(41, 36, 59, 0.06);
    vertical-align: middle;
}

.admin-ops-content tbody tr:hover {
    background: rgba(124, 106, 245, 0.02);
}

.admin-ops-content .btn,
.admin-ops-content .button,
.admin-ops-content .admin-btn,
.admin-ops-content button[type="submit"],
.admin-ops-content .action-btn {
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c6af5, #5948c1);
    color: #fff;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.admin-ops-content .btn:hover,
.admin-ops-content .button:hover,
.admin-ops-content .admin-btn:hover,
.admin-ops-content button[type="submit"]:hover,
.admin-ops-content .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(89, 72, 193, 0.22);
}

.admin-auth-layout {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f5ff 0%, #f2f4fa 100%);
}

.admin-auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(41, 36, 59, 0.07);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.admin-auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 78px);
    padding: 34px 20px 50px;
}

.admin-auth-card,
.admin-auth-form,
.admin-auth-panel {
    width: min(520px, 100%);
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(41, 36, 59, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 58px rgba(28, 19, 48, 0.08);
}

.admin-auth-card h1,
.admin-auth-card h2,
.admin-auth-panel h1,
.admin-auth-panel h2 {
    color: var(--sm-plum);
    letter-spacing: -0.05em;
}

@media (max-width: 980px) {
    .admin-app-shell {
        grid-template-columns: 1fr;
    }

    .admin-pro-sidebar {
        position: sticky;
        top: 0;
        height: auto;
        padding-bottom: 16px;
    }

    .admin-content {
        padding: 20px 16px 28px;
    }
}


.public-view .gallery-page {
    color: var(--sm-ink);
    background: #fbfaff;
}

.public-view .gallery-hero {
    min-height: 560px;
    background:
        linear-gradient(110deg, #29243b 0%, #3b3650 60%, #514b68 100%);
}

.public-view .gallery-page .hero-floating {
    opacity: .58;
}

.public-view .gallery-page .hero-center {
    z-index: 30;
    width: min(820px, calc(100% - 32px));
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background: rgba(41, 36, 59, .38);
    box-shadow: 0 24px 60px rgba(18, 15, 27, .2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.public-view .gallery-hero .hero-title {
    color: #fff;
    font-size: clamp(3rem, 7vw, 6rem);
}

.public-view .gallery-hero .hero-text {
    max-width: 620px;
    color: rgba(255, 255, 255, .82);
}

.public-view .gallery-section {
    padding: 74px max(24px, calc((100% - 1240px) / 2));
}

.public-view .gallery-grid {
    columns: 3 280px;
    column-gap: 18px;
}

.public-view .gallery-card {
    break-inside: avoid;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--sm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(41, 36, 59, .07);
}

.public-view .gallery-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.public-view .gallery-actions {
    gap: 10px;
}

.public-view .gallery-actions button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--sm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--sm-muted);
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.public-view .gallery-actions input {
    width: min(100%, 240px);
    padding: 10px 16px;
    border-radius: 999px;
}

.public-view .gallery-actions button:hover {
    transform: translateY(-1px);
    border-color: rgba(89, 72, 193, .28);
    color: var(--sm-lavender-deep);
}

.public-view .gallery-actions button.active {
    border-color: var(--sm-lavender-deep);
    background: var(--sm-lavender-deep);
    color: #fff;
}

.public-view .gallery-card[hidden] {
    display: none;
}

.public-view .lightbox {
    z-index: 1400;
    background: rgba(24, 20, 34, .94);
}

.public-view .calendar-v19 {
    padding-block: 34px 84px;
    background: transparent;
}

.public-view .calendar-hero h1 {
    color: var(--sm-plum);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.public-view .calendar-layout-v19 {
    gap: 22px;
}

.public-view .calendar-card,
.public-view .calendar-side > section {
    padding: 22px;
    border: 1px solid var(--sm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(41, 36, 59, .07);
}

.public-view .calendar-grid-v19 {
    gap: 8px;
}

.public-view .calendar-grid-v19 .day {
    border-radius: 13px;
    background: #faf9fd;
}

.public-view .calendar-grid-v19 .day.has-event {
    background: var(--sm-lavender-soft);
}

.public-view .calendar-grid-v19 .day.active {
    background: var(--sm-lavender-deep);
    color: #fff;
}

.public-view .profile-page {
    padding-block: 36px 84px;
    background: transparent;
}

.public-view .profile-lookup-card {
    padding: clamp(22px, 4vw, 38px);
}

.public-view .member-card,
.public-view .profile-stats-grid article,
.public-view .profile-event-row {
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(41, 36, 59, .07);
}

.public-view .site-footer {
    margin-top: 40px;
    padding-top: 58px;
    background: #29243b;
    color: rgba(255, 255, 255, .85);
}

.public-view .site-footer :is(h4, p, a, span) {
    color: inherit;
}

.public-view .site-footer a:hover {
    color: #f2dfa0;
}

.public-view .site-footer-bottom {
    border-color: rgba(255, 255, 255, .12);
}

.admin-portal-body .admin-app-shell {
    grid-template-columns: 264px minmax(0, 1fr);
    min-height: 100vh;
    background: #f8f7fb;
}

.admin-portal-body .admin-pro-sidebar {
    width: auto;
    padding: 20px 14px;
    border-right: 1px solid rgba(41, 36, 59, .08);
    background: #fff;
    box-shadow: 10px 0 34px rgba(41, 36, 59, .035);
}

.admin-portal-body .admin-pro-brand {
    gap: 12px;
    padding: 8px 10px 20px;
    border-bottom-color: var(--sm-line);
}

.admin-portal-body .admin-pro-mark {
    border-radius: 15px;
    background: var(--sm-gold-soft);
}

.admin-portal-body .admin-pro-brand strong,
.admin-portal-body .admin-pro-brand small {
    color: var(--sm-plum);
}

.admin-portal-body .admin-pro-nav {
    gap: 5px;
    padding-top: 16px;
}

.admin-portal-body .admin-side-section {
    gap: 4px;
    margin-top: 8px;
}

.admin-portal-body .admin-side-section summary {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #7a7485;
    font-size: .77rem;
    font-weight: 750;
    letter-spacing: .04em;
}

.admin-portal-body .admin-pro-nav a {
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 12px;
    color: #625c70;
    font-size: .87rem;
    font-weight: 650;
}

.admin-portal-body .admin-pro-nav a:hover,
.admin-portal-body .admin-pro-nav a.is-active {
    border-color: transparent;
    background: var(--sm-lavender-soft);
    color: var(--sm-lavender-deep);
}

.admin-portal-body .admin-pro-main {
    min-width: 0;
    background: transparent;
}

.admin-portal-body .admin-auth-layout {
    background:
        radial-gradient(circle at 8% 12%, rgba(124, 106, 245, .1), transparent 28rem),
        radial-gradient(circle at 92% 84%, rgba(212, 175, 55, .12), transparent 24rem),
        #fbfaff;
}

.admin-portal-body .admin-auth-topbar {
    max-width: 1320px;
}

.admin-portal-body .admin-brand-auth,
.admin-portal-body .admin-auth-return {
    color: var(--sm-plum);
}

.admin-portal-body .admin-brand-auth :is(strong, small) {
    color: var(--sm-plum);
}

.admin-portal-body .admin-auth-return {
    border-color: var(--sm-line);
    background: rgba(255, 255, 255, .86);
}

.admin-portal-body .admin-auth-hero {
    gap: clamp(20px, 3vw, 36px);
}

.admin-portal-body .admin-auth-copy {
    border-color: rgba(255, 255, 255, .18);
    background:
        radial-gradient(circle at 90% 8%, rgba(212, 175, 55, .18), transparent 22rem),
        linear-gradient(140deg, #29243b, #453b70 72%, #514487);
    box-shadow: 0 24px 60px rgba(41, 36, 59, .17);
}

.admin-portal-body .admin-auth-copy .eyebrow {
    color: #f2dfa0;
}

.admin-portal-body .admin-auth-points article {
    border-color: rgba(255, 255, 255, .17);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.admin-portal-body .admin-auth-points article span {
    border-radius: 13px;
    background: rgba(255, 255, 255, .13);
    color: #f2dfa0;
}

.admin-portal-body .admin-auth-card {
    border-color: var(--sm-line);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(41, 36, 59, .1);
}

.admin-portal-body .admin-auth-badge {
    background: var(--sm-lavender-soft);
    color: var(--sm-lavender-deep);
}

.admin-portal-body .admin-auth-card h2 {
    color: var(--sm-plum);
}

.admin-portal-body .admin-auth-card p,
.admin-portal-body .admin-auth-field span {
    color: var(--sm-muted);
}

.admin-portal-body .admin-auth-field input {
    min-height: 48px;
    border-color: var(--sm-line);
    border-radius: 14px;
    background: #fbfaff;
    color: var(--sm-ink);
}

.admin-portal-body .admin-auth-submit {
    min-height: 50px;
    border-radius: 14px;
    background: var(--sm-lavender-deep);
}

.admin-portal-body .admin-auth-footer {
    border-color: var(--sm-line);
}

.admin-portal-body .admin-auth-footer a {
    color: var(--sm-lavender-deep);
}

.admin-portal-body .admin-pro-topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    min-height: 86px;
    padding: 14px clamp(18px, 3vw, 38px);
    border-bottom: 1px solid rgba(41, 36, 59, .08);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.admin-portal-body .admin-topbar-title h1 {
    color: var(--sm-plum);
    font-size: 1.2rem;
    letter-spacing: -.03em;
}

.admin-portal-body .admin-kicker {
    color: var(--sm-muted);
}

.admin-portal-body .admin-pro-search {
    min-height: 44px;
    border-color: var(--sm-line);
    border-radius: 14px;
    background: #f8f7fb;
}

.admin-portal-body .admin-pro-actions a,
.admin-portal-body .admin-mobile-toggle {
    border-color: var(--sm-line);
    border-radius: 13px;
    color: var(--sm-plum);
}

.admin-portal-body .admin-page-shell {
    padding: clamp(18px, 3vw, 36px);
}

.admin-portal-body .admin-content,
.admin-portal-body .admin-ops-content {
    max-width: 1540px;
    margin-inline: auto;
    font-size: .94rem !important;
}

.admin-portal-body :is(.dashboard-panel, .admin-card, .panel, .card, .admin-table-wrap, .dashboard-command, .dashboard-report-panel) {
    border: 1px solid var(--sm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(41, 36, 59, .055);
}

.admin-portal-body .dashboard-kpi-grid {
    gap: 14px;
}

.admin-portal-body .dashboard-kpi-grid > article {
    min-height: 130px;
    padding: 20px;
    border: 1px solid var(--sm-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(41, 36, 59, .055);
}

.admin-portal-body .dashboard-kpi-grid strong {
    color: var(--sm-plum);
}

.admin-portal-body .dashboard-panel {
    padding: 20px;
}

.admin-portal-body .dashboard-panel-head h3 {
    color: var(--sm-plum);
}

.admin-portal-body :is(table, .data-table) {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-portal-body :is(th, .data-table th) {
    background: #f7f5fc;
    color: #655e73;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-portal-body :is(td, th) {
    padding: 12px 14px;
    border-color: rgba(41, 36, 59, .08);
}

.admin-portal-body :is(input, select, textarea) {
    border-color: var(--sm-line);
    border-radius: 12px;
    background: #fff;
}

.admin-portal-body :is(.button-primary, .admin-btn, .btn-primary) {
    border-radius: 12px;
    background: var(--sm-lavender-deep);
    color: #fff;
}

.public-view .toast,
.admin-portal-body .toast {
    border: 1px solid var(--sm-line);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(41, 36, 59, .14);
}

@keyframes sm-copy-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sm-hero-settle {
    from { transform: scale(1.035); }
    to { transform: scale(1); }
}

@keyframes sm-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-9px) rotate(.6deg); }
}

@media (max-width: 1080px) {
    .public-view .navbar-menu { gap: 2px; }
    .public-view .navbar-menu > a,
    .public-view .public-nav-group > button { padding-inline: 9px; font-size: .84rem; }
    .public-view .public-global-search input { width: 130px; }
    .public-view .activity-showcase-grid,
    .public-view .activities-grid-v18 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-portal-body .admin-app-shell { grid-template-columns: 238px minmax(0, 1fr); }
}

@media (max-width: 820px) {
    .public-view .container,
    .public-view .navbar-container,
    .public-view .hero-grid { width: min(100% - 32px, 680px); }
    .public-view .navbar-menu,
    .public-view .public-global-search,
    .public-view .navbar-right > .public-nav-group { display: none; }
    .public-view .hamburger { display: inline-flex; }
    .public-view .hero-v14 { min-height: 720px; padding-block: 60px; }
    .public-view .hero-grid { grid-template-columns: 1fr; }
    .public-view .hero-copy { max-width: 650px; }
    .public-view .hero-copy h1 { font-size: clamp(3.1rem, 9.5vw, 5.2rem); }
    .public-view .hero-floating-gallery { display: none; }
    .public-view .featured-event-layout { grid-template-columns: 1fr; }
    .public-view .featured-event-panel { max-width: 280px; }
    .public-view .about-story { grid-template-columns: 1fr; }
    .public-view .story-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .public-view .about-stat { border-bottom: 0; }
    .admin-portal-body .admin-app-shell { display: block; }
    .admin-portal-body .admin-pro-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        width: min(284px, 86vw);
        transform: translateX(-105%);
        transition: transform .22s ease;
    }
    .admin-portal-body .admin-pro-sidebar.is-open { transform: translateX(0); }
    .admin-portal-body .admin-sidebar-scrim {
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(24, 20, 34, .44);
    }
    .admin-portal-body .admin-pro-sidebar.is-open + .admin-sidebar-scrim { display: block; }
    .admin-portal-body .admin-pro-sidebar :is(.admin-pro-brand span:not(.admin-pro-mark), .admin-pro-nav span, .admin-side-section p, .admin-pro-user div) { display: block; }
    .admin-portal-body .admin-mobile-toggle { display: inline-grid; }
}

@media (max-width: 620px) {
    .public-view .hero-v14 { min-height: 690px; min-height: 78svh; }
    .public-view .hero-copy h1 { font-size: clamp(2.75rem, 12vw, 4.2rem); }
    .public-view .hero-copy > p { font-size: 1rem; }
    .public-view .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
    .public-view .featured-event-hero { min-height: 640px; }
    .public-view .featured-event-layout { padding-block: 52px; }
    .public-view .community-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-view .activity-showcase-grid,
    .public-view .activities-grid-v18 { grid-template-columns: 1fr; }
    .public-view .beta-detail-layout > .detail-poster { min-height: 360px; }
    .public-view .beta-detail-layout > .detail-head { width: calc(100% - 24px); margin: 12px; padding: 22px; }
    .public-view .beta-detail-layout .detail-grid { grid-template-columns: 1fr; }
    .public-view .beta-detail-layout .detail-grid > aside.panel { position: static; }
    .public-view .experience-media,
    .public-view .lux-card-image { height: 250px; }
    .public-view .bento-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
    .public-view .bento-item,
    .public-view .bento-item-1,
    .public-view .bento-item-5 { grid-column: span 1; grid-row: span 2; }
    .public-view .bento-item-1 { grid-column: span 2; }
    .public-view .story-stats { grid-template-columns: 1fr; }
    .public-view .profile-event-row { align-items: flex-start; flex-direction: column; }
    .public-view .gallery-section { padding-inline: 16px; }
    .public-view .gallery-grid { columns: 2 145px; column-gap: 10px; }
    .public-view .gallery-card { margin-bottom: 10px; border-radius: 14px; }
    .public-view .gallery-page .hero-floating { display: none; }
    .admin-portal-body .admin-page-shell { padding: 14px; }
    .admin-portal-body .dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
