/* Chiptune Challenge 2026 - August Theme: Chill / Beach */
/* No continues needed. Summer vacation cool-down after July's bullet hell. */
/* LIGHT theme - space black washes out into warm sand, teal water, coral sunsets. */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@400;500;600;700&family=Caveat:wght@500;600;700&display=swap');

:root {
    /* Primary Colors */
    --chiptune-primary: #26A69A;          /* Ocean Teal */
    --chiptune-primary-hover: #4DB6AC;
    --chiptune-secondary: #FF8A80;        /* Coral Pink */
    --chiptune-accent: #FFE082;           /* Shell Gold */

    /* Backgrounds - warm sand */
    --chiptune-bg: #EFEBE9;               /* Warm Sand */
    --chiptune-header-bg: rgba(255, 253, 250, 0.92);
    --chiptune-card-bg: #FFFFFF;
    --chiptune-surface: rgba(38, 166, 154, 0.08);
    --chiptune-player-bg: rgba(255, 253, 250, 0.95);

    /* Text - driftwood browns */
    --chiptune-text: #4E342E;             /* Driftwood Dark */
    --chiptune-text-secondary: #795548;   /* Soft Brown */

    /* Borders & glows */
    --chiptune-border: rgba(38, 166, 154, 0.35);
    --chiptune-glow: rgba(38, 166, 154, 0.35);
    --chiptune-secondary-glow: rgba(255, 138, 128, 0.4);

    /* August-specific effects */
    --august-teal: #26A69A;
    --august-teal-hover: #4DB6AC;
    --august-deep-ocean: #00695C;
    --august-coral: #FF8A80;
    --august-coral-deep: #FF7043;
    --august-sand: #D7CCC8;
    --august-driftwood: #BCAAA4;
    --august-seafoam: #80CBC4;
    --august-amber: #FFAB91;
    --august-gold: #FFE082;
    --august-gold-deep: #FFCA28;
    --august-shadow-soft: 0 4px 20px rgba(78, 52, 46, 0.10);
    --august-shadow-lift: 0 8px 30px rgba(38, 166, 154, 0.22);
    --august-gradient-sunset: linear-gradient(135deg, #FFAB91 0%, #FF8A80 100%);
    --august-gradient-ocean: linear-gradient(90deg, #26A69A 0%, #FF8A80 100%);
    --august-gradient-sand: linear-gradient(180deg, #FFF9F5 0%, #EFEBE9 45%, #E7DED7 100%);
    --august-gradient-gold: linear-gradient(135deg, #FFE082 0%, #FFAB91 100%);

    /* Player Handle - beach ball round */
    --chiptune-handle-size: 20px;
    --chiptune-handle-bg: linear-gradient(135deg, #FF8A80 0%, #26A69A 100%);
    --chiptune-handle-radius: 50%;
    --chiptune-handle-icon-size: 11px;
    --chiptune-handle-icon-color: #FFFFFF;
    --chiptune-handle-icon-shadow: 0 1px 2px rgba(78, 52, 46, 0.4);
    --chiptune-handle-glow: rgba(255, 138, 128, 0.55);

    /* Volume Handle */
    --chiptune-volume-handle-size: 15px;
    --chiptune-volume-handle-bg: linear-gradient(135deg, #FF8A80, #26A69A);
    --chiptune-volume-handle-radius: 50%;
    --chiptune-volume-handle-icon-size: 9px;
    --chiptune-volume-handle-icon-color: #FFFFFF;
    --chiptune-volume-handle-icon-shadow: 0 1px 2px rgba(78, 52, 46, 0.35);
    --chiptune-volume-handle-glow: rgba(38, 166, 154, 0.5);
}

/* =============================================================================
   BODY & BACKGROUND - Warm sand with a painted shoreline
   ============================================================================= */

body.chiptune-theme-august {
    background-color: #EFEBE9;
    /* Static beach artwork, fixed behind the scrolling content. A soft cream
       veil is layered on top so the white cards and dark brown text stay
       readable over the busier sand props; slightly heavier at the top
       (header) and bottom (player bar). */
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 249, 245, 0.55) 0%,
            rgba(255, 249, 245, 0.32) 30%,
            rgba(255, 249, 245, 0.28) 65%,
            rgba(255, 249, 245, 0.55) 100%
        ),
        url("/static/sites/zimventures/chiptune/images/august/august-beach-bg.3cd8d88cfc25.jpg");
    background-size: auto, cover;
    background-position: center, center bottom;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, fixed;
    color: #4E342E;
}

body.chiptune-theme-august .chiptune-app {
    background: transparent;
    color: #4E342E;
}

/* =============================================================================
   PIXEL BACKGROUND - hidden (body uses the static august-beach-bg.jpg)
   ============================================================================= */

.chiptune-theme-august .pixel-bg {
    background: none;
}

.chiptune-theme-august .pixel-bg::before,
.chiptune-theme-august .pixel-bg::after {
    content: none;
}

/* =============================================================================
   HEADER - Sun-bleached boardwalk bar
   ============================================================================= */

.chiptune-theme-august .chiptune-header {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(245, 239, 235, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--august-teal);
    box-shadow: 0 4px 20px rgba(78, 52, 46, 0.08);
    position: relative;
    overflow: hidden;
}

/* Lazy sunlight shimmer drifting across the header */
.chiptune-theme-august .chiptune-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 140px 30px at 18% 55%, rgba(255, 224, 130, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 110px 26px at 62% 40%, rgba(255, 171, 145, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 120px 28px at 88% 60%, rgba(128, 203, 196, 0.18) 0%, transparent 70%);
    animation: august-header-shimmer 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.chiptune-theme-august .chiptune-header > * {
    position: relative;
    z-index: 1;
}

@keyframes august-header-shimmer {
    0%   { transform: translateX(0); }
    100% { transform: translateX(240px); }
}

/* =============================================================================
   LIGHT THEME TEXT OVERRIDES
   ============================================================================= */

.chiptune-theme-august,
.chiptune-theme-august .chiptune-app,
.chiptune-theme-august .chiptune-content,
.chiptune-theme-august p,
.chiptune-theme-august span,
.chiptune-theme-august li {
    color: #4E342E;
}

/* =============================================================================
   LOGO, NAV, AUTH
   ============================================================================= */

.chiptune-theme-august .chiptune-logo .logo-text {
    color: var(--august-teal);
    font-family: 'Pacifico', cursive;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.chiptune-theme-august .chiptune-logo .logo-icon {
    filter: drop-shadow(0 1px 3px rgba(255, 138, 128, 0.5));
}

.chiptune-theme-august .chiptune-nav a,
.chiptune-theme-august .chiptune-nav .nav-link {
    color: #795548;
    font-family: 'Quicksand', 'Arial Rounded MT', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.chiptune-theme-august .chiptune-nav a:hover,
.chiptune-theme-august .chiptune-nav .nav-link:hover {
    color: var(--august-teal);
    transform: translateY(-1px);
}

.chiptune-theme-august .chiptune-nav a.active,
.chiptune-theme-august .chiptune-nav .nav-link.active {
    color: var(--august-coral);
    border-bottom-color: var(--august-teal);
}

.chiptune-theme-august .nav-badge.pulse {
    background: var(--august-coral);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(255, 138, 128, 0.5);
    animation: august-gentle-pulse 2.4s ease-in-out infinite;
}

.chiptune-theme-august .auth-link {
    color: #795548;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .profile-menu {
    background: #FFFFFF;
    border: 2px solid var(--august-seafoam);
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

.chiptune-theme-august .profile-menu-item {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.chiptune-theme-august .profile-menu-item:hover {
    background: rgba(128, 203, 196, 0.18);
    color: var(--august-teal);
}

/* =============================================================================
   PAGE HEADERS
   ============================================================================= */

.chiptune-theme-august .page-header h1,
.chiptune-theme-august .page-header h2 {
    color: #4E342E;
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.7);
}

.chiptune-theme-august .page-header p,
.chiptune-theme-august .page-header .page-subtitle,
.chiptune-theme-august .page-header .subtitle {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* =============================================================================
   SONG CARDS - Soft white beach towels with polaroid art
   ============================================================================= */

.chiptune-theme-august .song-card {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
    padding: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chiptune-theme-august .song-card .song-title,
.chiptune-theme-august .song-card .song-name {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.chiptune-theme-august .song-card .song-artist,
.chiptune-theme-august .song-card .song-date,
.chiptune-theme-august .song-card .song-duration-text,
.chiptune-theme-august .song-card .song-meta,
.chiptune-theme-august .song-card .song-day {
    color: #795548;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.chiptune-theme-august .song-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--august-shadow-lift);
}

/* Card-state gradients must stay opaque: the fixed ocean band sits behind
   the content, so any alpha in a card background shows teal bleeding through. */
.chiptune-theme-august .song-card.is-playing {
    background: linear-gradient(135deg, #FFFFFF 40%, #E0F2F1 100%);
    box-shadow: 0 6px 24px rgba(38, 166, 154, 0.28);
    animation: august-gentle-pulse 3s ease-in-out infinite;
}

.chiptune-theme-august .song-card.is-today {
    border: 2px solid var(--august-teal);
    background: linear-gradient(135deg, #FFFFFF 60%, #FFF8E1 100%);
    animation: none;
    box-shadow: 0 4px 20px rgba(38, 166, 154, 0.3);
}

/* Seashell badge washed up on today's card. Placed inside the top-left corner
   (base .song-card clips overflow, and the day badge owns the top-right).
   opacity: 1 undoes base .placeholder-card::after dimming. */
.chiptune-theme-august .song-card.is-today::after {
    content: '🐚';
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 24px;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(78, 52, 46, 0.3));
    z-index: 3;
    animation: august-shell-sway 4s ease-in-out infinite;
}

@keyframes august-shell-sway {
    0%, 100% { transform: rotate(-6deg); }
    50%      { transform: rotate(8deg); }
}

/* Winner styling - templates wrap weekly/monthly winners in .song-card-wrapper.
   .is-winner is never on .song-card itself, so target the wrapper instead. */
.chiptune-theme-august .song-card-wrapper .song-card {
    border: 2px solid var(--august-gold);
    background: linear-gradient(135deg, #FFFFFF 55%, #FFF3D6 100%);
    box-shadow: 0 6px 24px rgba(255, 202, 40, 0.3);
}

/* Hibiscus lei badge for winners (kept inside the clipped card bounds) */
.chiptune-theme-august .song-card-wrapper .song-card::after {
    content: '🌺';
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 22px;
    opacity: 1;
    filter: drop-shadow(0 2px 5px rgba(255, 138, 128, 0.6));
    pointer-events: none;
    z-index: 3;
    animation: august-shell-sway 5s ease-in-out infinite;
}

/* Past placeholder cards likewise avoid heavy element opacity */
.chiptune-theme-august .song-card.placeholder-card.is-past {
    opacity: 0.8;
    background: #F3EFEC;
}

/* Future cards stay opaque (element opacity would let the ocean band bleed
   through); the muted background + dashed border carry the "not yet" look. */
.chiptune-theme-august .song-card.is-future {
    opacity: 0.85;
    background: #F6F2EF;
    border: 2px dashed var(--august-driftwood);
    box-shadow: none;
}

/* Cover art - polaroid snapshot pinned to the card */
.chiptune-theme-august .song-cover,
.chiptune-theme-august .song-card img.cover-art,
.chiptune-theme-august .song-card .cover-art {
    border-radius: 6px;
    border: 6px solid #FFFFFF;
    box-shadow: 0 2px 10px rgba(78, 52, 46, 0.18);
    overflow: hidden;
    position: relative;
}

.chiptune-theme-august .song-cover .play-btn {
    background: rgba(38, 166, 154, 0.92);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.chiptune-theme-august .song-cover .play-btn:hover {
    background: var(--august-teal-hover);
    box-shadow: 0 0 16px rgba(38, 166, 154, 0.6);
}

.chiptune-theme-august .song-cover .song-duration {
    background: rgba(255, 253, 250, 0.92);
    color: var(--august-deep-ocean);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    border-radius: 10px;
}

/* =============================================================================
   VOTE & LIKE BUTTONS - Rounded coral pebbles
   ============================================================================= */

.chiptune-theme-august .vote-btn,
.chiptune-theme-august .song-card .vote-btn {
    background: var(--august-coral);
    border: none;
    color: #FFFFFF;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 3px 10px rgba(255, 138, 128, 0.4);
}

.chiptune-theme-august .vote-btn:hover:not(:disabled),
.chiptune-theme-august .song-card .vote-btn:hover:not(:disabled) {
    background: var(--august-coral-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 112, 67, 0.45);
    color: #FFFFFF;
}

.chiptune-theme-august .vote-btn:active,
.chiptune-theme-august .song-card .vote-btn:active {
    transform: scale(0.96);
}

.chiptune-theme-august .vote-btn.voted,
.chiptune-theme-august .song-card .vote-btn.voted {
    background: var(--august-gradient-gold);
    border: none;
    color: #4E342E;
    box-shadow: 0 4px 14px rgba(255, 202, 40, 0.5);
}

.chiptune-theme-august .like-btn {
    color: var(--august-driftwood);
}

.chiptune-theme-august .like-btn.liked {
    color: var(--august-coral);
}

.chiptune-theme-august .like-btn.liked .like-icon {
    animation: august-heart-float 0.6s ease;
    filter: drop-shadow(0 0 6px rgba(255, 138, 128, 0.6));
}

@keyframes august-heart-float {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.3) translateY(-3px); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.chiptune-theme-august .vote-count-badge {
    background: #FFFFFF;
    border: 2px solid var(--august-seafoam);
    color: var(--august-deep-ocean);
    border-radius: 14px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .vote-btn-overlay.voted {
    color: #4E342E;
}

/* =============================================================================
   DAY & CARD BADGES
   ============================================================================= */

.chiptune-theme-august .day-badge {
    background: #FFFFFF;
    border: 2px solid var(--august-teal);
    color: var(--august-deep-ocean);
    border-radius: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.chiptune-theme-august .card-badge-weekly {
    background: linear-gradient(135deg, var(--august-teal), var(--august-seafoam));
    color: #FFFFFF;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(38, 166, 154, 0.4);
}

.chiptune-theme-august .card-badge-monthly-ribbon {
    background: var(--august-gradient-gold);
    color: #4E342E;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 202, 40, 0.5);
}

.chiptune-theme-august .today-badge {
    position: absolute;
    background: var(--august-teal);
    color: #FFFFFF;
    padding: 5px 18px;
    font-family: 'Pacifico', cursive;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    border: none;
    border-radius: 20px;
    box-shadow: var(--august-shadow-soft);
}

/* =============================================================================
   PLAYER BAR - Beach bar counter with a wave progress line
   ============================================================================= */

.chiptune-theme-august .chiptune-player {
    background: rgba(255, 253, 250, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: none;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -6px 24px rgba(78, 52, 46, 0.14);
    position: relative;
}

.chiptune-theme-august .chiptune-player,
.chiptune-theme-august .player-info,
.chiptune-theme-august .player-song-title,
.chiptune-theme-august .player-song-artist {
    color: #4E342E;
}

.chiptune-theme-august .player-song-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .player-song-artist {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #795548;
}

.chiptune-theme-august .player-time,
.chiptune-theme-august .player-duration {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.chiptune-theme-august .player-btn {
    color: #795548;
}

.chiptune-theme-august .player-btn:hover {
    color: var(--august-teal);
}

.chiptune-theme-august .player-btn.play-pause {
    background: var(--august-coral);
    border: none;
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(255, 138, 128, 0.5);
}

.chiptune-theme-august .player-btn.play-pause:hover {
    background: var(--august-coral-deep);
    box-shadow: 0 6px 18px rgba(255, 112, 67, 0.55);
    transform: scale(1.05);
}

.chiptune-theme-august .player-btn.play-pause:active {
    transform: scale(0.96);
}

/* Ocean-to-sunset wave progress bar */
.chiptune-theme-august .player-progress-bar {
    background: var(--august-sand);
    border: none;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(78, 52, 46, 0.15);
}

.chiptune-theme-august .player-progress-fill {
    background: var(--august-gradient-ocean);
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(38, 166, 154, 0.4);
}

.chiptune-theme-august .stats-panel {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--august-seafoam);
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
    color: #4E342E;
}

/* =============================================================================
   WEEK NAVIGATION
   ============================================================================= */

.chiptune-theme-august .week-nav {
    background: linear-gradient(
        90deg,
        rgba(128, 203, 196, 0.22) 0%,
        rgba(255, 224, 130, 0.16) 50%,
        rgba(255, 171, 145, 0.20) 100%
    );
    border-bottom: 2px solid rgba(38, 166, 154, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.chiptune-theme-august .week-nav a,
.chiptune-theme-august .week-nav span {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .week-nav a:hover {
    color: var(--august-teal);
}

.chiptune-theme-august .week-nav-current .week-label {
    color: #4E342E;
    font-family: 'Pacifico', cursive;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.7);
    animation: none;
}

.chiptune-theme-august .week-nav-current .week-year {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
}

.chiptune-theme-august .week-nav-current .week-dates {
    color: #795548;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
}

.chiptune-theme-august .week-nav-theme-icon {
    filter: drop-shadow(0 1px 4px rgba(38, 166, 154, 0.5));
}

.chiptune-theme-august .week-nav-theme-name {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
}

.chiptune-theme-august .week-nav-btn {
    color: #795548;
    border-radius: 50%;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.chiptune-theme-august .week-nav-btn:hover:not(.disabled) {
    background: rgba(38, 166, 154, 0.15);
    color: var(--august-teal);
    transform: translateY(-1px);
}

/* =============================================================================
   THEME BANNER & VOTE BANNERS - Postcards from the coast
   ============================================================================= */

.chiptune-theme-august .theme-banner {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Sunset stripe across the top of the banner */
.chiptune-theme-august .theme-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--august-amber), var(--august-coral), var(--august-teal));
    pointer-events: none;
}

.chiptune-theme-august .theme-banner .theme-icon {
    filter: drop-shadow(0 2px 5px rgba(255, 138, 128, 0.5));
}

.chiptune-theme-august .theme-banner .theme-name {
    color: #4E342E;
    font-family: 'Pacifico', cursive;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.7);
}

.chiptune-theme-august .theme-banner .theme-tagline {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.chiptune-theme-august .theme-banner .theme-description {
    color: #795548;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.chiptune-theme-august .theme-banner .theme-link {
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--august-teal);
    box-shadow: 0 3px 10px rgba(38, 166, 154, 0.4);
    transition: all 0.25s ease;
}

.chiptune-theme-august .theme-banner .theme-link:hover {
    color: #FFFFFF;
    background: var(--august-teal-hover);
    box-shadow: 0 6px 16px rgba(38, 166, 154, 0.5);
    transform: translateY(-2px);
}

.chiptune-theme-august .vote-banner {
    background: var(--august-gradient-sunset);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 138, 128, 0.4);
    position: relative;
    overflow: hidden;
}

.chiptune-theme-august .vote-banner-content {
    color: #FFFFFF;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .voting-open-banner {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--august-gold);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 202, 40, 0.35);
}

.chiptune-theme-august .voting-open-banner .vote-btn {
    color: #FFFFFF;
}

/* Relaxed vacation countdown */
.chiptune-theme-august .countdown,
.chiptune-theme-august .vote-countdown {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: #795548;
    letter-spacing: 1px;
}

/* =============================================================================
   TROPHY & WINNER BANNERS
   ============================================================================= */

.chiptune-theme-august .trophy-badge {
    background: rgba(255, 224, 130, 0.28);
    border: 2px solid var(--august-gold);
    border-radius: 16px;
    padding: 0.5rem 1rem;
    color: #8D6E63;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .winner-banner,
.chiptune-theme-august .month-winner-banner {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--august-gold);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(255, 202, 40, 0.3);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.chiptune-theme-august .winner-banner .winner-text strong {
    color: #F9A825;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .winner-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(255, 202, 40, 0.6));
}

.chiptune-theme-august .winner-info h3 {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* =============================================================================
   STAT CARDS / HALL OF FAME / THEME CARDS
   ============================================================================= */

.chiptune-theme-august .stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.chiptune-theme-august .stat-card {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chiptune-theme-august .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--august-shadow-lift);
}

.chiptune-theme-august .stat-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #4E342E;
}

.chiptune-theme-august .stat-card .stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 1px 4px rgba(38, 166, 154, 0.4));
}

.chiptune-theme-august .stat-card .stat-value {
    font-size: 1.9rem;
    color: var(--august-teal);
    display: block;
    font-family: 'Caveat', cursive;
    letter-spacing: 1px;
}

.chiptune-theme-august .stat-card .stat-label {
    font-size: 0.8rem;
    color: #795548;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chiptune-theme-august .hof-card {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--august-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chiptune-theme-august .hof-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--august-shadow-lift);
}

.chiptune-theme-august .hof-card.year-card {
    border: 2px solid var(--august-gold);
    box-shadow: 0 6px 20px rgba(255, 202, 40, 0.3);
}

.chiptune-theme-august .hof-card.month-card {
    border: 2px solid var(--august-amber);
    box-shadow: 0 6px 20px rgba(255, 171, 145, 0.3);
}

.chiptune-theme-august .hof-card-badge.week {
    background: linear-gradient(135deg, var(--august-teal), var(--august-seafoam));
    color: #FFFFFF;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .hof-label.purple {
    background: var(--august-gradient-sunset);
    color: #FFFFFF;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .hof-play-btn {
    background: var(--august-teal);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.chiptune-theme-august .hof-play-btn:hover {
    background: var(--august-teal-hover);
    box-shadow: 0 0 16px rgba(38, 166, 154, 0.55);
}

.chiptune-theme-august .hof-btn {
    background: var(--august-teal);
    border: none;
    color: #FFFFFF;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(38, 166, 154, 0.4);
}

.chiptune-theme-august .hof-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(38, 166, 154, 0.5);
}

.chiptune-theme-august .theme-card {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

/* Base dims unlocked past months via element opacity, which lets the fixed
   ocean band tint the whole card teal on this light theme - keep them solid. */
.chiptune-theme-august .theme-card.unlocked {
    opacity: 1;
    background: #FBF8F6;
}

.chiptune-theme-august .theme-card.locked {
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed var(--august-driftwood);
    box-shadow: none;
    opacity: 0.65;
}

.chiptune-theme-august .theme-card-header .current-badge {
    background: var(--august-gradient-gold);
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .liked-song-play:hover {
    color: var(--august-teal);
}

.chiptune-theme-august .placeholder-static {
    background: rgba(239, 235, 233, 0.8);
    border: 1px dashed var(--august-driftwood);
}

.chiptune-theme-august .question-mark {
    color: var(--august-teal);
}

.chiptune-theme-august .current-vote-notice strong {
    color: var(--august-deep-ocean);
}

/* =============================================================================
   BRACKET COMPONENTS
   ============================================================================= */

.chiptune-theme-august .bracket-slot {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

.chiptune-theme-august .bracket-vote-btn:hover:not(:disabled) {
    background: var(--august-coral-deep);
    color: #FFFFFF;
}

.chiptune-theme-august .bracket-vote-btn.voted {
    background: var(--august-gradient-gold) !important;
    color: #4E342E;
    border-color: var(--august-gold-deep);
}

.chiptune-theme-august .bracket-play-btn {
    background: var(--august-teal);
    color: #FFFFFF;
}

.chiptune-theme-august .bracket-login-link:hover {
    color: var(--august-coral);
}

.chiptune-theme-august .bracket-status.voting p {
    color: #4E342E;
}

.chiptune-theme-august .slot-title {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* =============================================================================
   CHAMPION & YEARLY CARDS
   ============================================================================= */

.chiptune-theme-august .champion-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--august-gold);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(255, 202, 40, 0.3);
}

.chiptune-theme-august .champion-card-title,
.chiptune-theme-august .champion-info h3 {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .champion-play-btn {
    background: var(--august-teal);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.chiptune-theme-august .past-champion-badge {
    background: var(--august-gradient-gold);
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .song-nav-btn {
    color: #795548;
}

.chiptune-theme-august .song-nav-btn:hover:not(.disabled) {
    color: var(--august-teal);
}

.chiptune-theme-august .play-btn-large {
    background: var(--august-gradient-sunset);
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(255, 138, 128, 0.5);
}

.chiptune-theme-august .play-btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 26px rgba(255, 112, 67, 0.55);
}

.chiptune-theme-august .like-btn-large.liked {
    color: var(--august-coral);
}

.chiptune-theme-august .vote-badge-float {
    background: #FFFFFF;
    border: 2px solid var(--august-gold);
    color: #F9A825;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .week-check {
    background: rgba(128, 203, 196, 0.18);
    border: 2px solid rgba(38, 166, 154, 0.35);
    border-radius: 12px;
}

.chiptune-theme-august .chiptune-toast {
    background: #FFFFFF;
    color: #4E342E;
    border: 2px solid var(--august-seafoam);
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.chiptune-theme-august .modal-close-btn {
    background: rgba(255, 138, 128, 0.9);
    color: #FFFFFF;
    border-radius: 50%;
}

.chiptune-theme-august .modal-theme-name {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
}

/* Discord brand-color elements stay as-is */
.chiptune-theme-august .discord-login-btn,
.chiptune-theme-august .discord-floating-badge,
.chiptune-theme-august .discord-invite-header h2,
.chiptune-theme-august .discord-invite-join {
    color: white;
}

/* =============================================================================
   PAUSE MENU - Beach cabana menu board
   ============================================================================= */

.chiptune-theme-august .pause-menu-content {
    background: rgba(255, 253, 250, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(78, 52, 46, 0.25);
}

.chiptune-theme-august .pause-menu-content::before {
    border-color: rgba(38, 166, 154, 0.3);
}

/* No scanlines at the beach - just a whisper of seafoam stripes */
.chiptune-theme-august .pause-menu-scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 6px,
        rgba(128, 203, 196, 0.06) 6px,
        rgba(128, 203, 196, 0.06) 8px
    );
    opacity: 0.6;
}

.chiptune-theme-august .pause-menu-header {
    border-bottom-color: rgba(38, 166, 154, 0.3);
}

.chiptune-theme-august .pause-menu-title {
    color: #4E342E;
    font-family: 'Pacifico', cursive;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.chiptune-theme-august .pause-menu-subtitle {
    color: var(--august-deep-ocean);
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.chiptune-theme-august .pause-menu-item {
    color: #4E342E;
    border-bottom-color: rgba(188, 170, 164, 0.3);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .pause-menu-item:hover {
    background: rgba(128, 203, 196, 0.16);
    color: var(--august-teal);
}

.chiptune-theme-august .pause-menu-item.active {
    color: var(--august-coral);
    background: rgba(255, 138, 128, 0.12);
}

.chiptune-theme-august .pause-menu-cursor {
    color: var(--august-coral);
    text-shadow: none;
}

.chiptune-theme-august .pause-menu-item-detail {
    border-bottom-color: rgba(188, 170, 164, 0.3);
}

.chiptune-theme-august .pause-menu-item-detail p {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
}

.chiptune-theme-august .pause-menu-item-detail p strong {
    color: var(--august-deep-ocean);
}

.chiptune-theme-august .pause-menu-cta {
    background: var(--august-gradient-sunset);
    border: none;
    color: #FFFFFF;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(255, 138, 128, 0.45);
}

.chiptune-theme-august .pause-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 112, 67, 0.5);
}

.chiptune-theme-august .pause-menu-resume-btn {
    color: var(--august-teal);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .pause-menu-resume-btn:hover {
    color: var(--august-coral);
}

.chiptune-theme-august .newhere-floating-badge:hover {
    color: var(--august-teal);
}

/* =============================================================================
   YEARLY BRACKET OVERRIDES
   ============================================================================= */

.chiptune-theme-august .phase-step {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

.chiptune-theme-august .phase-dot {
    background: var(--august-coral);
    box-shadow: 0 0 8px rgba(255, 138, 128, 0.6);
}

.chiptune-theme-august .champion-play-overlay {
    background: rgba(38, 166, 154, 0.65);
}

.chiptune-theme-august .entry-play-btn {
    background: var(--august-teal);
    color: #FFFFFF;
}

.chiptune-theme-august .champion-title {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chiptune-theme-august .champion-stats .stat-value {
    color: var(--august-teal);
    font-family: 'Caveat', cursive;
    letter-spacing: 1px;
}

.chiptune-theme-august .wildcard-entry .song-name,
.chiptune-theme-august .champion-card .song-title {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .group-box {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

.chiptune-theme-august .group-entry {
    background: rgba(255, 253, 250, 0.95);
    border: 2px solid rgba(128, 203, 196, 0.5);
    border-radius: 12px;
}

.chiptune-theme-august .group-entry .song-name {
    color: #4E342E;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.chiptune-theme-august .vote-counter .vote-pip {
    background: rgba(255, 138, 128, 0.3);
    border: 1px solid rgba(255, 138, 128, 0.6);
}

.chiptune-theme-august .yearly-matchup {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    box-shadow: var(--august-shadow-soft);
}

.chiptune-theme-august .yearly-bracket-slot {
    background: rgba(255, 253, 250, 0.98);
    border: 2px solid rgba(128, 203, 196, 0.6);
    border-radius: 12px;
}

.chiptune-theme-august .yearly-bracket-slot.empty {
    background: rgba(255, 253, 250, 0.5);
    border-style: dashed;
    border-color: var(--august-driftwood);
}

.chiptune-theme-august .yearly-bracket-slot .slot-title {
    color: #4E342E;
}

.chiptune-theme-august .yearly-bracket-play-btn {
    background: var(--august-teal);
    color: #FFFFFF;
}

.chiptune-theme-august .yearly-bracket-vote-btn.voted {
    background: var(--august-gradient-gold);
    color: #4E342E;
}

.chiptune-theme-august .yearly-champ-play {
    background: var(--august-teal);
    color: #FFFFFF;
}

/* =============================================================================
   FONTS - relaxed rounded headings
   ============================================================================= */

.chiptune-theme-august h1,
.chiptune-theme-august h2,
.chiptune-theme-august h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =============================================================================
   SHARED ANIMATIONS
   ============================================================================= */

@keyframes august-gentle-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.85; }
}

/* =============================================================================
   SCROLLBAR - Driftwood rail
   ============================================================================= */

.chiptune-theme-august ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.chiptune-theme-august ::-webkit-scrollbar-track {
    background: #EFEBE9;
    border-radius: 6px;
}

.chiptune-theme-august ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--august-seafoam), var(--august-teal));
    border: 2px solid #EFEBE9;
    border-radius: 6px;
}

.chiptune-theme-august ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--august-coral), var(--august-coral-deep));
}

.chiptune-theme-august .likes-list::-webkit-scrollbar-track {
    background: rgba(239, 235, 233, 0.7);
}

/* =============================================================================
   SELECTION
   ============================================================================= */

.chiptune-theme-august ::selection {
    background: var(--august-teal);
    color: #FFFFFF;
}

/* =============================================================================
   VOTER AVATAR / LINKS / FOOTER
   ============================================================================= */

.chiptune-theme-august .voter-avatar-placeholder {
    background: var(--august-gradient-ocean);
    color: #FFFFFF;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    border: 2px solid #FFFFFF;
}

.chiptune-theme-august a {
    color: #00897B;
    transition: color 0.25s ease;
}

.chiptune-theme-august a:hover {
    color: var(--august-coral-deep);
}

.chiptune-theme-august .chiptune-footer {
    background: rgba(255, 253, 250, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 3px solid var(--august-teal);
    box-shadow: 0 -4px 16px rgba(78, 52, 46, 0.08);
}

.chiptune-theme-august .chiptune-footer,
.chiptune-theme-august .chiptune-footer p,
.chiptune-theme-august .chiptune-footer span {
    color: #795548;
    font-family: 'Quicksand', sans-serif;
}

.chiptune-theme-august .chiptune-footer a {
    color: #00897B;
}

.chiptune-theme-august .chiptune-footer a:hover {
    color: var(--august-coral-deep);
}

/* =============================================================================
   EASTER EGGS
   ============================================================================= */

/* HIGH TIDE (Konami) — a big teal wave sweeps across the whole viewport */
.august-wave-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 140vw;
    pointer-events: none;
    z-index: 9998;
    background:
        radial-gradient(circle 26px at 30px -4px, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 55%, transparent 60%) repeat-x,
        linear-gradient(
            90deg,
            rgba(128, 203, 196, 0.85) 0%,
            rgba(38, 166, 154, 0.85) 45%,
            rgba(0, 137, 123, 0.85) 100%
        );
    background-size: 120px 52px, 100% 100%;
    background-position: 0 0, 0 0;
    transform: translateX(-145vw) skewX(-6deg);
    animation: august-wave-sweep 2.2s ease-in-out forwards;
}

@keyframes august-wave-sweep {
    0%   { transform: translateX(-145vw) skewX(-6deg); }
    45%  { transform: translateX(-20vw) skewX(-6deg); }
    60%  { transform: translateX(-15vw) skewX(-4deg); }
    100% { transform: translateX(105vw) skewX(-6deg); }
}

/* POLAROID SNAP (triple-click a card) — camera flash + photo-develop shake */
.august-flash-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9997;
    background: rgba(255, 255, 255, 0.95);
    animation: august-camera-flash 0.5s ease-out forwards;
}

@keyframes august-camera-flash {
    0%   { opacity: 0.95; }
    100% { opacity: 0; }
}

.song-card.august-polaroid-snap {
    animation: august-polaroid-shake 1.1s ease-in-out;
    z-index: 20;
}

@keyframes august-polaroid-shake {
    0%   { transform: rotate(0deg) scale(1); }
    15%  { transform: rotate(-4deg) scale(1.04); }
    35%  { transform: rotate(3deg) scale(1.04); }
    55%  { transform: rotate(-2deg) scale(1.02); }
    75%  { transform: rotate(1deg) scale(1.01); }
    100% { transform: rotate(0deg) scale(1); }
}

/* NO CONTINUES NEEDED (winner hibiscus) — sunset banner flash */
.august-winner-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(255, 224, 130, 0.25) 0%, transparent 70%);
    animation: august-winner-fade 1.8s ease forwards;
}

@keyframes august-winner-fade {
    0%   { opacity: 0; }
    12%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0; }
}

.august-winner-text {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.4rem, 5vw, 3rem);
    letter-spacing: 1px;
    color: #F9A825;
    text-shadow:
        2px 2px 0 rgba(255, 255, 255, 0.9),
        0 4px 16px rgba(255, 138, 128, 0.6);
    animation: august-winner-text 1.8s ease forwards;
}

@keyframes august-winner-text {
    0%   { transform: scale(0.7) rotate(-3deg); opacity: 0; }
    20%  { transform: scale(1.08) rotate(1deg); opacity: 1; }
    80%  { transform: scale(1) rotate(0deg);    opacity: 1; }
    100% { transform: scale(1) rotate(0deg);    opacity: 0; }
}

/* SEASHELL BOB (day badge) — gentle bounce */
.day-badge.august-shell-bob {
    animation: august-shell-bob 0.5s ease-out;
}

@keyframes august-shell-bob {
    0%   { transform: translateY(0)    scale(1); }
    30%  { transform: translateY(-6px) scale(1.06); }
    60%  { transform: translateY(2px)  scale(0.97); }
    100% { transform: translateY(0)    scale(1); }
}

/* TIDE RIPPLE (background click) — soft expanding rings, like a drop in a tide pool */
.august-ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    margin-top: -5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
    border: 3px solid rgba(38, 166, 154, 0.7);
    box-shadow:
        0 0 0 8px rgba(128, 203, 196, 0.25),
        inset 0 0 10px rgba(128, 203, 196, 0.4);
    animation: august-ripple 1.1s ease-out forwards;
}

@keyframes august-ripple {
    0%   { transform: scale(0.4); opacity: 1; border-width: 4px; }
    100% { transform: scale(18);  opacity: 0; border-width: 1px; }
}

/* =============================================================================
   ACCESSIBILITY - Reduced motion
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .chiptune-theme-august .chiptune-header::after,
    .chiptune-theme-august .song-card.is-playing,
    .chiptune-theme-august .song-card.is-today::after,
    .chiptune-theme-august .song-card-wrapper .song-card::after,
    .chiptune-theme-august .nav-badge.pulse,
    .august-wave-overlay,
    .august-flash-overlay,
    .song-card.august-polaroid-snap,
    .august-winner-flash,
    .august-winner-text,
    .day-badge.august-shell-bob,
    .august-ripple {
        animation: none;
    }

    .chiptune-theme-august .song-card:hover,
    .chiptune-theme-august .stat-card:hover,
    .chiptune-theme-august .hof-card:hover,
    .chiptune-theme-august .vote-btn:hover:not(:disabled),
    .chiptune-theme-august .player-btn.play-pause:hover,
    .chiptune-theme-august .week-nav-btn:hover:not(.disabled),
    .chiptune-theme-august .pause-menu-cta:hover,
    .chiptune-theme-august .play-btn-large:hover,
    .chiptune-theme-august .hof-btn:hover,
    .chiptune-theme-august .theme-banner .theme-link:hover {
        transform: none;
    }
}

/* =============================================================================
   BACKDROP-FILTER FALLBACK
   ============================================================================= */

@supports not (backdrop-filter: blur(1px)) {
    .chiptune-theme-august .chiptune-header,
    .chiptune-theme-august .chiptune-player,
    .chiptune-theme-august .week-nav,
    .chiptune-theme-august .chiptune-footer,
    .chiptune-theme-august .theme-banner,
    .chiptune-theme-august .winner-banner,
    .chiptune-theme-august .month-winner-banner,
    .chiptune-theme-august .champion-card,
    .chiptune-theme-august .pause-menu-content {
        background: #FFFDFA;
    }
}
