/* gx-shared-ui.css — auto-generated by generate-css-bundles.js
 * Source: sb-shared.css (do NOT edit this file directly).
 * Edit sb-shared.css and re-run: node generate-css-bundles.js
 * Generated: 2026-04-28T00:24:03.511Z
 */
:root.light-mode,
body.light-mode {
    /* Surfaces — cool white, layered by elevation */
    --sb-bg-body: #F1F5F9;
    --sb-bg-surface: #FFFFFF;
    --sb-bg-card: rgba(255,255,255,0.95);
    --sb-bg-card-hover: rgba(248,250,252,0.98);
    --sb-bg-input: #FFFFFF;
    --sb-bg-overlay: rgba(241,245,249,0.92);

    /* Borders — lighter, shadows create depth */
    --sb-border: #E2E8F0;
    --sb-border-light: #F1F5F9;

    /* Text — slate tones, richer than plain grey */
    --sb-text: #1E293B;
    --sb-text-secondary: #475569;
    --sb-text-muted: #94A3B8;
    --sb-text-inverse: #FFFFFF;

    /* Shadows — blue-tinted elevation */
    --sb-shadow-sm: 0 1px 3px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
    --sb-shadow: 0 4px 6px rgba(15,23,42,0.05), 0 10px 15px rgba(15,23,42,0.08);
    --sb-shadow-lg: 0 10px 25px rgba(15,23,42,0.08), 0 20px 48px rgba(15,23,42,0.06);
    --sb-shadow-glow: 0 0 20px rgba(14,165,233,0.15), 0 0 6px rgba(56,189,248,0.1);

    /* Opaque fills */
    --sb-card-fill: #FFFFFF;
    --sb-card-fill-hover: #F8FAFC;
    --sb-popover-fill: #FFFFFF;
    --sb-toast-fill: #FFFFFF;

    /* Accent — restore violet for energy */
    --sb-ice: #0EA5E9;
    --sb-sky: #0284C7;
    --sb-violet: #6366F1;
    --sb-ice-light: #38BDF8;
    --sb-sky-light: #0EA5E9;
    --sb-violet-light: #818CF8;
    /* Gradient borders — colourful ice→sky→violet */
    --sb-gradient: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(14,165,233,0.25), rgba(99,102,241,0.25));
    --sb-gradient-h: linear-gradient(90deg, rgba(56,189,248,0.25), rgba(14,165,233,0.25), rgba(99,102,241,0.25));
    /* Gradient text — blue→indigo */
    --sb-gradient-text: linear-gradient(135deg, #0EA5E9, #0284C7, #6366F1);
}
body.light-mode .sb-sidebar {
    background: #FFFFFF;
    box-shadow: 1px 0 0 #E2E8F0;
}
body.light-mode .sb-topbar {
    background: #FFFFFF;
    background-image: linear-gradient(90deg, #38BDF8, #0EA5E9, #0284C7);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    box-shadow: none;
}
body.light-mode .sb-card {
    box-shadow: var(--sb-shadow);
}
body.light-mode .sb-btn-primary {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
body.light-mode .sb-btn-primary:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
body.light-mode .sb-btn-gradient-outline {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, #38BDF8, #0EA5E9, #38BDF8) border-box;
    border: 1px solid transparent;
    -webkit-text-fill-color: var(--sb-sky);
    color: var(--sb-sky);
}
body.light-mode .sb-btn-gradient-outline:hover {
    box-shadow: 0 0 12px rgba(14,165,233,0.18);
}
body.light-mode .sb-btn-outline:hover {
    background: rgba(14,165,233,0.06);
}
body.light-mode .sb-btn-ghost {
    border-color: #E2E8F0;
}
body.light-mode .sb-btn-ghost:hover {
    color: var(--sb-ice);
    border-color: var(--sb-ice);
    animation: sb-ghost-breathe-light 2s ease-in-out infinite;
}
body.light-mode .sb-gradient-border-subtle {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, rgba(15,23,42,0.06), rgba(15,23,42,0.04)) border-box;
}
body.light-mode .sb-input:focus,
body.light-mode .sb-textarea:focus,
body.light-mode .sb-select:focus {
    border-color: var(--sb-ice);
    box-shadow: 0 0 0 2px rgba(14,165,233,0.15);
}
body.light-mode .sb-badge-ice {
    background: rgba(14,165,233,0.10);
    color: #0284C7;
}
body.light-mode .sb-status-deposit_pending {
    background: rgba(14,165,233,0.10);
    color: #0284C7;
}
.tour-poster-glow {
    animation: tour-poster-glow-breathe 3s ease-in-out infinite;
}
.setlist-builder-layout,
.tour-builder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-lg);
    align-items: stretch;
}
.setlist-builder-controls,
.tour-builder-controls {
    padding: var(--sb-space-lg);
    margin: 0;
}
.setlist-builder-preview,
.tour-builder-preview {
    padding: var(--sb-space-md);
    margin: 0;
}
.setlist-preview-header {
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--sb-space-sm);
}
.setlist-preview-frame {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.setlist-preview-frame canvas {
    display: block;
    width: 100%;
    height: auto;
}
.setlist-form-grid,
.flyer-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-md) 10px;
}
.setlist-form-grid .sb-input-group,
.flyer-form-grid .sb-input-group { margin-bottom: 0; }
.setlist-form-grid .sb-label,
.flyer-form-grid .sb-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--sb-text-muted);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    margin-bottom: 6px;
}
.setlist-form-grid .sb-input,
.setlist-form-grid .sb-textarea,
.flyer-form-grid .sb-input,
.flyer-form-grid .sb-textarea {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
}
.setlist-form-grid .sb-textarea,
.flyer-form-grid .sb-textarea { resize: none; height: 52px; }
.setlist-file-btn,
.flyer-file-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
    flex-wrap: nowrap;
    padding: 5px 10px; font-size: 12px; font-weight: 600; color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.12); border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius); transition: all var(--sb-transition);
    white-space: nowrap; overflow: hidden;
    min-height: 36px;
}
.setlist-file-btn .sb-icon,
.flyer-file-btn .sb-icon { width: 14px; height: 14px; flex-shrink: 0; display: inline-flex; }
.setlist-file-btn > span:not(.sb-icon):not(.setlist-file-x):not(.flyer-logo-x),
.flyer-file-btn > span:not(.sb-icon):not(.setlist-file-x):not(.flyer-logo-x) {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.setlist-file-btn:hover,
.flyer-file-btn:hover { background: rgba(var(--sb-ice-rgb),0.18); }
.setlist-file-x,
.flyer-logo-x {
    cursor: pointer; padding: 2px 8px; color: var(--sb-text-muted);
    font-size: 16px; line-height: 1; border-radius: 4px;
    transition: all var(--sb-transition);
}
.setlist-file-x:hover,
.flyer-logo-x:hover {
    color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.15);
}
.setlist-toggle-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.sb-builder-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--sb-space-md);
}
.sb-builder-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sb-text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--sb-radius);
    transition: all var(--sb-transition);
    white-space: nowrap;
    min-height: 36px;
    font-family: inherit;
    line-height: 1;
}
.sb-builder-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.20);
    color: var(--sb-text);
}
.sb-builder-pill.active {
    background: rgba(var(--sb-ice-rgb), 0.12);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    font-weight: 600;
}
.setlist-style-grid {
    padding: 12px 14px;
    background: rgba(8,12,20,0.4);
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    align-items: start;  /* labels top-align across the row */
}
.setlist-style-row,
.fsp-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.setlist-style-row--full {
    grid-column: 1 / -1;
}
.setlist-style-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--sb-text-muted);
    margin: 0 0 6px 0;
    line-height: 1;
}

@media (max-width: 600px)  {
.setlist-style-grid { grid-template-columns: 1fr 1fr; }

}
.setlist-style-row label,
.fsp-row label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sb-text-muted);
    line-height: 1;
}
.setlist-style-colour-row,
.fsp-colour-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.setlist-style-colour-row input[type="color"],
.fsp-colour-row input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    cursor: pointer;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    background:
        linear-gradient(rgba(15,21,37,0.70), rgba(15,21,37,0.70)) padding-box,
        linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: box-shadow var(--sb-transition);
}
.setlist-style-colour-row input[type="color"]:hover,
.fsp-colour-row input[type="color"]:hover {
    box-shadow: 0 0 0 2px rgba(var(--sb-ice-rgb),0.15);
}
.setlist-style-colour-row input[type="color"]::-webkit-color-swatch-wrapper,
.fsp-colour-row input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 3px;
}
.setlist-style-colour-row input[type="color"]::-webkit-color-swatch,
.fsp-colour-row input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 3px;
}
.setlist-style-colour-row input[type="color"]::-moz-color-swatch,
.fsp-colour-row input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 3px;
}
.sb-cp-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.sb-cp-trigger {
    appearance: none;
    -webkit-appearance: none;
    display: block; /* default <button> is inline-block — line-height descender adds 2-3px to the parent wrap, which mis-aligns the popover top against the font dropdown's */
    width: 100%;
    height: 32px;
    cursor: pointer;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: box-shadow var(--sb-transition);
    font: inherit;
    position: relative;
}
.sb-cp-trigger::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.sb-cp-trigger:hover,
.sb-cp-wrap.open .sb-cp-trigger {
    box-shadow: 0 0 0 2px rgba(var(--sb-ice-rgb),0.15);
}
.sb-cp-trigger-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background: var(--sb-ice);
}
.sb-cp-popover {
    display: none;
    position: absolute;
    /* Same vertical offset as .sb-custom-select-options (the Title Font dropdown
       panel) so both popovers' top edges land at exactly the same Y when open. */
    top: calc(100% + 2px);
    left: 0;
    z-index: 1000;
    /* Match the width of the swatch trigger (which is 100% of its cell). */
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    /* True solid 70% opaque fill (no gradient stops). Gradient border lives
       on the ::before pseudo so the background can be a single rgba colour. */
    background: rgba(8,12,20,0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* Static lift shadow + breathing brand glow (3s loop, ice/sky/violet) */
    animation: sb-cp-glow 3s ease-in-out infinite;
}
.sb-cp-popover::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.sb-cp-wrap.open .sb-cp-popover { display: block; }
#flyer-img-modal .sb-modal,
#setlist-img-modal .sb-modal,
#ev-img-modal .sb-modal,
#cb-img-modal .sb-modal {
    max-width: 720px; max-height: 80vh;
    display: flex; flex-direction: column; overflow: hidden;
    padding: 0;
}
#flyer-img-modal .sb-modal-header,
#setlist-img-modal .sb-modal-header,
#ev-img-modal .sb-modal-header,
#cb-img-modal .sb-modal-header {
    padding: 16px 20px; flex-shrink: 0;
}

@media (max-width: 480px)  {
#flyer-img-modal .sb-modal,
    #setlist-img-modal .sb-modal,
    #ev-img-modal .sb-modal,
    #cb-img-modal .sb-modal { width: 96%; max-height: 90vh; }

}
.sb-cp-sl {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 4px;
    cursor: crosshair;
    user-select: none;
    margin-bottom: 10px;
    overflow: hidden;
}
.sb-cp-sl-cursor {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
}
.sb-cp-hue {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 12px;
    background: linear-gradient(to right,
        hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%),
        hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%));
}
.sb-cp-hue-cursor {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
}
.sb-cp-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}
.sb-cp-hex {
    flex: 1;
    padding: 6px 8px;
    font-size: 12px;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    color: var(--sb-text);
    background: rgba(15,21,37,0.70);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    outline: none;
    text-transform: uppercase;
    min-width: 0;
}
.sb-cp-hex:focus { border-color: var(--sb-ice); }
.sb-cp-preview {
    width: 32px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.sb-cp-presets {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}
.sb-cp-preset {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    padding: 0;
    transition: transform var(--sb-transition);
}
.sb-cp-preset:hover { transform: scale(1.18); border-color: var(--sb-ice); }
.setlist-style-row select.sb-select,
.fsp-row select {
    padding: 7px 10px;
    font-size: 13px;
    background: var(--sb-bg-input);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text-primary);
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    outline: none;
    transition: border-color var(--sb-transition);
}
.setlist-style-row select.sb-select:focus,
.fsp-row select:focus { border-color: var(--sb-ice); }
.fsp-row .sb-custom-select,
.setlist-style-row .sb-custom-select { width: 100%; flex: 1; min-width: 0; }
.fsp-row .sb-custom-select-trigger,
.setlist-style-row .sb-custom-select-trigger {
    padding: 7px 28px 7px 10px; font-size: 13px;
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: none; border-radius: var(--sb-radius);
    line-height: 1.4;
}
.fsp-row .sb-custom-select-trigger::before,
.setlist-style-row .sb-custom-select-trigger::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
.fsp-row .sb-custom-select-trigger:hover,
.fsp-row .sb-custom-select.open .sb-custom-select-trigger,
.setlist-style-row .sb-custom-select-trigger:hover,
.setlist-style-row .sb-custom-select.open .sb-custom-select-trigger {
    background: rgba(15,21,37,0.85);
    box-shadow: 0 0 0 2px rgba(var(--sb-ice-rgb),0.15);
}
.fsp-row .sb-custom-select-trigger::after,
.setlist-style-row .sb-custom-select-trigger::after {
    right: 8px; width: 10px; height: 10px;
}
.fsp-row .sb-custom-select-options,
.setlist-style-row .sb-custom-select-options {
    font-size: 13px; max-height: 200px;
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: none;
}
.fsp-row .sb-custom-select-options::before,
.setlist-style-row .sb-custom-select-options::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 0;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
.fsp-row .sb-custom-select-option,
.setlist-style-row .sb-custom-select-option {
    padding: 6px 10px; font-size: 13px;
}
.fsp-row .sb-custom-select-option:hover,
.setlist-style-row .sb-custom-select-option:hover {
    background: rgba(var(--sb-ice-rgb),0.12);
}
.fsp-row .sb-custom-select-option.selected,
.setlist-style-row .sb-custom-select-option.selected {
    color: var(--sb-ice);
}
.setlist-style-row input[type="range"],
.fsp-row input[type="range"],
.adv-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    cursor: pointer;
    outline: none;
    background: rgba(var(--sb-white-rgb),0.06);
    border-radius: 2px;
    margin-top: 4px;
}
.setlist-style-row input[type="range"]::-webkit-slider-thumb,
.fsp-row input[type="range"]::-webkit-slider-thumb,
.adv-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.4);
}
.setlist-style-row input[type="range"]::-moz-range-track,
.fsp-row input[type="range"]::-moz-range-track,
.adv-range::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(var(--sb-white-rgb),0.06);
}
.setlist-style-row input[type="range"]::-moz-range-thumb,
.fsp-row input[type="range"]::-moz-range-thumb,
.adv-range::-moz-range-thumb {
    width: 18px;
    height: 10px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.4);
}
.setlist-style-row input[type="range"]::-moz-range-progress,
.fsp-row input[type="range"]::-moz-range-progress,
.adv-range::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-violet));
}
.fsp-row:has(input[type="range"]),
.setlist-style-row:has(input[type="range"]) {
    align-self: stretch;
    justify-content: center;
}
.setlist-style-range-label,
.fsp-range-label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.setlist-style-range-val,
.fsp-range-val {
    font-size: 9px;
    color: var(--sb-ice);
    font-weight: 700;
    line-height: 1;
}
.setlist-style-toggle,
.fsp-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    cursor: pointer;
}
.setlist-style-toggle input[type="checkbox"],
.fsp-toggle input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--sb-border);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all var(--sb-transition);
}
.setlist-style-toggle input[type="checkbox"]:checked,
.fsp-toggle input[type="checkbox"]:checked {
    background: var(--sb-ice);
    border-color: var(--sb-ice);
}
.setlist-style-toggle input[type="checkbox"]:checked::after,
.fsp-toggle input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.setlist-style-toggle input[type="checkbox"]:hover,
.fsp-toggle input[type="checkbox"]:hover { border-color: var(--sb-ice); }
.setlist-style-toggle span,
.fsp-toggle span {
    font-size: 12px;
    color: var(--sb-text-secondary);
}
.setlist-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
    flex-wrap: wrap;
}
.setlist-panel-header h4 {
    margin: 0;
    font-size: var(--sb-text-base);
    font-weight: 700;
    color: var(--sb-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.setlist-panel-header .setlist-editor-stats {
    margin: 0;
    text-align: right;
}
.setlist-panel-header-toggles {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.setlist-panel-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px)  {
.setlist-panel-actions { flex-wrap: wrap; }
.setlist-panel-actions .setlist-editor-stats { width: 100%; }
.setlist-panel-actions > span[style*="flex:1"] { display: none; }
.setlist-panel-actions .sb-btn { flex: 1 1 0; min-width: 0; height: 36px; }
.setlist-preview-actions .sb-btn { flex: 1 1 0; min-width: 0; height: 36px; }
.setlist-pill-strip { gap: 6px; }
.setlist-pill { flex: 1 1 calc(50% - 3px); min-width: 0; justify-content: center; box-sizing: border-box; }

}
.setlist-delete-action {
    color: var(--sb-text-muted) !important;
}

@media (max-width: 900px)  {
.setlist-builder-layout,
    .tour-builder-layout {
        grid-template-columns: 1fr;
    }
.setlist-builder-preview {
        position: static;
        order: 1;  /* preview above the controls on mobile */
    }
.setlist-builder-controls {
        order: 2;
        padding: var(--sb-space-md);
    }

}

@media (max-width: 480px)  {
.setlist-form-grid,
    .flyer-form-grid { grid-template-columns: 1fr; gap: 6px; }
.setlist-form-grid .sb-input,
    .setlist-form-grid .sb-textarea,
    .flyer-form-grid .sb-input,
    .flyer-form-grid .sb-textarea { font-size: 16px; padding: 8px 10px; }
.setlist-form-grid .sb-label,
    .flyer-form-grid .sb-label { font-size: 11px; margin-bottom: 2px; }
.setlist-file-btn,
    .flyer-file-btn { padding: 8px 12px; font-size: 13px; min-height: 40px; }

}
.setlist-empty-card {
    text-align: center;
    padding: var(--sb-space-3xl) var(--sb-space-xl);
    background: linear-gradient(180deg, rgba(var(--sb-ice-rgb),0.05), rgba(var(--sb-violet-rgb),0.02));
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
}
.setlist-empty-title {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 800;
    font-size: 28px;
    background: var(--sb-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.setlist-empty-sub {
    color: var(--sb-text-muted);
    font-size: var(--sb-text-sm);
    margin-bottom: var(--sb-space-lg);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.setlist-pill-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--sb-space-lg);
}
.setlist-pill {
    padding: 8px 14px;
    background: rgba(var(--sb-ice-rgb),0.04);
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-family: var(--sb-font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--sb-transition);
    white-space: nowrap;
}
.setlist-pill:hover {
    background: rgba(var(--sb-ice-rgb),0.1);
    border-color: rgba(var(--sb-ice-rgb),0.4);
    color: var(--sb-text);
}
.setlist-pill.active {
    background: rgba(var(--sb-ice-rgb),0.15);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    font-weight: 600;
}
.setlist-pill-star {
    color: var(--sb-ice);
    font-size: 12px;
    filter: drop-shadow(0 0 4px rgba(var(--sb-ice-rgb),0.5));
}
.setlist-pill-lock {
    font-size: 10px;
    opacity: 0.6;
}
.setlist-pill-new {
    border-style: dashed;
    font-weight: 500;
}
.setlist-pill-email {
    border-color: rgba(var(--sb-ice-rgb), 0.3);
    color: var(--sb-ice);
    gap: 6px;
}
.setlist-pill-email:hover {
    border-color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.08);
}
.setlist-pill-email svg {
    width: 14px;
    height: 14px;
}
.setlist-editor {
    padding: var(--sb-space-xl);
}
.setlist-editor-head {
    display: flex;
    gap: var(--sb-space-lg);
    align-items: flex-start;
    margin-bottom: var(--sb-space-lg);
    flex-wrap: wrap;
}
.setlist-editor-head-left {
    flex: 1;
    min-width: 240px;
}
.setlist-editor-head-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.setlist-editor-title {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.1;
    background: var(--sb-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
    background-color: transparent;
    padding: 2px 0;
    width: 100%;
    outline: none;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.setlist-editor-title:focus {
    box-shadow: inset 0 -2px 0 rgba(var(--sb-ice-rgb),0.4);
}
.setlist-editor-description {
    font-family: var(--sb-font);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    border: none;
    background: transparent;
    padding: 4px 0;
    margin-top: 2px;
    width: 100%;
    outline: none;
}
.setlist-editor-description:focus {
    color: var(--sb-text);
    box-shadow: inset 0 -1px 0 rgba(var(--sb-ice-rgb),0.3);
}
.setlist-editor-stats {
    /* Sibling of .setlist-editor-head — sits as a full-width row so the
       text right-aligns against the card's right edge, in line with the
       Default/Public toggles in the head above it. */
    margin-top: -4px;
    margin-bottom: var(--sb-space-md);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    font-family: 'Rajdhani', var(--sb-font);
    letter-spacing: 0.5px;
    text-align: right;
}
.setlist-editor-stats strong {
    color: var(--sb-ice);
    font-weight: 700;
    font-size: 16px;
}
.setlist-stats-sep {
    margin: 0 8px;
    opacity: 0.4;
}
.setlist-stats-note {
    opacity: 0.6;
    font-size: 11px;
    margin-left: 4px;
}
.setlist-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--sb-radius);
    background: rgba(var(--sb-ice-rgb),0.04);
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
    cursor: pointer;
    transition: all var(--sb-transition);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    user-select: none;
}
.setlist-toggle input { display: none; }
.setlist-toggle:hover {
    background: rgba(var(--sb-ice-rgb),0.08);
    color: var(--sb-text);
}
.setlist-toggle.active {
    background: rgba(var(--sb-ice-rgb),0.18);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    font-weight: 600;
}
.setlist-toggle-icon { font-size: 14px; }
.setlist-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(var(--sb-white-rgb),0.06);
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}
.setlist-empty-rows {
    padding: var(--sb-space-md);
    text-align: center;
    color: var(--sb-text-faint);
    font-size: var(--sb-text-sm);
    font-style: italic;
}
.setlist-row {
    display: grid;
    grid-template-columns: 18px 28px 1fr auto;
    grid-template-areas: "drag num body actions";
    gap: 8px;
    align-items: center;
    padding: 6px 4px 6px 0;
    border-bottom: 1px solid rgba(var(--sb-white-rgb),0.06);
    transition: background var(--sb-transition);
    cursor: grab;
    position: relative;
}
.setlist-row-drag    { grid-area: drag; }
.setlist-row-number  { grid-area: num; }
.setlist-row-body    { grid-area: body; }
.setlist-row-actions { grid-area: actions; }
.setlist-row:hover {
    background: rgba(var(--sb-ice-rgb),0.03);
}
.setlist-row.dragging {
    opacity: 0.4;
}
.setlist-row.drop-before {
    box-shadow: inset 0 2px 0 var(--sb-ice);
}
.setlist-row.drop-after {
    box-shadow: inset 0 -2px 0 var(--sb-ice);
}
.setlist-row-number {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 700;
    font-size: 16px;
    color: rgba(var(--sb-ice-rgb),0.7);
    text-align: center;
    letter-spacing: 0.5px;
    user-select: none;
}
.setlist-row-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.setlist-row-title {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--sb-text);
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 600;
    font-size: 14px;
    padding: 1px 4px;
    border-radius: 4px;
    transition: background var(--sb-transition);
}
.setlist-row-title:focus {
    background: rgba(var(--sb-ice-rgb),0.06);
}
.setlist-row-artist {
    width: 50%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--sb-text-muted);
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 500;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 4px;
    transition: background var(--sb-transition);
}
.setlist-row-artist::placeholder {
    color: var(--sb-text-muted);
    opacity: 1;
}
.setlist-row-artist:focus:not(:disabled) {
    background: rgba(var(--sb-ice-rgb),0.06);
    color: var(--sb-text);
}
.setlist-row-artist:disabled {
    opacity: 1;
    cursor: default;
}
.setlist-row-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 24px;
}
.setlist-row-cover-chip {
    width: 60px;
    height: 24px;
    padding: 0 8px;
    background: rgba(var(--sb-white-rgb),0.04);
    border: 1px solid rgba(var(--sb-white-rgb),0.1);
    border-radius: var(--sb-radius);
    color: var(--sb-text-muted);
    font-family: var(--sb-font);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--sb-transition);
    white-space: nowrap;
    text-align: center;
}
.setlist-row-cover-chip:hover {
    background: rgba(var(--sb-ice-rgb),0.08);
    border-color: rgba(var(--sb-ice-rgb),0.3);
    color: var(--sb-text);
}
.setlist-row-cover-chip.active {
    background: rgba(var(--sb-ice-rgb),0.15);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
}
.setlist-row-duration {
    width: 46px;
    height: 24px;
    background: rgba(var(--sb-white-rgb),0.04);
    border: 1px solid rgba(var(--sb-white-rgb),0.1);
    border-radius: var(--sb-radius);
    outline: none;
    color: var(--sb-text-muted);
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    padding: 0 4px;
    transition: all var(--sb-transition);
}
.setlist-row-duration::placeholder {
    color: rgba(var(--sb-white-rgb),0.25);
    font-weight: 500;
}
.setlist-row-duration:focus {
    background: rgba(var(--sb-ice-rgb),0.08);
    border-color: rgba(var(--sb-ice-rgb),0.4);
    color: var(--sb-text);
}
.setlist-row-delete {
    width: 24px;
    height: 24px;
    border-radius: var(--sb-radius);
    background: rgba(var(--sb-white-rgb),0.04);
    border: 1px solid rgba(var(--sb-white-rgb),0.1);
    color: var(--sb-text-muted);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all var(--sb-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.setlist-row-delete:hover {
    background: rgba(var(--sb-ice-rgb),0.12);
    border-color: rgba(var(--sb-ice-rgb),0.4);
    color: var(--sb-ice);
}
.setlist-row-drag {
    width: 18px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--sb-text-faint);
    cursor: grab;
    line-height: 1;
    user-select: none;
    opacity: 0.35;
    transition: opacity var(--sb-transition), color var(--sb-transition);
}
.setlist-row:hover .setlist-row-drag {
    opacity: 1;
    color: var(--sb-ice);
}
.setlist-row-drag:active {
    cursor: grabbing;
}

@media (max-width: 720px)  {
.setlist-editor { padding: var(--sb-space-md); }
.setlist-row {
        grid-template-columns: 28px 1fr auto;
        grid-template-areas: "num body actions";
        column-gap: 8px;
        padding: 8px 2px 8px 0;
    }
.setlist-row-number {
        font-size: 18px;
    }
.setlist-row-title {
        font-size: 14px;
        padding: 1px 3px;
    }
.setlist-row-artist {
        font-size: 11px;
        padding: 1px 3px;
        letter-spacing: 0.5px;
    }
.setlist-row-actions {
        gap: 4px;
        height: 26px;
    }
.setlist-row-cover-chip {
        width: auto;
        min-width: 0;
        height: 26px;
        padding: 0 8px;
        font-size: 8px;
        letter-spacing: 0.8px;
    }
.setlist-row-duration {
        width: 50px;
        height: 26px;
        font-size: 12px;
        padding: 0 4px;
    }
.setlist-row-delete {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
.setlist-row-drag { display: none; }
.setlist-editor-head {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--sb-space-sm);
        flex-wrap: nowrap;
    }
.setlist-editor-head-left {
        min-width: 0;
        flex: 1 1 auto;
    }
.setlist-editor-head-right {
        flex-shrink: 0;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
    }
.setlist-editor-title { font-size: 22px; }
.setlist-toggle {
        height: 26px;
        padding: 0 10px;
        gap: 5px;
        font-size: 10px;
    }
.setlist-toggle-icon { font-size: 12px; }
.setlist-editor-footer {
        flex-wrap: wrap;
        gap: 6px;
    }
.setlist-editor-footer > span[style*="flex"] {
        display: none;
    }

}

@media (max-width: 400px)  {
.setlist-row {
        grid-template-columns: 24px 1fr auto;
        grid-template-areas: "num body actions";
        column-gap: 6px;
    }
.setlist-row-number { font-size: 16px; }
.setlist-row-cover-chip { width: auto; min-width: 0; padding: 0 6px; font-size: 7px; letter-spacing: 0.6px; }
.setlist-row-duration { width: 44px; font-size: 11px; }
.setlist-row-delete { width: 24px; height: 24px; }
.setlist-row-actions { gap: 3px; }
.setlist-toggle { height: 24px; padding: 0 8px; font-size: 9px; gap: 4px; }
.setlist-toggle-icon { font-size: 11px; }

}
.setlist-row-title:focus-visible,
.setlist-row-artist:focus-visible,
.setlist-row-duration:focus-visible,
.setlist-editor-title:focus-visible,
.setlist-editor-description:focus-visible,
.setlist-add-song .sb-input:focus-visible {
    box-shadow: none !important;
    animation: none !important;
    outline: none;
}
.setlist-canvas-wrap {
    width: 100%;
    margin-bottom: var(--sb-space-lg);
    border-radius: 10px;
    overflow: hidden;
}
.setlist-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 1350;
}
.setlist-saved-blip {
    animation: setlist-saved-flash 0.8s ease-out;
}
.setlist-add-song {
    margin-top: var(--sb-space-md);
    padding: 2px;
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.1), rgba(var(--sb-violet-rgb),0.1));
    border-radius: var(--sb-radius);
}
.setlist-add-song .sb-input {
    background: rgba(8,12,20,0.9);
    border: none;
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 500;
    font-size: 15px;
    padding: 12px 14px;
}
.setlist-add-song .sb-input::placeholder {
    color: rgba(var(--sb-white-rgb),0.35);
}
.setlist-editor-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--sb-space-lg);
    padding-top: var(--sb-space-md);
    border-top: 1px solid rgba(var(--sb-white-rgb),0.06);
}
.setlist-editor-footer .sb-btn {
    height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}
.setlist-public-card {
    padding: var(--sb-space-xl);
    background: linear-gradient(180deg, rgba(var(--sb-ice-rgb),0.03), transparent);
    position: relative;
}
.setlist-public-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--sb-space-md);
    margin-bottom: var(--sb-space-md);
    flex-wrap: wrap;
}
.setlist-public-title-block {
    flex: 1;
    min-width: 200px;
}
.setlist-public-label {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sb-ice);
    opacity: 0.8;
    margin-bottom: 4px;
}
.setlist-public-name {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 800;
    font-size: 26px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--sb-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}
.setlist-public-stats {
    margin-top: 6px;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    letter-spacing: 0.5px;
}
.setlist-public-selector {
    padding: 6px 10px;
    background: rgba(var(--sb-ice-rgb),0.08);
    border: 1px solid rgba(var(--sb-ice-rgb),0.25);
    border-radius: 6px;
    color: var(--sb-text);
    font-family: var(--sb-font);
    font-size: var(--sb-text-xs);
    cursor: pointer;
}
.setlist-public-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(var(--sb-white-rgb),0.06);
}
.setlist-public-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
}
.setlist-public-row:last-child { border-bottom: none; }
.setlist-public-num {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 700;
    font-size: 18px;
    color: rgba(var(--sb-ice-rgb),0.7);
    text-align: center;
    user-select: none;
}
.setlist-public-title {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 600;
    font-size: 15px;
    color: var(--sb-text);
    line-height: 1.2;
}
.setlist-public-artist {
    font-family: var(--sb-font);
    font-size: 10px;
    color: var(--sb-text-faint);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.setlist-public-pill {
    font-family: var(--sb-font);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 999px;
}
.setlist-public-pill.cover {
    background: rgba(var(--sb-ice-rgb),0.12);
    color: var(--sb-ice);
    border: 1px solid rgba(var(--sb-ice-rgb),0.25);
}
.setlist-public-pill.original {
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.15), rgba(var(--sb-violet-rgb),0.15));
    color: var(--sb-text);
    border: 1px solid rgba(var(--sb-violet-rgb),0.25);
}
.setlist-public-expand {
    margin-top: var(--sb-space-md);
    text-align: center;
}
.setlist-public-expand button {
    background: transparent;
    border: 1px solid rgba(var(--sb-ice-rgb),0.25);
    color: var(--sb-ice);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--sb-transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.setlist-public-expand button:hover {
    background: rgba(var(--sb-ice-rgb),0.1);
    border-color: var(--sb-ice);
}
.setlist-print-view { display: none; }

@media print  {
body.printing-setlist > *:not(.setlist-print-view) {
        display: none !important;
    }
body.printing-setlist .setlist-print-view {
        display: block !important;
        position: static;
        padding: 40px;
        color: #000;
        background: #fff;
        font-family: 'Rajdhani', Arial, sans-serif;
    }
.setlist-print-head {
        text-align: center;
        border-bottom: 3px solid #000;
        padding-bottom: 20px;
        margin-bottom: 24px;
    }
.setlist-print-name {
        font-size: 42px;
        font-weight: 800;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
.setlist-print-artist-name {
        font-size: 18px;
        margin-top: 6px;
        letter-spacing: 1px;
    }
.setlist-print-rows {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
.setlist-print-row {
        display: flex;
        align-items: baseline;
        gap: 16px;
        font-size: 24px;
        font-weight: 600;
        padding: 6px 0;
        border-bottom: 1px solid #ddd;
    }
.setlist-print-num {
        width: 44px;
        text-align: right;
        font-weight: 700;
    }
.setlist-print-title {
        flex: 1;
    }
.setlist-print-artist {
        font-size: 14px;
        font-weight: 400;
        color: #666;
        font-style: italic;
    }
.setlist-print-foot {
        text-align: center;
        margin-top: 24px;
        padding-top: 12px;
        border-top: 2px solid #000;
        font-size: 14px;
        letter-spacing: 1px;
    }

}
body.authenticated::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('assets/hero-concert.webp') center/cover no-repeat;
    background: image-set(url('assets/hero-concert.webp') type('image/webp'), url('assets/hero-concert.jpg') type('image/jpeg')) center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}
.sb-skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 10px 20px;
    background: var(--sb-bg-body);
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s ease;
}
.sb-skip-link:focus {
    top: 12px;
}
.sb-input:focus-visible,
.sb-select:focus-visible,
.sb-textarea:focus-visible {
    box-shadow: var(--sb-glow-sky);
}
.sb-notification-bell:focus-visible {
    border-radius: var(--sb-radius-full);
}
.sb-user-profile:focus-visible {
    border-radius: var(--sb-radius);
}
.sb-bg-fx {
    display: block;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
body.light-mode .sb-bg-fx {
    opacity: 1;
}
.sb-bg-fx canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sb-gradient-text {
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}
.sb-label {
    display: block;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text-secondary);
    margin-bottom: var(--sb-space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sb-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-xs);
}
.sb-label-row .sb-label {
    margin-bottom: 0;
}
.sb-input-hint {
    margin-top: var(--sb-space-xs);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    line-height: 1.4;
}
.sb-input-hint strong {
    color: var(--sb-text-secondary);
    font-weight: 600;
}
.sb-spinner-inline {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: var(--sb-radius-full);
    animation: sb-spin 0.6s linear infinite;
    vertical-align: -2px;
    margin-right: 4px;
}
.sb-text-muted {
    color: var(--sb-text-muted);
}
.sb-gradient-border {
    border: none;
    background: rgba(14, 20, 33, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: visible;
}
.sb-gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.sb-gradient-border-subtle {
    border: 1px solid transparent;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, rgba(56,189,248,0.3), rgba(14,165,233,0.3), rgba(99,102,241,0.3)) border-box;
}
.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-sm);
    padding: 10px 20px;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: all var(--sb-transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}
.sb-btn-primary {
    background: var(--sb-gradient);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: var(--sb-shadow-glow);
}
.sb-btn-primary:hover {
    color: #fff;
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(56,189,248,0.25);
    transform: translateY(-1px);
}
.sb-btn-secondary {
    background: var(--sb-bg-card);
    color: var(--sb-text);
    border: 1px solid var(--sb-border);
}
.sb-btn-secondary:hover {
    color: var(--sb-text);
    background: var(--sb-bg-card-hover);
    border-color: var(--sb-border-light);
}
.sb-btn-gradient-outline {
    background-image: var(--sb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid var(--sb-ice);
}
.sb-btn-gradient-outline:hover {
    box-shadow: 0 0 14px rgba(56,189,248,0.25), 0 0 6px rgba(99,102,241,0.15);
}
.sb-btn-outline {
    background: transparent;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
}
.sb-btn-outline:hover {
    color: #fff;
    background: rgba(56,189,248,0.1);
    box-shadow: 0 0 30px rgba(56,189,248,0.25);
    transform: translateY(-1px);
}
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--sb-space-3xl) + 13px) var(--sb-space-lg) calc(var(--sb-space-3xl) - 35px);
    position: relative; overflow: hidden;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: calc(var(--sb-space-lg) - 12px); white-space: nowrap; }

@media (max-width: 768px)  {
.hero { min-height: 100vh; }
.hero h1 { font-size: 2rem; white-space: normal; }

}
.hero-alpha-badge { display: inline-block; font-size: var(--sb-text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sb-ice); margin-bottom: var(--sb-space-lg); }
.hero .sb-btn-primary:hover { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.radar-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; border: 1px solid transparent; border-radius: var(--sb-radius-lg); padding: 24px 60px 16px; overflow: visible; animation: sb-card-breathe 4s ease-in-out infinite; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding-top: 8px; }
.page-content { max-width: 1100px; margin: 0 auto; padding: var(--sb-space-3xl) var(--sb-space-lg); }
.city-pills:last-child { margin-bottom: var(--sb-space-2xl); }
.hub-region-section { margin-bottom: 56px; }
.hub-region-header {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 14px; margin-bottom: 22px;
    border-bottom: 1px solid rgba(56,189,248,0.15);
    position: relative;
}
.hub-region-header::after {
    content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 60px;
    background: var(--sb-gradient);
}
.hub-region-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem; font-weight: 700; line-height: 1;
    background: var(--sb-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: 0.02em; min-width: 48px;
}
.hub-region-name {
    font-size: 1.5rem; font-weight: 800; color: var(--sb-text-primary);
    margin: 0; flex: 1; letter-spacing: -0.01em;
}
.hub-region-count {
    font-size: 0.72rem; font-weight: 700; color: var(--sb-ice);
    background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.2);
    padding: 5px 12px; border-radius: var(--sb-radius-sm); letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hub-region-desc {
    font-size: 0.88rem; color: var(--sb-text-secondary); line-height: 1.6;
    margin: -12px 0 22px; max-width: 720px;
}
.hub-city-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}
.hub-city-card {
    position: relative; display: flex; flex-direction: row; align-items: stretch;
    text-decoration: none; min-height: 116px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg);
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.hub-city-card-text {
    flex: 1; display: flex; flex-direction: column; gap: 4px;
    padding: 18px 20px; position: relative; z-index: 2;
    min-width: 0;
}
.hub-city-card-img {
    flex-shrink: 0; width: 42%; min-width: 120px;
    background-size: cover; background-position: center;
    position: relative;
}
.hub-city-card-img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--sb-card-fill) 0%, rgba(15,21,37,0.5) 40%, transparent 85%);
    pointer-events: none;
}
.hub-city-card--with-image .hub-city-card-text { padding-right: 12px; }
.sb-breadcrumb {
    max-width: 1100px; margin: 0 auto;
    padding: var(--sb-space-xl) var(--sb-space-lg) var(--sb-space-sm);
    font-size: 0.78rem; color: var(--sb-text-muted);
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.genre-section { padding: var(--sb-space-2xl) 0; }
.genre-section--alt { background: var(--sb-bg-surface); }
.genre-section--top { padding-top: var(--sb-space-lg); padding-bottom: var(--sb-space-lg); }
.genre-section-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; line-height: 1.15; margin-bottom: var(--sb-space-md);
    letter-spacing: -0.02em;
}
.genre-section-lead {
    font-size: 1.02rem; color: var(--sb-text-secondary);
    line-height: 1.6; max-width: 780px; margin-bottom: 0;
}
.genre-section--top .genre-section-heading,
.genre-section--top .genre-section-lead {
    text-align: center; margin-left: auto; margin-right: auto;
}
.genre-section--top .genre-venues { justify-content: center; }
.genre-section--alt .sb-breadcrumb { padding-top: 0; padding-bottom: var(--sb-space-md); }
.genre-venues {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    margin-top: var(--sb-space-lg);
}
.genre-venues-label {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--sb-text-muted);
}
.genre-venues-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-venue-pill {
    font-size: 0.78rem; font-weight: 500; color: var(--sb-text-secondary);
    padding: 6px 12px; border-radius: var(--sb-radius-sm);
    background: rgba(56,189,248,0.05); border: 1px solid rgba(56,189,248,0.15);
    white-space: nowrap;
}
.sb-breadcrumb-link { color: var(--sb-text-secondary); text-decoration: none; transition: color 0.15s; }
.sb-breadcrumb-link:hover { color: var(--sb-ice); }
.sb-breadcrumb-sep { color: var(--sb-text-muted); opacity: 0.5; }
.sb-breadcrumb-current { color: var(--sb-text-primary); font-weight: 600; }
.hub-city-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
    background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(99,102,241,0.04));
    opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.hub-city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 16px rgba(56,189,248,0.22), 0 0 28px rgba(99,102,241,0.10);
}
.hub-city-card:hover::before { opacity: 1; }
.hub-city-card-name {
    font-size: 1rem; font-weight: 700; color: var(--sb-text-primary);
    letter-spacing: -0.01em; position: relative; z-index: 1;
}
.hub-city-card-region {
    font-size: 0.7rem; font-weight: 600; color: var(--sb-text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    position: relative; z-index: 1;
}
.hub-city-card-cta {
    margin-top: 8px; font-size: 0.76rem; font-weight: 600; color: var(--sb-ice);
    display: inline-flex; align-items: center; gap: 4px;
    opacity: 0.75; transition: opacity 0.2s, gap 0.2s;
    position: relative; z-index: 1;
}
.hub-city-card:hover .hub-city-card-cta { opacity: 1; gap: 8px; }
.hub-city-card-arrow { transition: transform 0.2s; }
.hub-city-card:hover .hub-city-card-arrow { transform: translateX(2px); }

@media (max-width: 600px)  {
.hub-city-grid { grid-template-columns: 1fr; }
.hub-region-name { font-size: 1.2rem; }
.hub-region-num { font-size: 1.5rem; min-width: 40px; }
.hub-city-card { min-height: 100px; }
.hub-city-card-img { width: 38%; min-width: 100px; }

}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sb-space-md); }
.related-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; padding: 20px; border-radius: var(--sb-radius-lg); border: 1px solid transparent; background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; transition: all 0.2s; }
.related-card:hover { background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08); transform: translateY(-2px); }
.related-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--sb-text); margin-bottom: 4px; height: 2.5em; line-height: 1.25; overflow: hidden; }
.related-card p { font-size: 0.78rem; color: var(--sb-text-muted); margin: 0; }
.faq-item { margin-bottom: 20px; }
.faq-q { font-weight: 700; color: var(--sb-text); margin-bottom: 6px; font-size: 0.92rem; }
.faq-a { color: var(--sb-text-secondary); font-size: 0.85rem; line-height: 1.7; }
.section-title { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin-bottom: var(--sb-space-sm); }
.section-sub { color: var(--sb-text-muted); font-size: 0.85rem; margin-bottom: var(--sb-space-lg); }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sb-space-lg); margin-bottom: 48px; }
.scene-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg); padding: 24px;
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.scene-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--sb-ice); }
.scene-card p { font-size: 0.85rem; color: var(--sb-text-secondary); line-height: 1.7; }

@media (max-width: 600px)  {
.scene-grid { grid-template-columns: 1fr; }

}

@media (max-width: 768px)  {
.section-title, .section-sub { text-align: center; }
.scene-card { text-align: center; }
.scene-card h3 { text-align: center; }
.related-card { text-align: center; }
.radar-wrap { text-align: center; }

}
.cmp-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg); padding: 24px;
    animation: sb-card-breathe 4s ease-in-out infinite; margin-bottom: 48px; overflow-x: auto;
}
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.cmp-table th { text-align: left; padding: 10px 14px; font-size: 0.72rem; font-weight: 700; color: var(--sb-text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--sb-border); }
.cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--sb-border); color: var(--sb-text-secondary); }
.cmp-table tr:hover td { background: rgba(56,189,248,0.03); }
.cmp-highlight { color: var(--sb-ice); font-weight: 600; }
.cmp-weak { color: var(--sb-text-muted); }

@media (max-width: 600px)  {
.cmp-table { font-size: 0.72rem; }

}
.scene-card,
.cmp-card,
.price-card,
.pay-card,
.page-content .cta-section,
.radar-wrap { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.page-content .cta-section {
    text-align: center; padding: 60px var(--sb-space-lg); margin-bottom: 48px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg);
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.page-content .cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: var(--sb-space-sm); }
.page-content .cta-section p { color: var(--sb-text-secondary); margin-bottom: var(--sb-space-lg); font-size: 0.95rem; }
.scene-card:hover,
.cmp-card:hover,
.price-card:hover,
.pay-card:hover,
.page-content .cta-section:hover,
.radar-wrap:hover {
    animation: none;
    transform: translateY(-3px);
    background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08);
}
.related-section { margin-bottom: 48px; }
.hero-sub h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

@media (max-width: 768px)  {
.hero-sub h1 { font-size: 1.9rem; }

}
.hero-search { position: relative; max-width: 560px; margin: 0 auto var(--sb-space-lg); }
.hero-search input {
    width: 100%; padding: 16px 20px 16px 48px; font-size: var(--sb-text-base); font-family: var(--sb-font);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg); color: var(--sb-text); outline: none; transition: box-shadow 0.3s;
}
.hero-search input::placeholder { color: var(--sb-text-muted); }
.hero-search input:focus { box-shadow: 0 0 24px rgba(var(--sb-ice-rgb),0.2), 0 0 48px rgba(var(--sb-violet-rgb),0.08); }
.hero-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--sb-text-muted); pointer-events: none; }
.hero-search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--sb-text-muted); cursor: pointer; font-size: 18px; padding: 4px; display: none; font-family: var(--sb-font); }
.hero-search-clear:hover { color: var(--sb-ice); }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--sb-space-sm); justify-content: center; margin-bottom: var(--sb-space-2xl); }
.hero-pill {
    display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sb-space-xs); padding: 6px 14px;
    font-size: var(--sb-text-sm); font-family: var(--sb-font); font-weight: 600; color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.08); border: 1px solid rgba(var(--sb-ice-rgb),1);
    border-radius: var(--sb-radius); cursor: pointer; transition: all 0.25s ease; white-space: nowrap;
}
.hero-pill:hover { color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.15); border-color: var(--sb-ice); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--sb-ice-rgb),0.15); }
.faq-item.search-hit { border-color: rgba(var(--sb-ice-rgb),0.3); }
.faq-item.search-hidden { display: none; }
.faq-section.search-hidden { display: none; }
.search-no-results { text-align: center; color: var(--sb-text-muted); padding: var(--sb-space-2xl); font-size: var(--sb-text-lg); display: none; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sb-space-2xl); margin-bottom: var(--sb-space-2xl); }
.hero-stat-value { font-size: var(--sb-text-3xl); font-weight: 700; background: var(--sb-gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; width: fit-content; margin: 0 auto; }
.hero-stat-label { font-size: var(--sb-text-sm); color: var(--sb-text-muted); margin-top: var(--sb-space-xs); }
.hero-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sb-space-md); padding-top: var(--sb-space-lg); border-top: 1px solid rgba(var(--sb-ice-rgb),0.12); text-align: center; }
.faq-container { max-width: 800px; margin: 0 auto; padding: var(--sb-space-2xl) var(--sb-space-lg); }
.faq-section { margin-bottom: 0; }
.faq-section-header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sb-space-sm); margin-bottom: var(--sb-space-md); }
.faq-section-icon { font-size: 24px; flex-shrink: 0; }
.faq-section-header h2 { font-size: var(--sb-text-2xl); font-weight: 700; color: var(--sb-text); }
.section-header { text-align: center; margin-bottom: var(--sb-space-2xl); }
.section-header h2 { font-size: var(--sb-text-3xl); margin-bottom: var(--sb-space-sm); }
.section-header p { color: var(--sb-text-secondary); font-size: var(--sb-text-lg); max-width: 600px; margin: 0 auto; }
.cta-buttons .sb-btn { padding: 16px 40px; font-size: var(--sb-text-base); }

@media (max-width: 768px)  {
.hero-search input { padding: 14px 18px 14px 44px; font-size: var(--sb-text-sm); }
.hero-pills { gap: 6px; }
.hero-pill { padding: 6px 12px; font-size: var(--sb-text-xs); }
.hero-categories { display: none; }
.hero-stats { gap: var(--sb-space-lg); }
.hero-stat-value { font-size: var(--sb-text-xl); }
.hero-stat-label { font-size: var(--sb-text-xs); }
.hero-stats > div + div { padding-left: var(--sb-space-lg); }
.faq-section-header { justify-content: center; }
.faq-section-header h2 { text-align: center; }
.section-header h2 { font-size: var(--sb-text-2xl); }
.cta-buttons .sb-btn { width: 100%; max-width: 280px; padding: 14px 24px; font-size: var(--sb-text-sm); }

}

@media (max-width: 480px)  {
.hero-stats { gap: var(--sb-space-md); }
.hero-stat-value { font-size: var(--sb-text-lg); }

}
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sb-space-lg); width: 100%; }
.role-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius); padding: var(--sb-space-xl) var(--sb-space-lg);
    text-align: center; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.role-card:hover {
    animation: none; transform: translateY(-3px);
    background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08);
}
.role-card.active { box-shadow: 0 0 20px rgba(56,189,248,0.25), 0 0 40px rgba(99,102,241,0.1); border: 1px solid var(--sb-ice); }
.role-card-icon { display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sb-space-sm); color: var(--sb-text); transition: color 0.25s ease; }
.role-card-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.role-card:hover .role-card-icon { color: var(--sb-ice); }
.role-card h3 { font-size: var(--sb-text-base); font-weight: 700; margin-bottom: 4px; }
.role-card .role-card-sub { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-bottom: 4px; }
.role-card .role-card-count { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
.guide-panel { display: none; }
.guide-panel.active { display: block; }
.guide-panel.active .step-card { opacity: 1; transform: translateY(0); }
.guide-panel.active .step-card:nth-child(1) { transition-delay: 0s; }
.guide-panel.active .step-card:nth-child(2) { transition-delay: 0.06s; }
.guide-panel.active .step-card:nth-child(3) { transition-delay: 0.12s; }
.guide-panel.active .step-card:nth-child(4) { transition-delay: 0.18s; }
.guide-panel.active .step-card:nth-child(5) { transition-delay: 0.24s; }
.guide-panel.active .step-card:nth-child(6) { transition-delay: 0.30s; }
.guide-panel.active .step-card:hover {
    animation: none; transform: translateY(-3px);
    background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08); cursor: default;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 768px)  {
.role-cards { grid-template-columns: repeat(2, 1fr); }
.guides-hero + .section-band .step-body { text-align: left; display: block; }
.guides-hero + .section-band .step-body ul { display: block; text-align: left; }

}

@media (max-width: 480px)  {
.role-cards { grid-template-columns: 1fr; }

}
.contact-hero .hero-subtitle { font-size: var(--sb-text-xl); line-height: 1.7; }
.hero-cta { display: flex; gap: var(--sb-space-sm); justify-content: center; flex-wrap: wrap; }
.hero-features { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sb-space-sm); margin-top: var(--sb-space-2xl); margin-bottom: var(--sb-space-2xl); font-size: var(--sb-text-sm); }
.hero-feature { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sb-space-xs); padding: 6px 14px; border-radius: var(--sb-radius); background: rgba(var(--sb-ice-rgb),0.08); border: 1px solid rgba(var(--sb-ice-rgb),1); color: var(--sb-ice); font-weight: 600; }
.hero-feature svg { width: 16px; height: 16px; color: var(--sb-ice); flex-shrink: 0; }
.contact-hero .hero-categories { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: var(--sb-space-md); margin-top: 0; padding-top: var(--sb-space-lg); border-top: 1px solid rgba(var(--sb-ice-rgb),0.12); text-align: left; }
.hero-cat-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius); padding: var(--sb-space-md); cursor: pointer;
    transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sb-space-sm);
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.hero-cat-card:hover {
    animation: none; transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.hero-cat-card .cat-icon { display: flex; align-items: center; justify-content: center; color: var(--sb-text); flex-shrink: 0; transition: color 0.25s ease; }
.hero-cat-card:hover .cat-icon { color: var(--sb-ice); }
.hero-cat-card .cat-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.hero-cat-card .cat-label { font-size: var(--sb-text-base); font-weight: 700; color: var(--sb-text); margin-bottom: 2px; }
.hero-cat-card .cat-desc { font-size: var(--sb-text-xs); color: var(--sb-text-muted); line-height: 1.4; }
.hero-cat-card:nth-child(2) { animation-delay: 0.6s; }
.hero-cat-card:nth-child(3) { animation-delay: 1.2s; }
.hero-cat-card:nth-child(4) { animation-delay: 1.8s; }
.hero-cat-card:nth-child(5) { animation-delay: 2.4s; }
.hero-cat-card:nth-child(6) { animation-delay: 3.0s; }
.hero-cat-card:nth-child(7) { animation-delay: 3.6s; }
.hero-cat-card:nth-child(8) { animation-delay: 0.3s; }
.hero-cat-card:nth-child(9) { animation-delay: 0.9s; }
.contact-page .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sb-space-lg); margin-bottom: var(--sb-space-2xl); }
.contact-page .form-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius-lg); padding: var(--sb-space-xl);
    animation: sb-card-breathe 4s ease-in-out infinite; display: flex; flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-page .form-card:hover {
    animation: none; transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.contact-page .form-card-highlight { animation: formFlash 2s ease-out forwards !important; }
.contact-page .form-card h2 { font-size: clamp(1.4rem, 2.5vw, var(--sb-text-2xl)); font-weight: 800; margin-bottom: var(--sb-space-xs); color: var(--sb-text); letter-spacing: -0.02em; }
.contact-page .form-card form { flex: 1; display: flex; flex-direction: column; }
.contact-page .form-card .form-actions { margin-top: var(--sb-space-lg); padding-top: 0; }
.contact-page .form-card form > .form-group:last-of-type { margin-bottom: 0; }
.contact-page .card-header { margin-bottom: var(--sb-space-lg); }
.contact-page .form-group { margin-bottom: var(--sb-space-md); }
.contact-page .form-group label { display: block; font-size: var(--sb-text-sm); font-weight: 500; color: var(--sb-text-secondary); margin-bottom: var(--sb-space-xs); }
.contact-page .form-group input, .contact-page .form-group select, .contact-page .form-group textarea { width: 100%; padding: 10px 14px; background: var(--sb-card-fill); border: 1px solid var(--sb-border); border-radius: var(--sb-radius); color: var(--sb-text); font-family: inherit; font-size: 16px; transition: border-color 0.2s; }
.contact-page .form-group input:focus, .contact-page .form-group select:focus, .contact-page .form-group textarea:focus { outline: none; border-color: var(--sb-ice); }
.contact-page .form-group input:-webkit-autofill,
.contact-page .form-group input:-webkit-autofill:hover,
.contact-page .form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--sb-card-fill) inset;
    -webkit-text-fill-color: var(--sb-text);
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--sb-text);
}
.contact-page .form-group textarea { min-height: 120px; resize: vertical; }
.contact-page .form-group select { cursor: pointer; }
.contact-page .custom-select { position: relative; }
.contact-page .custom-select-trigger { width: 100%; padding: 10px 14px; padding-right: 36px; background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; border: 1px solid transparent; border-radius: var(--sb-radius); color: var(--sb-text-muted); font-family: inherit; font-size: 16px; cursor: pointer; transition: all 0.2s; position: relative; box-sizing: border-box; }
.contact-page .custom-select-trigger.has-value { color: var(--sb-text); }
.contact-page .custom-select-trigger::after { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--sb-ice); transition: transform 0.2s; }
.contact-page .custom-select.open .custom-select-trigger::after { transform: translateY(-50%) rotate(180deg); }
.contact-page .custom-select-options { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 50; border-radius: var(--sb-radius); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.4); background: rgba(12,16,24,0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.contact-page .custom-select-options::before { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; background: var(--sb-gradient) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none; z-index: 1; }
.contact-page .custom-select.open .custom-select-options { display: block; }
.contact-page .custom-select-option { padding: 10px 14px; cursor: pointer; font-size: 16px; color: var(--sb-text-secondary); transition: all 0.15s; }
.contact-page .custom-select-option:hover { background: rgba(var(--sb-ice-rgb),0.1); color: var(--sb-text); }
.contact-page .custom-select-option.selected { color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.06); }
.contact-page .form-actions { display: flex; justify-content: center; margin-top: var(--sb-space-lg); }
.contact-page .email-badges { display: flex; flex-wrap: wrap; gap: var(--sb-space-xs); margin-top: var(--sb-space-sm); }
.contact-page .email-badges .sb-badge-ghost { text-decoration: none; cursor: pointer; }
.contact-page .email-badges .sb-badge-ghost:hover { color: var(--sb-ice); border-color: var(--sb-ice); }
.contact-page .email-badges .badge-active { color: var(--sb-ice) !important; border-color: var(--sb-ice) !important; background: rgba(var(--sb-ice-rgb),0.1); }
.contact-page .form-toggle-bar { display: none; }

@media (max-width: 768px)  {
.contact-hero .hero-categories { grid-template-columns: 1fr 1fr; border-top: none; padding-top: 0; margin-bottom: var(--sb-space-xl); }
.contact-page .form-grid { grid-template-columns: 1fr; }
.contact-page .form-actions { justify-content: center; }
.contact-page .form-grid .form-card { display: none; }
.contact-page .form-grid .form-card.form-active { display: flex; }
.contact-page .form-toggle-bar { display: flex; gap: var(--sb-space-xs); margin-bottom: var(--sb-space-md); }
.contact-page .form-toggle-pill { flex: 1; padding: 10px 14px; border-radius: var(--sb-radius); font-size: var(--sb-text-sm); font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid rgba(var(--sb-ice-rgb),0.3); background: transparent; color: rgba(var(--sb-ice-rgb),0.6); transition: all 0.2s; line-height: 1.4; text-align: center; }
.contact-page .form-toggle-pill.active { background: rgba(var(--sb-ice-rgb),0.12); border-color: var(--sb-ice); color: var(--sb-ice); }
.contact-page .page-header h1 { text-align: center; }
.contact-page .page-header p { text-align: center; }

}

@media (max-width: 480px)  {
.contact-hero .hero-categories { grid-template-columns: 1fr; }

}
.cta-section .sb-btn,
.hero-ctas .sb-btn,
.sb-topbar-right .sb-btn { transition: box-shadow 0.3s ease, transform 0.3s ease; min-width: 100px; text-align: center; }
.cta-section .sb-btn-primary:hover,
.hero-ctas .sb-btn-primary:hover,
.sb-topbar-right .sb-btn-primary:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08);
}
.cta-section .sb-btn-outline:hover,
.hero-ctas .sb-btn-outline:hover,
.sb-topbar-right .sb-btn-outline:hover,
.sb-topbar-right .sb-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08);
}
.sb-btn-ghost {
    background: transparent;
    color: var(--sb-text-secondary);
    border: 1px solid var(--sb-ice);
    transition: color var(--sb-transition), box-shadow var(--sb-transition);
}
.sb-btn-ghost:hover {
    color: var(--sb-ice-light);
    animation: sb-ghost-breathe 2s ease-in-out infinite;
}
.sb-btn-danger {
    background: var(--sb-error);
    color: #fff;
}
.sb-btn-danger:hover {
    color: #fff;
    opacity: 0.9;
}
.sb-btn-sm {
    padding: 6px 12px;
    font-size: var(--sb-text-xs);
}
.sb-btn-sm.sb-btn-primary {
    box-shadow: none;
}
.sb-btn-xs {
    padding: 3px 8px;
    font-size: 10px;
    line-height: 1.3;
}
.sb-btn-lg {
    padding: 14px 28px;
    font-size: var(--sb-text-base);
}
.sb-btn-block {
    width: 100%;
}
.sb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.sb-breadcrumb { display:flex; align-items:center; gap:var(--sb-space-sm); margin-bottom:var(--sb-space-md); font-size:var(--sb-text-sm); }
.sb-breadcrumb-back { padding:var(--sb-space-xs) var(--sb-space-sm); display:inline-flex; align-items:center; }
.sb-breadcrumb-back .sb-icon svg { width:18px; height:18px; }
.sb-breadcrumb-trail { display:flex; align-items:center; gap:var(--sb-space-xs); flex-wrap:wrap; }
.sb-breadcrumb-link { cursor:pointer; color:var(--sb-text-muted); transition:color var(--sb-transition); }
.sb-breadcrumb-link:hover { background:var(--sb-gradient-text); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.sb-breadcrumb-sep { color:var(--sb-text-muted); opacity:0.5; }
.sb-breadcrumb-current { background:var(--sb-gradient-text); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; font-weight:600; }
.sb-input,
.sb-select,
.sb-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--sb-bg-input);
    color: var(--sb-text);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-base);
    font-family: inherit;
    line-height: 1.4;
    transition: border-color var(--sb-transition);
    outline: none;
}
.sb-input:focus,
.sb-select:focus,
.sb-textarea:focus {
    border-color: var(--sb-ice);
    box-shadow: 0 0 0 2px rgba(56,189,248,0.15);
}
.sb-input:-webkit-autofill,
.sb-input:-webkit-autofill:hover,
.sb-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--sb-bg-input) inset;
    -webkit-text-fill-color: var(--sb-text);
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--sb-text);
}
.sb-input::placeholder,
.sb-textarea::placeholder {
    color: var(--sb-text-muted);
}
.sb-input[type="number"]::-webkit-inner-spin-button,
.sb-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.sb-input[type="number"] {
    -moz-appearance: textfield;
}
.sb-textarea {
    resize: vertical;
    min-height: 100px;
}
.sb-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3B4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.sb-modal .sb-select {
    background-color: rgba(15, 21, 37, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.sb-modal .sb-custom-select-trigger {
    background: rgba(10, 15, 28, 0.70);
    border: 1px solid rgba(56,189,248,0.25);
}
.sb-modal .sb-custom-select-trigger:hover,
.sb-modal .sb-custom-select.open .sb-custom-select-trigger {
    background: rgba(10, 15, 28, 0.80);
    border: 1px solid rgba(56,189,248,0.4);
}
.sb-modal .sb-custom-select-options {
    background: rgba(10, 15, 28, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(56,189,248,0.25);
}
.sb-modal .sb-input,
.sb-modal .sb-textarea {
    background: rgba(10, 15, 28, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.sb-custom-select {
    position: relative;
}
.sb-custom-select.open {
    z-index: 100;
}
.sb-custom-select .sb-select { display: none; }
.sb-custom-select-trigger {
    width: 100%;
    padding: 10px 36px 10px 14px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    color: var(--sb-text);
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-base);
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    transition: all var(--sb-transition);
    outline: none;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3B4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transition: transform 0.2s;
}
.sb-custom-select.open .sb-custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}
.sb-custom-select-trigger:hover {
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box,
        linear-gradient(135deg, rgba(56,189,248,0.8), rgba(14,165,233,0.8), rgba(99,102,241,0.8)) border-box;
}
.sb-custom-select.open .sb-custom-select-trigger,
.sb-custom-select-trigger:focus {
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 0 2px rgba(56,189,248,0.15);
}
.sb-custom-select-trigger .sb-placeholder {
    color: var(--sb-text-muted);
}
.sb-custom-select-options {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: rgba(15,21,37,0.70);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius);
    z-index: 200;
    display: none;
    overflow: visible;
    box-shadow: 0 0 12px rgba(56,189,248,0.25), 0 0 24px rgba(99,102,241,0.15);
    animation: sb-dp-glow 3s ease-in-out infinite;
}
.sb-custom-select-options::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.sb-custom-select-options-inner {
    max-height: 240px;
    overflow-y: auto;
    border-radius: inherit;
    background: transparent;
}
.sb-custom-select-options-inner::-webkit-scrollbar { width: 4px; }
.sb-custom-select-options-inner::-webkit-scrollbar-track { background: transparent; }
.sb-custom-select-options-inner::-webkit-scrollbar-thumb { background: var(--sb-border-light); border-radius: var(--sb-radius-pill); }
.sb-custom-datepicker {
    position: relative;
}
.sb-datepicker-trigger::after { display: none !important; }
.sb-datepicker-trigger::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
}
.sb-datepicker-trigger {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding-right: 10px !important;
}
.sb-datepicker-panel {
    min-width: 0;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    background: rgba(14, 20, 33, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius);
    box-shadow: 0 0 12px rgba(56,189,248,0.25), 0 0 24px rgba(99,102,241,0.15);
    animation: sb-dp-glow 3s ease-in-out infinite;
}
.sb-datepicker-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    border: 1px solid transparent;
    background: linear-gradient(135deg, #38BDF8, #0EA5E9, #6366F1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.sb-custom-datepicker.open .sb-datepicker-panel { display: block; }
.sb-dp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.sb-dp-title {
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text);
    flex: 1;
    text-align: center;
}
.sb-dp-nav {
    background: none;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    transition: all var(--sb-transition);
}
.sb-dp-nav:hover {
    border-color: var(--sb-ice);
    color: var(--sb-ice);
}
.sb-dp-nav .sb-icon svg { width: 14px; height: 14px; }
.sb-dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.sb-dp-day-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--sb-text-muted);
    padding: 4px 0;
    line-height: 1.2;
}
.sb-dp-day {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-secondary);
    padding: 5px 0;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: all var(--sb-transition);
    line-height: 1.2;
}

@media (max-width: 768px)  {
.sb-datepicker-panel { padding: 6px; }
.sb-dp-day-label { padding: 2px 0; }
.sb-dp-day { padding: 3px 0; }
.sb-dp-grid { gap: 1px; }
.sb-dp-header { margin-bottom: 2px; }
.sb-dp-footer { margin-top: 2px; }

}
.sb-dp-day:hover:not(.sb-dp-empty) {
    background: rgba(56,189,248,0.12);
    color: var(--sb-text);
}
.sb-dp-day.today {
    border: 1px solid var(--sb-ice);
    color: var(--sb-ice);
}
.sb-dp-day.selected {
    background: var(--sb-gradient);
    color: #fff;
    font-weight: 600;
}
.sb-dp-empty { cursor: default; }
.sb-dp-footer {
    margin-top: 4px;
    text-align: center;
}
.sb-dp-clear {
    background: none;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    padding: 4px 12px;
    cursor: pointer;
    transition: all var(--sb-transition);
}
.sb-dp-clear:hover {
    border-color: var(--sb-ice);
    color: var(--sb-text);
}
body.light-mode .sb-datepicker-panel { background: rgba(255, 255, 255, 0.7); }
body.light-mode .sb-dp-day:hover:not(.sb-dp-empty) { background: rgba(0,0,0,0.05); }
body.light-mode .sb-dp-day.today { border-color: var(--sb-sky); color: var(--sb-sky); }
.sb-custom-timepicker {
    position: relative;
}
.sb-custom-timepicker.open {
    z-index: 100;
}
.sb-timepicker-trigger::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
    width: 14px !important;
    height: 14px !important;
}
.sb-custom-timepicker.open .sb-custom-select-options { display: block; }
.sb-tp-slot.selected {
    background: rgba(56,189,248,0.1);
    color: var(--sb-ice-light);
    font-weight: 600;
}
.sb-custom-select.open .sb-custom-select-options { display: block; }
.sb-custom-select-option {
    padding: 8px 14px;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: all var(--sb-transition);
    border-bottom: 1px solid rgba(56,189,248,0.08);
}
.sb-custom-select-option:last-child { border-bottom: none; }
.sb-custom-select-option:hover {
    background: rgba(56,189,248,0.1);
    color: var(--sb-text);
}
.sb-custom-select-option.selected {
    color: var(--sb-ice-light);
    font-weight: 600;
}
body.light-mode .sb-custom-select-trigger {
    background: #FFFFFF;
}
body.light-mode .sb-custom-select-options {
    background: #FFFFFF;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
body.light-mode .sb-custom-select-option:hover {
    background: rgba(0,0,0,0.04);
}

@media (max-width: 768px)  {
body.light-mode .sb-custom-select-options {
        background: linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.70)) padding-box,
            linear-gradient(135deg, rgba(56,189,248,0.7), rgba(14,165,233,0.7), rgba(99,102,241,0.7)) border-box;
        border: 1px solid transparent;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
body.light-mode .sb-custom-select-trigger {
        background: linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.70)) padding-box,
            linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
        border: 1px solid transparent;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

}
.sb-input-group {
    margin-bottom: var(--sb-space-md);
}
.sb-input-error {
    border-color: var(--sb-error) !important;
}
.sb-input-error:focus {
    box-shadow: 0 0 0 2px rgba(239,68,68,0.2) !important;
}
.sb-error-text {
    color: var(--sb-error);
    font-size: var(--sb-text-xs);
    margin-top: var(--sb-space-xs);
}
.sb-error-msg {
    color: var(--sb-error);
    font-size: var(--sb-text-xs);
    margin-top: 4px;
    display: none;
    line-height: 1.3;
}
.sb-error-msg.visible {
    display: block;
}
.sb-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    cursor: pointer;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
}
.sb-checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--sb-border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all var(--sb-transition);
}
.sb-checkbox-label input[type="checkbox"]:checked {
    background: var(--sb-ice);
    border-color: var(--sb-ice);
}
.sb-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.sb-checkbox-label input[type="checkbox"]:hover {
    border-color: var(--sb-ice);
}
body.light-mode .sb-checkbox-label input[type="checkbox"] {
    border-color: var(--sb-border);
}
body.light-mode .sb-checkbox-label input[type="checkbox"]:checked::after {
    border-color: #fff;
}
.sb-card {
    background: var(--sb-bg-card);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-lg);
    transition: all var(--sb-transition);
    animation: sb-card-breathe 4s ease-in-out infinite;
    min-width: 0;
    overflow: visible;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
}
.sb-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-sparkle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    filter: blur(var(--blur, 0px));
    animation: sb-sparkle-drift var(--dur) var(--delay) ease-in-out infinite;
}
[class$="-card"],
[class*="-card "],
.sb-card,
.sb-stat-card,
.featured-column,
.booking-item,
.event-item,
.gig-list-item,
.performer-card,
.detail-section,
.dispute-card {
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
}
.sb-card:hover,
.sb-stat-card:hover,
.featured-column:hover,
.booking-item:hover,
.event-item:hover,
.gig-list-item:hover,
.performer-card:hover,
.detail-section:hover,
.dispute-card:hover,
.payment-stat-card:hover {
    background: var(--sb-bg-card-hover);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    transform: translateY(-1px);
}
.sb-card-hover:hover {
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    transform: translateY(-1px);
}
.avail-heat-strip {
    margin-bottom: var(--sb-space-xl);
    min-width: 0;
}
.avail-heat-viewport {
    overflow: hidden;
    padding-top: 2px;
    margin-top: -2px;
}
.avail-heat-track {
    display: flex;
    transition: transform 0.35s ease;
}
.avail-heat-week {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}
.avail-heat-day {
    flex: 1;
    text-align: center;
    padding: var(--sb-space-sm) 0;
    border-radius: var(--sb-radius);
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.2);
    opacity: 0.5;
    transition: opacity var(--sb-transition), background var(--sb-transition);
}
.avail-heat-day.available {
    opacity: 1;
    background: rgba(var(--sb-ice-rgb),0.12);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
}
body.light-mode .avail-heat-day.available {
    background: rgba(var(--sb-sky-rgb),0.10);
    border-color: #0284c7;
    color: #0284c7;
}
.avail-heat-label {
    font-size: var(--sb-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.avail-heat-date {
    font-size: 10px;
    color: var(--sb-text-muted);
    margin-top: 2px;
}
.avail-heat-day.available .avail-heat-date {
    color: inherit;
    opacity: 0.7;
}
.avail-heat-day[style*="fuchsia"] .avail-heat-date,
.avail-heat-day[style*="fuchsia"] .avail-heat-label {
    color: inherit;
}
.avail-heat-status {
    font-size: 9px;
    margin-top: 2px;
    font-weight: 600;
    letter-spacing: 0.03em;
    min-height: 14px;
}
.avail-heat-day.bookable,
.avail-heat-day[data-action] {
    cursor: pointer;
}
.avail-heat-day.available:hover {
    background: rgba(var(--sb-ice-rgb),0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.3);
}
.avail-heat-day.bookable:hover {
    background: rgba(var(--sb-ice-rgb),0.22);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.25);
    transform: translateY(-1px);
}
body.light-mode .avail-heat-day.bookable:hover {
    background: rgba(var(--sb-sky-rgb),0.18);
    box-shadow: 0 0 8px rgba(var(--sb-sky-rgb),0.2);
}
.avail-heat-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--sb-space-sm);
}
.avail-tab-heat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.avail-tab-heat .avail-heat-week {
    min-width: 0;
    flex-shrink: 1;
}
.avail-tab-heat-month {
    font-family: 'Rajdhani', var(--sb-font);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-md);
    margin-bottom: 2px;
}
.avail-tab-heat-month:first-child {
    margin-top: 0;
}
.avail-tab-nav {
    margin-top: var(--sb-space-md);
    justify-content: center;
    gap: var(--sb-space-md);
}
.avail-tab-page { display: flex; flex-direction: column; gap: 4px; }
.avail-tab-page[hidden] { display: none; }
.avail-heat-day--filler {
    visibility: hidden;
    pointer-events: none;
}
.avail-heat-day--past {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.avail-heat-nav button {
    background: none;
    border: 1px solid var(--sb-border);
    color: var(--sb-text-muted);
    width: 28px;
    height: 28px;
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: border-color 0.2s, color 0.2s;
}
.avail-heat-nav button:hover {
    border-color: var(--sb-ice);
    color: var(--sb-ice);
}
.avail-heat-nav button:disabled {
    opacity: 0.3;
    cursor: default;
}
.avail-heat-nav button:disabled:hover {
    border-color: var(--sb-border);
    color: var(--sb-text-muted);
}
.avail-heat-nav-label {
    font-size: 11px;
    color: var(--sb-text-muted);
    letter-spacing: 0.03em;
    min-width: 100px;
    text-align: center;
}
#cb-dual-avail > .sb-label { display: block; text-align: center; }
#cb-dual-month-grid .month-grid,
#cb-dual-month-grid .month-grid-header {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
#cb-dual-month-grid .month-grid-day.selected {
    outline: 2px solid var(--sb-ice);
    outline-offset: -2px;
}
.month-grid-section { margin-bottom: var(--sb-space-md); }
.month-grid-title {
    font-size: var(--sb-text-sm);
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: var(--sb-space-xs);
}
.month-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    margin-bottom: 2px;
}
.month-grid-header span {
    font-size: 9px;
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.month-grid-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    border-radius: var(--sb-radius-sm);
    background: var(--sb-bg-input);
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.month-grid-day-name {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.month-grid-day-num {
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
}
.month-grid-day-status {
    font-size: 8px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--sb-text-muted);
}
.month-grid-day.avail-available .month-grid-day-status { color: var(--sb-ice); }
.month-grid-day.avail-booked .month-grid-day-status { color: var(--sb-fuchsia); }
.month-grid-day.avail-soft-hold .month-grid-day-status { color: var(--sb-violet); }
.month-grid-day.avail-unavailable .month-grid-day-status { color: var(--sb-text-muted); }
.month-grid-day.avail-available:hover {
    background: rgba(var(--sb-ice-rgb),0.1);
    border-color: rgba(var(--sb-ice-rgb),0.4);
}
.month-grid-day.avail-unavailable:hover {
    background: rgba(148,163,184,0.15);
    border-color: rgba(148,163,184,0.4);
}
.month-grid-day.avail-soft-hold:hover {
    background: rgba(var(--sb-violet-rgb),0.2);
    border-color: rgba(var(--sb-violet-rgb),0.4);
}
.month-grid-day.avail-booked:hover {
    background: rgba(var(--sb-fuchsia-rgb),0.25);
    border-color: rgba(var(--sb-fuchsia-rgb),0.4);
}
.month-grid-day.empty {
    background: none;
    border-color: transparent;
    cursor: default;
}
.month-grid-day.empty:hover { background: none; border-color: transparent; }
.month-grid-day.today {
    border-color: var(--sb-ice);
    font-weight: 700;
    color: var(--sb-ice);
}
.month-grid-day.avail-available {
    background: rgba(var(--sb-ice-rgb),0.15);
    color: var(--sb-ice);
}
.month-grid-day.avail-unavailable {
    background: rgba(148,163,184,0.1);
    border-color: rgba(148,163,184,0.2);
    opacity: 0.5;
}
.month-grid-day.avail-soft-hold {
    background: rgba(99,102,241,0.15);
    border-color: rgba(var(--sb-violet-rgb),0.25);
    color: var(--sb-violet);
}
.month-grid-day.avail-booked {
    background: rgba(236,72,153,0.2);
    border-color: rgba(var(--sb-fuchsia-rgb),0.25);
    color: var(--sb-fuchsia);
    font-weight: 700;
}
.month-grid-day.avail-past {
    opacity: 0.3;
    cursor: default;
}
.month-grid-day.avail-past:hover { background: var(--sb-bg-input); border-color: rgba(var(--sb-ice-rgb),0.15); }
body.light-mode .month-grid-day.avail-available {
    background: rgba(var(--sb-sky-rgb),0.1);
    color: #0284c7;
}
body.light-mode .month-grid-day.avail-booked {
    background: rgba(236,72,153,0.12);
}
.avail-cal-legend {
    display: flex;
    justify-content: center;
    gap: var(--sb-space-md);
    margin-top: var(--sb-space-md);
    flex-wrap: wrap;
}
.avail-cal-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--sb-text-muted);
}
.avail-cal-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
}
.avail-cal-swatch.avail-available { background: rgba(var(--sb-ice-rgb),0.15); border-color: var(--sb-ice); }
.avail-cal-swatch.avail-unavailable { background: rgba(148,163,184,0.1); opacity: 1; border-color: var(--sb-text-muted); }
.avail-cal-swatch.avail-soft-hold { background: rgba(99,102,241,0.15); border-color: var(--sb-violet); }
.avail-cal-swatch.avail-booked { background: rgba(236,72,153,0.2); border-color: var(--sb-fuchsia); }
.avail-rule {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 6px 0;
    border-bottom: 1px solid var(--sb-border);
}
.avail-rule-day {
    width: 90px;
    font-weight: 600;
    font-size: var(--sb-text-sm);
    flex-shrink: 0;
}
.avail-rule .sb-input {
    width: 90px;
    padding: 4px 6px;
    font-size: var(--sb-text-xs);
}
#avail-view-rules .avail-rule,
#avail-rules-form .avail-rule {
    display: grid;
    grid-template-columns: 90px 1fr auto 1fr auto;
}
#avail-view-rules .avail-rule .sb-input,
#avail-rules-form .avail-rule .sb-input {
    width: 100%;
}
.avail-stat-row {
    display: flex;
    justify-content: center;
    gap: var(--sb-space-lg);
    margin-top: var(--sb-space-md);
}
.avail-stat-item { text-align: center; }
.avail-stat-num { font-size: var(--sb-text-xl); font-weight: 700; }
.avail-stat-num.stat-available { color: var(--sb-ice); }
.avail-stat-num.stat-blocked { color: var(--sb-text-muted); }
.avail-stat-num.stat-booked { color: var(--sb-fuchsia); }
.avail-stat-label {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.avail-stat-tip {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-align: center;
    margin-top: var(--sb-space-sm);
}
.cal-sync-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-sm) 0;
    border-bottom: 1px solid var(--sb-border);
    font-size: var(--sb-text-sm);
}
.cal-sync-item:last-child { border-bottom: none; }
.cal-sync-status { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }

@media (max-width: 768px)  {
#avail-view-rules .avail-rule {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto;
        gap: 6px;
        align-items: center;
        font-size: var(--sb-text-xs);
        padding: 8px 0;
        border-bottom: 1px solid var(--sb-border);
    }
#avail-view-rules .avail-rule:last-child { border-bottom: none; }
#avail-view-rules .avail-rule .avail-rule-day {
        grid-column: 1 / -1;
        width: auto;
        font-size: var(--sb-text-sm);
        font-weight: 700;
        margin-bottom: 2px;
    }
.avail-rule .sb-input { width: 100%; padding: 4px 6px; font-size: 12px; }
.avail-rule { flex-wrap: nowrap; gap: 4px; }
.avail-rule > div { flex-wrap: nowrap !important; gap: 4px !important; overflow: hidden; }
.avail-rule .sb-btn { font-size: 10px !important; padding: 3px 8px !important; white-space: nowrap; flex-shrink: 0; }

}

@media (max-width: 480px)  {
#avail-view-rules .avail-rule { gap: 4px; }
#avail-view-rules .avail-rule .avail-rule-day { font-size: var(--sb-text-xs); }

}
body.light-mode .avail-rule { border-bottom-color: rgba(var(--sb-black-rgb),0.08); }
.payment-stat-card {
    padding: var(--sb-space-lg);
    background: var(--sb-bg-card);
    border: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: visible;
    border-radius: var(--sb-radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
}
.payment-stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.payment-stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.payment-stat-value.ice { color: var(--sb-ice); }
.payment-stat-value.violet { color: var(--sb-violet); }
.payment-stat-value.success { color: var(--sb-success); }
.payment-stat-value.warning { color: var(--sb-warning); }
.payment-stat-label {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.payment-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-lg);
    background: var(--sb-bg-card);
    border: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: visible;
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-sm);
    cursor: pointer;
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
}
.payment-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.payment-item:hover {
    background: var(--sb-bg-card-hover);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    transform: translateY(-1px);
}
.payment-item-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-md);
    min-width: 0;
    flex: 1;
}
.payment-item-info { min-width: 0; }
.payment-item-info h4 { font-size: var(--sb-text-base); margin-bottom: 2px; }
.payment-item-meta {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
}
.payment-item-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-md);
    flex-shrink: 0;
}
.payment-fee {
    font-weight: 700;
    font-size: var(--sb-text-lg);
    color: var(--sb-ice);
}
.payment-overdue {
    display: block;
    font-size: var(--sb-text-xs);
    color: var(--sb-violet);
    font-weight: 600;
    margin-top: 2px;
}
.payment-completion-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.payment-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--sb-radius-full);
    border: 1px solid var(--sb-border-light);
    background: transparent;
}
.payment-dot.filled { background: var(--sb-ice); border-color: var(--sb-ice); animation: dot-glow 2s ease-in-out infinite; }
.payment-dot-label {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-left: 4px;
}
.sb-pricing-hint { display:flex; align-items:center; gap:var(--sb-space-sm); padding:var(--sb-space-sm) var(--sb-space-md); margin-bottom:var(--sb-space-md); border-radius:var(--sb-radius); background:rgba(var(--sb-ice-rgb),0.08); border:1px solid rgba(var(--sb-ice-rgb),0.2); font-size:var(--sb-text-xs); color:var(--sb-text-secondary); flex-wrap:wrap; }
.sb-pricing-hint-icon { color:var(--sb-ice); flex-shrink:0; }
.sb-pricing-hint-icon svg { width:16px; height:16px; }
.sb-pricing-hint strong { color:var(--sb-ice); }
.sb-pricing-hint-meta { color:var(--sb-text-muted); margin-left:auto; }
.sb-pricing-hint--empty { background:rgba(var(--sb-white-rgb),0.03); border-color:var(--sb-border); }
.sb-pricing-hint--empty .sb-pricing-hint-icon { color:var(--sb-text-muted); }
.sb-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sb-space-md);
}
.sb-card-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
}
.gcal-header-nav { display: flex; align-items: center; gap: var(--sb-space-sm); }
.gcal-header-month { font-weight: 600; font-size: var(--sb-text-sm); text-align: center; min-width: 120px; white-space: nowrap; }
.gcal-header-chevron { padding: 4px 10px; font-size: 16px; }

@media (max-width: 768px)  {
.gcal-header-nav { gap: 4px; }
.gcal-header-month { font-size: var(--sb-text-xs); min-width: 0; }
.gcal-header-chevron { padding: 2px 6px; font-size: 14px; min-width: 0; }
.sb-hide-mobile { display: none; }

}
.sb-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    border-radius: var(--sb-radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}
.sb-badge-gradient {
    background-image: var(--sb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid var(--sb-ice);
}
.sb-badge-ice { background: rgba(var(--sb-ice-rgb),0.15); color: var(--sb-ice); border-color: var(--sb-ice); }
.sb-badge-sky { background: rgba(var(--sb-sky-rgb),0.15); color: var(--sb-sky); border-color: var(--sb-sky); }
.sb-badge-violet { background: rgba(var(--sb-violet-rgb),0.15); color: var(--sb-violet); border-color: var(--sb-violet); }
.sb-badge-teal { background: rgba(var(--sb-teal-rgb),0.15); color: var(--sb-teal); border-color: var(--sb-teal); }
.sb-badge-success { background: rgba(var(--sb-success-rgb),0.15); color: var(--sb-success); border-color: var(--sb-success); }
.sb-badge-warning { background: rgba(var(--sb-warning-rgb),0.15); color: var(--sb-warning); border-color: var(--sb-warning); }
.sb-badge-error { background: rgba(var(--sb-error-rgb),0.15); color: var(--sb-error); border-color: var(--sb-error); }
.sb-badge-info { background: rgba(var(--sb-info-rgb),0.15); color: var(--sb-info); border-color: var(--sb-info); }
.sb-badge-neutral { background: rgba(var(--sb-text-muted-rgb),0.15); color: var(--sb-text-secondary); border-color: var(--sb-text-muted); }
.sb-badge-orange { background: rgba(var(--sb-orange-rgb),0.15); color: var(--sb-orange); border-color: var(--sb-orange); }
.sb-badge-fuchsia { background: rgba(var(--sb-fuchsia-rgb),0.15); color: var(--sb-fuchsia); border-color: var(--sb-fuchsia); }
.sb-badge-outline { background: transparent; border: 1px solid var(--sb-ice); color: var(--sb-ice); }
.sb-badge-micro { font-size: 9px; padding: 2px 6px; }
.sb-badge-mini { font-size: 0.625rem; padding: 1px 6px; letter-spacing: 0.04em; }
.sb-badge-sm { font-size: 10px; }
.sb-badge-lg { padding: 10px 20px; font-size: var(--sb-text-sm); font-weight: 600; text-transform: none; letter-spacing: 0; gap: 6px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
a.sb-badge-lg { text-decoration: none; }
a.sb-badge-lg:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08); }
a.sb-badge-lg.sb-badge-violet:hover { box-shadow: 0 0 12px rgba(var(--sb-violet-rgb),0.25), 0 0 20px rgba(var(--sb-violet-rgb),0.12); }
a.sb-badge-lg.sb-badge-fuchsia:hover { box-shadow: 0 0 12px rgba(var(--sb-fuchsia-rgb),0.25), 0 0 20px rgba(var(--sb-fuchsia-rgb),0.12); }
a.sb-badge-lg.sb-badge-teal:hover { box-shadow: 0 0 12px rgba(var(--sb-teal-rgb),0.25), 0 0 20px rgba(var(--sb-teal-rgb),0.12); }
.role-cta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 720px; margin: 0 auto; }
.role-cta-row .sb-badge-lg { justify-content: center; }
.role-cta-row .sb-badge-ice { color: var(--sb-ice); }
.role-cta-row .sb-badge-violet { color: var(--sb-violet); }
.role-cta-row .sb-badge-fuchsia { color: var(--sb-fuchsia); }
.role-cta-row .sb-badge-teal { color: var(--sb-teal); }
.sb-badge.is-disabled { opacity: 0.4; filter: grayscale(0.35); cursor: default; pointer-events: none; }

@media (max-width: 640px)  {
.role-cta-row { grid-template-columns: repeat(2, 1fr); }

}
.blog-cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0; }
.blog-cta-row .sb-badge-ice { color: var(--sb-ice); }
.blog-cta-row .sb-badge-violet { color: var(--sb-violet); }
.blog-cta-row .sb-badge-fuchsia { color: var(--sb-fuchsia); }
.blog-content a.sb-badge-lg { text-decoration: none; }
.blog-content a.sb-badge-lg.sb-badge-ice { color: var(--sb-ice); }
.blog-content a.sb-badge-lg.sb-badge-violet { color: var(--sb-violet); }
.blog-content a.sb-badge-lg.sb-badge-fuchsia { color: var(--sb-fuchsia); }
.blog-content a.sb-badge-lg.sb-badge-teal { color: var(--sb-teal); }
.sb-badge-bordered.sb-badge-ice { border-color: var(--sb-ice); }
.sb-badge-bordered.sb-badge-warning { border-color: var(--sb-warning); }
.sb-badge-bordered.sb-badge-error { border-color: var(--sb-error); }
.sb-badge-bordered.sb-badge-success { border-color: var(--sb-success); }
.sb-badge-bordered.sb-badge-info { border-color: var(--sb-info); }
.sb-badge-bordered.sb-badge-neutral { border-color: var(--sb-text-muted); }
.sb-badge-bordered.sb-badge-violet { border-color: var(--sb-violet); }
.sb-badge-bordered.sb-badge-fuchsia { border-color: var(--sb-fuchsia); }
.sb-role-pill {
    --pill-rgb: 56, 189, 248; /* default: ice */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: var(--sb-text-xs);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    background: rgba(var(--pill-rgb), 0.20);
    border: 1px solid rgba(var(--pill-rgb), 0.48);
    color: rgb(var(--pill-rgb));
}
.sb-role-pill--artist   { --pill-rgb: 56, 189, 248; }
.sb-role-pill--venue    { --pill-rgb: 99, 102, 241; }
.sb-role-pill--agent    { --pill-rgb: 20, 184, 166; }
.sb-role-pill--promoter { --pill-rgb: 124, 211, 252; }
.sb-role-pill--admin    { --pill-rgb: 14, 165, 233; }
.sb-role-pill--sm {
    height: 22px;
    padding: 0 9px;
    font-size: 11px;
    border-radius: 6px;
}
.fan-action-btn { color: #fff; }
.fan-action-btn .sb-icon { color: #fff; }
.fan-action-btn svg { stroke: #fff; }
.fan-action-btn:hover { color: #fff; }
.fan-panel-search {
    margin-bottom: var(--sb-space-lg);
}
.fan-panel-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--sb-text-lg);
    font-weight: 800;
    color: var(--sb-text);
    margin-bottom: var(--sb-space-lg);
    flex-wrap: wrap;
}
.fan-panel-stat .sb-icon {
    color: rgb(var(--pill-rgb, 56, 189, 248));
}
.fan-panel-stat .fan-panel-stat-sub {
    font-size: var(--sb-text-sm);
    font-weight: 400;
    color: var(--sb-text-muted);
    margin-left: 4px;
}
.fan-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sb-space-md);
}
.fan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sb-space-lg) var(--sb-space-md);
    gap: var(--sb-space-sm);
}
.fan-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--pill-rgb, 56, 189, 248), 0.12);
    color: rgb(var(--pill-rgb, 56, 189, 248));
    flex-shrink: 0;
}
.fan-card-icon svg {
    width: 22px;
    height: 22px;
}
.fan-card-name {
    font-weight: 700;
    font-size: var(--sb-text-sm);
    color: var(--sb-text);
    line-height: 1.3;
}
.fan-card-email {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fan-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.fan-card-date {
    font-size: 11px;
    color: var(--sb-text-muted);
}
.fan-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sb-space-2xl) var(--sb-space-lg);
    gap: var(--sb-space-md);
}
.fan-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--pill-rgb, 56, 189, 248), 0.08);
    color: rgb(var(--pill-rgb, 56, 189, 248));
}
.fan-empty-icon svg {
    width: 36px;
    height: 36px;
}
.fan-empty-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    color: var(--sb-text);
}
.fan-empty-sub {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    max-width: 320px;
}

@media (max-width: 1024px)  {
.fan-card-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 640px)  {
.fan-card-grid { grid-template-columns: 1fr; }
.fan-panel-stat-mobile-actions { display: flex; gap: var(--sb-space-sm); margin-left: auto; }

}

@media (min-width: 641px)  {
.fan-panel-stat-mobile-actions { display: none; }

}
.fan-composer {
    margin-bottom: var(--sb-space-xl);
    padding: var(--sb-space-lg);
    border-radius: var(--sb-radius);
    background: var(--sb-bg-card);
    border: none;
    position: relative;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.fan-composer::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.fan-composer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sb-space-lg);
}
.fan-composer-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    color: var(--sb-text);
}
.fan-composer-recipients {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-md);
    flex-wrap: wrap;
}
.fan-composer-recipients label {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fan-composer-toggle {
    display: flex;
    gap: var(--sb-space-sm);
}
.fan-composer-toggle-btn {
    padding: 6px 14px;
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    border: 1px solid var(--sb-border);
    background: transparent;
    color: var(--sb-text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--sb-transition);
}
.fan-composer-toggle-btn.active {
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.08);
}
.fan-composer-picker-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: var(--sb-space-sm);
    padding: var(--sb-space-sm);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    background: var(--sb-bg-input);
}
.fan-composer-picker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: var(--sb-text-sm);
    cursor: pointer;
    transition: background var(--sb-transition);
}
.fan-composer-picker-item:hover { background: rgba(var(--sb-ice-rgb), 0.06); }
.fan-composer-picker-item input { flex-shrink: 0; }
.fan-composer-picker-name { color: var(--sb-text); font-weight: 600; }
.fan-composer-picker-email { color: var(--sb-text-muted); font-size: var(--sb-text-xs); }
.fan-composer-assets {
    display: flex;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
    margin-top: var(--sb-space-sm);
}
.fan-composer-asset {
    width: 80px;
    height: 80px;
    border-radius: var(--sb-radius);
    border: 2px solid var(--sb-border);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--sb-transition);
    position: relative;
}
.fan-composer-asset:hover { border-color: var(--sb-ice); }
.fan-composer-asset.selected { border-color: var(--sb-ice); box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.3); }
.fan-composer-asset img { width: 100%; height: 100%; object-fit: cover; }
.fan-composer-asset-check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sb-ice);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.fan-composer-asset.selected .fan-composer-asset-check { display: flex; }
.fan-composer-preview {
    margin-top: var(--sb-space-lg);
    padding: var(--sb-space-md);
    border-radius: var(--sb-radius);
    background: var(--sb-bg-input);
    border: 1px solid var(--sb-border);
}
.fan-composer-preview-title {
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--sb-space-sm);
}
.fan-composer-preview-subject {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: var(--sb-space-xs);
}
.fan-composer-preview-body {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
}
.fan-composer-preview-images {
    display: flex;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-md);
    flex-wrap: wrap;
}
.fan-composer-preview-images img {
    max-width: 200px;
    border-radius: var(--sb-radius);
}
.fan-composer-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-lg);
}
.fan-composer .sb-btn {
    line-height: 1;
    padding-top: 7px !important;
    padding-bottom: 6px !important;
}

@media (max-width: 640px)  {
.fan-composer .sb-btn {
        padding-top: 8px !important;
        padding-bottom: 5px !important;
    }

}
.fan-composer-progress {
    margin-top: var(--sb-space-md);
    text-align: center;
}
.fan-composer-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--sb-bg-input);
    overflow: hidden;
    margin-bottom: var(--sb-space-xs);
}
.fan-composer-progress-fill {
    height: 100%;
    background: var(--sb-ice);
    border-radius: 3px;
    transition: width 0.3s ease;
}
.fan-composer-close-mobile { display: none; }

@media (max-width: 640px)  {
.fan-composer { padding: var(--sb-space-md); }
.fan-composer-header { flex-direction: column; align-items: flex-start; gap: var(--sb-space-sm); }
.fan-composer-header > [data-action="composer-close"] { display: none; }
.fan-composer-close-mobile { display: inline-flex; }
.fan-composer-asset { width: 64px; height: 64px; }

}
.fan-composer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sb-space-lg);
    align-items: stretch;
}
.fan-composer-form { min-width: 0; }
.fan-composer-preview-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}
.fan-composer-preview-label {
    font-size: var(--sb-text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-sm);
}
.fan-composer-preview-pane {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: var(--sb-radius);
    background: #080C14;
    border: 1px solid var(--sb-border);
    padding: var(--sb-space-md);
    overflow-y: auto;
}
.fan-composer-preview-card {
    background: #0C1120;
    border: 1px solid var(--sb-ice);
    border-top: 3px solid var(--sb-ice);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.25);
}
.fan-composer-preview-sender {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #1E293B;
    color: var(--sb-text);
    font-size: 15px;
    font-weight: 700;
}
.fan-composer-preview-sender [data-icon] { color: var(--sb-ice); }
.fan-composer-preview-card .fan-composer-preview-subject {
    font-size: 18px;
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: 10px;
    word-break: break-word;
}
.fan-composer-preview-card .fan-composer-preview-body {
    font-size: 14px;
    color: var(--sb-text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}
.fan-composer-preview-placeholder { color: var(--sb-text-muted) !important; font-style: italic; }
.fan-composer-preview-events {
    margin-top: 18px;
    padding-top: 12px;
}
.fan-composer-preview-events-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sb-text-muted);
    padding-bottom: 6px;
}
.fan-composer-preview-event {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #1E293B;
}
.fan-composer-preview-event-cover {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #1E293B;
}
.fan-composer-preview-event-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sb-ice-rgb), 0.08);
    color: var(--sb-ice);
}
.fan-composer-preview-event-info { min-width: 0; }
.fan-composer-preview-event-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sb-text);
    line-height: 1.3;
}
.fan-composer-preview-event-date {
    font-size: 12px;
    color: var(--sb-text-muted);
    padding-top: 2px;
}
.fan-composer-preview-event-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--sb-ice);
    padding-top: 6px;
}
.fan-composer-preview-cta {
    margin-top: 18px;
    padding: 12px 24px;
    background: var(--sb-ice);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}
.fan-composer-asset-event {
    width: 140px;
    height: 80px;
}
.fan-composer-asset-event .fan-composer-asset-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    color: #fff;
    pointer-events: none;
}
.fan-composer-asset-title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fan-composer-asset-date {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    padding-top: 2px;
}
.fan-composer-asset-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sb-ice-rgb), 0.1);
    color: var(--sb-ice);
}

@media (max-width: 900px)  {
.fan-composer-grid { grid-template-columns: 1fr; align-items: start; }
.fan-composer-preview-pane { max-height: 500px; }

}

@media (max-width: 640px)  {
.fan-composer-asset-event { width: 120px; height: 70px; }

}
.roster-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
    padding: var(--sb-space-xl) var(--sb-space-md);
    color: var(--sb-text-muted);
    gap: var(--sb-space-sm);
}
.roster-empty-icon { margin-bottom: var(--sb-space-md); }
.roster-empty-icon .sb-icon { width: 48px; height: 48px; color: var(--sb-text-muted); }
.roster-empty-title { font-size: var(--sb-text-lg); font-weight: 700; margin-bottom: var(--sb-space-xs); }
.roster-empty-sub { color: var(--sb-text-muted); font-size: var(--sb-text-sm); margin-bottom: var(--sb-space-lg); max-width: 400px; margin-left: auto; margin-right: auto; }
.roster-stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-md);
}

@media (max-width: 768px)  {
.roster-stats-row { grid-template-columns: repeat(3, 1fr); }

}

@media (max-width: 480px)  {
.roster-stats-row { grid-template-columns: repeat(2, 1fr); }

}
.roster-panel-stat {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    font-size: var(--sb-text-lg);
    font-weight: 700;
    margin-bottom: var(--sb-space-md);
}
.roster-panel-stat .sb-icon { width: 20px; height: 20px; color: var(--sb-ice); }
.roster-panel-stat-sub { font-weight: 400; color: var(--sb-text-muted); font-size: var(--sb-text-sm); }
.roster-panel-stat-pending { font-weight: 400; color: var(--sb-text-muted); font-size: var(--sb-text-sm); }
.roster-panel-stat-mobile-actions { display: none; margin-left: auto; gap: var(--sb-space-xs); }
.roster-panel-search { margin-bottom: var(--sb-space-md); }
.roster-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-sm);
}
.roster-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    position: relative;
    overflow: visible;
}
.roster-card-left {
    flex-shrink: 0;
    width: 110px;
    min-height: 90px;
    overflow: hidden;
    border-radius: var(--sb-radius) 0 0 var(--sb-radius);
    position: relative;
}
.roster-card { min-height: 90px; }
.roster-card-info { flex: 1; min-width: 0; padding: var(--sb-space-md); }
.roster-card-name { font-weight: 600; font-size: var(--sb-text-sm); display: flex; align-items: center; gap: 4px; }
.roster-card-name .sb-verified { display: inline-flex; }
.roster-card-meta { display: flex; flex-wrap: wrap; gap: var(--sb-space-xs); font-size: var(--sb-text-xs); margin-top: 2px; }
.roster-card-genres { display: flex; flex-wrap: wrap; gap: 4px; margin-top: var(--sb-space-xs); }
.roster-card-actions {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 var(--sb-space-md);
    background: #0F1525;
    border-radius: 0 var(--sb-radius) var(--sb-radius) 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.roster-card:hover .roster-card-actions { opacity: 1; }
.roster-card.actions-open .roster-card-actions { opacity: 1; }

@media (max-width: 768px)  {
.roster-card:hover .roster-card-actions { opacity: 0; }
.roster-card.actions-open .roster-card-actions { opacity: 1; }

}
.roster-invite-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: var(--sb-space-md);
    border-bottom: 1px solid var(--sb-border);
}
.roster-invite-tab {
    background: transparent;
    border: none;
    color: var(--sb-text-muted);
    font-family: inherit;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--sb-transition), border-color var(--sb-transition);
    text-align: center;
}
.roster-invite-tab:hover { color: var(--sb-text); }
.roster-invite-tab.active {
    color: var(--sb-ice);
    border-bottom-color: var(--sb-ice);
}
.roster-invite-panel { display: none; }
.roster-invite-panel.active { display: block; }
.roster-invite-row {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-sm) 0;
    border-bottom: 1px solid var(--sb-border);
}
.roster-invite-row:last-child { border-bottom: none; }
.roster-invite-info { flex: 1; min-width: 0; }
.roster-invite-name { font-weight: 600; font-size: var(--sb-text-sm); display: flex; align-items: center; gap: 4px; }
.roster-invite-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); display: flex; align-items: center; gap: var(--sb-space-xs); margin-top: 2px; }

@media (max-width: 768px)  {
.roster-card-grid { grid-template-columns: 1fr; }
.roster-panel-stat-mobile-actions { display: flex; }

}
.promo-kit-pills {
    display: flex;
    gap: var(--sb-space-xs);
    margin-bottom: var(--sb-space-lg);
}
.promo-kit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-pill);
    background: transparent;
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: all var(--sb-transition);
}
.promo-kit-pill .sb-icon { width: 16px; height: 16px; }
.promo-kit-pill:hover { border-color: var(--sb-ice); color: var(--sb-text); }
.promo-kit-pill.active {
    background: rgba(var(--sb-ice-rgb), 0.1);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
}
.promo-kit-page { display: none; }
.promo-kit-page.active { display: block; }
.pk-artist-picker {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow-y: auto;
    padding: var(--sb-space-xs);
    background: rgba(8,12,20,0.4);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm);
}
.pk-artist-pick {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 6px 10px;
    border-radius: var(--sb-radius-sm);
    background: rgba(var(--sb-ice-rgb), 0.06);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.15);
    transition: background var(--sb-transition);
}
.pk-artist-pick:hover { background: rgba(var(--sb-ice-rgb), 0.1); }
.pk-artist-pick-name { font-size: var(--sb-text-sm); font-weight: 500; }
.pk-artist-pick-genres { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
.pk-artist-remove {
    background: none;
    border: 1px solid var(--sb-ice);
    color: var(--sb-ice);
    width: 22px;
    height: 22px;
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--sb-transition);
}
.pk-artist-remove:hover { background: rgba(var(--sb-ice-rgb), 0.15); }
.pk-artist-picker-actions {
    display: flex;
    gap: var(--sb-space-xs);
    padding: var(--sb-space-xs) 0 0;
    border-top: 1px solid var(--sb-border);
    margin-top: var(--sb-space-xs);
}
.pk-artist-picker-actions .sb-btn { flex: 1; }
.sb-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--sb-topbar-height);
    background: rgba(12,17,32,0.85) no-repeat bottom / 100% 2px;
    background-image: linear-gradient(90deg, rgba(56,189,248,1), rgba(14,165,233,1), rgba(99,102,241,1));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0 var(--sb-space-lg);
    z-index: 1000;
    font-family: var(--sb-font);
    color: var(--sb-text);
}
.sb-topbar-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: visible;
    clip-path: inset(0 0 -40px 0);
    pointer-events: none;
}
.sb-topbar-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        rgba(56,189,248,0.4),
        rgba(14,165,233,0.5),
        rgba(99,102,241,0.4));
    filter: blur(5px);
    animation: topbar-breathe 3s ease-in-out infinite;
}
.sb-topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: topbar-shine-sweep 3s ease-in-out infinite;
    pointer-events: none;
}
.sb-topbar-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.sb-topbar-logo {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    width: 200px;
}
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-logo {
    align-items: center;
    align-self: center;
}
.sb-topbar-logo > .sb-eq {
    height: 22px !important;
    gap: 3px !important;
    align-self: flex-end;
}
.sb-topbar-logo > .sb-eq .sb-eq-bar {
    width: 4.5px !important;
    border-radius: 2px !important;
}
.sb-topbar-mark {
    width: 26px;
    height: 30px;
    flex-shrink: 0;
}
.sb-topbar-logo-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}
.sb-topbar-logo > span:not(.sb-eq) {
    font-size: 1.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    color: var(--sb-text);
    line-height: 1;
    transform: none;
    transition: filter 0.3s ease;
}
.sb-topbar-logo:hover > span:not(.sb-eq) {
    filter: brightness(1.3) drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}
.sb-topbar-logo:hover > .sb-eq .sb-eq-bar {
    animation-duration: 0.3s !important;
}
.sb-topbar-logo > span:not(.sb-eq),
.sb-page-splash-name,
.sb-splash-name,
.auth-brand-name {
    font-family: 'Rajdhani', var(--sb-font);
}
.sb-x {
    font-size: 1em;
    color: var(--sb-ice);
    font-weight: 800;
    display: inline;
    line-height: 1;
}
.light-mode .sb-x {
    color: var(--sb-sky);
}
.sb-topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-xs);
}
.sb-topbar-link {
    padding: 8px 14px;
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    transition: color var(--sb-transition);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.sb-topbar-link:hover,
.sb-topbar-link.active {
    color: var(--sb-text);
}
.sb-topbar-link.active {
    border-bottom: 2px solid var(--sb-ice);
}
.sb-topbar-dropdown {
    position: relative;
}
.sb-topbar-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -40px;
    right: -40px;
    height: 20px;
    display: none;
}
.sb-topbar-dropdown:hover::after,
.sb-topbar-dropdown.dd-open::after {
    display: block;
}
.sb-topbar-dropdown-menu {
    display: none;
    position: fixed;
    top: var(--sb-topbar-height, 60px);
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    background: rgba(8,12,20,0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius-lg);
    margin-top: 8px;
    padding: 8px;
    z-index: 100;
    animation: sb-dropdown-glow 4s ease-in-out infinite;
}
.sb-topbar-dropdown-menu::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.sb-topbar-dropdown:hover .sb-topbar-dropdown-menu,
.sb-topbar-dropdown.dd-open .sb-topbar-dropdown-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.sb-topbar-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: linear-gradient(var(--sb-bg-surface, #0f1117), var(--sb-bg-surface, #0f1117)) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    border-radius: 2px 0 0 0;
    z-index: 2;
}
.sb-topbar-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--sb-radius);
    text-decoration: none;
    color: var(--sb-text);
    transition: background 0.15s;
}
.sb-topbar-dropdown-menu a:hover {
    background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04));
}
.sb-topbar-dropdown-menu .dd-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sb-ice);
}
.sb-topbar-dropdown-menu .dd-icon .sb-icon {
    width: 22px;
    height: 22px;
}
.sb-topbar-dropdown-menu .dd-title {
    font-weight: 500;
    font-size: var(--sb-text-sm);
    display: block;
}
.sb-topbar-dropdown-menu .dd-sub {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-top: 3px;
    display: block;
}
.sb-topbar-dropdown-menu .sb-topbar-dd-disabled {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--sb-radius);
    color: var(--sb-text-muted);
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.sb-topbar-dropdown-menu .sb-topbar-dd-disabled .dd-icon { color: var(--sb-text-muted); }
.sb-topbar-search {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sb-space-xl);
}
.sb-topbar-search-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    overflow: visible;
    background: var(--sb-bg-card);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius);
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.sb-topbar-search-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.sb-topbar-search input {
    width: 100%;
    padding: 8px 16px 8px 36px;
    background: transparent;
    color: var(--sb-text);
    border: none;
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-sm);
    font-family: var(--sb-font);
    outline: none;
}
.sb-topbar-search input:focus {
    box-shadow: none;
}
.sb-topbar-search input::placeholder {
    color: var(--sb-text-muted);
}
.sb-topbar-search input:-webkit-autofill,
.sb-topbar-search input:-webkit-autofill:hover,
.sb-topbar-search input:-webkit-autofill:focus,
.sb-topbar-search input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--sb-text) !important;
    caret-color: var(--sb-text);
    transition: background-color 600000s ease-in-out 0s,
                color            600000s ease-in-out 0s;
}
.sb-topbar-search-wrap .sb-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--sb-text-muted);
    pointer-events: none;
    z-index: 2;
}
.sb-ac-wrap {
    position: relative;
    width: 100%;
}
.sb-input-group .sb-ac-wrap {
    flex: 1;
}
.sb-ac-dropdown {
    position: fixed;
    z-index: 9998;
    display: none;
    background: rgba(8,12,20,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius);
    overflow: visible;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.4),
        0 0 20px rgba(56,189,248,0.15),
        0 0 40px rgba(99,102,241,0.1);
}
.sb-ac-dropdown::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.sb-ac-dropdown-inner {
    overflow-y: auto;
    border-radius: var(--sb-radius);
}
.light-mode .sb-ac-dropdown-inner {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.light-mode .sb-ac-dropdown {
    box-shadow:
        0 8px 32px rgba(0,0,0,0.10),
        0 2px 8px rgba(0,0,0,0.06);
    animation: ac-breathe-light 3s ease-in-out infinite;
}
.sb-ac-dropdown.open { display: block; }
.sb-ac-item {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 8px 12px;
    cursor: pointer;
    transition: background var(--sb-transition);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.sb-ac-item:last-child { border-bottom: none; }
.sb-ac-item:hover,
.sb-ac-item.sb-ac-active {
    background: rgba(56,189,248,0.08);
    color: var(--sb-text);
}
.sb-ac-item .sb-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--sb-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.sb-ac-item-name { flex: 1; min-width: 0; }
.sb-ac-item-name strong {
    color: var(--sb-text);
    font-weight: 500;
}
.sb-ac-item-sub {
    font-size: 11px;
    color: var(--sb-text-muted);
}
.sb-ac-empty {
    padding: 12px;
    text-align: center;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
}
.sb-topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sb-space-md);
}
.sb-topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--sb-radius-full);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--sb-border);
}
.sb-user-profile-wrap {
    position: relative;
}
.sb-user-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: none;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0.4rem 0.85rem 0.4rem 0;
    box-sizing: border-box;
    min-width: 260px;
}
.sb-user-profile::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.sb-user-profile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: sb-shimmer-sweep 3s ease-in-out infinite;
    pointer-events: none;
}
.sb-user-profile:hover {
    background: rgba(56,189,248,0.1);
    box-shadow: 0 0 24px rgba(56,189,248,0.15);
}
.sb-user-profile span {
    font-family: var(--sb-font);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    background: var(--sb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sb-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: var(--sb-radius-full);
    background: var(--sb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    margin-left: 0.5rem;
    overflow: hidden;
}
.sb-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--sb-radius-full);
}
.sb-user-avatar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 60%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: var(--sb-radius-full) var(--sb-radius-full) 0 0;
    pointer-events: none;
}
.sb-user-avatar::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    animation: sb-shimmer-sweep 3s ease-in-out infinite;
}
.sb-profile-popover {
    background: rgba(8,12,20,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(56,189,248,0.15), 0 0 40px rgba(99,102,241,0.1);
    z-index: 9998;
    display: none;
    overflow: visible;
    box-sizing: border-box;
    position: fixed;
    animation: profile-pop-glow 4s ease-in-out infinite;
}
.sb-profile-popover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 2px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.sb-profile-popover-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.sb-profile-popover-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--sb-gradient-h);
    opacity: 0.6;
}
.sb-profile-popover-header h3 {
    font-family: var(--sb-font);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sb-profile-popover-close {
    font-size: 0.8rem;
    color: var(--sb-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}
.sb-profile-popover-close:hover { color: var(--sb-text); }
.sb-profile-popover-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: visible;
}
.sb-profile-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}
.sb-profile-value {
    font-size: 0.85rem;
    color: var(--sb-text-secondary);
    padding: 0.5rem 0.7rem;
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
}
.sb-referral-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sb-referral-code {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}
.sb-referral-copy {
    flex-shrink: 0;
    padding: 0.35rem 0.5rem !important;
    min-width: unset;
}
.sb-referral-copy svg {
    width: 14px;
    height: 14px;
}
.sb-role-switcher {
    position: relative;
    width: 100%;
}
.sb-role-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    font-family: var(--sb-font);
    color: var(--sb-text);
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}
.sb-role-selected:hover,
.sb-territory-selected:hover,
.sb-profile-popover-link:hover {
    filter: brightness(1.15);
}
.sb-role-selected svg {
    color: var(--sb-text-secondary);
    transition: transform 0.2s ease;
}
.sb-role-options.open + .sb-role-selected svg,
.sb-role-options.open ~ .sb-role-selected svg { transform: rotate(180deg); }
.sb-role-options {
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    display: none;
    margin-top: 2px;
    overflow: hidden;
}
.sb-role-options.open {
    display: block;
}
.sb-role-option {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    font-family: var(--sb-font);
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}
.sb-role-option:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 1px;
    background: var(--sb-gradient-h);
    opacity: 0.3;
}
.sb-role-option:hover {
    background: rgba(56,189,248,0.1);
    color: var(--sb-text);
}
.sb-role-option.active {
    color: var(--sb-ice-light);
    background: rgba(56,189,248,0.08);
}
.sb-territory-switcher {
    position: relative;
    width: 100%;
}
.sb-territory-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    font-family: var(--sb-font);
    color: var(--sb-text);
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}
.sb-territory-selected svg {
    color: var(--sb-text-secondary);
    transition: transform 0.2s ease;
}
.sb-territory-options.open + .sb-territory-selected svg,
.sb-territory-options.open ~ .sb-territory-selected svg { transform: rotate(180deg); }
.sb-territory-options {
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    display: none;
    margin-top: 2px;
    overflow: hidden;
}
.sb-territory-options.open {
    display: block;
}
.sb-territory-option {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    font-family: var(--sb-font);
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}
.sb-territory-option:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 1px;
    background: var(--sb-gradient-h);
    opacity: 0.3;
}
.sb-territory-option:hover {
    background: rgba(56,189,248,0.1);
    color: var(--sb-text);
}
.sb-territory-option.active {
    color: var(--sb-ice-light);
    background: rgba(56,189,248,0.08);
}
.sb-profile-popover-link {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    color: var(--sb-text-secondary);
    font-weight: 600;
    font-family: var(--sb-font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}
.sb-profile-popover-link:hover {
    color: var(--sb-text);
}
.sb-popover-signout {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    background: var(--sb-gradient);
    color: #fff;
    font-weight: 600;
    font-family: var(--sb-font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.sb-popover-signout::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    animation: sb-shimmer-sweep 3s ease-in-out infinite;
    pointer-events: none;
}
.sb-popover-signout:hover {
    box-shadow: 0 0 24px rgba(56,189,248,0.3);
}

@media (max-width: 768px)  {
.sb-user-profile span { display: none; }
.sb-user-profile { min-width: auto; }
.sb-topbar-logo { width: auto; }
.sb-profile-popover { left: 0.75rem !important; right: 0.75rem !important; width: auto !important; }

}
.sb-notification-bell {
    position: relative;
    cursor: pointer;
    color: var(--sb-text-secondary);
    font-size: 20px;
    transition: color var(--sb-transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-full);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(var(--sb-bg-surface), var(--sb-bg-surface)),
        linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
}
.sb-notification-bell:hover { color: var(--sb-text); }
.sb-notification-bell.has-notifications {
    animation: sb-bell-breathe 3s ease-in-out infinite;
}
.sb-notification-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--sb-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--sb-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 0 8px rgba(56,189,248,0.4), 0 0 4px rgba(99,102,241,0.2);
    border: 1.5px solid var(--sb-bg);
}
.sb-notification-wrap {
    position: relative;
}
.sb-notif-dropdown {
    display: none;
    flex-direction: column;
    width: 280px;
    max-height: 360px;
    overflow: hidden;
    background: rgba(8,12,20,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(56,189,248,0.15), 0 0 40px rgba(99,102,241,0.1);
    z-index: 1200;
    box-sizing: border-box;
    position: relative;
}
.sb-notif-dropdown::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 2px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.sb-notif-heading {
    padding: var(--sb-space-md) var(--sb-space-md) var(--sb-space-sm);
    font-size: var(--sb-text-base);
    font-weight: 700;
    color: var(--sb-text);
    border-bottom: 1px solid var(--sb-border-light);
}
.sb-notif-dropdown-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.sb-notif-dropdown-inner::-webkit-scrollbar { width: 4px; }
.sb-notif-dropdown-inner::-webkit-scrollbar-track { background: transparent; }
.sb-notif-dropdown-inner::-webkit-scrollbar-thumb { background: var(--sb-border-light); border-radius: var(--sb-radius-pill); }
.sb-notif-dropdown.active { display: flex; }
.sb-notif-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background var(--sb-transition);
    border-bottom: 1px solid var(--sb-border);
}
.sb-notif-item:hover { background: var(--sb-bg-card); }
.sb-notif-item.unread { font-weight: 600; }
.sb-notif-item .sb-icon { display: none; }
.sb-notif-item-title {
    font-size: var(--sb-text-xs);
    color: var(--sb-text);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-notif-item.unread .sb-notif-item-title { font-weight: 600; }
.sb-notif-item-body {
    font-size: 11px;
    color: var(--sb-text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-notif-item-time {
    font-size: 10px;
    color: var(--sb-text-muted);
}
.sb-notif-emergency {
    border-left: 3px solid #f97316;
    background: rgba(249, 115, 22, 0.06);
}
.sb-notif-emergency:hover { background: rgba(249, 115, 22, 0.1); }
.sb-notif-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    border-top: 1px solid var(--sb-border);
    flex-shrink: 0;
    background: var(--sb-bg-surface);
}
.sb-notif-footer a,
.sb-notif-footer button {
    font-size: var(--sb-text-xs);
    color: var(--sb-sky);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sb-font);
    font-weight: 500;
    padding: 0;
    transition: color var(--sb-transition);
}
.sb-notif-footer a:hover,
.sb-notif-footer button:hover { color: var(--sb-ice-light); }
.sb-notif-empty {
    padding: var(--sb-space-md) var(--sb-space-sm);
    text-align: center;
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
}
body.light-mode .sb-profile-popover,
body.light-mode .sb-notif-dropdown {
    background: rgba(255,255,255,0.95);
    box-shadow: var(--sb-shadow-lg);
}

@media (max-width: 768px)  {
.sb-notification-wrap {
        position: static;
    }
.sb-notif-dropdown {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-height: 70vh;
        background: rgba(8, 12, 20, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border-radius: 0;
        border: none;
        border-top: 2px solid transparent;
        border-image: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) 1;
        box-shadow: 0 -4px 15px rgba(56,189,248,0.3), 0 -2px 30px rgba(99,102,241,0.2);
        animation: mobile-nav-top-glow 3s ease-in-out infinite;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
        display: flex;
        flex-direction: column;
        visibility: hidden;
        z-index: 999;
        padding: var(--sb-space-md) var(--sb-space-md) var(--sb-space-lg);
        height: auto;
        min-height: 50vh;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
.sb-notif-dropdown::-webkit-scrollbar { display: none; }
.sb-notif-dropdown::after {
        display: none;
    }
.sb-notif-dropdown.active {
        visibility: visible;
        transform: translateY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
    }
.sb-notif-dropdown.instant-close { transition: none !important; }
.sb-notif-dropdown::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--sb-border-light);
        border-radius: 2px;
        margin: 0 auto var(--sb-space-md);
        flex-shrink: 0;
    }
.sb-notif-dropdown-inner {
        max-height: calc(70vh - 40px);
    }
.sb-notif-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
.sb-notif-overlay.open {
        display: block;
    }

}
.sb-footer {
    text-align: center;
    padding: 19px var(--sb-space-lg) 13px;
    border-top: 1px solid var(--sb-border);
}
.sb-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 16px;
}
.sb-footer .footer-links a {
    color: var(--sb-text-muted);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    transition: color var(--sb-transition);
}
.sb-footer .footer-links a:hover {
    color: var(--sb-text);
}

@media (max-width: 768px)  {
.sb-footer .footer-links { gap: 4px 12px; }
.sb-footer .footer-links a { font-size: var(--sb-text-xs); }

}
.footer-explore-toggle {
    cursor: pointer; transition: color 0.2s;
}
.footer-explore-toggle:hover { color: var(--sb-text) !important; }
.footer-explore {
    display: none; margin: 0 auto;
    grid-template-columns: auto auto auto auto; gap: 0 48px;
    justify-content: center;
    padding-bottom: 12px;
}
.footer-explore-col { text-align: left; }
.footer-explore.open { display: grid; }
.footer-explore-heading {
    font-size: var(--sb-text-xs); font-weight: 600; color: var(--sb-text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 6px; padding-top: 12px;
}
.footer-explore a {
    display: block; color: var(--sb-text-muted); font-size: var(--sb-text-xs);
    text-decoration: none; padding: 3px 0; transition: color 0.2s;
}
.footer-explore a:hover { color: var(--sb-text); }

@media (max-width: 768px)  {
.footer-explore { grid-template-columns: auto auto; gap: 0 48px; }

}
.sb-footer a[title]:hover {
    color: var(--sb-text) !important;
}
.sb-sidebar {
    width: var(--sb-sidebar-width);
    background: var(--sb-bg-surface);
    border-right: none;
    padding: 14px var(--sb-space-sm) calc(var(--sb-space-lg) - 7px) var(--sb-space-sm);
    position: fixed;
    top: var(--sb-topbar-height);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 998;
    box-shadow: 4px 0 16px rgba(56,189,248,0.12), 4px 0 32px rgba(14,165,233,0.06), 4px 0 48px rgba(99,102,241,0.04);
    animation: sb-sidebar-breathe 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
}
.sb-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    pointer-events: none;
}
.sb-theme-toggle {
    margin-top: auto;
    padding: var(--sb-space-md) 0 0;
    flex-shrink: 0;
    border-top: none;
    position: relative;
}
.sb-theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-sky), var(--sb-violet), transparent);
}
.sb-theme-toggle button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 10px var(--sb-space-md);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    font-family: var(--sb-font);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: color var(--sb-transition), background var(--sb-transition), box-shadow var(--sb-transition);
}
.sb-theme-toggle button:hover {
    color: var(--sb-text);
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box,
        linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    box-shadow: 0 0 12px rgba(56,189,248,0.15), 0 0 24px rgba(99,102,241,0.08);
}
.sb-theme-toggle-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.sb-theme-toggle .sb-icon svg {
    width: 18px;
    height: 18px;
}
.sb-sidebar-title {
    padding: 0 var(--sb-space-md);
    font-size: var(--sb-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-md);
}
.sb-sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 10px var(--sb-space-md);
    margin-bottom: 2px;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: all var(--sb-transition);
    position: relative;
    text-decoration: none;
    border: none;
    background: transparent;
    border-radius: var(--sb-radius);
}
.sb-sidebar-nav-item:hover {
    background: rgba(56,189,248,0.06);
    color: var(--sb-text);
}
.sb-sidebar-nav-item.active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    color: var(--sb-text);
}
.sb-sidebar-nav-item.active .sb-sidebar-label {
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}
.sb-sidebar-nav-item.active .sb-sidebar-icon { opacity: 1; }
.sb-sidebar-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}
.sb-sidebar-divider {
    height: 1px;
    margin: var(--sb-space-md) 0;
    background: linear-gradient(90deg, transparent, var(--sb-sky), var(--sb-violet), transparent);
    flex-shrink: 0;
    display: block;
}
.sb-app-layout {
    margin-left: var(--sb-sidebar-width);
    min-height: 100vh;
    padding-top: var(--sb-topbar-height);
}
.sb-subnav-layout {
    display: flex;
    min-height: calc(100vh - var(--sb-topbar-height));
}
.sb-subnav {
    width: 200px;
    min-width: 200px;
    background: var(--sb-bg-surface);
    border: none;
    padding: var(--sb-space-md) var(--sb-space-sm);
    position: sticky;
    top: var(--sb-topbar-height);
    height: calc(100vh - var(--sb-topbar-height));
    overflow: visible;
    flex-shrink: 0;
}
.sb-subnav::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    clip-path: inset(0 -20px 0 0);
    box-shadow: 2px 0 6px rgba(56,189,248,0.8), 4px 0 12px rgba(14,165,233,0.6), 6px 0 16px rgba(99,102,241,0.3);
    animation: sb-subnav-breathe 4s ease-in-out infinite;
    pointer-events: none;
}
.sb-subnav-header {
    padding: 15px var(--sb-space-md) var(--sb-space-md);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sb-subnav-item {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 9px var(--sb-space-md);
    margin-bottom: 2px;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: all var(--sb-transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--sb-font);
    position: relative;
    border-radius: var(--sb-radius);
}
.sb-subnav-item:hover {
    background: rgba(56,189,248,0.06);
    color: var(--sb-text-secondary);
}
.sb-subnav-item.active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    color: var(--sb-text);
}
.sb-subnav-item.active span {
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}
.sb-subnav-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 0 var(--sb-space-lg);
}
body.light-mode .sb-sidebar-nav-item:hover {
    background: linear-gradient(90deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.01) 60%, transparent 100%);
}
body.light-mode .sb-sidebar-nav-item.active {
    background: linear-gradient(90deg, rgba(14,165,233,0.08) 0%, rgba(14,165,233,0.03) 60%, transparent 100%);
    color: #0284C7;
}
body.light-mode .sb-sidebar-nav-item.active .sb-sidebar-label {
    background: linear-gradient(120deg, var(--sb-sky) 0%, var(--sb-sky) 40%, var(--sb-ice) 50%, var(--sb-sky) 60%, var(--sb-sky) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sb-text-shimmer 3s ease-in-out infinite;
}
body.light-mode .sb-subnav {
    background: #FFFFFF;
}
body.light-mode .sb-subnav-item:hover {
    background: rgba(14,165,233,0.04);
}
body.light-mode .sb-subnav-item.active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
        linear-gradient(135deg, rgba(56,189,248,0.5), rgba(14,165,233,0.5), rgba(99,102,241,0.5)) border-box;
    color: var(--sb-sky);
}
body.light-mode .sb-subnav-item.active span {
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px)  {
.sb-subnav-layout { flex-direction: column; }
.sb-subnav {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: static;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-bottom: 1px solid var(--sb-border);
        padding: 0;
    }
.sb-subnav::-webkit-scrollbar { display: none; }
.sb-subnav::after { display: none; }
.sb-subnav-header { display: none; }
.sb-subnav-item {
        white-space: nowrap;
        padding: 8px 14px;
        margin-bottom: 0;
        border-radius: var(--sb-radius-sm);
        justify-content: center;
        text-align: center;
        flex: 1;
    }

}
.sb-ribbon {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--sb-border);
    margin-bottom: var(--sb-space-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--sb-space-lg);
    margin-top: var(--sb-space-sm);
}
.sb-ribbon::-webkit-scrollbar { display: none; }
.sb-ribbon-label {
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text-secondary);
    white-space: nowrap;
    padding: 8px 0;
    margin-right: var(--sb-space-md);
    flex-shrink: 0;
}
.sb-ribbon-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}
.builder-row-label {
    width: 56px;
    flex: 0 0 56px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--sb-text-muted);
    text-align: left;
    user-select: none;
    line-height: 1;
}
.sb-ribbon-tab {
    padding: 8px 14px;
    font-size: calc(var(--sb-text-sm) * 0.95);
    font-weight: 400;
    color: var(--sb-text-muted);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: all var(--sb-transition);
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--sb-font);
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
}
.sb-ribbon-tab:hover {
    color: var(--sb-text-secondary);
}
.sb-ribbon-tab.active {
    color: var(--sb-text);
    font-weight: 500;
    border-bottom-color: var(--sb-ice);
}
.sb-ribbon-tab.active span {
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sb-filter-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    margin-bottom: var(--sb-space-lg);
    border-bottom: 1px solid var(--sb-border);
}

@media (min-width: 900px)  {
.sb-filter-pills { justify-content: space-between; gap: var(--sb-space-md); }
.sb-filter-pills .sb-filter-pill { flex: 1 1 auto; text-align: center; }

}
.sb-filter-pills::-webkit-scrollbar { display: none; }
.sb-filter-pill {
    padding: 8px 18px;
    font-size: var(--sb-text-sm);
    font-weight: 500;
    font-family: var(--sb-font);
    color: var(--sb-text-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--sb-transition);
    white-space: nowrap;
    position: relative;
    margin-bottom: -1px;
}
.sb-filter-pill:hover {
    color: var(--sb-text-secondary);
}
.sb-filter-pill.active {
    color: var(--sb-text);
    border-bottom: 2px solid var(--sb-ice);
    background: linear-gradient(180deg, transparent 0%, rgba(56,189,248,0.06) 100%);
    font-weight: 600;
}
.sb-filter-dropdown { display: none; }

@media (max-width: 600px)  {
.sb-filter-pills { display: none !important; }
.sb-filter-dropdown {
        display: block;
        margin-bottom: var(--sb-space-lg);
    }
.sb-filter-dropdown .sb-custom-select {
        position: relative !important;
    }
.sb-filter-dropdown .sb-custom-select-trigger {
        font-weight: 600;
        background: rgba(8,12,20,0.70) !important;
        border: none !important;
        border-image: none !important;
        border-radius: var(--sb-radius) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        outline: 1px solid var(--sb-sky) !important;
    }
.sb-filter-dropdown .sb-custom-select-options {
        background: rgba(8,12,20,0.70) !important;
        border: none !important;
        border-image: none !important;
        border-radius: var(--sb-radius) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        outline: 1px solid var(--sb-sky) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
    }

}
.sb-modal-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 0;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}
.sb-modal-overlay::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 14, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}
.sb-modal-overlay.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}
.sb-modal {
    background: rgba(12, 17, 32, 0.80);
    border: none;
    border-radius: var(--sb-radius);
    width: 90%;
    max-width: var(--sb-max-width-sm);
    overflow: visible;
    padding: var(--sb-space-xl);
    transform: scale(0.95);
    transition: transform var(--sb-transition);
    position: relative;
    animation: sb-modal-breathe 3s ease-in-out infinite;
    flex-shrink: 0;
}
.sb-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.sb-modal-sm { max-width: 450px; }
.sb-modal-md { max-width: 560px; }
.sb-modal-lg { max-width: var(--sb-max-width-md); }
.sb-modal-xl { max-width: 800px; width: 95%; }
.sb-modal-overlay.active .sb-modal {
    transform: scale(1);
}
.sb-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--sb-space-lg);
    padding-bottom: var(--sb-space-md);
    border-bottom: 1px solid rgba(56,189,248,0.15);
    position: relative;
}
.sb-modal-logo {
    font-family: 'Rajdhani', var(--sb-font);
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sb-text);
    line-height: 1;
    margin-bottom: var(--sb-space-sm);
}
.sb-modal-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sb-modal-close {
    position: absolute;
    top: var(--sb-space-md);
    right: var(--sb-space-md);
    background: transparent;
    border: 1px solid var(--sb-border-light);
    color: var(--sb-text-muted);
    font-size: 1.35rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sb-radius-sm);
    transition: color var(--sb-transition), box-shadow var(--sb-transition), border-color var(--sb-transition);
    z-index: 1;
}
.sb-modal-close:hover {
    color: var(--sb-ice-light);
    border-color: var(--sb-ice);
    box-shadow: 0 0 8px rgba(56,189,248,0.2), 0 0 16px rgba(14,165,233,0.1);
}
.sb-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-lg);
    padding-top: var(--sb-space-md);
    border-top: 1px solid var(--sb-border);
}
.sb-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 14, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--sb-transition);
}
.sb-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sb-confirm {
    background: rgba(12, 17, 32, 0.70);
    border: none;
    border-radius: var(--sb-radius);
    width: 90%;
    max-width: 420px;
    padding: var(--sb-space-xl);
    transform: scale(0.95);
    transition: transform var(--sb-transition);
    position: relative;
    animation: sb-modal-breathe 3s ease-in-out infinite;
    flex-shrink: 0;
}
.sb-confirm::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.sb-confirm-overlay.active .sb-confirm {
    transform: scale(1);
}
.sb-confirm-header {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-md);
    border-bottom: 1px solid rgba(56,189,248,0.15);
}
.sb-confirm-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--sb-ice);
}
.sb-confirm-icon svg { width: 100%; height: 100%; }
.sb-confirm-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sb-confirm-message {
    font-size: var(--sb-text-base);
    color: var(--sb-text);
    line-height: 1.6;
    margin-bottom: var(--sb-space-lg);
}
.sb-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--sb-space-sm);
}
.gx-share-modal {
    background: rgba(12, 17, 32, 0.70);
    border: none;
    border-radius: var(--sb-radius);
    width: 90%;
    max-width: 460px;
    padding: var(--sb-space-2xl) var(--sb-space-xl);
    transform: scale(0.95);
    transition: transform var(--sb-transition);
    position: relative;
    animation: sb-modal-breathe 3s ease-in-out infinite;
    flex-shrink: 0;
}
.gx-share-modal .sb-modal-header { margin-bottom: var(--sb-space-lg); }
.gx-share-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.sb-confirm-overlay.active .gx-share-modal { transform: scale(1); }
.gx-share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sb-space-md);
}
.gx-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--sb-space-md) var(--sb-space-sm);
    min-height: 88px;
    background: rgba(var(--c-rgb, 255,255,255), 0.12);
    border: 1px solid var(--c, rgba(255,255,255,0.2));
    border-radius: var(--sb-radius);
    color: var(--c, var(--sb-text-muted));
    cursor: pointer;
    transition: background var(--sb-transition), border-color var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.gx-share-btn:hover {
    background: rgba(var(--c-rgb, 255,255,255), 0.20);
    box-shadow: 0 0 0 2px rgba(var(--c-rgb, 255,255,255), 0.18), 0 6px 20px -6px rgba(var(--c-rgb, 255,255,255), 0.35);
    transform: translateY(-2px);
}
.gx-share-btn svg { width: 26px; height: 26px; flex-shrink: 0; color: inherit; }
.gx-share-btn .sb-icon { display: flex; color: inherit; }
.gx-share-btn .sb-icon svg { width: 26px; height: 26px; }
.gx-share-hint {
    display: block;
    margin-top: var(--sb-space-md);
    padding: 8px 14px;
    background: rgba(var(--sb-ice-rgb), 0.15);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    color: var(--sb-ice);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

@media (max-width: 480px)  {
.gx-share-options { grid-template-columns: repeat(3, 1fr); }

}
.sb-segmented {
    display: inline-flex; padding: 4px; gap: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sb-border);
    border-radius: 10px;
}
.sb-segmented-btn {
    appearance: none; background: transparent; border: 1px solid transparent;
    color: var(--sb-text-muted); font-size: 0.72rem; letter-spacing: 0.06em;
    padding: 6px 14px; border-radius: 7px; cursor: pointer; font-weight: 600;
    font-family: inherit; line-height: 1;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.sb-segmented-btn:hover { color: var(--sb-text-primary); background: rgba(255,255,255,0.04); }
.sb-segmented-btn.is-active {
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.18), rgba(var(--sb-violet-rgb),0.14));
    color: var(--sb-ice);
    border-color: rgba(var(--sb-ice-rgb),0.45);
    box-shadow: 0 0 0 1px rgba(var(--sb-ice-rgb),0.15), 0 2px 10px rgba(var(--sb-ice-rgb),0.18);
}

@media (max-width: 520px)  {
.sb-segmented-btn { padding: 5px 10px; font-size: 0.65rem; }

}
.sb-tab {
    padding: 12px 20px;
    font-size: var(--sb-text-sm);
    font-weight: 500;
    color: var(--sb-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--sb-transition);
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.sb-tab:hover { color: var(--sb-text-secondary); }
.sb-tab.active {
    color: var(--sb-text);
    border-bottom-color: var(--sb-ice);
}
.sb-tab-panel {
    display: none;
}
.sb-tab-panel.active {
    display: block;
}
.sb-table-wrap {
    overflow-x: auto;
}
.sb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--sb-text-sm);
}
.sb-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--sb-text-secondary);
    border-bottom: 1px solid var(--sb-border);
    text-transform: uppercase;
    font-size: var(--sb-text-xs);
    letter-spacing: 0.05em;
}
.sb-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--sb-border);
    color: var(--sb-text);
}
.sb-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.sb-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--sb-radius);
    object-fit: cover;
    background: var(--sb-bg-input);
}
.sb-avatar-sm { width: 32px; height: 32px; }
.sb-avatar-md { width: 48px; height: 48px; }
.sb-avatar-lg { width: 64px; height: 64px; }
.sb-avatar-xl { width: 300px; height: 300px; border-radius: var(--sb-radius); }
.sb-avatar-initials {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: var(--sb-text-sm); color: #fff;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
}
.sb-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sb-gradient);
    color: #fff;
    font-weight: 700;
    font-size: var(--sb-text-lg);
}
.roster-card-left .sb-avatar,
.roster-card-left .sb-avatar-sm {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}
.sb-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--sb-text-muted);
    font-size: 16px;
}
.sb-stars .filled { color: var(--sb-ice); }
.sb-stars-input {
    display: inline-flex;
    gap: 2px;
    font-size: 24px;
    cursor: pointer;
}
.sb-stars-input span {
    color: var(--sb-text-muted);
    transition: color var(--sb-transition);
}
.sb-stars-input span.active,
.sb-stars-input span:hover,
.sb-stars-input span:hover ~ span { /* Note: CSS hover trick doesn't work RTL, handled in JS */ }
.sb-empty {
    text-align: center;
    padding: var(--sb-space-3xl) var(--sb-space-lg);
    color: var(--sb-text-muted);
}
.sb-empty-icon {
    font-size: 48px;
    margin-bottom: var(--sb-space-md);
    opacity: 0.5;
}
.sb-empty-title {
    font-size: var(--sb-text-lg);
    font-weight: 600;
    color: var(--sb-text-secondary);
    margin-bottom: var(--sb-space-sm);
}
.sb-empty-cta {
    margin-top: var(--sb-space-md);
    display: inline-block;
}
.sb-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--sb-border);
    border-top-color: var(--sb-ice);
    border-radius: var(--sb-radius-full);
    animation: sb-spin 0.6s linear infinite;
}
.sb-page-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--sb-bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 0;
    visibility: visible !important;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sb-page-splash.fade-out { opacity: 0; visibility: hidden; }
.sb-page-splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: fit-content;
}
.sb-page-splash-name {
    position: relative; z-index: 1;
    width: fit-content;
    margin: 0 auto;
    font-size: 2.36rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    color: #F0F9FF;
}
.sb-page-splash-name .sb-x {
    background: linear-gradient(180deg, var(--sb-ice-light) 0%, var(--sb-sky) 50%, var(--sb-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.sb-page-splash-divider {
    width: 100%;
    height: 2px;
    margin: 14px auto 18px;
    background: linear-gradient(90deg, transparent 0%, var(--sb-ice) 20%, var(--sb-sky) 50%, var(--sb-violet) 80%, transparent 100%);
    opacity: 0.8;
}
.sb-page-splash-tagline {
    position: relative; z-index: 1;
    font-family: var(--sb-font);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sb-text-muted);
    text-align: center;
}
.sb-page-splash-progress {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 24px;
}
.sb-page-splash-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    animation: sb-splash-progress 2.5s ease-in-out infinite;
}

@media (max-width: 768px)  {
.sb-page-splash { padding: 0 var(--sb-space-xl); }
.sb-page-splash-name { font-size: 1.75rem; letter-spacing: 0.06em; }
.sb-page-splash-tagline { font-size: 0.65rem; letter-spacing: 0.06em; }
.sb-page-splash-divider { max-width: 200px; }
.sb-page-splash-progress { max-width: 200px; }

}

@media (max-width: 480px)  {
.sb-page-splash { padding: 0 var(--sb-space-2xl); }
.sb-page-splash-name { font-size: 1.3rem; letter-spacing: 0.04em; }
.sb-page-splash-tagline { font-size: 0.6rem; letter-spacing: 0.04em; }
.sb-page-splash-divider { max-width: 160px; }
.sb-page-splash-progress { max-width: 160px; }

}
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.grid { display: grid; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-center { display: flex; align-items: center; }
.gap-xs { gap: var(--sb-space-xs); }
.gap-sm { gap: var(--sb-space-sm); }
.gap-md { gap: var(--sb-space-md); }
.gap-lg { gap: var(--sb-space-lg); }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--sb-space-xs); }
.mb-sm { margin-bottom: var(--sb-space-sm); }
.mb-md { margin-bottom: var(--sb-space-md); }
.mb-lg { margin-bottom: var(--sb-space-lg); }
.mb-xl { margin-bottom: var(--sb-space-xl); }
.mt-xs { margin-top: var(--sb-space-xs); }
.mt-sm { margin-top: var(--sb-space-sm); }
.mt-md { margin-top: var(--sb-space-md); }
.mt-lg { margin-top: var(--sb-space-lg); }
.mt-xl { margin-top: var(--sb-space-xl); }
.p-sm { padding: var(--sb-space-sm); }
.p-md { padding: var(--sb-space-md); }
.p-lg { padding: var(--sb-space-lg); }
.text-xs { font-size: var(--sb-text-xs); }
.text-sm { font-size: var(--sb-text-sm); }
.text-base { font-size: var(--sb-text-base); }
.text-lg { font-size: var(--sb-text-lg); }
.text-2xl { font-size: var(--sb-text-2xl); }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--sb-text-muted); }
.text-secondary { color: var(--sb-text-secondary); }
.text-ice { color: var(--sb-ice); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.cursor-pointer { cursor: pointer; }
.uppercase { text-transform: uppercase; }
.sb-skel {
    background: var(--sb-bg-card);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.sb-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(56,189,248,0.06) 40%, rgba(56,189,248,0.06) 60%, transparent 100%);
    animation: sb-skel-shimmer 1.8s ease-in-out infinite;
}
.sb-skel-line    { height: 14px; margin-bottom: 10px; }
.sb-skel-line-lg { height: 22px; margin-bottom: 12px; }
.sb-skel-line-xl { height: 32px; margin-bottom: 14px; }
.sb-skel-w100 { width: 100%; }
.sb-skel-w75  { width: 75%; }
.sb-skel-w50  { width: 50%; }
.sb-skel-w30  { width: 30%; }
.sb-skel-circle    { border-radius: var(--sb-radius-full); }
.sb-skel-circle-sm { width: 32px; height: 32px; border-radius: var(--sb-radius-full); }
.sb-skel-circle-md { width: 48px; height: 48px; border-radius: var(--sb-radius-full); }
.sb-skel-circle-lg { width: 80px; height: 80px; border-radius: var(--sb-radius-full); }
.sb-skel-card {
    background: var(--sb-bg-card);
    border: 1px solid var(--sb-border);
    border-radius: 6px;
    padding: var(--sb-space-md);
}
.sb-skel-grid {
    display: grid;
    gap: var(--sb-space-md);
}
.sb-skel-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sb-skel-grid-2 { grid-template-columns: repeat(2, 1fr); }
body.light-mode .sb-skel::after {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.6) 60%, transparent 100%);
}
.sb-upload-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(4, 6, 14, 0.50); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.sb-upload-overlay.active { opacity: 1; pointer-events: auto; }
.sb-upload-card {
    background: rgba(12, 17, 32, 0.70); border: none; position: relative;
    border-radius: var(--sb-radius); padding: var(--sb-space-xl) var(--sb-space-2xl);
    text-align: center; min-width: 280px; max-width: 360px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: scale(0.95); transition: transform 0.2s ease;
}
.sb-upload-overlay.active .sb-upload-card { transform: scale(1); }
.sb-upload-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.sb-upload-card h4 { margin: 0 0 var(--sb-space-sm); color: var(--sb-text-primary); font-size: var(--sb-text-sm); }
.sb-upload-card p { margin: 0 0 var(--sb-space-md); color: var(--sb-text-muted); font-size: var(--sb-text-xs); }
.sb-upload-bar {
    width: 100%; height: 6px; background: var(--sb-border); border-radius: 3px; overflow: hidden;
}
.sb-upload-bar-fill {
    height: 100%; width: 30%; border-radius: 3px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-violet));
    animation: sb-upload-slide 1.2s ease-in-out infinite;
}
.sb-upload-bar-fill.done {
    animation: none; width: 100%; margin-left: 0;
    transition: width 0.3s ease;
}
body.sb-cookie-active { padding-bottom: 60px; }

@media (max-width: 600px)  {
body.sb-cookie-active { padding-bottom: 120px; }

}
body.sb-email-capture-active { padding-bottom: 80px; }

@media (max-width: 600px)  {
body.sb-email-capture-active { padding-bottom: 160px; }

}
.sb-toast-container {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sb-space-sm);
    pointer-events: none;
}
.sb-toast {
    background: rgba(14, 20, 33, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    padding: var(--sb-space-md) var(--sb-space-lg);
    font-size: var(--sb-text-sm);
    position: relative;
    color: var(--sb-text);
    min-width: 300px;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: var(--sb-space-md);
    animation: sb-toast-in 0.3s ease, sb-toast-glow 2s ease-in-out infinite;
    pointer-events: auto;
    text-align: center;
    justify-content: center;
}
.sb-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(56, 189, 248, 0.12);
    color: var(--sb-ice);
}
.sb-toast-success .sb-toast-icon { background: rgba(56, 189, 248, 0.12); color: var(--sb-ice); }
.sb-toast-error .sb-toast-icon { background: rgba(56, 189, 248, 0.12); color: var(--sb-ice); }
.sb-toast-error { border-color: var(--sb-ice); }
.sb-toast-body {
    flex: 1;
    text-align: center;
}
.sb-toast-body h4 {
    margin: 0;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text-primary);
}
.sb-toast-body p {
    margin: 2px 0 0;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-secondary);
}
.sb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: var(--sb-space-lg);
    padding: var(--sb-space-sm) 0;
}
.sb-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--sb-text-muted);
    border: 1px solid transparent;
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    font-family: var(--sb-font);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    transition: all var(--sb-transition);
}
.sb-page-btn:hover:not(:disabled):not(.active) {
    color: var(--sb-ice);
    background: rgba(56,189,248,0.08);
    border-color: rgba(56,189,248,0.2);
}
.sb-page-btn.active {
    color: var(--sb-ice);
    font-weight: 700;
    border-color: rgba(56,189,248,0.3);
    background: rgba(56,189,248,0.1);
}
.sb-page-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.sb-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
}
.sb-accordion-item {
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    overflow: hidden;
    transition: box-shadow var(--sb-transition);
}
.sb-accordion-item.open {
    border-color: var(--sb-border-light);
    box-shadow: var(--sb-shadow);
}
.sb-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-md) var(--sb-space-lg);
    background: var(--sb-bg-card);
    border: none;
    color: var(--sb-text);
    font-family: var(--sb-font);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sb-transition);
}
.sb-accordion-trigger:hover { background: var(--sb-bg-card-hover); }
.sb-accordion-trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--sb-text-muted);
    border-bottom: 2px solid var(--sb-text-muted);
    transform: rotate(45deg);
    transition: transform var(--sb-transition);
    flex-shrink: 0;
}
.sb-accordion-item.open .sb-accordion-trigger::after {
    transform: rotate(-135deg);
}
.sb-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.sb-accordion-item.open .sb-accordion-body {
    max-height: 600px;
}
.sb-accordion-body-inner {
    padding: var(--sb-space-md) var(--sb-space-lg);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    line-height: 1.6;
    border-top: 1px solid var(--sb-border);
}
.hero-stats > div + div,
.stats-grid > .stat-item + .stat-item,
.blog-hero-stat + .blog-hero-stat,
.city-stats-bar .city-stat + .city-stat {
    border-left: none;
    border-image: linear-gradient(to top, rgba(var(--sb-ice-rgb), 0.25), transparent) 1;
    border-left-width: 1px;
    border-left-style: solid;
}
.hero-stats > div + div,
.stats-grid > .stat-item + .stat-item,
.blog-hero-stat + .blog-hero-stat {
    padding-left: var(--sb-space-2xl);
}
.section-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--sb-ice) 20%, var(--sb-sky) 50%, var(--sb-violet) 80%, transparent 100%); opacity: 0.4; width: 100vw; margin-left: calc(-50vw + 50%); }
.page-content .section-divider { margin-top: var(--sb-space-3xl); margin-bottom: var(--sb-space-3xl); }
.section-band { padding: var(--sb-space-3xl) var(--sb-space-lg); }
.sb-breadcrumb + .section-band { padding-top: var(--sb-space-lg); }
.section-band-surface { background: var(--sb-bg-surface); }
.sb-btn-lg { padding: 14px 36px; font-size: 1rem; }
.cmp-table th.cmp-color-gx { color: var(--sb-ice); }
.cmp-table th.cmp-color-encore { color: #EC4899; }
.cmp-table th.cmp-color-gigpig { color: #F59E0B; }
.cmp-table th.cmp-color-alive { color: var(--sb-sky); }
.cmp-table th.cmp-color-lemonrock { color: var(--sb-teal-light); }
.hero-subtitle-3line { min-height: 4.8em; }
.gig-hero-ctas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sb-space-2xl); }
.hero-content > .city-pills + .city-pills { margin-top: var(--sb-space-xl); }
.gig-section-spaced { margin-top: 48px; }
.gig-faq-wrap { margin-top: var(--sb-space-lg); }
.gig-explore-content { padding: 0; }
.radar-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #94A3B8; }
.radar-legend-swatch { width: 12px; height: 12px; border-radius: 3px; }
.cmp-table-wrap { max-width: 700px; margin: var(--sb-space-xl) auto 0; position: relative; z-index: 1; }
.cmp-table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--sb-text-sm); text-align: left; }
.cmp-table-wrap thead tr { border-bottom: 2px solid var(--sb-border); }
.cmp-table-wrap tbody { color: var(--sb-text-secondary); }
.cmp-table-wrap tbody tr { border-bottom: 1px solid var(--sb-border); }
.cmp-table-wrap tbody tr:last-child { border-bottom: none; }
.cmp-table-wrap th, .cmp-table-wrap td { padding: 10px 12px; }
.cmp-table-wrap th { color: var(--sb-text-muted); font-weight: 600; }
.cmp-table-wrap th.cmp-gx { color: var(--sb-text-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cmp-table-wrap td.cmp-label { font-weight: 600; color: var(--sb-text); }
.cmp-table-wrap td.cmp-gx { color: var(--sb-ice); }
.guide-container { max-width: 800px; margin: 0 auto; padding: calc(var(--sb-topbar-height) + 40px) 24px 60px; line-height: 1.7; }
.guide-container h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.guide-container .subtitle { color: var(--sb-text-muted); font-size: 1rem; margin-bottom: 32px; }
.guide-container h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; color: var(--sb-ice); }
.guide-container h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; }
.guide-container p { margin-bottom: 16px; }
.guide-container blockquote { border-left: 3px solid var(--sb-ice); padding: 12px 20px; margin: 20px 0; background: rgba(var(--sb-ice-rgb),0.05); border-radius: 0 8px 8px 0; font-style: italic; }
.guide-container ul, .guide-container ol { margin: 0 0 16px 20px; }
.guide-container li { margin-bottom: 6px; }
.guide-toc { background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; border: 1px solid transparent; border-radius: var(--sb-radius-lg); padding: 20px 24px; margin-bottom: 32px; animation: sb-card-breathe 4s ease-in-out infinite; }
.guide-toc-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sb-text-muted); margin-bottom: 10px; }
.guide-toc a { display: block; padding: 4px 0; font-size: 0.9rem; }
.guide-article-card { background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; border: 1px solid transparent; border-radius: var(--sb-radius); padding: 16px 20px; margin-bottom: 12px; animation: sb-card-breathe 4s ease-in-out infinite; transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition); }
.guide-article-card:hover { background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box, var(--sb-gradient) border-box; box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.3), 0 0 16px rgba(14,165,233,0.15); transform: translateY(-1px); }
.guide-article-card a { font-weight: 600; }
.guide-article-card p { font-size: 0.85rem; color: var(--sb-text-muted); margin: 4px 0 0; }
.guide-breadcrumb { font-size: 0.8rem; color: var(--sb-text-muted); margin-bottom: 16px; }
.guide-breadcrumb a { color: var(--sb-text-muted); }

@media (max-width: 600px)  {
.guide-container h1 { font-size: 1.5rem; }
.guide-container { padding: 24px 16px 40px; }

}
.blog-post-header { margin-bottom: var(--sb-space-2xl); padding-bottom: var(--sb-space-xl); border-bottom: none; position: relative; }
.blog-post-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--sb-ice) 0%, var(--sb-sky) 50%, var(--sb-violet) 100%); opacity: 0.6; }
.blog-post-tags { display: flex; gap: var(--sb-space-xs); margin-bottom: var(--sb-space-md); flex-wrap: wrap; }
.blog-post-tags span { font-size: var(--sb-text-xs); color: var(--sb-ice); background: rgba(var(--sb-ice-rgb), 0.12); border: 1px solid rgba(var(--sb-ice-rgb), 0.25); padding: 4px 12px; border-radius: var(--sb-radius-sm, 6px); font-weight: 600; }
.blog-post-header h1 { font-size: clamp(1.75rem, 4vw, var(--sb-text-3xl)); font-weight: 800; line-height: 1.2; margin-bottom: var(--sb-space-md); }
.blog-post-meta { color: var(--sb-text-muted); font-size: var(--sb-text-sm); display: flex; gap: var(--sb-space-md); flex-wrap: wrap; }
.blog-content h2 { font-size: var(--sb-text-xl); font-weight: 700; margin-top: var(--sb-space-2xl); margin-bottom: var(--sb-space-md); color: var(--sb-text); }
.blog-content h3 { font-size: var(--sb-text-lg); font-weight: 600; margin-top: var(--sb-space-xl); margin-bottom: var(--sb-space-sm); color: var(--sb-text); }
.blog-content p { color: var(--sb-text-secondary); line-height: 1.8; margin-bottom: var(--sb-space-md); font-size: 1.05rem; }
.blog-content ul { padding-left: var(--sb-space-lg); margin-bottom: var(--sb-space-md); list-style: disc; }
.blog-content ol { padding-left: var(--sb-space-lg); margin-bottom: var(--sb-space-md); list-style: decimal; }
.blog-content ul > li::marker, .blog-content ol > li::marker { color: var(--sb-ice); }
.blog-content li { color: var(--sb-text-secondary); line-height: 1.7; margin-bottom: var(--sb-space-sm); }
.blog-content blockquote { border-left: 3px solid var(--sb-ice); margin: var(--sb-space-xl) 0; padding: var(--sb-space-md) var(--sb-space-lg); background: rgba(var(--sb-ice-rgb), 0.04); border-radius: 0 var(--sb-radius) var(--sb-radius) 0; }
.blog-content blockquote p { color: var(--sb-text); font-style: italic; font-size: var(--sb-text-lg); margin-bottom: 0; }
.blog-content em { color: var(--sb-text); }
.blog-content strong { color: var(--sb-text); font-weight: 600; }
.blog-content a { color: var(--sb-ice); text-decoration: none; }
.blog-content a:hover { color: var(--sb-sky); text-decoration: underline; text-underline-offset: 2px; }
.blog-content hr { border: none; border-top: 1px solid var(--sb-border); margin: var(--sb-space-2xl) 0; }
.blog-content table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 20px 0; }
.blog-content th { padding: 10px 8px; text-align: left; border-bottom: 2px solid var(--sb-border); color: var(--sb-ice); }
.blog-content td { padding: 8px; border-bottom: 1px solid var(--sb-border); }
.blog-author-box { display: flex; flex-wrap: wrap; gap: var(--sb-space-lg); align-items: center; background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box; border: 1px solid transparent; border-radius: var(--sb-radius); padding: var(--sb-space-lg); margin-top: var(--sb-space-2xl); }
.blog-author-photo { width: 64px; height: 64px; border-radius: var(--sb-radius-sm, 6px); object-fit: cover; flex-shrink: 0; background: linear-gradient(var(--sb-bg-card), var(--sb-bg-card)) padding-box, linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.5), rgba(14,165,233,0.5), rgba(var(--sb-violet-rgb),0.5)) border-box; border: 2px solid transparent; padding: 0; }
.blog-author-info { flex: 1; }
.blog-author-name { font-weight: 700; margin-bottom: 4px; }
.blog-author-bio { color: var(--sb-text-secondary); font-size: var(--sb-text-sm); line-height: 1.6; }
.blog-post-header, .blog-content, .blog-author-box { position: relative; z-index: 1; }

@media (max-width: 768px)  {
.blog-author-box { flex-direction: column; text-align: center; }

}

@media (max-width: 480px)  {
.blog-content p { font-size: 1rem; }

}
.faq-landing-section { max-width: 700px; margin: 0 auto; padding: var(--sb-space-3xl) var(--sb-space-lg); }
.faq-landing-section h2 { text-align: center; margin-bottom: var(--sb-space-2xl); }
.faq-landing-wrap { background: transparent; }
.faq-item { border: 1px solid var(--sb-border); border-radius: var(--sb-radius); margin-bottom: var(--sb-space-sm); overflow: hidden; }
.faq-q { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: var(--sb-space-md) var(--sb-space-lg); cursor: pointer; font-weight: 600; color: var(--sb-text); background: var(--sb-bg-card); border: none; width: 100%; text-align: left; font-size: var(--sb-text-base); font-family: var(--sb-font); transition: background 0.2s; }
.faq-q:hover { background: var(--sb-bg-card-hover); }
.faq-q::after { content: '+'; font-size: var(--sb-text-xl); font-weight: 300; color: var(--sb-ice); flex-shrink: 0; margin-left: var(--sb-space-md); transition: transform 0.2s; }
.faq-q.open::after { content: '\2212'; }
.faq-a { display: none; padding: var(--sb-space-md) var(--sb-space-lg) var(--sb-space-lg); color: var(--sb-text-secondary); line-height: 1.7; border-top: 1px solid var(--sb-border); }
.faq-a.open { display: block; animation: faq-open 0.25s ease; }
.sb-container {
    max-width: var(--sb-max-width);
    margin: 0 auto;
    padding: 0 var(--sb-space-lg);
}
.sb-page {
    padding-top: calc(var(--sb-topbar-height) + var(--sb-space-lg));
    padding-bottom: var(--sb-space-3xl);
    min-height: 100vh;
}
.sb-subnav-content .sb-page {
    padding-top: var(--sb-space-lg);
    min-height: 0;
}
.sb-subnav-content .sb-container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}
.sb-page-header {
    margin-bottom: var(--sb-space-xl);
    position: relative;
    padding-bottom: var(--sb-space-lg);
}
.sb-page-header .sb-waveform-sep {
    margin: var(--sb-space-sm) 0 0;
}
.sb-page-header.sb-flex-between {
    flex-wrap: wrap;
}
.sb-page-title {
    font-size: var(--sb-text-2xl);
    font-weight: 700;
    margin-bottom: var(--sb-space-lg);
}
.sb-page-header .sb-page-title {
    margin-bottom: 0;  /* wrapper handles spacing */
}
.sb-page-subtitle {
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-xs);
}

@media (max-width: 768px)  {
.sb-page-title { font-size: var(--sb-text-lg); margin-bottom: var(--sb-space-sm); }
.sb-page-header { text-align: center; }
.sb-page-title { justify-content: center; }
.sb-page-subtitle { text-align: center; }

}
.sb-grid {
    display: grid;
    gap: var(--sb-space-lg);
}
.sb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sb-flex {
    display: flex;
}
.sb-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sb-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sb-flex-col {
    display: flex;
    flex-direction: column;
}
.sb-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sb-space-md); }
.sb-grid-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sb-space-md); }
.sb-grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sb-space-md); }
.sb-stat-card {
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-lg);
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: all var(--sb-transition);
    cursor: default;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sb-stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.sb-stat-label {
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--sb-space-xs);
}
.sb-stat-value {
    font-size: var(--sb-text-3xl);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
}
.sb-stat-change {
    font-size: var(--sb-text-xs);
    margin-top: var(--sb-space-xs);
}
.sb-stat-up { color: var(--sb-success); }
.sb-stat-down { color: var(--sb-error); }
.sb-stat-icon { color: var(--sb-text-muted); margin-bottom: var(--sb-space-xs); transition: color 0.2s; }
.sb-stat-icon .sb-icon { width: 20px; height: 20px; }
.sb-stat-card:hover .sb-stat-icon { color: var(--sb-ice); }
.sb-stat-hint { font-size: 10px; color: var(--sb-text-muted); margin-top: var(--sb-space-xs); line-height: 1.3; }
.sb-stat-hint a { color: var(--sb-ice); text-decoration: none; }
.sb-stat-hint a:hover { text-decoration: underline; }
.sb-dropdown {
    position: relative;
}
.sb-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(var(--sb-popover-fill), var(--sb-popover-fill)) padding-box,
        linear-gradient(135deg, rgba(56,189,248,0.7), rgba(14,165,233,0.7), rgba(99,102,241,0.7)) border-box;
    border: 2px solid transparent;
    border-radius: var(--sb-radius);
    min-width: 200px;
    z-index: 100;
    display: none;
    box-shadow: var(--sb-shadow-lg);
}
.sb-dropdown-menu.active { display: block; }
.sb-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sb-panel.active {
    right: 0;
}
.sb-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--sb-ice);
    font-size: var(--sb-text-xs);
    font-weight: 600;
}
.sb-verified svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.sb-verified .sb-icon {
    width: 16px;
    height: 16px;
}
.sb-response-badge {
    position: absolute;
    top: var(--sb-space-md);
    right: var(--sb-space-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(var(--sb-ice-rgb), 0.08);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.25);
    color: var(--sb-ice);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
}
.sb-response-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}
.sb-response-badge--inline {
    position: static;
    padding: 3px 8px;
    font-size: 10px;
}
.sb-response-badge--inline svg { width: 11px; height: 11px; }
.sb-section { display: none; opacity: 0; }
.sb-section.active { display: block; opacity: 1; }
.sb-section.sb-fade-in { animation: sb-section-in 0.15s ease forwards; }
.sb-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 7px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1001;
}
.sb-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sb-text);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
body.sb-sidebar-open .sb-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.sb-sidebar-open .sb-hamburger span:nth-child(2) { opacity: 0; }
body.sb-sidebar-open .sb-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sb-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--sb-topbar-height);
    background: rgba(0,0,0,0.5);
    z-index: 997;
}
.sb-sidebar-overlay.open { display: block; }
body.sb-sidebar-open, body.sb-notif-open { overflow: hidden; }

@media (max-width: 1024px)  {
.sb-grid-4 { grid-template-columns: repeat(2, 1fr); }
.sb-grid-3 { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 768px)  {
.sb-grid-2,
    .sb-grid-3,
    .sb-grid-4 { grid-template-columns: 1fr; }
.sb-hamburger { display: flex; }
.sb-sidebar {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 50vh;
        max-height: 70vh;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: none;
        border-radius: 0;
        padding: var(--sb-space-md) 0 var(--sb-space-lg);
        box-shadow: 0 -4px 15px rgba(56,189,248,0.3), 0 -2px 30px rgba(99,102,241,0.2);
        animation: mobile-nav-top-glow 3s ease-in-out infinite;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 999;
        background: rgba(8, 12, 20, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
.sb-sidebar::-webkit-scrollbar { display: none; }
.sb-sidebar::after {
        display: none;
    }
.sb-sidebar {
        border-top: 2px solid transparent;
        border-image: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) 1;
    }
.sb-sidebar::before {
        /* Drag handle indicator */
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--sb-border-light);
        border-radius: 2px;
        margin: 0 auto var(--sb-space-md);
        flex-shrink: 0;
    }
.sb-sidebar.open {
        transform: translateY(0);
    }
.sb-sidebar.instant-close { transition: none !important; }
.sb-sidebar-nav-item {
        padding: 14px var(--sb-space-md);
        font-size: var(--sb-text-base);
        border-radius: 0;
        -webkit-tap-highlight-color: transparent;
    }
.sb-sidebar-nav-item.active {
        background: transparent;
        border: none;
        color: var(--sb-ice);
    }
.sb-sidebar-nav-item.active .sb-sidebar-label {
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: var(--sb-ice);
        color: var(--sb-ice);
        font-weight: 600;
    }
.sb-sidebar-nav-item.active .sb-sidebar-icon,
    .sb-sidebar-nav-item.active .sb-sidebar-icon svg {
        color: var(--sb-ice);
        stroke: var(--sb-ice);
    }
.sb-sidebar-icon {
        font-size: 22px;
        width: 28px;
    }
.sb-sidebar-overlay {
        top: 0;
    }
.sb-app-layout {
        margin-left: 0;
    }
.sb-topbar-nav { display: none; }
.sb-topbar-search { display: none; }
.sb-topbar {
        display: flex;
        justify-content: space-between;
    }
.sb-topbar-left {
        flex: 0 0 auto;
    }
.sb-topbar-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, calc(-50% - 2px));
        width: auto;
        align-items: center;
        line-height: 1;
    }
.sb-topbar-logo > span:not(.sb-eq) {
        font-size: 1.55rem;
        line-height: 1;
    }
.sb-topbar-logo > .sb-eq {
        height: 18px !important;
        align-self: center;
    }
.sb-topbar-right { flex: 0 0 auto; }
.sb-user-profile-wrap { display: none; }
.sb-topbar:has(.sb-topbar-nav) { padding: 0 var(--sb-space-sm); align-items: center; position: sticky; top: 0; }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right { display: contents; }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn-primary { order: -1; margin-right: auto; }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn-secondary,
    .sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn-outline { order: 1; margin-left: auto; background: transparent; color: var(--sb-ice); border: 1px solid var(--sb-ice); }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn-secondary:hover,
    .sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn-outline:hover { background: rgba(56,189,248,0.1); }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn { font-size: var(--sb-text-xs); padding: 6px 10px; min-width: 90px; text-align: center; }
.sb-modal {
        width: 95%;
        padding: var(--sb-space-lg);
    }
.sb-grid-2col, .sb-grid-3col, .sb-grid-4col { grid-template-columns: 1fr; }

}

@media (max-width: 480px)  {
.sb-topbar {
        padding: 0 var(--sb-space-md);
    }
.sb-container {
        padding: 0 var(--sb-space-md);
    }

}

@media (max-width: 400px)  {
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-logo > span:not(.sb-eq) { font-size: 0.85rem; }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-logo .sb-eq { gap: 2px; }
.sb-topbar:has(.sb-topbar-nav) .sb-topbar-right .sb-btn { padding: 6px 10px; font-size: 11px; }

}
.sb-mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(4,6,14,0.35);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 200; opacity: 0; visibility: hidden; transition: all 0.2s ease;
}
.sb-mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.sb-mobile-nav-drawer {
    position: fixed; left: 0; right: 0; bottom: 0;
    /* Room for ~16 buttons (8 rows × 2 col) + heading + CTA before scroll kicks in.
       Capped so it never eats the whole viewport on tall phones. */
    max-height: min(70vh, 640px);
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 999; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex; flex-direction: column; padding: 20px 16px;
    overflow-y: auto;
    /* Momentum scrolling on iOS + contain scroll within the drawer without
       using `overscroll-behavior: none` (which, combined with fixed-position
       elements elsewhere, was observed to interfere with the topbar). */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    border: none;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) 1;
    border-radius: 0;
    /* Breathing glow projected ABOVE the gradient divider (negative Y offsets only,
       so the halo lifts upward without tinting the drawer body). */
    box-shadow: 0 -4px 15px rgba(56,189,248,0.3), 0 -2px 30px rgba(99,102,241,0.2);
    animation: mobile-nav-top-glow 3s ease-in-out infinite;
}
.sb-mobile-nav-drawer::-webkit-scrollbar { display: none; }
.sb-mobile-nav-drawer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
}
.sb-mobile-nav-overlay.active .sb-mobile-nav-drawer { transform: translateY(0); }
.sb-topbar.mobile-nav-open .sb-topbar-glow::after {
    height: 12px;
    background: linear-gradient(90deg,
        rgba(56,189,248,0.5),
        rgba(14,165,233,0.6),
        rgba(99,102,241,0.5));
    filter: blur(8px);
    animation: topbar-breathe-strong 3s ease-in-out infinite;
}
.sb-mobile-nav-close {
    align-self: center; width: 40px; height: 4px; border: none;
    background: rgba(255,255,255,0.25); border-radius: 100px; cursor: pointer;
    color: transparent; display: block; padding: 0;
    margin-bottom: 20px; transition: all 0.2s;
}
.sb-mobile-nav-close svg { display: none; }
.sb-mobile-nav-close:hover { background: rgba(255,255,255,0.35); }
.sb-mobile-nav-heading {
    font-size: 0.65rem; font-weight: 600; color: var(--sb-ice); text-transform: uppercase;
    letter-spacing: 0.1em; margin: 0 0 12px; padding: 0 4px;
}
.sb-mobile-nav-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-bottom: 16px;
}
.sb-mobile-nav-link {
    display: flex; align-items: center; gap: 8px; padding: 12px 14px;
    border-radius: 10px; color: var(--sb-text-secondary); text-decoration: none;
    font-size: 0.82rem; font-weight: 500; transition: all 0.15s;
    background: linear-gradient(#0E1421, #0E1421) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-violet)) border-box;
    border: 1px solid transparent;
}
.sb-mobile-nav-link:hover { background: linear-gradient(#131B2E, #131B2E) padding-box,
    linear-gradient(135deg, var(--sb-ice), var(--sb-violet)) border-box; color: var(--sb-text-primary); }
.sb-mobile-nav-link.active { background: linear-gradient(#0E1829, #0E1829) padding-box,
    linear-gradient(135deg, var(--sb-ice), var(--sb-violet)) border-box; color: var(--sb-ice); }
.sb-mobile-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.6; }
.sb-mobile-nav-link.active svg { opacity: 1; stroke: var(--sb-ice); }
.sb-mobile-nav-divider {
    height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0 16px;
}
.sb-mobile-nav-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 0 0; margin-top: auto;
}
.sb-mobile-nav-cta .sb-btn { text-align: center; font-size: 0.85rem; padding: 12px 12px; }
.sb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
.sb-icon svg {
    width: 100%;
    height: 100%;
}
.sb-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.sb-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 1.3em;
    vertical-align: middle;
}
.sb-eq-bar {
    width: 3.5px;
    border-radius: 1px;
    background: var(--sb-gradient);
    animation: sb-eq-pulse var(--d, 1.2s) ease-in-out infinite alternate;
}
.sb-eq .sb-eq-bar:nth-child(1) { --d: 0.8s; height: 40%; }
.sb-eq .sb-eq-bar:nth-child(2) { --d: 1.1s; height: 70%; }
.sb-eq .sb-eq-bar:nth-child(3) { --d: 0.7s; height: 100%; }
.sb-eq .sb-eq-bar:nth-child(4) { --d: 1.3s; height: 55%; }
.sb-eq .sb-eq-bar:nth-child(5) { --d: 0.9s; height: 85%; }
.sb-eq-lg {
    height: 24px;
    gap: 3px;
}
.sb-eq-lg .sb-eq-bar {
    width: 4px;
    border-radius: 2px;
}
.sb-eq-static .sb-eq-bar {
    animation: none;
}
.sb-section-header {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
}
.sb-waveform-sep {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(56,189,248,0.3) 15%,
        rgba(14,165,233,0.6) 35%,
        rgba(99,102,241,0.6) 65%,
        rgba(56,189,248,0.3) 85%,
        transparent 100%
    );
    position: relative;
    margin: var(--sb-space-md) 0;
}
.sb-waveform-sep::before,
.sb-waveform-sep::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: sb-node-pulse 2s ease-in-out infinite;
}
.sb-waveform-sep::before {
    left: 33%;
    background: var(--sb-ice);
    box-shadow: 0 0 8px rgba(56,189,248,0.6);
}
.sb-waveform-sep::after {
    left: 66%;
    background: var(--sb-violet);
    box-shadow: 0 0 8px rgba(99,102,241,0.6);
    animation-delay: 1s;
}
body.light-mode input[type="date"],
body.light-mode input[type="time"] {
    background-image: none !important;
    padding-right: 8px !important;
}
body.light-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.light-mode input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 1 !important;
    position: static;
    width: auto;
    height: auto;
}
body.light-mode input[type="date"]:hover,
body.light-mode input[type="time"]:hover {
    animation: none;
}
body.light-mode .sb-dropdown-item:hover {
    background: rgba(0,0,0,0.04);
}
body.light-mode .sb-loading-overlay {
    background: rgba(229,231,235,0.85);
}
body.light-mode .sb-table tr:hover td {
    background: rgba(0,0,0,0.02);
}
body.light-mode .sb-popover-signout::before {
    background: linear-gradient(45deg, transparent 30%, rgba(0,0,0,0.08) 50%, transparent 70%);
}
body.light-mode .sb-popover-signout:hover {
    box-shadow: 0 0 24px rgba(14,165,233,0.2);
}
body.light-mode .sb-eq-bar {
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
}
body.light-mode .sb-notification-bell {
    background-image: linear-gradient(var(--sb-bg-surface), var(--sb-bg-surface)),
        linear-gradient(135deg, #38BDF8, #0EA5E9, #6366F1);
}
body.light-mode .sb-notification-count {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9, #6366F1);
}
body.light-mode .sb-card:hover,
body.light-mode .sb-card-hover:hover {
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box,
        linear-gradient(135deg, rgba(56,189,248,0.4), rgba(14,165,233,0.4), rgba(99,102,241,0.4)) border-box;
    box-shadow: var(--sb-shadow-lg);
}

@media print  {
.sb-topbar, .sb-toast-container, .sb-panel-overlay, .sb-sidebar,
    .sb-subnav, .sb-subnav-content, .sb-page-splash, .sb-app-layout { display: none !important; }
#contract-modal .sb-modal {
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: #080C14 !important;
        color: #F0F9FF !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
    }
#contract-modal .sb-modal::before { display: none !important; }
#contract-modal .sb-modal-header,
    #contract-modal .sb-modal-footer { display: none !important; }
.contract-header-logo .sb-topbar-logo {
        font-size: 1.3rem !important;
    }
.contract-header-logo .sb-topbar-logo > span:not(.sb-eq) {
        color: #334155 !important;
    }
.contract-header-logo .sb-x {
        color: #0EA5E9 !important;
    }
.contract-sig-card .sig-status.signed {
        background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(99,102,241,0.15)) !important;
        color: #38BDF8 !important;
        border: 1px solid rgba(56,189,248,0.25) !important;
    }
.contract-sig-card .sig-status.unsigned {
        background: rgba(255,255,255,0.04) !important;
        color: #64748B !important;
        border: 1px solid #1E293B !important;
    }

}
.hero-base {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--sb-space-3xl) + 13px) var(--sb-space-lg) calc(var(--sb-space-3xl) - 35px);
    position: relative;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    inset: 0;
    background: url('assets/hero-concert.webp') center/cover no-repeat;
    background: image-set(url('assets/hero-concert.webp') type('image/webp'), url('assets/hero-concert.jpg') type('image/jpeg')) center/cover no-repeat;
    z-index: 0;
}
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8,12,20,0.70) 0%, rgba(8,12,20,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-sm);
    margin-bottom: calc(var(--sb-space-lg) - 12px);
    margin-top: 25px;
}
.hero-subtitle {
    font-size: var(--sb-text-xl);
    color: var(--sb-text-secondary);
    max-width: 600px;
    margin: 0 auto calc(var(--sb-space-xl) - 12px);
    line-height: 1.6;
}
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    opacity: 1;
}
.blog-post {
    max-width: 780px;
    margin: 0 auto;
    padding: calc(var(--sb-topbar-height) + 40px) 24px 60px;
}

@media (max-width: 480px)  {
.blog-post { padding-left: var(--sb-space-md); padding-right: var(--sb-space-md); }

}
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
    color: var(--sb-ice);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-xl);
    position: relative;
    z-index: 1;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.blog-back:hover {
    color: #fff;
    background: rgba(var(--sb-ice-rgb), 0.1);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.3);
}
.city-stats-bar {
    display: flex; justify-content: center; align-items: center; gap: var(--sb-space-xl);
    padding: var(--sb-space-lg);
    max-width: 900px; margin: 0 auto;
    position: relative; z-index: 2;
    transform: translateY(-50%);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    backdrop-filter: blur(12px);
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.city-stat { text-align: center; }
.city-stat + .city-stat {
    border-left: 1px solid rgba(56, 189, 248, 0.15);
    padding-left: var(--sb-space-xl);
}
.city-stat-num {
    display: block; font-family: 'Rajdhani', sans-serif;
    font-size: 2rem; font-weight: 700; line-height: 1;
    background: var(--sb-gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.city-stat-label {
    font-size: var(--sb-text-xs); color: var(--sb-text-secondary);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.city-stats-cta {
    text-align: center;
    font-size: 0.8rem; color: var(--sb-text-secondary);
    font-style: italic;
    margin-top: -20px; padding-bottom: var(--sb-space-md);
    position: relative; z-index: 2;
    opacity: 0; transition: opacity 0.6s ease 0.4s;
}
.city-stats-cta.visible { opacity: 1; }

@media (max-width: 768px)  {
.city-stats-bar { gap: var(--sb-space-sm); padding: var(--sb-space-sm) var(--sb-space-xs); margin: 0 var(--sb-space-sm); transform: translateY(-50%); }
.city-stat + .city-stat { padding-left: var(--sb-space-sm); }
.city-stat-num { font-size: 1.25rem; }
.city-stat-label { font-size: 9px; letter-spacing: 0.03em; }

}
.blog-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--sb-space-3xl) + 13px) var(--sb-space-lg) calc(var(--sb-space-3xl) - 35px);
    position: relative;
    overflow: hidden;
}
.blog-hero-photo { position: absolute; inset: 0; background: url('assets/hero-concert.jpg') center/cover no-repeat; z-index: 0; }
.blog-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,12,20,0.70), rgba(8,12,20,0.85)); }
.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
}
.blog-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-sm);
    margin-bottom: var(--sb-space-lg);
}
.blog-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--sb-space-md);
}
.blog-hero p {
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-xl);
    max-width: 600px;
    margin: 0 auto var(--sb-space-lg);
    line-height: 1.6;
}
.blog-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sb-space-2xl);
    margin-bottom: var(--sb-space-xl);
}
.blog-hero-stat { text-align: center; }
.blog-hero-stat-value {
    font-size: var(--sb-text-3xl);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
    margin: 0 auto;
}
.blog-hero-stat-label {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-xs);
}
.blog-hero-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-2xl);
}
.blog-filter-pill {
    padding: 6px 18px;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-ice);
    background: transparent;
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}
.blog-filter-pill:hover {
    color: #fff;
    background: rgba(var(--sb-ice-rgb), 0.1);
    border-color: var(--sb-ice);
}
.blog-filter-pill.active {
    color: #fff;
    background: rgba(var(--sb-ice-rgb), 0.15);
    border-color: var(--sb-ice);
    box-shadow: 0 0 6px rgba(var(--sb-ice-rgb), 0.4);
}
.blog-hero-featured {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sb-space-md);
    max-width: var(--sb-max-width);
    width: 100%;
    margin-bottom: var(--sb-space-xl);
}
.blog-featured-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    animation: sb-card-breathe 4s ease-in-out infinite;
    text-decoration: none;
    color: inherit;
}
.blog-featured-card:hover {
    animation: none;
    transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.blog-featured-card .blog-card-tag {
    font-size: 0.65rem;
    margin-bottom: 12px;
    justify-self: start;
}
.blog-featured-card h3 {
    font-size: var(--sb-text-base);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    height: 2.7em;
    overflow: hidden;
}
.blog-featured-excerpt {
    color: var(--sb-text-secondary);
    font-size: 0.7rem !important;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    align-self: end;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-featured-meta img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}
.blog-featured-meta span {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
}
.blog-featured-read {
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-ice);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-guide-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-md);
    max-width: var(--sb-max-width);
    width: 100%;
    margin-bottom: var(--sb-space-xl);
}
.blog-guide-row .blog-featured-card { grid-row: auto; }
.blog-guide-row .blog-featured-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-hero-continue {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-sm);
    color: var(--sb-ice);
    font-weight: 700;
    font-size: var(--sb-text-lg);
    text-decoration: none;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.blog-hero-continue:hover {
    color: #fff;
    transform: translateY(-1px);
    background: rgba(var(--sb-ice-rgb), 0.1);
    box-shadow: 0 0 16px rgba(var(--sb-ice-rgb), 0.4);
}
.blog-hero-continue::after {
    content: '›';
    font-size: var(--sb-text-xl);
    transform: rotate(90deg);
    display: inline-block;
}
.blog-grid {
    max-width: var(--sb-max-width);
    margin: 0 auto;
    padding: 0 var(--sb-space-lg) var(--sb-space-lg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sb-space-lg);
}
.blog-grid > a { display: flex; text-decoration: none; color: inherit; }
.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-xl) var(--sb-space-lg) var(--sb-space-3xl);
}
.blog-page-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text-secondary);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}
.blog-page-btn:hover {
    color: #fff;
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box, var(--sb-gradient) border-box;
}
.blog-page-btn.active {
    color: #fff;
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.5);
}
.blog-page-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
.blog-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-xl);
    animation: sb-card-breathe 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
    animation: none;
    transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.blog-card-tags {
    display: flex;
    gap: var(--sb-space-xs);
    flex-wrap: nowrap;
    overflow: hidden;
    height: 26px;
    margin-bottom: var(--sb-space-md);
    margin-top: -4px;
}
.blog-card-tag {
    font-size: var(--sb-text-xs);
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.12);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.25);
    padding: 4px 12px;
    border-radius: var(--sb-radius-sm, 6px);
    font-weight: 600;
    white-space: nowrap;
}
.blog-card h2 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--sb-space-sm);
    line-height: 1.3;
    height: 2.34em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.blog-card-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-md);
    height: 44px;
}
.blog-card-author img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
}
.blog-card-author-name {
    font-size: var(--sb-text-sm);
    font-weight: 600;
}
.blog-card-author-role {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
}
.blog-card-excerpt {
    color: var(--sb-text-secondary);
    font-size: 0.7rem !important;
    line-height: 1.5;
    height: 4.2em;
    margin-bottom: var(--sb-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-read {
    color: var(--sb-ice);
    font-weight: 600;
    margin-top: auto;
    font-size: var(--sb-text-sm);
}
.blog-card-read::after { content: ' \2192'; }
.blog-hero-content,
.blog-grid,
.blog-pagination {
    position: relative;
    z-index: 1;
}
.blog-all-posts { padding-top: var(--sb-space-3xl); }
.blog-popular-content { padding: 0; }

@media (max-width: 1024px)  {
.blog-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 768px)  {
.blog-hero-featured { grid-template-columns: 1fr; }
.blog-guide-row { grid-template-columns: 1fr; }
.blog-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sb-space-sm); }
.blog-hero-stat + .blog-hero-stat { padding-left: var(--sb-space-sm); }
.blog-hero-stat-value { font-size: var(--sb-text-xl); }
.blog-hero-stat-label { font-size: var(--sb-text-xs); }
.blog-hero-filters { gap: var(--sb-space-xs); }
.blog-grid { grid-template-columns: 1fr; }

}

@media (max-width: 480px)  {
.blog-card { padding: var(--sb-space-lg); }

}
.gigs-hero .hero-divider { z-index: 3; }
.hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    max-width: 560px;
    margin: 0 auto var(--sb-space-2xl);
}
.hero-search input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(15,21,37,0.7);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-family: inherit;
    font-size: 16px;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s;
}
.hero-search input:focus { outline: none; border-color: var(--sb-ice); }
.hero-search input::placeholder { color: var(--sb-text-muted); }
.hero-search .sb-btn { white-space: nowrap; padding: 12px 24px; }
.hero-city-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sb-space-sm) var(--sb-space-sm);
}
.hero-city-pills .city-pill {
    background: rgba(var(--sb-ice-rgb), 0.06);
    border-color: var(--sb-ice);
}
.gigs-page .page-content {
    max-width: 1200px;
}
.gigs-page .page-content:has(.gig-filters) { padding-top: var(--sb-space-md); }
.gigs-page .city-stats-bar { z-index: 4; margin-bottom: calc(-0.5 * var(--sb-space-3xl)); }
.gig-filters {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg);
    margin-bottom: var(--sb-space-xl);
    display: flex;
    flex-wrap: nowrap;
    gap: var(--sb-space-sm);
    align-items: flex-end;
    animation: sb-card-breathe 4s ease-in-out infinite;
}
.gig-filters .filter-group {
    flex: 1 1 0;
    min-width: 0;
}
.gig-filters .filter-group:has(.filter-fee-row) { flex: 1.4 1 0; }
.gig-filters .filter-actions { flex: 0 0 auto; }

@media (max-width: 900px)  {
.gig-filters { flex-wrap: wrap; gap: var(--sb-space-md); }
.gig-filters .filter-group { flex: 1; min-width: 140px; }
.gig-filters .filter-group:has(.filter-fee-row) { flex: 1; }

}
.gig-filters .filter-group label {
    display: block;
    font-size: var(--sb-text-sm);
    font-weight: 500;
    color: var(--sb-text-secondary);
    margin-bottom: var(--sb-space-xs);
}
.gig-filters .filter-group input,
.gig-filters .filter-group select {
    width: 100%;
    padding: 8px 12px;
    background: var(--sb-surface);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-family: inherit;
    font-size: 16px;
    height: 38px;
    box-sizing: border-box;
}
.gig-filters .filter-group input:focus,
.gig-filters .filter-group select:focus {
    outline: none;
    border-color: var(--sb-ice);
}
.genre-dropdown { position: relative; }
.genre-dropdown select { display: none; }
.genre-trigger {
    width: 100%;
    padding: 8px 32px 8px 12px;
    background: var(--sb-surface);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-family: inherit;
    font-size: 16px;
    height: 38px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.genre-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--sb-text-muted);
    transition: transform 0.2s;
}
.genre-dropdown.open .genre-trigger::after { transform: translateY(-50%) rotate(180deg); }
.genre-trigger:hover,
.genre-dropdown.open .genre-trigger { border-color: var(--sb-ice); }
.genre-trigger .placeholder { color: var(--sb-text-muted); }
.genre-options {
    display: none;
    position: fixed;
    background: rgba(8, 12, 20, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.genre-option {
    padding: 8px 12px;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.genre-option:hover { background: rgba(var(--sb-ice-rgb), 0.1); color: var(--sb-text); }
.genre-option.selected { color: var(--sb-ice); }
.genre-options::-webkit-scrollbar { width: 4px; }
.genre-options::-webkit-scrollbar-track { background: transparent; }
.genre-options::-webkit-scrollbar-thumb { background: var(--sb-border); border-radius: 4px; }
.date-dropdown { position: relative; }
.date-dropdown input[type="date"] { display: none; }
.date-trigger {
    width: 100%;
    padding: 8px 32px 8px 12px;
    background: var(--sb-surface);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    color: var(--sb-text);
    font-family: inherit;
    font-size: 16px;
    height: 38px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.date-trigger::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-size: contain;
}
.date-trigger:hover,
.date-dropdown.open .date-trigger { border-color: var(--sb-ice); }
.date-trigger .placeholder { color: var(--sb-text-muted); }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sb-space-sm); }
.cal-header span { font-size: var(--sb-text-sm); font-weight: 600; color: var(--sb-text); }
.cal-nav {
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 2px 8px;
    border-radius: var(--sb-radius-sm);
}
.cal-nav:hover { color: var(--sb-ice); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow { font-size: 11px; color: var(--sb-text-muted); font-weight: 600; padding: 4px 0; }
.cal-day {
    padding: 6px 0;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    cursor: pointer;
    border-radius: var(--sb-radius-sm);
    border: none;
    background: none;
}
.cal-day:hover { background: rgba(var(--sb-ice-rgb), 0.1); color: var(--sb-text); }
.cal-day.today { color: var(--sb-ice); font-weight: 700; }
.cal-day.selected { background: var(--sb-ice); color: #fff; }
.cal-day.other { color: var(--sb-text-muted); opacity: 0.4; }
.cal-clear {
    display: block;
    width: 100%;
    margin-top: var(--sb-space-sm);
    padding: 4px;
    background: none;
    border: none;
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    cursor: pointer;
    text-align: center;
}
.cal-clear:hover { color: var(--sb-ice); }
.gig-filters input[type="number"]::-webkit-inner-spin-button,
.gig-filters input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gig-filters input[type="number"] { -moz-appearance: textfield; }
.filter-fee-row { display: flex; flex-wrap: nowrap; gap: var(--sb-space-xs); }
.filter-fee-row input { flex: 1 1 0; min-width: 0; width: auto; }
.gig-filters .filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    align-items: flex-end;
    align-self: flex-end;
    padding-bottom: 1px;
}
.gig-filters .filter-actions .sb-btn {
    height: 38px;
    line-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
    border: 1px solid rgba(56,189,248,0.3);
    color: var(--sb-ice);
    background: transparent;
    transition: all 0.2s ease;
}
.gig-filters .filter-actions .sb-btn:hover {
    background: rgba(56,189,248,0.1);
    border-color: var(--sb-ice);
    box-shadow: 0 0 8px rgba(56,189,248,0.3);
}
.gig-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--sb-space-lg);
}
.city-live-gigs-more {
    text-align: center;
    margin-top: var(--sb-space-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sb-space-sm);
}
.city-live-gigs-inner { padding-top: 0; padding-bottom: 0; }
#city-rate-benchmark > .page-content { padding-top: 0; padding-bottom: 0; }
#gigs-about-directory > .page-content,
#gigs-popular-month > .page-content,
#blog-popular-month > .page-content,
.gig-explore-content,
.hiring-guide-band > .page-content,
.gigs-reality-band > .page-content { padding-top: 0; padding-bottom: 0; }
.page-content:has(+ .section-divider + .members-carousel-band) { padding-bottom: var(--sb-space-lg); }
.rate-benchmark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: var(--sb-space-md);
    margin-bottom: var(--sb-space-lg);
    justify-content: center;
}
.rate-benchmark-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg);
    text-align: left;
}
.rate-benchmark-label {
    color: var(--sb-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.rate-benchmark-value {
    color: var(--sb-ice);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 8px;
}
.rate-benchmark-meta { color: var(--sb-text-secondary); font-size: 0.78rem; }
.rate-benchmark-card--phantom {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rate-benchmark-card--phantom:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.18); }
.rate-benchmark-card--phantom .rate-benchmark-label { color: var(--sb-ice); }
.rate-benchmark-card--phantom .rate-benchmark-value {
    color: var(--sb-text-primary);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.rate-benchmark-card--phantom .rate-benchmark-phantom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-ice);
}
.rate-benchmark-card--phantom .rate-benchmark-phantom-icon svg { display: block; }
.rate-benchmark-card--phantom .rate-benchmark-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--sb-ice);
    transition: transform 0.2s ease;
    margin-left: auto;
}
.rate-benchmark-card--phantom .rate-benchmark-arrow svg { display: block; }
.rate-benchmark-card--phantom:hover .rate-benchmark-arrow { transform: translateX(4px); }
.rate-benchmark-card--phantom .rate-benchmark-value { width: 100%; justify-content: flex-start; }
.city-live-gigs .gig-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px)  {
.city-live-gigs .gig-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 640px)  {
.city-live-gigs .gig-results-grid { grid-template-columns: minmax(0, 1fr); }

}
.city-live-gigs .gig-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 320px;
    justify-content: flex-end;
    gap: 0;
}
.city-live-gigs .gig-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--gig-bg, none);
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) saturate(0.85);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 72%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}
.city-live-gigs .gig-card > :first-child {
    margin-top: auto;
}
.city-live-gigs .gig-card-header,
.city-live-gigs .gig-card-meta,
.city-live-gigs .gig-card-cta {
    position: relative;
    z-index: 1;
    padding-left: var(--sb-space-lg);
    padding-right: var(--sb-space-lg);
}
.city-live-gigs .gig-card,
.city-live-gigs .gig-card-header,
.city-live-gigs .gig-card-title,
.city-live-gigs .gig-card-tagline,
.city-live-gigs .gig-card-meta,
.city-live-gigs .gig-card-cta { text-align: left !important; }
.city-live-gigs .gig-card-meta { justify-content: flex-start; }
.city-live-gigs .gig-card-header {
    padding-top: var(--sb-space-md);
    padding-bottom: var(--sb-space-xs);
    justify-content: flex-start;
}
.city-live-gigs .gig-card-title { font-size: 1.15rem; width: 100%; }
.city-live-gigs .gig-card-tagline {
    position: relative;
    z-index: 1;
    padding: 0 var(--sb-space-lg) 6px;
    color: var(--sb-text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}
.city-live-gigs .gig-card-meta {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: var(--sb-space-md);
}
.city-live-gigs .gig-card-meta span {
    background: rgba(var(--sb-ice-rgb), 0.15);
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.city-live-gigs .gig-card-cta { padding-bottom: var(--sb-space-lg); }
.gig-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg);
    animation: sb-card-breathe 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gig-card:hover {
    animation: none;
    transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.gig-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--sb-space-sm);
}
.gig-card-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    line-height: 1.3;
    height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gig-card-emergency {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: var(--sb-text-xs);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--sb-radius);
    white-space: nowrap;
    flex-shrink: 0;
}
.gig-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-xs) var(--sb-space-md);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    min-height: 44px;
}
.gig-card-meta span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.gig-card-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.gig-card-description {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.6;
    height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gig-card-tags { display: flex; flex-wrap: wrap; gap: var(--sb-space-xs); min-height: 24px; }
.gig-card-tag {
    background: rgba(var(--sb-ice-rgb), 0.1);
    color: var(--sb-ice);
    font-size: var(--sb-text-xs);
    padding: 2px 8px;
    border-radius: var(--sb-radius);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.2);
}
.gig-card-footer {
    margin-top: auto;
    padding-top: var(--sb-space-sm);
    border-top: 1px solid var(--sb-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gig-card-venue { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sb-space-xs); font-size: var(--sb-text-sm); }
.gig-card-venue img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.gig-card-venue .venue-name { font-weight: 600; }
.gig-card-venue .venue-city { color: var(--sb-text-secondary); font-size: var(--sb-text-xs); }
.gig-card-budget { font-weight: 700; color: var(--sb-ice); font-size: var(--sb-text-sm); }
.gig-card-cta { margin-top: var(--sb-space-sm); }
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-xs);
    margin-top: var(--sb-space-xl);
    flex-wrap: wrap;
}
.pagination .page-num {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text-secondary);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}
.pagination .page-num:hover {
    color: #fff;
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box, var(--sb-gradient) border-box;
}
.pagination .page-num.active { color: #fff; box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.5); }
.pagination .page-num[disabled] { opacity: 0.3; cursor: default; pointer-events: none; }
.pagination .page-ellipsis { color: var(--sb-text-muted); font-size: var(--sb-text-sm); padding: 0 2px; }
.gig-empty { grid-column: 1 / -1; text-align: center; padding: var(--sb-space-3xl) var(--sb-space-lg); }
.gig-empty-icon { margin-bottom: var(--sb-space-md); opacity: 0.5; }
.gig-empty-icon svg { width: 48px; height: 48px; }
.gig-empty-title { font-size: var(--sb-text-lg); font-weight: 700; margin-bottom: var(--sb-space-xs); }
.gig-empty-text { color: var(--sb-text-secondary); margin-bottom: var(--sb-space-md); }
.gig-filters, .gig-results-grid, .results-summary, .pagination, .city-pills, #city-guide {
    position: relative;
    z-index: 1;
}
.city-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-xs) var(--sb-space-sm);
    margin-bottom: var(--sb-space-lg);
}
.city-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    background: transparent;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.city-pill:hover { color: #fff; background: rgba(var(--sb-ice-rgb), 0.1); }
.city-pill.active { color: #fff; background: rgba(var(--sb-ice-rgb), 0.15); box-shadow: 0 0 6px rgba(var(--sb-ice-rgb), 0.4); }
.city-guide-section h2 { font-size: var(--sb-text-2xl); font-weight: 700; margin-bottom: var(--sb-space-md); }
.city-guide-section p, .city-guide-section li { color: var(--sb-text-secondary); line-height: 1.7; margin-bottom: var(--sb-space-md); }
.city-guide-section ul { padding-left: var(--sb-space-lg); margin-bottom: var(--sb-space-md); }
.city-guide-section ul li { margin-bottom: var(--sb-space-sm); }
.city-guide-section a { color: var(--sb-ice); }
.city-guide-section .highlight { color: var(--sb-ice); font-weight: 600; }
.city-venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sb-space-lg);
    margin: var(--sb-space-lg) 0;
}
.city-venue-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg);
}
.city-venue-card h3 { font-size: var(--sb-text-md); font-weight: 600; margin-bottom: var(--sb-space-xs); }
.city-venue-card p { font-size: var(--sb-text-sm); color: var(--sb-text-muted); margin-bottom: 0; }
.city-faq details { border-bottom: 1px solid var(--sb-border); padding: var(--sb-space-md) 0; }
.city-faq summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.city-faq summary::after { content: '+'; font-size: var(--sb-text-lg); color: #fff; flex-shrink: 0; margin-left: var(--sb-space-md); }
.city-faq summary:hover, .city-faq summary:hover::after { color: var(--sb-ice); }
.city-faq details[open] summary::after { content: '\2212'; }
.city-faq-content { margin-top: var(--sb-space-md); color: var(--sb-text-secondary); line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 768px)  {
.gig-filters { flex-direction: column; }
.gig-filters .filter-group { min-width: 100%; }
.gig-results-grid { grid-template-columns: minmax(0, 1fr); }
.hero-search { flex-direction: column; }
.hero-search .sb-btn { width: 100%; }

}
.gx-x { color: var(--sb-ice); transition: filter 0.3s ease; }
h1:hover .gx-x, h2:hover .gx-x { filter: brightness(1.3) drop-shadow(0 0 6px rgba(var(--sb-ice-rgb),0.5)); }
.about-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
}
.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--sb-radius-full);
    background: var(--sb-gradient);
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(var(--sb-ice-rgb),0.3), 0 0 40px rgba(var(--sb-violet-rgb),0.15);
    animation: founder-glow 3s ease-in-out infinite;
}
.founder-photo img { width: 100%; height: 100%; border-radius: var(--sb-radius-full); object-fit: cover; object-position: center 15%; display: block; }
.hero-timeline-label {
    font-size: var(--sb-text-base);
    font-weight: 800;
    text-align: center;
    padding-bottom: 5px;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-tl-bar { position: relative; height: 6px; background: rgba(148,163,184,0.1); border-radius: 3px; margin-top: 25px; }
.hero-tl-bar-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sb-ice) 0%, var(--sb-violet) 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.3);
}
.hero-tl-markers { position: absolute; top: 0; left: 0; right: 0; height: 100%; }
.hero-tl-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; cursor: default; }
.hero-tl-dot {
    width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    z-index: 2; position: relative; transition: transform 0.2s;
}
.hero-tl-marker:hover .hero-tl-dot { transform: scale(1.2); }
.hero-tl-dot.done { background: var(--sb-ice); box-shadow: 0 0 0 3px rgba(var(--sb-ice-rgb),0.2), 0 0 10px rgba(var(--sb-ice-rgb),0.4); }
.hero-tl-marker:nth-child(2) .hero-tl-dot.done { background: #43A7F6; box-shadow: 0 0 0 3px rgba(67,167,246,0.2), 0 0 10px rgba(67,167,246,0.4); }
.hero-tl-dot.done svg { width: 10px; height: 10px; color: #fff; }
.hero-tl-dot.current {
    width: 22px; height: 22px; background: #4E92F5;
    box-shadow: 0 0 0 3px rgba(78,146,245,0.2), 0 0 14px rgba(78,146,245,0.5);
    animation: hero-marker-pulse 2.5s ease-in-out infinite;
    font-size: 0.65rem; font-weight: 700; color: var(--sb-bg);
}
.hero-tl-dot.upcoming { background: var(--sb-card-fill); border: 2px solid rgba(148,163,184,0.2); box-shadow: 0 0 0 3px rgba(148,163,184,0.05); }
.hero-tl-label { position: absolute; top: calc(100% + 10px); white-space: nowrap; text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--sb-text-muted); line-height: 1.2; }
.hero-tl-sublabel { font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.hero-tl-sublabel.done { color: var(--sb-ice); }
.hero-tl-sublabel.current { color: #4E92F5; }
.hero-tl-sublabel.upcoming { color: rgba(148,163,184,0.35); }
.hero-tl-marker.complete .hero-tl-label { color: var(--sb-ice); }
.hero-tl-marker.complete:nth-child(2) .hero-tl-label { color: #43A7F6; }
.hero-tl-marker.active .hero-tl-label { color: #4E92F5; }
.role-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent; border-radius: var(--sb-radius); padding: var(--sb-space-xl);
    text-align: center; animation: sb-card-breathe 4s ease-in-out infinite;
    text-decoration: none; color: inherit; cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.role-card .role-icon { font-size: 48px; margin-bottom: var(--sb-space-md); transition: color 0.25s ease; }
.role-card:hover .role-icon { color: var(--sb-ice); }
.role-card h3 { font-size: var(--sb-text-xl); margin-bottom: var(--sb-space-sm); }
.role-card p { font-size: var(--sb-text-sm); color: var(--sb-text-secondary); line-height: 1.6; }
.role-card:hover, .why-card:hover {
    animation: none; transform: translateY(-3px);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.06), rgba(var(--sb-violet-rgb),0.04)), linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18), 0 0 20px rgba(var(--sb-violet-rgb),0.08);
}
.cta-section-wrap { background: var(--sb-bg-surface); width: 100%; }
.cta-section-wrap > .page-content { padding-top: var(--sb-space-3xl); padding-bottom: var(--sb-space-3xl); }
.cta-section-wrap .cta-section { margin-bottom: 0; }
.page-content > .cta-section:last-child { margin-bottom: 0; }

@media (max-width: 768px)  {
.hero-timeline-wrap { margin-bottom: var(--sb-space-xl); }
.section-header h2 { font-size: var(--sb-text-2xl); }

}
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--sb-space-3xl) + 13px) var(--sb-space-lg) calc(var(--sb-space-3xl) - 35px);
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: calc(var(--sb-space-lg) - 12px);
}
.hero-alpha-badge {
    display: inline-block;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
    padding: 6px 16px;
    border-radius: var(--sb-radius-sm);
    margin-bottom: calc(var(--sb-space-xl) - 12px);
}
.hero-ctas {
    display: flex;
    gap: var(--sb-space-md);
    justify-content: center;
    flex-wrap: wrap;
}
.hero-ctas .sb-btn { padding: 16px 32px; font-size: var(--sb-text-base); }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sb-space-2xl);
    margin-top: calc(var(--sb-space-3xl) - 33px);
}
.hero-stat-value {
    font-size: var(--sb-text-3xl);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
    margin: 0 auto;
}
.hero-stat-label {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-xs);
}
.hero-carousel { margin-top: var(--sb-space-2xl); width: 100%; max-width: 1100px; overflow: hidden; }
.hero-carousel-heading {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--sb-text-muted); text-align: center;
    margin-bottom: var(--sb-space-md);
}
.hero-carousel-mask {
    overflow: hidden; padding: 8px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
.hero-carousel-track { display: flex; gap: var(--sb-space-md); width: max-content; }
.hero-carousel-track:hover { animation-play-state: paused; }
.hero-carousel-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; flex-shrink: 0; min-width: 200px;
    text-decoration: none; color: var(--sb-text);
    border-radius: var(--sb-radius);
    transition: all var(--sb-transition);
    background: rgba(0,0,0,0.7);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
    border: none;
    position: relative;
}
.hero-carousel-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-carousel-item:hover {
    background: rgba(20,28,50,0.85);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    transform: translateY(-1px);
}
.hero-carousel-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.hero-carousel-item-name { font-size: var(--sb-text-xs); font-weight: 600; white-space: nowrap; }
.hero-carousel-item-meta { font-size: 10px; color: var(--sb-text-muted); white-space: nowrap; }
.hero-demo {
    margin-top: calc(var(--sb-space-2xl) - 16px); max-width: 900px; margin-left: auto; margin-right: auto;
    padding: 14px; border-radius: 20px;
    background: linear-gradient(#080C14, #080C14) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 2px solid transparent;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.3);
    animation: demo-breathe 4s ease-in-out infinite;
}
.hero-demo-inner {
    border-radius: var(--sb-radius-lg); overflow: hidden; position: relative;
    background: linear-gradient(#080C14, #080C14) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    mask-composite: intersect;
}
.newartists-carousel { max-width: var(--sb-max-width); margin: -4px auto 0; padding: 4px 2px 0; position: relative; overflow: hidden; }
.newartists-dot.active { background: var(--sb-ice); transform: scale(1.3); animation: dot-glow 2s ease-in-out infinite; }
.section-header, .how-grid, .features-grid, .types-grid, .newartists-carousel, .newartists-cta, .newartists-dots,
.testimonials-grid, .accordion-toggle, .accordion-content, .hero-ctas { position: relative; z-index: 1; }
.accordion-toggle { display: none; }

@media (max-width: 768px)  {
.hero-stats { flex-direction: row; gap: var(--sb-space-md); }
.hero-stat-value { font-size: var(--sb-text-xl); }
.hero-stat-label { font-size: var(--sb-text-xs); }
.hero-carousel { margin-top: var(--sb-space-lg); max-width: 100%; }
.hero-carousel-mask { mask-image: none; -webkit-mask-image: none; }
.hero-carousel-track {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
.hero-demo { margin-top: var(--sb-space-lg); padding: 8px; border-radius: 14px; animation: none; box-shadow: inset 0 2px 8px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.3); }
.hero-demo-inner { border-radius: var(--sb-radius); }
.hero { min-height: 70vh; padding: calc(var(--sb-topbar-height) + var(--sb-space-xl)) var(--sb-space-md) var(--sb-space-xl); }
.hero-content { max-width: 100%; overflow: hidden; }
.hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
.hero-subtitle { font-size: var(--sb-text-base); }
.hero-ctas { flex-direction: column; align-items: center; }
.hero-ctas .sb-btn { width: 100%; max-width: 280px; padding: 14px 24px; font-size: var(--sb-text-sm); }
.accordion-toggle {
        display: flex; align-items: center; justify-content: center; gap: var(--sb-space-sm);
        cursor: pointer; font-size: var(--sb-text-sm); font-weight: 600; color: var(--sb-ice);
        padding: var(--sb-space-md) 0; background: none; border: none; width: 100%;
    }
.accordion-toggle::after { content: '+'; font-size: var(--sb-text-lg); font-weight: 300; }
.accordion-toggle.open::after { content: '\2212'; }
.accordion-content { display: none; }
.accordion-content.open { display: block; animation: accordion-open 0.3s ease; }

}

@media (max-width: 480px)  {
.hero-tag { font-size: 0.6rem; padding: 4px 10px; }
.hero-stat-value { font-size: var(--sb-text-2xl); }

}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed, .revealed {
    opacity: 1;
    transform: translateY(0);
}
.flyer-img-search {
    padding: 12px 20px; display: flex; gap: 8px;
    border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
}
.flyer-img-search input { flex: 1; }
.flyer-img-grid-wrap {
    flex: 1; overflow-y: auto; padding: 12px 20px 20px;
}
.flyer-img-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.flyer-img-item {
    position: relative; border-radius: var(--sb-radius); overflow: hidden;
    cursor: pointer; aspect-ratio: 4/3; background: #0a0e18;
    transition: all var(--sb-transition);
}
.flyer-img-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.3);
}
.flyer-img-item img { width: 100%; height: 100%; object-fit: cover; }
.flyer-img-empty {
    grid-column: 1 / -1; text-align: center; padding: 40px;
    color: var(--sb-text-muted); font-size: var(--sb-text-sm);
}
.flyer-img-del {
    position: absolute; top: 4px; right: 4px;
    width: 22px; height: 22px;
    border-radius: 50%; border: none;
    background: rgba(0,0,0,0.7); color: #fff;
    cursor: pointer; font-size: 16px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all var(--sb-transition);
    z-index: 5;
}
.flyer-img-item:hover .flyer-img-del { opacity: 1; }
.flyer-img-del:hover { background: #ef4444; transform: scale(1.1); }
.flyer-cat-pills {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
    justify-content: center;
}
.flyer-cat-pill {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 6px 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sb-text-secondary);
    background: rgba(var(--sb-ice-rgb),0.04);
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--sb-transition);
    font-family: var(--sb-font);
}
.flyer-cat-pill:hover {
    background: rgba(var(--sb-ice-rgb),0.1);
    border-color: rgba(var(--sb-ice-rgb),0.4);
    color: var(--sb-text);
}
.flyer-cat-pill.active {
    background: rgba(var(--sb-ice-rgb),0.15);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    font-weight: 600;
}

@media (max-width: 600px)  {
.flyer-cat-pills {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
    }
.flyer-cat-pill {
        flex: none !important;
        min-width: 0 !important;
        padding: 6px 4px;
        font-size: 11px;
        white-space: nowrap;
        text-align: center;
    }
.flyer-img-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

}
.feedback-type-tabs {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    margin-bottom: var(--sb-space-md);
    flex-wrap: wrap;
}
.feedback-tabs-new-btn { margin-left: auto; }

@media (max-width: 540px)  {
.feedback-type-tabs { justify-content: center; }
.feedback-tabs-new-btn { margin-left: 0; }
.feedback-toolbar { justify-content: center; }
.feedback-status-chips { justify-content: center; }

}
.feedback-type-tab {
    flex: 0 0 auto;
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: transparent;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.feedback-type-tab:hover {
    color: var(--sb-text);
    border-color: rgba(var(--sb-ice-rgb), 0.4);
}
.feedback-type-tab.is-active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    color: var(--sb-text);
    font-weight: 600;
}
.feedback-toolbar {
    display: flex;
    gap: var(--sb-space-md);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--sb-space-sm);
}
.feedback-sort-group {
    display: inline-flex;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
    border-radius: var(--sb-radius);
    overflow: hidden;
    flex: 0 0 auto;
}
.feedback-sort-pill {
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: transparent;
    border: none;
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.feedback-sort-pill + .feedback-sort-pill {
    border-left: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
}
.feedback-sort-pill:hover { color: var(--sb-text); background: rgba(var(--sb-ice-rgb), 0.06); }
.feedback-sort-pill.is-active {
    background: rgba(var(--sb-ice-rgb), 0.12);
    color: var(--sb-ice);
}
.feedback-search {
    flex: 1 1 240px;
    min-width: 200px;
}
.feedback-search .sb-input { width: 100%; }
.feedback-status-chips {
    display: flex;
    gap: var(--sb-space-xs);
    margin-bottom: var(--sb-space-lg);
    flex-wrap: wrap;
}
.feedback-status-chip {
    flex: 0 0 auto;
    padding: 4px var(--sb-space-sm);
    background: transparent;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
    border-radius: var(--sb-radius-pill);
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.feedback-status-chip:hover {
    color: var(--sb-text-secondary);
    border-color: rgba(var(--sb-ice-rgb), 0.35);
}
.feedback-status-chip.is-active {
    background: rgba(var(--sb-ice-rgb), 0.1);
    border-color: rgba(var(--sb-ice-rgb), 0.5);
    color: var(--sb-ice);
}
.feedback-state {
    padding: var(--sb-space-xl) var(--sb-space-md);
    text-align: center;
    background: var(--sb-card-fill);
    border-radius: var(--sb-radius);
}
.feedback-state-skeleton {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
}
.feedback-state-skeleton[hidden],
.feedback-empty-state[hidden],
.feedback-list[hidden] { display: none; }
.feedback-skeleton-card {
    height: 110px;
    background: linear-gradient(
        90deg,
        var(--sb-card-fill) 0%,
        rgba(var(--sb-ice-rgb), 0.06) 50%,
        var(--sb-card-fill) 100%
    );
    background-size: 200% 100%;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.12);
    border-radius: var(--sb-radius);
    animation: feedback-skeleton-pulse 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce)  {
.feedback-skeleton-card { animation: none; opacity: 0.7; }

}
.feedback-empty-state {
    padding: var(--sb-space-2xl) var(--sb-space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sb-space-sm);
}
.feedback-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--sb-ice-rgb), 0.08);
    color: var(--sb-ice);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sb-space-xs);
}
.feedback-empty-icon .sb-icon svg { width: 26px; height: 26px; }
.feedback-empty-title {
    margin: 0;
    font-size: var(--sb-text-lg);
    font-weight: 600;
    color: var(--sb-text);
}
.feedback-empty-sub {
    margin: 0 0 var(--sb-space-sm);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    max-width: 360px;
    line-height: 1.5;
}
.feedback-empty-cta { margin-top: var(--sb-space-xs); }
.feedback-card:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}
.feedback-detail-title:focus { outline: none; }
.feedback-list {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
}
.feedback-card {
    display: flex;
    gap: var(--sb-space-md);
    padding: var(--sb-space-md);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.feedback-card:hover {
    background: linear-gradient(var(--sb-card-fill-hover), var(--sb-card-fill-hover)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(var(--sb-ice-rgb), 0.12), 0 0 32px rgba(var(--sb-violet-rgb), 0.06);
}
.feedback-card-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    min-width: 36px;
    color: var(--sb-text-muted);
}
.feedback-card-vote.is-positive .feedback-vote-count { color: var(--sb-success); }
.feedback-card-vote.is-negative .feedback-vote-count { color: var(--sb-fuchsia); }
.feedback-card-vote.is-own {
    cursor: not-allowed;
}
.feedback-vote-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.feedback-vote-btn:disabled:hover {
    background: transparent;
    color: inherit;
}
.feedback-vote-btn {
    background: transparent;
    border: none;
    padding: 2px;
    color: inherit;
    cursor: pointer;
    border-radius: var(--sb-radius-sm);
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.feedback-vote-btn:hover {
    background: rgba(var(--sb-ice-rgb), 0.12);
    color: var(--sb-ice);
}
.feedback-vote-btn:active { transform: scale(0.9); }
.feedback-vote-btn.is-active {
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.15);
}
.feedback-vote-btn svg { width: 18px; height: 18px; display: block; }
.feedback-vote-count {
    font-size: var(--sb-text-sm);
    font-weight: 700;
    line-height: 1;
    padding: 2px 0;
    min-width: 1ch;
    text-align: center;
}
.feedback-card-body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-xs);
}
.feedback-card-head {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
}
.feedback-card-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: var(--sb-text-base);
    font-weight: 600;
    color: var(--sb-text);
    line-height: 1.35;
    word-break: break-word;
}
.feedback-card-excerpt {
    margin: 0;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.feedback-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    margin-top: var(--sb-space-xs);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    flex-wrap: wrap;
}
.feedback-card-avatar {
    width: 20px;
    height: 20px;
    border-radius: var(--sb-radius-sm);
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sb-ice-rgb), 0.15);
    color: var(--sb-ice);
    font-size: 10px;
    font-weight: 700;
    flex: 0 0 auto;
}
.feedback-card-author { color: var(--sb-text-secondary); font-weight: 500; }
.feedback-card-dot { color: rgba(var(--sb-text-muted-rgb), 0.5); }
.feedback-card-comments { color: var(--sb-text-muted); }
.feedback-new-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
}
.feedback-new-btn .sb-icon svg { width: 14px; height: 14px; }
.dash-feedback-actions {
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
    flex: 0 0 auto;
}
.dash-feedback-actions .sb-icon svg { width: 14px; height: 14px; }
.dash-feedback-header {
    flex-wrap: nowrap !important;
    gap: var(--sb-space-sm);
}
.dash-feedback-title-block {
    flex: 1 1 0;
    min-width: 0;
}
.dash-feedback-header .featured-row-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-feedback-new-btn .sb-icon { color: var(--sb-text); }
.dash-feedback-carousel-wrap {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.dash-feedback-card {
    position: relative;
    flex: 0 0 220px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-xs);
    padding: var(--sb-space-md);
    /* Solid rgba background — no gradient on the background property,
       no backdrop-filter here (it wouldn't render inside the animated
       parent anyway). The blur comes from the wrap above. */
    background:
        linear-gradient(rgba(56, 189, 248, 0.06), rgba(99, 102, 241, 0.04)),
        rgba(15, 21, 37, 0.70);
    border: none;
    border-radius: var(--sb-radius);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition), background var(--sb-transition);
}
.dash-feedback-card:hover {
    animation: none;
    transform: translateY(-2px);
    background:
        linear-gradient(rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.06)),
        rgba(15, 21, 37, 0.82);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.30),
                0 0 24px rgba(var(--sb-sky-rgb), 0.18),
                0 0 36px rgba(var(--sb-violet-rgb), 0.10);
}
.dash-feedback-card:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}
.dash-feedback-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-xs);
    flex-wrap: wrap;
}
.dash-feedback-card-title {
    margin: 0;
    flex: 1 1 auto;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text);
    line-height: 1.35;
    /* clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-feedback-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-top: auto;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
}
.dash-feedback-card-score,
.dash-feedback-card-comments {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}
.dash-feedback-card-score.is-positive { color: var(--sb-success); }
.dash-feedback-card-score.is-negative { color: var(--sb-fuchsia); }
.dash-feedback-card-date { margin-left: auto; color: var(--sb-text-muted); font-weight: 400; }
.dash-feedback-skeleton {
    flex: 0 0 220px;
    height: 140px;
    border-radius: var(--sb-radius);
    background: linear-gradient(
        90deg,
        var(--sb-card-fill) 0%,
        rgba(var(--sb-ice-rgb), 0.06) 50%,
        var(--sb-card-fill) 100%
    );
    background-size: 200% 100%;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.12);
    animation: feedback-skeleton-pulse 1.4s ease-in-out infinite;
}
.dash-feedback-empty {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-xl);
    background: var(--sb-card-fill);
    border: 1px dashed rgba(var(--sb-text-muted-rgb), 0.25);
    border-radius: var(--sb-radius);
}

@media (max-width: 540px)  {
.dash-feedback-card { flex-basis: 200px; min-height: 130px; }
.dash-feedback-skeleton { flex-basis: 200px; height: 130px; }
.feedback-toolbar { gap: var(--sb-space-sm); }
.feedback-search { flex-basis: 100%; min-width: 0; order: 3; }
.feedback-sort-group { order: 1; }
.feedback-new-btn { order: 2; margin-left: auto; }
.feedback-card { flex-direction: column; gap: var(--sb-space-sm); }
.feedback-card-vote {
        flex-direction: row;
        align-items: center;
        order: 2;
        min-width: 0;
        gap: var(--sb-space-sm);
        padding-top: var(--sb-space-xs);
        border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.1);
    }
.feedback-card-body { order: 1; }
.feedback-vote-count { padding: 0; }

}
.gx-marquee-wrap {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
    /* No background AND no backdrop-filter on the wrap — both create a
       visible rectangle band behind the cards (background = a flat
       coloured strip; backdrop-filter = blurred bleed-through of bright
       content above). The cards inside have their own rgba(15,21,37,0.7)
       background plus the canonical gradient ::before border, which is
       enough to look frosted on the page background without any
       wrap-level styling. */
    /* Edges fade into the page background — pulled in so the
       gradient sits flush with the surrounding content edge. */
    mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
}
.gx-marquee-track {
    display: flex;
    width: max-content;
    padding: 6px 0;
    animation: gx-marquee-scroll 80s linear infinite;
}
.gx-marquee-track > * {
    margin-right: var(--sb-space-md);
}
.gx-marquee-track:hover {
    animation-play-state: paused;
    cursor: grab;
}
.gx-marquee-track:active { cursor: grabbing; }

@media (prefers-reduced-motion: reduce)  {
.gx-marquee-track { animation: none; }

}
.gx-marquee-card {
    position: relative;
    flex: 0 0 240px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    /* Canonical card token (rgba(17,24,39,0.7) in dark) — same value
       used by .performer-card on explore.html, which is the proven
       carousel pattern with no rectangle artifacts. */
    background: var(--sb-bg-card);
    border: none;
    border-radius: var(--sb-radius);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    /* overflow: hidden is mandatory because the .gx-marquee-card-media
       child has a background-image that must be clipped to the
       rounded corners (explore.html .performer-card doesn't have a
       hero image so it can use overflow: visible). */
    overflow: hidden;
    /* Override the global sb-card-breathe with a marquee-specific
       keyframe that's slightly weaker AND staggered across cards (see
       nth-child rules below) so the glows don't sync and merge into a
       continuous rectangle behind the row. */
    animation: gx-marquee-breathe 5s ease-in-out infinite;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.featured-carousel-wrap .featured-carousel .performer-card {
    animation: gx-marquee-breathe 5s ease-in-out infinite !important;
}

@media (prefers-reduced-motion: reduce)  {
.gx-marquee-card,
    .featured-carousel-wrap .featured-carousel .performer-card { animation: none !important; }

}
.gx-marquee-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: rgba(56, 189, 248, 0.06);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.gx-marquee-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8, 12, 20, 0.0) 0%,
        rgba(8, 12, 20, 0.35) 60%,
        rgba(8, 12, 20, 0.85) 100%);
    pointer-events: none;
}
.gx-marquee-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-xs);
    padding: var(--sb-space-sm) var(--sb-space-md) var(--sb-space-md);
}
.gx-marquee-card::before {
    /* inset:0 + padding:2px keeps the gradient ring INSIDE the card
       box so it survives the parent's overflow:hidden (which is needed
       to clip the hero media to the rounded corners). 2px (not 1px)
       gives the full-thickness gradient border the design expects —
       1px is barely visible against the dark card background. */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
.gx-marquee-card:hover {
    animation: none;
    transform: translateY(-2px);
    background:
        linear-gradient(rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.06)),
        rgba(15, 21, 37, 0.82);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.30),
                0 0 24px rgba(var(--sb-sky-rgb), 0.18),
                0 0 36px rgba(var(--sb-violet-rgb), 0.10);
}
.gx-marquee-card:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}
.gx-marquee-card-title {
    margin: 0;
    font-size: var(--sb-text-sm);
    font-weight: 700;
    color: var(--sb-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gx-marquee-card-desc {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gx-marquee-card-date {
    margin-top: auto;
    font-size: 0.65rem;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

@media (max-width: 768px)  {
.gx-marquee-card { flex: 0 0 220px; min-height: 220px; }

}

@media (max-width: 480px)  {
.gx-marquee-card { flex: 0 0 200px; min-height: 200px; }
.gx-marquee-card-content { padding: var(--sb-space-xs) var(--sb-space-sm) var(--sb-space-sm); }

}
.gx-wn-next-card {
    flex: 0 0 280px;
    min-height: 320px;
}
.gx-wn-next-card .gx-marquee-card-media {
    aspect-ratio: 16 / 10;
    min-height: 140px;
}
.gx-wn-next-card .gx-marquee-card-content {
    gap: var(--sb-space-sm);
}
.gx-wn-next-status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--sb-radius-sm);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}
.gx-wn-next-status[data-status="in_progress"] {
    color: var(--sb-violet);
    background: rgba(var(--sb-violet-rgb), 0.12);
    border: 1px solid var(--sb-violet);
}
.gx-wn-next-status[data-status="planned"] {
    color: var(--sb-sky);
    background: rgba(var(--sb-sky-rgb), 0.12);
    border: 1px solid var(--sb-sky);
}
.gx-wn-next-status[data-status="open"] {
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.10);
    border: 1px solid var(--sb-ice);
}
.gx-wn-next-body {
    margin: 0;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gx-wn-next-votes {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--sb-space-sm);
    border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.15);
}
.gx-wn-next-vote {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(15, 21, 37, 0.55);
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.22);
    border-radius: var(--sb-radius-sm);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
    line-height: 1;
}
.gx-wn-next-vote .sb-icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.gx-wn-next-vote .sb-icon svg {
    width: 14px;
    height: 14px;
}
.gx-wn-next-vote:hover {
    background: rgba(var(--sb-ice-rgb), 0.10);
    border-color: rgba(var(--sb-ice-rgb), 0.45);
    color: var(--sb-text);
    transform: translateY(-1px);
}
.gx-wn-next-vote--up.is-mine {
    background: rgba(var(--sb-ice-rgb), 0.16);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.30);
}
.gx-wn-next-vote--down.is-mine {
    background: rgba(236, 72, 153, 0.14);
    border-color: var(--sb-fuchsia);
    color: var(--sb-fuchsia);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.30);
}
.gx-wn-next-vote:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}
.gx-wn-next-vote:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}
.gx-wn-next-vote-score {
    min-width: 18px;
    padding: 0 4px;
    text-align: center;
    font-size: var(--sb-text-xs);
    font-weight: 700;
    color: var(--sb-text);
    font-variant-numeric: tabular-nums;
}
.gx-wn-next-meta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(15, 21, 37, 0.55);
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.22);
    border-radius: var(--sb-radius-sm);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-secondary);
    line-height: 1;
}
.gx-wn-next-meta .sb-icon { display: inline-flex; align-items: center; line-height: 0; }
.gx-wn-next-meta .sb-icon svg { width: 14px; height: 14px; }
.gx-wn-next-empty {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-xl);
    background: rgba(15, 21, 37, 0.55);
    border: 1px dashed rgba(var(--sb-text-muted-rgb), 0.25);
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    text-align: center;
}

@media (max-width: 768px)  {
.gx-wn-next-card { flex: 0 0 240px; min-height: 300px; }

}

@media (max-width: 480px)  {
.gx-wn-next-card { flex: 0 0 220px; min-height: 280px; }

}
.gx-whats-new-tile .dash-tools-tile-tag {
    border-radius: var(--sb-radius-sm);
}
.gx-whats-new-tile .dash-tools-tile-media {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 200px;
}
.gx-whats-new-tile .dash-tools-tile-body {
    flex: 0 0 auto;
}
.gx-whats-new-tile.dash-tools-tile--wide .dash-tools-tile-media {
    /* Wide hero tiles get a taller floor since they have more horizontal
       breathing room — keeps them feeling cinematic. */
    min-height: 260px;
}
.gx-wn-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: var(--sb-space-sm);
    padding-top: var(--sb-space-sm);
    border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.15);
}
.gx-wn-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.22);
    border-radius: var(--sb-radius-sm);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
    line-height: 1;
}
.gx-wn-feedback-btn .sb-icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.gx-wn-feedback-btn .sb-icon svg {
    width: 13px;
    height: 13px;
}
.gx-wn-feedback-btn:hover {
    background: rgba(var(--sb-ice-rgb), 0.10);
    border-color: rgba(var(--sb-ice-rgb), 0.45);
    color: var(--sb-text);
    transform: translateY(-1px);
}
.gx-wn-feedback-btn:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}
.gx-whats-new-tile:not(.dash-tools-tile--wide) .gx-wn-feedback-btn {
    padding: 5px 8px;
}
.gx-whats-new-tile:not(.dash-tools-tile--wide) .gx-wn-feedback-btn > span:not(.sb-icon) {
    display: none;
}

@media (max-width: 480px)  {
.gx-wn-feedback-btn { padding: 4px 8px; gap: 4px; }
.gx-wn-feedback-btn .sb-icon svg { width: 12px; height: 12px; }
.gx-wn-feedback-btn > span:not(.sb-icon) { display: none; }

}
.gx-wn-reaction {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(15, 21, 37, 0.55);
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.22);
    border-radius: var(--sb-radius-sm);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-secondary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
    line-height: 1;
}
.gx-wn-reaction .sb-icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.gx-wn-reaction .sb-icon svg {
    width: 14px;
    height: 14px;
}
.gx-wn-reaction-count {
    min-width: 8px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.gx-wn-reaction:hover {
    background: rgba(var(--sb-ice-rgb), 0.10);
    border-color: rgba(var(--sb-ice-rgb), 0.45);
    color: var(--sb-text);
    transform: translateY(-1px);
}
.gx-wn-reaction.is-mine {
    background: rgba(var(--sb-ice-rgb), 0.16);
    border-color: var(--sb-ice);
    color: var(--sb-text);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.25);
}
.gx-wn-reaction:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}

@media (max-width: 480px)  {
.gx-wn-reaction { padding: 4px 8px; gap: 4px; }
.gx-wn-reaction .sb-icon svg { width: 13px; height: 13px; }

}
.gx-wn-skeleton-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: var(--sb-radius-lg);
    overflow: hidden;
    background: rgba(15, 21, 37, 0.5);
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.12);
}
.gx-wn-skeleton-media {
    flex: 1 1 auto;
    min-height: 200px;
    background: linear-gradient(90deg,
        rgba(15, 21, 37, 0.6) 0%,
        rgba(var(--sb-ice-rgb), 0.08) 50%,
        rgba(15, 21, 37, 0.6) 100%);
    background-size: 200% 100%;
    animation: feedback-skeleton-pulse 1.4s ease-in-out infinite;
}
.gx-wn-skeleton-body {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-md) var(--sb-space-lg) var(--sb-space-lg);
}
.gx-wn-skeleton-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg,
        rgba(var(--sb-text-muted-rgb), 0.10) 0%,
        rgba(var(--sb-text-muted-rgb), 0.20) 50%,
        rgba(var(--sb-text-muted-rgb), 0.10) 100%);
    background-size: 200% 100%;
    animation: feedback-skeleton-pulse 1.4s ease-in-out infinite;
}
.gx-wn-skeleton-line--tag   { width: 30%; height: 10px; }
.gx-wn-skeleton-line--title { width: 70%; height: 16px; }
.gx-wn-skeleton-line--desc  { width: 95%; }
.gx-wn-skeleton-line--desc2 { width: 80%; }
.gx-wn-skeleton-tile.dash-tools-tile--wide .gx-wn-skeleton-media {
    min-height: 260px;
}
.gx-wn-new-badge {
    position: absolute;
    top: var(--sb-space-sm);
    right: var(--sb-space-sm);
    z-index: 3;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    /* Ice-blue ghost: 50% ice fill, 1px ice border, ice text. */
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.50);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-sm);
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.30);
    animation: gx-wn-new-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce)  {
.gx-wn-new-badge { animation: none; }

}
#feature-pwa .dash-tools-tile-media {
    background-position: center calc(25% - 70px);
}
.pwa-install-modal {
    max-width: 720px;
}
.pwa-install-intro {
    margin: 0 0 var(--sb-space-lg);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    line-height: 1.55;
}
.pwa-install-native {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sb-space-xs);
    padding: var(--sb-space-md);
    margin-bottom: var(--sb-space-lg);
    background: rgba(var(--sb-ice-rgb), 0.06);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.25);
    border-radius: var(--sb-radius);
}
.pwa-install-native-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
}
.pwa-install-native-hint {
    margin: 0;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-align: center;
}
.pwa-install-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-lg);
}
.pwa-install-col {
    background: rgba(15, 21, 37, 0.40);
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.18);
    border-radius: var(--sb-radius);
    padding: var(--sb-space-md) var(--sb-space-lg);
}
.pwa-install-col-head {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-sm);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid rgba(var(--sb-text-muted-rgb), 0.15);
}
.pwa-install-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 18px;
    color: var(--sb-violet);
    background: rgba(var(--sb-violet-rgb), 0.12);
    border: 1px solid rgba(var(--sb-violet-rgb), 0.30);
    border-radius: var(--sb-radius-sm);
    flex: 0 0 auto;
}
.pwa-install-col-title {
    margin: 0;
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text);
}
.pwa-install-steps {
    margin: 0;
    padding-left: var(--sb-space-lg);
    list-style: decimal;
}
.pwa-install-steps li {
    margin-bottom: var(--sb-space-sm);
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.55;
}
.pwa-install-steps li:last-child {
    margin-bottom: 0;
}
.pwa-install-steps strong {
    color: var(--sb-text);
    font-weight: 600;
}
.pwa-install-footnote {
    margin: var(--sb-space-lg) 0 0;
    padding-top: var(--sb-space-md);
    border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.15);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 600px)  {
.pwa-install-cols { grid-template-columns: 1fr; gap: var(--sb-space-md); }
.pwa-install-col { padding: var(--sb-space-sm) var(--sb-space-md); }

}
.sb-subnav-item .gx-wn-subnav-glow,
.sb-sidebar-nav-item .gx-wn-subnav-glow {
    margin-left: auto;
    padding-left: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    color: var(--sb-ice);
    text-shadow: 0 0 4px rgba(var(--sb-ice-rgb), 0.85),
                 0 0 10px rgba(var(--sb-ice-rgb), 0.55),
                 0 0 18px rgba(var(--sb-ice-rgb), 0.3);
    flex-shrink: 0;
    animation: gx-wn-glow-pulse 2.4s ease-in-out infinite;
}
.sb-subnav-item .gx-wn-subnav-glow[hidden],
.sb-sidebar-nav-item .gx-wn-subnav-glow[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce)  {
.sb-subnav-item .gx-wn-subnav-glow,
    .sb-sidebar-nav-item .gx-wn-subnav-glow {
        animation: none;
    }

}
.dash-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sb-space-lg);
    /* Backdrop blur lives on the static ancestor so the tile ::before
       gradient mask renders correctly (animated parents drop the blur). */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.dash-tools-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: var(--sb-radius-lg);
    overflow: hidden;
    /* Flat icy→violet highlight layered on top of the canonical flat
       rgba card fill — same look as .related-card / .scene-card hover.
       Two-stop layer (not border-box) so the CLAUDE.md frosted bleed
       bug doesn't apply. */
    background:
        linear-gradient(rgba(56, 189, 248, 0.06), rgba(99, 102, 241, 0.04)),
        rgba(15, 21, 37, 0.70);
    border: none;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    /* Continuous breathe glow used everywhere else in the app */
    animation: sb-card-breathe 4s ease-in-out infinite;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition), background var(--sb-transition);
}
.dash-tools-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    /* Full-opacity ice → sky → violet — solid gradient ring, not faded */
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 50%, #6366F1 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}
.dash-tools-tile:hover {
    animation: none;
    transform: translateY(-3px);
    background:
        linear-gradient(rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.06)),
        rgba(15, 21, 37, 0.82);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.30),
                0 0 24px rgba(var(--sb-sky-rgb), 0.18),
                0 0 36px rgba(var(--sb-violet-rgb), 0.10);
}
.dash-tools-tile:focus-visible {
    outline: 2px solid var(--sb-ice);
    outline-offset: 2px;
}

@media (min-width: 900px)  {
.dash-tools-tile--wide { grid-column: span 2; }

}
.dash-tools-tile-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: rgba(56, 189, 248, 0.06);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dash-tools-tile-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8, 12, 20, 0.0) 0%,
        rgba(8, 12, 20, 0.35) 60%,
        rgba(8, 12, 20, 0.85) 100%);
    pointer-events: none;
}
.dash-tools-tile-body {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-xs);
    padding: var(--sb-space-md) var(--sb-space-lg) var(--sb-space-lg);
    z-index: 1;
}
.dash-tools-tile-tag {
    align-self: flex-end;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: var(--sb-radius-sm);
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.10);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.25);
}
.dash-tools-tile-tag.is-teal {
    color: var(--sb-teal);
    background: rgba(var(--sb-teal-rgb), 0.10);
    border-color: rgba(var(--sb-teal-rgb), 0.25);
}
.dash-tools-tile-tag.is-fuchsia {
    color: var(--sb-fuchsia);
    background: rgba(var(--sb-fuchsia-rgb), 0.10);
    border-color: rgba(var(--sb-fuchsia-rgb), 0.25);
}
.dash-tools-tile-name {
    margin: 4px 0 0;
    font-size: var(--sb-text-lg);
    font-weight: 700;
    color: var(--sb-text);
    line-height: 1.25;
}
.dash-tools-tile-desc {
    margin: 0;
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.5;
    /* clamp to 2 lines for visual rhythm */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-tools-tile-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: var(--sb-space-sm);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-ice);
    opacity: 0.85;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.dash-tools-tile-cta .sb-icon {
    width: 14px;
    height: 14px;
}
.dash-tools-tile:hover .dash-tools-tile-cta {
    opacity: 1;
    transform: translateX(2px);
}
.dash-tools-tile--profile     .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1620577610365-86c411bad78d?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--ai          .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1566768162345-04d017adbb2d?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--epk         .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1499364615650-ec38552f4f34?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--setlist     .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1498038432885-c6f3f1b912ee?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--poster      .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1771920790060-edc811f93cd3?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--flyer       .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1526478806334-5fd488fcaabc?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--invoice     .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1629276301820-0f3eedc29fd0?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--availability .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1565035010268-a3816f98589a?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--postgig     .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1584762017375-9125b7918bdc?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--calendar    .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1613160780608-9d5c8bfa239f?q=80&w=1200&auto=format&fit=crop'); }
.dash-tools-tile--feedback    .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1619065513120-ad804c3f5e22?q=80&w=1200&h=675&auto=format&fit=crop&crop=faces'); }
.dash-tools-tile--fans        .dash-tools-tile-media { background-image: url('https://images.unsplash.com/photo-1535726963350-db49f8b2f54f?q=80&w=1740&auto=format&fit=crop'); }
.dash-tools-carousel-wrap {
    overflow: hidden;
    padding-top: 6px;
    -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.dash-tools-carousel {
    display: flex;
    gap: var(--sb-space-lg);
    width: max-content;
    animation: dash-tools-scroll 45s linear infinite;
}
.dash-tools-carousel .dash-tools-tile {
    /* Match grid row 2 tile size — grid uses repeat(auto-fill, minmax(260px, 1fr))
       which typically resolves to ~25% of the grid width on desktop. Use the same
       calc so they're identical regardless of viewport. */
    width: calc((100vw - var(--sb-sidebar-width) - 200px - var(--sb-space-lg) * 5) / 4);
    min-width: 240px;
    max-width: 340px;
    flex-shrink: 0;
}
.dash-tools-carousel:hover { animation-play-state: paused; cursor: grab; }
.dash-tools-carousel:active { cursor: grabbing; }

@media (max-width: 600px)  {
.dash-tools-grid { grid-template-columns: 1fr; gap: var(--sb-space-md); }
.dash-tools-tile { min-height: 240px; }
.dash-tools-tile--wide { grid-column: auto; }

}
.feedback-composer-types {
    display: flex;
    gap: var(--sb-space-xs);
    flex-wrap: wrap;
}
.feedback-composer-type {
    flex: 1 1 auto;
    min-width: 80px;
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: transparent;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.25);
    border-radius: var(--sb-radius);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.feedback-composer-type:hover {
    color: var(--sb-text);
    border-color: rgba(var(--sb-ice-rgb), 0.45);
}
.feedback-composer-type.is-active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    color: var(--sb-text);
    font-weight: 600;
}
.feedback-composer-counter {
    margin-top: 4px;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-align: right;
}
.feedback-composer-images {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-sm);
}
.feedback-composer-img {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: var(--sb-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
    background: var(--sb-card-fill);
}
.feedback-composer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feedback-composer-img-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.feedback-composer-img-remove:hover { background: var(--sb-fuchsia); }
.feedback-composer-add-img {
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
    cursor: pointer;
}
.feedback-composer-add-img.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}
#feedback-composer-body { resize: vertical; min-height: 120px; }
.feedback-detail-back {
    margin-bottom: var(--sb-space-md);
    display: inline-flex;
    align-items: center;
    gap: var(--sb-space-xs);
}
.feedback-detail-back .sb-icon svg { width: 14px; height: 14px; }
.feedback-detail-post {
    display: flex;
    gap: var(--sb-space-md);
    padding: var(--sb-space-lg);
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-lg);
}
.feedback-detail-body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
}
.feedback-detail-head {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
}
.feedback-detail-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: var(--sb-text-xl);
    font-weight: 700;
    color: var(--sb-text);
    line-height: 1.3;
    word-break: break-word;
}
.feedback-detail-meta {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
}
.feedback-detail-text {
    font-size: var(--sb-text-base);
    color: var(--sb-text-secondary);
    line-height: 1.55;
    word-break: break-word;
    margin-top: var(--sb-space-xs);
}
.feedback-detail-text a {
    color: var(--sb-ice);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.feedback-detail-text a:hover { color: var(--sb-sky); }
.feedback-admin-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-xs);
    margin-top: var(--sb-space-md);
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: rgba(var(--sb-violet-rgb), 0.06);
    border: 1px dashed rgba(var(--sb-violet-rgb), 0.35);
    border-radius: var(--sb-radius);
}
.feedback-admin-status-label {
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-violet);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: var(--sb-space-xs);
}
.feedback-admin-status-btn {
    padding: 4px var(--sb-space-sm);
    background: transparent;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.25);
    border-radius: var(--sb-radius-pill);
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.feedback-admin-status-btn:hover {
    color: var(--sb-text);
    border-color: rgba(var(--sb-ice-rgb), 0.5);
}
.feedback-admin-status-btn.is-active {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    color: var(--sb-text);
    font-weight: 600;
}
.feedback-detail-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-md);
}
.feedback-detail-attachment {
    width: 120px;
    height: 120px;
    border-radius: var(--sb-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(var(--sb-text-muted-rgb), 0.2);
    background: var(--sb-card-fill);
    padding: 0;
    cursor: zoom-in;
    transition: transform 0.15s, border-color 0.15s;
}
.feedback-detail-attachment:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--sb-ice-rgb), 0.5);
}
.feedback-detail-attachment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feedback-comments {
    margin-top: var(--sb-space-xl);
}
.feedback-comments-heading {
    font-size: var(--sb-text-lg);
    font-weight: 600;
    color: var(--sb-text);
    margin: 0 0 var(--sb-space-md);
}
.feedback-comment-composer {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-md);
    margin-bottom: var(--sb-space-lg);
}
.feedback-comment-composer textarea {
    width: 100%;
    resize: vertical;
    min-height: 70px;
    margin-bottom: var(--sb-space-sm);
    /* Custom scrollbar — dark track, ice-tinted thumb */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--sb-ice-rgb), 0.5) transparent;
}
.feedback-comment-composer textarea::-webkit-scrollbar { width: 8px; height: 8px; }
.feedback-comment-composer textarea::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}
.feedback-comment-composer textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(var(--sb-ice-rgb), 0.55), rgba(var(--sb-violet-rgb), 0.55));
    border-radius: 4px;
}
.feedback-comment-composer textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(var(--sb-ice-rgb), 0.85), rgba(var(--sb-violet-rgb), 0.85));
}
.feedback-comment-composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-sm);
}
.feedback-comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-md);
}
.feedback-comment {
    display: flex;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-md) 0;
    border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.1);
}
.feedback-comment:first-child { border-top: none; padding-top: 0; }
.feedback-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--sb-radius-sm);
    object-fit: cover;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--sb-ice-rgb), 0.15);
    color: var(--sb-ice);
    font-size: var(--sb-text-sm);
    font-weight: 700;
}
.feedback-comment-body {
    flex: 1 1 0;
    min-width: 0;
}
.feedback-comment-meta {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    margin-bottom: 4px;
}
.feedback-comment-author {
    font-size: var(--sb-text-sm);
    font-weight: 600;
    color: var(--sb-text);
}
.feedback-comment-text {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.5;
    word-break: break-word;
}
.feedback-comment-text a {
    color: var(--sb-ice);
    text-decoration: underline;
}
.feedback-comment-actions {
    display: flex;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-xs);
}
.feedback-comment-action-btn {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s;
}
.feedback-comment-action-btn:hover { color: var(--sb-ice); }
.feedback-comment-action-btn.is-danger:hover { color: var(--sb-fuchsia); }
.feedback-comment-edit-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 60px;
    margin-bottom: var(--sb-space-sm);
}
.feedback-lightbox-overlay {
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--sb-space-lg);
}
.feedback-lightbox-overlay.active {
    display: flex;
}
.feedback-lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--sb-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.feedback-lightbox-close {
    position: absolute;
    top: var(--sb-space-md);
    right: var(--sb-space-md);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}
.feedback-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

@media (max-width: 540px)  {
.feedback-detail-post { flex-direction: column; gap: var(--sb-space-sm); padding: var(--sb-space-md); }
.feedback-detail-post .feedback-card-vote {
        flex-direction: row;
        align-items: center;
        order: 2;
        min-width: 0;
        gap: var(--sb-space-sm);
        padding-top: var(--sb-space-xs);
        border-top: 1px solid rgba(var(--sb-text-muted-rgb), 0.1);
    }
.feedback-detail-post .feedback-detail-body { order: 1; }
.feedback-detail-title { font-size: var(--sb-text-lg); }
.feedback-detail-attachment { width: 88px; height: 88px; }
.feedback-comment-avatar { width: 28px; height: 28px; }

}
body.page-messages, body.page-messages html {
    overflow: hidden !important;
    height: 100%;
}
.msg-layout {
    display: flex;
    height: calc(100vh - var(--sb-topbar-height));
    margin-top: var(--sb-topbar-height);
    margin-left: var(--sb-sidebar-width);
    overflow: hidden;
}

@media (max-width: 768px)  {
.msg-layout { margin-left: 0; }

}
.conv-search {
    margin-top: auto;
    padding: var(--sb-space-md) var(--sb-space-lg);
    border-top: none;
    border-image: none;
    flex-shrink: 0;
    position: relative;
}
.conv-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    animation: sb-chat-input-breathe 3s ease-in-out infinite;
    z-index: 1;
}
.conv-search .sb-input {
    padding: 10px var(--sb-space-md);
    font-size: var(--sb-text-sm);
    min-height: 40px;
    box-sizing: border-box;
}
.conv-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-xs);
    padding: 12px var(--sb-space-md);
    font-size: 10px;
    cursor: pointer;
    transition: all var(--sb-transition);
    border-bottom: 1px solid var(--sb-border);
}
.conv-item:hover {
    background: rgba(56,189,248,0.06);
    padding-left: calc(var(--sb-space-md) + 4px);
}
.conv-item.active {
    background: linear-gradient(90deg, rgba(56,189,248,0.1) 0%, rgba(14,165,233,0.05) 60%, transparent 100%);
    border-left: 3px solid var(--sb-sky);
}
.conv-item.unread .conv-name { font-weight: 700; color: var(--sb-text); }
.msg-row {
    display: flex;
    max-width: 70%;
}
.msg-row.sent {
    align-self: flex-end;
}
.msg-row.received {
    align-self: flex-start;
}
.msg-bubble-wrap {
    position: relative;
}
.msg-bubble {
    padding: 5px 10px;
    font-size: var(--sb-text-sm);
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, linear-gradient(135deg, rgba(56,189,248,1), rgba(14,165,233,1), rgba(99,102,241,1)) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    animation: sb-msg-breathe 4s ease-in-out infinite;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}
.msg-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(56,189,248,0.4), 0 0 28px rgba(99,102,241,0.2);
}
.msg-row.sent .msg-bubble {
    background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(14,165,233,0.1)) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky)) border-box;
    color: #fff;
    animation: sb-msg-sent-breathe 4s ease-in-out infinite;
}
.msg-row.received .msg-bubble {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, linear-gradient(135deg, rgba(56,189,248,0.5), rgba(99,102,241,0.5)) border-box;
    color: var(--sb-text);
}
.msg-time {
    font-size: 10px;
    color: var(--sb-text-muted);
    margin-top: 2px;
}
.msg-row.sent .msg-time { text-align: right; }
.msg-receipt {
    color: var(--sb-text-muted);
}
.msg-receipt-read {
    color: var(--sb-ice);
}
.msg-system {
    text-align: center;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-secondary);
    padding: var(--sb-space-xs) var(--sb-space-lg);
    margin: var(--sb-space-sm) auto;
    max-width: 360px;
    position: relative;
    background: rgba(12, 17, 32, 0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--sb-radius-pill);
    border: 1px solid rgba(56,189,248,0.2);
    line-height: 1.4;
}
.msg-system::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sb-gradient);
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(56,189,248,0.4);
}
.msg-system-booking {
    background: rgba(12, 17, 32, 0.70);
    border-color: rgba(99,102,241,0.25);
}
.msg-system-booking::before {
    background: var(--sb-violet);
    box-shadow: 0 0 6px rgba(99,102,241,0.4);
}
.msg-offer {
    position: relative;
    background: rgba(15,21,37,0.60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-md);
    width: 320px;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition);
    animation: sb-msg-offer-breathe 4s ease-in-out infinite;
}
.msg-offer::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.msg-offer:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(56,189,248,0.2), 0 0 24px rgba(99,102,241,0.1);
}
.msg-offer-clickable {
    cursor: pointer;
}
.msg-offer-header {
    font-size: var(--sb-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sb-ice);
    padding-bottom: var(--sb-space-sm);
    margin-bottom: var(--sb-space-sm);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.msg-offer-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-md);
}
.msg-offer-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--sb-radius);
    object-fit: cover;
    border: 1px solid var(--sb-ice);
    flex-shrink: 0;
}
.msg-offer-fee {
    font-size: var(--sb-text-xl);
    font-weight: 700;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: fit-content;
}
.msg-offer-detail {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-xs);
}
.msg-offer-note {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    margin-top: var(--sb-space-sm);
}
.msg-offer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sb-space-xs);
    margin-top: var(--sb-space-xs);
}

@media (max-width: 600px)  {
#offer-modal .sb-modal {
        max-height: none;
        margin: auto 0;
    }

}
.offer-date-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--sb-space-md);
}

@media (max-width: 600px)  {
.offer-date-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--sb-space-sm);
    }
.offer-date-row .sb-input-group:first-child {
        width: 100%;
    }
.offer-date-row .sb-input-group:nth-child(2),
    .offer-date-row .sb-input-group:nth-child(3) {
        flex: 1;
        min-width: 0;
    }

}
.msg-avail-row {
    display: flex;
    align-items: center;
    gap: var(--sb-space-md);
    margin: var(--sb-space-sm) 0;
}
.msg-avail-name {
    font-weight: 600;
}
.msg-avail-meta {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
}
.msg-avail-cta {
    font-size: var(--sb-text-xs);
    color: var(--sb-ice);
    text-align: center;
    margin-top: var(--sb-space-sm);
}
.msg-avail-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--sb-radius);
    object-fit: cover;
    border: 1px solid var(--sb-ice);
}
.msg-avail-initial {
    width: 40px;
    height: 40px;
    border-radius: var(--sb-radius);
    background: var(--sb-bg-surface);
    border: 1px solid var(--sb-ice);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--sb-ice);
    font-weight: 700;
}
.msg-file-card {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-sm);
    max-width: 400px;
    overflow: hidden;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}
.msg-file-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(56,189,248,0.2), 0 0 24px rgba(99,102,241,0.1);
}
.msg-file-card .msg-file {
    border: none;
    background: none;
    padding: var(--sb-space-xs) 0 0;
    justify-content: center;
    text-align: center;
}
.msg-file-card .msg-file:hover {
    transform: none;
    box-shadow: none;
}
.msg-image-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: calc(var(--sb-radius) - 2px);
    display: block;
}
.msg-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 10px 14px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: transform var(--sb-transition), box-shadow var(--sb-transition);
}
.msg-file:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(56,189,248,0.2), 0 0 20px rgba(99,102,241,0.1);
}
.msg-file-icon { font-size: 24px; }
.msg-file-name { font-size: var(--sb-text-sm); font-weight: 600; }
.msg-file-size { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
.msg-highlight { background: rgba(56,189,248,0.25); border-radius: 2px; padding: 0 1px; }
.msg-row.sent:hover .msg-delete { opacity: 1; }
.msg-delete {
    opacity: 0;
    position: absolute;
    top: 2px;
    left: -28px;
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 12px;
    transition: opacity 0.2s, color 0.2s;
}
.msg-delete:hover { color: var(--sb-fuchsia); }
.msg-deleted { font-style: italic; opacity: 0.5; }
.msg-actions-bar {
    display: none;
    position: absolute;
    top: -30px;
    right: 0;
    gap: 2px;
    background: rgba(12,17,32,0.90);
    border: 1px solid rgba(var(--sb-ice-rgb),0.15);
    border-radius: var(--sb-radius-sm);
    padding: 2px;
    z-index: 10;
}
.msg-row.received .msg-actions-bar { right: auto; left: 0; }
.msg-bubble-wrap:hover .msg-actions-bar { display: flex; }
.msg-actions-bar.msg-actions-visible { display: flex; }
.msg-actions-bar button {
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--sb-radius-sm);
    line-height: 0;
    transition: color 0.15s, background 0.15s;
}
.msg-actions-bar button:hover {
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.1);
}
.msg-actions-bar button .sb-icon svg { width: 14px; height: 14px; }
.msg-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.msg-reaction {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(15,21,37,0.55);
    border: 1px solid rgba(var(--sb-text-muted-rgb,148,163,184),0.22);
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    font-size: 11px;
    color: var(--sb-text-muted);
    transition: background 0.15s, border-color 0.15s;
}
.msg-reaction:hover {
    background: rgba(var(--sb-ice-rgb),0.10);
    border-color: rgba(var(--sb-ice-rgb),0.45);
    color: var(--sb-text);
}
.msg-reaction.is-mine {
    background: rgba(var(--sb-ice-rgb),0.16);
    border-color: var(--sb-ice);
    color: var(--sb-text);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.2);
}
.msg-reaction .sb-icon svg { width: 13px; height: 13px; }
.msg-reaction-count { font-variant-numeric: tabular-nums; }
.msg-reaction-picker {
    display: flex;
    gap: 2px;
    background: rgba(12,17,32,0.95);
    border: 1px solid rgba(var(--sb-ice-rgb),0.2);
    border-radius: var(--sb-radius);
    padding: 4px;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    margin-top: 4px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.15s, transform 0.15s;
}
.msg-reaction-picker.active { opacity: 1; transform: scale(1); }
.msg-reaction-picker button {
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--sb-radius-sm);
    line-height: 0;
    transition: color 0.15s, background 0.15s, transform 0.15s;
}
.msg-reaction-picker button:hover {
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.12);
    transform: scale(1.2);
}
.msg-reaction-picker button .sb-icon svg { width: 18px; height: 18px; }
.msg-reply-preview {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: 8px 12px;
    border-left: 3px solid var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.06);
    border-radius: 0 var(--sb-radius-sm) var(--sb-radius-sm) 0;
    margin-bottom: 4px;
    width: 100%;
}
.msg-reply-preview-content { flex: 1; min-width: 0; }
.msg-reply-preview-name { font-size: 11px; font-weight: 600; color: var(--sb-ice); }
.msg-reply-preview-text { font-size: 11px; color: var(--sb-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-reply-preview-close {
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    flex-shrink: 0;
}
.msg-reply-preview-close:hover { color: var(--sb-fuchsia); }
.msg-quote {
    border-left: 3px solid rgba(var(--sb-ice-rgb),0.4);
    padding: 4px 8px;
    margin-bottom: 4px;
    border-radius: 0 var(--sb-radius-sm) var(--sb-radius-sm) 0;
    background: rgba(var(--sb-ice-rgb),0.05);
    cursor: pointer;
    transition: background 0.15s;
}
.msg-quote:hover { background: rgba(var(--sb-ice-rgb),0.1); }
.msg-quote-name { font-size: 10px; font-weight: 600; color: var(--sb-ice); }
.msg-quote-text { font-size: 10px; color: var(--sb-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }
.msg-link {
    color: var(--sb-ice);
    text-decoration: underline;
    text-decoration-color: rgba(var(--sb-ice-rgb),0.3);
    text-underline-offset: 2px;
    word-break: break-all;
    transition: text-decoration-color 0.15s;
}
.msg-link:hover {
    text-decoration-color: var(--sb-ice);
}
.msg-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--sb-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.msg-edited-label {
    font-size: 10px;
    color: var(--sb-text-muted);
    font-style: italic;
}
.msg-bubble-editing {
    outline: 1px solid rgba(var(--sb-ice-rgb),0.4);
    outline-offset: -1px;
    cursor: text;
    justify-content: flex-end;
}
.msg-pin-indicator {
    color: var(--sb-text-muted);
    margin-left: 2px;
}
.msg-pin-indicator .sb-icon svg { width: 10px; height: 10px; }
.msg-pinned-strip {
    border-bottom: 1px solid rgba(var(--sb-ice-rgb),0.1);
    background: rgba(var(--sb-ice-rgb),0.03);
    flex-shrink: 0;
}
.msg-pinned-toggle {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    width: 100%;
    padding: 6px var(--sb-space-lg);
    background: none;
    border: none;
    color: var(--sb-ice);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.msg-pinned-toggle:hover { background: rgba(var(--sb-ice-rgb),0.06); }
.msg-pinned-toggle .sb-icon svg { width: 12px; height: 12px; }
.msg-pinned-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.msg-pinned-list.expanded { max-height: 200px; overflow-y: auto; }
.msg-pinned-item {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    padding: 4px var(--sb-space-lg);
    font-size: 11px;
    color: var(--sb-text-muted);
    cursor: pointer;
    transition: background 0.15s;
}
.msg-pinned-item:hover { background: rgba(var(--sb-ice-rgb),0.06); }
.msg-pinned-item .sb-icon svg { width: 10px; height: 10px; color: var(--sb-ice); flex-shrink: 0; }
.msg-pinned-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-pinned-unpin {
    background: none;
    border: none;
    color: var(--sb-text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.msg-pinned-item:hover .msg-pinned-unpin { opacity: 1; }
.msg-pinned-unpin:hover { color: var(--sb-fuchsia); }
.msg-row.msg-flash { animation: msgFlash 0.75s ease 2; border-radius: var(--sb-radius-sm); }
.msg-offer-divider {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: var(--sb-space-sm);
}
.chat-input-area {
    padding: var(--sb-space-md) var(--sb-space-lg);
    border-top: none;
    background: var(--sb-bg-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    align-items: flex-end;
    position: relative;
    flex-shrink: 0;
}
.chat-input-area::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    animation: sb-chat-input-breathe 3s ease-in-out infinite;
}
#avail-share-modal .sb-modal {
    background: rgba(12, 17, 32, 0.30) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-bottom: calc(var(--sb-space-md) + 2px);
    width: 95%;
}
#avail-share-modal .sb-modal-body {
    padding: 0;
}
#avail-share-modal .avail-heat-strip {
    margin-bottom: var(--sb-space-xs);
}
#avail-share-modal .sb-modal-footer {
    margin-top: var(--sb-space-sm);
    padding-bottom: 0;
}
#idx-submit-modal.sb-modal-overlay {
    align-items: flex-start;
}
#idx-submit-modal .sb-modal {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    max-height: 75dvh;
}
#idx-submit-modal .sb-modal-header,
#idx-submit-modal .sb-modal-footer {
    flex-shrink: 0;
}
#idx-submit-modal .sb-modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 4px 4px var(--sb-space-lg);
    margin: 0 -4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#idx-submit-modal .sb-modal-body::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px)  {
.msg-layout {
        position: fixed;
        top: var(--sb-topbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        margin-top: 0;
    }
.msg-layout.chat-open .conv-panel { display: none; }
.msg-layout.chat-open .chat-panel {
        display: flex;
        height: 100%;
        overflow: hidden;
    }
.msg-row { max-width: 85%; }
.conv-item { padding: 12px var(--sb-space-md); font-size: 13px; min-height: 44px; }
.chat-input-area { flex-shrink: 0; }

}
body.sb-cookie-active .chat-input-area { margin-bottom: 120px; }
body.light-mode .conv-panel::after {
    box-shadow: 1px 0 3px rgba(14,165,233,0.15), 2px 0 6px rgba(99,102,241,0.1);
}
body.light-mode .msg-row.sent .msg-bubble {
    color: var(--sb-text);
    background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(14,165,233,0.06)) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky)) border-box;
}
body.light-mode .msg-bubble {
    animation: sb-msg-breathe-light 4s ease-in-out infinite;
}
body.light-mode .msg-row.sent .msg-bubble {
    animation: sb-msg-sent-breathe-light 4s ease-in-out infinite;
}
body.light-mode .chat-input-area {
    background: rgba(243,244,246,0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
#pay-overview .featured-row-header + .sb-waveform-sep + div + .featured-row-header,
#pay-payouts .featured-row-header + .sb-waveform-sep + div + .featured-row-header {
    margin-top: var(--sb-space-2xl);
}
.inv-mode-row { display: flex; gap: var(--sb-space-sm); margin-bottom: var(--sb-space-xl); margin-top: calc(-1 * var(--sb-space-md)); flex-wrap: wrap; }

@media (max-width: 768px)  {
.inv-mode-row .inv-mode-btn { flex: 1 1 0; justify-content: center; }
.sb-table-wrap { display: none; }
.inv-saved-card {
        background: var(--sb-bg-card);
        border-radius: var(--sb-radius);
        padding: var(--sb-space-md);
        position: relative;
        overflow: visible;
    }
.inv-saved-card::before {
        content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
        background: var(--sb-gradient);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
    }
.inv-saved-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sb-space-sm); }
.inv-saved-card-num { font-size: var(--sb-text-sm); font-weight: 700; }
.inv-saved-card-total { font-size: var(--sb-text-lg); font-weight: 700; color: var(--sb-ice); }
.inv-saved-card-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-bottom: var(--sb-space-sm); }
.inv-saved-card-actions { display: flex; gap: 4px; }
.inv-saved-card-actions .sb-btn { flex: 1; }

}
.inv-received-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sb-space-md); margin-bottom: var(--sb-space-xl); }
.inv-received-cards { display: none; flex-direction: column; gap: var(--sb-space-md); }
.payment-stat-sublabel { font-size: var(--sb-text-xs); color: var(--sb-text-secondary); margin-top: 4px; font-weight: 600; }
.inv-received-subheader { margin-bottom: var(--sb-space-lg); }
.inv-received-subheader .sb-waveform-sep { margin-top: var(--sb-space-md); }
.inv-mode-btn { padding: 4px 12px !important; }
.inv-mode-btn.active { color: var(--sb-ice) !important; border-color: var(--sb-ice) !important; box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.2); }
.inv-section { background: var(--sb-bg-card); border: none; position: relative; overflow: visible; border-radius: var(--sb-radius-lg, 12px); padding: var(--sb-space-lg) var(--sb-space-xl); margin-bottom: var(--sb-space-lg); transition: background var(--sb-transition), transform var(--sb-transition), box-shadow var(--sb-transition); }
.inv-section:hover { background: var(--sb-bg-card-hover); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(56,189,248,0.1); }
.inv-section:nth-child(1) { z-index: 4; }
.inv-section:nth-child(2) { z-index: 3; }
.inv-section:nth-child(3) { z-index: 2; }
.inv-section:nth-child(4) { z-index: 1; }
.inv-section::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--sb-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.inv-section-title { font-size: 14px; font-weight: 700; color: var(--sb-text-primary); margin-bottom: var(--sb-space-md); padding-bottom: var(--sb-space-sm); border-bottom: 1px solid var(--sb-border); text-transform: uppercase; letter-spacing: 0.5px; }
.inv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sb-space-lg); margin-bottom: 0; max-width: none; }
.inv-form-grid .sb-input-group { margin-bottom: 0; }
.inv-form-grid .sb-label { font-size: 12px; font-weight: 600; margin-bottom: 6px; display: block; color: var(--sb-text-secondary); }
.inv-form-grid .sb-input { height: 42px; font-size: 14px; }
.inv-line-items { margin-bottom: var(--sb-space-sm); }
.inv-line-header { display: grid; grid-template-columns: 1fr 140px 40px; gap: var(--sb-space-sm); margin-bottom: var(--sb-space-sm); padding: 0 0 8px; border-bottom: 1px solid var(--sb-border); }
.inv-line-header span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sb-text-muted); }
.inv-line-item { display: grid; grid-template-columns: 1fr 140px 40px; gap: var(--sb-space-sm); align-items: center; margin-bottom: var(--sb-space-sm); }
.inv-line-item .sb-input-group { margin-bottom: 0; }
.inv-line-item .sb-input { height: 42px; font-size: 14px; }
.inv-line-remove { width: 40px; height: 42px; border-radius: var(--sb-radius); border: 1px solid var(--sb-border); background: transparent; color: var(--sb-text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all var(--sb-transition); }
.inv-line-remove:hover { border-color: var(--sb-error); color: var(--sb-error); background: rgba(var(--sb-error-rgb), 0.08); }
.inv-theme-light { background: #ffffff !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #1a1a2e !important; }
.inv-theme-light::before { display: none !important; }
.inv-theme-light .inv-header-left h1 { color: #0c4a6e !important; }
.inv-theme-light .inv-header-left .inv-brand { color: #64748b !important; }
.inv-theme-light .inv-parties { background: #f8fafc !important; border-color: #e2e8f0 !important; }
.inv-theme-light .inv-party-label { color: #94a3b8 !important; }
.inv-theme-light .inv-party-name { color: #1e293b !important; }
.inv-theme-light .inv-event-box { background: #f8fafc !important; border-color: #e2e8f0 !important; }
.inv-theme-light .inv-event-box h3 { color: #1e293b !important; }
.inv-theme-light .inv-event-row { color: #334155 !important; }
.inv-theme-light .inv-table th { color: #94a3b8 !important; border-color: #e2e8f0 !important; }
.inv-theme-light .inv-table td { color: #334155 !important; border-color: #f1f5f9 !important; }
.inv-theme-light .inv-table .inv-total-row td { color: #0f172a !important; border-color: #0c4a6e !important; }
.inv-theme-light .inv-terms-box { color: #64748b !important; border-color: #e2e8f0 !important; }
.inv-theme-light .inv-terms-box strong { color: #334155 !important; }
.inv-theme-light .inv-footer-bar { color: #94a3b8 !important; background: #f8fafc !important; border-color: #e2e8f0 !important; }
.inv-theme-dark { background: #080C14 !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #E2E8F0 !important; }
.inv-theme-dark::before { display: none !important; }
.inv-theme-dark .inv-parties { background: rgba(56,189,248,0.06) !important; border-color: #1E293B !important; }
.inv-theme-dark .inv-party-name { color: #F1F5F9 !important; }
.inv-theme-dark .inv-event-box { background: rgba(99,102,241,0.06) !important; border-color: #1E293B !important; }
.inv-theme-dark .inv-event-box h3 { color: #F1F5F9 !important; }
.inv-theme-dark .inv-event-row { color: #CBD5E1 !important; }
.inv-theme-dark .inv-table th { color: #64748B !important; border-color: #1E293B !important; }
.inv-theme-dark .inv-table td { color: #CBD5E1 !important; border-color: #1E293B !important; }
.inv-theme-dark .inv-table .inv-total-row td { color: #F1F5F9 !important; border-color: #38BDF8 !important; }
.inv-theme-dark .inv-terms-box { color: #94A3B8 !important; border-color: #1E293B !important; }
.inv-theme-dark .inv-terms-box strong { color: #CBD5E1 !important; }
.inv-theme-dark .inv-footer-bar { color: #64748B !important; background: rgba(56,189,248,0.06) !important; border-color: #1E293B !important; }
.inv-theme-pills { display: inline-flex; gap: 4px; padding: 3px; background: var(--sb-bg-card); border: 1px solid var(--sb-border); border-radius: var(--sb-radius); margin-right: auto; }
.inv-theme-pill { padding: 4px 12px; font-size: 11px; font-weight: 600; color: var(--sb-text-muted); background: transparent; border: none; border-radius: var(--sb-radius-sm); cursor: pointer; transition: all var(--sb-transition); display: inline-flex; align-items: center; gap: 4px; }
.inv-theme-pill:hover { color: var(--sb-text-secondary); }
.inv-theme-pill.active { background: rgba(var(--sb-ice-rgb), 0.15); color: var(--sb-ice); box-shadow: 0 0 6px rgba(var(--sb-ice-rgb), 0.2); }

@media (max-width: 600px)  {
.inv-form-grid { grid-template-columns: 1fr; }
.inv-line-item { grid-template-columns: 1fr 100px 36px; }
.inv-line-header { grid-template-columns: 1fr 100px 36px; }
.inv-section { padding: var(--sb-space-md); }

}
.settings-tab { display: none; }
.settings-tab.active { display: block; }
.settings-group { margin-bottom: var(--sb-space-xl); }
.settings-group h3 { font-size: var(--sb-text-lg); margin-bottom: var(--sb-space-md); padding-bottom: var(--sb-space-sm); border-bottom: 1px solid var(--sb-border); }
.settings-theme-toggle { position: relative; display: flex; align-items: center; gap: var(--sb-space-md); flex-wrap: wrap; padding: var(--sb-space-md); border-radius: var(--sb-radius); background: transparent; border: none; cursor: pointer; transition: background 0.2s; }
.settings-theme-toggle::before { content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius); padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.settings-theme-toggle:hover { background: rgba(var(--sb-ice-rgb),0.08); }
.settings-theme-toggle .theme-label { flex: 1; font-weight: 600; }
.settings-theme-toggle .theme-state { color: var(--sb-text-secondary); font-size: var(--sb-text-sm); }
.settings-user-type-badge { display: inline-block; padding: 4px 12px; border-radius: var(--sb-radius); font-size: var(--sb-text-sm); font-weight: 600; text-transform: capitalize; background: rgba(var(--sb-ice-rgb),0.1); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb),0.25); }
.settings-group .sb-btn-danger { position: relative; background: transparent; color: var(--sb-text-primary); border: none; }
.settings-group .sb-btn-danger::before { content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius); padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.settings-group .sb-btn-danger:hover { background: rgba(var(--sb-ice-rgb),0.08); opacity: 1; }
#mfa-qr::before { content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius); padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.events-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    align-items: flex-end;
    margin-bottom: var(--sb-space-lg);
    padding: var(--sb-space-md);
    position: relative;
    background: rgba(14, 20, 33, 0.95);
    border: none;
    border-radius: var(--sb-radius);
    overflow: visible;
}
.events-filters-bar::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    padding: 1px; background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.events-filters-bar .filter-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
.events-filters-bar .filter-group label {
    display: block;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-xs);
}
.events-filters-bar .filter-group .sb-input,
.events-filters-bar .filter-group .sb-select {
    font-size: var(--sb-text-sm);
    height: 38px;
    box-sizing: border-box;
}
.events-filters-bar > .sb-btn {
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--sb-border-light);
}
.events-filters-bar > .sb-btn:hover {
    border-color: var(--sb-ice);
}
.event-card-explore {
    position: relative;
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-md);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
    overflow: visible;
    height: 100%;
}
.event-card-cover {
    position: absolute;
    inset: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.45);
    transition: filter var(--sb-transition);
    pointer-events: none;
    border-radius: calc(var(--sb-radius) - 1px);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
}
.event-card-explore:hover .event-card-cover { filter: brightness(0.55); }
.event-card-explore .event-card-header,
.event-card-explore .event-card-genres,
.event-card-explore .event-card-footer { position: relative; z-index: 1; }
.event-card-explore::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    padding: 1px; background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.event-card-explore:hover {
    background: rgba(19, 27, 43, 0.75);
    box-shadow: 0 2px 12px rgba(56,189,248,0.15);
    transform: translateY(-1px);
}
.event-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--sb-space-md);
    margin-bottom: var(--sb-space-sm);
}
.event-date-box {
    text-align: center;
    min-width: 52px;
    padding: 0;
    background: rgba(15,21,37,0.70);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-sm);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.event-date-box .event-date-month {
    display: block;
    padding: 3px var(--sb-space-sm) 2px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky));
    color: #fff;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1;
}
.event-date-box .event-date-day {
    padding: 4px var(--sb-space-sm) 6px;
}
.event-date-month { font-size: var(--sb-text-xs); color: var(--sb-ice); font-weight: 600; text-transform: uppercase; }
.event-date-day { font-size: var(--sb-text-xl); font-weight: 700; color: var(--sb-text); }
.event-card-title { font-weight: 700; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-card-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
.event-card-genres { display: flex; flex-wrap: nowrap; gap: 3px; margin: auto 0 var(--sb-space-xs); overflow: hidden; height: 18px; }
.event-card-genres .sb-badge { font-size: 0.625rem; padding: 1px 6px; letter-spacing: 0.04em; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: var(--sb-radius-sm); }
.event-card-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sb-space-sm);
    border-top: none;
    margin-left: calc(-1 * var(--sb-space-md));
    margin-right: calc(-1 * var(--sb-space-md));
    margin-bottom: calc(-1 * var(--sb-space-md));
    padding-left: var(--sb-space-md);
    padding-right: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
}
.event-card-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    height: 1px;
    background: var(--sb-border);
}
.event-card-actions {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px var(--sb-space-md);
    background: rgb(17,24,39);
    border-top: 1px solid var(--sb-border);
    border-radius: 0 0 calc(var(--sb-radius) - 1px) calc(var(--sb-radius) - 1px);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 3;
}
body.light-mode .event-card-actions { background: rgb(255,255,255); }
.event-card-explore:hover .event-card-actions { opacity: 1; }
.event-card-actions .bk-card-action { padding: 4px 12px; }
.page-events .event-card-actions { padding: 4px var(--sb-space-md); }

@media (max-width: 768px)  {
.event-card-actions { display: none; }

}
.event-hero-wrap {
    position: relative;
    background: var(--sb-gradient);
    padding: 1px;
    border-radius: var(--sb-radius-lg);
    margin-bottom: var(--sb-space-xl);
}
.event-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--sb-space-lg);
    padding: var(--sb-space-lg);
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: calc(var(--sb-radius-lg) - 1px);
    position: relative;
    overflow: hidden;
}
.event-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.35);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    pointer-events: none;
}
.event-hero .event-hero-date,
.event-hero .event-hero-text { position: relative; z-index: 1; }
.event-hero-date {
    text-align: center;
    min-width: 72px;
    width: 72px;
    padding: var(--sb-space-md) var(--sb-space-sm);
    background: transparent;
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
    flex-shrink: 0;
}
.event-hero-date .event-date-month { font-size: var(--sb-text-sm); }
.event-hero-date .event-date-day { font-size: 1.75rem; }
.event-hero-text { min-width: 0; }
.event-hero-meta { display: flex; align-items: center; gap: var(--sb-space-sm); margin-top: var(--sb-space-xs); flex-wrap: wrap; }
.event-hero-meta .sb-text-muted { font-size: var(--sb-text-sm); }
.event-hero-genres { display: flex; flex-wrap: wrap; gap: var(--sb-space-xs); margin-top: var(--sb-space-sm); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sb-space-lg); align-items: stretch; }
.detail-grid > div { display: flex; flex-direction: column; }
.detail-grid > .detail-section,
.detail-grid > .event-description-card,
.detail-grid > .sb-card,
.detail-grid > .ticket-section { margin-bottom: 0; }
.detail-section {
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-lg);
    margin-bottom: var(--sb-space-lg);
    position: relative;
    overflow: visible;
}
.detail-section::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.detail-section h3 {
    font-size: var(--sb-text-lg);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
}
.detail-field { display: flex; justify-content: space-between; padding: var(--sb-space-sm) 0; border-bottom: 1px solid rgba(148,163,184,0.08); font-size: var(--sb-text-sm); }
.detail-field:last-of-type { border-bottom: none; }
.detail-field-label { color: var(--sb-text-muted); font-size: var(--sb-text-xs); text-transform: uppercase; letter-spacing: 0.05em; }
.detail-field-value { color: var(--sb-text); font-weight: 600; }
.detail-actions { display: flex; gap: var(--sb-space-sm); margin-top: var(--sb-space-lg); flex-wrap: wrap; }
.event-description-card {
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-lg);
    margin-bottom: var(--sb-space-lg);
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    line-height: 1.7;
    position: relative;
    overflow: visible;
    transition: background var(--sb-transition);
}
.event-description-card:hover {
    background: var(--sb-bg-card-hover);
}
.event-description-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.event-description-card h3 {
    font-size: var(--sb-text-lg);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
    color: var(--sb-text);
}
.event-desc-clamped {
    max-height: 120px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.event-desc-toggle {
    background: none;
    border: none;
    color: var(--sb-ice);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    cursor: pointer;
    padding: var(--sb-space-xs) 0 0;
}
.event-desc-toggle:hover { text-decoration: underline; }
.event-quick-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-sm) 0;
    font-size: var(--sb-text-sm);
}
.event-quick-row svg { width: 16px; height: 16px; color: var(--sb-ice); flex-shrink: 0; }
.event-quick-label { color: var(--sb-text-muted); min-width: 72px; }
.event-quick-value { color: var(--sb-text); font-weight: 500; }
.event-sidebar-card { margin-bottom: var(--sb-space-lg); }
.event-sidebar-card h4 {
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
}
.event-sidebar-genres {
    margin-top: var(--sb-space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-xs);
}
.event-sidebar-btn { width: 100%; margin-bottom: var(--sb-space-sm); }
.sb-btn-ice { background: transparent; color: var(--sb-ice); border: 1px solid var(--sb-ice); }
.sb-btn-ice:hover { background: rgba(var(--sb-ice-rgb), 0.1); }
.event-owner-card { margin-top: 0; }
.event-owner-info { font-size: var(--sb-text-sm); color: var(--sb-text-secondary); }
.event-owner-actions-row {
    display: flex;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-lg);
    flex-wrap: wrap;
}
.event-owner-actions {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-sm);
    margin-top: 0;
}
.gig-detail-banner-info { flex: 1; min-width: 0; }
.sb-badge-2xs { font-size: var(--sb-text-2xs); padding: 1px 6px; }
.event-card-info { flex: 1; min-width: 0; }
.event-card-footer-text { font-size: var(--sb-text-xs); }
.ev-checkbox-row .sb-checkbox-label { font-size: var(--sb-text-sm); }
.ev-edit-cover-overlay.active { opacity: 1; }
.ticket-tier-grid { gap: var(--sb-space-sm); }
.event-cover-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-lg);
}
.event-cover-wrapper {
    position: relative;
    margin-bottom: var(--sb-space-lg);
}
.event-cover-wrapper .event-cover-banner { margin-bottom: 0; }
.event-cover-upload-btn {
    position: absolute;
    top: var(--sb-space-sm);
    right: var(--sb-space-sm);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background var(--sb-transition);
}
.event-cover-upload-btn:hover { background: rgba(56,189,248,0.3); }
.event-cover-upload-btn input { display: none; }
.event-cover-upload-btn svg { width: 16px; height: 16px; }
.event-cover-placeholder {
    width: 100%;
    height: 120px;
    border: 2px dashed var(--sb-border-light);
    border-radius: var(--sb-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-sm);
    color: var(--sb-text-muted);
    font-size: var(--sb-text-sm);
    cursor: pointer;
    transition: border-color var(--sb-transition), color var(--sb-transition);
}
.event-cover-placeholder:hover { border-color: var(--sb-ice); color: var(--sb-ice); }
.event-cover-placeholder input { display: none; }
.event-cover-placeholder svg { width: 20px; height: 20px; }
.event-cover-preview { width: 100%; height: 120px; object-fit: cover; border-radius: var(--sb-radius); margin-top: var(--sb-space-sm); }
.ev-cover-dropzone.dragover {
    border-color: var(--sb-ice);
    background: rgba(56, 189, 248, 0.05);
}
.ticket-section {
    background: rgba(14, 20, 33, 0.7);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-lg);
    margin-bottom: var(--sb-space-lg);
    text-align: left;
    position: relative;
    overflow: visible;
    transition: background var(--sb-transition);
}
.ticket-section:hover {
    background: var(--sb-bg-card-hover);
}
.ticket-section::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.ticket-section-title {
    font-size: var(--sb-text-lg);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
}
.ticket-tiers { display: flex; flex-direction: column; gap: var(--sb-space-xs); }
.ticket-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-md);
    background: rgba(8, 12, 20, 0.5);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm);
    transition: border-color var(--sb-transition);
}
.ticket-tier:hover { border-color: rgba(56, 189, 248, 0.3); }
.ticket-tier-soldout,
.ticket-tier-closed,
.ticket-tier-upcoming,
.ticket-tier-elapsed { opacity: 0.55; pointer-events: none; }
.ticket-tier-closed:hover,
.ticket-tier-upcoming:hover,
.ticket-tier-elapsed:hover { border-color: var(--sb-border); }
.ticket-badge-elapsed { background: transparent; }
.ticket-tier-color-ice .ticket-badge-elapsed { color: var(--sb-ice); border-color: rgba(var(--sb-ice-rgb), 0.25); }
.ticket-tier-color-violet .ticket-badge-elapsed { color: var(--sb-violet); border-color: rgba(var(--sb-violet-rgb), 0.25); }
.ticket-tier-color-fuchsia .ticket-badge-elapsed { color: var(--sb-fuchsia); border-color: rgba(var(--sb-fuchsia-rgb), 0.25); }
.ticket-tier-color-teal .ticket-badge-elapsed { color: var(--sb-teal); border-color: rgba(var(--sb-teal-rgb), 0.25); }
.ticket-tier-info { display: flex; flex-direction: column; gap: 2px; }
.ticket-tier-name { font-weight: 600; font-size: var(--sb-text-sm); }
.ticket-tier-price { font-size: var(--sb-text-lg); font-weight: 700; }
.ticket-tier-color-ice .ticket-tier-price { color: var(--sb-ice); }
.ticket-tier-color-violet .ticket-tier-price { color: var(--sb-violet); }
.ticket-tier-color-fuchsia .ticket-tier-price { color: var(--sb-fuchsia); }
.ticket-tier-color-teal .ticket-tier-price { color: var(--sb-teal); }
.ticket-tier-stock { display: flex; align-items: center; gap: var(--sb-space-md); }
.ticket-remaining { font-size: var(--sb-text-xs); color: var(--sb-text-muted); white-space: nowrap; }
.ticket-badge-soldout,
.ticket-badge-closed,
.ticket-badge-upcoming { background: transparent; }
.ticket-tier-color-ice .ticket-badge-soldout,
.ticket-tier-color-ice .ticket-badge-closed,
.ticket-tier-color-ice .ticket-badge-upcoming { color: var(--sb-ice); border-color: rgba(var(--sb-ice-rgb), 0.25); }
.ticket-tier-color-violet .ticket-badge-soldout,
.ticket-tier-color-violet .ticket-badge-closed,
.ticket-tier-color-violet .ticket-badge-upcoming { color: var(--sb-violet); border-color: rgba(var(--sb-violet-rgb), 0.25); }
.ticket-tier-color-fuchsia .ticket-badge-soldout,
.ticket-tier-color-fuchsia .ticket-badge-closed,
.ticket-tier-color-fuchsia .ticket-badge-upcoming { color: var(--sb-fuchsia); border-color: rgba(var(--sb-fuchsia-rgb), 0.25); }
.ticket-tier-color-teal .ticket-badge-soldout,
.ticket-tier-color-teal .ticket-badge-closed,
.ticket-tier-color-teal .ticket-badge-upcoming { color: var(--sb-teal); border-color: rgba(var(--sb-teal-rgb), 0.25); }
.ticket-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm);
    overflow: hidden;
}
.ticket-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.08);
    border: none;
    color: var(--sb-ice);
    font-size: var(--sb-text-lg);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--sb-transition);
}
.ticket-qty-btn:hover { background: rgba(56, 189, 248, 0.2); }
.ticket-tier-color-ice .ticket-qty-control { border-color: rgba(var(--sb-ice-rgb), 0.25); }
.ticket-tier-color-ice .ticket-qty-btn { background: rgba(var(--sb-ice-rgb), 0.1); color: var(--sb-ice); }
.ticket-tier-color-ice .ticket-qty-btn:hover { background: rgba(var(--sb-ice-rgb), 0.2); }
.ticket-tier-color-violet .ticket-qty-control { border-color: rgba(var(--sb-violet-rgb), 0.25); }
.ticket-tier-color-violet .ticket-qty-btn { background: rgba(var(--sb-violet-rgb), 0.1); color: var(--sb-violet); }
.ticket-tier-color-violet .ticket-qty-btn:hover { background: rgba(var(--sb-violet-rgb), 0.2); }
.ticket-tier-color-fuchsia .ticket-qty-control { border-color: rgba(var(--sb-fuchsia-rgb), 0.25); }
.ticket-tier-color-fuchsia .ticket-qty-btn { background: rgba(var(--sb-fuchsia-rgb), 0.1); color: var(--sb-fuchsia); }
.ticket-tier-color-fuchsia .ticket-qty-btn:hover { background: rgba(var(--sb-fuchsia-rgb), 0.2); }
.ticket-tier-color-teal .ticket-qty-control { border-color: rgba(var(--sb-teal-rgb), 0.25); }
.ticket-tier-color-teal .ticket-qty-btn { background: rgba(var(--sb-teal-rgb), 0.1); color: var(--sb-teal); }
.ticket-tier-color-teal .ticket-qty-btn:hover { background: rgba(var(--sb-teal-rgb), 0.2); }
.ticket-qty-value {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: var(--sb-text-sm);
    background: rgba(8, 12, 20, 0.6);
    line-height: 32px;
}
.ticket-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--sb-space-md);
    padding-top: var(--sb-space-md);
    border-top: 1px solid var(--sb-border);
    gap: var(--sb-space-md);
}
.ticket-cart-total {
    display: flex;
    align-items: baseline;
    gap: var(--sb-space-sm);
    font-size: var(--sb-text-sm);
}
.ticket-cart-total span:nth-child(2) { font-size: var(--sb-text-xl); font-weight: 700; color: var(--sb-ice); }
.ticket-buy-btn { white-space: nowrap; }
.ticket-preview-card { line-height: 0; }
.ticket-preview-wrapper { background: rgba(15,21,37,0.70); }
.ticket-preview-gradient-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    z-index: 1;
}
.ticket-tiers-mgmt { display: flex; flex-direction: column; gap: var(--sb-space-xs); margin-bottom: var(--sb-space-sm); }
.ticket-tier-mgmt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: rgba(var(--sb-ice-rgb), 0.06);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.2);
    border-radius: var(--sb-radius-sm);
    gap: var(--sb-space-md);
}
.ticket-tier-mgmt-info { display: flex; flex-direction: column; gap: 2px; font-size: var(--sb-text-sm); min-width: 0; }
.ticket-tier-mgmt-info strong { font-size: var(--sb-text-sm); }
.ticket-tier-mgmt-info span { font-size: var(--sb-text-xs); }
.ticket-tier-mgmt-title {
    display: inline-flex; flex-wrap: wrap; align-items: center;
    gap: var(--sb-space-xs);
}
.ticket-tier-badge {
    padding: 2px 8px;
    width: fit-content;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ticket-tier-color-ice { background: rgba(var(--sb-ice-rgb), 0.06); border-color: rgba(var(--sb-ice-rgb), 0.2); }
.ticket-tier-color-ice strong { color: var(--sb-ice); }
.ticket-tier-color-ice span { color: rgba(var(--sb-ice-rgb), 0.7); }
.ticket-tier-badge-ice { background: rgba(var(--sb-ice-rgb), 0.15); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb), 0.3); }
.ticket-tier-color-violet { background: rgba(var(--sb-violet-rgb), 0.06); border-color: rgba(var(--sb-violet-rgb), 0.2); }
.ticket-tier-color-violet strong { color: var(--sb-violet); }
.ticket-tier-color-violet span { color: rgba(var(--sb-violet-rgb), 0.7); }
.ticket-tier-badge-violet { background: rgba(var(--sb-violet-rgb), 0.15); color: var(--sb-violet); border: 1px solid rgba(var(--sb-violet-rgb), 0.3); }
.ticket-tier-color-fuchsia { background: rgba(var(--sb-fuchsia-rgb), 0.06); border-color: rgba(var(--sb-fuchsia-rgb), 0.2); }
.ticket-tier-color-fuchsia strong { color: var(--sb-fuchsia); }
.ticket-tier-color-fuchsia span { color: rgba(var(--sb-fuchsia-rgb), 0.7); }
.ticket-tier-badge-fuchsia { background: rgba(var(--sb-fuchsia-rgb), 0.15); color: var(--sb-fuchsia); border: 1px solid rgba(var(--sb-fuchsia-rgb), 0.3); }
.ticket-tier-color-teal { background: rgba(var(--sb-teal-rgb), 0.06); border-color: rgba(var(--sb-teal-rgb), 0.2); }
.ticket-tier-color-teal strong { color: var(--sb-teal); }
.ticket-tier-color-teal span { color: rgba(var(--sb-teal-rgb), 0.7); }
.ticket-tier-badge-teal { background: rgba(var(--sb-teal-rgb), 0.15); color: var(--sb-teal); border: 1px solid rgba(var(--sb-teal-rgb), 0.3); }
.ticket-tier-mgmt-right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sb-space-xs); flex-shrink: 0; }
.ticket-tier-mgmt-actions { display: flex; gap: var(--sb-space-xs); flex-shrink: 0; }
.ticket-tier-btn-ice { background: rgba(var(--sb-ice-rgb), 0.1); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb), 0.25); }
.ticket-tier-btn-ice:hover { background: rgba(var(--sb-ice-rgb), 0.2); }
.ticket-tier-btn-violet { background: rgba(var(--sb-violet-rgb), 0.1); color: var(--sb-violet); border: 1px solid rgba(var(--sb-violet-rgb), 0.25); }
.ticket-tier-btn-violet:hover { background: rgba(var(--sb-violet-rgb), 0.2); }
.ticket-tier-btn-fuchsia { background: rgba(var(--sb-fuchsia-rgb), 0.1); color: var(--sb-fuchsia); border: 1px solid rgba(var(--sb-fuchsia-rgb), 0.25); }
.ticket-tier-btn-fuchsia:hover { background: rgba(var(--sb-fuchsia-rgb), 0.2); }
.ticket-tier-btn-teal { background: rgba(var(--sb-teal-rgb), 0.1); color: var(--sb-teal); border: 1px solid rgba(var(--sb-teal-rgb), 0.25); }
.ticket-tier-btn-teal:hover { background: rgba(var(--sb-teal-rgb), 0.2); }
.gc-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    padding: var(--sb-space-md);
    overflow-y: auto;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.gc-overlay::after {
    content: '';
    position: fixed; inset: 0;
    background: rgba(4, 6, 14, 0.75);
    /* No backdrop-filter — Cloudflare Turnstile hangs (spinning loader)
       when rendered inside an ancestor with backdrop-filter applied. */
    z-index: -1;
    pointer-events: none;
}
.gc-overlay.active { opacity: 1; pointer-events: auto; }
.gc-step-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--sb-border); transition: background 0.2s, box-shadow 0.3s;
}
.gc-step-dot.active {
    background: var(--sb-ice);
    animation: gc-dot-breathe 2s ease-in-out infinite;
}
.gc-field { margin-bottom: var(--sb-space-md); }
.gc-field label {
    display: block; font-size: var(--sb-text-xs); font-weight: 600;
    color: var(--sb-text-secondary); margin-bottom: var(--sb-space-xs);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.gc-field input {
    width: 100%; height: 44px;
    background: var(--sb-bg-body); border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius); color: var(--sb-text);
    font-family: var(--sb-font); font-size: var(--sb-text-sm);
    padding: 0 var(--sb-space-md);
    transition: border-color var(--sb-transition);
    appearance: none;
}
.gc-field input:focus {
    outline: none; border-color: var(--sb-ice);
    box-shadow: 0 0 0 3px rgba(var(--sb-ice-rgb), 0.15);
}
.gc-field input.gc-error { border-color: var(--sb-fuchsia); }
.gc-field .gc-error-msg {
    font-size: var(--sb-text-xs); color: var(--sb-fuchsia);
    margin-top: 4px; display: none;
}
.gc-field .gc-error-msg.visible { display: block; }
.gc-field-optional {
    font-size: var(--sb-text-xs); color: var(--sb-text-muted);
    font-weight: 400; text-transform: none; letter-spacing: 0;
    margin-left: var(--sb-space-xs);
}
.gc-field-help {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-top: 6px;
    line-height: 1.4;
}
.gc-footer {
    padding: var(--sb-space-md) var(--sb-space-xl) var(--sb-space-lg);
    display: flex; flex-direction: column; gap: var(--sb-space-sm);
}
.gc-footer-actions { display: flex; gap: var(--sb-space-sm); }
.gc-footer .sb-btn { flex: 1; }

@media (max-width: 480px)  {
.gc-overlay { padding: var(--sb-space-md); align-items: center; }

}

@media (max-width: 768px)  {
.events-filters-bar {
        gap: var(--sb-space-xs);
        padding: var(--sb-space-sm);
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
.events-filters-bar .filter-group label { font-size: 10px; margin-bottom: 2px; }
.events-filters-bar .filter-group .sb-input,
    .events-filters-bar .filter-group .sb-select { font-size: 12px; height: 32px; }
.events-filters-bar .filter-group:has([id*="-city"]) { grid-column: 1 / -1; }
.events-filters-bar > .sb-btn {
        height: 32px;
        font-size: 11px;
        grid-column: 1 / -1;
    }
.gig-detail-banner-tags .sb-status-published { display: none; }
.detail-grid { grid-template-columns: 1fr; }
.detail-grid .sb-card { margin-bottom: var(--sb-space-lg); }
.event-hero { flex-direction: column; gap: var(--sb-space-md); align-items: center; text-align: center; }
.event-hero-date { width: auto; min-width: auto; display: inline-flex; flex-direction: column; align-items: center; padding: var(--sb-space-sm) var(--sb-space-lg); }
.event-hero-meta { justify-content: center; }
.event-hero-genres { justify-content: center; }
.event-cover-banner { height: 150px; }
.page-events .sb-subnav-content { padding-bottom: var(--sb-space-lg); }
.ticket-tier { flex-wrap: wrap; gap: var(--sb-space-xs); padding: var(--sb-space-sm) var(--sb-space-md); }
.ticket-tier-info { flex-direction: row; align-items: center; gap: var(--sb-space-sm); flex: 1; min-width: 0; }
.ticket-tier-price { font-size: var(--sb-text-sm); white-space: nowrap; }
.ticket-tier-stock { width: 100%; justify-content: space-between; }
.ticket-cart { flex-direction: column; align-items: stretch; }
.ticket-cart-total { justify-content: space-between; }
.ticket-tier-mgmt { padding: var(--sb-space-sm); gap: var(--sb-space-sm); flex-wrap: nowrap; }
.ticket-tier-mgmt-info { flex-direction: column; align-items: stretch; gap: 2px; flex: 1; min-width: 0; overflow: hidden; }
.ticket-tier-mgmt-title { flex-wrap: wrap; gap: 6px; }
.ticket-tier-mgmt-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--sb-text-xs); }
.ticket-tier-mgmt-info span { white-space: nowrap; font-size: 10px; }
.ticket-tier-mgmt-actions { gap: 4px; flex-shrink: 0; }
.ticket-tier-mgmt-actions .sb-btn { font-size: 10px; padding: 2px 6px; }

}

@media (max-width: 480px)  {
.event-card-explore { padding: var(--sb-space-sm); }
.event-card-header { gap: var(--sb-space-sm); }
.event-date-box { min-width: 44px; padding: 4px; }
.event-card-title { font-size: var(--sb-text-sm); }
.detail-field {
        flex-direction: column;
        gap: var(--sb-space-xs);
    }

}
body.light-mode .detail-field {
    border-bottom-color: rgba(0,0,0,0.06);
}
.genre-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: var(--sb-bg-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-radius); }
.genre-chip { padding: 5px 14px; border-radius: 20px; font-size: var(--sb-text-sm); cursor: pointer; transition: all var(--sb-transition); border: 1px solid var(--sb-border); color: var(--sb-text-secondary); background: transparent; user-select: none; }
.genre-chip:hover { border-color: var(--sb-ice); color: var(--sb-text-primary); }
.genre-chip.selected { background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet)); color: white; border-color: transparent; font-weight: 600; }
#ev-genre-picker .genre-chip {
    flex: 1 1 auto;
    text-align: center;
    border-radius: var(--sb-radius);
    padding: 7px 16px;
    font-size: var(--sb-text-xs);
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(15, 21, 37, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
#ev-genre-picker .genre-chip[data-heat="1"] {
    border-color: rgba(56, 189, 248, 0.12);
    background: rgba(56, 189, 248, 0.03);
}
#ev-genre-picker .genre-chip[data-heat="2"] {
    border-color: rgba(56, 189, 248, 0.25);
    background: rgba(56, 189, 248, 0.06);
    color: rgba(56, 189, 248, 0.8);
}
#ev-genre-picker .genre-chip[data-heat="3"] {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(99, 102, 241, 0.06));
    color: var(--sb-ice);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.08);
}
#ev-genre-picker .genre-chip[data-heat="4"] {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.1));
    color: #fff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.12), 0 0 6px rgba(99, 102, 241, 0.08);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}
#ev-genre-picker .genre-chip:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}
#ev-genre-picker .genre-chip.selected {
    background: rgba(56, 189, 248, 0.12);
    color: var(--sb-ice);
    border-color: rgba(56, 189, 248, 0.3);
    font-weight: 600;
    box-shadow: none;
    text-shadow: none;
    transform: translateY(-1px);
}
.booking-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-lg);
    background: var(--sb-bg-card);
    border: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: visible;
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-sm);
    cursor: pointer;
    transition: background var(--sb-transition);
}
.booking-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.booking-item:hover {
    background: var(--sb-bg-card-hover);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.3), 0 0 16px rgba(var(--sb-sky-rgb),0.15);
    transform: translateY(-1px);
}
.booking-item-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-md);
}
.booking-date-box {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
    padding: var(--sb-space-sm);
    background: linear-gradient(rgba(var(--sb-ice-rgb),0.08), rgba(var(--sb-ice-rgb),0.08)) padding-box, var(--sb-gradient) border-box;
    border: 1px solid transparent;
    border-radius: var(--sb-radius);
}
.booking-date-month {
    font-size: var(--sb-text-xs);
    font-weight: 700;
    color: var(--sb-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.booking-date-day {
    font-size: var(--sb-text-2xl);
    font-weight: 700;
    line-height: 1;
}
.booking-item-info h4 { font-size: var(--sb-text-base); margin-bottom: 2px; }
.booking-item-meta {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
}
.booking-item-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-md);
}
.booking-item-right .sb-badge {
    width: 110px;
    justify-content: center;
    text-align: center;
}
.booking-fee {
    font-weight: 700;
    font-size: var(--sb-text-lg);
    color: var(--sb-ice);
}
.rv-hero, .rv-cat, .rv-card {
    position: relative;
    background: var(--sb-bg-card);
    border: none;
    border-radius: var(--sb-radius);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    overflow: visible;
    animation: rv-card-breathe 4s ease-in-out infinite;
}
.rv-hero::before, .rv-cat::before, .rv-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.rv-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-xl);
    padding: var(--sb-space-xl);
    margin-bottom: var(--sb-space-lg);
}
.rv-hero-rating { text-align: center; }
.rv-hero-score {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    background: var(--sb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rv-hero-stars { margin-top: var(--sb-space-xs); }
.rv-hero-count { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 4px; }
.rv-hero-stats { display: flex; gap: var(--sb-space-xl); }
.rv-hero-stat { text-align: center; }
.rv-hero-stat-val { font-size: 1.5rem; font-weight: 700; color: var(--sb-text); }
.rv-hero-stat-label { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }
.rv-needs-response { color: var(--sb-fuchsia); }
.rv-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sb-space-md);
    margin-bottom: var(--sb-space-xl);
}
.rv-cat {
    padding: var(--sb-space-md);
}
.rv-cat-header { display: flex; align-items: center; gap: var(--sb-space-xs); margin-bottom: var(--sb-space-sm); }
.rv-cat-icon { color: var(--sb-text-muted); }
.rv-cat-icon .sb-icon svg { width: 14px; height: 14px; }
.rv-cat-label { flex: 1; font-size: var(--sb-text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sb-text-secondary); }
.rv-cat-score { font-weight: 700; font-size: var(--sb-text-sm); }
.rv-cat-bar { height: 6px; background: rgba(var(--sb-white-rgb),0.05); border-radius: 3px; }
.rv-cat-fill { height: 100%; border-radius: 3px; background: var(--sb-gradient-h); transition: width 0.6s ease; }
.rv-list { display: flex; flex-direction: column; gap: var(--sb-space-md); }
.rv-card {
    padding: var(--sb-space-lg);
    transition: box-shadow 0.2s;
}
.rv-card:hover { box-shadow: 0 0 20px rgba(56,189,248,0.15), 0 0 40px rgba(99,102,241,0.08); }
.rv-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sb-space-md); margin-bottom: var(--sb-space-md); }
.rv-card-author { display: flex; align-items: center; gap: var(--sb-space-sm); }
.rv-card-name { font-weight: 600; font-size: var(--sb-text-sm); }
.rv-card-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }
.rv-card-right { text-align: right; flex-shrink: 0; }
.rv-card-stars { margin-top: 4px; }
.rv-status {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--sb-radius-sm);
}
.rv-status-responded { background: rgba(var(--sb-ice-rgb),0.1); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb),0.25); }
.rv-status-pending { background: rgba(var(--sb-fuchsia-rgb),0.1); color: var(--sb-fuchsia); border: 1px solid rgba(var(--sb-fuchsia-rgb),0.25); }
.rv-card-title { font-weight: 600; margin-bottom: var(--sb-space-sm); }
.rv-card-body { font-size: var(--sb-text-sm); color: var(--sb-text-secondary); line-height: 1.7; margin-bottom: var(--sb-space-md); }
.rv-card-subcats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sb-space-sm);
    padding: var(--sb-space-sm) 0;
    border-top: 1px solid rgba(var(--sb-white-rgb),0.05);
    margin-bottom: var(--sb-space-sm);
}
.rv-subcat { text-align: center; }
.rv-subcat-label { display: block; font-size: 10px; color: var(--sb-text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.rv-response {
    padding: var(--sb-space-md);
    background: rgba(var(--sb-ice-rgb),0.04);
    border-left: 3px solid rgba(var(--sb-ice-rgb),0.3);
    border-radius: 0 var(--sb-radius-sm) var(--sb-radius-sm) 0;
    margin-top: var(--sb-space-sm);
}
.rv-response-header { font-size: var(--sb-text-xs); color: var(--sb-ice); margin-bottom: var(--sb-space-xs); display: flex; align-items: center; gap: var(--sb-space-xs); }
.rv-response-header .sb-icon svg { width: 12px; height: 12px; }
.rv-response-body { font-size: var(--sb-text-sm); color: var(--sb-text-secondary); line-height: 1.6; }
.rv-respond-wrap { margin-top: var(--sb-space-sm); display: flex; justify-content: flex-end; }
.rv-respond-wrap:has(.rv-respond-form[style*="block"]) { flex-direction: column; }
.rv-respond-form { margin-bottom: var(--sb-space-sm); width: 100%; }

@media (max-width: 768px)  {
.rv-hero { flex-direction: column; text-align: center; padding: var(--sb-space-lg); gap: var(--sb-space-md); }
.rv-hero-stats { justify-content: center; }
.rv-categories { grid-template-columns: repeat(2, 1fr); }
.rv-card-top { flex-direction: column; }
.rv-card-right { text-align: left; display: flex; align-items: center; gap: var(--sb-space-sm); }
.rv-card-subcats { grid-template-columns: repeat(2, 1fr); }
.rv-respond-wrap { justify-content: center; }

}

@media (max-width: 480px)  {
.rv-hero-score { font-size: 2.5rem; }
.rv-categories { grid-template-columns: 1fr 1fr; gap: var(--sb-space-sm); }
.rv-card { padding: var(--sb-space-md); }
.rv-card-subcats { grid-template-columns: 1fr 1fr; }

}
.bk-stat-sm { padding: var(--sb-space-md) var(--sb-space-sm); min-height: var(--bk-stat-height, 72px); }
.bk-stat-sm .payment-stat-value { font-size: 1.5rem; }
.bk-stat-sm .payment-stat-label { font-size: 9px; }
.bk-ticket-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: var(--sb-space-md);
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.15), rgba(var(--sb-violet-rgb),0.10));
    flex-shrink: 0;
    border-radius: var(--sb-radius) 0 0 var(--sb-radius);
}
.bk-ticket-month { font-size: var(--sb-text-xs); font-weight: 700; color: var(--sb-ice); text-transform: uppercase; letter-spacing: 0.5px; }
.bk-ticket-day { font-size: var(--sb-text-2xl); font-weight: 800; line-height: 1; }
.bk-ticket-dow { font-size: 9px; font-weight: 600; text-transform: uppercase; color: var(--sb-text-muted); letter-spacing: 0.3px; }
.bk-card {
    display: flex;
    align-items: stretch;
    background: rgba(15,21,37,0.70);
    border: none;
    border-radius: var(--sb-radius);
    cursor: pointer;
    position: relative;
    overflow: visible;
    isolation: isolate;
    min-width: 0;
    min-height: 155px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
}
.bk-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}
.bk-card:hover {
    background: var(--sb-bg-card-hover);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    transform: translateY(-1px);
}
.bk-card--upcoming { animation: bk-pulse 3s ease-in-out infinite; }
.bk-card .bk-ticket-date { border-radius: var(--sb-radius) 0 0 var(--sb-radius); }
.bk-card-avatar {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    width: 72px;
    overflow: hidden;
    margin-left: 0;
}
.bk-card-avatar img { filter: brightness(0.8); }
.bk-card-avatar .sb-avatar-sm,
.bk-card-avatar img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
}
.bk-card-meta { font-size: var(--sb-text-xs); color: var(--sb-text-secondary); }
.bk-card-body {
    flex: 1;
    min-width: 0;
    padding: 9px var(--sb-space-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    overflow: hidden;
}
.bk-card-title {
    font-size: var(--sb-text-sm);
    font-weight: 600;
    line-height: 1.2;
    min-height: 2.4em;
    max-height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.bk-card-party {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-secondary);
}
.bk-card-party .sb-avatar-sm { width: 20px; height: 20px; }
.bk-card-footer {
    display: flex;
    align-items: center;
    gap: var(--sb-space-xs);
    flex-wrap: wrap;
    min-width: 0;
    margin-top: auto;
}
.bk-card-footer > * { flex-shrink: 0; }
.bk-card .bk-card-countdown {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    transition: opacity 0.15s;
}
.bk-card:hover .bk-card-countdown { opacity: 0; }
.bk-card-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--sb-radius-sm);
    background: rgba(var(--sb-ice-rgb), 0.1);
    color: var(--sb-ice);
    border: 1px solid rgba(var(--sb-ice-rgb), 0.2);
    line-height: 1;
    min-height: 18px;
    box-sizing: border-box;
}
.bk-card-countdown--past { background: rgba(var(--sb-text-muted-rgb,148,163,184), 0.1); color: var(--sb-text-muted); border-color: rgba(var(--sb-text-muted-rgb,148,163,184), 0.15); }
.bk-card-countdown--today { background: rgba(var(--sb-fuchsia-rgb), 0.1); color: var(--sb-fuchsia); border-color: rgba(var(--sb-fuchsia-rgb), 0.2); }
.bk-card-footer .sb-badge {
    font-size: 9px;
    padding: 2px 8px;
    border-radius: var(--sb-radius-sm);
    border: 1px solid currentColor;
    opacity: 0.85;
    min-height: 18px;
    box-sizing: border-box;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bk-card-fee-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.bk-card-fee {
    font-weight: 700;
    font-size: var(--sb-text-sm);
    color: var(--sb-ice);
    padding: var(--sb-space-sm) var(--sb-space-md);
}
.bk-card-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #0F1525;
    border-radius: 0 var(--sb-radius) var(--sb-radius) 0;
    opacity: 0;
    transition: opacity 0.15s;
}
.bk-card:hover .bk-card-actions { opacity: 1; }
.bk-card-action {
    background: none;
    border: 1px solid rgba(var(--sb-ice-rgb), 0.2);
    color: var(--sb-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--sb-radius-sm);
    line-height: 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.bk-card-action:hover { color: var(--sb-ice); border-color: var(--sb-ice); background: rgba(var(--sb-ice-rgb), 0.08); }
.bk-card-action .sb-icon svg { width: 14px; height: 14px; }
.bk-card--agent {
    background: linear-gradient(90deg, rgba(99,102,241,0.08) 0%, rgba(15,21,37,0.70) 40%);
}
.bk-card--agent .bk-card-title {
    white-space: normal !important;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    max-height: 2.4em;
    word-break: break-word;
}
.bk-card-avatar--stacked {
    display: flex;
    flex-direction: column;
    width: 72px;
    gap: 1px;
}
.bk-card-avatar--stacked .sb-avatar-xs,
.bk-card-avatar--stacked img {
    width: 100%;
    height: 50%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
}
.agent-card-arrow { color: var(--sb-violet); margin: 0 4px; font-weight: 700; }
.agent-via {
    font-size: 10px;
    color: var(--sb-violet);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.agent-dual-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}
.agent-dot {
    /* Default muted until the party accepts. Matches the .sb-badge height
       (~18px) so the pending/A/V row aligns cleanly. */
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    border-radius: var(--sb-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: rgba(148, 163, 184, 0.5);
    background: transparent;
    transition: background var(--sb-transition), border-color var(--sb-transition), color var(--sb-transition);
}
.agent-dot--artist.agent-dot--filled {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgb(56, 189, 248);
    color: rgb(56, 189, 248);
}
.agent-dot--venue.agent-dot--filled {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgb(99, 102, 241);
    color: rgb(99, 102, 241);
}
.agent-booking-card {
    max-width: 720px;
    margin: var(--sb-space-lg) auto;
    padding: var(--sb-space-lg);
    position: relative;
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--sb-radius-lg, 16px);
    animation: sb-cp-glow 3s ease-in-out infinite;
}
.agent-booking-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.agent-booking-card-header {
    text-align: center;
    margin-bottom: var(--sb-space-lg);
    padding-bottom: var(--sb-space-lg);
    border-bottom: 1px solid var(--sb-border);
}
.agent-booking-event-title {
    font-size: var(--sb-text-2xl, 1.75rem);
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--sb-text);
    letter-spacing: -0.01em;
}
.agent-booking-event-sub {
    font-size: var(--sb-text-md, 1rem);
    color: var(--sb-text-muted);
}
.agent-booked-by-row {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--sb-space-lg);
}
.agent-booked-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--sb-ice-rgb), 0.15);
    border: 1px solid var(--sb-ice);
    color: var(--sb-ice);
    padding: 4px 12px;
    border-radius: var(--sb-radius);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.agent-booked-by-badge [data-icon] svg { width: 12px; height: 12px; }
.agent-booking-status-strip {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--sb-space-lg);
}
.agent-status-detail {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    font-weight: 500;
}
.agent-parties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sb-space-sm);
    margin-bottom: var(--sb-space-lg);
}
.agent-party-chip {
    --chip-rgb: 148, 163, 184; /* default: muted */
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    padding: var(--sb-space-sm);
    background: rgba(var(--chip-rgb), 0.15);
    border: 1px solid rgb(var(--chip-rgb));
    border-radius: var(--sb-radius);
}
.agent-party-chip--artist { --chip-rgb: 56, 189, 248; }
.agent-party-chip--venue  { --chip-rgb: 99, 102, 241; }
.agent-party-chip--agent  { --chip-rgb: 20, 184, 166; }
.agent-party-chip .agent-party-chip-role {
    color: rgb(var(--chip-rgb));
    font-weight: 600;
}
.agent-party-chip--accepted {
    border-color: var(--sb-success);
    background: rgba(var(--sb-success-rgb), 0.15);
}
.agent-party-chip--accepted .agent-party-chip-role { color: var(--sb-success); }
.agent-party-chip-body { min-width: 0; }
.agent-party-chip-name {
    font-weight: 600;
    font-size: var(--sb-text-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.agent-party-chip-role {
    font-size: 11px;
    color: var(--sb-text-muted);
}
.agent-party-chip--accepted .agent-party-chip-role { color: var(--sb-success); }
.agent-booking-details {
    padding: var(--sb-space-md);
    margin-bottom: var(--sb-space-lg);
}
.agent-detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--sb-space-xs) 0;
    border-bottom: 1px solid var(--sb-border);
    font-size: var(--sb-text-sm);
}
.agent-detail-row:last-child { border-bottom: none; }
.agent-detail-row > span:first-child { color: var(--sb-text-muted); }
.agent-detail-row > span:last-child { font-weight: 600; text-align: right; }
.agent-detail-row--notes { flex-direction: column; gap: 4px; }
.agent-detail-row--notes > span:last-child { text-align: left; font-weight: 400; }
.agent-booking-actions {
    display: flex;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: var(--sb-space-md);
}
.agent-action-btn {
    min-width: 140px;
    flex: 0 0 auto;
}

@media (max-width: 600px)  {
.agent-booking-actions { flex-wrap: nowrap; gap: var(--sb-space-xs); }
.agent-action-btn {
        min-width: 0;
        flex: 1 1 0;
        padding-left: var(--sb-space-sm);
        padding-right: var(--sb-space-sm);
    }

}
.agent-waiting-note {
    display: block;
    width: 100%;
    text-align: left;
}
.agent-booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sb-space-sm);
    margin-top: var(--sb-space-lg);
    padding-top: var(--sb-space-md);
    border-top: 1px solid var(--sb-border);
}
.agent-booking-footer-right {
    display: flex;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
}
.agent-viewing-as { margin-left: auto; }
.pill-count {
    font-size: 0.9em;
    background: transparent;
    padding: 0;
    margin-left: 0;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    vertical-align: baseline;
    line-height: 1;
    color: inherit;
    opacity: 0.55;
    transition: opacity var(--sb-transition);
}
.pill-count::before {
    content: '·';
    margin: 0 6px;
    opacity: 0.7;
}
.sb-filter-pill:hover .pill-count,
.sb-filter-pill.active .pill-count { opacity: 0.85; }

@media (max-width: 768px)  {
.bk-summary-row .payment-stat-card { flex: 0 0 calc((100% - 3 * var(--sb-space-sm)) / 4); min-width: 0; }
.bk-card-actions { opacity: 1; }

}

@media (max-width: 480px)  {
.bk-card-title { font-size: var(--sb-text-xs); }
.bk-card-fee { font-size: var(--sb-text-base); }
.bk-card-left .sb-avatar-sm { display: none; }

}
.page-bookings .detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--sb-space-md);
    align-items: start;
}
.page-bookings .detail-grid > div {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-md);
}
.page-bookings .detail-grid.flat {
    align-items: stretch;
}
.page-bookings .detail-grid.flat > .sb-card {
    display: flex;
    flex-direction: column;
}
.page-bookings .detail-grid > .sb-card,
.page-bookings .detail-grid > .detail-section {
    min-height: 0;
}
.page-bookings .detail-section {
    margin-bottom: 0;
}
.page-bookings .detail-section h3 {
    font-size: var(--sb-text-lg);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
}
.page-bookings .detail-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--sb-border);
    font-size: var(--sb-text-sm);
}
.page-bookings .detail-field:last-child { border-bottom: none; }
.page-bookings .detail-field-label { color: var(--sb-text-muted); }
.page-bookings .detail-field-value { font-weight: 500; }
.page-bookings .detail-actions {
    display: flex;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
}
.page-bookings .detail-actions .sb-btn { order: 0; }
.page-bookings .detail-actions .sb-btn-ghost { order: 1; }
.page-bookings .detail-actions { padding-bottom: var(--sb-space-xl); }

@media (max-width: 600px)  {
.page-bookings .detail-actions { justify-content: center; }
#contract-modal .sb-modal-footer { justify-content: center; }
#create-booking .sb-container { padding-bottom: var(--sb-space-3xl); }

}
.completion-status.done {
    background: rgba(var(--sb-ice-rgb), 0.06);
    border-color: var(--sb-ice);
}
.completion-status.done .completion-status-icon {
    background: rgba(var(--sb-ice-rgb), 0.12);
    color: var(--sb-ice);
}
.performer-card {
    position: relative;
    background: var(--sb-bg-card);
    border: none;
    border-radius: var(--sb-radius);
    padding: var(--sb-space-sm) var(--sb-space-md);
    cursor: pointer;
    min-width: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.performer-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.performer-card-header { display: flex; align-items: flex-start; gap: var(--sb-space-sm); margin-bottom: 0; flex-wrap: wrap; }
.performer-card-header > div:last-child { min-width: 0; overflow: hidden; }
.performer-card-meta { display: flex; align-items: center; gap: var(--sb-space-sm); min-height: 18px; }
.performer-card-active { min-height: 16px; margin-bottom: var(--sb-space-xs); font-size: var(--sb-text-xs); }
.performer-card-name { font-weight: 700; font-size: var(--sb-text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.performer-card-location { font-size: var(--sb-text-xs); color: var(--sb-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.performer-card-genres { display: flex; flex-wrap: nowrap; gap: 3px; margin: 0 0 var(--sb-space-xs); overflow: hidden; height: 18px; }
.performer-card-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-xs);
    padding-top: var(--sb-space-sm);
    border-top: 1px solid var(--sb-border);
    font-size: var(--sb-text-xs);
    overflow: hidden;
}
.performer-card-footer > span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.performer-card-footer > span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}
.performer-card--banner { padding-top: 0; position: relative; }
.performer-card--banner .performer-card-avatar-banner {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 40px;
    pointer-events: none;
    overflow: hidden;
    border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
}
.performer-card--banner .performer-card-avatar-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: brightness(0.45);
    transition: filter 0.2s;
    mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}
.performer-card--banner:hover .performer-card-avatar-banner img {
    filter: brightness(0.55);
}
.performer-card--banner .performer-card-avatar-banner--placeholder {
    background: linear-gradient(135deg, rgba(56,189,248,0.2) 0%, rgba(99,102,241,0.18) 100%);
}
.performer-card--banner .performer-card-overlay {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 40px;
    z-index: 1;
    background: linear-gradient(to top, var(--sb-bg-card) 0%, rgba(8,12,20,0.7) 40%, transparent 100%);
    pointer-events: none;
    border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
}
.performer-card--banner .performer-card-header,
.performer-card--banner .performer-card-meta,
.performer-card--banner .performer-card-active,
.performer-card--banner .performer-card-body,
.performer-card--banner .performer-card-footer {
    position: relative;
    z-index: 2;
}
.performer-card--banner .performer-card-header { padding-top: var(--sb-space-sm); }
.city-top-rated-band,
.members-carousel-band { padding-top: var(--sb-space-lg); padding-bottom: var(--sb-space-lg); }
.performer-card--signup {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(56,189,248,0.08) 0%, rgba(99,102,241,0.08) 100%);
    border: 1.5px dashed rgba(56,189,248,0.35);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.performer-card--signup:hover {
    border-color: rgba(56,189,248,0.85);
    box-shadow: 0 0 24px rgba(56,189,248,0.25), inset 0 0 24px rgba(99,102,241,0.12);
}
.performer-card--signup .performer-card-avatar-banner,
.performer-card--signup .performer-card-overlay { display: none; }
.performer-card--signup::before {
    content: ""; position: absolute; top: 22%; left: 50%;
    width: 80px; height: 80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.35) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(8px);
    animation: signup-pulse 3s ease-in-out infinite;
}
.performer-card-signup-inner {
    position: absolute; inset: 0;
    display: grid;
    grid-template-rows: 1fr 56px 2.5em 3em 44px 1fr;
    grid-template-areas: "." "icon" "title" "sub" "btn" ".";
    justify-items: center; align-items: center; text-align: center;
    padding: var(--sb-space-md); z-index: 2;
}
.performer-card-signup-inner::before {
    grid-area: icon;
    content: "+"; display: flex; align-items: center; justify-content: center;
    width: 52px; height: 36px; border-radius: var(--sb-radius-sm);
    font-family: 'Outfit', sans-serif; font-weight: 400; font-size: 1.6rem;
    line-height: 1;
}
.performer-card-signup-title {
    grid-area: title;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem;
    letter-spacing: 0.02em; line-height: 1.2;
    color: var(--sb-ice);
    max-width: 95%;
}
.performer-card-signup-sub {
    grid-area: sub;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: var(--sb-text-muted); line-height: 1.4;
    max-width: 90%;
}
.performer-card-signup-btn {
    grid-area: btn;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 14px; border-radius: var(--sb-radius-sm);
    font-weight: 700; font-size: 0.7rem;
    letter-spacing: 0.05em; text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.performer-card--signup--artist .performer-card-signup-inner::before,
.performer-card--signup--artist .performer-card-signup-btn {
    background: rgba(56,189,248,0.15);
    color: var(--sb-ice);
    border: 1px solid rgba(56,189,248,0.3);
}
.performer-card--signup--artist:hover .performer-card-signup-inner::before,
.performer-card--signup--artist:hover .performer-card-signup-btn {
    background: rgba(56,189,248,0.25);
    border-color: rgba(56,189,248,0.6);
}
.performer-card--signup--venue .performer-card-signup-inner::before,
.performer-card--signup--venue .performer-card-signup-btn {
    background: rgba(99,102,241,0.15);
    color: var(--sb-violet);
    border: 1px solid rgba(99,102,241,0.3);
}
.performer-card--signup--venue:hover .performer-card-signup-inner::before,
.performer-card--signup--venue:hover .performer-card-signup-btn {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.6);
}
.performer-card--signup--venue .performer-card-signup-title { color: var(--sb-violet); }
.city-top-rated-band > .page-content,
.members-carousel-band > .page-content { padding-top: 0; padding-bottom: var(--sb-space-md); }
.city-top-rated-band .section-title,
.city-top-rated-band .section-sub { text-align: center; }
.gx-city-page .section-title,
.gx-city-page .section-sub,
.gx-city-page .gx-index-blurb { text-align: center; }
.gx-index-blurb .sb-x { color: rgba(56,189,248,0.55); }
.gx-index-blurb .gx-wordmark-x { color: rgba(56, 189, 248, 0.55); font-weight: inherit; }
.featured-carousel-wrap {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.featured-carousel {
    display: flex;
    gap: var(--sb-space-md);
    width: max-content;
    padding: 8px 0;
    animation: featured-scroll 66s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.featured-carousel.is-paused { animation-play-state: paused; }
.featured-carousel:hover { animation-play-state: paused; cursor: grab; }
.featured-carousel:active { cursor: grabbing; }
.featured-carousel .performer-card {
    flex: 0 0 220px;
    min-height: 260px;
    background: rgba(17,24,39,0.8);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.featured-carousel .performer-card:hover {
    animation: none;
    background:
        linear-gradient(rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.06)),
        rgba(15, 21, 37, 0.82);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.30),
                0 0 24px rgba(var(--sb-sky-rgb), 0.18),
                0 0 36px rgba(var(--sb-violet-rgb), 0.10);
    transform: translateY(-2px);
}
.featured-carousel-skeleton { display: flex; gap: var(--sb-space-md); padding: 2px 0; }
.members-carousel-band {
    background: var(--sb-bg-surface) !important;
    padding: var(--sb-space-lg) var(--sb-space-lg) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
.members-carousel-band .section-header { margin-bottom: var(--sb-space-lg); }
.members-carousel-band--city .section-header,
.members-carousel-band--city .section-header h2,
.members-carousel-band--city .section-header p,
.members-carousel-band--city ~ * .section-header,
.members-carousel-band--city ~ * .section-header h2,
.members-carousel-band--city ~ * .section-header p,
.members-carousel-band--city ~ * .section-title,
.members-carousel-band--city ~ * .section-sub,
.members-carousel-band--city ~ * h2.section-title,
.members-carousel-band--city ~ * .cta-section h2,
.members-carousel-band--city ~ * .cta-section p { text-align: center; }
.featured-carousel .performer-card { padding-bottom: 0; }
.featured-carousel .performer-card .performer-card-avatar-banner,
.featured-carousel .performer-card .performer-card-overlay { bottom: 32px; }
.featured-carousel .performer-card .performer-card-footer {
    height: 32px; box-sizing: border-box;
    padding: 0 var(--sb-space-md);
    display: flex; align-items: center;
    border-top: 1px solid var(--sb-border);
}
.featured-carousel .performer-card .performer-card-actions {
    bottom: 1px; left: 1px; right: 1px;
    height: 32px; box-sizing: border-box;
    padding: 0 16px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    border-top: 1px solid var(--sb-border);
    border-radius: 0 0 calc(var(--sb-radius) - 1px) calc(var(--sb-radius) - 1px);
}
.featured-carousel .performer-card .performer-card-actions .bk-card-action { padding: 4px 10px; }
.skeleton-card {
    flex: 0 0 220px;
    height: 260px;
    border-radius: var(--sb-radius);
    background: var(--sb-bg-card);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px)  {
.featured-carousel .performer-card { flex: 0 0 190px; min-height: 240px; }
.featured-carousel-wrap { mask-image: none; -webkit-mask-image: none; }
.featured-carousel { transform: translateZ(0); -webkit-transform: translateZ(0); will-change: transform; }

}
.gig-detail-banner-wrap {
    position: relative;
    background: var(--sb-gradient);
    padding: 1px;
    border-radius: var(--sb-radius-lg);
    margin-bottom: var(--sb-space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gig-detail-banner-wrap:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
}
.gig-detail-banner-wrap:hover .gig-detail-banner-img {
    filter: brightness(0.5);
}
.gig-detail-banner-img {
    transition: filter 0.3s ease;
}
.gig-detail-date-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.gig-detail-date-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
    background: rgba(20,30,50,0.85);
}
.gig-detail-banner [data-action="apply-to-gig"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.gig-detail-banner [data-action="apply-to-gig"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.4), 0 0 16px rgba(var(--sb-sky-rgb), 0.2);
    filter: brightness(1.1);
}
.gig-detail-banner {
    position: relative;
    border-radius: calc(var(--sb-radius-lg) - 1px);
    overflow: hidden;
    min-height: 340px;
    background: #080C14;
}
.gig-detail-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.45);
}
.gig-detail-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,20,0.9) 0%, rgba(8,12,20,0.45) 50%, transparent 100%);
}
.gig-detail-banner-content {
    position: relative;
    z-index: 1;
    padding: var(--sb-space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 340px;
}
.gig-detail-banner-top {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--sb-space-xl);
    margin-bottom: var(--sb-space-sm);
}
.gig-detail-banner-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--sb-space-xs);
}
.gig-detail-banner-meta {
    font-size: var(--sb-text-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--sb-space-md);
}
.gig-detail-banner-meta span { margin-right: var(--sb-space-sm); }
.gig-detail-banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-xs);
    margin-bottom: var(--sb-space-md);
}
.gig-detail-banner-tags .sb-badge {
    border: 1px solid currentColor;
}
.gig-detail-banner-tags .sb-badge-gradient {
    background: rgba(56,189,248,0.15);
    background-image: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
}
.gig-detail-banner-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-md);
}
.gig-detail-banner-budget {
    font-size: var(--sb-text-2xl);
    font-weight: 800;
    color: var(--sb-ice);
}
.gig-detail-date-box {
    position: relative;
    text-align: center;
    width: 150px;
    min-width: 150px;
    height: 150px;
    padding: 0;
    border-radius: var(--sb-radius);
    flex-shrink: 0;
    background: rgba(8,12,20,0.45);
    backdrop-filter: blur(8px);
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(56,189,248,0.15);
}
.gig-detail-date-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    opacity: 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.gig-detail-date-year {
    font-size: 0.77rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 11px 0 9px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 0;
    text-align: center;
    line-height: 1;
}
.gig-detail-date-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--sb-ice);
    opacity: 0.85;
}
.gig-detail-date-placeholder svg {
    width: 48px;
    height: 48px;
}
.gig-detail-date-box--placeholder .gig-detail-date-placeholder { display: flex; }
.gig-detail-date-box--placeholder .gig-detail-date-year,
.gig-detail-date-box--placeholder .gig-detail-date-day,
.gig-detail-date-box--placeholder .gig-detail-date-month { display: none; }
.gig-detail-date-box--placeholder {
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.2);
}
.gig-detail-date-day {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    padding: 0;
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 20px rgba(56,189,248,0.4);
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gig-detail-date-month {
    font-size: var(--sb-text-sm);
    color: var(--sb-ice);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-bottom: 14px;
}
.gig-detail-apply-row {
    margin-top: var(--sb-space-md);
}

@media (max-width: 768px)  {
.gig-detail-banner { min-height: 280px; }
.gig-detail-banner-content { min-height: 280px; padding: var(--sb-space-lg) var(--sb-space-md) var(--sb-space-md); }
.gig-detail-banner-title { font-size: 1.25rem; }
.gig-detail-banner-bottom { flex-direction: column; align-items: flex-start; }
.gig-venue-card { text-align: center; }
.gig-venue-card > div[style*="display:flex"] { justify-content: center; }
.gig-venue-card .sb-btn { margin: 0 auto; }
.gig-detail-about-card, .gig-detail-apps-card { text-align: center; }
.gig-detail-event-card > h4 { text-align: center; }

}
.timeline-item {
    position: relative;
    padding-bottom: var(--sb-space-md);
    padding-left: var(--sb-space-md);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--sb-border);
    border-radius: var(--sb-radius-full);
}
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -18px;
    top: 16px;
    width: 2px;
    height: calc(100% - 10px);
    background: var(--sb-border);
}
.timeline-item.done::before {
    background: var(--sb-ice);
}
.timeline-item.done:not(:last-child)::after {
    background: var(--sb-ice);
}
.timeline-item.current::before {
    background: var(--sb-ice);
    animation: timeline-pulse 2s ease-in-out infinite;
}
.form-card {
    max-width: 100%;
}
.gig-list-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--sb-space-lg);
    background: var(--sb-card-fill);
    border: none;
    border-radius: var(--sb-radius);
    margin-bottom: var(--sb-space-sm);
    cursor: pointer;
    transition: background var(--sb-transition);
}
.gig-list-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.gig-list-item:hover { background: var(--sb-card-fill-hover); }
.tour-poster {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: var(--sb-space-2xl) var(--sb-space-xl);
    background: linear-gradient(180deg, rgba(8,12,20,0.95), rgba(14,20,33,0.9));
    border-radius: var(--sb-radius-lg);
    position: relative;
    overflow: hidden;
}
.tour-poster::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(56,189,248,0.4), rgba(99,102,241,0.2), rgba(236,72,153,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.tour-poster-name {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--sb-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--sb-space-xs);
}
.tour-poster-subtitle {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--sb-space-xl);
}
.tour-poster-divider {
    height: 1px;
    background: var(--sb-gradient-h);
    opacity: 0.4;
    margin: var(--sb-space-lg) 0;
}
.tour-date-status.confirmed {
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.12);
}
.tour-date-status.pending {
    color: var(--sb-violet);
    background: rgba(99,102,241,0.12);
}
.tour-poster-footer {
    margin-top: var(--sb-space-xl);
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    letter-spacing: 0.05em;
}
.tour-poster-brand {
    font-size: 10px;
    color: var(--sb-text-muted);
    opacity: 0.5;
    margin-top: var(--sb-space-md);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 768px)  {
#wag-card { order: -1; }
#availability .sb-page { padding-bottom: var(--sb-space-lg); }
.page-bookings .detail-grid { grid-template-columns: 1fr; }
.page-bookings .booking-item { flex-direction: column; align-items: flex-start; gap: var(--sb-space-sm); }
.booking-item-right { width: 100%; justify-content: space-between; }
.sb-checkbox-label { font-size: 11px; white-space: nowrap; }
.month-grid-day { font-size: 10px; }

}

@media (max-width: 480px)  {
.month-grid { gap: 1px; }
.month-grid-day { font-size: 9px; gap: 2px; padding: 2px; }
.month-grid-day-name { font-size: 7px; }
.month-grid-day-num { font-size: 9px; }
.month-grid-day-status { font-size: 6px; }

}
body.light-mode .booking-item {
    background: rgba(var(--sb-white-rgb), 0.7);
}
body.light-mode .booking-item::before {
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.25), rgba(var(--sb-sky-rgb),0.25), rgba(var(--sb-violet-rgb),0.25));
}
body.light-mode .booking-item:hover {
    background: rgba(var(--sb-white-rgb), 0.8);
}
.contract-sig-card .sig-status.signed {
    background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.15), rgba(var(--sb-violet-rgb),0.15));
    color: var(--sb-ice);
    border: 1px solid rgba(var(--sb-ice-rgb),0.25);
}
.contract-sig-card .sig-status.unsigned {
    background: rgba(var(--sb-white-rgb),0.04);
    color: var(--sb-text-muted);
    border: 1px solid var(--sb-border);
}

@media print  {
body > *:not(#contract-modal),
    .sb-sidebar, .sb-topbar, .sb-subnav,
    .sb-modal-header, .sb-modal-footer,
    .sb-modal-overlay::before,
    .cookie-banner { display: none !important; }
.sb-modal-overlay { background: #fff !important; }
#contract-modal .sb-modal {
        max-width: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
.contract-sig-card .sig-status.signed {
        background: rgba(var(--sb-sky-rgb),0.1) !important;
        color: var(--sb-sky) !important;
        border-color: var(--sb-sky) !important;
    }
.contract-sig-card .sig-status.unsigned {
        background: #f5f5f5 !important;
        color: #999 !important;
    }
.sb-eq-bar { animation: none !important; background: var(--sb-sky) !important; }
.sb-topbar-logo span { color: var(--sb-bg-body) !important; -webkit-text-fill-color: var(--sb-bg-body) !important; }
.sb-x { color: var(--sb-sky) !important; -webkit-text-fill-color: var(--sb-sky) !important; }

}
body.light-mode .contract-header {
    background: linear-gradient(180deg, rgba(var(--sb-ice-rgb),0.04) 0%, transparent 100%);
}
body.light-mode .contract-table td:first-child {
    background: rgba(var(--sb-ice-rgb),0.05);
}
body.light-mode .contract-sig-card {
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.3), rgba(var(--sb-violet-rgb),0.3)) border-box;
}
.flyer-template-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sb-space-lg); margin-top: var(--sb-space-md);
}
.flyer-template-card { cursor: pointer; animation: flyer-card-breathe 4s ease-in-out infinite; }
.flyer-template-card .ftc-preview {
    height: 220px; background: var(--sb-bg-body); overflow: hidden; position: relative; padding: 20px;
    margin: 8px; border-radius: var(--sb-radius);
    border: 1px solid rgba(var(--sb-white-rgb),0.04);
}
.flyer-template-card .ftc-info {
    padding: var(--sb-space-md); display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap;
}
.flyer-template-card .ftc-name { font-weight: 600; font-size: var(--sb-text-sm); }
.flyer-template-card .ftc-size { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
.flyer-template-card .ftc-desc { font-size: 10px; color: var(--sb-text-muted); margin-top: 2px; }
.tour-panel { margin-top: 10px; padding: 12px; border: 1px solid rgba(56,189,248,0.15); border-radius: var(--sb-radius); background: rgba(14,20,33,0.4); }
.tour-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.tour-panel-header h3 { margin: 0; }
.tour-panel-toggle { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sb-text-muted); }
.tour-entries-list { display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow-y: auto; padding-right: 4px; }
.tour-entry-row .sb-custom-datepicker { width: 100%; }
.tour-entry-row .sb-datepicker-trigger { font-size: 11px !important; padding: 7px 10px !important; min-height: 0 !important; line-height: 0 !important; }
.tour-entry-row .sb-datepicker-panel { min-width: 240px; left: 0; }
.tour-entry-source.gx { background: rgba(56,189,248,0.15); color: var(--sb-ice); }
.tour-entry-source.manual { background: rgba(99,102,241,0.15); color: var(--sb-violet); }
.tour-panel-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; align-items: stretch; }
.tour-panel-actions .sb-btn,
.tour-panel-actions .sb-btn.sb-btn-primary,
.tour-panel-actions .sb-btn.sb-btn-ghost {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 12px !important;
    font-size: var(--sb-text-xs) !important;
    box-shadow: none !important;
    line-height: 1.4;
}
.tour-empty { text-align: center; padding: 16px; color: var(--sb-text-muted); font-size: 11px; }
.tour-embed-pill.active {
    background: rgba(var(--sb-ice-rgb), 0.15);
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    font-weight: 600;
}
#tour-poster-frame.tour-glow {
    animation: tour-glow-breathe 3s ease-in-out infinite;
}
.flyer-editor-layout {
    display: flex; flex-direction: column; gap: var(--sb-space-md);
}
.flyer-editor-form { padding: 10px 12px; overflow: visible; }
.flyer-editor-form .flyer-form-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 10px;
}
.flyer-editor-form .flyer-form-grid .sb-input-group { margin-bottom: 0; }
.flyer-editor-form .flyer-form-grid .sb-label { font-size: 9px; margin-bottom: 1px; letter-spacing: 0.5px; }
.flyer-editor-form .flyer-form-grid .sb-input,
.flyer-editor-form .flyer-form-grid .sb-textarea { padding: 5px 8px; font-size: 13px; min-height: 0; }
.flyer-editor-form .flyer-form-grid .sb-textarea { resize: none; height: 52px; }
.flyer-editor-form .flyer-file-btn {
    padding: 5px 10px; font-size: 12px; color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.06); border: 1px solid rgba(var(--sb-ice-rgb),0.2);
    font-weight: normal;
}
.flyer-editor-form .flyer-file-btn:hover { background: rgba(var(--sb-ice-rgb),0.12); border-color: rgba(var(--sb-ice-rgb),0.4); }
.flyer-editor-form .sb-btn-sm {
    display: inline-flex !important; align-items: center !important; gap: 4px;
}
.flyer-editor-form .sb-btn-sm svg { width: 13px; height: 13px; flex-shrink: 0; vertical-align: middle; }
.flyer-img-del {
    position: absolute; top: 4px; right: 4px;
    width: 22px; height: 22px;
    border-radius: 50%; border: none;
    background: rgba(0,0,0,0.7); color: #fff;
    cursor: pointer; font-size: 16px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all var(--sb-transition);
    z-index: 5;
}
.flyer-img-item:hover .flyer-img-del { opacity: 1; }
.flyer-img-del:hover { background: #ef4444; transform: scale(1.1); }
.flyer-preview-card { padding: var(--sb-space-md); }
.flyer-reset-row { display: flex; justify-content: flex-end; margin-top: var(--sb-space-sm); }

@media (max-width: 768px)  {
.flyer-reset-row { justify-content: center; }

}
.flyer-preview-header {
    font-size: var(--sb-text-xs); font-weight: 600;
    color: var(--sb-text-muted); text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: var(--sb-space-sm);
}
.flyer-preview-frame {
    position: relative; aspect-ratio: 4/5;
    overflow: hidden; background: var(--sb-bg-body); border-radius: var(--sb-radius);
    max-width: 50%; margin: 0 auto;
}
.flyer-preview-frame .flyer {
    transform-origin: top center;
    position: absolute;
}
.flyer-saved-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sb-space-lg);
}
.flyer-saved-card { padding: 0; animation: flyer-card-breathe 4s ease-in-out infinite; }
.flyer-saved-card .fsc-placeholder,
.flyer-saved-card img {
    border-top-left-radius: var(--sb-radius);
    border-top-right-radius: var(--sb-radius);
}
.flyer-saved-card img { width: 100%; height: 200px; object-fit: cover; object-position: top; display: block; }
.flyer-saved-card .fsc-info {
    padding: var(--sb-space-sm) var(--sb-space-md);
}
.flyer-saved-card .fsc-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }
.flyer-saved-card .fsc-btn-row {
    display: flex; flex-wrap: nowrap; gap: 4px;
    align-items: center; justify-content: center;
    padding: 10px var(--sb-space-sm);
    border-top: 1px solid rgba(var(--sb-white-rgb),0.04);
    border-bottom-left-radius: var(--sb-radius);
    border-bottom-right-radius: var(--sb-radius);
}
.flyer-saved-card .fsc-btn-row .sb-btn-sm {
    font-size: 10px; padding: 5px 8px; white-space: nowrap; flex: 1;
    display: flex !important; align-items: center !important; justify-content: center !important;
    text-align: center; gap: 3px;
}
.flyer-saved-card .fsc-btn-row .sb-btn-sm svg {
    width: 11px; height: 11px; flex-shrink: 0;
}
#flyer-share-modal .sb-modal-body {
    display: flex; flex-direction: column; gap: var(--sb-space-sm);
}
.flyer-saved-card.batch-mode { position: relative; cursor: pointer; }
.flyer-saved-card .fsc-batch-check {
    position: absolute; top: 8px; left: 8px; z-index: 10;
    width: 22px; height: 22px; border-radius: 4px;
    border: 2px solid rgba(var(--sb-white-rgb),0.3); background: rgba(var(--sb-black-rgb),0.5);
    cursor: pointer; display: none; appearance: none; -webkit-appearance: none;
}
.flyer-saved-card .fsc-batch-check:checked {
    background: var(--sb-ice); border-color: var(--sb-ice);
}
.flyer-saved-card .fsc-batch-check:checked::after {
    content: '✓'; display: block; text-align: center; color: #000;
    font-size: 14px; font-weight: 700; line-height: 18px;
}
.flyer-saved-card.batch-mode .fsc-batch-check { display: block; }
.flyer-saved-card.batch-selected { outline: 2px solid var(--sb-ice); outline-offset: -2px; }
.flyer-style-panel {
    grid-column: 1 / -1;
    border: 1px solid rgba(var(--sb-ice-rgb), 0.2);
    border-radius: var(--sb-radius);
    background: rgba(var(--sb-ice-rgb), 0.04);
    margin-top: 2px;
    overflow: visible;
}
.flyer-style-panel summary {
    cursor: pointer; padding: 8px 14px; font-size: 12px; font-weight: 600;
    color: var(--sb-ice); letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 6px;
    flex-wrap: wrap;
    list-style: none;
}
.flyer-style-panel summary::-webkit-details-marker { display: none; }
.flyer-style-panel summary::before {
    content: ''; display: inline-block; width: 0; height: 0;
    border-left: 5px solid var(--sb-ice); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
    transition: transform 0.2s;
}
.flyer-style-panel[open] summary::before { transform: rotate(90deg); }
.flyer-style-panel .fsp-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    padding: 0 12px 12px; overflow: visible;
}
.fsp-colour-row .fsp-hex {
    font-size: 12px; color: var(--sb-text-secondary); font-family: monospace;
    flex: 1; min-width: 0;
}
.fsp-colour-row .fsp-reset {
    font-size: 10px; color: var(--sb-ice); cursor: pointer; border: none;
    background: none; padding: 2px 6px; white-space: nowrap;
}
.fsp-colour-row .fsp-reset:hover { text-decoration: underline; }
#flyer-editor .fsp-row { display: flex; flex-direction: column; gap: 2px; }
#flyer-editor .fsp-row label { font-size: 9px; font-weight: 600; color: var(--sb-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
#flyer-editor .fsp-colour-row { display: flex; align-items: center; gap: 8px; }
#flyer-editor .fsp-colour-row input[type="color"] {
    width: 32px; height: 28px; border: 1px solid var(--sb-border); border-radius: 4px;
    background: transparent; cursor: pointer; padding: 0;
}
#flyer-editor .fsp-colour-row .sb-cp-wrap {
    flex: 0 0 40%;
    width: 40%;
}
#flyer-editor .fsp-row select {
    padding: 7px 10px; font-size: 13px; background: var(--sb-bg-input);
    border: 1px solid var(--sb-border); border-radius: var(--sb-radius);
    color: var(--sb-text-primary); cursor: pointer; width: 100%;
    font-family: inherit; outline: none;
    transition: border-color var(--sb-transition);
}
#flyer-editor .fsp-row select:focus { border-color: var(--sb-ice); }
#flyer-editor .fsp-row .sb-custom-select { width: 100%; flex: 1; min-width: 0; }
#flyer-editor .fsp-row .sb-custom-select-trigger {
    padding: 7px 28px 7px 10px; font-size: 13px;
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: none; border-radius: var(--sb-radius);
}
#flyer-editor .fsp-row .sb-custom-select-trigger::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
#flyer-editor .fsp-row .sb-custom-select-trigger:hover,
#flyer-editor .fsp-row .sb-custom-select.open .sb-custom-select-trigger {
    background: rgba(15,21,37,0.85);
    box-shadow: 0 0 0 2px rgba(var(--sb-ice-rgb),0.15);
}
#flyer-editor .fsp-row .sb-custom-select-trigger::after {
    right: 8px; width: 10px; height: 10px;
}
#flyer-editor .fsp-row .sb-custom-select-options {
    font-size: 13px; max-height: 200px;
    background: rgba(15,21,37,0.70);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: none;
}
#flyer-editor .fsp-row .sb-custom-select-options::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 0;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
#flyer-editor .fsp-row .sb-custom-select-option {
    padding: 6px 10px; font-size: 13px;
}
#flyer-editor .fsp-row .sb-custom-select-option:hover {
    background: rgba(var(--sb-ice-rgb),0.12);
}
#flyer-editor .fsp-row .sb-custom-select-option.selected {
    color: var(--sb-ice);
}
#flyer-editor .fsp-row input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px; cursor: pointer; outline: none;
    background: rgba(var(--sb-white-rgb),0.06); border-radius: 2px;
}
#flyer-editor .fsp-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 10px; border-radius: 5px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.4);
}
#flyer-editor .fsp-row input[type="range"]::-moz-range-track {
    height: 4px; border-radius: 2px; background: rgba(var(--sb-white-rgb),0.06);
}
#flyer-editor .fsp-row input[type="range"]::-moz-range-thumb {
    width: 18px; height: 10px; border-radius: 5px; border: none;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    cursor: pointer; box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.4);
}
#flyer-editor .fsp-row input[type="range"]::-moz-range-progress {
    height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sb-ice), var(--sb-violet));
}
#flyer-editor .fsp-range-label { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
#flyer-editor .fsp-range-val { font-size: 11px; color: var(--sb-ice); font-weight: 600; }
#flyer-editor .fsp-toggle {
    display: flex; align-items: center; gap: 8px; margin-top: 4px; cursor: pointer;
    /* Uniform width so toggles in the Decorative row line up with toggles
       in the QR Code row below. Item index 1 of each row (Blobs / Invert)
       sits at the same x because both rows start at the same panel-padding
       offset and items 0 are the same width. */
    min-width: 88px;
}
#flyer-editor .fsp-toggle input[type="checkbox"] {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px; border: 2px solid var(--sb-border);
    border-radius: 3px; background: transparent; cursor: pointer;
    position: relative; flex-shrink: 0;
    transition: all var(--sb-transition);
}
#flyer-editor .fsp-toggle input[type="checkbox"]:checked {
    background: var(--sb-ice); border-color: var(--sb-ice);
}
#flyer-editor .fsp-toggle input[type="checkbox"]:checked::after {
    content: ''; position: absolute; left: 4px; top: 1px;
    width: 4px; height: 8px; border: solid #fff;
    border-width: 0 2px 2px 0; transform: rotate(45deg);
}
#flyer-editor .fsp-toggle input[type="checkbox"]:hover { border-color: var(--sb-ice); }
#flyer-editor .fsp-toggle span { font-size: 12px; color: var(--sb-text-secondary); }
.flyer-img-search {
    padding: 12px 20px; display: flex; gap: 8px;
    border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
}
.flyer-img-search input { flex: 1; }
.flyer-img-pills {
    padding: 8px 20px; display: flex; gap: 6px; flex-wrap: wrap;
}
.flyer-img-pill {
    padding: 4px 12px; border-radius: 20px; font-size: 11px; cursor: pointer;
    border: 1px solid var(--sb-border); color: var(--sb-text-secondary);
    background: transparent; transition: all var(--sb-transition);
}
.flyer-img-pill:hover { border-color: var(--sb-ice); color: var(--sb-text-primary); }
.flyer-img-pill.active { background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet)); color: white; border-color: transparent; }
.flyer-img-grid-wrap {
    flex: 1; overflow-y: auto; padding: 12px 20px 20px;
}
.flyer-img-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.flyer-img-item {
    position: relative; border-radius: var(--sb-radius); overflow: hidden;
    cursor: pointer; aspect-ratio: 4/3; background: #0a0e18;
    transition: all var(--sb-transition);
}
.flyer-img-item:hover { transform: translateY(-1px); box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.3); }
.flyer-img-item img { width: 100%; height: 100%; object-fit: cover; }
.flyer-img-credit {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 3px 6px;
    background: rgba(var(--sb-black-rgb),0.6); font-size: 9px; color: rgba(var(--sb-white-rgb),0.6);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flyer-img-load-more {
    grid-column: 1 / -1; text-align: center; padding: 12px;
}
.flyer-img-empty {
    grid-column: 1 / -1; text-align: center; padding: 40px;
    color: var(--sb-text-muted); font-size: var(--sb-text-sm);
}

@media (max-width: 480px)  {
.flyer-img-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }

}

@media (max-width: 600px)  {
.flyer-style-panel .fsp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
#flyer-editor .fsp-toggle { min-width: 0; }
#flyer-editor .fsp-row > .flex { flex-wrap: wrap; }
.tour-builder-controls .fsp-grid { grid-template-columns: 1fr !important; gap: 10px !important; }

}
.flyer-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    align-items: center;
    justify-content: flex-end;
}
.flyer-action-group {
    display: flex;
    gap: 6px;
    align-items: center;
}
.flyer-action-group + .flyer-action-group::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 20px;
    background: var(--sb-border);
    margin-right: 8px;
    align-self: center;
}

@media (max-width: 600px)  {
.flyer-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        justify-content: center;
    }
.flyer-action-group {
        justify-content: center;
        gap: 6px;
    }
.flyer-action-group .sb-btn { flex: 1; }
.flyer-action-group + .flyer-action-group::before { display: none; }

}

@media (max-width: 768px)  {
.flyer-template-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.flyer-saved-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

}

@media (max-width: 480px)  {
.flyer-form-grid { grid-template-columns: 1fr; gap: 6px; }
.flyer-form-grid .sb-input,
    .flyer-form-grid .sb-textarea { font-size: 16px; padding: 8px 10px; }
.flyer-form-grid .sb-label { font-size: 11px; margin-bottom: 2px; }
.flyer-template-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.flyer-template-card .ftc-preview { height: 180px; padding: 14px; }
.flyer-file-btn { padding: 8px 12px; font-size: 13px; min-height: 40px; }
.flyer-saved-grid { grid-template-columns: 1fr; }
.flyer-saved-card .fsc-btn-row { flex-wrap: wrap; }
.flyer-editor-form { padding: 8px; overflow: visible; }
#flyer-editor { padding-bottom: 48px; }
.tour-builder-layout { padding-bottom: 48px; }
.tour-entry-row .sb-datepicker-trigger { font-size: 10px !important; padding: 5px 6px !important; gap: 4px !important; }

}
.epk-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--sb-space-lg); align-items: flex-start; }
.epk-panel { position: sticky; top: 80px; }
.epk-panel .epk-panel-card { padding: var(--sb-space-lg); background: var(--sb-bg-card); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: var(--sb-radius-lg, 12px); position: relative; overflow: visible; }
.epk-panel .epk-panel-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--sb-gradient-50, var(--sb-gradient)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.epk-panel h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sb-text-muted); margin-bottom: var(--sb-space-lg); padding-bottom: var(--sb-space-sm); border-bottom: 1px solid var(--sb-border); }
.epk-panel .epk-field-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sb-text-muted); margin-bottom: 8px; display: block; }
.epk-toggle-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--sb-space-lg); background: rgba(var(--sb-white-rgb),0.02); border-radius: var(--sb-radius); overflow: hidden; border: 1px solid var(--sb-border); }
.epk-toggle-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-size: var(--sb-text-sm); transition: background var(--sb-transition); }
.epk-toggle-item:hover { background: rgba(var(--sb-ice-rgb),0.04); }
.epk-toggle-item + .epk-toggle-item { border-top: 1px solid rgba(var(--sb-white-rgb),0.04); }
.epk-theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sb-space-sm); margin-bottom: var(--sb-space-lg); }
.epk-theme-btn { padding: 10px 8px 8px; border-radius: var(--sb-radius); border: 2px solid var(--sb-border); cursor: pointer; text-align: center; font-size: 11px; font-weight: 600; transition: all var(--sb-transition); background: transparent; color: var(--sb-text-secondary); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.epk-theme-btn .epk-theme-swatch { width: 100%; height: 28px; border-radius: 4px; }
.epk-theme-btn:hover { border-color: var(--sb-ice); color: var(--sb-text-primary); }
.epk-theme-btn.active { border-color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.06); color: var(--sb-ice); box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.15); }
.epk-element-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sb-space-sm); }
.epk-element-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: transparent; border: 1px solid var(--sb-border); border-radius: var(--sb-radius-sm); color: var(--sb-text-secondary); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all var(--sb-transition); text-align: left; }
.epk-element-btn:hover { border-color: var(--sb-ice); color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.05); }
.epk-el-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-weight: 700; font-size: 0.9rem; color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.08); border-radius: 4px; flex-shrink: 0; }
.epk-inspector-row { margin-bottom: var(--sb-space-md); }
.epk-inspector-row:last-child { margin-bottom: 0; }
.epk-inspector-type { font-size: 0.85rem; font-weight: 600; color: var(--sb-text-primary); text-transform: capitalize; }
.epk-inspector-value { font-size: 0.82rem; font-weight: 500; color: var(--sb-text-secondary); padding: 6px 8px; background: rgba(8,12,20,0.5); border: 1px solid rgba(30,41,59,0.5); border-radius: var(--sb-radius-sm); font-family: monospace; text-align: center; }
.epk-reset-badge { position: absolute; right: var(--sb-space-md); bottom: var(--sb-space-md); width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--sb-ice-rgb), 0.12); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb), 0.45); border-radius: var(--sb-radius-sm); cursor: pointer; padding: 0; transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.25); z-index: 2; }
.epk-reset-badge:hover { background: rgba(var(--sb-ice-rgb), 0.22); border-color: var(--sb-ice); box-shadow: 0 0 14px rgba(var(--sb-ice-rgb), 0.35); }
.epk-reset-badge svg { transition: transform 0.35s ease; }
.epk-reset-badge:hover svg { transform: rotate(-90deg); }
.epk-reset-badge:active svg { transform: rotate(-180deg); }
.epk-data-card {
    background: var(--sb-bg-card);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg);
    margin-bottom: var(--sb-space-md);
    position: relative;
}
.epk-data-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    padding: 1px; background: var(--sb-gradient-50, var(--sb-gradient));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.epk-data-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: var(--sb-space-xl);
    align-items: stretch;
}
.epk-data-block { display: flex; flex-direction: column; min-width: 0; }
.epk-data-block h3 {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-lg);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
}
.epk-data-block .epk-live-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.epk-preview-body {
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    gap: var(--sb-space-lg);
    align-items: flex-start;
    margin-top: var(--sb-space-md);
}
.epk-tool-sidebar {
    display: flex; flex-direction: column; gap: var(--sb-space-sm);
    position: sticky; top: 80px;
}
.epk-tool-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--sb-text-muted);
}
.epk-elements-sidebar .epk-element-grid { grid-template-columns: 1fr 1fr; }
.epk-tool-section { display: flex; flex-direction: column; gap: 6px; padding-bottom: var(--sb-space-md); border-bottom: 1px solid rgba(30,41,59,0.4); margin-bottom: var(--sb-space-md); }
.epk-tool-section:last-child { border-bottom: none; margin-bottom: 0; }
.epk-tool-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.epk-layer-count { font-size: 0.7rem; font-weight: 700; color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.1); padding: 2px 8px; border-radius: 10px; }
.epk-layer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; max-height: 240px; overflow-y: auto; }
.epk-layer-empty { font-size: 0.72rem; color: var(--sb-text-muted); padding: 8px; text-align: center; font-style: italic; }
.epk-layer-item { display: flex; align-items: stretch; gap: 4px; background: transparent; border: 1px solid var(--sb-border); border-radius: var(--sb-radius-sm); overflow: hidden; transition: all var(--sb-transition); }
.epk-layer-item:hover { border-color: var(--sb-ice); }
.epk-layer-item.active { border-color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.1); }
.epk-layer-item.hidden .epk-layer-name { opacity: 0.5; }
.epk-layer-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: transparent; border: none; color: var(--sb-text-secondary); font-size: 0.72rem; font-weight: 500; cursor: pointer; text-align: left; }
.epk-layer-type { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.1); padding: 2px 6px; border-radius: 3px; flex-shrink: 0; }
.epk-layer-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.epk-layer-eye { width: 28px; background: transparent; border: none; border-left: 1px solid var(--sb-border); color: var(--sb-text-muted); font-size: 0.75rem; cursor: pointer; flex-shrink: 0; }
.epk-layer-eye:hover { color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.08); }
.epk-canvas-zone { position: relative; display: flex; justify-content: center; }
.epk-canvas-zone .epk-live-a4-wrap { width: 100%; max-width: 595px; }
.epk-canvas-zone .epk-reset-badge { position: absolute; }

@media (max-width: 960px)  {
.epk-data-grid { grid-template-columns: 1fr; gap: var(--sb-space-lg); }
.epk-preview-body { grid-template-columns: 1fr; }
.epk-preview-body:has(#epk-inspector[hidden]) { grid-template-columns: 1fr; }
.epk-tool-sidebar { position: static; }

}
.epk-control-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sb-space-md) var(--sb-space-lg);
    margin-bottom: var(--sb-space-md);
    padding-bottom: var(--sb-space-md);
    border-bottom: 1px solid rgba(30,41,59,0.5);
    align-items: start;
}
.epk-control-strip + .epk-control-strip {
    margin-top: calc(-1 * var(--sb-space-md));  /* subsequent strips share gap */
    border-bottom: 1px solid rgba(30,41,59,0.5);
}
.epk-ctl-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.epk-ctl-group-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--sb-text-muted);
    text-align: center;
}
.epk-ctl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.epk-ctl-sep { display: none; }
.epk-ctl-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 8px 10px;
    background: transparent; border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm);
    color: var(--sb-text-secondary);
    font-size: 0.7rem; font-weight: 600; line-height: 1.2;
    cursor: pointer; transition: all var(--sb-transition);
    min-width: 60px; min-height: 60px;
}
.epk-ctl-btn:hover { border-color: var(--sb-ice); color: var(--sb-ice); }
.epk-ctl-btn.active {
    border-color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.12); color: var(--sb-ice);
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb),0.2);
}
.epk-ctl-icon { display: inline-flex; align-items: center; justify-content: center; height: 22px; color: currentColor; }
.epk-ctl-btn.epk-locked {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: auto;
}
.epk-ctl-btn.epk-locked:hover { border-color: var(--sb-border); color: var(--sb-text-muted); background: transparent; box-shadow: none; }
.epk-ctl-thumb {
    display: block; width: 18px; height: 22px; border-radius: 2px;
}
.epk-ctl-swatch {
    display: block; width: 22px; height: 14px; border-radius: 3px;
}

@media (max-width: 720px)  {
.epk-control-strip { gap: 3px; }
.epk-ctl-btn { min-width: 56px; padding: 6px 8px; font-size: 0.68rem; }
.epk-ctl-sep { display: none; }

}
.epk-aspect-tab.active { border-color: var(--sb-ice); background: rgba(var(--sb-ice-rgb),0.12); color: var(--sb-ice); }
.epk-tooltip {
    position: fixed;
    background: rgba(8,12,20,0.96);
    color: var(--sb-text-primary);
    font-size: 0.72rem; font-weight: 500;
    padding: 6px 10px; border-radius: var(--sb-radius-sm);
    border: 1px solid rgba(var(--sb-ice-rgb),0.4);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 10px rgba(var(--sb-ice-rgb),0.15);
    line-height: 1.4;
    max-width: 240px;
    pointer-events: none; z-index: 99999;
    opacity: 0;
    transition: none;
}
.epk-tooltip.visible { opacity: 1; }
.epk-tooltip::after {
    content: ''; position: absolute; width: 8px; height: 8px;
    background: rgba(8,12,20,0.96);
    border-right: 1px solid rgba(var(--sb-ice-rgb),0.4);
    border-bottom: 1px solid rgba(var(--sb-ice-rgb),0.4);
}
.epk-tooltip.flip-down::after { top: -4px; left: 50%; transform: translateX(-50%) rotate(-135deg); }
.epk-tooltip:not(.flip-down)::after { bottom: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); }
.epk-danger-btn { color: #EC4899; border-color: rgba(236,72,153,0.4); }
.epk-danger-btn:hover { color: #F472B6; border-color: #EC4899; background: rgba(236,72,153,0.08); }
.sb-section#epk-live input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    width: 40px; height: 32px;
    padding: 0; border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm);
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}
.sb-section#epk-live input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.sb-section#epk-live input[type="color"]::-webkit-color-swatch { border: none; border-radius: 4px; }
.sb-section#epk-live input[type="color"]::-moz-color-swatch { border: none; border-radius: 4px; }
.sb-section#epk-live input[type="range"],
.sb-section#epk-live .epk-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(var(--sb-ice-rgb), 0.18);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}
.sb-section#epk-live input[type="range"]::-webkit-slider-thumb,
.sb-section#epk-live .epk-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px; height: 16px;
    background: var(--sb-ice);
    border-radius: 50%;
    border: 2px solid #0C1120;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.45);
    transition: transform 0.15s ease;
}
.sb-section#epk-live input[type="range"]::-webkit-slider-thumb:hover,
.sb-section#epk-live .epk-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
.sb-section#epk-live input[type="range"]::-moz-range-thumb,
.sb-section#epk-live .epk-range::-moz-range-thumb {
    width: 16px; height: 16px;
    background: var(--sb-ice);
    border: 2px solid #0C1120;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.45);
}
.sb-section#epk-live input[type="range"]::-moz-range-track,
.sb-section#epk-live .epk-range::-moz-range-track {
    height: 4px; background: rgba(var(--sb-ice-rgb), 0.18); border-radius: 999px; border: none;
}
.sb-section#epk-live select.sb-input {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
    cursor: pointer;
}
.sb-section#epk-live textarea.sb-input {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    line-height: 1.5;
}
.sb-section#epk-live input[type="file"] { display: none; }
.epk-media-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(4,6,14,0.85);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: var(--sb-space-lg);
}
.epk-media-modal-inner {
    width: 100%; max-width: 720px; max-height: 80vh;
    background: var(--sb-bg-card); border-radius: var(--sb-radius-lg);
    padding: var(--sb-space-lg); position: relative;
    overflow: hidden; display: flex; flex-direction: column;
}
.epk-media-modal-inner::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.epk-media-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sb-space-md); }
.epk-media-modal-header h3 { font-size: 1rem; font-weight: 700; color: var(--sb-text-primary); margin: 0; }
.epk-media-close {
    width: 32px; height: 32px; border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm); background: transparent;
    font-size: 1.1rem; color: var(--sb-text-secondary); cursor: pointer;
}
.epk-media-close:hover { border-color: var(--sb-ice); color: var(--sb-ice); }
.epk-media-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--sb-space-sm); overflow-y: auto;
}
.epk-media-tile {
    aspect-ratio: 1; background: transparent; border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-sm); overflow: hidden; padding: 0;
    cursor: pointer; transition: all var(--sb-transition);
}
.epk-media-tile:hover { border-color: var(--sb-ice); transform: scale(1.02); box-shadow: 0 4px 16px rgba(var(--sb-ice-rgb),0.18); }
.epk-media-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.epk-align-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.epk-align-btn { padding: 8px; background: transparent; border: 1px solid var(--sb-border); border-radius: var(--sb-radius-sm); color: var(--sb-text-secondary); font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: all var(--sb-transition); }
.epk-align-btn:hover { border-color: var(--sb-ice); color: var(--sb-ice); }
.epk-align-btn.active { background: rgba(var(--sb-ice-rgb),0.12); border-color: var(--sb-ice); color: var(--sb-ice); }
.epk-range { width: 100%; accent-color: var(--sb-ice); }
.epk-template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sb-space-sm); }
.epk-template-btn { padding: 8px; background: transparent; border: 1px solid var(--sb-border); border-radius: var(--sb-radius-sm); cursor: pointer; transition: all var(--sb-transition); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.epk-template-btn:hover { border-color: var(--sb-ice); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(var(--sb-ice-rgb),0.15); }
.epk-template-swatch { width: 100%; aspect-ratio: 210/297; border-radius: 3px; }
.epk-template-label { font-size: 0.75rem; font-weight: 600; color: var(--sb-text-secondary); }
.epk-template-btn:hover .epk-template-label { color: var(--sb-ice); }

@media (max-width: 900px)  {
.sb-section#epk-live .epk-layout { grid-template-columns: 1fr; }
.sb-section#epk-live .epk-panel { position: static; }
.sb-section#epk-live .epk-preview-frame { order: -1; }
.sb-section#epk-live .epk-live-a4-wrap { max-width: 520px; }

}

@media (max-width: 600px)  {
.sb-section#epk-live .epk-element-grid { grid-template-columns: repeat(2, 1fr); }
.sb-section#epk-live .epk-template-grid { grid-template-columns: repeat(3, 1fr); }
.epk-reset-badge { width: 44px; height: 44px; }
.epk-align-btn { padding: 12px 8px; }
.epk-element-btn { padding: 14px 12px; }

}

@media (max-width: 720px)  {
.sb-section#epk-live .epk-preview-frame { padding: var(--sb-space-md); }
.sb-section#epk-live .epk-stepper {
        display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    }
.sb-section#epk-live .epk-step-chip {
        flex: unset; padding: 8px 10px; font-size: 0.72rem; gap: 6px;
    }
.sb-section#epk-live .epk-step-chip-num {
        width: 18px; height: 18px; font-size: 0.68rem;
    }
.sb-section#epk-live .epk-step-header { gap: 10px; margin-bottom: var(--sb-space-sm); }
.sb-section#epk-live .epk-step-badge { width: 22px; height: 28px; }
.sb-section#epk-live .epk-step-title { font-size: 0.88rem; }
.sb-section#epk-live .epk-step-hint { font-size: 0.72rem; }
.sb-section#epk-live .epk-step-header-toggle { flex-wrap: wrap; }
.sb-section#epk-live .epk-customise-toggle { margin-left: auto; }
.sb-section#epk-live .epk-control-strip {
        grid-template-columns: 1fr;
        gap: var(--sb-space-sm);
        padding-bottom: var(--sb-space-sm);
    }
.sb-section#epk-live .epk-ctl-row { grid-template-columns: repeat(3, 1fr); }
.sb-section#epk-live .epk-ctl-btn { min-height: 52px; padding: 6px 4px; }
.sb-section#epk-live .epk-fill-row {
        grid-template-columns: 1fr; gap: var(--sb-space-md); padding: var(--sb-space-sm);
    }
.sb-section#epk-live .epk-fill-cta { font-size: 0.88rem; padding: 10px 14px; }
.sb-section#epk-live .epk-fill-actions { flex-direction: row; }
.sb-section#epk-live .epk-fill-actions .sb-btn { flex: 1; }
.sb-section#epk-live .epk-preview-body {
        grid-template-columns: 1fr;
        gap: var(--sb-space-md);
    }
.sb-section#epk-live .epk-canvas-zone .epk-live-a4-wrap {
        max-width: 100%;
    }
.sb-section#epk-live .epk-tool-sidebar { position: static; }
.sb-section#epk-live .epk-elements-sidebar .epk-element-grid { grid-template-columns: repeat(3, 1fr); }
.sb-section#epk-live .epk-inspector-sidebar .epk-tool-section { padding-bottom: var(--sb-space-sm); }
.sb-section#epk-live .epk-export-row {
        flex-direction: column; align-items: stretch; gap: 6px;
    }
.sb-section#epk-live .epk-export-row .sb-btn,
    .sb-section#epk-live .epk-export-row a.sb-btn { width: 100%; }
.sb-section#epk-live .epk-preview-meta-bar { flex-wrap: wrap; gap: 6px; }

}

@media (max-width: 420px)  {
.sb-section#epk-live .epk-ctl-btn { font-size: 0.64rem; min-height: 48px; }
.sb-section#epk-live .epk-ctl-icon { height: 18px; }
.sb-section#epk-live .epk-step-chip span:not(.epk-step-chip-num) { font-size: 0.68rem; }
.sb-section#epk-live .epk-elements-sidebar .epk-element-grid { grid-template-columns: repeat(2, 1fr); }

}
.epk-preview-frame { background: var(--sb-bg-card); border: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); position: relative; overflow: hidden; border-radius: var(--sb-radius-lg, 12px); box-shadow: 0 4px 24px rgba(var(--sb-black-rgb),0.3); }
.epk-preview-frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--sb-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.epk-preview-scroll { max-height: 80vh; overflow-y: auto; }
.epk-live-actions { display: flex; flex-direction: column; gap: 8px; }
.epk-live-actions .sb-btn[disabled] { pointer-events: none; }
.epk-live-a4-wrap {
    width: 100%;
    max-width: 595px;
    margin: 0 auto;
    aspect-ratio: 210 / 297;
    background: #fff;
    border-radius: var(--sb-radius-sm);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    overflow: hidden;
    position: relative;
}
.epk-live-a4-wrap iframe,
.epk-live-a4-wrap canvas { width: 100%; height: 100%; border: none; display: block; }
.epk-stepper {
    list-style: none; padding: 0; margin: 0 0 var(--sb-space-lg);
    display: flex; align-items: stretch; gap: 6px;
    flex-wrap: wrap;
}
.epk-step-chip {
    display: inline-flex; align-items: center; gap: 8px;
    flex: 1 1 auto; min-width: 0;
    padding: 10px 16px; border-radius: var(--sb-radius-md, 8px);
    background: rgba(15,21,37,0.55); border: 1px solid var(--sb-border);
    color: var(--sb-text-muted);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--sb-transition), color var(--sb-transition), background var(--sb-transition);
}
.epk-step-chip:hover {
    border-color: var(--sb-ice);
    color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.06);
}
.epk-step-chip.active {
    border-color: var(--sb-ice); color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb),0.08);
    box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.18);
}
.epk-step-chip-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(var(--sb-ice-rgb),0.15); color: var(--sb-ice);
    font-size: 0.72rem; font-weight: 800; flex-shrink: 0;
}
.epk-step-chip:not(.active) .epk-step-chip-num {
    background: rgba(30,41,59,0.6); color: var(--sb-text-muted);
}
.epk-step-section {
    margin-bottom: var(--sb-space-lg);
    padding-bottom: var(--sb-space-lg);
    border-bottom: 1px solid rgba(30,41,59,0.4);
}
.epk-step-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.epk-step-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: var(--sb-space-md);
}
.epk-step-header-toggle { justify-content: flex-start; }
.epk-step-header-toggle .epk-customise-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.epk-step-badge {
    display: block; width: 26px; height: 32px; flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(var(--sb-ice-rgb),0.35));
}
.epk-step-header-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.epk-step-title { font-size: 0.95rem; font-weight: 700; color: var(--sb-text); letter-spacing: 0.01em; }
.epk-step-title .epk-step-optional { font-weight: 500; color: var(--sb-text-muted); font-size: 0.82rem; }
.epk-step-hint { font-size: 0.78rem; color: var(--sb-text-muted); line-height: 1.4; }
.epk-fill-row {
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr auto;
    gap: var(--sb-space-lg);
    align-items: center;
    padding: var(--sb-space-md);
    background: rgba(var(--sb-ice-rgb),0.04);
    border: 1px solid rgba(var(--sb-ice-rgb),0.18);
    border-radius: var(--sb-radius-md);
}
.epk-fill-cta {
    justify-content: center; gap: 8px;
    font-size: 0.92rem; padding: 12px 18px;
    box-shadow: 0 0 20px rgba(var(--sb-ice-rgb),0.25);
}
.epk-fill-checklist-label {
    display: block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--sb-text-muted); margin-bottom: 4px;
}
.epk-fill-checklist ul { list-style: none; padding: 0; margin: 0; font-size: 0.78rem; line-height: 1.55; }
.epk-fill-actions { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 760px)  {
.epk-fill-row { grid-template-columns: 1fr; }
.epk-fill-actions { flex-direction: row; }
.epk-fill-actions .sb-btn { flex: 1; }

}
.epk-customise-toggle-caret { transition: transform 0.2s ease; }
.epk-step-section[data-customise="open"] .epk-customise-toggle-caret { transform: rotate(180deg); }
.epk-customise-tools { margin-bottom: var(--sb-space-md); }
.epk-step-section[data-customise="closed"] .epk-tool-sidebar { display: none; }
.epk-step-section[data-customise="closed"] .epk-preview-body { grid-template-columns: 1fr; }
.epk-preview-meta-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: var(--sb-space-sm);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid rgba(30,41,59,0.4);
}
.epk-preview-meta-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--sb-text-muted);
}
.epk-export-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sb-space-md); justify-content: center; }
.epk-export-row .sb-btn { justify-content: center; gap: 8px; }
.epk-export-link { display: flex; flex-direction: column; gap: 4px; }
.epk-export-link-url {
    font-size: 0.78rem; word-break: break-all;
    padding: 8px 10px; background: rgba(8,12,20,0.5);
    border: 1px solid rgba(30,41,59,0.6);
    border-radius: var(--sb-radius-sm);
    font-family: monospace; color: var(--sb-text-secondary);
}
.epk-preview-frame h3.epk-preview-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sb-text-muted);
    margin: 0 0 var(--sb-space-lg);
    padding-bottom: var(--sb-space-sm);
    border-bottom: 1px solid var(--sb-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.epk-preview-heading .epk-preview-heading-meta {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: var(--sb-text-muted);
}
.sb-subnav-svg { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; color: currentColor; }
.epk-page { padding: 48px; font-family: 'Rajdhani', sans-serif; color: var(--sb-text); min-height: 600px; }
.epk-page.epk-dark { background: var(--sb-bg-body); color: var(--sb-text); }
.epk-page.epk-gradient { background: linear-gradient(135deg, var(--sb-bg-body) 0%, #0F172A 100%); color: var(--sb-text); }
.epk-hero { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 36px; }
flex-wrap: wrap;
.epk-avatar { width: 140px; height: 140px; border-radius: var(--sb-radius-lg); object-fit: cover; flex-shrink: 0; }
.epk-hero-info h1 { font-size: 32px; font-weight: 800; margin: 0 0 4px; color: var(--sb-ice); }
.epk-hero-info .epk-tagline { font-size: 15px; color: var(--sb-text-muted); margin-bottom: 8px; }
.epk-gradient .epk-hero-info .epk-tagline { color: var(--sb-text-secondary); }
.epk-hero-info .epk-location { font-size: 13px; color: var(--sb-text-secondary); }
.epk-section { margin-bottom: 28px; }
.epk-section h2 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sb-text-muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--sb-border); }
.epk-gradient .epk-section h2 { border-bottom-color: rgba(var(--sb-white-rgb),0.1); }
.epk-bio { font-size: 14px; line-height: 1.7; color: var(--sb-text-secondary); }
.epk-genre-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.epk-genre-pill { padding: 5px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(var(--sb-ice-rgb),0.1); color: var(--sb-ice); }
.epk-gradient .epk-genre-pill { background: rgba(var(--sb-violet-rgb),0.12); color: var(--sb-violet-soft); }
.epk-stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px; background: rgba(var(--sb-ice-rgb),0.04); border: 1px solid var(--sb-border); border-radius: var(--sb-radius); text-align: center; }
.epk-gradient .epk-stats-strip { background: rgba(var(--sb-violet-rgb),0.08); }
.epk-stat-num { font-size: 28px; font-weight: 800; color: var(--sb-ice); }
.epk-gradient .epk-stat-num { color: var(--sb-violet-soft); }
.epk-stat-label { font-size: 11px; color: var(--sb-text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.epk-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.epk-media-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--sb-radius-sm); }
.epk-review-card { padding: 14px; background: rgba(var(--sb-white-rgb),0.04); border-radius: var(--sb-radius); margin-bottom: 8px; }
.epk-gradient .epk-review-card { background: rgba(var(--sb-violet-rgb),0.06); }
.epk-review-stars { color: var(--sb-warning); font-size: 14px; margin-bottom: 4px; }
.epk-review-text { font-size: 13px; color: var(--sb-text-secondary); font-style: italic; line-height: 1.5; }
.epk-review-author { font-size: 12px; color: var(--sb-text-secondary); margin-top: 4px; }
.epk-contact-list { display: flex; flex-wrap: wrap; gap: 12px; }
.epk-contact-item { font-size: 13px; color: var(--sb-text-secondary); }
.epk-footer { text-align: center; font-size: 11px; color: var(--sb-text-muted); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--sb-border); }

@media (max-width: 768px)  {
.epk-layout { grid-template-columns: 1fr; }
.epk-panel { position: static; }
.epk-hero { flex-direction: column; align-items: center; text-align: center; }
.epk-media-grid { grid-template-columns: repeat(2, 1fr); }

}
.pk-booking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sb-space-md); margin-bottom: var(--sb-space-lg); }
.pk-booking-card { padding: var(--sb-space-md) var(--sb-space-lg); cursor: pointer; transition: all var(--sb-transition); background: var(--sb-bg-card); border: none; border-radius: var(--sb-radius); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); position: relative; overflow: visible; }
.pk-booking-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--sb-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pk-booking-card:hover { background: var(--sb-bg-card-hover); transform: translateY(-1px); box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.2); }
.pk-graphic { width: 100%; height: 100%; position: relative; overflow: hidden; font-family: 'Outfit', sans-serif; }
.pk-graphic-bg { position: absolute; inset: 0; object-fit: cover; z-index: 0; }
.pk-graphic-overlay { position: absolute; inset: 0; z-index: 1; }
.pk-graphic-content { position: relative; z-index: 2; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.pk-graphic .pk-title { font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(var(--sb-black-rgb),0.6); line-height: 1.1; }
.pk-graphic .pk-date-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(var(--sb-ice-rgb),0.9); border-radius: 4px; font-weight: 700; color: #fff; margin-bottom: 6px; width: fit-content; }
.pk-graphic .pk-venue-name { font-size: 11px; color: rgba(var(--sb-white-rgb),0.85); font-weight: 600; }
.pk-graphic .pk-brand { position: absolute; bottom: 8px; right: 10px; font-size: 8px; color: rgba(var(--sb-white-rgb),0.5); font-weight: 600; letter-spacing: 1px; z-index: 3; }
.pk-theme-row { display: flex; gap: var(--sb-space-sm); margin-bottom: var(--sb-space-lg); }
.pk-theme-btn { padding: 6px 16px; border-radius: 20px; border: 1px solid var(--sb-border); cursor: pointer; font-size: var(--sb-text-sm); font-weight: 600; transition: all var(--sb-transition); background: transparent; color: var(--sb-text-secondary); }
.pk-theme-btn:hover { border-color: var(--sb-ice); color: var(--sb-text-primary); }
.pk-theme-btn.active { background: rgba(var(--sb-ice-rgb),0.08); border-color: var(--sb-ice); color: var(--sb-ice); }
.pk-post-frame .pk-title { font-size: 18px; }
.pk-story-frame .pk-title { font-size: 16px; }

@media (max-width: 768px)  {
.pk-booking-grid { grid-template-columns: 1fr; }

}
.browse-filters-bar {
    display: none;
    flex-wrap: wrap;
    gap: var(--sb-space-sm);
    align-items: flex-end;
    margin-bottom: var(--sb-space-lg);
    padding: var(--sb-space-md);
    position: relative;
    background: rgba(14, 20, 33, 0.95);
    border: none;
    border-radius: var(--sb-radius);
    overflow: visible;
}
.browse-filters-bar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.browse-filters-bar.active { display: flex; }
.filter-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
.browse-filters-bar > .sb-btn {
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--sb-border-light);
}
.browse-filters-bar > .sb-btn:hover {
    border-color: var(--sb-ice);
}
.filter-group label {
    display: block;
    font-size: var(--sb-text-xs);
    font-weight: 600;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-xs);
}
.filter-group .sb-input,
.filter-group .sb-select,
.filter-group .sb-custom-select-trigger {
    font-size: var(--sb-text-sm);
    height: 38px;
    box-sizing: border-box;
}
.filter-fee-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sb-space-xs);
}
.filter-fee-row .sb-input { flex: 1; min-width: 0; }
.explore-section { display: none; }
.explore-section.active { display: block; }
.explore-section h3 {
    font-size: var(--sb-text-lg);
    font-weight: 600;
    margin-top: var(--sb-space-2xl);
    margin-bottom: var(--sb-space-md);
    color: var(--sb-text-secondary);
}
.featured-row {
    margin-bottom: var(--sb-space-xl);
}
.featured-row-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sb-space-md);
}
.featured-location-filter {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-shrink: 0;
}
.featured-location-label {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
}
.featured-location-filter .sb-select {
    padding: 4px 10px;
    font-size: var(--sb-text-xs);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius);
}
.featured-row-heading {
    font-size: var(--sb-text-lg);
    font-weight: 600;
    color: var(--sb-text-secondary);
    margin: 0 !important;
}
.featured-row-sub {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin: 4px 0 0;
}
.page-explore .featured-carousel-wrap {
    padding-top: 2px;
}
.page-explore .featured-carousel {
    padding: 2px 0;
    animation-duration: 92s;
}
.page-explore .featured-carousel:hover {
    animation-play-state: paused;
}
.featured-carousel .performer-card-footer {
    flex-wrap: nowrap;
}
.featured-row:nth-child(2) .featured-carousel { animation-duration: 92s; }
.featured-row:nth-child(3) .featured-carousel { animation-duration: 85s; }
.featured-row:nth-child(4) .featured-carousel { animation-duration: 101s; }

@media (max-width: 480px)  {
.featured-carousel .performer-card { flex: 0 0 170px; min-height: 220px; }

}
.browse-results-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--sb-space-md);
    grid-auto-rows: minmax(260px, auto);
    padding: 2px;
}
.performer-card--banner {
    padding-top: 0;
    position: relative;
}
.performer-card--banner .performer-card-avatar-banner {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 40px;
    height: auto;
    pointer-events: none;
    overflow: hidden;
    border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
}
.performer-card--banner .performer-card-avatar-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: brightness(0.45);
    transition: filter 0.2s;
    mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}
.performer-card--banner:hover .performer-card-avatar-banner img {
    filter: brightness(0.6);
}
.performer-card--banner .performer-card-avatar-banner--placeholder {
    background: linear-gradient(135deg, rgba(56,189,248,0.2) 0%, rgba(99,102,241,0.18) 100%);
}
.performer-card--banner .performer-card-avatar-banner--placeholder + .performer-card-overlay {
    display: none;
}
.performer-card--banner .performer-card-overlay {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 40px;
    z-index: 1;
    background: linear-gradient(to top, var(--sb-bg-card) 0%, rgba(8,12,20,0.7) 40%, transparent 100%);
    pointer-events: none;
    border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
}
.performer-card--banner .performer-card-header {
    min-height: 0;
    position: relative;
    z-index: 2;
    padding-top: var(--sb-space-sm);
}
.performer-card--banner .performer-card-header .sb-avatar,
.performer-card--banner .performer-card-header .sb-avatar-placeholder {
    display: none;
}
.performer-card--banner .performer-card-location {
    color: var(--sb-text-secondary);
}
.performer-card--banner .unverified-pill {
    color: var(--sb-text-secondary);
}
.performer-card--banner .performer-card-meta,
.performer-card--banner .performer-card-active,
.performer-card--banner .performer-card-body,
.performer-card--banner .performer-card-footer,
.performer-card--banner .avail-indicator {
    position: relative;
    z-index: 2;
}
.performer-card--banner .performer-card-footer {
    padding-top: var(--sb-space-xs);
}
.performer-card--banner .sb-badge {
    -webkit-text-fill-color: initial;
    color: #fff;
    border: 1px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.performer-card--banner .sb-badge-gradient {
    background: rgba(56,189,248,0.3);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-image: none;
    color: var(--sb-ice);
    border: 1px solid var(--sb-ice);
}
.performer-card--banner .sb-badge-violet {
    background: rgba(var(--sb-violet-rgb),0.3);
    color: var(--sb-violet);
    border: 1px solid var(--sb-violet);
}
.performer-card--banner .sb-badge-neutral {
    background: rgba(var(--sb-text-muted-rgb),0.3);
    color: var(--sb-text-secondary);
    border: 1px solid var(--sb-text-secondary);
}
.performer-card--banner .sb-badge-info {
    background: rgba(var(--sb-info-rgb),0.3);
    color: var(--sb-info);
    border: 1px solid var(--sb-info);
}
.performer-card--banner .role-corner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-width: 1px;
    border-style: solid;
}
.performer-card--banner .role-corner-badge-artist  { background: rgba(56,189,248,0.3); color: var(--sb-ice); border-color: var(--sb-ice); }
.performer-card--banner .role-corner-badge-venue   { background: rgba(99,102,241,0.3); color: var(--sb-violet); border-color: var(--sb-violet); }
.performer-card--banner .role-corner-badge-agent   { background: rgba(20,184,166,0.3); color: #2dd4bf; border-color: #2dd4bf; }
.performer-card--banner .role-corner-badge-promoter { background: rgba(124,211,252,0.3); color: var(--sb-ice-light); border-color: var(--sb-ice-light); }
.performer-card-header .sb-avatar,
.performer-card-header .sb-avatar-placeholder { width: 40px; height: 40px; font-size: var(--sb-text-sm); flex-shrink: 0; }
.page-explore .performer-card-name { font-weight: 700; font-size: var(--sb-text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 44px; }
.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: var(--sb-text-xs);
    color: var(--sb-ice);
    margin-top: 2px;
}
.verified-pill svg { width: 12px; height: 12px; }
.unverified-pill {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-top: 2px;
}
.role-corner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: var(--sb-radius-sm);
    z-index: 1;
    line-height: 1.4;
}
.role-corner-badge-artist  { background: rgba(56,189,248,0.15); color: var(--sb-ice); border: 1px solid rgba(56,189,248,0.3); }
.role-corner-badge-venue   { background: rgba(99,102,241,0.15); color: var(--sb-violet); border: 1px solid rgba(99,102,241,0.3); }
.role-corner-badge-agent   { background: rgba(20,184,166,0.15); color: #2dd4bf; border: 1px solid rgba(20,184,166,0.3); }
.role-corner-badge-promoter { background: rgba(124,211,252,0.12); color: var(--sb-ice-light); border: 1px solid rgba(124,211,252,0.25); }
body.light-mode .role-corner-badge-artist  { background: rgba(56,189,248,0.1); color: #0284c7; border-color: rgba(56,189,248,0.25); }
body.light-mode .role-corner-badge-venue   { background: rgba(99,102,241,0.1); color: #4f46e5; border-color: rgba(99,102,241,0.25); }
body.light-mode .role-corner-badge-agent   { background: rgba(20,184,166,0.1); color: #0d9488; border-color: rgba(20,184,166,0.25); }
body.light-mode .role-corner-badge-promoter { background: rgba(99,102,241,0.08); color: var(--sb-violet); border-color: rgba(99,102,241,0.2); }
.performer-card-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.performer-card-bio { font-size: var(--sb-text-xs); color: var(--sb-text-muted); line-height: 1.4; margin: var(--sb-space-xs) 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gig-card .performer-card-genres { max-height: none; overflow: visible; gap: 4px; }
.gig-card .performer-card-header { min-height: 0; padding-top: var(--sb-space-md); }
.gig-card { min-height: 260px; }
.performer-card-genres .sb-badge { font-size: 0.625rem; padding: 1px 6px; letter-spacing: 0.04em; border-radius: var(--sb-radius-sm); max-height: 16px; line-height: 1; display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.avail-indicator { display: inline-flex; align-items: center; gap: 4px; font-size: 0.625rem; font-weight: 600; color: var(--sb-success); margin-top: 4px; padding: 1px 6px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--sb-radius-sm); }
.avail-indicator .active-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sb-success); box-shadow: 0 0 6px rgba(34,197,94,0.4); flex-shrink: 0; }
.performer-card > .avail-indicator,
.performer-card-body .avail-indicator { margin-bottom: var(--sb-space-xs); }
.page-explore .performer-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sb-space-xs);
    padding-top: var(--sb-space-sm);
    border-top: 1px solid var(--sb-border);
    font-size: var(--sb-text-xs);
    margin-left: calc(-1 * var(--sb-space-md));
    margin-right: calc(-1 * var(--sb-space-md));
    padding-left: var(--sb-space-md);
    padding-right: var(--sb-space-md);
}
.page-explore .performer-card > .avail-indicator + .performer-card-footer { margin-top: 0; }
.page-explore .performer-card-footer > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.page-explore .performer-card-footer > span:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}
body.light-mode [data-tip]::after { background: rgb(30,41,59); }
.performer-card-actions {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--sb-space-sm) var(--sb-space-md);
    background: rgb(17,24,39);
    border-top: 1px solid var(--sb-border);
    border-radius: 0 0 calc(var(--sb-radius) - 1px) calc(var(--sb-radius) - 1px);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 3;
}
body.light-mode .performer-card-actions { background: rgb(255,255,255); }
.performer-card:hover .performer-card-actions { opacity: 1; }
.performer-card:hover .performer-card-footer { border-top-color: rgba(var(--sb-ice-rgb), 0.15); }
.performer-card-actions .bk-card-action { padding: 4px 12px; }
.gig-card .performer-card-actions { padding: 4px var(--sb-space-md); }
.bk-card-action--active { color: var(--sb-ice); border-color: var(--sb-ice); }

@media (max-width: 768px)  {
.performer-card-actions { display: none; }

}
.performer-card-cover {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: calc(var(--sb-radius) - 2px);
    margin-bottom: var(--sb-space-sm);
    display: block;
}
.active-indicator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: var(--sb-text-xs);
    margin-top: 2px;
}
.active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.active-dot-green { background: var(--sb-success); box-shadow: 0 0 6px rgba(34,197,94,0.4); }
.active-dot-ice   { background: var(--sb-ice); box-shadow: 0 0 6px rgba(56,189,248,0.4); }
.active-dot-grey  { background: var(--sb-text-muted); }
.page-explore .event-card-title  { font-size: var(--sb-text-sm); }
.page-explore .event-card-meta   { font-size: 11px; }

@media (max-width: 1280px)  {
.browse-results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

}

@media (max-width: 1000px)  {
.browse-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

}

@media (max-width: 768px)  {
.featured-row-header {
        align-items: center;
    }
.featured-row-header .featured-location-filter {
        margin-left: auto;
    }
.featured-row-sub {
        margin-bottom: var(--sb-space-sm);
    }
.featured-row-heading { font-size: var(--sb-text-base); }
.featured-row-header .sb-custom-select { width: auto; min-width: 120px; }
.browse-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
.browse-filters-bar {
        display: none;
        gap: var(--sb-space-xs);
        padding: var(--sb-space-sm);
        grid-template-columns: 1fr 1fr;
    }
.browse-filters-bar.active { display: grid; }
.filter-group label { font-size: 10px; margin-bottom: 2px; }
.filter-group .sb-input,
    .filter-group .sb-select,
    .filter-group .sb-custom-select-trigger { font-size: 12px; height: 32px; }
.filter-fee-row .sb-input { width: auto; flex: 1; }
.browse-filters-bar > .sb-btn {
        height: 32px;
        font-size: 11px;
        grid-column: 1 / -1;
    }
#section-agents .filter-group,
    #section-promoters .filter-group {
        grid-column: 1 / -1;
    }
.filter-group:has(.filter-fee-row),
    .filter-group:has([id*="-city"]) {
        grid-column: 1 / -1;
    }

}

@media (max-width: 480px)  {
.browse-results-grid { grid-template-columns: 1fr; }
.event-card-explore { padding: var(--sb-space-sm); }
.event-card-footer {
        flex-direction: column;
        gap: var(--sb-space-xs);
        align-items: stretch;
    }
.active-indicator { font-size: 10px; gap: 2px; }

}
.gig-apply-modal-inner {
    background: rgba(12, 17, 32, 0.70) !important;
    border: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: sb-modal-breathe 3s ease-in-out infinite;
    position: relative;
    padding: 0 !important;
    overflow: visible !important;
}
.gig-apply-modal-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.gig-apply-modal-inner .sb-modal-close {
    position: absolute;
    top: var(--sb-space-sm);
    right: var(--sb-space-sm);
    z-index: 2;
}
.gig-apply-hero {
    padding: var(--sb-space-lg) var(--sb-space-xl) 0;
}
.gig-apply-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-md);
    padding-bottom: var(--sb-space-lg);
    border-bottom: 1px solid var(--sb-border);
}
.gig-apply-date-box {
    text-align: center;
    min-width: 52px;
    padding: var(--sb-space-sm);
    border: 1px solid var(--sb-ice);
    border-radius: var(--sb-radius-sm);
    flex-shrink: 0;
}
.gig-apply-date-month {
    font-size: var(--sb-text-xs);
    color: var(--sb-ice);
    font-weight: 600;
    text-transform: uppercase;
}
.gig-apply-date-day {
    font-size: var(--sb-text-xl);
    font-weight: 700;
    color: var(--sb-text);
}
.gig-apply-hero-info {
    min-width: 0;
    flex: 1;
}
.gig-apply-hero-title {
    font-size: var(--sb-text-lg);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gig-apply-hero-meta {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-muted);
    margin-top: 2px;
}
.gig-apply-form {
    padding: var(--sb-space-lg) var(--sb-space-xl);
}
.gig-apply-field {
    margin-bottom: var(--sb-space-lg);
}
.gig-apply-field:last-child {
    margin-bottom: 0;
}
.gig-apply-field .sb-label {
    font-size: var(--sb-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sb-text-muted);
    margin-bottom: var(--sb-space-xs);
}
.gig-apply-fee-wrap {
    position: relative;
}
.gig-apply-fee-wrap .sb-input {
    padding-left: 28px;
}
.gig-apply-fee-prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sb-text-muted);
    font-size: var(--sb-text-sm);
    font-weight: 600;
    pointer-events: none;
}
.gig-apply-budget-hint {
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-top: var(--sb-space-xs);
}
.gig-apply-equip-group {
    display: flex;
    flex-direction: column;
    gap: var(--sb-space-xs);
}
.gig-apply-equip-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sb-space-sm);
    font-size: var(--sb-text-sm);
    padding: var(--sb-space-xs) var(--sb-space-sm);
    border-radius: var(--sb-radius-sm);
    cursor: pointer;
    transition: background var(--sb-transition);
}
.gig-apply-equip-item:hover {
    background: rgba(56,189,248,0.05);
}
.gig-apply-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--sb-space-sm) + 15px);
    padding: 0 var(--sb-space-xl) var(--sb-space-xl);
}
.gig-apply-submit-btn {
    width: 100%;
    height: 44px;
    font-weight: 600;
    font-size: var(--sb-text-base);
}
.gig-apply-cancel-btn {
    width: 100%;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: var(--sb-radius-sm);
    color: var(--sb-ice-light);
    font-weight: 600;
    font-size: var(--sb-text-base);
    cursor: pointer;
    position: relative;
    transition: color var(--sb-transition), background var(--sb-transition);
}
.gig-apply-cancel-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--sb-radius-sm);
    padding: 1px;
    background: var(--sb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.gig-apply-cancel-btn:hover {
    background: rgba(56,189,248,0.06);
    color: var(--sb-text);
}
.help-toc-link.active {
    color: var(--sb-ice);
    border-left-color: var(--sb-ice);
    background: rgba(var(--sb-ice-rgb), 0.08);
    font-weight: 600;
}
.gx-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gx-brand-x { color: var(--sb-ice); }
.gx-brand-muted { text-transform: uppercase; letter-spacing: 0; font-weight: 600; }
.gx-brand-muted-x { color: rgba(56, 189, 248, 0.55); }
body.light-mode .sb-page-toc {
    background: rgba(255,255,255,0.85);
}
.sb-page-toc-link.is-active { color: var(--sb-ice); border-left-color: var(--sb-ice); background: rgba(56,189,248,0.06); }

@media (min-width: 1280px)  {
body.has-page-toc .sb-subnav-content { padding-right: 240px; }

}
#settings-last-minute:checked {
    background: var(--sb-ice) !important;
    border-color: var(--sb-ice) !important;
}
#settings-last-minute:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 9px;
    border: solid var(--sb-bg, #080C14);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}
.sb-empty.sb-empty-bordered {
    border: 1px dashed var(--sb-border);
    border-radius: var(--sb-radius-lg);
    background: rgba(var(--sb-white-rgb), 0.02);
    padding: var(--sb-space-2xl) var(--sb-space-lg);
}
.scan-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #0a1020;
    border-radius: var(--sb-radius);
    overflow: hidden;
    border: 1px solid rgba(var(--sb-ice-rgb), 0.15);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.scan-video-wrap.is-scanning {
    border-color: rgba(var(--sb-ice-rgb), 0.6);
    box-shadow: 0 0 18px rgba(var(--sb-ice-rgb), 0.2);
}
.scan-video-wrap video,
.scan-video-wrap canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.scan-video-wrap canvas { display: none; }
.scan-result {
    padding: var(--sb-space-lg);
    border-radius: var(--sb-radius);
    text-align: center;
    display: none;
    backdrop-filter: blur(4px);
}
.scan-result-success {
    display: block;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.4);
}
.scan-result-fail {
    display: block;
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.4);
}
.scan-result-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: var(--sb-space-sm);
}
.scan-result-success .scan-result-icon { color: #2DD4BF; }
.scan-result-fail .scan-result-icon { color: #EC4899; }
.scan-result-title {
    font-family: 'Outfit', sans-serif;
    font-size: var(--sb-text-lg);
    font-weight: 700;
    margin-bottom: var(--sb-space-xs);
    color: var(--sb-text);
}
.scan-result-detail {
    font-size: var(--sb-text-sm);
    color: var(--sb-text-secondary);
    line-height: 1.5;
}
.scan-result-sub {
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
}
.scan-actions { text-align: center; }
.scan-actions .sb-btn { min-width: 220px; }
.scan-manual { margin-top: var(--sb-space-sm); }
.scan-manual-label {
    display: block;
    font-size: var(--sb-text-xs);
    color: var(--sb-text-muted);
    margin-bottom: 6px;
    text-align: center;
}
.scan-manual-input {
    display: flex;
    gap: var(--sb-space-sm);
}
.scan-manual-input .sb-input { flex: 1; min-width: 0; }

@media (max-width: 520px)  {
.scan-actions .sb-btn { width: 100%; min-width: 0; }

}
.adv-search-modal {
    max-width: 680px;
    width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.adv-search-body {
    overflow-y: auto;
    padding: var(--sb-space-md) var(--sb-space-lg);
    flex: 1 1 auto;
}
.adv-search-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sb-space-sm);
    flex-wrap: wrap;
}
.adv-search-footer-right {
    display: flex;
    gap: var(--sb-space-sm);
    margin-left: auto;
}
.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sb-space-md);
}
.adv-fieldset {
    border: 1px solid var(--sb-border);
    border-radius: 8px;
    padding: var(--sb-space-sm) var(--sb-space-md) var(--sb-space-md);
    margin: 0;
    background: rgba(15, 21, 37, 0.35);
}
.adv-fieldset-full { grid-column: 1 / -1; }
.adv-fieldset legend {
    color: var(--sb-text-muted);
    font-size: var(--sb-text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 var(--sb-space-xs);
}
.adv-row { display: flex; gap: var(--sb-space-sm); align-items: flex-end; flex-wrap: wrap; }
.adv-row > .adv-field { flex: 1 1 0; min-width: 0; }
.adv-field { display: flex; flex-direction: column; gap: 6px; }
.adv-field label,
.adv-label {
    color: var(--sb-text-secondary);
    font-size: var(--sb-text-sm);
    font-weight: 500;
}
.adv-label { display: block; margin-bottom: 6px; }
.adv-lookup-row {
    display: flex;
    align-items: center;
    gap: var(--sb-space-sm);
}
.adv-lookup-row .adv-input { flex: 1 1 auto; min-width: 0; height: 44px; }
.adv-btn-lookup {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--sb-text-secondary);
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.adv-btn-lookup svg { display: block; }
.adv-btn-lookup:hover,
.adv-btn-lookup:focus-visible,
.adv-search-modal .sb-btn-secondary:hover,
.adv-search-modal .sb-btn-secondary:focus-visible {
    color: var(--sb-ice);
    border-color: var(--sb-ice);
    box-shadow: 0 0 10px rgba(var(--sb-ice-rgb), 0.35);
}
.adv-postcode-feedback {
    min-height: 18px;
    padding-top: 4px;
    font-size: var(--sb-text-xs);
}
.adv-postcode-feedback .adv-ok { color: var(--sb-ice); }
.adv-postcode-feedback .adv-err { color: var(--sb-fuchsia); }
.adv-postcode-feedback .adv-muted { color: var(--sb-text-muted); }
.adv-range {
    width: 100%;
    accent-color: var(--sb-ice);
}
.adv-dist-badge {
    background: rgba(56, 189, 248, 0.14);
    color: var(--sb-ice);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

@media (max-width: 640px)  {
.adv-grid { grid-template-columns: 1fr; gap: var(--sb-space-sm); }
.adv-search-modal { width: 92vw; max-width: 92vw; max-height: 82vh; }
.adv-search-body { padding: var(--sb-space-sm) var(--sb-space-md); }
.adv-fieldset { padding: var(--sb-space-xs) var(--sb-space-sm) var(--sb-space-sm); }
.adv-search-footer { flex-direction: column-reverse; align-items: stretch; }
.adv-search-footer-right { width: 100%; }
.adv-search-footer-right .sb-btn { flex: 1; }
.browse-filters-bar > .sb-btn[data-action^="open-adv-"],
    .browse-filters-bar > .sb-btn[data-action^="clear-"][data-action$="-filters"] {
        grid-column: span 1;
    }

}
.gx-genre-score-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sb-space-lg);
    max-width: 640px;
    /* Hero subtitle above carries its own margin-bottom, so the space above
       the card is already large. Match it below by bumping margin-bottom so
       the card sits visually centered between subtitle and alpha badge. */
    margin: var(--sb-space-lg) auto var(--sb-space-2xl);
    padding: var(--sb-space-lg);
    position: relative;
    background: rgba(15, 21, 37, 0.70);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.gx-genre-score-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.gx-genre-score-left {
    flex: 1 1 auto;
    text-align: center;
}
.gx-genre-score-left .gx-genre-score-number { justify-content: center; }
.gx-genre-score-left .gx-genre-score-summary { margin-left: auto; margin-right: auto; }
.gx-genre-score-label {
    font-size: 0.75em;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--sb-text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}
.gx-genre-score-number {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    margin-bottom: 8px;
}
.gx-genre-score-num {
    font-family: var(--sb-font-display, 'Rajdhani', sans-serif);
    font-size: 3.4em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gx-genre-score-denom {
    font-size: 1.2em;
    color: var(--sb-text-muted);
    font-weight: 500;
}
.gx-genre-score-summary {
    font-size: 0.88em;
    color: var(--sb-text);
    line-height: 1.45;
    max-width: 230px;
}
.gx-genre-score-right {
    flex: 0 0 230px;
    width: 230px;
    height: 230px;
}
.gx-genre-radar {
    width: 100%;
    height: 100%;
    display: block;
}
.gx-genre-score-card--emerging {
    flex-direction: column;
    text-align: center;
}
.gx-genre-score-emerging-label {
    font-size: 0.75em;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--sb-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.gx-genre-score-emerging-title {
    font-family: var(--sb-font-display, 'Rajdhani', sans-serif);
    font-size: 1.8em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--sb-ice), var(--sb-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 6px;
}
.gx-genre-score-emerging-sub {
    font-size: 0.88em;
    color: var(--sb-text-muted);
}

@media (max-width: 640px)  {
.gx-genre-score-card {
        flex-direction: column;
        text-align: center;
        gap: var(--sb-space-md);
        max-width: calc(100% - 24px);
        padding: var(--sb-space-md);
        box-sizing: border-box;
    }
.gx-genre-score-left { text-align: center; }
.gx-genre-score-number { justify-content: center; }
.gx-genre-score-right { flex: 0 0 180px; width: 180px; height: 180px; }
.gx-genre-score-summary { max-width: none; }

}

@media (max-width: 420px)  {
.gx-genre-score-right { flex: 0 0 160px; width: 160px; height: 160px; }
.gx-genre-score-num { font-size: 2.4em; }

}
.hub-city-card-score {
    color: var(--sb-ice);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.hub-city-card-score-denom {
    color: var(--sb-text-muted);
    font-weight: 500;
    font-size: 0.85em;
    margin-left: 1px;
}
.hub-city-card-score-sep {
    color: var(--sb-text-muted);
    margin: 0 2px;
}
.hub-city-card-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-weight: 700;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.hub-city-card-rank.sb-badge-ice     { background: rgba(var(--sb-ice-rgb), 0.40); color: #080C14; border-color: var(--sb-ice); }
.hub-city-card-rank.sb-badge-violet  { background: rgba(var(--sb-violet-rgb), 0.40); color: #fff; border-color: var(--sb-violet); }
.hub-city-card-rank.sb-badge-fuchsia { background: rgba(var(--sb-fuchsia-rgb), 0.40); color: #fff; border-color: var(--sb-fuchsia); }
.genre-artists-strip .featured-carousel-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.hub-city-card:has(.hub-city-card-rank .sb-badge-ice) {
    animation: hub-rank-pulse-ice 3.2s ease-in-out infinite;
}
.hub-city-card:has(.hub-city-card-rank .sb-badge-violet),
.hub-city-card:has(.sb-badge.sb-badge-violet.hub-city-card-rank) {
    animation: hub-rank-pulse-violet 3.4s ease-in-out infinite;
}
.hub-city-card:has(.hub-city-card-rank .sb-badge-fuchsia),
.hub-city-card:has(.sb-badge.sb-badge-fuchsia.hub-city-card-rank) {
    animation: hub-rank-pulse-fuchsia 3.6s ease-in-out infinite;
}
.hub-city-card.hub-city-card--with-image:has(.sb-badge-ice.hub-city-card-rank),
.hub-city-card:has(.sb-badge-ice.hub-city-card-rank) {
    animation: hub-rank-pulse-ice 3.2s ease-in-out infinite;
}
.hub-city-card.hub-city-card--with-image:has(.sb-badge-violet.hub-city-card-rank),
.hub-city-card:has(.sb-badge-violet.hub-city-card-rank) {
    animation: hub-rank-pulse-violet 3.4s ease-in-out infinite;
}
.hub-city-card.hub-city-card--with-image:has(.sb-badge-fuchsia.hub-city-card-rank),
.hub-city-card:has(.sb-badge-fuchsia.hub-city-card-rank) {
    animation: hub-rank-pulse-fuchsia 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce)  {
.hub-city-card:has(.hub-city-card-rank) { animation: none; }

}
.hub-city-card:has(.sb-badge-ice.hub-city-card-rank) {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-ice), var(--sb-ice)) border-box;
    border-color: var(--sb-ice);
}
.hub-city-card:has(.sb-badge-violet.hub-city-card-rank) {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-violet), var(--sb-violet)) border-box;
    border-color: var(--sb-violet);
}
.hub-city-card:has(.sb-badge-fuchsia.hub-city-card-rank) {
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                linear-gradient(135deg, var(--sb-fuchsia), var(--sb-fuchsia)) border-box;
    border-color: var(--sb-fuchsia);
}
.hub-region-sub { text-align: center; margin: var(--sb-space-xl) 0 var(--sb-space-lg); }
.hub-region-sub-title { font-size: var(--sb-text-xl); font-weight: 700; margin: 0 0 8px; }
.hub-region-sub-lead { color: var(--sb-text-muted); font-size: 0.95em; max-width: 640px; margin: 0 auto; line-height: 1.5; }
.blog-tldr {
    margin: 0 0 24px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                var(--sb-gradient) border-box;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.blog-tldr-label {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sb-ice);
    margin-bottom: 8px;
}
.blog-tldr-lead {
    margin: 0 0 10px;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--sb-text);
}
.blog-tldr-sub {
    margin: 0;
    font-size: 0.86rem;
    color: var(--sb-text-muted);
}
.blog-tldr-sub strong { color: var(--sb-text-secondary); }
.blog-verdict-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}
.blog-verdict-card {
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                var(--sb-gradient) border-box;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.blog-tldr:hover,
.blog-verdict-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(rgba(56,189,248,0.06), rgba(99,102,241,0.04)),
                linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                var(--sb-gradient) border-box;
    box-shadow: 0 0 12px rgba(56,189,248,0.18), 0 0 20px rgba(99,102,241,0.08);
}
.blog-verdict-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    color: var(--sb-ice);
}
.blog-verdict-label.is-ice     { color: var(--sb-ice); }
.blog-verdict-label.is-violet  { color: var(--sb-violet); }
.blog-verdict-label.is-fuchsia { color: var(--sb-fuchsia); }
.blog-verdict-label.is-teal    { color: #2DD4BF; }
.blog-verdict-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sb-text);
    margin-bottom: 4px;
}
.blog-verdict-desc {
    font-size: 0.78rem;
    color: var(--sb-text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}
.blog-verdict-bestfor {
    font-size: 0.7rem;
    color: var(--sb-text-muted);
}
.blog-verdict-bestfor strong { color: var(--sb-text-secondary); }
.blog-sources {
    font-size: 0.78rem;
    color: var(--sb-text-muted);
    line-height: 1.6;
    margin-top: 18px;
}
.blog-sources strong { color: var(--sb-text-secondary); }
.blog-sources-accuracy {
    font-size: 0.74rem;
    line-height: 1.6;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sb-border);
}
.blog-post-subtitle {
    display: block;
    font-size: 0.7em;
    color: var(--sb-text-muted);
    font-weight: 400;
    margin-top: 6px;
}
.blog-post-meta .is-updated { color: var(--sb-ice); }
