/**
 * SwingTap Discovery — The Pulse, Ember, Whisper Styles
 *
 * @since 2.8.0
 */

/* ========== SHARED DISCOVERY LAYOUT ========== */

.st-pulse-container,
.st-ember-container,
.st-whisper-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    font-family: 'Raleway', sans-serif;
    color: #fff;
}

.st-pulse-header,
.st-ember-header {
    text-align: center;
    margin-bottom: 32px;
}

.st-pulse-title,
.st-ember-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.st-pulse-subtitle,
.st-ember-subtitle {
    color: #b7b7b7;
    font-size: 0.95rem;
    margin: 0;
}

/* ========== COMING SOON PLACEHOLDERS ========== */

.st-pulse-coming-soon,
.st-ember-coming-soon,
.st-whisper-coming-soon {
    text-align: center;
    padding: 48px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 43, 99, 0.2);
    border-radius: 16px;
    margin-top: 20px;
}

.st-pulse-coming-icon,
.st-ember-coming-icon {
    margin-bottom: 16px;
    opacity: 0.8;
}

.st-pulse-coming-soon h2,
.st-ember-coming-soon h2,
.st-whisper-coming-soon h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 12px;
}

.st-pulse-coming-soon p,
.st-ember-coming-soon p,
.st-whisper-coming-soon p {
    color: #b7b7b7;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
}

/* ========== DISCOVERY SETTINGS (dashboard accordion) ========== */

.st-discovery-settings-grid {
    display: grid;
    gap: 20px;
}

.st-discovery-setting {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.st-discovery-setting:last-child {
    border-bottom: none;
}

.st-discovery-setting-info {
    flex: 1;
}

.st-discovery-setting-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.st-discovery-setting-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

/* Toggle switch */
.st-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.st-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.st-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #333;
    border-radius: 26px;
    transition: background 0.3s ease;
}

.st-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: 3px;
    left: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.st-toggle input:checked + .st-toggle-slider {
    background: #d92b63;
}

.st-toggle input:checked + .st-toggle-slider::before {
    transform: translateX(22px);
}

/* Select dropdown for discovery settings */
.st-discovery-select {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-family: 'Raleway', sans-serif;
    min-width: 140px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.st-discovery-select:focus {
    border-color: #d92b63;
    outline: none;
}

/* ========== BLOCKED PROFILES LIST ========== */

.st-blocked-list {
    margin-top: 16px;
}

.st-blocked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}

.st-blocked-item:last-child {
    border-bottom: none;
}

.st-blocked-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.st-blocked-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
}

.st-blocked-name {
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-blocked-type {
    font-size: 0.75rem;
    color: #888;
}

.st-blocked-empty {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    padding: 12px 0;
}

/* ========== PULSE STATS (dashboard) ========== */

.st-pulse-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.st-pulse-stat-card {
    background: rgba(217, 43, 99, 0.08);
    border: 1px solid rgba(217, 43, 99, 0.15);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
}

.st-pulse-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d92b63;
}

.st-pulse-stat-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ========== OWNER NAV: PULSE/EMBER LINKS ========== */

.st-owner-nav-discovery {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.st-owner-nav-discovery .st-owner-nav-btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 8px 12px;
}

/* ========== UNREAD BADGE ========== */

.st-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8px;
    height: 8px;
    background: #d92b63;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
    animation: st-badge-pulse 2s infinite;
}

/* Badge with count number */
.st-unread-badge--count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

@keyframes st-badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* ==========================================================================
   PHASE 2+ STYLES — Pulse Browse, Ember, Whisper, Animations
   ========================================================================== */


/* ========== 1. INFO TOOLTIPS ========== */

.st-info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #555;
    border-radius: 50%;
    font-size: 0.6rem;
    font-style: italic;
    font-family: Georgia, serif;
    color: #888;
    cursor: help;
    position: relative;
    vertical-align: middle;
    margin-left: 4px;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
}

.st-info-tip::before {
    content: 'i';
}

.st-info-tip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1a1a;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    max-width: 240px;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Tooltip arrow */
.st-info-tip .st-info-tip-arrow,
.st-info-tip::before {
    /* arrow handled via a separate pseudo — we use a box-shadow trick on ::after */
}

/* We need a separate element or use filter for the arrow. Using clip-path approach: */
.st-info-tip[data-tooltip]::after {
    /* Arrow via box-shadow at bottom center */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    clip-path: inset(-10px -10px 0 -10px); /* allow shadow but not bottom overflow */
}

/* Visible state */
.st-info-tip:hover::after,
.st-info-tip:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.st-info-tip:hover,
.st-info-tip:focus {
    border-color: #d92b63;
    color: #d92b63;
    outline: none;
}


/* ========== 2. PULSE BROWSE CARDS ========== */

.st-pulse-card {
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
    position: relative;
}

.st-pulse-card:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 43, 99, 0.25);
    box-shadow: 0 8px 32px rgba(217, 43, 99, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Photo area */
.st-pulse-card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0a0a;
}

.st-pulse-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.st-pulse-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #111 0%, transparent 100%);
    pointer-events: none;
}

/* Verified badge */
.st-pulse-card-verified {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #d92b63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(217, 43, 99, 0.4);
}

.st-pulse-card-verified::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

/* Activity indicator */
.st-pulse-card-activity {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 2;
    border: 2px solid rgba(0, 0, 0, 0.5);
}

.st-pulse-card-activity--online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: st-activity-pulse 2s infinite;
}

.st-pulse-card-activity--recent {
    background: #eab308;
    box-shadow: 0 0 4px rgba(234, 179, 8, 0.4);
}

.st-pulse-card-activity--recent-week {
    background: #555;
}

@keyframes st-activity-pulse {
    0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.6); }
    50% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.9); }
}

/* Card content */
.st-pulse-card-body {
    padding: 16px;
}

.st-pulse-card-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

/* Type badge (single/couple/throuple) */
.st-pulse-card-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.st-type-single {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.st-type-couple {
    background: rgba(217, 43, 99, 0.2);
    color: #ff3d7f;
    border: 1px solid rgba(217, 43, 99, 0.3);
}

.st-type-throuple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Location */
.st-pulse-card-location {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.st-pulse-card-location::before {
    content: '';
    display: inline-block;
    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 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
}

/* Ages */
.st-pulse-card-ages {
    font-size: 0.78rem;
    color: #777;
    margin-bottom: 10px;
}

/* Tags */
.st-pulse-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.st-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: #ccc;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.st-tag--shared {
    border-color: rgba(217, 43, 99, 0.4);
    box-shadow: 0 0 8px rgba(217, 43, 99, 0.15);
    color: #ff3d7f;
}

/* Compatibility bar */
.st-pulse-card-compat {
    margin-bottom: 14px;
}

.st-compat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.st-compat-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #d92b63, #ff3d7f);
    transition: width 0.6s ease-out;
}

.st-compat-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.st-compat-label-pct {
    color: #888;
}

.st-compat-label-tier {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-compat-label-tier--cool       { color: #60a5fa; }
.st-compat-label-tier--warming    { color: #eab308; }
.st-compat-label-tier--hot        { color: #f97316; }
.st-compat-label-tier--blazing    { color: #ff3d7f; text-shadow: 0 0 8px rgba(255, 61, 127, 0.4); }

/* Spark button on card */
.st-spark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.st-spark-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.4);
}

.st-spark-btn:active {
    transform: scale(0.97);
}

.st-spark-btn-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

/* Message button on browse card */
.st-pulse-card-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: transparent;
    color: #b7b7b7;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.st-pulse-card-message:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
}

.st-spark-btn:hover .st-spark-btn-icon {
    transform: scale(1.15);
}


/* ========== 3. PULSE CARD GRID ========== */

.st-pulse-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}


/* ========== 4. FILTER BAR ========== */

.st-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ccc;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.st-filter-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.st-filter-toggle__icon {
    font-size: 1rem;
}

.st-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #d92b63;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
}

/* Filter panel */
.st-filter-panel {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.st-filter-panel.st-filter-panel--open {
    max-height: 800px;
    padding: 16px;
    opacity: 1;
    overflow-y: auto;
}

/* Quick filter chips */
.st-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.st-filter-chips::-webkit-scrollbar {
    display: none;
}

.st-filter-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ccc;
    font-size: 0.78rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.st-filter-chip:hover {
    background: rgba(217, 43, 99, 0.15);
    border-color: rgba(217, 43, 99, 0.3);
    color: #fff;
}

.st-filter-chip--active {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* Vibe check presets */
.st-vibe-presets {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.st-vibe-presets::-webkit-scrollbar {
    display: none;
}

.st-vibe-preset {
    flex-shrink: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(217, 43, 99, 0.4), rgba(255, 61, 127, 0.2)) 1;
    border-radius: 12px;
    /* border-image doesn't work with border-radius, so we use a different approach */
    border-image: none;
    border-color: rgba(217, 43, 99, 0.3);
    color: #ccc;
    font-size: 0.82rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
    white-space: nowrap;
    position: relative;
}

.st-vibe-preset::before {
    margin-right: 4px;
}

.st-vibe-preset:hover {
    background: rgba(217, 43, 99, 0.1);
    border-color: rgba(217, 43, 99, 0.5);
    color: #fff;
    box-shadow: 0 0 12px rgba(217, 43, 99, 0.15);
}

.st-vibe-preset--active {
    background: rgba(217, 43, 99, 0.15);
    border-color: #d92b63;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 16px rgba(217, 43, 99, 0.25);
}

/* Filter sections */
.st-filter-section {
    margin-bottom: 16px;
}

.st-filter-section:last-child {
    margin-bottom: 0;
}

.st-filter-section__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    cursor: pointer;
    user-select: none;
}

.st-filter-section__label::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.st-filter-section--collapsed .st-filter-section__label::after {
    transform: rotate(-45deg);
}

.st-filter-section__body {
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.st-filter-section--collapsed .st-filter-section__body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

/* Custom checkboxes */
.st-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.85rem;
    color: #ccc;
    transition: color 0.15s;
}

.st-filter-checkbox:hover {
    color: #fff;
}

.st-filter-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.st-filter-checkbox input[type="checkbox"]:checked {
    background: #d92b63;
    border-color: #d92b63;
}

.st-filter-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.st-filter-checkbox input[type="checkbox"]:focus {
    outline: none;
    border-color: #d92b63;
    box-shadow: 0 0 0 2px rgba(217, 43, 99, 0.2);
}


/* ========== 5. PROFILE PREVIEW BOTTOM SHEET ========== */

.st-preview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.st-preview-overlay.st-preview-visible {
    opacity: 1;
    visibility: visible;
}

.st-preview-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    background: #111;
    border-radius: 20px 20px 0 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.st-preview-sheet.st-preview-open {
    transform: translateY(0);
}

/* Drag handle */
.st-preview-sheet__handle {
    width: 36px;
    height: 4px;
    background: #444;
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

/* Close button */
.st-preview-sheet__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.2s;
}

.st-preview-sheet__close:hover {
    background: rgba(217, 43, 99, 0.6);
}

/* Preview photo */
.st-preview-sheet__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.st-preview-sheet__content {
    padding: 20px 16px 32px;
}

.st-preview-sheet__name {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.st-preview-sheet__meta {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* Member cards (couple/throuple horizontal scroll) */
.st-preview-members {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.st-preview-members::-webkit-scrollbar {
    display: none;
}

.st-preview-member-card {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.st-preview-member-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
    background: #222;
}

.st-preview-member-card__name {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.st-preview-member-card__age {
    font-size: 0.72rem;
    color: #888;
}

/* Preview action buttons */
.st-preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.st-preview-actions .st-spark-btn {
    flex: 2;
}

.st-preview-actions .st-pass-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #aaa;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.st-preview-actions .st-pass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* ========== 6. SPARK ANIMATION ========== */

.st-spark-btn--animating {
    pointer-events: none;
}

/* Phase 1: Press */
@keyframes st-spark-press {
    0% { transform: scale(1); }
    100% { transform: scale(0.93); }
}

/* Phase 2: Heart fill */
@keyframes st-spark-heart-fill {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.1); }
}

.st-spark-btn--animating .st-spark-btn-icon {
    animation: st-spark-heart-fill 0.4s ease 0.1s forwards;
    color: #ff3d7f;
}

/* Phase 3: Particle burst */
.st-spark-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 5;
}

.st-spark-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: st-spark-burst 0.6s ease-out forwards;
}

@keyframes st-spark-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Particle colors */
.st-spark-particle:nth-child(odd)  { background: #d92b63; }
.st-spark-particle:nth-child(even) { background: #f2663d; }
.st-spark-particle:nth-child(3n)   { background: #ff3d7f; }

/* Phase 4: Sparked state */
.st-spark-btn--sent {
    background: rgba(217, 43, 99, 0.2);
    border: 1px solid rgba(217, 43, 99, 0.3);
    box-shadow: 0 0 16px rgba(217, 43, 99, 0.2);
    cursor: default;
    pointer-events: none;
}

.st-spark-btn--sent .st-spark-btn-icon {
    color: #ff3d7f;
}


/* ========== 7. FLAME CELEBRATION ========== */

.st-flame-celebration {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(217, 43, 99, 0.15) 0%, rgba(10, 10, 10, 0.97) 70%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.st-flame-celebration.st-flame-active {
    opacity: 1;
    visibility: visible;
}

/* Fire emojis from sides */
.st-flame-emoji {
    font-size: 4rem;
    position: absolute;
    top: 50%;
    opacity: 0;
}

.st-flame-emoji--left {
    left: -60px;
    animation: flame-enter-left 0.6s ease-out 0.1s forwards;
}

.st-flame-emoji--right {
    right: -60px;
    animation: flame-enter-right 0.6s ease-out 0.1s forwards;
}

@keyframes flame-enter-left {
    0% {
        left: -60px;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    70% {
        opacity: 1;
    }
    100% {
        left: calc(50% - 80px);
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes flame-enter-right {
    0% {
        right: -60px;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    70% {
        opacity: 1;
    }
    100% {
        right: calc(50% - 80px);
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* "It's a Flame!" text */
.st-flame-text {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    opacity: 0;
    animation: flame-text-appear 0.5s ease-out 0.6s forwards;
    text-shadow: 0 0 30px rgba(217, 43, 99, 0.5);
}

@keyframes flame-text-appear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Flame subtext */
.st-flame-subtext {
    color: #b7b7b7;
    font-size: 0.95rem;
    margin-top: 8px;
    opacity: 0;
    animation: st-fade-in 0.4s ease 0.9s forwards;
}

/* Flame CTA */
.st-flame-cta {
    margin-top: 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: st-slide-up 0.4s ease 1.1s forwards;
}

@keyframes st-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Warm particle burst */
.st-flame-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.st-flame-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: flame-particles 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes flame-particles {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.st-flame-particle:nth-child(odd)  { background: #f2663d; }
.st-flame-particle:nth-child(even) { background: #d92b63; }
.st-flame-particle:nth-child(3n)   { background: #ff6b35; }
.st-flame-particle:nth-child(4n)   { background: #ffb347; }

/* Flame close button */
.st-flame-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    animation: st-fade-in 0.3s ease 1.3s forwards;
    transition: background 0.2s, color 0.2s;
}

.st-flame-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}


/* ========== 8. EMBER TABS ========== */

.st-ember-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    gap: 0;
}

.st-ember-tab {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #888;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    text-align: center;
    position: relative;
}

.st-ember-tab:hover {
    color: #ccc;
}

.st-ember-tab--active {
    color: #fff;
    font-weight: 700;
    border-bottom-color: #d92b63;
}

/* Badge on tab */
.st-ember-tab .st-unread-badge--count {
    position: absolute;
    top: 6px;
    right: calc(50% - 30px);
    margin-left: 0;
}


/* ========== 9. EMBER CARDS ========== */

/* Spark card (incoming spark) */
.st-ember-spark-card {
    background: #111;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.st-ember-spark-card:hover {
    background: #151515;
    border-color: rgba(255, 255, 255, 0.1);
}

.st-ember-spark-card__photo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
}

.st-ember-spark-card__info {
    flex: 1;
    min-width: 0;
}

.st-ember-spark-card__name {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.st-ember-spark-card__meta {
    font-size: 0.75rem;
    color: #888;
}

.st-ember-spark-card__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.st-ember-spark-back-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.st-ember-spark-back-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(217, 43, 99, 0.35);
}

.st-ember-pass-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #888;
    font-size: 0.78rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.st-ember-pass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Flame card (mutual match) */
.st-ember-flame-card {
    background: #111;
    border-radius: 14px;
    border: 1px solid rgba(217, 43, 99, 0.15);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.st-ember-flame-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.2), rgba(255, 61, 127, 0.05));
    -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;
}

.st-ember-flame-card:hover {
    background: #151515;
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.08);
}

.st-ember-flame-card__photo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
    border: 1px solid rgba(217, 43, 99, 0.2);
}

.st-ember-flame-card__info {
    flex: 1;
    min-width: 0;
}

.st-ember-flame-card__name {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.st-ember-flame-card__meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 6px;
}

.st-ember-flame-card__compat {
    max-width: 140px;
}

.st-ember-message-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.2s;
}

.st-ember-message-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(217, 43, 99, 0.35);
}

/* Conversation item */
.st-ember-convo {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.st-ember-convo:hover {
    background: rgba(255, 255, 255, 0.03);
}

.st-ember-convo:last-child {
    border-bottom: none;
}

.st-ember-convo__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
}

.st-ember-convo__text {
    flex: 1;
    min-width: 0;
}

.st-ember-convo__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.st-ember-convo__preview {
    font-size: 0.78rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-ember-convo__time {
    font-size: 0.7rem;
    color: #666;
    flex-shrink: 0;
    white-space: nowrap;
}

.st-ember-convo--unread .st-ember-convo__name {
    color: #ff3d7f;
}

.st-ember-convo--unread .st-ember-convo__preview {
    color: #ccc;
    font-weight: 500;
}

/* Empty state for ember lists */
.st-ember-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9rem;
}

.st-ember-empty__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.st-ember-empty__text {
    color: #888;
    margin-bottom: 4px;
}

.st-ember-empty__sub {
    font-size: 0.8rem;
    color: #555;
}


/* ========== 10. WHISPER CHAT ========== */

.st-whisper-container {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    padding: 0;
}

/* Chat header */
.st-whisper-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-whisper-header__back {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.st-whisper-header__back:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.st-whisper-header__photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #222;
}

.st-whisper-header__info {
    flex: 1;
    min-width: 0;
}

.st-whisper-header__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.st-whisper-header__status {
    font-size: 0.72rem;
    color: #888;
}

.st-whisper-header__status--online {
    color: #22c55e;
}

/* Message area */
.st-whisper-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 300px;
    overscroll-behavior: contain;
}

/* Date separator */
.st-whisper-date {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.st-whisper-date::before,
.st-whisper-date::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* Message bubbles */
.st-whisper-msg {
    max-width: 78%;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    animation: st-message-bubble-in 0.25s ease-out;
}

@keyframes st-message-bubble-in {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Sent (right side) */
.st-whisper-msg--sent {
    align-self: flex-end;
    background: linear-gradient(135deg, #d92b63, #b8224f);
    color: #fff;
    border-radius: 16px 16px 4px 16px;
}

/* Received (left side) */
.st-whisper-msg--received {
    align-self: flex-start;
    background: #1a1a1a;
    color: #e0e0e0;
    border-radius: 16px 16px 16px 4px;
}

/* Message timestamp */
.st-whisper-msg__time {
    font-size: 0.62rem;
    margin-top: 4px;
    opacity: 0.6;
}

.st-whisper-msg--sent .st-whisper-msg__time {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

.st-whisper-msg--received .st-whisper-msg__time {
    text-align: left;
    color: #555;
}

/* Read receipt */
.st-whisper-msg__read {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    margin-top: 2px;
}

.st-whisper-msg__read--seen {
    color: #60a5fa;
}

/* Message input area */
.st-whisper-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.st-whisper-input__field {
    flex: 1;
    padding: 10px 16px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    max-height: 100px;
    line-height: 1.4;
}

.st-whisper-input__field::placeholder {
    color: #555;
}

.st-whisper-input__field:focus {
    border-color: rgba(217, 43, 99, 0.4);
}

.st-whisper-input__send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.2s;
}

.st-whisper-input__send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(217, 43, 99, 0.35);
}

.st-whisper-input__send:active {
    transform: scale(0.95);
}

.st-whisper-input__send:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
    box-shadow: none;
}


/* ========== 11. RESPONSIVE ========== */

@media (min-width: 600px) {
    .st-pulse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-preview-sheet {
        max-width: 480px;
        left: 50%;
        right: auto;
        margin-left: -240px;
        border-radius: 20px 20px 0 0;
    }
}

@media (min-width: 768px) {
    .st-pulse-card-body {
        padding: 18px;
    }

    .st-pulse-card-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .st-pulse-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .st-pulse-stat-card {
        padding: 12px 8px;
    }

    .st-pulse-stat-value {
        font-size: 1.2rem;
    }

    .st-pulse-stat-label {
        font-size: 0.65rem;
    }

    .st-discovery-setting {
        flex-direction: column;
        gap: 8px;
    }

    .st-owner-nav-discovery {
        flex-direction: column;
    }

    /* Compact cards */
    .st-pulse-card-body {
        padding: 12px;
    }

    .st-pulse-card-name {
        font-size: 1rem;
    }

    .st-pulse-card-tags {
        gap: 4px;
    }

    .st-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* Compact filter */
    .st-filter-panel.st-filter-panel--open {
        padding: 12px;
    }

    /* Ember cards compact */
    .st-ember-spark-card,
    .st-ember-flame-card {
        padding: 10px;
        gap: 10px;
    }

    .st-ember-spark-card__photo,
    .st-ember-flame-card__photo {
        width: 44px;
        height: 44px;
    }

    .st-ember-spark-card__actions {
        flex-direction: column;
        gap: 6px;
    }

    /* Whisper compact */
    .st-whisper-msg {
        max-width: 85%;
        font-size: 0.85rem;
    }

    /* Preview full screen on tiny phones */
    .st-preview-sheet {
        max-height: 95vh;
    }

    /* Flame celebration smaller text */
    .st-flame-emoji {
        font-size: 3rem;
    }
}


/* ========== 12. ANIMATIONS & MICRO-INTERACTIONS ========== */

/* Shared transitions for all interactive elements */
.st-spark-btn,
.st-ember-spark-back-btn,
.st-ember-pass-btn,
.st-ember-message-btn,
.st-pass-btn,
.st-filter-toggle,
.st-filter-chip,
.st-vibe-preset {
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Fade-in for loaded cards */
@keyframes st-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.st-animate-in {
    animation: st-fade-in 0.4s ease-out forwards;
    opacity: 0;
}

/* Staggered delays for cards in grid (set via inline style or JS) */
.st-animate-in:nth-child(1)  { animation-delay: 0.05s; }
.st-animate-in:nth-child(2)  { animation-delay: 0.1s; }
.st-animate-in:nth-child(3)  { animation-delay: 0.15s; }
.st-animate-in:nth-child(4)  { animation-delay: 0.2s; }
.st-animate-in:nth-child(5)  { animation-delay: 0.25s; }
.st-animate-in:nth-child(6)  { animation-delay: 0.3s; }
.st-animate-in:nth-child(7)  { animation-delay: 0.35s; }
.st-animate-in:nth-child(8)  { animation-delay: 0.4s; }
.st-animate-in:nth-child(9)  { animation-delay: 0.45s; }
.st-animate-in:nth-child(10) { animation-delay: 0.5s; }

/* Loading spinner */
.st-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(217, 43, 99, 0.2);
    border-top-color: #d92b63;
    border-radius: 50%;
    animation: st-spin 0.7s linear infinite;
}

.st-spinner--sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.st-spinner--lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

@keyframes st-spin {
    to { transform: rotate(360deg); }
}

/* Loading wrapper (centered) */
.st-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 12px;
    color: #888;
    font-size: 0.85rem;
}

/* Skeleton loading cards */
.st-skeleton-card {
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.st-skeleton-photo {
    aspect-ratio: 4 / 3;
    background: linear-gradient(90deg, #151515 25%, #1a1a1a 50%, #151515 75%);
    background-size: 200% 100%;
    animation: st-shimmer 1.5s ease-in-out infinite;
}

.st-skeleton-content {
    padding: 16px;
}

.st-skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: st-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    margin-bottom: 10px;
}

.st-skeleton-line--short {
    width: 60%;
}

.st-skeleton-line--xs {
    width: 35%;
    height: 10px;
}

.st-skeleton-tags {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.st-skeleton-tag {
    width: 60px;
    height: 22px;
    background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: st-shimmer 1.5s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes st-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ========== 13. UNREAD BADGE (updates) ========== */
/* Main badge styles are above in Phase 1. Additional positioning helpers: */

.st-unread-badge--inline {
    position: relative;
    top: -1px;
}

.st-unread-badge--abs {
    position: absolute;
    top: -4px;
    right: -4px;
}


/* ========== 14. SWIPE MODE (Phase 5 prep) ========== */

.st-swipe-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    background: #111;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    will-change: transform;
    transition: box-shadow 0.2s ease;
    cursor: grab;
}

.st-swipe-card:active {
    cursor: grabbing;
}

.st-swipe-card--dragging {
    transition: none;
}

/* Tilt on drag — applied via JS inline style: transform: translateX() rotate() */
.st-swipe-card--swiping-right {
    box-shadow: 8px 0 30px rgba(217, 43, 99, 0.2);
}

.st-swipe-card--swiping-left {
    box-shadow: -8px 0 30px rgba(100, 100, 100, 0.15);
}

/* Swipe direction indicators */
.st-swipe-indicator {
    position: absolute;
    top: 24px;
    padding: 8px 20px;
    border-radius: 8px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: opacity 0.15s, transform 0.15s;
    pointer-events: none;
    z-index: 5;
}

.st-swipe-indicator--like {
    right: 24px;
    color: #ff3d7f;
    border: 3px solid #ff3d7f;
    transform: scale(0.8) rotate(12deg);
}

.st-swipe-indicator--pass {
    left: 24px;
    color: #888;
    border: 3px solid #888;
    transform: scale(0.8) rotate(-12deg);
}

.st-swipe-card--swiping-right .st-swipe-indicator--like,
.st-swipe-card--swiping-left .st-swipe-indicator--pass {
    opacity: 1;
    transform: scale(1) rotate(var(--indicator-rotate, 0deg));
}

/* Slide off screen */
@keyframes st-swipe-off-right {
    to {
        transform: translateX(150%) rotate(20deg);
        opacity: 0;
    }
}

@keyframes st-swipe-off-left {
    to {
        transform: translateX(-150%) rotate(-20deg);
        opacity: 0;
    }
}

.st-swipe-card--exit-right {
    animation: st-swipe-off-right 0.4s ease-in forwards;
}

.st-swipe-card--exit-left {
    animation: st-swipe-off-left 0.4s ease-in forwards;
}

/* Swipe action buttons (below card) */
.st-swipe-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.st-swipe-action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.st-swipe-action:hover {
    transform: scale(1.1);
}

.st-swipe-action:active {
    transform: scale(0.95);
}

.st-swipe-action--pass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #888;
}

.st-swipe-action--pass:hover {
    box-shadow: 0 4px 16px rgba(100, 100, 100, 0.15);
}

.st-swipe-action--spark {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.3);
}

.st-swipe-action--spark:hover {
    box-shadow: 0 6px 28px rgba(217, 43, 99, 0.45);
}

.st-swipe-action--super {
    background: linear-gradient(135deg, #f2663d, #ff8c42);
    color: #fff;
    box-shadow: 0 4px 20px rgba(242, 102, 61, 0.3);
}

.st-swipe-action--super:hover {
    box-shadow: 0 6px 28px rgba(242, 102, 61, 0.45);
}


/* ==========================================================================
   SWINGTAP BRANDED — Filter Panel, Form Elements, Card Actions, Grid
   Maps actual HTML/JS class names to branded styles
   ========================================================================== */

/* --- Filter Toggle Button --- */
.st-pulse-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.1), rgba(242, 102, 61, 0.08));
    border: 1px solid rgba(217, 43, 99, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.st-pulse-filter-toggle:hover {
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.2), rgba(242, 102, 61, 0.15));
    border-color: rgba(217, 43, 99, 0.5);
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.15);
}
.st-pulse-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #d92b63;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
}

/* --- Filter Panel Container --- */
.st-pulse-filter-panel {
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(217, 43, 99, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: st-filter-slide-in 0.3s ease;
}
@keyframes st-filter-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Quick Filter Chips --- */
.st-pulse-quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.st-pulse-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: #ccc;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.st-pulse-chip:hover {
    background: rgba(217, 43, 99, 0.12);
    border-color: rgba(217, 43, 99, 0.35);
    color: #fff;
    transform: translateY(-1px);
}
.st-pulse-chip.active,
.st-pulse-chip--active {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(217, 43, 99, 0.3);
}

/* --- Vibe Check Presets --- */
.st-pulse-vibe-presets {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.st-pulse-vibe-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.st-pulse-vibe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.st-pulse-vibe-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 43, 99, 0.2);
    border-radius: 10px;
    color: #bbb;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.st-pulse-vibe-btn:hover {
    background: rgba(217, 43, 99, 0.08);
    border-color: rgba(217, 43, 99, 0.4);
    color: #fff;
    box-shadow: 0 0 12px rgba(217, 43, 99, 0.12);
}
.st-pulse-vibe-btn.active {
    background: rgba(217, 43, 99, 0.15);
    border-color: #d92b63;
    color: #fff;
    font-weight: 600;
}
.st-pulse-vibe-icon {
    font-size: 1.1rem;
}

/* --- Filter Form Fieldsets --- */
.st-pulse-fieldset {
    border: none;
    margin: 0 0 16px;
    padding: 0;
}
.st-pulse-fieldset:last-of-type {
    margin-bottom: 0;
}
.st-pulse-legend {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 6px;
}

/* --- Branded Checkboxes --- */
.st-pulse-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.st-pulse-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #ccc;
    font-size: 0.8rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.st-pulse-check:hover {
    background: rgba(217, 43, 99, 0.06);
    border-color: rgba(217, 43, 99, 0.2);
    color: #fff;
}
.st-pulse-check input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #444;
    border-radius: 4px;
    background: #1a1a1a;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}
.st-pulse-check input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    border-color: #d92b63;
}
.st-pulse-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.st-pulse-check input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(217, 43, 99, 0.3);
}
.st-pulse-check--standalone {
    padding: 12px 14px;
    font-weight: 500;
}

/* --- Text Inputs --- */
.st-pulse-input {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.st-pulse-input:focus {
    border-color: #d92b63;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 43, 99, 0.15);
}
.st-pulse-input::placeholder {
    color: #555;
}
.st-pulse-input--small {
    width: auto;
    flex: 1;
    min-width: 0;
}

/* --- Range Row (Age Min/Max) --- */
.st-pulse-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.st-pulse-range-sep {
    color: #555;
    font-size: 1.2rem;
}

/* --- Select Dropdowns --- */
.st-pulse-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.st-pulse-select:focus {
    border-color: #d92b63;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 43, 99, 0.15);
}

/* --- Filter Action Buttons --- */
.st-pulse-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.st-pulse-apply-btn {
    flex: 2;
    padding: 12px 20px;
    background: linear-gradient(135deg, #d92b63, #f2663d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.st-pulse-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.35);
}
.st-pulse-clear-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.st-pulse-clear-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

/* --- Card Actions Row --- */
.st-pulse-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.st-pulse-card-spark {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #d92b63, #ff3d7f);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.st-pulse-card-spark:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(217, 43, 99, 0.4);
}
.st-pulse-card-spark[disabled] {
    cursor: default;
    opacity: 0.8;
}
.st-pulse-card-spark--sent {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
}
.st-pulse-card-spark--flame {
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #fff;
}
.st-pulse-card-view {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #bbb;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.st-pulse-card-view:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Card Placeholder (no photo) --- */
.st-pulse-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

/* --- Nav Bar Links --- */
.st-pulse-nav,
.st-ember-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.st-pulse-nav-link,
.st-ember-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #999;
    font-size: 0.82rem;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}
.st-pulse-nav-link:hover,
.st-ember-nav-link:hover {
    color: #fff;
    border-color: rgba(217, 43, 99, 0.3);
    background: rgba(217, 43, 99, 0.08);
}
.st-pulse-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #d92b63;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9px;
}

/* --- Back Link --- */
.st-pulse-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 16px;
}
.st-pulse-back:hover {
    color: #d92b63;
}

/* --- Pulse Grid (2-col on desktop) --- */
@media (min-width: 480px) {
    .st-pulse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Loading Spinner --- */
.st-pulse-loading {
    text-align: center;
    padding: 40px 0;
    color: #888;
    font-size: 0.9rem;
}
.st-pulse-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(217, 43, 99, 0.2);
    border-top-color: #d92b63;
    border-radius: 50%;
    animation: st-spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes st-spin {
    to { transform: rotate(360deg); }
}

/* --- Empty State --- */
.st-pulse-empty {
    text-align: center;
    padding: 48px 24px;
    color: #666;
}
.st-pulse-empty p {
    color: #888;
    margin-bottom: 16px;
}

/* --- Load More --- */
.st-pulse-load-more-wrap {
    text-align: center;
    padding: 24px 0;
}
.st-pulse-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.15), rgba(242, 102, 61, 0.1));
    border: 1px solid rgba(217, 43, 99, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.st-pulse-load-more-btn:hover {
    background: linear-gradient(135deg, rgba(217, 43, 99, 0.25), rgba(242, 102, 61, 0.18));
    border-color: rgba(217, 43, 99, 0.5);
    box-shadow: 0 4px 20px rgba(217, 43, 99, 0.2);
    transform: translateY(-1px);
}

/* --- Tooltips for buttons with data-tooltip --- */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1a1a;
    color: #ddd;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(217, 43, 99, 0.25);
    white-space: normal;
    width: max-content;
    max-width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    font-family: 'Raleway', sans-serif;
}
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Card entrance animation --- */
.st-animate-in {
    animation: st-card-fade-in 0.4s ease both;
}
@keyframes st-card-fade-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile: single-col checkboxes --- */
@media (max-width: 400px) {
    .st-pulse-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .st-pulse-vibe-grid {
        grid-template-columns: 1fr;
    }
}
