body {
    background: radial-gradient(circle at 20% 20%, rgba(101, 98, 255, 0.16), transparent 32%), radial-gradient(circle at 80% 0%, rgba(255, 124, 171, 0.12), transparent 28%), #0d0f1a;
    color: #f5f7ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    padding: 20px;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.card-title {
    color: #f5f7ff;
    border: none;
    margin: 0;
}

.muted {
    color: rgba(239, 242, 255, 0.7);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: rgba(224, 229, 255, 0.8);
}

.support-streamer-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(224, 229, 255, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.support-streamer-link:hover {
    color: #f5f7ff;
    border-bottom-color: rgba(245, 247, 255, 0.95);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #eef1ff;
}

.pill-muted {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(239, 242, 255, 0.75);
}

.pill.connected {
    background: rgba(46, 204, 113, 0.18);
    border-color: #2ecc71;
    color: #d9ffe9;
}

.pill-tag {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pill-tts {
    background: rgba(124, 155, 255, 0.2);
    border-color: rgba(124, 155, 255, 0.6);
    color: #e7ebff;
}

.pill-credit {
    background: rgba(250, 204, 21, 0.2);
    border-color: rgba(250, 204, 21, 0.62);
    color: #fff7d6;
}

.pill-song {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.6);
    color: #e5fff0;
}

.pill-video {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
    color: #e8f8ff;
}

.pill-alert {
    background: rgba(245, 158, 11, 0.22);
    border-color: rgba(245, 158, 11, 0.65);
    color: #fff3d1;
}

.pill-hype {
    background: rgba(236, 72, 153, 0.22);
    border-color: rgba(236, 72, 153, 0.65);
    color: #ffe3f2;
}

.pill-default {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #f5f7ff;
}

.support-hero {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.support-total-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    min-width: 240px;
}

.support-total-card .total {
    font-size: 1.8em;
    font-weight: 800;
    margin-top: 6px;
}

.support-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.support-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.support-action {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border-radius: 14px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    color: #f5f7ff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.support-action::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(124, 155, 255, 0.16), transparent 40%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.support-action:hover {
    border-color: rgba(124, 155, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.support-action:hover::after {
    opacity: 1;
}

.support-action.selected {
    border-color: var(--accent-primary, #7c9bff);
    box-shadow: 0 12px 34px rgba(124, 155, 255, 0.2);
    background: linear-gradient(145deg, rgba(124, 155, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.support-action .action-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.support-action .action-name {
    font-weight: 700;
    font-size: 1.05em;
    color: #ffffff;
}

.support-action .action-description {
    color: rgba(239, 242, 255, 0.78);
    line-height: 1.4;
    min-height: 38px;
}

.support-action .action-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.support-action .action-price {
    color: #e1e7ff;
    font-size: 1em;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.support-action .action-price i {
    color: var(--accent-primary, #7c9bff);
}

.support-action .action-rate {
    align-self: flex-start;
}

.support-action:focus-visible {
    outline: 2px solid var(--accent-primary, #7c9bff);
    outline-offset: 2px;
}

.support-select-wrap {
    position: relative;
}

.support-select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(245, 247, 255, 0.9);
    border-bottom: 2px solid rgba(245, 247, 255, 0.9);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.support-select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 44px;
    padding-right: 2.25rem;
    background: var(--panel-surface-strong);
    color: #f5f7ff;
    border-color: rgba(124, 155, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.support-select.form-input:hover {
    border-color: rgba(124, 155, 255, 0.6);
}

.support-select.form-input:focus {
    border-color: rgba(124, 155, 255, 0.85);
    box-shadow: 0 0 0 3px rgba(124, 155, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-select.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.support-select.form-input option,
.support-select.form-input optgroup {
    color: CanvasText;
    background-color: Canvas;
}

.support-select.form-input::-ms-expand {
    display: none;
}

.provider-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.provider-options.spaced {
    margin-top: 8px;
}

.provider-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.song-only {
    display: none;
}

.checkout-card {
    position: sticky;
    top: 12px;
}

#support-error {
    color: var(--danger);
    margin-bottom: 8px;
}

.support-hype-preview {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.support-hype-preview-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: #f5f7ff;
}

.support-hype-preview-stage {
    display: grid;
    gap: 8px;
}

.support-hype-preview-stage img,
.support-hype-preview-stage video {
    width: 100%;
    max-height: 260px;
    border-radius: 8px;
    object-fit: contain;
}

.support-hype-preview-stage audio {
    width: 100%;
    height:42px;
}

.support-hype-preview-stage iframe {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 8px;
}

.support-hype-preview-text {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f7ff;
    font-weight: 600;
    word-break: break-word;
}

.hero-title {
    margin: 6px 0;
}

.selection-highlight {
    font-weight: 700;
    margin: 4px 0;
}

.support-inline-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #f5f7ff;
}

.support-voices-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #dce4ff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed rgba(220, 228, 255, 0.5);
}

.support-voices-back-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.support-voices-summary {
    min-width: 220px;
}

.support-voice-directory-card {
    margin-top: 14px;
}

.support-expressive-help-card {
    position: relative;
    padding-top: 24px;
}

.support-panel-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(124, 155, 255, 0.14);
    border: 1px solid rgba(124, 155, 255, 0.36);
    color: #dfe7ff;
}

.support-expressive-help-card .card-title {
    margin-right: 120px;
}

.support-voice-directory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}

.support-voice-directory-row {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.support-voice-directory-row.is-expressive {
    border-color: rgba(124, 155, 255, 0.32);
    background: linear-gradient(145deg, rgba(124, 155, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.support-voice-directory-corner-mark {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
    color: rgba(223, 231, 255, 0.9);
}

.support-voice-directory-trigger {
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #ffffff;
    word-break: break-word;
}

.support-voice-directory-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

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

    .support-hero {
        flex-direction: column;
    }
}
