/* ON AIR TOOL embed widgets */

.oat-onair-root {
    --oat-primary: #513c92;
    --oat-secondary: #c02b88;
    --oat-gradient: linear-gradient(135deg, #513c92 0%, #c02b88 100%);
    --oat-bg: #ffffff;
    --oat-text: #0f172a;
    --oat-text-muted: #64748b;
    --oat-header-text: #ffffff;
    font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.oat-onair-root *,
.oat-onair-root *::before,
.oat-onair-root *::after {
    box-sizing: border-box;
}

.oat-onair-outer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.35;
    overflow: visible;
}

.oat-onair-root .onair-visual-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: visible;
}

.oat-onair-root .onair-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
}

.oat-onair-root .onair-foreground {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 115%;
    object-fit: contain;
    opacity: 0;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 1%, black 100%);
    mask-image: linear-gradient(to top, transparent 0%, black 0%, black 100%);
    -webkit-mask-size: 100% 200%;
    mask-size: 100% 200%;
    -webkit-mask-position: 0 100%;
    mask-position: 0 100%;
    animation: onairRevealSoft 1.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.oat-onair-root .onair-foreground.is-visible {
    opacity: 1;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    animation: none;
}

@keyframes onairRevealSoft {
    from {
        opacity: 0;
        -webkit-mask-position: 0 100%;
        mask-position: 0 100%;
    }
    to {
        opacity: 1;
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

.oat-onair-root .onair-text {
    position: absolute;
    left: 6%;
    bottom: 12%;
    width: 34%;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.oat-onair-root .onair-label {
    opacity: 1;
    margin-bottom: 6px;
}

.oat-onair-root .onair-badge {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--oat-primary);
    border-radius: 0.475rem;
}

.oat-onair-root .onair-time {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.92;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.oat-onair-root .onair-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.oat-onair-root .onair-dj {
    font-size: 15px;
    margin-top: 4px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.oat-onair-notice {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    font-size: 11px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    color: #f8fafc;
    z-index: 5;
    border-radius: 0 0 10px 10px;
}

.oat-nownext-stage {
    overflow: visible;
}

.oat-nownext-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}

.oat-nownext-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.oat-onair-loading,
.oat-onair-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 24px;
    color: #64748b;
    font-size: 14px;
}

.oat-onair-error {
    color: #dc2626;
}

@media (max-width: 480px) {
    .oat-onair-root .onair-text {
        width: 42%;
    }

    .oat-onair-root .onair-time {
        font-size: 12px;
    }

    .oat-onair-root .onair-title {
        font-size: 16px;
    }

    .oat-onair-root .onair-dj {
        font-size: 13px;
    }
}

/* List widgets: programs, team, schedule */

.oat-list-widget {
    background: var(--oat-bg, #fff);
    color: var(--oat-text, #0f172a);
    border-radius: var(--oat-widget-radius, 16px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--oat-widget-shadow, 0 12px 40px rgba(15, 23, 42, 0.08));
    overflow: hidden;
}

.oat-onair-root.oat-shadow-off {
    --oat-widget-shadow: none;
}

.oat-onair-root.oat-border-off .oat-list-widget {
    border: none;
}

.oat-onair-root.oat-radius-none {
    --oat-widget-radius: 0;
}

.oat-onair-root.oat-radius-sm {
    --oat-widget-radius: 8px;
}

.oat-onair-root.oat-radius-md {
    --oat-widget-radius: 16px;
}

.oat-onair-root.oat-radius-lg {
    --oat-widget-radius: 24px;
}

.oat-onair-root.oat-radius-none .onair-background,
.oat-onair-root.oat-radius-sm .onair-background {
    border-radius: 8px;
}

.oat-onair-root.oat-radius-none .onair-background {
    border-radius: 0;
}

.oat-onair-root.oat-radius-md .onair-background {
    border-radius: 10px;
}

.oat-onair-root.oat-radius-lg .onair-background {
    border-radius: 16px;
}

.oat-onair-root.oat-shadow-off .onair-background {
    box-shadow: none;
}

.oat-onair-root:not(.oat-shadow-off) .onair-background {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.oat-onair-root.oat-header-solid .oat-widget-header {
    background: var(--oat-primary);
}

.oat-onair-root.oat-header-minimal .oat-widget-header {
    background: var(--oat-bg, #fff);
    color: var(--oat-text, #0f172a);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.oat-onair-root.oat-header-minimal .oat-widget-station {
    color: var(--oat-text-muted, #64748b);
    opacity: 1;
}

.oat-onair-root.oat-compact .oat-widget-header {
    padding: 10px 12px 8px;
}

.oat-onair-root.oat-compact .oat-program-card,
.oat-onair-root.oat-compact .oat-team-card {
    padding: 10px;
}

.oat-onair-root.oat-compact .oat-schedule-row {
    padding-top: 8px;
    padding-bottom: 8px;
}

.oat-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
    background: var(--oat-gradient);
    color: var(--oat-header-text, #fff);
}

.oat-widget-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.oat-widget-heading {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.oat-widget-station {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.oat-list-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--oat-text-muted, #64748b);
    font-size: 14px;
}

.oat-list-notice {
    padding: 8px 12px;
    font-size: 11px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    color: #f8fafc;
}

/* Shared visual hero (programs, team, schedule thumbs) */

.oat-visual-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
}

.oat-visual-landscape {
    aspect-ratio: 16 / 10;
}

.oat-visual-portrait {
    aspect-ratio: 4 / 5;
    min-height: 220px;
}

.oat-visual-thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.oat-visual-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.oat-visual-fg {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 108%;
    max-width: 58%;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    z-index: 2;
}

.oat-visual-thumb .oat-visual-fg {
    height: 115%;
    max-width: 70%;
}

.oat-visual-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.88) 100%);
    z-index: 1;
}

.oat-visual-overlay,
.oat-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 14px 12px;
    z-index: 3;
    color: #fff;
    text-align: left;
}

.oat-visual-title,
.oat-card-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.oat-visual-sub,
.oat-card-sub {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.oat-card-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.oat-pill {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--oat-primary);
    color: #fff;
}

/* Programs */

.oat-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
}

.oat-program-card,
.oat-team-card {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    text-align: left;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.oat-program-card:hover,
.oat-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.oat-program-card:focus-visible,
.oat-team-card:focus-visible {
    outline: 2px solid var(--oat-primary);
    outline-offset: 3px;
}

/* Team */

.oat-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
}

/* Schedule */

.oat-schedule-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    overflow-x: auto;
    scrollbar-width: thin;
}

.oat-schedule-tab {
    border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: #e2e8f0;
    color: #475569;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.oat-schedule-tab.is-active {
    background: var(--oat-gradient);
    color: #fff;
    box-shadow: 0 6px 16px rgba(81, 60, 146, 0.25);
}

.oat-schedule-panel {
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.oat-schedule-panel.is-active {
    display: block;
}

.oat-schedule-list {
    padding: 6px 0;
}

.oat-schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.oat-schedule-item:hover {
    background: #f8fafc;
}

.oat-schedule-item:last-child {
    border-bottom: 0;
}

.oat-schedule-time {
    flex-shrink: 0;
    width: 54px;
    font-size: 12px;
    font-weight: 800;
    color: var(--oat-primary);
    line-height: 1.25;
}

.oat-schedule-time-end {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.oat-schedule-thumb-wrap {
    width: 64px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.oat-schedule-title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.oat-schedule-sub {
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}

/* Modal */

.oat-widget-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.oat-widget-modal[hidden] {
    display: none !important;
}

.oat-widget-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(3px);
}

.oat-widget-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 92%;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    z-index: 1;
}

.oat-widget-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.oat-widget-modal-content {
    overflow-y: auto;
    max-height: 92vh;
}

.oat-widget-modal-content .oat-visual-hero {
    border-radius: 0;
}

.oat-modal-body {
    padding: 16px 18px 20px;
}

.oat-modal-section {
    margin-bottom: 14px;
}

.oat-modal-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.oat-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.oat-meta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
}

.oat-modal-meta a {
    color: var(--oat-primary);
    font-weight: 700;
    text-decoration: none;
}

.oat-modal-meta a:hover {
    text-decoration: underline;
}

.oat-modal-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--oat-gradient);
}

.oat-programs-widget,
.oat-team-widget {
    position: relative;
}

@media (max-width: 520px) {
    .oat-programs-grid,
    .oat-team-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp floating widget */

.oat-whatsapp-root {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    width: auto;
    max-width: none;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.oat-whatsapp-root.oat-whatsapp-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.oat-whatsapp-root.oat-shadow-off .oat-whatsapp-button {
    box-shadow: none;
}

.oat-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--oat-accent, #25d366);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oat-whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.18);
    color: #fff;
}

.oat-whatsapp-button:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 3px;
}

.oat-whatsapp-icon {
    width: 30px;
    height: 30px;
}

@media (max-width: 480px) {
    .oat-whatsapp-root {
        bottom: 16px;
        right: 16px;
    }

    .oat-whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .oat-whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* Request widget */

.oat-request-widget .oat-request-body {
    padding: 16px 16px 20px;
}

.oat-request-program {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--oat-primary) 10%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--oat-primary) 22%, #ffffff);
}

.oat-request-program-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--oat-primary);
}

.oat-request-program-sub {
    font-size: 13px;
    color: #64748b;
}

.oat-request-closed {
    text-align: center;
    padding: 28px 16px;
    border: 1px dashed #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.oat-request-closed-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.oat-request-closed-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
}

.oat-request-closed-text {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.oat-request-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.oat-request-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oat-request-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.oat-request-optional {
    font-weight: 500;
    color: #94a3b8;
}

.oat-request-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.oat-request-input:focus {
    outline: none;
    border-color: var(--oat-primary);
    box-shadow: 0 0 0 3px rgba(81, 60, 146, 0.12);
}

.oat-request-textarea {
    resize: vertical;
    min-height: 84px;
}

.oat-request-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: var(--oat-gradient);
    box-shadow: 0 8px 20px rgba(81, 60, 146, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.oat-request-submit:hover:not(:disabled) {
    transform: translateY(-1px);
}

.oat-request-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.oat-request-alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.oat-request-alert.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.oat-request-alert.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Requested songs widget */

.oat-requested-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 6px 0;
}

.oat-requested-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.oat-requested-item:last-child {
    border-bottom: 0;
}

.oat-requested-item:hover {
    background: #f8fafc;
}

.oat-requested-item--approved {
    background: color-mix(in srgb, var(--oat-primary) 5%, #ffffff);
}

.oat-requested-item--approved:hover {
    background: color-mix(in srgb, var(--oat-primary) 8%, #ffffff);
}

.oat-requested-main {
    min-width: 0;
    flex: 1 1 auto;
}

.oat-requested-song {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.oat-requested-listener {
    margin-top: 4px;
    font-size: 13px;
    color: #475569;
}

.oat-requested-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 6px;
    font-size: 11px;
    color: #94a3b8;
}

.oat-requested-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.oat-requested-status--approved {
    background: color-mix(in srgb, var(--oat-primary) 14%, #ffffff);
    color: var(--oat-primary);
    border: 1px solid color-mix(in srgb, var(--oat-primary) 24%, #ffffff);
}

.oat-requested-status--played {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.oat-requested-status--not-played {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.oat-chart-widget .oat-chart-edition {
    padding: 0 16px 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.oat-chart-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 0 12px 10px;
}

.oat-chart-nav-label {
    min-width: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    line-height: 1.35;
}

.oat-chart-nav-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.oat-chart-nav-btn:hover:not(:disabled) {
    background: color-mix(in srgb, var(--oat-primary) 12%, #fff);
    color: var(--oat-primary);
}

.oat-chart-nav-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.oat-chart-list,
.oat-vote-list {
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow-y: auto;
    padding: 4px 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.oat-chart-list::-webkit-scrollbar,
.oat-vote-list::-webkit-scrollbar {
    width: 6px;
}

.oat-chart-list::-webkit-scrollbar-thumb,
.oat-vote-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.oat-chart-item,
.oat-vote-item {
    display: grid;
    grid-template-columns: 48px 42px 48px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.oat-vote-item {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
}

.oat-vote-widget .oat-track-cover {
    width: 40px;
    height: 40px;
}

.oat-vote-song {
    min-width: 0;
}

.oat-vote-artist,
.oat-vote-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oat-vote-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.oat-track-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}

.oat-track-cover--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #94a3b8;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.oat-chart-position {
    font-size: 22px;
    font-weight: 800;
    color: var(--oat-primary);
}

.oat-chart-artist,
.oat-vote-artist {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.oat-chart-title,
.oat-vote-title {
    font-size: 12px;
    color: #64748b;
}

.oat-chart-move--up { color: #16a34a; font-weight: 700; font-size: 12px; }
.oat-chart-move--down { color: #dc2626; font-weight: 700; font-size: 12px; }
.oat-chart-move--same { color: #94a3b8; font-size: 12px; }
.oat-chart-badge {
    display: inline-flex;
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 10px;
    font-weight: 800;
}

.oat-vote-btn {
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    background: var(--oat-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.oat-vote-count {
    display: inline-flex;
    margin-right: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--oat-primary) 12%, #fff);
    color: var(--oat-primary);
    font-size: 11px;
    font-weight: 800;
}

.oat-vote-meta,
.oat-vote-alert {
    padding: 12px 16px 0;
    font-size: 12px;
    color: #64748b;
}

.oat-vote-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-weight: 600;
}

.oat-vote-alert.is-success {
    color: #047857;
}

.oat-vote-alert.is-error {
    color: #dc2626;
}

.oat-vote-nominate-form {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
}

.oat-vote-email-wrap {
    padding: 16px 16px 0;
}

.oat-vote-email-hint {
    margin-top: 6px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

.oat-content-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.oat-content-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #f1f5f9;
}

.oat-content-item:first-child {
    border-top: none;
}

.oat-content-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f8fafc;
}

.oat-content-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.oat-content-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.oat-content-excerpt {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.oat-featured-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oat-featured-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.oat-featured-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    background: #f1f5f9;
}

.oat-featured-body {
    min-width: 0;
}

.oat-featured-kind {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--oat-primary, #513c92);
    margin-bottom: 6px;
}

.oat-featured-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.oat-featured-artist {
    margin-top: 4px;
    font-size: 14px;
    color: #64748b;
}

.oat-featured-description {
    margin-top: 8px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.oat-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.oat-featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 0;
    background: var(--oat-primary, #513c92);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.oat-featured-btn--secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.oat-featured-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.oat-featured-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 520px) {
    .oat-featured-card {
        grid-template-columns: 1fr;
    }

    .oat-featured-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}
