:root {
    color-scheme: light;
    --brand-ink: #222120;
    --brand-espresso: #442B1D;
    --brand-bark: #7C5539;
    --brand-clay: #B68961;
    --brand-sand: #CCB396;
    --brand-linen: #E0D0C1;
    --brand-cream: #F9F3EF;
    --brand-sun: #D69A38;
    --app-bg: #F9F3EF;
    --app-surface: #FFFDFC;
    --app-surface-2: #F3E8DF;
    --app-surface-3: #E0D0C1;
    --app-sidebar-bg: #E0D0C1;
    --app-sidebar-hover: rgba(124, 85, 57, 0.12);
    --app-sidebar-active: rgba(124, 85, 57, 0.18);
    --app-border: rgba(68, 43, 29, 0.22);
    --app-text: #222120;
    --app-text-muted: #7C5539;
    --app-link: #7C5539;
    --app-accent: #B68961;
    --app-pill-bg: #442B1D;
    --app-pill-text: #F9F3EF;
    --app-card-shadow: 0 14px 30px rgba(68, 43, 29, 0.12);
    --brand-corner-radius: 0 8px 0 8px;
    --app-font-family: "polymath-text", "polymath", "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --app-display-font-family: "polymath-display", "polymath", var(--app-font-family);
    --app-body-font-weight: 500;
    --app-button-font-weight: 600;
    --app-display-font-weight: 900;
    --app-tiny-font-weight: 900;
    --app-status-open-bg: #14532d;
    --app-status-open-text: #bbf7d0;
    --app-status-awarded-bg: #1e3a8a;
    --app-status-awarded-text: #bfdbfe;
    --app-status-neutral-bg: #374151;
    --app-status-neutral-text: #e5e7eb;
}

html, body {
    font-family: var(--app-font-family);
    background: var(--app-bg) !important;
    color: var(--app-text);
    margin: 0;
    min-height: 100%;
}

body.submit-lock-active {
    overflow: hidden;
}

.submit-lock-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 7, 11, 0.72);
    z-index: 9999;
}

.submit-lock-card {
    min-width: 220px;
    max-width: min(90vw, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--app-border);
    background: var(--app-surface-2);
    box-shadow: var(--app-card-shadow);
}

.submit-lock-spinner {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 3px solid rgba(125, 211, 252, 0.2);
    border-top-color: var(--app-link);
    animation: submit-lock-spin 0.8s linear infinite;
}

.submit-lock-message {
    color: var(--app-text);
    font-weight: 600;
    text-align: center;
}

@keyframes submit-lock-spin {
    to {
        transform: rotate(360deg);
    }
}

a, .btn-link {
    color: var(--app-link);
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.page {
    background: var(--app-bg) !important;
    color: var(--app-text);
    min-height: 100vh;
}

main {
    background: var(--app-bg) !important;
    color: var(--app-text);
}

.sidebar {
    background: var(--app-bg) !important;
}

article,
.content,
.px-4 {
    background: transparent;
    color: var(--app-text);
}

.top-row {
    background: var(--app-bg) !important;
    color: var(--app-text);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeGxsbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.dashboard-card {
    background: var(--app-surface-2);
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--app-card-shadow);
}

.dashboard-card-link {
    display: block;
    color: var(--app-text);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    color: var(--app-text);
}

.dashboard-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.4rem;
}

.dashboard-value {
    font-size: 2rem;
    font-weight: 700;
}

.dashboard-value-sm {
    font-size: 1.2rem;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.dashboard-panel {
    background: var(--app-surface);
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--app-card-shadow);
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dashboard-panel h2 {
    font-size: 1.1rem;
    margin: 0;
}

.dashboard-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-panel li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--app-border);
}

.dashboard-panel li:last-child {
    border-bottom: none;
}

.bid-request-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bid-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.meta-pill {
    background: var(--app-pill-bg);
    color: var(--app-pill-text);
}

.status-pill {
    white-space: nowrap;
}

.status-open {
    background: var(--app-status-open-bg);
    color: var(--app-status-open-text);
}

.status-awarded {
    background: var(--app-status-awarded-bg);
    color: var(--app-status-awarded-text);
}

.status-neutral {
    background: var(--app-status-neutral-bg);
    color: var(--app-status-neutral-text);
}

.bid-request-description {
    margin: 0.35rem 0 0;
    color: var(--app-text-muted);
}

.bid-request-link-row {
    margin: 0;
}

.dashboard-panel p {
    line-height: 1.45;
}

.detail-hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.96));
    border: 1px solid var(--app-border);
    box-shadow: var(--app-card-shadow);
}

.detail-hero-frame--tall {
    aspect-ratio: 16 / 8;
    margin-bottom: 1rem;
}

.detail-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 32%);
    transform: scale(1.01);
}

.detail-hero-focus-top {
    --hero-focus-x: 50%;
    --hero-focus-y: 22%;
}

.detail-hero-focus-upper {
    --hero-focus-x: 50%;
    --hero-focus-y: 28%;
}

.detail-hero-focus-center {
    --hero-focus-x: 50%;
    --hero-focus-y: 50%;
}

.event-detail-shell {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.event-detail-back {
    color: #d8e7ff;
    text-decoration: none;
    font-weight: 700;
}

.event-detail-hero {
    margin-bottom: 0;
}

.event-detail-category-logo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(72px, 12vw, 112px);
    aspect-ratio: 1 / 1;
    padding: 0.8rem;
    border: 0;
    border-radius: 22px;
    background: var(--brand-clay);
    box-shadow: 0 12px 22px rgba(68, 43, 29, 0.16);
}

.event-detail-category-logo-badge img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.event-detail-category-logo-badge:has(img[src*="315-eats"]) {
    background: #4D91B8;
}

.event-detail-category-logo-badge:has(img[src*="315-wild"]) {
    background: #6B7038;
}

.event-detail-category-logo-badge:has(img[src*="315-live"]) {
    background: #E27755;
}

.event-detail-category-logo-badge:has(img[src*="315-arts"]) {
    background: #F2B642;
}

.event-detail-category-logo-badge:has(img[src*="splashlogo"]) {
    background: #020202;
}

.event-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.76) 0%,
        rgba(0, 0, 0, 0.62) 18%,
        rgba(0, 0, 0, 0.36) 34%,
        rgba(0, 0, 0, 0.08) 48%,
        rgba(0, 0, 0, 0) 62%);
    pointer-events: none;
}

.event-detail-hero-copy {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.1rem;
    z-index: 1;
}

.event-detail-hero-copy h1 {
    margin: 0.2rem 0 0.35rem;
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: #fff;
}

.event-detail-hero-copy p {
    margin: 0;
    color: #d0d0d0;
}

.artist-detail-shell {
    margin-bottom: 1.5rem;
}

.artist-detail-hero-copy {
    max-width: min(720px, 92%);
}

.artist-detail-tagline {
    margin-top: 0.2rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #e5eefc;
}

.artist-detail-followers {
    margin-top: 0.55rem !important;
    font-size: 0.88rem;
    color: #d6e6ff !important;
}

.artist-detail-about {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.6;
    color: #d7dce5;
}

.event-detail-badge {
    color: #d6e6ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.event-detail-top-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}

.event-detail-owner-card,
.event-detail-vibes,
.event-detail-link-card,
.event-detail-promoter-card {
    border-radius: 18px;
}

.event-detail-owner-card {
    padding: 1rem 1rem 0.95rem;
    background: #131313;
}

.event-detail-owner-title,
.event-detail-link-card-title {
    color: #fff;
    font-weight: 700;
}

.event-detail-owner-subtitle,
.event-detail-link-card-highlight {
    color: #8ab4ff;
    font-size: 0.84rem;
}

.event-detail-vibes {
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.event-detail-vibe-chip {
    display: inline-flex;
    align-items: center;
    background: #202020;
    color: #fff;
    border-radius: 14px;
    padding: 0.38rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.event-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    padding: 0.9rem 1rem;
    font-weight: 700;
    border: 1px solid #8ab4ff;
    background: #121212;
    color: #e8f0ff;
}

.event-follow-btn.is-following {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.event-follow-btn:disabled {
    opacity: 0.8;
}

.event-detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.event-detail-section h2 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.event-import-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-import-facts div {
    display: grid;
    gap: 0.1rem;
    min-width: 150px;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--app-border);
}

.event-import-facts span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-import-facts strong {
    color: #fff;
    font-size: 0.95rem;
}

.event-detail-link-card,
.event-detail-promoter-card {
    text-decoration: none;
    color: inherit;
    background: #171717;
    border: 1px solid var(--app-border);
    padding: 0.95rem 1rem;
}

.event-detail-link-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.event-detail-link-card--static {
    cursor: default;
}

.event-detail-link-card-media {
    width: 72px;
    height: 72px;
    object-fit: cover;
    background: #111;
    border-radius: 12px;
}

.initials-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937, #0f172a);
    color: #e5eefc;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
}

.initials-media-fallback--hero {
    font-size: clamp(2rem, 6vw, 4rem);
}

.initials-media-fallback--card,
.initials-media-fallback--list,
.initials-media-fallback--detail {
    font-size: 1.25rem;
}

.initials-media-fallback--card {
    font-size: clamp(2.25rem, 3vw, 2.9rem);
}

.initials-media-fallback--list {
    font-size: clamp(1.7rem, 2vw, 2.1rem);
}

.initials-media-fallback--detail {
    font-size: 1.5rem;
}

.event-detail-link-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.event-detail-link-card-copy,
.event-detail-about {
    color: #b8b8b8;
    margin: 0;
}

.event-detail-promoter-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

@media (max-width: 900px) {
    .event-detail-top-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .detail-hero-frame,
    .detail-hero-frame--tall {
        aspect-ratio: 4 / 3;
    }

    .detail-hero-image {
        object-position: var(--hero-focus-x, 50%) var(--hero-focus-y-mobile, 28%);
    }
}

.artist-picker-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.artist-picker-row,
.selected-artist-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface-2);
}

.selected-artist-chip-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.5rem 0 0.75rem;
}

.artist-picker-name {
    font-weight: 700;
}

.lineup-search-result-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.lineup-search-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    color: var(--app-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.artist-picker-meta,
.artist-picker-empty,
.picker-helper-copy {
    color: var(--app-text-muted);
    font-size: 0.95rem;
}

.artist-picker-empty {
    padding: 0.85rem 0;
}

.event-artist-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-artist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface-2);
}

.event-artist-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.event-artist-name {
    font-weight: 700;
}

.event-artist-meta {
    color: var(--app-text-muted);
    font-size: 0.95rem;
}

.event-lineup-subtitle {
    margin: 0.35rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.95rem;
}

.event-lineup-section {
    background: #050505;
    border-color: rgba(255,255,255,0.08);
}

.event-lineup-section .home-card-rail {
    gap: 0.9rem;
}

.event-lineup-mini-card {
    width: 220px;
    flex-basis: 220px;
    background: #000;
    border-color: rgba(255,255,255,0.08);
}

.event-lineup-mini-card .home-mini-card-media {
    height: 180px;
    background: #0b0b0b;
}

.event-lineup-mini-card .home-mini-card-body {
    background: #000;
}

.event-lineup-mini-card .home-mini-card-body h3 {
    color: #fff;
}

.event-lineup-mini-card .home-mini-card-body p {
    color: #a7a7a7;
}

.event-lineup-mini-card:hover {
    border-color: rgba(138,180,255,0.4);
}

.event-lineup-section .auth-inline-btn {
    background: #111;
}

.event-lineup-section .auth-inline-btn:hover {
    background: #171717;
}

.event-lineup-group + .event-lineup-group {
    margin-top: 1.25rem;
}

.event-lineup-group h3 {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 1rem;
}

.event-confirmation-feedback {
    margin-top: 0.75rem;
    color: #8fd19e;
}

.event-confirmation-row {
    margin-top: 0.65rem;
}

.event-confirmation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.event-confirmation-badge-pending {
    background: rgba(255, 196, 90, 0.16);
    color: #ffd98a;
}

.event-confirmation-badge-confirmed {
    background: rgba(89, 211, 154, 0.16);
    color: #8ff0be;
}

.event-confirmation-badge-declined {
    background: rgba(255, 107, 107, 0.16);
    color: #ff9f9f;
}

.event-confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.event-invite-card .home-mini-card-body {
    gap: 0.45rem;
}

.event-invite-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.event-invite-card .lineup-search-type {
    min-width: auto;
}

.event-invite-action {
    align-self: flex-start;
    margin-top: 0.15rem;
}

.auth-inline-btn-danger {
    background: rgba(255,255,255,0.08);
    color: #ffb3b3;
    border: 1px solid rgba(255,255,255,0.12);
}

.auth-inline-btn-danger:hover {
    background: rgba(255,255,255,0.14);
}

@media (max-width: 640px) {
    .event-lineup-mini-card {
        width: 100%;
        flex: 1 1 100%;
    }

    .event-confirmation-actions {
        flex-direction: column;
    }
}

@media (prefers-color-scheme: light) {
    .event-lineup-section,
    .event-lineup-mini-card,
    .event-lineup-mini-card .home-mini-card-body,
    .event-lineup-section .auth-inline-btn {
        background: #000;
    }
}

.dashboard-panel strong a {
    text-decoration: none;
}

.dashboard-panel strong a:hover {
    text-decoration: underline;
}

.notification-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.notification-title a {
    color: var(--app-text);
    text-decoration: none;
}

.notification-title a:hover {
    text-decoration: underline;
}

.notification-read-state {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.brand-sidebar-header {
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.brand-sidebar-container {
    justify-content: center;
}

.brand-sidebar-logo-link {
    display: flex;
    justify-content: center;
    width: 100%;
}

.brand-sidebar-logo {
    display: block;
    width: min(100%, 190px);
    max-height: 120px;
    height: auto;
    object-fit: contain;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 72px;
    background: var(--app-bg);
    border-bottom: none;
    position: relative;
    z-index: 50;
}

.app-topbar-tag {
    color: var(--app-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-layout-root {
    min-height: 100vh;
    background: #050505;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: #0d0d0d;
    border: 1px solid #1f2937;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.auth-card-wide {
    max-width: 760px;
}

.auth-logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-logo-stack img.auth-mark {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #fff;
}

.auth-subtitle {
    margin: 0 0 1.5rem;
    color: #b8b8b8;
    font-size: 0.95rem;
}

.auth-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #fff;
    font-weight: 600;
}

.auth-helper-text {
    margin: 0.45rem 0 0.85rem;
    color: #8b949e;
    font-size: 0.85rem;
}

.auth-input,
.auth-select,
.auth-textarea {
    width: 100%;
    background: #171717;
    border: 1px solid #232323;
    color: #fff;
    border-radius: 18px;
    padding: 0.95rem 1rem;
    margin-bottom: 0.9rem;
}

.auth-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-team-card {
    margin-top: 2rem;
}

.contact-team-message {
    min-height: 180px;
}

.auth-input::placeholder,
.auth-textarea::placeholder {
    color: #7a7a7a;
}

.gallery-file-picker {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.gallery-file-picker-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.gallery-file-picker-button {
    width: fit-content;
    margin: 0;
}

.gallery-file-picker-summary {
    color: #8b949e;
    font-size: 0.85rem;
}

.gallery-file-picker-summary.is-warning {
    color: #ffb86c;
}

.gallery-file-picker-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-file-picker-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.7rem 0.8rem;
    border: 1px solid #2b3340;
    border-radius: 12px;
    background: #171717;
}

.gallery-file-picker-item.is-over-limit {
    border-color: #c94f4f;
    background: rgba(201, 79, 79, 0.12);
}

.gallery-file-picker-details {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.gallery-file-picker-name {
    overflow: hidden;
    color: #fff;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-file-picker-meta {
    color: #8b949e;
    font-size: 0.8rem;
}

.gallery-file-picker-item.is-over-limit .gallery-file-picker-name,
.gallery-file-picker-item.is-over-limit .gallery-file-picker-meta {
    color: #ff9a9a;
}

.gallery-file-picker-remove {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #343f4f;
    border-radius: 999px;
    background: #101010;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
}

.gallery-file-picker-remove:hover {
    border-color: #c94f4f;
    color: #ff9a9a;
}

.auth-primary-btn,
.auth-secondary-btn,
.auth-inline-btn,
.file-input-button::file-selector-button,
input[type="file"]::file-selector-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.12s ease, opacity 0.12s ease, background-color 0.12s ease;
}

.auth-primary-btn {
    width: 100%;
    background: #2c6bff;
    color: #fff;
    border: none;
    min-height: 56px;
    padding: 0.9rem 1rem;
}

.auth-primary-btn:hover,
.auth-secondary-btn:hover,
.auth-inline-btn:hover,
.file-input-button::file-selector-button:hover,
input[type="file"]::file-selector-button:hover {
    opacity: 0.95;
}

.auth-secondary-btn {
    background: #171717;
    color: #fff;
    border: 1px solid #2b3340;
    min-height: 48px;
    padding: 0.8rem 1rem;
}

.auth-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    border: 1px solid #2b3340;
    background: #171717;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.auth-secondary-link:hover {
    color: #fff;
    opacity: 0.95;
}

.auth-footer-link {
    width: 100%;
}

.auth-oauth-stack {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.auth-oauth-btn {
    width: 100%;
    justify-content: center;
    gap: 0.85rem;
    min-height: 56px;
    margin-top: 0;
    border-color: #d0d7de;
    box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04);
}

.auth-oauth-btn-google {
    background: #fff;
    color: #111;
}

.auth-oauth-btn-google:hover {
    color: #111;
    background: #f6f8fa;
}

.auth-oauth-btn-apple {
    background: #fff;
    color: #000;
}

.auth-oauth-btn-apple:hover {
    color: #000;
    background: #f6f8fa;
}

.auth-oauth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
}

.auth-oauth-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.9rem;
    margin: 1.1rem 0 1.35rem;
    color: #8b949e;
    font-size: 0.95rem;
}

.auth-divider span {
    display: block;
    height: 1px;
    background: #30363d;
}

.auth-divider strong {
    font-weight: 600;
    text-transform: lowercase;
}

.auth-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.auth-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #171717;
    border: 1px solid #232323;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    color: #fff;
}

.auth-switch-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.85rem;
    margin: 0.25rem 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #232323;
    border-radius: 18px;
    background: #171717;
    color: #fff;
    cursor: pointer;
}

.auth-switch-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-switch-track {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #2b3340;
    transition: background-color 0.16s ease;
}

.auth-switch-track::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.16s ease;
}

.auth-switch-row input:checked + .auth-switch-track {
    background: #2c6bff;
}

.auth-switch-row input:checked + .auth-switch-track::after {
    transform: translateX(20px);
}

.auth-switch-row input:focus-visible + .auth-switch-track {
    outline: 2px solid #8bb1ff;
    outline-offset: 3px;
}

.auth-switch-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.auth-switch-copy strong {
    font-size: 0.95rem;
}

.auth-switch-copy span {
    color: #8e8e93;
    font-size: 0.85rem;
}

.profile-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-booking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(65, 214, 147, 0.68);
    border-radius: 999px;
    background: #223734;
    color: #b8f5d9;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
}

.profile-booking-badge--compact {
    min-height: 24px;
    padding: 0.22rem 0.5rem;
    font-size: 0.68rem;
}

.auth-muted-note {
    color: #8e8e93;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.venue-location-status {
    margin-bottom: 0.9rem;
}

.venue-map-panel {
    margin-top: 1rem;
}

.venue-map-frame {
    width: 100%;
    min-height: 320px;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #111;
}

.map-discovery-shell {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.map-discovery-toolbar {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: rgba(15, 15, 18, 0.94);
}

.map-discovery-title-row,
.map-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.map-discovery-title-row h1,
.map-results-header h2 {
    margin: 0;
}

.map-discovery-title-row p,
.map-results-header p {
    margin: 0.25rem 0 0;
    color: #b8b8b8;
}

.map-location-btn {
    width: auto;
    white-space: nowrap;
}

.map-mode-toggle {
    display: inline-flex;
    width: fit-content;
    padding: 0.2rem;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #101014;
}

.map-mode-toggle button {
    min-width: 88px;
    border: 0;
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    color: #d7d7dc;
    background: transparent;
    font-weight: 700;
}

.map-mode-toggle button.is-active {
    color: #fff;
    background: rgba(45, 140, 255, 0.32);
}

.map-brand-filter-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(56px, 96px));
    gap: 0.65rem;
    align-items: stretch;
}

.map-brand-filter-btn {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: #121217;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
}

.map-brand-filter-btn img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.map-brand-filter-btn.is-active {
    border-color: rgba(45, 140, 255, 0.85);
    background: rgba(45, 140, 255, 0.18);
    box-shadow: 0 0 0 2px rgba(45, 140, 255, 0.2);
}

.map-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 0.42fr)) auto;
    gap: 0.75rem;
    align-items: end;
}

.map-filter-grid label {
    display: grid;
    gap: 0.35rem;
    color: #d7d7dc;
    font-weight: 700;
}

.map-search-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    min-width: 0;
}

.map-search-input-row .auth-input {
    flex: 1 1 auto;
    min-width: 0;
}

.map-search-input-row .auth-primary-btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    margin-top: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1;
}

.map-filter-grid .auth-input,
.map-filter-grid .auth-select {
    margin-bottom: 0;
}

.map-filter-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: max-content;
}

.map-discovery-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
    min-height: 0;
}

.map-discovery-canvas,
.map-config-missing {
    min-height: 0;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    overflow: hidden;
    background: #0c0c10;
}

.map-discovery-canvas {
    height: 100%;
}

.map-config-missing {
    display: grid;
    place-content: center;
    padding: 2rem;
    text-align: center;
}

.map-results-panel {
    min-height: 0;
    height: 100%;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: rgba(15, 15, 18, 0.94);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

@media (min-width: 961px) {
    .map-discovery-stage {
        height: 900px;
    }
}

.map-results-header {
    padding: 1rem;
    border-bottom: 1px solid var(--app-border);
}

.map-results-list {
    overflow: auto;
    padding: 0.5rem;
}

.map-result-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.map-result-row:hover {
    background: rgba(255, 255, 255, 0.07);
}

.map-result-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--map-result-category-color, var(--brand-bark));
    display: grid;
    place-items: center;
    padding: 0.38rem;
}

.map-result-row img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-result-row strong,
.map-result-row p {
    display: block;
    margin: 0;
}

.map-result-row p,
.map-result-row span,
.map-result-empty {
    color: #b8b8b8;
}

.map-result-empty {
    padding: 1rem;
}

.map-info-card {
    display: grid;
    gap: 0.25rem;
    color: #111;
    min-width: 200px;
    max-width: 260px;
}

.map-info-card strong,
.map-info-card span,
.map-info-card a {
    display: block;
}

.map-info-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
    background: #eee;
    margin-bottom: 0.25rem;
}

.map-info-card-stack {
    max-width: 300px;
    gap: 0.45rem;
}

.map-info-card-stack a {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    color: #111;
    text-decoration: none;
}

.map-info-card-stack a.has-image {
    grid-template-columns: 48px minmax(0, 1fr);
}

.map-info-card-stack a img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: #eee;
}

.map-info-card-stack a span {
    color: #555;
    font-size: 0.82rem;
}

@media (max-width: 960px) {
    .map-discovery-shell {
        grid-template-rows: auto auto;
        padding: 0.75rem;
    }

    .map-filter-grid,
    .map-discovery-stage {
        grid-template-columns: 1fr;
    }

    .map-filter-actions {
        width: 100%;
        justify-content: space-between;
        min-width: 0;
        flex-wrap: wrap;
    }

    .map-brand-filter-row {
        grid-template-columns: repeat(5, minmax(48px, 1fr));
    }

    .map-discovery-canvas,
    .map-config-missing {
        min-height: 55vh;
    }

    .map-results-panel {
        max-height: 42vh;
    }
}

.field-action-row {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.datetime-split-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.datetime-split-input {
    flex: 1 1 0;
    margin-bottom: 0;
}

.field-action-input {
    margin-bottom: 0;
    flex: 1 1 auto;
}

.auth-inline-btn {
    min-width: 92px;
    padding: 0.95rem 1rem;
    background: #2c6bff;
    color: #fff;
}

.image-crop-field {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.image-crop-editor {
    display: grid;
    gap: 0.75rem;
}

.image-crop-frame {
    position: relative;
    overflow: hidden;
    width: min(100%, 34rem);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    touch-action: none;
    cursor: grab;
}

.image-crop-frame:active {
    cursor: grabbing;
}

.image-crop-frame-square {
    aspect-ratio: 1 / 1;
    max-width: 20rem;
}

.image-crop-frame-circle {
    border-radius: 999px;
}

.image-crop-frame-hero {
    aspect-ratio: 16 / 9;
}

.image-crop-preview {
    position: absolute;
    inset: 0 auto auto 0;
    user-select: none;
    -webkit-user-drag: none;
    max-width: none;
}

.image-crop-controls {
    display: grid;
    gap: 0.6rem;
    width: min(100%, 34rem);
}

.image-crop-controls label {
    display: grid;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.image-crop-controls input[type="range"] {
    width: 100%;
}

.image-crop-current-preview {
    width: min(100%, 22rem);
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.image-crop-current-preview-square {
    aspect-ratio: 1 / 1;
    max-width: 12rem;
}

.image-crop-current-preview-circle {
    aspect-ratio: 1 / 1;
    max-width: 12rem;
    border-radius: 999px;
}

.image-crop-current-preview-hero {
    aspect-ratio: 16 / 9;
}

.app-topbar-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: #111;
    border: 1px solid #2b3340;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.app-topbar-user-btn:hover {
    color: #fff;
    opacity: 0.95;
}

.file-input-button,
input[type="file"] {
    width: 100%;
}

.file-input-button::file-selector-button,
input[type="file"]::file-selector-button {
    margin-right: 0.9rem;
    border: none;
    background: #2c6bff;
    color: #fff;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.events-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.browse-page-shell {
    gap: 1.1rem;
    padding-bottom: 1.6rem;
}

.browse-page-shell .home-section-stack {
    gap: 0.55rem;
}

.browse-page-shell .home-section-heading-row {
    gap: 0.7rem;
}

.browse-page-shell .home-brand-title {
    font-size: 1.7rem;
    margin-bottom: 0.15rem;
}

.browse-page-shell .home-location-copy {
    font-size: 0.9rem;
    line-height: 1.25;
}

.browse-page-shell .home-section-heading-row h2 {
    font-size: 1.15rem;
}

.browse-toolbar-panel {
    margin-bottom: 0.3rem;
    padding: 0.7rem 0.85rem;
}

.browse-toolbar-header {
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.browse-toolbar-actions {
    gap: 0.4rem;
}

.browse-toolbar-form {
    margin-top: 0.45rem;
    align-items: flex-end;
    gap: 0.45rem;
}

.browse-filter-field {
    min-width: 160px;
    flex: 1 1 160px;
}

.browse-filter-field--search {
    min-width: 220px;
    flex: 1.4 1 220px;
}

.browse-toolbar-form .auth-label {
    margin-bottom: 0.18rem;
    font-size: 0.74rem;
    line-height: 1.1;
}

.browse-toolbar-form .auth-input,
.browse-toolbar-form .auth-select {
    min-height: 38px;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0;
}

.browse-toolbar-btn {
    width: auto;
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    margin-top: 0;
}

.events-create-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.85rem 1.1rem;
    min-height: auto;
}

.events-page-success {
    margin: 0;
    color: #8fd19e;
}

.events-mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.events-mobile-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.7rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    background: #171717;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 0.75rem 0.75rem 0.7rem;
}

.events-mobile-card-media {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    background: #111;
}

.events-mobile-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.events-mobile-card-body h3 {
    color: #fff;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.2;
}

.events-mobile-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.events-mobile-card-body p {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 0.84rem;
    line-height: 1.2;
}

.events-list-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.events-list-social-links a {
    display: inline-flex;
    align-items: center;
    border-radius: 0 14px 0 14px;
    border: 1px solid var(--brand-bark);
    background: var(--app-sidebar-bg);
    color: var(--brand-bark);
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.view-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: #171717;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 0.18rem;
}

.view-toggle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    color: #b8b8b8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
}

.view-toggle-link.is-active {
    background: #2c6bff;
    color: #fff;
}

.events-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.compact-pager-shell {
    padding: 0.45rem 0.65rem;
    min-width: min(100%, 250px);
}

.compact-pager-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.compact-pager-copy {
    margin: 0;
    font-size: 0.78rem;
}

.compact-pager-btn {
    min-width: 0;
}

.events-list-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: var(--app-card-shadow);
}

.events-list-thumb {
    width: 104px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
}

.events-list-main {
    min-width: 0;
}

.events-list-title-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.events-list-title-row h2 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.2;
}

.events-list-title-row h2 a {
    color: var(--app-text);
    text-decoration: none;
}

.events-list-title-row h2 a:hover {
    text-decoration: underline;
}

.events-list-meta,
.events-list-description {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 0.84rem;
    line-height: 1.2;
}

.events-list-description {
    margin-top: 0.25rem;
}

.events-list-actions {
    white-space: nowrap;
}

.explore-list-row .events-list-title-row {
    margin-bottom: 0.35rem;
}

.explore-list-row .events-list-title-row h2 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
}

.explore-list-row .events-list-meta,
.explore-list-row .events-list-description {
    color: var(--app-text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.explore-list-row .events-list-description {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.explore-list-row .home-nearby-distance {
    color: var(--app-text-muted);
    margin-bottom: 0.35rem;
}

.explore-list-row,
.explore-list-row:hover,
.explore-list-row:focus,
.explore-list-row:active {
    text-decoration: none;
}

@media (max-width: 720px) {
    .events-list-row {
        grid-template-columns: 1fr;
    }

    .events-list-thumb {
        width: 100%;
        height: 180px;
    }

    .events-list-actions {
        white-space: normal;
    }
}

.musician-performance-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0 0.5rem;
}

.musician-performance-photo-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-card-shadow);
    background: #111;
}

.musician-carousel-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.musician-carousel-frame {
    background: #111;
    border: 1px solid var(--app-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--app-card-shadow);
}

.musician-carousel-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    background: #111;
}

.musician-carousel-btn {
    width: auto;
    min-width: 56px;
}

.musician-carousel-dot-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.musician-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: #2b3340;
    cursor: pointer;
    padding: 0;
}

.musician-carousel-dot.is-active {
    background: #2c6bff;
    border-color: #2c6bff;
}

.venue-edit-image-preview {
    display: block;
    margin-top: 0.75rem;
    border-radius: 16px;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-card-shadow);
    background: #111;
}

.venue-edit-logo-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.venue-edit-cover-preview {
    width: 100%;
    max-width: 560px;
    max-height: 240px;
    object-fit: cover;
}

.venue-card-header-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.venue-card-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-card-shadow);
    background: #111;
    flex: 0 0 auto;
}

.home-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

.home-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-brand-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.explore-filter-rail {
    gap: 0.85rem;
}

.explore-brand-card {
    position: relative;
    width: 168px;
    flex: 0 0 168px;
    min-height: 92px;
    overflow: visible;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.15rem;
    background: linear-gradient(180deg, #111 0%, #171717 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.explore-brand-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.explore-brand-card.is-active {
    background: linear-gradient(180deg, #1c1c1c 0%, #242424 100%);
    border-color: #8ab4ff;
    box-shadow: 0 0 0 1px rgba(138, 180, 255, 0.38), 0 12px 24px rgba(0, 0, 0, 0.28);
}

.explore-brand-logo {
    display: block;
    width: 100%;
    max-width: 132px;
    height: 38px;
    object-fit: contain;
}

.explore-all-card {
    color: #fff;
}

.explore-all-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.explore-all-card.is-active .explore-all-label {
    color: #d8e7ff;
}

.explore-brand-card:focus-visible {
    outline: 2px solid #8ab4ff;
    outline-offset: 3px;
}

.explore-brand-tooltip {
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    z-index: 20;
    width: min(320px, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-radius: 16px;
    border: 1px solid rgba(138, 180, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(19, 24, 35, 0.98) 0%, rgba(12, 16, 24, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    color: #e8edf7;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -8px);
    transition: opacity 180ms ease 0s, transform 180ms ease 0s;
}

.explore-brand-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 14px;
    height: 14px;
    background: rgba(12, 16, 24, 0.98);
    border-top: 1px solid rgba(138, 180, 255, 0.28);
    border-left: 1px solid rgba(138, 180, 255, 0.28);
    transform: translateX(-50%) rotate(45deg);
}

.explore-brand-tooltip strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 800;
}

.explore-brand-tooltip span {
    color: #c3cfdf;
    font-size: 0.92rem;
    line-height: 1.45;
}

.explore-brand-card:hover .explore-brand-tooltip,
.explore-brand-card:focus-visible .explore-brand-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.5s;
}

.explore-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
}

.explore-search-shell {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.explore-search-icon {
    color: #8ab4ff;
    font-size: 1rem;
    line-height: 1;
}

.explore-search-input {
    flex: 1 1 auto;
    background: transparent;
    border: 0;
    color: #fff;
    outline: none;
    font-size: 0.96rem;
}

.explore-search-input::placeholder {
    color: #7f8794;
}

.explore-search-clear {
    border: 0;
    background: transparent;
    color: #8ab4ff;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.explore-search-clear:hover {
    color: #d8e7ff;
}

.explore-search-clear:focus-visible {
    outline: 2px solid #8ab4ff;
    outline-offset: 3px;
    border-radius: 6px;
}

.explore-search-submit {
    border: 0;
    border-radius: 999px;
    background: #8ab4ff;
    color: #111;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.55rem 0.8rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.explore-search-submit:hover {
    background: #d8e7ff;
}

.explore-search-submit:focus-visible {
    outline: 2px solid #8ab4ff;
    outline-offset: 3px;
}

.explore-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.explore-view-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #c4cad3;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.explore-view-btn:hover {
    color: #fff;
}

.explore-view-btn.is-active {
    background: #8ab4ff;
    color: #08111f;
}

.explore-view-all-btn {
    background: #050505;
    border-color: #8ab4ff;
    color: #d8e7ff;
}

.explore-view-all-btn:hover,
.explore-view-all-btn:focus-visible {
    background: #0b0f16;
    border-color: #a9c7ff;
    color: #fff;
}

.explore-list-rail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.explore-list-card {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
    align-self: stretch;
    flex-direction: row;
    align-items: stretch;
}

.explore-list-card .home-mini-card-media {
    width: 160px;
    min-width: 160px;
    height: auto;
    min-height: 160px;
}

.explore-list-card .home-mini-card-body {
    min-width: 0;
}

.explore-list-card .home-mini-card-body h3,
.explore-list-card .home-mini-card-body p {
    max-width: 100%;
}

.explore-list-card .event-card-badges {
    margin-top: 0.75rem;
}

@media (max-width: 680px) {
    .explore-brand-card {
        width: calc(50% - 0.45rem);
        flex-basis: calc(50% - 0.45rem);
        min-width: 145px;
    }

    .explore-brand-logo {
        max-width: 118px;
        height: 34px;
    }

    .explore-brand-tooltip {
        left: 0;
        right: auto;
        transform: translate(0, -8px);
    }

    .explore-brand-tooltip::after {
        left: 28px;
        transform: rotate(45deg);
    }

    .explore-brand-card:hover .explore-brand-tooltip,
    .explore-brand-card:focus-visible .explore-brand-tooltip {
        transform: translate(0, 0);
    }

    .explore-toolbar {
        align-items: stretch;
    }

    .explore-view-toggle {
        width: 100%;
        justify-content: stretch;
    }

    .explore-view-btn {
        flex: 1 1 0;
    }

    .explore-list-card {
        flex-direction: column;
    }

    .explore-list-card .home-mini-card-media {
        width: 100%;
        min-width: 0;
        height: 200px;
        min-height: 0;
    }
}

@media (max-width: 420px) {
    .explore-brand-card {
        width: 100%;
        flex-basis: 100%;
    }
}

.home-location-copy {
    color: var(--app-text-muted);
    margin: 0;
}

.home-search-shell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: #1a1a1a;
    border: 1px solid var(--app-border);
    color: #8e8e93;
    text-decoration: none;
}

.home-search-icon {
    font-size: 1.1rem;
}

.home-section-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.home-section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-section-heading-row h2 {
    margin: 0;
    font-size: 1.35rem;
}

.home-empty-state {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-empty-state p {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 0.95rem;
}

.role-setup-panel .dashboard-panel-header {
    margin-bottom: 1rem;
}

.role-setup-panel .dashboard-panel-header p {
    margin: 0.25rem 0 0;
    color: var(--app-text-muted);
}

.role-setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.role-setup-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--app-text);
    text-decoration: none;
}

.role-setup-card:hover {
    border-color: rgba(124, 85, 57, 0.36);
    background: rgba(124, 85, 57, 0.08);
    color: var(--app-text);
}

.role-setup-card strong,
.role-setup-card small {
    display: block;
}

.role-setup-card small {
    margin-top: 0.2rem;
    color: var(--app-text-muted);
}

.special-profile-danger-zone {
    margin-top: 1.25rem;
    border-color: rgba(185, 68, 68, 0.55);
}

.special-profile-danger-zone form {
    margin-top: 0.85rem;
}

.special-profile-delete-block {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--app-border);
}

.special-profile-delete-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 0.75rem;
    max-width: 560px;
}

.special-profile-delete-btn {
    background: #8b1e1e;
    border-color: #8b1e1e;
}

@media (max-width: 640px) {
    .special-profile-delete-grid {
        grid-template-columns: 1fr;
    }
}

.nav-icon {
    width: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.7rem;
    font-style: normal;
    opacity: 0.95;
}

.calendar-toolbar-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-filter-section {
    display: grid;
    gap: 1rem;
    background: var(--app-sidebar-bg);
    padding: 1rem;
    position: sticky;
    top: 3.5rem;
    z-index: 34;
}

.calendar-filter-controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.calendar-mode-switch {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 18px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.calendar-mode-btn,
.calendar-nav-btn {
    border: 1px solid transparent;
    border-radius: 14px;
    background: #171717;
    color: #b8b8b8;
    padding: 0.8rem 1rem;
    font-weight: 700;
}

.calendar-mode-btn.is-active {
    background: #121212;
    color: #e8f0ff;
    border-color: #8ab4ff;
}

.calendar-date-picker-shell {
    display: inline-flex;
    align-items: center;
    background: #171717;
    border: 1px solid var(--app-border);
    border-radius: 16px;
    padding: 0.6rem 0.85rem;
}

.calendar-date-picker {
    background: transparent;
    border: 0;
    color: #fff;
}

.calendar-range-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    color: var(--brand-bark);
}

.calendar-range-copy {
    text-align: center;
}

.calendar-range-copy h2,
.calendar-day-detail-stack h3 {
    margin: 0;
    color: var(--brand-bark);
}

.calendar-range-copy p,
.calendar-day-detail-stack p,
.calendar-day-count,
.calendar-day-detail,
.calendar-day-name {
    margin: 0;
    color: var(--brand-bark);
}

.calendar-section-stack,
.calendar-day-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-week-grid,
.calendar-month-header,
.calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.6rem;
}

.calendar-month-header span {
    text-align: center;
    color: var(--brand-bark);
    font-size: 0.8rem;
    font-weight: 700;
}

.calendar-day-cell {
    min-height: 100px;
    border-radius: 8px;
    border: 1px solid rgba(124, 85, 57, 0.22);
    background: var(--app-sidebar-bg);
    color: var(--brand-bark);
    padding: 0.8rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-start;
}

.calendar-day-cell--week {
    min-height: 112px;
}

.calendar-day-cell.is-selected {
    background: var(--app-sidebar-bg);
    border-color: var(--brand-bark);
    box-shadow: inset 0 0 0 2px rgba(124, 85, 57, 0.16);
}

.calendar-day-cell.is-muted .calendar-day-number {
    color: rgba(124, 85, 57, 0.48);
}

.calendar-day-number {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-bark);
}

.calendar-day-name {
    font-size: 0.75rem;
    color: var(--brand-bark);
    font-weight: 700;
}

.calendar-day-count {
    font-size: 0.7rem;
    text-align: center;
    min-height: 1rem;
}

.calendar-day-detail {
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 900px) {
    .browse-page-shell {
        gap: 0.9rem;
        padding-bottom: 1.2rem;
    }

    .browse-toolbar-panel {
        padding: 0.65rem 0.7rem;
    }

    .browse-filter-field,
    .browse-filter-field--search {
        min-width: 100%;
        flex-basis: 100%;
    }

    .browse-toolbar-btn {
        min-height: 36px;
        padding: 0.5rem 0.72rem;
    }

    .events-mobile-card {
        grid-template-columns: 56px 1fr;
        gap: 0.6rem;
        padding: 0.65rem;
    }

    .events-mobile-card-media {
        width: 56px;
        height: 56px;
    }

    .events-list-row {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.7rem;
    }

    .events-list-thumb {
        width: 88px;
        height: 66px;
    }

    .events-list-actions {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 0.1rem;
    }

    .calendar-week-grid,
    .calendar-month-header,
    .calendar-month-grid {
        gap: 0.4rem;
    }

    .calendar-day-cell {
        min-height: 90px;
        padding: 0.65rem 0.45rem;
    }
}

.home-feature-card,
.home-mini-card,
.home-nearby-card,
.home-vibe-tile {
    text-decoration: none;
}

.home-feature-card {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.home-feature-media-wrap {
    position: relative;
    height: 300px;
}

.home-feature-media,
.home-mini-card-media,
.home-nearby-media,
.home-vibe-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #111;
}

.initials-media-fallback.home-feature-media,
.initials-media-fallback.home-mini-card-media,
.initials-media-fallback.home-nearby-media,
.initials-media-fallback.event-detail-link-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature-overlay,
.home-vibe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.15));
}

.home-feature-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #d8e7ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-feature-body {
    padding: 1rem 1.1rem 1.2rem;
}

.home-feature-body h3,
.home-mini-card-body h3,
.home-nearby-body h3 {
    color: #fff;
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.home-feature-reason,
.home-nearby-distance {
    color: #8ab4ff;
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
}

.home-feature-meta,
.home-mini-card-body p,
.home-nearby-body p {
    color: var(--app-text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.home-card-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.home-mini-card {
    display: flex;
    flex-direction: column;
    width: 200px;
    flex: 0 0 200px;
    overflow: hidden;
    border-radius: 20px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.home-mini-card.explore-brand-card {
    overflow: visible;
}

.home-mini-card-media {
    height: 200px;
}

.home-mini-card-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.explore-list-rail > .home-mini-card.explore-list-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
    align-self: stretch;
}

.explore-list-rail > .home-mini-card.explore-list-card .home-mini-card-media {
    width: 160px;
    min-width: 160px;
    height: auto;
    min-height: 160px;
}

@media (max-width: 680px) {
    .explore-list-rail > .home-mini-card.explore-list-card {
        flex-direction: column;
    }

    .explore-list-rail > .home-mini-card.explore-list-card .home-mini-card-media {
        width: 100%;
        min-width: 0;
        height: 200px;
        min-height: 0;
    }
}

.event-card-badges {
    margin-top: auto;
    padding-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
}

.home-card-follower-count {
    text-align: right;
    font-size: 0.78rem;
    color: #8f8f8f;
}

.home-card-stat {
    text-align: left;
    font-size: 0.78rem;
    color: #8f8f8f;
}

.event-detail-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.event-detail-social-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.home-nearby-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    align-items: stretch;
    overflow: hidden;
    border-radius: 20px;
    background: #171717;
    border: 1px solid var(--app-border);
    width: fit-content;
    max-width: 100%;
}

.home-nearby-media {
    height: 100%;
    min-height: 220px;
}

.home-nearby-body {
    padding: 1rem 1rem 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-vibe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.home-vibe-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 140px;
    background: #171717;
    border: 1px solid var(--app-border);
}

.home-vibe-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 700px) {
    .home-feature-media-wrap {
        height: 220px;
    }

    .home-nearby-card {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .home-nearby-body {
        padding: 0 1rem 1rem;
    }
}

.auth-legal-copy {
    line-height: 1.6;
}

.auth-inline-link-button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--app-accent);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 999;
}

.auth-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.auth-modal-card {
    width: min(720px, 100%);
    max-height: 85vh;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 24px;
    background: var(--app-surface);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.auth-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0;
}

.auth-modal-body {
    max-height: calc(85vh - 88px);
    overflow-y: auto;
    padding: 1.25rem;
}

.auth-legal-content p {
    margin-bottom: 0.9rem;
}

.auth-legal-history {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--app-border);
}

.auth-legal-history ul {
    margin: 0;
    padding-left: 1.1rem;
}

/* Editorial card pass from mobile reference */
.local-event-time {
    white-space: pre-line;
}

.home-card-rail {
    gap: 2rem;
    align-items: flex-start;
}

.explore-preview-rail {
    container-type: inline-size;
    overflow: hidden;
}

.explore-preview-rail > * {
    display: none;
}

.explore-preview-rail > :nth-child(-n+1) {
    display: flex;
}

@container (min-width: 472px) {
    .explore-preview-rail > :nth-child(-n+2) {
        display: flex;
    }
}

@container (min-width: 724px) {
    .explore-preview-rail > :nth-child(-n+3) {
        display: flex;
    }
}

@container (min-width: 976px) {
    .explore-preview-rail > :nth-child(-n+4) {
        display: flex;
    }
}

@container (min-width: 1228px) {
    .explore-preview-rail > :nth-child(-n+5) {
        display: flex;
    }
}

@container (min-width: 1480px) {
    .explore-preview-rail > :nth-child(-n+6) {
        display: flex;
    }
}

.home-mini-card:not(.explore-brand-card),
.home-feature-card,
.home-nearby-card,
.events-list-row {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.home-mini-card:not(.explore-brand-card) {
    width: 220px;
    flex-basis: 220px;
    gap: 1.35rem;
}

.home-mini-card:not(.explore-brand-card):hover,
.events-list-row:hover {
    transform: none;
    box-shadow: none;
}

.home-feature-media-wrap,
.home-mini-card:not(.explore-brand-card) .home-mini-card-media,
.events-list-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    object-fit: cover;
    background: var(--brand-linen);
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-media {
    width: 100%;
    height: auto;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body {
    padding: 0;
    gap: 0.7rem;
}

.home-mini-card:not(.explore-brand-card) .home-nearby-distance,
.events-list-row .home-nearby-distance {
    color: var(--brand-bark);
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin: 0;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body > p:not(.home-nearby-distance),
.events-list-description,
.events-list-meta {
    color: var(--brand-ink);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 500;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body h3,
.events-list-title-row h2 {
    color: var(--brand-ink);
    font-size: 1.2rem;
    line-height: 1.12;
    font-weight: 900;
    margin: 0;
}

.events-list-row {
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 1.35rem;
    padding: 0;
    align-items: start;
}

.events-list-thumb {
    width: 140px;
    height: auto;
}

.events-list-main {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.1rem;
}

.event-card-badges {
    gap: 0.45rem;
}

.event-card-badges > *,
.home-card-stat,
.home-card-follower-count {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    border-radius: 999px;
    background: #F2B642;
    color: #fff;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-category-badge {
    background: var(--event-category-color, var(--brand-bark));
    color: #fff;
}

.event-category-badge--life {
    --event-category-color: #020202;
}

.event-category-badge--live {
    --event-category-color: #E27755;
}

.event-category-badge--eats {
    --event-category-color: #4D91B8;
}

.event-category-badge--wild {
    --event-category-color: #6B7038;
}

.event-category-badge--arts {
    --event-category-color: #F2B642;
}

.event-card-media-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--brand-linen);
}

.event-card-media-wrap--list {
    width: 104px;
    aspect-ratio: 1 / 1;
}

.event-card-media-wrap .home-mini-card-media,
.event-card-media-wrap .events-list-thumb,
.event-card-media-wrap .events-mobile-card-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.verification-badge {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    max-width: calc(100% - 1.1rem);
    min-height: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 0.28rem 0.58rem;
    color: #fff;
    background: rgba(34, 33, 32, 0.82);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.verification-badge--verified {
    background: rgba(26, 111, 88, 0.92);
}

.verification-badge--unverified {
    background: rgba(68, 43, 29, 0.86);
}

.verification-badge--compact {
    width: 1.72rem;
    min-width: 1.72rem;
    height: 1.72rem;
    padding: 0;
}

.verification-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
}

.detail-hero-frame .verification-badge--full {
    right: 1rem;
    bottom: 1rem;
    min-height: 2rem;
    padding: 0.42rem 0.76rem;
    font-size: 0.8rem;
}

.event-image-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 2;
    border-radius: 999px;
    background: var(--event-image-badge-color, var(--brand-bark));
    color: #fff;
    padding: 0.42rem 0.68rem;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-image-badge--live {
    --event-image-badge-color: #E27755;
}

.event-image-badge--life {
    --event-image-badge-color: #020202;
}

.event-image-badge--eats {
    --event-image-badge-color: #4D91B8;
}

.event-image-badge--wild {
    --event-image-badge-color: #6B7038;
}

.event-image-badge--arts {
    --event-image-badge-color: #F2B642;
}

.home-feature-card {
    display: grid;
    gap: 1.25rem;
}

.home-feature-media-wrap {
    height: auto;
}

.home-feature-body {
    padding: 0;
}

.home-feature-body h3,
.home-nearby-body h3 {
    color: var(--brand-ink);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 900;
}

.home-feature-badge {
    top: 1rem;
    left: 1rem;
    border-radius: 999px;
    background: #F2B642;
    color: #fff;
    padding: 0.55rem 0.9rem;
    font-size: 0.74rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 680px) {
    .home-mini-card:not(.explore-brand-card) {
        width: 100%;
        flex-basis: 100%;
    }

    .events-list-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.9rem;
    }

    .event-card-media-wrap--list {
        width: 96px;
    }

    .events-list-thumb {
        width: 96px;
    }
}

/* 315 Life brand foundation pass */
body {
    letter-spacing: 0;
    font-weight: 400;
}

h1,
h2,
h3,
.auth-title,
.home-brand-title,
.map-discovery-title-row h1 {
    color: var(--app-text);
    font-family: var(--app-display-font-family);
    font-weight: 700;
    letter-spacing: 0;
}

.auth-title,
.home-brand-title,
.home-section-heading-row h2,
.map-discovery-title-row h1,
.browse-page-shell .home-section-heading-row h2 {
    text-transform: lowercase;
}

a,
.btn-link {
    color: var(--app-link);
}

.btn-primary,
.auth-primary-btn,
.auth-inline-btn,
.file-input-button::file-selector-button,
input[type="file"]::file-selector-button {
    background: var(--brand-espresso);
    border: 1px solid var(--brand-espresso);
    color: var(--brand-cream);
    box-shadow: 0 10px 22px rgba(68, 43, 29, 0.16);
}

.btn-primary:hover,
.auth-primary-btn:hover,
.auth-inline-btn:hover,
.file-input-button::file-selector-button:hover,
input[type="file"]::file-selector-button:hover {
    background: var(--brand-bark);
    border-color: var(--brand-bark);
    color: var(--brand-cream);
    opacity: 1;
    transform: translateY(-1px);
}

.auth-secondary-btn,
.auth-secondary-link {
    background: var(--brand-cream);
    color: var(--brand-espresso);
    border: 1px solid var(--app-border);
}

.auth-secondary-btn:hover,
.auth-secondary-link:hover {
    background: var(--brand-linen);
    color: var(--brand-ink);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.auth-input:focus,
.auth-select:focus,
.auth-textarea:focus,
.explore-search-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.16rem rgba(182, 137, 97, 0.34);
    border-color: var(--brand-clay);
}

.page,
main {
    background:
        radial-gradient(circle at top right, rgba(204, 179, 150, 0.22), transparent 34rem),
        var(--app-bg) !important;
}

.content {
    color: var(--app-text);
}

.sidebar,
.nav-scrollable {
    background: var(--app-sidebar-bg) !important;
}

.brand-sidebar-header,
.app-topbar {
    background: var(--app-sidebar-bg) !important;
}

.sidebar .top-row.brand-sidebar-header,
.top-row.app-topbar {
    background-color: var(--app-sidebar-bg) !important;
    background-image: none !important;
}

.brand-sidebar-header {
    border-bottom: 0 !important;
}

.brand-sidebar-logo {
    width: min(100%, 170px);
    filter: brightness(0) saturate(100%) invert(33%) sepia(17%) saturate(1073%) hue-rotate(343deg) brightness(92%) contrast(89%);
}

.app-topbar {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.app-topbar-tag {
    color: var(--brand-bark);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-topbar-user-btn {
    background: var(--app-sidebar-bg);
    border: 1px solid var(--brand-bark);
    color: var(--brand-bark);
    text-decoration: none;
    font-weight: 800;
    box-shadow: none;
}

.app-topbar-user-btn:hover {
    background: rgba(124, 85, 57, 0.08);
    color: var(--brand-espresso);
    opacity: 1;
}

.app-topbar-signout-btn {
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: var(--app-sidebar-bg);
    border: 1px solid var(--brand-bark);
    color: var(--brand-bark);
    font-weight: 800;
    white-space: nowrap;
}

.app-topbar-signout-btn:hover {
    background: rgba(124, 85, 57, 0.08);
    color: var(--brand-espresso);
}

.app-topbar-avatar {
    border-color: rgba(124, 85, 57, 0.32);
    background: var(--brand-cream);
}

.dashboard-card,
.dashboard-panel,
.auth-card,
.events-list-row,
.home-feature-card,
.home-mini-card,
.home-nearby-card,
.home-vibe-image-wrap,
.auth-modal-card,
.musician-carousel-frame,
.map-discovery-toolbar,
.map-results-panel {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    box-shadow: var(--app-card-shadow);
}

.auth-card,
.dashboard-card,
.dashboard-panel,
.events-list-row {
    border-radius: 12px;
}

.auth-layout-root {
    background:
        radial-gradient(circle at top left, rgba(182, 137, 97, 0.24), transparent 28rem),
        var(--brand-cream);
}

.auth-shell {
    background: transparent;
}

.auth-logo-stack {
    margin-bottom: 1.2rem;
}

.auth-logo-stack img.auth-mark {
    max-width: 230px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(16%) saturate(1177%) hue-rotate(341deg) brightness(95%) contrast(90%);
}

.auth-secondary-link input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin-right: 0.45rem;
    accent-color: var(--brand-espresso);
}

.auth-divider {
    color: var(--brand-bark);
}

.auth-divider span {
    background: rgba(68, 43, 29, 0.22);
}

.auth-title,
.auth-label,
.dashboard-panel h2,
.events-list-title-row h2 a,
.home-feature-body h3,
.home-mini-card-body h3,
.home-nearby-body h3,
.home-section-heading-row h2,
.map-results-header h2 {
    color: var(--app-text);
}

.auth-subtitle,
.auth-helper-text,
.auth-muted-note,
.dashboard-label,
.events-list-meta,
.events-list-description,
.home-location-copy,
.home-empty-state p,
.home-feature-meta,
.home-mini-card-body p,
.home-nearby-body p,
.map-results-header p,
.map-result-row p,
.map-result-row span,
.map-result-empty {
    color: var(--app-text-muted);
}

.auth-input,
.auth-select,
.auth-textarea,
.explore-search-shell,
.home-search-shell {
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    border-radius: 0 28px 0 28px;
    color: var(--brand-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.auth-input,
.auth-select,
.auth-textarea {
    padding: 1rem 1.2rem;
    font-weight: 800;
}

.auth-input::placeholder,
.auth-textarea::placeholder,
.explore-search-input::placeholder {
    color: var(--brand-bark);
    text-transform: uppercase;
    font-weight: 800;
    opacity: 1;
}

.explore-search-shell,
.home-search-shell {
    border-radius: 0 28px 0 28px;
    padding: 1rem 1.25rem;
}

.explore-search-icon,
.home-search-icon,
.explore-search-clear {
    color: var(--brand-espresso);
}

.explore-search-submit {
    background: var(--brand-espresso);
    color: var(--brand-cream);
}

.explore-search-submit:hover {
    background: var(--brand-bark);
}

.explore-search-input {
    color: var(--brand-ink);
    font-weight: 800;
    text-transform: uppercase;
}

.home-search-shell {
    color: var(--brand-bark);
    font-weight: 800;
    text-transform: uppercase;
}

.map-filter-grid .auth-input,
.map-filter-grid .auth-select,
.browse-toolbar-form .auth-input,
.browse-toolbar-form .auth-select {
    border-radius: 0 22px 0 22px;
    border-width: 2px;
    padding: 0.82rem 0.95rem;
}

.home-feature-card,
.home-mini-card,
.home-nearby-card {
    border-radius: 8px;
    background: var(--app-surface);
}

.home-feature-media,
.home-mini-card-media,
.home-nearby-media,
.home-vibe-image {
    background: var(--brand-linen);
    object-fit: cover;
}

.home-feature-overlay,
.home-vibe-overlay {
    background: linear-gradient(to top, rgba(34, 33, 32, 0.7), rgba(34, 33, 32, 0.1));
}

.home-feature-badge,
.home-feature-reason,
.home-nearby-distance {
    color: var(--brand-espresso);
    font-weight: 900;
}

.event-card-badges span,
.profile-booking-badge,
.home-feature-badge,
.explore-all-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.explore-brand-card,
.map-brand-filter-btn {
    background: var(--brand-clay);
    border: 0;
    border-radius: 22px;
    box-shadow: none;
}

.explore-brand-card {
    aspect-ratio: 1 / 1;
}

.map-brand-filter-btn {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
}

.explore-brand-card:hover,
.map-brand-filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(68, 43, 29, 0.16);
}

.explore-brand-card.is-active,
.map-brand-filter-btn.is-active {
    box-shadow: 0 0 0 4px rgba(68, 43, 29, 0.28), 0 12px 22px rgba(68, 43, 29, 0.16);
}

.explore-all-card,
.map-all-filter-btn {
    background: var(--app-sidebar-bg);
    border: 1px solid var(--brand-bark);
    color: var(--brand-bark);
}

.explore-all-card:hover,
.map-all-filter-btn:hover {
    background: rgba(124, 85, 57, 0.08);
    border-color: var(--brand-bark);
    color: var(--brand-espresso);
}

.explore-all-card.is-active,
.map-all-filter-btn.is-active {
    background: var(--app-sidebar-bg);
    border: 1px solid var(--brand-bark);
    color: var(--brand-bark);
    box-shadow: none;
}

.map-all-filter-btn {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.explore-all-card.is-active .explore-all-label {
    color: var(--brand-bark);
}

.explore-brand-card:has(img[src*="315-eats"]),
.map-brand-filter-btn:has(img[src*="315-eats"]) {
    background: #4D91B8;
}

.explore-brand-card:has(img[src*="315-wild"]),
.map-brand-filter-btn:has(img[src*="315-wild"]) {
    background: #6B7038;
}

.explore-brand-card:has(img[src*="315-live"]),
.map-brand-filter-btn:has(img[src*="315-live"]) {
    background: #E27755;
}

.explore-brand-card:has(img[src*="315-arts"]),
.map-brand-filter-btn:has(img[src*="315-arts"]) {
    background: #F2B642;
}

.explore-brand-card img,
.map-brand-filter-btn img {
    filter: none;
}

.explore-brand-tooltip {
    background: var(--brand-ink);
    border-color: rgba(249, 243, 239, 0.18);
    color: var(--brand-cream);
}

.explore-brand-tooltip::after {
    background: var(--brand-ink);
    border-color: rgba(249, 243, 239, 0.18);
}

.explore-brand-tooltip strong {
    color: var(--brand-cream);
}

.explore-brand-tooltip span {
    color: var(--brand-linen);
}

.explore-view-toggle,
.calendar-mode-switch {
    background: var(--brand-linen);
    border-color: var(--app-border);
    border-radius: 8px;
}

.explore-view-btn,
.calendar-mode-btn,
.calendar-nav-btn {
    color: var(--brand-espresso);
    border-radius: 6px;
}

.calendar-date-picker-shell {
    background: var(--brand-cream);
    border-color: var(--brand-bark);
}

.calendar-date-picker {
    color: var(--brand-bark);
}

.calendar-mode-btn,
.calendar-nav-btn {
    background: var(--brand-cream);
    border-color: var(--brand-bark);
    color: var(--brand-bark);
}

.calendar-mode-btn:hover,
.calendar-nav-btn:hover {
    background: rgba(124, 85, 57, 0.08);
    color: var(--brand-espresso);
}

.explore-view-btn.is-active,
.calendar-mode-btn.is-active,
.musician-carousel-dot.is-active {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    color: var(--brand-cream);
}

.explore-view-all-btn {
    background: var(--brand-cream);
    border-color: var(--brand-espresso);
    color: var(--brand-espresso);
}

.map-discovery-shell {
    background: transparent;
}

.map-discovery-toolbar,
.map-results-panel {
    background: rgba(255, 253, 252, 0.96);
    border-radius: 8px;
}

.map-discovery-title-row p {
    color: var(--brand-bark);
}

.map-mode-toggle {
    background: var(--brand-linen);
    border-color: var(--app-border);
    border-radius: 8px;
}

.map-mode-toggle button {
    color: var(--brand-espresso);
    border-radius: 6px;
}

.map-mode-toggle button.is-active {
    background: var(--brand-espresso);
    color: var(--brand-cream);
}

.map-discovery-canvas,
.map-config-missing,
.venue-map-frame {
    border-color: var(--app-border);
    border-radius: 8px;
    background: var(--brand-linen);
}

.map-result-row {
    color: var(--app-text);
    border-radius: 8px;
}

.map-result-row:hover {
    background: rgba(204, 179, 150, 0.22);
}

.map-info-card {
    color: var(--brand-ink);
    font-family: var(--app-font-family);
}

.map-info-card a {
    color: var(--brand-espresso);
    font-weight: 800;
}

.events-list-row {
    border-radius: 8px;
}

.events-list-thumb,
.venue-card-logo,
.musician-performance-photo-thumb,
.venue-edit-image-preview {
    border-color: var(--app-border);
    background: var(--brand-linen);
}

.badge,
.profile-booking-badge,
.status-badge {
    border-radius: 999px;
}

.auth-modal-backdrop,
.submit-lock-overlay {
    background: rgba(34, 33, 32, 0.64);
}

.submit-lock-card {
    background: var(--app-surface);
}

.submit-lock-spinner {
    border-color: rgba(182, 137, 97, 0.22);
    border-top-color: var(--brand-espresso);
}

@media (max-width: 640.98px) {
    .brand-sidebar-header,
    .app-topbar {
        background: var(--app-sidebar-bg) !important;
    }
}

/* Editorial card pass from mobile reference - final overrides */
.local-event-time {
    white-space: pre-line;
}

.home-card-rail {
    gap: 2rem;
    align-items: flex-start;
}

.home-mini-card:not(.explore-brand-card),
.home-feature-card,
.home-nearby-card,
.events-list-row {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.home-mini-card:not(.explore-brand-card) {
    width: 220px;
    flex-basis: 220px;
    gap: 1.35rem;
}

.home-mini-card:not(.explore-brand-card):hover,
.events-list-row:hover {
    transform: none;
    box-shadow: none;
}

.home-feature-media-wrap,
.home-mini-card:not(.explore-brand-card) .home-mini-card-media,
.events-list-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    object-fit: cover;
    background: var(--brand-linen);
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-media {
    width: 100%;
    height: auto;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body {
    padding: 0;
    gap: 0.7rem;
}

.home-mini-card:not(.explore-brand-card) .home-nearby-distance,
.events-list-row .home-nearby-distance {
    color: var(--brand-bark);
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin: 0;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body > p:not(.home-nearby-distance),
.events-list-description,
.events-list-meta {
    color: var(--brand-ink);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 500;
}

.home-mini-card:not(.explore-brand-card) .home-mini-card-body h3,
.events-list-title-row h2 {
    color: var(--brand-ink);
    font-size: 1.2rem;
    line-height: 1.12;
    font-weight: 900;
    margin: 0;
}

.events-list-row {
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 1.35rem;
    padding: 0;
    align-items: start;
}

.events-list-thumb {
    width: 140px;
    height: auto;
}

.events-list-main {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.1rem;
}

.event-card-badges {
    gap: 0.45rem;
}

.event-card-badges > *,
.home-card-stat,
.home-card-follower-count {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    border-radius: 999px;
    background: #F2B642;
    color: #fff;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-feature-card {
    display: grid;
    gap: 1.25rem;
}

.home-feature-media-wrap {
    height: auto;
}

.home-feature-body {
    padding: 0;
}

.home-feature-body h3,
.home-nearby-body h3 {
    color: var(--brand-ink);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 900;
}

.home-feature-badge {
    top: 1rem;
    left: 1rem;
    border-radius: 999px;
    background: #F2B642;
    color: #fff;
    padding: 0.55rem 0.9rem;
    font-size: 0.74rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 680px) {
    .home-mini-card:not(.explore-brand-card) {
        width: 100%;
        flex-basis: 100%;
    }

    .events-list-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.9rem;
    }

    .events-list-thumb {
        width: 96px;
    }
}

/* Filter chrome alignment */
.content:has(.map-discovery-shell) {
    padding-top: 0 !important;
}

.content:has(.explore-filter-rail) {
    padding-top: 0 !important;
}

.content:has(.calendar-page-shell) {
    padding-top: 0 !important;
}

.content:has(.musician-profiles-shell) {
    padding-top: 0 !important;
}

.content:has(.profile-directory-shell) {
    padding-top: 0 !important;
}

.content:has(.profile-page-shell) {
    padding-top: 0 !important;
}

.map-discovery-shell {
    padding-top: 0;
}

.map-discovery-toolbar,
.browse-toolbar-panel,
.explore-toolbar,
.calendar-toolbar-shell,
.events-toolbar {
    background: var(--app-sidebar-bg) !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 1rem;
}

.map-discovery-title-section {
    background: var(--app-sidebar-bg);
    margin-inline: -1rem;
    padding: 1rem 1rem 0;
}

.map-discovery-title-section + .map-discovery-toolbar {
    margin-top: -1rem;
    padding-top: 1rem;
}

.browse-toolbar-panel,
.explore-toolbar,
.calendar-toolbar-shell {
    margin-inline: -1rem;
    padding-inline: 1rem;
}

.calendar-page-shell {
    gap: 0;
}

.calendar-page-shell > .home-hero-stack {
    background: var(--app-sidebar-bg);
    margin-inline: -1rem;
    padding: 1rem 1rem 0;
}

.calendar-page-shell > .home-hero-stack + .calendar-filter-section {
    margin-top: 0;
}

.calendar-filter-section .calendar-toolbar-shell,
.calendar-filter-section .explore-toolbar {
    margin: 0;
    padding: 0;
}

.calendar-filter-section + .calendar-range-bar {
    margin-top: 1rem;
}

.map-discovery-toolbar {
    position: sticky;
    top: 3.5rem;
    z-index: 35;
    border-radius: 0;
    margin-inline: -1rem;
    padding-inline: 1rem;
}

.map-filter-grid label,
.browse-toolbar-form .auth-label {
    color: var(--brand-bark);
}

.map-mode-toggle,
.explore-view-toggle,
.calendar-mode-switch {
    background: rgba(249, 243, 239, 0.48);
}

.home-section-stack:has(> .explore-filter-rail) {
    background: var(--app-sidebar-bg);
    padding: 1rem;
    position: sticky;
    top: 3.5rem;
    z-index: 34;
}

.home-section-stack:has(> .home-section-heading-row):has(+ .home-section-stack > .explore-filter-rail) {
    background: var(--app-sidebar-bg);
    padding: 1rem 1rem 0;
}

.home-section-stack:has(> .home-section-heading-row):has(+ .home-section-stack > .explore-filter-rail) + .home-section-stack:has(> .explore-filter-rail) {
    margin-top: -2rem;
    padding-top: 1rem;
}

.home-section-stack:has(> .explore-filter-rail) + .home-section-stack:has(> .explore-toolbar) {
    background: var(--app-sidebar-bg);
    margin-top: -2rem;
    padding: 0 1rem 1rem;
    position: sticky;
    top: calc(3.5rem + 128px);
    z-index: 33;
}

.home-section-stack:has(> .explore-toolbar) > .explore-toolbar {
    margin-inline: 0;
    padding: 0;
}

.explore-filter-rail {
    gap: 0.65rem;
    align-items: stretch;
}

.home-mini-card.explore-brand-card,
.explore-brand-card {
    width: 96px;
    flex: 0 0 96px;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 0.8rem;
}

.explore-brand-logo {
    width: 82%;
    height: 82%;
    max-width: none;
    object-fit: contain;
}

.explore-all-card .explore-all-label {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

@media (max-width: 640.98px) {
    .map-discovery-toolbar {
        top: 0;
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
    }

    .home-section-stack:has(> .explore-filter-rail),
    .home-section-stack:has(> .explore-filter-rail) + .home-section-stack:has(> .explore-toolbar) {
        position: static;
    }
}

@media (min-width: 641px) {
    .map-discovery-title-section {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .home-section-stack:has(> .home-section-heading-row):has(+ .home-section-stack > .explore-filter-rail) {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .home-section-stack:has(> .explore-filter-rail) {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .home-section-stack:has(> .explore-filter-rail) + .home-section-stack:has(> .explore-toolbar) {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .browse-toolbar-panel,
    .explore-toolbar,
    .calendar-toolbar-shell {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .calendar-page-shell > .home-hero-stack,
    .calendar-filter-section {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .calendar-filter-section .calendar-toolbar-shell,
    .calendar-filter-section .explore-toolbar {
        margin: 0;
        padding: 0;
    }

    .map-discovery-shell {
        margin-left: -2rem;
        margin-right: -1.5rem;
    }
}

@media (max-width: 680px) {
    .home-mini-card.explore-brand-card,
    .explore-brand-card {
        width: calc(50% - 0.325rem);
        flex-basis: calc(50% - 0.325rem);
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .home-mini-card.explore-brand-card,
    .explore-brand-card {
        width: 100%;
        flex-basis: 100%;
    }
}

/* Polymath marketing weight system */
body,
input,
select,
textarea {
    font-weight: var(--app-body-font-weight);
}

h1,
h2,
h3,
.auth-title,
.home-brand-title,
.home-section-heading-row h2,
.map-discovery-title-row h1,
.map-results-header h2,
.dashboard-panel h2,
.events-list-title-row h2,
.events-list-title-row h2 a,
.home-feature-body h3,
.home-mini-card-body h3,
.home-nearby-body h3,
.calendar-range-copy h2,
.calendar-day-detail-stack h3 {
    font-family: var(--app-display-font-family);
    font-weight: var(--app-display-font-weight);
}

button,
.btn,
.btn-link,
.auth-primary-btn,
.auth-secondary-btn,
.auth-inline-btn,
.auth-inline-link-button,
.auth-secondary-link,
.app-topbar-user-btn,
.app-topbar-signout-btn,
.explore-filter-btn,
.explore-view-toggle button,
.map-mode-toggle button,
.calendar-nav-btn,
.calendar-view-button,
.file-input-button::file-selector-button,
input[type="file"]::file-selector-button {
    font-family: var(--app-font-family);
    font-weight: var(--app-button-font-weight);
}

small,
.auth-subtitle,
.auth-helper-text,
.auth-muted-note,
.dashboard-label,
.events-list-meta,
.events-list-description,
.home-location-copy,
.home-empty-state p,
.home-feature-meta,
.home-mini-card-body p,
.home-nearby-body p,
.map-results-header p,
.map-result-row p,
.map-result-row span,
.map-result-empty,
.meta-pill,
.status-pill {
    font-weight: var(--app-tiny-font-weight);
}

.app-topbar-user-btn,
.app-topbar-signout-btn {
    min-height: 44px;
    height: 44px;
    min-width: 118px;
    padding: 0 1rem;
    border-radius: 0 16px 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.explore-view-toggle,
.view-toggle-group,
.map-mode-toggle {
    box-sizing: border-box;
    height: 60px;
    min-height: 0;
    padding: 0.25rem;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    border-radius: 0 28px 0 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.explore-view-btn,
.view-toggle-link,
.map-mode-toggle button {
    min-width: 5.75rem;
    min-height: 44px;
    border-radius: 0 22px 0 22px;
    color: var(--brand-bark);
    font-weight: 500;
}

.explore-view-btn:hover,
.view-toggle-link:hover,
.map-mode-toggle button:hover {
    color: var(--brand-espresso);
}

.explore-view-btn.is-active,
.view-toggle-link.is-active,
.map-mode-toggle button.is-active {
    background: var(--brand-espresso);
    color: var(--brand-cream);
}

.map-location-btn {
    box-sizing: border-box;
    height: 60px;
    min-height: 0;
    padding: 0 1.25rem;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    border-radius: 0 28px 0 28px;
    color: var(--brand-bark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.map-location-btn:hover {
    background: var(--brand-cream);
    border-color: var(--brand-bark);
    color: var(--brand-espresso);
}

.signin-shell .auth-primary-btn,
.signin-shell .auth-secondary-link,
.signup-shell .auth-primary-btn,
.signup-shell .auth-secondary-link,
.check-email-shell .auth-primary-btn,
.check-email-shell .auth-secondary-link,
.email-verified-shell .auth-primary-btn {
    border-radius: 0 28px 0 28px;
}

.signin-shell .auth-oauth-btn,
.signup-shell .auth-oauth-btn {
    border-radius: 0 28px 0 28px;
}

.signin-shell .auth-show-password-link,
.signup-shell .auth-show-password-link {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
    margin: 0.1rem 0 1rem;
    padding: 0.75rem 1rem;
}

.signin-shell .auth-forgot-password-link {
    justify-content: flex-start;
    width: 100%;
    min-height: auto;
    margin: -0.4rem 0 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-bark);
}

.signup-form {
    display: grid;
    gap: 0;
}

.signup-shell .auth-helper-text {
    margin: -0.35rem 0 0.9rem;
}

.signup-shell .auth-primary-btn {
    margin-top: 0;
}

.check-email-form {
    display: grid;
    gap: 0;
    margin-top: 0.25rem;
}

.check-email-shell .auth-status-note {
    width: 100%;
    margin: 0.25rem 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(34, 33, 32, 0.16);
    background: rgba(255, 255, 255, 0.55);
    color: var(--brand-bark);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.check-email-shell .auth-primary-btn {
    margin-top: 0;
}

.email-verified-shell .email-verified-close-status {
    min-height: 1.5rem;
    margin: 0.35rem 0 1rem;
    color: var(--brand-bark);
    font-weight: 700;
    text-align: center;
}

.check-email-shell .auth-footer-link {
    margin-top: 0.9rem;
}

.complete-profile-shell {
    align-items: flex-start;
    padding-top: 1.5rem;
}

.complete-profile-card {
    max-width: 840px;
}

.complete-profile-form {
    display: grid;
    gap: 1.1rem;
}

.complete-profile-section {
    display: grid;
    gap: 0.65rem;
}

.profile-edit-account-email-section {
    margin-bottom: 1.1rem;
}

.profile-edit-danger-section {
    border-top: 1px solid #b94444;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
}

.profile-edit-show-password-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    margin: -0.35rem 0 0.25rem;
    padding: 0.65rem 1rem;
}

.complete-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 0.9rem;
    align-items: start;
}

.complete-profile-shell .auth-input,
.complete-profile-shell .auth-select,
.complete-profile-shell .auth-primary-btn,
.complete-profile-shell .auth-inline-btn,
.complete-profile-shell .file-input-button::file-selector-button,
.complete-profile-shell input[type="file"]::file-selector-button {
    border-radius: 0 28px 0 28px;
}

.complete-profile-chip-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.complete-profile-chip {
    min-height: 58px;
    border: 3px solid var(--brand-bark);
    border-radius: 0 24px 0 24px;
    background: var(--brand-cream);
    color: var(--brand-bark);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.complete-profile-chip:hover {
    color: var(--brand-espresso);
    transform: translateY(-1px);
}

.complete-profile-chip:has(input:checked) {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    color: var(--brand-cream);
}

.complete-profile-chip input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--brand-espresso);
}

.complete-profile-chip:has(input:checked) input {
    accent-color: var(--brand-cream);
}

.venue-restaurant-details {
    display: grid;
    gap: 0.9rem;
    margin: 0.2rem 0 0.35rem;
    padding: 1rem 0;
    border-block: 1px solid var(--app-border);
}

.venue-restaurant-details[hidden] {
    display: none;
}

.venue-restaurant-details-header h2 {
    margin: 0;
    color: var(--app-text);
    font-size: 1.05rem;
    letter-spacing: 0;
}

.venue-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.venue-restaurant-chip-grid {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

@media (max-width: 720px) {
    .venue-restaurant-grid {
        grid-template-columns: 1fr;
    }
}

.complete-profile-interest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.complete-profile-interest-option {
    display: grid;
    grid-template-rows: auto 24px;
    gap: 0.4rem;
    justify-items: center;
    cursor: pointer;
}

.complete-profile-interest-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.complete-profile-interest-tile {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0.8rem;
    border-radius: 22px;
    background: var(--brand-clay);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transition: box-shadow 0.14s ease, transform 0.14s ease;
}

.complete-profile-interest-tile img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.complete-profile-interest-option:hover .complete-profile-interest-tile {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(68, 43, 29, 0.16);
}

.complete-profile-interest-option:has(input:checked) .complete-profile-interest-tile {
    box-shadow: 0 0 0 4px rgba(68, 43, 29, 0.28), 0 12px 22px rgba(68, 43, 29, 0.16);
}

.complete-profile-interest-option:focus-within .complete-profile-interest-tile {
    outline: 3px solid rgba(68, 43, 29, 0.28);
    outline-offset: 3px;
}

.complete-profile-interest-check {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--app-sidebar-bg);
    border: 2px solid var(--brand-bark);
    color: transparent;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}

.complete-profile-interest-option:has(input:checked) .complete-profile-interest-check {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    color: var(--brand-cream);
}

.complete-profile-interest-tile:has(img[src*="315-eats"]) {
    background: #4D91B8;
}

.complete-profile-interest-tile:has(img[src*="315-wild"]) {
    background: #6B7038;
}

.complete-profile-interest-tile:has(img[src*="315-live"]) {
    background: #E27755;
}

.complete-profile-interest-tile:has(img[src*="315-arts"]) {
    background: #F2B642;
}

.complete-profile-shell .auth-muted-note {
    margin: -0.25rem 0 0;
}

.complete-profile-shell .auth-primary-btn {
    margin-top: 0.25rem;
}

.musician-setup-card {
    max-width: 900px;
}

.musician-setup-shell .auth-logo-stack img.auth-mark {
    max-width: 190px;
}

.musician-setup-form {
    gap: 1rem;
}

.musician-setup-shell .auth-secondary-link {
    border-radius: 0 28px 0 28px;
}

.musician-setup-shell .auth-switch-row {
    border: 3px solid var(--brand-bark);
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    color: var(--brand-bark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.musician-setup-shell .auth-switch-copy strong {
    color: var(--brand-espresso);
}

.musician-setup-shell .auth-switch-copy span {
    color: var(--brand-bark);
}

.musician-setup-shell .auth-switch-track {
    background: var(--brand-linen);
    border: 1px solid rgba(124, 85, 57, 0.35);
}

.musician-setup-shell .auth-switch-row input:checked + .auth-switch-track {
    background: var(--brand-espresso);
}

.musician-setup-shell .auth-footer-link {
    margin-top: 0.4rem;
}

.new-event-shell {
    padding-top: 1rem;
}

.new-event-card {
    max-width: 920px;
}

.new-event-header {
    margin-bottom: 1rem;
    gap: 1rem;
    align-items: center;
}

.new-event-header .auth-title {
    margin-bottom: 0;
}

.new-event-form {
    gap: 1rem;
}

.new-event-section {
    border: 3px solid var(--brand-bark);
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.new-event-section h2 {
    margin: 0 0 0.25rem;
    color: var(--brand-espresso);
    font-size: 1.05rem;
}

.new-event-section .auth-label,
.new-event-section .artist-picker-name {
    color: var(--brand-espresso);
}

.new-event-section .auth-textarea {
    min-height: 132px;
}

.new-event-date-grid,
.new-event-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.new-event-shell .datetime-split-row {
    margin-bottom: 0;
}

.new-event-shell .artist-picker-list {
    margin: 0;
}

.new-event-shell .artist-picker-row,
.new-event-shell .selected-artist-chip {
    border: 3px solid var(--brand-bark);
    border-radius: 0 24px 0 24px;
    background: var(--brand-cream);
    color: var(--brand-bark);
}

.new-event-shell .artist-picker-meta,
.new-event-shell .artist-picker-empty,
.new-event-shell .picker-helper-copy {
    color: var(--brand-bark);
}

.new-event-shell .lineup-search-type {
    border-color: var(--brand-bark);
    color: var(--brand-bark);
}

.new-event-shell .auth-textarea,
.new-event-shell .auth-secondary-link,
.new-event-shell .file-input-button {
    border-radius: 0 28px 0 28px;
}

.new-event-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    color: var(--brand-bark);
    font-weight: 800;
}

.new-event-checkbox input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--brand-espresso);
}

.new-event-actions {
    margin-top: 0.25rem;
    align-items: center;
}

.new-event-actions .auth-primary-btn,
.new-event-actions .auth-secondary-link {
    margin-top: 0;
}

.new-event-actions .new-event-back-action {
    width: 100%;
    min-height: 56px;
}

@media (max-width: 760px) {
    .new-event-header,
    .new-event-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .new-event-date-grid,
    .new-event-profile-grid {
        grid-template-columns: 1fr;
    }

    .new-event-shell .datetime-split-row {
        flex-direction: column;
    }
}

.musician-profile-detail-shell,
.profile-detail-standard-shell {
    gap: 1rem;
}

.musician-profile-detail-shell .detail-hero-frame,
.profile-detail-standard-shell .detail-hero-frame {
    border-radius: 0 28px 0 28px;
    border: 3px solid var(--brand-bark);
    background: var(--brand-cream);
}

.musician-profile-detail-shell .event-detail-hero-overlay,
.profile-detail-standard-shell .event-detail-hero-overlay {
    background: linear-gradient(to top,
        rgba(68, 43, 29, 0.82) 0%,
        rgba(68, 43, 29, 0.62) 24%,
        rgba(68, 43, 29, 0.24) 48%,
        rgba(68, 43, 29, 0) 70%);
}

.musician-profile-detail-shell .dashboard-panel,
.musician-profile-detail-shell .dashboard-card,
.profile-detail-standard-shell .dashboard-panel,
.profile-detail-standard-shell .dashboard-card {
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    color: var(--brand-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.musician-profile-detail-shell .dashboard-panel-header h2,
.musician-profile-detail-shell .dashboard-label,
.musician-profile-detail-shell .dashboard-value,
.musician-profile-detail-shell .dashboard-value a,
.profile-detail-standard-shell .dashboard-panel-header h2,
.profile-detail-standard-shell .dashboard-label,
.profile-detail-standard-shell .dashboard-value,
.profile-detail-standard-shell .dashboard-value a {
    color: var(--brand-espresso);
}

.musician-profile-detail-shell .dashboard-panel p,
.musician-profile-detail-shell .artist-detail-about,
.profile-detail-standard-shell .dashboard-panel p,
.profile-detail-standard-shell .artist-detail-about {
    color: var(--brand-bark);
}

.musician-owner-panel,
.profile-owner-panel {
    background: var(--app-sidebar-bg) !important;
    border-color: var(--brand-bark) !important;
    margin-bottom: 1rem;
}

.profile-owner-header {
    margin-bottom: 0;
    gap: 1rem;
    align-items: center;
}

.profile-owner-header h2 {
    margin: 0;
    font-size: 1rem;
}

.profile-owner-actions {
    margin-left: auto;
}

.public-profile-qr-panel {
    margin-bottom: 1rem;
}

.public-profile-qr-header {
    margin-bottom: 1rem;
}

.public-profile-qr-header p {
    margin: 0.25rem 0 0;
    font-size: 0.92rem;
}

.public-profile-qr-layout {
    display: grid;
    grid-template-columns: minmax(132px, 180px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.public-profile-qr-image-shell {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid rgba(68, 43, 29, 0.18);
}

.public-profile-qr-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.public-profile-qr-copy {
    min-width: 0;
}

.public-profile-qr-url {
    display: block;
    margin-top: 0.25rem;
    color: var(--brand-espresso);
    overflow-wrap: anywhere;
}

.public-profile-qr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.musician-profile-detail-shell .event-follow-btn,
.musician-detail-action-link,
.profile-detail-action-link,
.profile-detail-standard-shell .event-follow-btn,
.profile-detail-standard-shell .auth-inline-btn,
.profile-detail-standard-shell .auth-primary-btn,
.musician-profile-detail-shell .auth-inline-btn,
.musician-profile-detail-shell .auth-primary-btn {
    border-radius: 0 28px 0 28px;
    text-decoration: none;
}

.musician-profile-detail-shell .event-follow-btn,
.profile-detail-standard-shell .event-follow-btn {
    background: var(--brand-espresso);
    border: 1px solid var(--brand-espresso);
    color: var(--brand-cream);
    box-shadow: 0 10px 22px rgba(68, 43, 29, 0.16);
}

.musician-profile-detail-shell .event-follow-btn.is-following,
.profile-detail-standard-shell .event-follow-btn.is-following {
    background: var(--brand-bark);
    border-color: var(--brand-bark);
    color: var(--brand-cream);
}

.musician-profile-detail-shell .event-follow-btn.is-copied,
.profile-detail-standard-shell .event-follow-btn.is-copied,
.event-detail-standard-shell .event-follow-btn.is-copied,
.share-link-button.is-copied {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.share-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.share-link-button.is-copied::before {
    content: "✓";
    font-weight: 900;
    line-height: 1;
}

.share-link-control {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.musician-detail-action-link,
.profile-detail-action-link {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-height: auto;
}

.musician-detail-pill {
    border-radius: 0 18px 0 18px;
    background: var(--app-sidebar-bg);
    border: 1px solid var(--brand-bark);
    color: var(--brand-bark);
    font-weight: 700;
}

.musician-profile-detail-shell .profile-social-name,
.profile-detail-standard-shell .profile-social-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--brand-espresso);
}

.musician-profile-detail-shell .profile-social-url,
.profile-detail-standard-shell .profile-social-url {
    color: var(--brand-bark);
}

.profile-social-icon-mask {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex: 0 0 20px;
    background: var(--brand-espresso);
    mask: var(--social-icon) center / contain no-repeat;
    -webkit-mask: var(--social-icon) center / contain no-repeat;
}

.musician-profile-detail-shell .profile-booking-badge,
.musician-profile-detail-shell .event-detail-badge,
.profile-detail-standard-shell .profile-booking-badge,
.profile-detail-standard-shell .event-detail-badge {
    border-radius: 0 16px 0 16px;
    background: #223734;
    border-color: rgba(65, 214, 147, 0.68);
    color: #b8f5d9;
    padding: 0.4rem 0.65rem;
}

.musician-profile-detail-shell .musician-carousel-frame {
    border-radius: 0 28px 0 28px;
    border: 3px solid var(--brand-bark);
    background: var(--brand-cream);
}

.musician-profile-detail-shell .musician-carousel-btn {
    border-radius: 0 22px 0 22px;
}

.musician-profile-detail-shell .musician-carousel-dot,
.profile-detail-standard-shell .musician-carousel-dot {
    border-color: var(--brand-bark);
    background: var(--app-sidebar-bg);
}

.musician-profile-detail-shell .musician-carousel-dot.is-active,
.profile-detail-standard-shell .musician-carousel-dot.is-active {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
}

.event-detail-standard-shell .event-detail-back {
    width: fit-content;
    color: var(--brand-bark);
    font-weight: 800;
}

.event-detail-standard-shell .event-owner-panel {
    margin-bottom: 0;
}

.event-detail-standard-shell.event-lineup-section {
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    color: var(--brand-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.event-detail-standard-shell.event-lineup-section .dashboard-panel-header h2 {
    color: var(--brand-espresso);
}

.event-detail-standard-shell .event-detail-hero-copy p {
    color: var(--brand-cream);
}

.event-detail-standard-shell .event-detail-top-row {
    align-items: stretch;
}

.event-detail-standard-shell .event-detail-owner-card,
.event-detail-standard-shell .event-detail-vibes,
.event-detail-standard-shell .event-detail-link-card,
.event-detail-standard-shell .event-detail-promoter-card,
.event-detail-standard-shell .event-import-facts div {
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    color: var(--brand-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.event-detail-standard-shell .event-detail-owner-card {
    padding: 1rem;
}

.event-detail-standard-shell .event-detail-owner-title,
.event-detail-standard-shell .event-detail-link-card-title,
.event-detail-standard-shell .event-detail-section h2,
.event-detail-standard-shell .event-lineup-group h3 {
    color: var(--brand-espresso);
}

.event-detail-standard-shell .event-detail-owner-subtitle,
.event-detail-standard-shell .event-detail-link-card-copy,
.event-detail-standard-shell .event-detail-link-card-highlight,
.event-detail-standard-shell .event-import-facts span,
.event-detail-standard-shell .event-import-facts strong,
.event-detail-standard-shell .event-detail-about {
    color: var(--brand-bark);
}

.event-detail-standard-shell .event-detail-vibes {
    padding: 0.85rem;
}

.event-detail-standard-shell .event-detail-vibe-chip,
.event-detail-standard-shell .event-confirmation-badge {
    border-radius: 0 16px 0 16px;
    border: 1px solid var(--brand-bark);
    background: var(--app-sidebar-bg);
    color: var(--brand-bark);
    font-weight: 800;
}

.event-detail-standard-shell .event-detail-link-card-media {
    border-radius: 0 18px 0 18px;
    border: 1px solid var(--brand-bark);
}

.event-detail-standard-shell .event-confirmation-badge-pending {
    background: rgba(214, 154, 56, 0.18);
    border-color: rgba(214, 154, 56, 0.7);
    color: #7a4b0a;
}

.event-detail-standard-shell .event-confirmation-badge-confirmed {
    background: #223734;
    border-color: rgba(65, 214, 147, 0.68);
    color: #b8f5d9;
}

.event-detail-standard-shell .event-confirmation-badge-declined {
    background: rgba(121, 45, 45, 0.14);
    border-color: rgba(121, 45, 45, 0.42);
    color: #792d2d;
}

.event-detail-standard-shell .event-confirmation-feedback {
    color: var(--brand-bark);
    font-weight: 800;
}

.event-detail-standard-shell .event-lineup-mini-card {
    border-radius: 0 28px 0 28px;
    background: var(--brand-cream);
    border: 3px solid var(--brand-bark);
    color: var(--brand-ink);
    overflow: hidden;
}

.event-detail-standard-shell .event-lineup-mini-card .home-mini-card-media {
    background: var(--app-sidebar-bg);
    border-radius: 0;
}

.event-detail-standard-shell .event-lineup-mini-card .home-mini-card-body {
    background: var(--brand-cream);
}

.event-detail-standard-shell .event-lineup-mini-card .home-mini-card-body h3 {
    color: var(--brand-espresso);
}

.event-detail-standard-shell .event-lineup-mini-card .home-mini-card-body p,
.event-detail-standard-shell .event-lineup-mini-card .home-card-follower-count {
    color: var(--brand-bark);
}

.event-detail-standard-shell .event-lineup-mini-card:hover {
    border-color: var(--brand-espresso);
}

.musician-profiles-shell {
    display: grid;
    gap: 0;
    margin-bottom: 1.5rem;
}

.profile-directory-shell {
    display: grid;
    gap: 0;
    margin-bottom: 1.5rem;
}

.profile-page-shell {
    gap: 0.9rem;
}

.profile-page-title-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0;
    background: var(--app-sidebar-bg);
}

.profile-page-title-section .home-brand-title {
    color: var(--brand-espresso);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    letter-spacing: 0;
    text-transform: lowercase;
}

.profile-page-edit-btn,
.profile-page-open-btn,
.profile-page-shell .auth-primary-btn {
    border-radius: 0 28px 0 28px;
    text-decoration: none;
}

.profile-page-edit-btn {
    width: auto;
    min-height: 60px;
    padding: 0 1.2rem;
    flex: 0 0 auto;
}

.profile-page-open-btn {
    min-height: 48px;
    padding: 0 1rem;
    background: var(--brand-cream);
    border: 2px solid var(--brand-bark);
    color: var(--brand-bark);
}

.profile-page-open-btn:hover {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    color: var(--brand-cream);
}

.profile-page-shell .dashboard-panel {
    border-radius: 0 28px 0 28px;
}

.profile-page-shell .home-section-heading-row {
    align-items: center;
}

.musician-profiles-header-panel {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.profile-directory-header-panel {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.musician-profiles-header-panel > .dashboard-panel-header {
    background: var(--app-sidebar-bg);
    margin: 0;
    padding: 1rem 0;
    border-radius: 0;
}

.profile-directory-header-panel > .dashboard-panel-header {
    background: var(--app-sidebar-bg);
    margin: 0;
    padding: 1rem 0;
    border-radius: 0;
}

.musician-profiles-header-panel .dashboard-panel-header h1 {
    color: var(--brand-espresso);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: lowercase;
}

.profile-directory-header-panel .dashboard-panel-header h1 {
    color: var(--brand-espresso);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: lowercase;
}

.musician-profiles-filter-section {
    background: var(--app-sidebar-bg);
    margin: 0;
    padding: 0 1rem 1rem;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    align-items: center;
    gap: 0.8rem;
}

.profile-directory-filter-section {
    background: var(--app-sidebar-bg);
    margin: 0;
    padding: 0 1rem 1rem;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    align-items: center;
    gap: 0.8rem;
}

.search-input-with-button,
.admin-user-search {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.search-input-with-button .auth-input,
.admin-user-search .auth-input {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.search-input-with-button .auth-primary-btn,
.admin-user-search .auth-primary-btn {
    flex: 0 0 auto;
    width: auto;
    min-height: auto;
    padding: 0.75rem 1rem;
    margin-top: 0;
}

.musician-profiles-search-shell {
    flex: 1 1 320px;
}

.profile-directory-search-shell {
    flex: 1 1 320px;
}

.musician-profiles-filter-actions {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
    padding: 0;
    background: transparent !important;
}

.profile-directory-filter-actions {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
    padding: 0;
    background: transparent !important;
}

.musician-profiles-add-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 1.2rem;
    border-radius: 0 28px 0 28px;
    text-decoration: none;
}

.profile-directory-add-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 1.2rem;
    border-radius: 0 28px 0 28px;
    text-decoration: none;
}

.musician-profiles-list-row,
.musician-profiles-card {
    border-radius: 0 28px 0 28px;
}

.profile-directory-list-row,
.profile-directory-card {
    border-radius: 0 28px 0 28px;
}

.musician-profiles-list-wrap,
.musician-profiles-card-rail {
    padding-top: 1rem;
}

.profile-directory-list-wrap,
.profile-directory-card-rail {
    padding-top: 1rem;
}

.musician-profiles-list-row .events-list-thumb,
.musician-profiles-card .home-mini-card-media {
    border-radius: 0;
}

.profile-directory-list-row .events-list-thumb,
.profile-directory-card .home-mini-card-media {
    border-radius: 0;
}

.musician-profiles-list-row .home-nearby-distance,
.musician-profiles-card .home-card-follower-count,
.musician-profiles-list-row .home-card-follower-count {
    color: var(--brand-bark);
}

.profile-directory-list-row .home-nearby-distance,
.profile-directory-card .home-card-follower-count,
.profile-directory-list-row .home-card-follower-count {
    color: var(--brand-bark);
}

.musician-profiles-list-row .events-list-title-row h2 {
    color: var(--brand-ink);
}

.profile-directory-list-row .events-list-title-row h2 {
    color: var(--brand-ink);
}

.musician-profiles-shell .profile-booking-badge {
    border-radius: 999px;
    background: #223734;
    border: 1px solid rgba(65, 214, 147, 0.68);
    color: #b8f5d9;
}

.profile-directory-shell .profile-booking-badge {
    border-radius: 999px;
    background: #223734;
    border: 1px solid rgba(65, 214, 147, 0.68);
    color: #b8f5d9;
}

@media (min-width: 641px) {
    .musician-profiles-list-wrap,
    .musician-profiles-card-rail,
    .profile-directory-list-wrap,
    .profile-directory-card-rail {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .musician-profiles-header-panel {
        margin-left: -2rem;
        margin-right: -1.5rem;
    }

    .profile-directory-header-panel {
        margin-left: -2rem;
        margin-right: -1.5rem;
    }

    .profile-page-title-section {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .musician-profiles-header-panel > .dashboard-panel-header {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .profile-directory-header-panel > .dashboard-panel-header {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .musician-profiles-filter-section {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
        position: sticky;
        top: 3.5rem;
        z-index: 34;
    }

    .profile-directory-filter-section {
        margin-left: -2rem;
        margin-right: -1.5rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
        position: sticky;
        top: 3.5rem;
        z-index: 34;
    }
}

@media (max-width: 760px) {
    .musician-profiles-filter-section,
    .musician-profiles-filter-actions,
    .profile-directory-filter-section,
    .profile-directory-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .musician-profiles-search-shell,
    .musician-profiles-filter-actions,
    .musician-profiles-filter-actions .view-toggle-group,
    .musician-profiles-add-btn,
    .profile-directory-search-shell,
    .profile-directory-filter-actions,
    .profile-directory-filter-actions .view-toggle-group,
    .profile-directory-add-btn {
        width: 100%;
    }

    .musician-profiles-search-shell,
    .musician-profiles-filter-actions,
    .profile-directory-search-shell,
    .profile-directory-filter-actions {
        flex: none;
    }
}

@media (max-width: 640px) {
    .profile-page-title-section {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-page-edit-btn {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .complete-profile-grid {
        grid-template-columns: 1fr;
    }

    .complete-profile-interest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.public-profile-shell {
    min-height: 100vh;
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.25rem 1.25rem 3.5rem;
    color: var(--brand-ink);
}

.public-profile-cover-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    height: min(58vh, 680px);
    overflow: hidden;
    background: var(--brand-espresso);
}

.public-profile-cover-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: var(--public-profile-cover-focus-x, 50%) var(--public-profile-cover-focus-y, 12%);
}

.public-profile-cover-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(34, 33, 32, 0.06) 0%, rgba(34, 33, 32, 0.02) 42%, rgba(34, 33, 32, 0.54) 100%),
        linear-gradient(90deg, rgba(34, 33, 32, 0.7), rgba(34, 33, 32, 0.24) 42%, rgba(34, 33, 32, 0.08) 72%);
    pointer-events: none;
}

.public-profile-hero-content {
    position: absolute;
    left: clamp(1rem, 7vw, 6rem);
    bottom: clamp(1.2rem, 5vw, 4.5rem);
    z-index: 1;
    width: min(720px, calc(100% - 2rem));
    color: var(--brand-cream);
}

.public-profile-hero-content h1 {
    margin: 1rem 0 0.65rem;
    color: var(--brand-cream);
    font-family: var(--app-display-font-family);
    font-size: clamp(2.75rem, 7.2vw, 6.75rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.public-profile-hero-content .public-profile-tagline {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 253, 252, 0.92);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 800;
    line-height: 1.45;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.44);
}

.auth-layout-root:has(.public-profile-shell) {
    background:
        linear-gradient(180deg, rgba(249, 243, 239, 0.94), rgba(224, 208, 193, 0.55)),
        var(--app-bg);
}

.public-profile-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.public-profile-copy {
    min-width: 0;
}

.public-profile-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.7rem;
    border: 2px solid var(--brand-bark);
    border-radius: 0 18px 0 18px;
    background: var(--brand-espresso);
    color: var(--brand-cream);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-profile-badge--booking {
    background: #223734;
    border-color: rgba(65, 214, 147, 0.68);
    color: #b8f5d9;
}

.public-profile-prose {
    max-width: 720px;
}

.public-profile-prose p {
    margin: 0 0 1.15rem;
    color: var(--brand-ink);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.72;
}

.public-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.public-profile-action {
    width: auto;
    min-width: 150px;
    min-height: 48px;
    border-radius: 0 24px 0 24px;
    padding: 0.85rem 1.15rem;
}

.public-profile-action.is-copied {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.public-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.public-profile-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--app-border);
    border-radius: 0 16px 0 16px;
    background: rgba(255, 253, 252, 0.68);
    color: var(--brand-bark);
    font-size: 0.84rem;
    font-weight: 800;
}

.public-profile-portrait-shell {
    position: sticky;
    top: 2rem;
}

.public-profile-portrait {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 3px solid var(--brand-bark);
    border-radius: 0 34px 0 34px;
    background: var(--brand-cream);
    box-shadow: 0 18px 40px rgba(68, 43, 29, 0.18);
}

.public-profile-video-section,
.public-profile-events-section,
.public-profile-gallery-section,
.public-profile-links {
    margin-top: 4rem;
}

.public-profile-kicker {
    margin: 0 0 0.35rem;
    color: var(--brand-bark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-profile-video-section h2,
.public-profile-events-section h2,
.public-profile-gallery-section h2 {
    margin: 0 0 1.1rem;
    color: var(--brand-espresso);
    font-family: var(--app-display-font-family);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.public-profile-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 3px solid var(--brand-bark);
    border-radius: 0 34px 0 34px;
    background: var(--brand-espresso);
    box-shadow: 0 18px 40px rgba(68, 43, 29, 0.16);
}

.public-profile-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.public-profile-video-link {
    width: fit-content;
    min-height: 48px;
    border-radius: 0 24px 0 24px;
    padding: 0.85rem 1.15rem;
}

.public-profile-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.public-profile-event-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 0 24px 0 24px;
    background: rgba(255, 253, 252, 0.8);
    color: var(--brand-espresso);
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(68, 43, 29, 0.1);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.public-profile-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(68, 43, 29, 0.16);
}

.public-profile-event-card:focus-visible {
    outline: 3px solid var(--brand-sun);
    outline-offset: 4px;
}

.public-profile-event-media-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--brand-cream);
}

.public-profile-event-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-profile-event-body {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
}

.public-profile-event-date,
.public-profile-event-venue {
    color: var(--brand-bark);
    font-size: 0.82rem;
    font-weight: 900;
}

.public-profile-event-title {
    color: var(--brand-espresso);
    font-family: var(--app-display-font-family);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.08;
}

.public-profile-event-description {
    color: var(--brand-bark);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
}

.public-profile-event-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.public-profile-event-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.25rem 0.5rem;
    border-radius: 0 14px 0 14px;
    background: var(--brand-cream);
    color: var(--brand-espresso);
    font-size: 0.78rem;
    font-weight: 900;
}

.public-profile-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.public-profile-gallery-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.public-profile-gallery-link:focus-visible {
    outline: 3px solid var(--brand-sun);
    outline-offset: 4px;
}

.public-profile-gallery-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 3px solid var(--brand-bark);
    border-radius: 0 24px 0 24px;
    background: var(--brand-cream);
    box-shadow: 0 12px 24px rgba(68, 43, 29, 0.12);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.public-profile-gallery-link:hover .public-profile-gallery-image {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(68, 43, 29, 0.18);
}

.public-profile-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.public-profile-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(34, 33, 32, 0.84);
    backdrop-filter: blur(6px);
}

.public-profile-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(1120px, 94vw);
    min-height: min(720px, 82vh);
    display: grid;
    place-items: center;
}

.public-profile-lightbox-image {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border: 3px solid var(--brand-cream);
    border-radius: 0 34px 0 34px;
    background: var(--brand-ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.public-profile-lightbox-close,
.public-profile-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-cream);
    background: var(--brand-espresso);
    color: var(--brand-cream);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.public-profile-lightbox-close:hover,
.public-profile-lightbox-nav:hover {
    background: var(--brand-bark);
    color: var(--brand-cream);
}

.public-profile-lightbox-close {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 0 20px 0 20px;
    font-size: 1.7rem;
}

.public-profile-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 58px;
    transform: translateY(-50%);
    border-radius: 0 24px 0 24px;
    font-size: 2.4rem;
}

.public-profile-lightbox-nav--prev {
    left: 0;
}

.public-profile-lightbox-nav--next {
    right: 0;
}

.public-profile-lightbox-count {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(249, 243, 239, 0.6);
    border-radius: 0 16px 0 16px;
    background: rgba(68, 43, 29, 0.92);
    color: var(--brand-cream);
    font-size: 0.86rem;
    font-weight: 900;
}

.public-profile-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.public-profile-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--app-border);
    border-radius: 0 20px 0 20px;
    background: var(--brand-cream);
    color: var(--brand-espresso);
    font-weight: 800;
    text-decoration: none;
}

.public-profile-footer {
    margin-top: 3rem;
    color: var(--brand-bark);
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 900px) {
    .public-profile-cover-hero {
        min-height: 260px;
        height: 44vh;
    }

    .public-profile-hero-content h1 {
        font-size: clamp(2.6rem, 11vw, 4.8rem);
    }

    .public-profile-shell {
        padding-top: 1.75rem;
    }

    .public-profile-intro {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .public-profile-portrait-shell {
        position: static;
    }

    .public-profile-portrait {
        max-height: 560px;
        aspect-ratio: 5 / 4;
    }

    .public-profile-event-grid,
    .public-profile-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .public-profile-cover-hero {
        min-height: 300px;
        height: 48vh;
    }

    .public-profile-hero-content {
        bottom: 1.1rem;
    }

    .public-profile-hero-content h1 {
        margin-top: 0.85rem;
        font-size: 2.8rem;
    }

    .public-profile-hero-content .public-profile-tagline {
        font-size: 0.98rem;
    }

    .public-profile-shell {
        padding: 1.35rem 0.9rem 2rem;
    }

    .public-profile-actions,
    .public-profile-actions .public-profile-action {
        width: 100%;
    }

    .public-profile-prose p {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .public-profile-video-section,
    .public-profile-events-section,
    .public-profile-gallery-section,
    .public-profile-links {
        margin-top: 2.75rem;
    }

    .public-profile-event-grid,
    .public-profile-gallery {
        grid-template-columns: 1fr;
    }

    .public-profile-gallery-image {
        aspect-ratio: 4 / 3;
    }

    .public-profile-lightbox {
        padding: 0.75rem;
    }

    .public-profile-lightbox-panel {
        width: 100%;
        min-height: 72vh;
    }

    .public-profile-lightbox-image {
        max-height: 76vh;
        border-radius: 0 24px 0 24px;
    }

    .public-profile-lightbox-close {
        top: -0.25rem;
        right: -0.25rem;
    }

    .public-profile-lightbox-nav {
        width: 42px;
        height: 52px;
        font-size: 2rem;
    }
}

.about-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: end;
    min-height: min(560px, calc(100vh - 9rem));
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    border-bottom: 1px solid var(--app-border);
}

.about-kicker {
    margin: 0 0 0.8rem;
    color: var(--brand-bark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--brand-ink);
    font-family: var(--app-display-font-family);
    font-size: 6rem;
    line-height: 0.95;
}

.about-hero > p {
    margin: 0 0 0.4rem;
    color: var(--app-text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-section {
    padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.about-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.about-section-heading h2 {
    margin: 0;
    font-family: var(--app-display-font-family);
    font-size: 3.4rem;
    line-height: 1;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.about-team-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--app-card-shadow);
}

.about-team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--app-surface-2);
}

.about-team-card-image-link {
    display: block;
}

.about-team-card > div {
    padding: 1rem;
}

.about-team-card h3 {
    margin: 0;
    color: var(--brand-ink);
    font-size: 1.15rem;
    font-weight: 900;
}

.about-team-card h3 a {
    color: inherit;
    text-decoration: none;
}

.about-team-card h3 a:hover {
    color: var(--brand-bark);
}

.about-team-card p {
    margin: 0.35rem 0 0;
    color: var(--app-text-muted);
}

.about-team-card a {
    display: inline-block;
    margin-top: 0.7rem;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.admin-team-list {
    display: grid;
    gap: 0.85rem;
}

.admin-team-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 8px;
}

.admin-team-row img {
    width: 84px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--app-surface-2);
}

.admin-team-row h2 {
    margin: 0;
    font-size: 1.15rem;
}

.admin-team-row p {
    margin: 0.2rem 0;
    color: var(--app-text-muted);
}

.admin-team-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-team-actions > span {
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.admin-shell {
    display: grid;
    grid-template-columns: minmax(220px, 248px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-shell-sidebar {
    position: sticky;
    top: 4.5rem;
    align-self: start;
    padding: 0.75rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface);
    box-shadow: var(--app-card-shadow);
}

.admin-shell-content {
    min-width: 0;
}

.admin-shell .dashboard-card,
.admin-shell .dashboard-panel,
.admin-shell .auth-card,
.admin-shell .auth-primary-btn,
.admin-shell .auth-inline-btn,
.admin-shell .auth-secondary-link,
.admin-shell .admin-team-row,
.admin-shell .admin-team-row img,
.admin-shell .auth-input,
.admin-shell .auth-select,
.admin-shell .auth-textarea,
.admin-shell .form-control {
    border-radius: var(--brand-corner-radius);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-nav-heading {
    padding: 0.25rem 0.25rem 0.85rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--app-border);
}

.admin-nav-kicker,
.admin-page-kicker {
    margin: 0;
    color: var(--brand-bark);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-nav-title {
    margin-top: 0.2rem;
    color: var(--app-text);
    font-weight: 900;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--brand-corner-radius);
    color: var(--app-text-muted);
    text-decoration: none;
    font-weight: 800;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.admin-nav-link:hover {
    background: var(--app-sidebar-hover);
    color: var(--brand-espresso);
}

.admin-nav-link.active {
    background: var(--app-sidebar-active);
    border-color: rgba(124, 85, 57, 0.18);
    color: var(--brand-espresso);
}

.admin-page-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.admin-page-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.admin-page-title-row h1 {
    margin: 0;
    color: var(--app-text);
    font-family: var(--app-display-font-family);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: var(--app-display-font-weight);
    line-height: 0.95;
}

.admin-page-title-row p,
.dashboard-panel-header p,
.admin-empty-copy,
.admin-empty-panel p {
    margin: 0.35rem 0 0;
    color: var(--app-text-muted);
}

.admin-metric-grid {
    margin: 0 0 1rem;
}

.admin-metric-card {
    display: flex;
    min-height: 118px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--brand-corner-radius);
    padding: 1rem;
}

.admin-metric-card-primary {
    background: var(--brand-espresso);
}

.admin-metric-card .dashboard-label {
    margin: 0;
    color: var(--app-text-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 1;
}

.admin-metric-card .dashboard-value {
    color: var(--app-text);
    font-size: 2.8rem;
    line-height: 0.95;
}

.admin-metric-card-primary .dashboard-label,
.admin-metric-card-primary .dashboard-value {
    color: var(--brand-cream);
}

.admin-dashboard-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-dashboard-sections .dashboard-panel {
    border-radius: var(--brand-corner-radius);
    padding: 1rem;
}

.admin-dashboard-sections .dashboard-panel-header {
    align-items: start;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--app-border);
}

.admin-dashboard-sections .dashboard-panel-header h2 {
    font-size: 1.15rem;
    font-weight: 900;
}

.admin-activity-list {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-activity-item {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface-2);
}

.dashboard-panel .admin-activity-item {
    border-bottom: 1px solid var(--app-border);
}

.admin-activity-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-activity-main a {
    color: var(--app-text);
    font-weight: 900;
    text-decoration: none;
}

.admin-activity-main a:hover {
    color: var(--brand-bark);
}

.admin-activity-main span,
.admin-activity-meta {
    color: var(--app-text-muted);
    font-size: 0.86rem;
}

.admin-activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
}

.admin-activity-meta span + span::before {
    content: "";
    display: inline-block;
    width: 0.32rem;
    height: 0.32rem;
    margin-right: 0.65rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.5;
    vertical-align: middle;
}

.admin-activity-item p {
    margin: 0;
    color: var(--app-text-muted);
    line-height: 1.5;
}

.audit-history-panel {
    margin-top: 1rem;
}

.audit-history-list {
    gap: 0.5rem;
}

.audit-history-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.admin-empty-panel {
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface);
    box-shadow: var(--app-card-shadow);
}

.admin-keyword-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.admin-keyword-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.admin-keyword-panel .dashboard-panel-header {
    align-items: flex-start;
}

.profile-claim-card .dashboard-panel-header p strong {
    color: var(--app-text);
}

.profile-claim-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    align-items: center;
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
}

.profile-claim-summary:first-of-type {
    margin-top: 0;
}

.profile-claim-summary .dashboard-label,
.profile-claim-summary .dashboard-value,
.profile-claim-summary .home-feature-meta {
    min-width: 0;
}

.profile-claim-summary .dashboard-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.profile-claim-summary .dashboard-value {
    grid-column: 1;
    overflow-wrap: anywhere;
}

.profile-claim-summary .home-feature-meta {
    grid-column: 1;
    margin: 0;
    color: var(--app-text-muted);
}

.profile-claim-summary .meta-pill {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
}

.profile-claims-list {
    display: grid;
    gap: 0.75rem;
}

.profile-claim-admin-row {
    display: grid;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
}

.profile-claim-admin-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    align-items: center;
}

.profile-claim-admin-summary > div {
    min-width: 0;
}

.profile-claim-admin-summary .dashboard-label,
.profile-claim-admin-summary .dashboard-value,
.profile-claim-admin-summary .home-feature-meta {
    min-width: 0;
}

.profile-claim-admin-summary .dashboard-value {
    overflow-wrap: anywhere;
}

.profile-claim-admin-summary .home-feature-meta {
    margin: 0.2rem 0 0;
    color: var(--app-text-muted);
}

.profile-claim-admin-summary .meta-pill {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
}

.profile-claim-admin-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--app-border);
    color: var(--app-text);
    font-size: 0.92rem;
}

.profile-claim-admin-facts div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-claim-admin-facts span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--app-text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-claim-admin-row .profile-claim-justification {
    margin: 0;
}

.profile-claim-admin-row .auth-field {
    margin: 0;
}

.profile-claim-admin-row .auth-textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.profile-claim-admin-actions {
    margin: 0;
}

.profile-claim-admin-actions .auth-primary-btn,
.profile-claim-admin-actions .auth-inline-btn {
    width: auto;
    min-width: min(100%, 150px);
}

.profile-claim-create-form {
    display: grid;
    gap: 1rem;
}

.profile-claim-create-form .auth-field {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.profile-claim-create-form .auth-field span {
    color: var(--app-text);
    font-weight: 800;
}

.profile-claim-create-form .auth-input,
.profile-claim-create-form .auth-textarea {
    box-sizing: border-box;
    margin-bottom: 0;
}

.profile-claim-field-grid {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(280px, 1fr);
    gap: 0.95rem 1rem;
    align-items: start;
    max-width: 860px;
}

.profile-claim-evidence-field {
    grid-column: 1 / -1;
}

.profile-claim-evidence-field .auth-textarea {
    min-height: 140px;
}

.profile-claim-submit-row {
    display: flex;
    justify-content: flex-start;
}

.profile-claim-submit-row .auth-primary-btn {
    width: auto;
    min-width: min(100%, 260px);
    padding-inline: 1.6rem;
}

.profile-claim-limit {
    display: grid;
    gap: 0.35rem;
    max-width: 680px;
    padding: 0.9rem 1rem;
    border: 1px solid #f59e0b;
    border-radius: var(--brand-corner-radius);
    background: #fff7ed;
    color: #7c2d12;
}

.profile-claim-limit strong,
.profile-claim-limit p {
    margin: 0;
}

.profile-claim-justification {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface-2);
}

.profile-claim-justification p {
    margin: 0.35rem 0 0;
    color: var(--app-text);
    line-height: 1.6;
    white-space: pre-wrap;
}

@media (max-width: 720px) {
    .public-profile-qr-layout {
        grid-template-columns: 1fr;
    }

    .public-profile-qr-image-shell {
        max-width: 220px;
    }

    .public-profile-qr-actions .auth-primary-btn,
    .public-profile-qr-actions .auth-inline-btn {
        width: 100%;
    }

    .profile-claim-card .dashboard-panel-header {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-claim-card .dashboard-panel-header .auth-inline-btn {
        width: 100%;
    }

    .profile-claim-summary {
        grid-template-columns: 1fr;
    }

    .profile-claim-summary .dashboard-label,
    .profile-claim-summary .dashboard-value,
    .profile-claim-summary .home-feature-meta,
    .profile-claim-summary .meta-pill {
        grid-column: 1;
        grid-row: auto;
    }

    .profile-claim-summary .meta-pill {
        justify-self: start;
    }

    .profile-claim-admin-summary {
        grid-template-columns: 1fr;
    }

    .profile-claim-admin-summary .meta-pill {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .profile-claim-admin-facts {
        grid-template-columns: 1fr;
    }

    .profile-claim-field-grid {
        grid-template-columns: 1fr;
    }

    .profile-claim-submit-row .auth-primary-btn {
        box-sizing: border-box;
        width: 100%;
    }
}

.admin-keyword-panel .auth-label {
    margin-top: 0.35rem;
}

.admin-keyword-textarea {
    min-height: 220px;
    margin-bottom: 0;
    resize: vertical;
}

.admin-keyword-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.85rem;
}

.admin-keyword-actions .auth-primary-btn {
    width: auto;
    min-height: auto;
    padding: 0.75rem 1rem;
}

.admin-user-search {
    width: min(100%, 420px);
}

.admin-user-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-user-toolbar > div {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface-2);
}

.admin-user-toolbar strong {
    color: var(--app-text);
    font-size: 1.65rem;
    line-height: 1;
}

.admin-user-toolbar span,
.admin-user-action-panel p {
    color: var(--app-text-muted);
}

.admin-user-action-panel {
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface);
    box-shadow: var(--app-card-shadow);
}

.admin-user-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-user-actions-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    background: var(--app-surface-2);
}

.admin-user-actions-grid h3 {
    margin: 0;
    color: var(--app-text);
    font-size: 1rem;
    font-weight: 900;
}

.admin-user-actions-grid p {
    margin: 0;
}

.admin-action-success {
    margin: 0.75rem 0;
    color: #24733f;
    font-weight: 800;
}

.admin-user-table-panel {
    padding: 0;
    overflow: hidden;
}

.admin-user-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-user-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-user-table th,
.admin-user-table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--app-border);
    color: var(--app-text-muted);
    font-size: 0.9rem;
    text-align: left;
    vertical-align: middle;
}

.admin-user-table th {
    background: var(--app-surface-2);
}

.admin-user-table th:last-child,
.admin-user-table td:last-child {
    position: sticky;
    right: 0;
    background: inherit;
    box-shadow: -8px 0 12px rgba(38, 24, 18, 0.06);
}

.admin-user-table th:last-child {
    background: var(--app-surface-2);
}

.admin-user-table td:last-child {
    background: var(--app-surface);
}

.admin-user-table tr.selected td:last-child {
    background: #f4ebe4;
}

.admin-user-table th button {
    border: 0;
    background: transparent;
    color: var(--app-text);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-user-table td strong,
.admin-user-table td span {
    display: block;
}

.admin-user-table td strong {
    color: var(--app-text);
    font-weight: 900;
}

.admin-user-table tr.selected {
    background: rgba(124, 85, 57, 0.08);
}

.admin-user-table tr.admin-user-action-row td {
    position: static;
    padding: 1rem;
    background: #fbf7f4;
    box-shadow: none;
}

.admin-shell .admin-user-table .auth-secondary-link {
    border-radius: var(--brand-corner-radius);
}

.admin-shell .auth-inline-btn.danger,
.meta-pill.danger {
    color: #9f2d24;
}

.admin-shell .auth-inline-btn.danger {
    border-color: rgba(159, 45, 36, 0.3);
    background: rgba(159, 45, 36, 0.08);
}

.admin-verification-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-verification-search {
    flex: 0 1 500px;
    width: min(100%, 500px);
}

.admin-verification-search .auth-input {
    flex: 1 1 280px;
    min-width: 220px;
    margin-bottom: 0;
}

.admin-verification-search .auth-primary-btn {
    flex: 0 0 7rem;
    width: 7rem;
    min-width: 7rem;
    max-width: 7rem;
    min-height: 3rem;
    padding: 0.7rem 1rem;
}

.admin-verification-tab {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--app-border);
    border-radius: var(--brand-corner-radius);
    color: var(--app-text-muted);
    font-weight: 900;
    text-decoration: none;
}

.admin-verification-tab.active,
.admin-verification-tab:hover {
    border-color: rgba(124, 85, 57, 0.35);
    background: rgba(124, 85, 57, 0.1);
    color: var(--app-text);
}

.admin-verification-table {
    min-width: 1240px;
}

.admin-verification-owner {
    min-width: 220px;
}

.admin-verification-owner span {
    overflow-wrap: anywhere;
}

.admin-verification-table .auth-input {
    min-height: 2.5rem;
}

.admin-verification-table .auth-primary-btn {
    width: auto;
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
}

.admin-verification-reason {
    min-width: 240px;
    resize: vertical;
}

.admin-verification-message {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-verification-message.success {
    color: #24733f;
}

.admin-verification-message.danger {
    color: #9f2d24;
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-shell-sidebar {
        position: static;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .admin-nav-heading {
        grid-column: 1 / -1;
    }

    .admin-dashboard-sections {
        grid-template-columns: 1fr;
    }

    .admin-user-toolbar,
    .admin-user-actions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .admin-page-title-row,
    .admin-activity-main {
        display: block;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-nav-link {
        min-height: 2.5rem;
        padding: 0.55rem 0.6rem;
        font-size: 0.88rem;
    }

    .admin-user-toolbar,
    .admin-user-actions-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-search {
        width: 100%;
        margin-top: 0.85rem;
    }

    .admin-verification-search {
        flex-wrap: wrap;
    }

    .admin-verification-search .auth-input,
    .admin-verification-search .auth-primary-btn {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
    }
}

.team-profile-page {
    width: min(1120px, calc(100% - clamp(2rem, 5vw, 4rem)));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0 4rem;
}

.team-profile-back {
    display: inline-flex;
    margin-bottom: 1.5rem;
    color: var(--brand-bark);
    font-weight: 900;
    text-decoration: none;
}

.team-profile-hero {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}

.team-profile-hero aside {
    margin: 0;
}

.team-profile-hero img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--app-border);
    background: var(--app-surface-2);
    box-shadow: var(--app-card-shadow);
}

.team-profile-hero h1 {
    margin: 0;
    color: var(--brand-ink);
    font-family: var(--app-display-font-family);
    font-size: 5.5rem;
    line-height: 0.95;
}

.team-profile-title {
    margin: 1rem 0 0;
    color: var(--app-text-muted);
    font-size: 1.35rem;
    font-weight: 800;
}

.team-profile-email {
    margin-top: 1.4rem;
    overflow-wrap: anywhere;
}

.team-profile-bio {
    max-width: 760px;
    margin: clamp(2.5rem, 6vw, 5rem) 0 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--app-border);
}

.team-profile-bio p {
    margin: 0 0 1.15rem;
    color: var(--app-text-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

@media (max-width: 760px) {
    .about-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        align-items: start;
    }

    .about-hero h1 {
        font-size: 4rem;
    }

    .about-section-heading {
        display: block;
    }

    .about-section-heading h2 {
        font-size: 2.6rem;
    }

    .admin-team-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .admin-team-row img {
        width: 72px;
    }

    .admin-team-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .team-profile-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .team-profile-hero h1 {
        font-size: 4rem;
    }

    .team-profile-bio {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 3.35rem;
    }

    .about-hero > p {
        font-size: 1rem;
    }

    .about-section-heading h2 {
        font-size: 2.2rem;
    }

    .team-profile-hero h1 {
        font-size: 3.2rem;
    }

    .team-profile-title {
        font-size: 1.12rem;
    }
}
