/* Fruity Fiesta - CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Outfit:wght@400;600;800&display=swap');

:root {
    --bg-dark:      #120a02;
    --bg-gradient:  linear-gradient(135deg, #1c0e04 0%, #120a02 50%, #1a1204 100%);
    --card-bg:      rgba(180, 100, 20, 0.12);
    --card-border:  rgba(200, 130, 50, 0.28);
    --primary:      #d4641a;
    --primary-glow: rgba(212, 100, 26, 0.45);
    --accent:       #f4a261;
    --accent-glow:  rgba(244, 162, 97, 0.45);
    --green-accent: #52b788;
    --text-light:   #fff3e0;
    --text-dim:     #b09060;
    --font-heading: 'Fredoka One', cursive, sans-serif;
    --font-body:    'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    font-family: var(--font-body);
    color: var(--text-light);
}

/* Fullscreen animated background canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Dot grid overlay */
#bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: -1;
    pointer-events: none;
}

/* App Layout Container */
#game-container {
    position: relative;
    width: 100vw;
    height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,0,0,0.75), 0 0 20px rgba(180,90,20,0.15);
    background: rgba(20, 10, 2, 0.78);
    backdrop-filter: blur(5px);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Header Bar */
#header {
    height: clamp(44px, 8vh, 65px);
    padding: clamp(4px, 1vh, 10px) 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(80,35,5,0.85), rgba(50,20,2,0.85));
    border-bottom: 2px solid rgba(180,100,30,0.40);
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 6px rgba(255, 71, 126, 0.6));
    animation: bounceIcon 2s infinite ease-in-out;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-4deg) rotate(5deg); }
}

.brand-title {
    font-family: var(--font-heading);
    font-size: clamp(16px, 3.5vw, 22px);
    background: linear-gradient(90deg, #f4a261, #e76f51);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.score-board {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4px 10px;
    border-radius: 12px;
    text-align: center;
    min-width: 75px;
}

.score-label {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-weight: 600;
}

.score-value {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Sub-header Controls & Next Fruit Preview */
#sub-header {
    height: clamp(36px, 7vh, 54px);
    padding: clamp(2px, 0.8vh, 6px) 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(60,25,4,0.75), rgba(40,18,2,0.75));
    border-bottom: 1px solid rgba(160,80,20,0.30);
}

.preview-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4px 12px;
    border-radius: 20px;
}

.preview-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
}

#next-canvas {
    width: 36px;
    height: 36px;
}

.controls-group {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-light);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.icon-btn:active {
    transform: scale(0.95);
}

.icon-btn.muted {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Main Canvas Area */
#canvas-wrapper {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Bottom Bar / Shake Powerup */
#bottom-bar {
    height: clamp(36px, 7vh, 56px);
    padding: clamp(2px, 1vh, 8px) 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--card-border);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff477e 0%, #ff1053 100%);
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.action-btn:active {
    transform: translateY(1px);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.8);
}

.action-btn.green {
    background: linear-gradient(135deg, #2ec4b6 0%, #0f9f90 100%);
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.4);
}

/* Modals & Overlays */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 20, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 92%;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: linear-gradient(160deg, rgba(35, 28, 60, 0.97), rgba(20, 15, 38, 0.97));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 71, 126, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto;
}

.modal-card::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #ff477e, #ffb703);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.modal-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--accent);
}

.modal-btn {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #ff477e, #ffb703);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--primary-glow);
    transition: all 0.2s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

/* Fruit Evolution Grid */
.evolution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 4px 0;
    margin-bottom: 14px;
}

.evolution-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 10px 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.evolution-item:hover {
    background: rgba(255, 255, 255, 0.13);
}

.evolution-item canvas {
    width: 50px;
    height: 50px;
}

.evolution-item .fruit-name {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 11px;
}

.evolution-item .pts {
    color: var(--accent);
    font-weight: bold;
    font-size: 12px;
}

/* Floating Combo Badge */
#combo-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: linear-gradient(135deg, #ffb703, #ff0055);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 15px;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.8);
    pointer-events: none;
    z-index: 50;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#combo-badge.show {
    transform: translateX(-50%) scale(1.1);
}

/* ──────────────────────────────────────────────────────────────────────────
   Start Screen Overlay (Matches user reference image)
   ────────────────────────────────────────────────────────────────────────── */
.start-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f7d6a5 0%, #f6bc7d 45%, #f49b49 100%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px 45px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow: hidden;
    border-radius: 0;
}

.start-screen.active {
    opacity: 1;
    pointer-events: auto;
}

/* Translucent Watermark Fruits */
.start-watermarks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wm {
    position: absolute;
    font-size: 56px;
    opacity: 0.12;
    filter: blur(1px);
}
.wm1 { top: 4%;  left: 35%; font-size: 68px; }
.wm2 { top: 28%; left: 8%;  font-size: 80px; }
.wm3 { top: 42%; right: 5%; font-size: 88px; }
.wm4 { bottom: 22%; left: 10%; font-size: 70px; }
.wm5 { bottom: 12%; right: 12%; font-size: 64px; }
.wm6 { top: 60%; left: 40%; font-size: 52px; }

/* 3D Banner Title */
.start-title-container {
    position: relative;
    margin-top: 15px;
    text-align: center;
}

.splash {
    position: absolute;
    font-size: 40px;
    opacity: 0.8;
}
.splash-left { top: -10px; left: -25px; transform: rotate(-20deg); }
.splash-right { top: -10px; right: -25px; transform: rotate(20deg) scaleX(-1); }

.title-fruity {
    position: relative;
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 46px);
    color: #1cc827;
    text-shadow: 
        3px 3px 0 #0a4f0d,
        -3px -3px 0 #0a4f0d,
        3px -3px 0 #0a4f0d,
        -3px 3px 0 #0a4f0d,
        0 5px 0 #0a4f0d,
        0 8px 15px rgba(0,0,0,0.35);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.title-fruit-icon {
    font-size: clamp(28px, 6vw, 38px);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.title-fiesta {
    font-family: var(--font-heading);
    font-size: clamp(44px, 12vw, 64px);
    color: #ffd54f;
    background: linear-gradient(180deg, #ffe082 0%, #ffb74d 50%, #f57c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 0 #a33800) drop-shadow(0 10px 0 #6e2000) drop-shadow(0 14px 18px rgba(0,0,0,0.4));
    margin-top: -12px;
    letter-spacing: 3px;
}

/* Best Score Display */
.start-best-score {
    font-family: var(--font-heading);
    font-size: clamp(20px, 5vw, 28px);
    color: #ffffff;
    -webkit-text-stroke: 2px #d32f2f;
    text-shadow: 0 4px 8px rgba(0,0,0,0.25);
    letter-spacing: 1px;
    margin-top: -6px;
}

/* Big Orange Play Button */
.start-play-btn {
    position: relative;
    width: clamp(105px, 26vw, 140px);
    height: clamp(105px, 26vw, 140px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff8a65 0%, #ff5722 55%, #e64a19 100%);
    border: 4px solid #d84315;
    box-shadow: 
        0 12px 25px rgba(216, 67, 21, 0.45),
        0 6px 0 #bf360c,
        inset 0 4px 8px rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: playPulse 2.4s infinite ease-in-out;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.start-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 
        0 16px 30px rgba(216, 67, 21, 0.6),
        0 8px 0 #bf360c,
        inset 0 4px 8px rgba(255,255,255,0.5);
}

.start-play-btn:active {
    transform: scale(0.96) translateY(4px);
    box-shadow: 
        0 4px 10px rgba(216, 67, 21, 0.4),
        0 2px 0 #bf360c,
        inset 0 2px 4px rgba(0,0,0,0.2);
}

.play-leaf {
    position: absolute;
    top: -18px;
    font-size: clamp(24px, 6vw, 32px);
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.play-arrow {
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 30px solid #4e1d00;
    margin-left: 6px;
    filter: drop-shadow(0 2px 2px rgba(255,255,255,0.3));
}

/* Green Speaker Sound Toggle Button */
.start-sound-btn {
    width: clamp(48px, 12vw, 62px);
    height: clamp(48px, 12vw, 62px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #81c784 0%, #4caf50 60%, #388e3c 100%);
    border: 3px solid #2e7d32;
    box-shadow: 
        0 8px 18px rgba(46, 125, 50, 0.4),
        0 4px 0 #1b5e20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 5vw, 26px);
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.start-sound-btn:hover {
    transform: scale(1.08);
}

.start-sound-btn:active {
    transform: scale(0.95) translateY(2px);
}

/* ──────────────────────────────────────────────────────────────────────────
   Mobile Responsiveness & Safe Area Insets
   ────────────────────────────────────────────────────────────────────────── */

/* Container and Canvas Touch Prevention */
#canvas-wrapper, #game-canvas {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ── Small Width Mobile (< 400px) ─────────────────── */
@media (max-width: 400px) {
    .score-box { padding: 2px 6px; min-width: 60px; }
    .score-label { font-size: 8px; }
    .score-value { font-size: 13px; }
    .icon-btn { width: 28px; height: 28px; font-size: 13px; gap: 6px; }
    .controls-group { gap: 5px; }
    .action-btn { padding: 6px 14px; font-size: 12px; }
    #next-canvas { width: 28px; height: 28px; }
    .preview-label { font-size: 10px; }
}

/* ── Landscape / Short Height (< 500px tall) ──────── */
@media (max-height: 500px) {
    /* Collapse all bars aggressively */
    #header    { height: 36px !important; padding: 2px 12px !important; }
    #sub-header { height: 30px !important; padding: 1px 12px !important; }
    #bottom-bar { height: 30px !important; padding: 1px 12px !important; }

    .brand-title { font-size: 14px !important; }
    .brand-icon  { font-size: 15px !important; }
    .score-box   { padding: 1px 6px !important; min-width: 48px !important; }
    .score-label { font-size: 7px !important; }
    .score-value { font-size: 12px !important; }
    .icon-btn    { width: 24px !important; height: 24px !important; font-size: 12px !important; }
    .controls-group { gap: 4px !important; }
    #next-canvas { width: 22px !important; height: 22px !important; }
    .preview-label { font-size: 9px !important; }
    .action-btn  { padding: 4px 12px !important; font-size: 11px !important; }

    /* Start screen → horizontal layout */
    .start-screen {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 8px 16px !important;
    }
    .start-watermarks { display: none !important; }
    .start-title-container {
        margin-top: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .splash { display: none !important; }
    .title-fruity  { font-size: 20px !important; letter-spacing: 1px !important; }
    .title-fiesta  { font-size: 28px !important; margin-top: -4px !important; letter-spacing: 1px !important; }
    .title-fruit-icon { font-size: 16px !important; }
    .start-best-score {
        font-size: 13px !important;
        margin-top: 4px !important;
        -webkit-text-stroke: 1px #d32f2f !important;
    }
    .start-play-btn {
        width: 72px !important;
        height: 72px !important;
        animation: none !important;
    }
    .play-leaf  { font-size: 16px !important; top: -10px !important; }
    .play-arrow {
        border-top-width: 10px !important;
        border-bottom-width: 10px !important;
        border-left-width: 17px !important;
        margin-left: 4px !important;
    }
    .start-sound-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        border-width: 2px !important;
    }
}

/* ── Very short (< 320px) ─────────────────────────── */
@media (max-height: 320px) {
    #header    { height: 28px !important; padding: 1px 10px !important; }
    #sub-header { height: 24px !important; padding: 1px 10px !important; }
    #bottom-bar { height: 24px !important; padding: 0px 10px !important; }
    .action-btn { padding: 2px 10px !important; font-size: 10px !important; }
    .icon-btn   { width: 20px !important; height: 20px !important; font-size: 10px !important; }
    .title-fruity  { font-size: 16px !important; }
    .title-fiesta  { font-size: 22px !important; }
    .start-best-score { font-size: 11px !important; }
    .start-play-btn { width: 54px !important; height: 54px !important; }
    .start-sound-btn { width: 30px !important; height: 30px !important; font-size: 13px !important; }
}


/* Mobile Devices (Narrow screen width < 420px) */
@media (max-width: 420px) {
    #header {
        height: 54px;
        padding: 4px 10px;
    }
    
    .brand-title {
        font-size: 18px;
    }
    
    .brand-icon {
        font-size: 19px;
    }

    .score-box {
        padding: 2px 8px;
        min-width: 65px;
    }

    .score-label {
        font-size: 8px;
    }

    .score-value {
        font-size: 14px;
    }

    #sub-header {
        height: 44px;
        padding: 2px 10px;
    }

    .preview-container {
        padding: 2px 8px;
        gap: 6px;
    }

    .preview-label {
        font-size: 10px;
    }

    #next-canvas {
        width: 30px;
        height: 30px;
    }

    .icon-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    #bottom-bar {
        height: 48px;
        padding: 4px 10px;
    }

    .action-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Short height mobile screens (< 640px height) */
@media (max-height: 640px) {
    .start-screen {
        padding: 16px 14px 20px;
    }

    #header {
        height: 48px;
    }

    #sub-header {
        height: 42px;
    }

    #bottom-bar {
        height: 44px;
    }
}

/* Landscape Mode for Mobile Devices */
@media (orientation: landscape) and (max-height: 500px) {
    #game-container {
        max-width: 100vw;
        height: 100dvh;
    }

    .start-screen {
        padding: 12px 16px;
    }

    .title-fruity { font-size: 28px; }
    .title-fiesta { font-size: 36px; margin-top: -6px; }
    .start-best-score { font-size: 18px; margin-top: 0; }
    .start-play-btn { width: 85px; height: 85px; }
    .play-arrow { border-top-width: 14px; border-bottom-width: 14px; border-left-width: 22px; }
    .start-sound-btn { width: 42px; height: 42px; font-size: 18px; }
}

/* Extreme short height (e.g., height < 450px, e.g. 265px viewports) */
@media (max-height: 450px) {
    #header {
        height: 38px !important;
        padding: 2px 10px !important;
    }

    .brand-title {
        font-size: 15px !important;
    }

    .brand-icon {
        font-size: 16px !important;
    }

    .score-box {
        padding: 1px 6px !important;
        min-width: 50px !important;
    }

    .score-label {
        font-size: 7px !important;
    }

    .score-value {
        font-size: 13px !important;
    }

    #sub-header {
        height: 32px !important;
        padding: 2px 10px !important;
    }

    .preview-container {
        padding: 1px 6px !important;
        gap: 4px !important;
    }

    .preview-label {
        font-size: 9px !important;
    }

    #next-canvas {
        width: 24px !important;
        height: 24px !important;
    }

    .icon-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 12px !important;
    }

    #bottom-bar {
        height: 34px !important;
        padding: 2px 8px !important;
    }

    .action-btn {
        padding: 5px 16px !important;
        font-size: 12px !important;
    }

    /* Start Screen Ultra-Compact */
    .start-screen {
        padding: 8px 12px !important;
        justify-content: space-around !important;
    }

    .title-fruity {
        font-size: 22px !important;
    }

    .title-fiesta {
        font-size: 28px !important;
        margin-top: -4px !important;
    }

    .title-fruit-icon {
        font-size: 18px !important;
    }

    .splash {
        font-size: 20px !important;
    }

    .start-best-score {
        font-size: 14px !important;
        margin-top: -6px !important;
        -webkit-text-stroke: 1px #d32f2f !important;
    }

    .start-play-btn {
        width: 65px !important;
        height: 65px !important;
        border-width: 3px !important;
    }

    .play-arrow {
        border-top-width: 9px !important;
        border-bottom-width: 9px !important;
        border-left-width: 15px !important;
        margin-left: 4px !important;
    }

    .play-leaf {
        font-size: 18px !important;
        top: -10px !important;
    }

    .start-sound-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        border-width: 2px !important;
    }

    .wm {
        font-size: 32px !important;
    }
}

/* Super short screens (height < 300px, e.g. 265px) */
@media (max-height: 300px) {
    #header { height: 30px !important; }
    #sub-header { height: 26px !important; }
    #bottom-bar { height: 26px !important; }
    .action-btn { padding: 3px 12px !important; font-size: 10px !important; }
    .start-screen { padding: 4px 8px !important; }
    .title-fruity { font-size: 18px !important; }
    .title-fiesta { font-size: 22px !important; }
    .start-best-score { font-size: 12px !important; }
    .start-play-btn { width: 48px !important; height: 48px !important; }
    .start-sound-btn { width: 28px !important; height: 28px !important; font-size: 12px !important; }
}




