/*
================================================================
NEW PAGE STYLES
================================================================
This file contains theme overrides for the display.
The 'standard' style is defined in wonderful_window_display.css
*/

/* --- Google Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Oswald:wght@700&display=swap'); /* Traditional */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); /* Modern */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Playfair+Display:wght@700&display=swap'); /* Rustic */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap'); /* Minimalistic */


/* ======================================== */
/* === 0. DISPLAY STYLE: STANDARD === */
/* ======================================== */
/* This is the default style, formerly 'simple' */
/* NOTE: Base 'standard' styles are in wonderful_window_display.css */
/* This file provides overrides for OTHER themes */
/* But... the user's file has standard here. I will match. */

.display-style--standard .wait-time-sign-wrapper {
    display: flex; /* Hidden by default, shown by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f2937; /* gray-800 */
    border-radius: 20px;
    padding: 1rem 2rem; /* Adjusted padding */
    width: auto; /* UPDATED: Let content define width */
    max-width: 90%; /* UPDATED: Max width relative to container */
    min-width: 180px; /* UPDATED: Min width */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 4px solid #374151; /* gray-700 */
}

.display-style--standard .wait-time-number {
    font-size: clamp(5rem, 25vw, 20rem); /* Increased max back to 20rem */
    line-height: 1;
    font-weight: 800;
}

.display-style--standard .wait-time-label {
    font-size: clamp(1.5rem, 7vw, 3rem); /* Reduced max */
    font-weight: 600;
    color: #9ca3af; /* gray-400 */
    margin-top: -0.5rem;
    letter-spacing: 0.1em;
}

.display-style--standard .wait-time-status-display {
    display: none; /* Hidden by default, shown by JS */
    font-size: clamp(2.5rem, 12vw, 6rem); /* Reduced max */
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #f59e0b; /* amber-500 */
}

/* RIDE NAME TRUNCATION (Applies to ride-name-display) */
.display-style--standard .ride-name-display {
    font-size: clamp(1.5rem, 6vw, 4rem); /* Reduced max */
    line-height: 1.1;
    font-weight: 600;
    width: auto; /* Width is auto */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    text-transform: none;
    letter-spacing: normal;
    
    /* Ride-specific truncation */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    -webkit-box-pack: center;
}

/* WELCOME MESSAGE (No truncation by default, full display) */
.display-style--standard .welcome-message-display {
    /* Inherits general styles, but overrides truncation */
    font-size: clamp(1.5rem, 6vw, 4rem);
    line-height: 1.1;
    font-weight: 600;
    width: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    text-align: center;
    -webkit-box-pack: center;

    /* FIXED: Override truncation settings for welcome message */
    -webkit-line-clamp: unset !important; 
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal;
    height: auto;
    display: block !important; /* Ensure it's block display for full width/height */
}


/* --- Responsive Layout for Small Screens (PORTRAIT) --- */
@media (max-width: 500px) {
    /* Adjust fonts for very small screens (Standard) */
    .display-style--standard .ride-name-display,
    .display-style--standard .welcome-message-display { /* NEW */
        font-size: clamp(1.25rem, 5vw, 1.75rem); /* Adjusted for 500px */
        margin-bottom: 0.5rem; /* Tighter spacing */
    }
    .display-style--standard .wait-time-number {
        font-size: clamp(3rem, 18vw, 6rem); /* Adjusted for 500px */
    }
    .display-style--standard .wait-time-label {
        font-size: clamp(1rem, 4vw, 1.5rem); /* Adjusted for 500px */
    }
    .display-style--standard .wait-time-status-display {
        font-size: clamp(1.75rem, 10vw, 3rem); /* Adjusted for 500px */
    }
    .display-style--standard .wait-time-sign-wrapper {
        min-width: 150px;
        padding: 0.75rem 1rem;
    }
}

/* --- Responsive Layout for Short Screens (LANDSCAPE) --- */
@media (max-height: 500px) {
    /* Shrink fonts and padding for landscape phones (Standard) */
    .display-style--standard .ride-name-display,
    .display-style--standard .welcome-message-display { /* NEW */
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    .display-style--standard .wait-time-number {
        font-size: 4rem;
    }
    .display-style--standard .wait-time-label {
        font-size: 1rem;
    }
    .display-style--standard .wait-time-status-display {
        font-size: 2.5rem;
    }
    .display-style--standard .wait-time-sign-wrapper {
        min-width: 150px;
        padding: 0.5rem 1rem;
    }
}


/* Countdown: Standard Style */
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--standard,
.welcome-countdown-timer.display-style--standard {
    background-color: #1f2937; /* gray-800 */
    border: 2px solid #374151; /* gray-700 */
}
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--standard.countdown-pos--top,
.welcome-countdown-timer.display-style--standard.countdown-pos--top {
    border-top: 2px solid #374151; /* Restore border */
    border-radius: 1.5rem;
}
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--standard.countdown-pos--bottom,
.welcome-countdown-timer.display-style--standard.countdown-pos--bottom {
    border-bottom: 2px solid #374151; /* Restore border */
    border-radius: 1.5rem;
}
.display-style--standard .countdown-title {
    font-size: clamp(0.7rem, 1.5vw, 1rem); /* Shrunk */
    color: #9ca3af; /* gray-400 */
    letter-spacing: 0.05em;
}
.display-style--standard .countdown-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem); /* Shrunk */
    color: white;
}
.display-style--standard .countdown-label {
    font-size: clamp(0.65rem, 1.25vw, 0.8rem); /* Shrunk */
    color: #9ca3af;
    text-transform: uppercase;
}

/* NEW: Override Welcome Message to have a box */
.display-style--standard .welcome-message-display {
    background-color: #1f2937; /* gray-800 */
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 4px solid #374151; /* gray-700 */
    
    /* Override ride-name-display defaults */
    width: auto;
    max-width: 90%;
}


/* ======================================== */
/* === 1. DISPLAY STYLE: TRADITIONAL === */
/* ======================================== */

/* This is the main sign container (the blue/gold box) */
/* This style is applied to the .wait-time-container itself */
.display-style--traditional .wait-time-container {
    background-color: #0c234b; /* Dark Navy Blue */
    border: 10px solid #a67c00; /* Dark Gold */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,0,0,0.4);
    /* width/height/max-width are now set by layout JS */
    max-height: 90%;
    padding: 1.5rem 1rem;
    /* FIXED: Ensure flex properties match preview */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Traditional Ride Title (Gold text) */
.display-style--traditional .ride-name-display {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-weight: 700;
    width: 100%; /* Width is 100% *of its parent sign* */
    color: #e6c66e; /* Gold */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Remove standard style */
    background-color: transparent;
    border: none;
    padding: 0.5rem;

    /* === 2-LINE TRUNCATION (Ride-specific) === */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* ================================ */
    text-align: center;
    -webkit-box-pack: center; /* ADDED */
}

/* Traditional Welcome Message (No truncation) */
.display-style--traditional .welcome-message-display {
    /* Inherits general styles, but overrides truncation */
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-weight: 700;
    width: auto; 
    color: #e6c66e; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    padding: 0.5rem;
    text-align: center;
    -webkit-box-pack: center;

    /* FIXED: Override truncation settings for welcome message */
    -webkit-line-clamp: unset !important; 
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal;
    height: auto;
    display: block !important;
}


/* Add "Wait time" text before the box */
.display-style--traditional .wait-time-container::before {
    content: 'Wait time';
    order: 1; /* Puts it first */
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 5vw, 3rem);
    color: #e6c66e;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* This is the white box */
.display-style--traditional .wait-time-sign-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Off-white */
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    width: auto;
    min-width: 100px;
    max-width: 80%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid #555;
    order: 2; /* Puts it second */
}

/* This is the number inside the white box */
.display-style--traditional .wait-time-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 20vw, 15rem);
    line-height: 1;
    font-weight: 700;
    color: #0c234b; /* Dark Blue */
    text-shadow: none;
}
/* Override colors to all be dark blue */
.display-style--traditional .wait-time-number.text-green-400,
.display-style--traditional .wait-time-number.text-yellow-400,
.display-style--traditional .wait-time-number.text-red-500,
.display-style--traditional .wait-time-number.text-gray-400 {
    color: #0c234b;
    text-shadow: none;
}

/* Hide the "MIN" label */
.display-style--traditional .wait-time-label {
    display: none;
}

/* Add "minutes from this point" text after the box */
.display-style--traditional .wait-time-container::after {
    content: 'minutes from this point';
    order: 3; /* Puts it third */
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 5vw, 3rem);
    color: #e6c66e;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Traditional Status Display (e.g., "DOWN") */
.display-style--traditional .wait-time-status-display {
    display: none; /* Hidden by default, shown by JS */
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #e6c66e; /* Gold */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    order: 2; /* Takes the place of the sign wrapper */
}

/* Hide helper text when status is active */
.display-style--traditional .wait-time-container.status-mode::before,
.display-style--traditional .wait-time-container.status-mode::after {
    display: none;
}
/* Ensure status shows correctly */
.display-style--traditional .wait-time-container.status-mode .wait-time-status-display {
    display: block;
}
.display-style--traditional .wait-time-container.status-mode .wait-time-sign-wrapper {
    display: none;
}

/* --- Responsive Layout for Small Screens (PORTRAIT) --- */
@media (max-width: 500px) {
    /* Adjust fonts for very small screens (Traditional) */
    .display-style--traditional .wait-time-container {
        padding: 0.5rem; /* Tighter padding for the sign */
        border-width: 5px;
    }
    .display-style--traditional .ride-name-display,
    .display-style--traditional .welcome-message-display { /* NEW */
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        padding: 0.25rem;
    }
    .display-style--traditional .wait-time-container::before,
    .display-style--traditional .wait-time-container::after {
        font-size: clamp(0.875rem, 3vw, 1.25rem);
    }
    .display-style--traditional .wait-time-number {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }
    .display-style--traditional .wait-time-sign-wrapper {
        min-width: 80px;
        padding: 0.25rem 1rem;
    }
    .display-style--traditional .wait-time-status-display {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
}

/* --- Responsive Layout for Short Screens (LANDSCAPE) --- */
@media (max-height: 500px) {
    /* Shrink fonts and padding for landscape phones (Traditional) */
    .display-style--traditional .wait-time-container {
        padding: 1rem 0.5rem; /* Tighter padding for the sign */
        border-width: 5px;
    }
    .display-style--traditional .ride-name-display,
    .display-style--traditional .welcome-message-display { /* NEW */
        font-size: 1.25rem;
        padding: 0.25rem;
    }
     .display-style--traditional .wait-time-container::before,
    .display-style--traditional .wait-time-container::after {
        font-size: 0.875rem;
    }
    .display-style--traditional .wait-time-number {
        font-size: 3rem;
    }
     .display-style--traditional .wait-time-sign-wrapper {
        min-width: 80px;
        padding: 0.25rem 1rem;
    }
    .display-style--traditional .wait-time-status-display {
        font-size: 2rem;
    }
}

/* Countdown: Traditional Style */
/* This selector is correct as JS adds the class directly */
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--traditional,
.welcome-countdown-timer.display-style--traditional {
    background-color: #0c234b; /* Dark Navy Blue */
    border: 5px solid #a67c00; /* Dark Gold */
}
.display-style--traditional .countdown-title {
    color: #e6c66e; /* Gold */
    font-weight: 700;
}
.display-style--traditional .countdown-number {
    color: #e6c66e; /* Gold */
    font-weight: 700;
}
.display-style--traditional .countdown-label {
    color: white;
    font-weight: 400;
}

/* NEW: Override Welcome Message to have a box */
.display-style--traditional .welcome-message-display {
    background-color: #0c234b; /* Dark Navy Blue */
    border: 10px solid #a67c00; /* Dark Gold */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,0,0,0.4);
    padding: 1.5rem 1rem;
    
    /* Override ride-name-display defaults */
    width: auto; /* Override ride-name-display's width: 100% */
    max-width: 90%;
}


/* ======================================== */
/* === 2. DISPLAY STYLE: MODERN === */
/* ======================================== */

/* --- Fonts --- */
.display-style--modern .ride-name-display,
.display-style--modern .welcome-message-display, /* NEW */
.display-style--modern .wait-time-number,
.display-style--modern .wait-time-label,
.display-style--modern .wait-time-status-display,
.display-style--modern .countdown-title,
.display-style--modern .countdown-number,
.display-style--modern .countdown-label {
    font-family: 'Poppins', sans-serif;
}

/* --- Ride Name --- */
.display-style--modern .ride-name-display {
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-size: clamp(1.5rem, 6vw, 4rem);
    /* Remove standard styles */
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    text-align: center;
    /* ADDED for line clamping and centering */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-pack: center;
}

/* --- Welcome Message (No truncation) --- */
.display-style--modern .welcome-message-display { 
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-size: clamp(1.5rem, 6vw, 4rem);
    padding: 0.5rem 1rem;
    text-align: center;
    -webkit-box-pack: center;

    /* FIXED: Override truncation settings for welcome message */
    -webkit-line-clamp: unset !important; 
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal;
    height: auto;
    display: block !important;
}

/* --- Wait Time Sign --- */
.display-style--modern .wait-time-sign-wrapper {
    /* --- EDITED: Added flex properties --- */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* --- End Edits --- */
    background-color: rgba(20, 20, 30, 0.7); /* Semi-transparent dark blue */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    min-width: 200px;
}
.display-style--modern .wait-time-number {
    font-weight: 700;
    color: white;
    font-size: clamp(5rem, 25vw, 20rem);
    text-shadow: none;
}
.display-style--modern .wait-time-label {
    font-weight: 400;
    color: #a7a7b0; /* Light gray */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: clamp(1.25rem, 6vw, 2.5rem);
    margin-top: -0.5rem;
}
.display-style--modern .wait-time-status-display {
    font-weight: 600;
    color: #34d399; /* Emerald-400 */
    font-size: clamp(2.5rem, 12vw, 6rem);
}

/* --- Countdown --- */
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--modern,
.welcome-countdown-timer.display-style--modern {
    background-color: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.display-style--modern .countdown-title {
    color: #a7a7b0;
    font-weight: 400;
}
.display-style--modern .countdown-number {
    color: white;
    font-weight: 600;
}
.display-style--modern .countdown-label {
    color: #a7a7b0;
    font-weight: 400;
}

/* NEW: Override Welcome Message to have a box */
.display-style--modern .welcome-message-display {
    background-color: rgba(20, 20, 30, 0.7); /* Semi-transparent dark blue */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Override ride-name-display defaults */
    width: auto;
    max-width: 90%;
}


/* ======================================== */
/* === 3. DISPLAY STYLE: RUSTIC === */
/* ======================================== */

/* --- Fonts --- */
.display-style--rustic .ride-name-display,
.display-style--rustic .welcome-message-display { /* NEW */
     font-family: 'Playfair Display', serif;
}
.display-style--rustic .wait-time-number,
.display-style--rustic .wait-time-label,
.display-style--rustic .wait-time-status-display,
.display-style--rustic .countdown-title,
.display-style--rustic .countdown-number,
.display-style--rustic .countdown-label {
    font-family: 'Merriweather', serif;
}

/* --- Ride Name --- */
.display-style--rustic .ride-name-display {
    font-weight: 700;
    color: #f0e6d2; /* Beige */
    text-shadow: 2px 2px 4px #3a2b1a; /* Dark brown shadow */
    font-size: clamp(1.75rem, 6vw, 4.25rem);
    /* Remove standard styles */
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    text-align: center;
    /* ADDED for line clamping and centering */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-pack: center;
}

/* --- Welcome Message (No truncation) --- */
.display-style--rustic .welcome-message-display { 
    font-weight: 700;
    color: #f0e6d2;
    text-shadow: 2px 2px 4px #3a2b1a; 
    font-size: clamp(1.75rem, 6vw, 4.25rem);
    padding: 0.5rem 1rem;
    text-align: center;
    -webkit-box-pack: center;

    /* FIXED: Override truncation settings for welcome message */
    -webkit-line-clamp: unset !important; 
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal;
    height: auto;
    display: block !important;
}

/* --- Wait Time Container --- */
/* This style is applied to the .wait-time-container itself */
.display-style--rustic .wait-time-container {
    background-color: #5d4037; /* Brown-700 */
    border: 8px solid #3e2723; /* Brown-900 */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 0 10px #3a2b1a;
    padding: 1rem;
    min-width: 250px;
}

/* --- Wait Time Sign --- */
.display-style--rustic .wait-time-sign-wrapper {
    background-color: #fdfaf6; /* Off-white / Parchment */
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    border: 2px solid #a1887f; /* Brown-300 */
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
.display-style--rustic .wait-time-number {
    font-weight: 700;
    color: #4e342e; /* Brown-800 */
    font-size: clamp(5rem, 25vw, 20rem);
    text-shadow: none;
}
/* Override colors */
.display-style--rustic .wait-time-number.text-green-400,
.display-style--rustic .wait-time-number.text-yellow-400,
.display-style--rustic .wait-time-number.text-red-500,
.display-style--rustic .wait-time-number.text-gray-400 {
    color: #4e342e;
    text-shadow: none;
}
.display-style--rustic .wait-time-label {
    font-weight: 400;
    color: #4e342e;
    font-size: clamp(1.5rem, 7vw, 3rem);
    margin-top: -0.5rem;
}
.display-style--rustic .wait-time-status-display {
    font-weight: 700;
    color: #f0e6d2; /* Beige */
    font-size: clamp(2.5rem, 12vw, 6rem);
}

/* --- Countdown --- */
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--rustic,
.welcome-countdown-timer.display-style--rustic {
    background-color: #5d4037;
    border: 4px solid #3e2723;
}
.display-style--rustic .countdown-title {
    color: #f0e6d2;
    font-weight: 700;
}
.display-style--rustic .countdown-number {
    color: #fdfaf6;
    font-weight: 700;
}
.display-style--rustic .countdown-label {
    color: #f0e6d2;
    font-weight: 400;
}

/* NEW: Override Welcome Message to have a box */
.display-style--rustic .welcome-message-display {
    background-color: #5d4037; /* Brown-700 */
    border: 8px solid #3e2723; /* Brown-900 */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 0 10px #3a2b1a;
    padding: 1rem;
    
    /* Override ride-name-display defaults */
    width: auto;
    max-width: 90%;
}


/* ======================================== */
/* === 4. DISPLAY STYLE: MINIMALISTIC === */
/* ======================================== */

/* --- Fonts --- */
.display-style--minimalistic .ride-name-display,
.display-style--minimalistic .welcome-message-display, /* NEW */
.display-style--minimalistic .wait-time-number,
.display-style--minimalistic .wait-time-label,
.display-style--minimalistic .wait-time-status-display,
.display-style--minimalistic .countdown-title,
.display-style--minimalistic .countdown-number,
.display-style--minimalistic .countdown-label {
    font-family: 'Lato', sans-serif;
}

/* --- Ride Name --- */
.display-style--minimalistic .ride-name-display {
    font-weight: 700;
    font-size: clamp(1.75rem, 6vw, 4.5rem);
    color: #ffffff;
    text-shadow: none;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    text-align: center;
    /* ADDED for line clamping and centering */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-pack: center;
}

/* --- Welcome Message (No truncation) --- */
.display-style--minimalistic .welcome-message-display {
    font-weight: 700;
    font-size: clamp(1.75rem, 6vw, 4.5rem);
    color: #ffffff;
    text-shadow: none;
    padding: 0.5rem 1rem;
    text-align: center;
    -webkit-box-pack: center;

    /* FIXED: Override truncation settings for welcome message */
    -webkit-line-clamp: unset !important; 
    overflow: visible !important;
    text-overflow: initial !important;
    white-space: normal;
    height: auto;
    display: block !important;
}

/* --- Wait Time Sign --- */
.display-style--minimalistic .wait-time-sign-wrapper {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.display-style--minimalistic .wait-time-number {
    font-weight: 300;
    font-size: clamp(6rem, 28vw, 22rem); /* Larger font */
    color: #ffffff;
    text-shadow: none;
}
.display-style--minimalistic .wait-time-label {
    font-weight: 400;
    color: #b0b0b0; /* Light gray */
    font-size: clamp(1.5rem, 7vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: -1rem; /* Pull up closer */
}
.display-style--minimalistic .wait-time-status-display {
    font-weight: 400;
    font-size: clamp(3rem, 13vw, 7rem);
    color: #b0b0b0;
    text-transform: uppercase;
}

/* --- Countdown --- */
/* NEW: Added .welcome-countdown-timer */
.countdown-timer.display-style--minimalistic,
.welcome-countdown-timer.display-style--minimalistic {
    background-color: transparent;
    border: 1px solid #ffffff;
    box-shadow: none;
    padding: 0.5rem 1.5rem;
}
.display-style--minimalistic .countdown-title {
    color: #b0b0b0;
    font-weight: 400;
}
.display-style--minimalistic .countdown-number {
    color: #ffffff;
    font-weight: 700;
}
.display-style--minimalistic .countdown-label {
    color: #b0b0b0;
    font-weight: 400;
}

/* REMOVED: Global welcome-message-display override block as it's now handled by specific style blocks */
/*
.welcome-message-display,
#wizard-preview-welcome-message-display {
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
    height: auto;
}
*/