/* ============================================================
   YAMANARA LIVE BIDDING STUDIO - v2.0
   Full Mobile Friendly • A4 Landscape Frame • Orange White Luxury
   ============================================================ */

/* ============================================================
   RESET & BASE - Full Screen No Overflow
   ============================================================ */
.yamanara-live-bidding-page {
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 50%, #FFF3E0 100%) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh !important;
}

.yamanara-live-bidding-page #wpadminbar,
.yamanara-live-bidding-page .site-header,
.yamanara-live-bidding-page .site-footer,
.yamanara-live-bidding-page header,
.yamanara-live-bidding-page footer,
.yamanara-live-bidding-page .sidebar,
.yamanara-live-bidding-page .breadcrumb,
.yamanara-live-bidding-page .navigation,
.yamanara-live-bidding-page .menu,
.yamanara-live-bidding-page .cookie-notice,
.yamanara-live-bidding-page .popup,
.yamanara-live-bidding-page .ast-mobile-header,
.yamanara-live-bidding-page .main-header-bar-wrap {
    display: none !important;
}

.yamanara-live-bidding-page .site-content,
.yamanara-live-bidding-page .content-area,
.yamanara-live-bidding-page main,
.yamanara-live-bidding-page #content,
.yamanara-live-bidding-page .entry-content,
.yamanara-live-bidding-page #primary,
.yamanara-live-bidding-page .ast-container,
.yamanara-live-bidding-page .site,
.yamanara-live-bidding-page #page {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 100vh !important;
}

.yamanara-live-bidding-page * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.yamanara-live-bidding-page img {
    max-width: 100%;
    height: auto;
}

/* Main wrapper */
.yamanara-live-bidding {
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 30%, #FFFFFF 70%, #FFF5E6 100%);
}

/* ============================================================
   START OVERLAY - Orange White Luxury
   ============================================================ */
.ylb-start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(255, 107, 0, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 50%, #FFEEDB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.ylb-start-inner {
    text-align: center;
    color: #1a1a1a;
    width: 100%;
    max-width: 500px;
}

.ylb-start-logo {
    margin-bottom: 40px;
}

.ylb-logo-icon {
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
    border-radius: clamp(16px, 4vw, 24px);
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 40%, #FFA726 70%, #FFB74D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 900;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 
        0 20px 60px rgba(255, 107, 0, 0.35),
        0 8px 20px rgba(255, 107, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.ylb-logo-icon.large {
    width: clamp(100px, 25vw, 150px);
    height: clamp(100px, 25vw, 150px);
    font-size: clamp(48px, 10vw, 80px);
}

.ylb-start-logo h1 {
    font-size: clamp(28px, 7vw, 52px);
    font-weight: 900;
    letter-spacing: clamp(2px, 0.8vw, 8px);
    margin: 0 0 8px;
    background: linear-gradient(135deg, #FF6B00, #E65100);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.ylb-start-logo p {
    font-size: clamp(12px, 3vw, 18px);
    letter-spacing: clamp(2px, 0.5vw, 6px);
    color: #FF6B00;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

.ylb-waiting-subtitle {
    font-size: clamp(12px, 3vw, 16px) !important;
    letter-spacing: clamp(2px, 0.5vw, 6px) !important;
    color: #888 !important;
    margin-top: 4px !important;
}

.ylb-start-info {
    margin-bottom: 36px;
}

.ylb-start-count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(16px, 4vw, 24px) clamp(32px, 8vw, 50px);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: clamp(12px, 3vw, 16px);
}

.ylb-start-number {
    font-size: clamp(36px, 9vw, 56px);
    font-weight: 900;
    color: #FF6B00;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ylb-start-label {
    font-size: clamp(10px, 2.5vw, 12px);
    letter-spacing: clamp(1px, 0.3vw, 3px);
    color: #E65100;
    margin-top: 8px;
    font-weight: 700;
}

.ylb-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(14px, 3.5vw, 20px) clamp(32px, 8vw, 50px);
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    color: #fff;
    font-size: clamp(14px, 3.5vw, 20px);
    font-weight: 800;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 40px rgba(255, 107, 0, 0.4),
        0 4px 12px rgba(255, 107, 0, 0.2);
    width: 100%;
    max-width: 320px;
}

.ylb-start-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(255, 107, 0, 0.5),
        0 6px 18px rgba(255, 107, 0, 0.3);
}

.ylb-start-btn:active {
    transform: translateY(0) scale(0.98);
}

.ylb-play-icon {
    font-size: clamp(12px, 3vw, 16px);
}

.ylb-start-hint {
    color: #888;
    font-size: clamp(11px, 2.5vw, 13px);
    margin-top: 16px;
}

/* ============================================================
   MAIN CONTAINER - Orange White Luxury
   ============================================================ */
.ylb-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: 
        radial-gradient(ellipse at top, rgba(255, 107, 0, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 20%, #FFFFFF 60%, #FFF5E6 100%);
    color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
}

/* ============================================================
   HEADER - Orange White Luxury
   ============================================================ */
.ylb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(10px, 2vw, 16px) clamp(14px, 3vw, 28px);
    background: linear-gradient(180deg, #FF6B00 0%, #E65100 100%);
    border-bottom: 3px solid #BF360C;
    box-shadow: 
        0 4px 20px rgba(255, 107, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.ylb-header-left {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 14px);
    min-width: 0;
}

.ylb-logo-mini {
    width: clamp(32px, 7vw, 42px);
    height: clamp(32px, 7vw, 42px);
    border-radius: clamp(8px, 2vw, 10px);
    background: linear-gradient(135deg, #FFFFFF, #FFE0B2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 900;
    color: #E65100;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.ylb-header-title h2 {
    font-size: clamp(12px, 3vw, 18px);
    font-weight: 800;
    margin: 0;
    letter-spacing: clamp(0.5px, 0.2vw, 2px);
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ylb-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: fit-content;
}

.ylb-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(4px, 1vw, 8px) clamp(12px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
}

.ylb-live-dot {
    width: clamp(8px, 2vw, 10px);
    height: clamp(8px, 2vw, 10px);
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: ylbLivePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ylbLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 clamp(4px, 1vw, 8px) rgba(255, 255, 255, 0); }
}

.ylb-live-text {
    font-size: clamp(10px, 2.5vw, 13px);
    font-weight: 800;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-header-right {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
    flex-shrink: 0;
}

.ylb-property-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: clamp(4px, 1vw, 8px) clamp(10px, 2vw, 16px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: clamp(8px, 2vw, 10px);
}

.ylb-counter-current {
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 900;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-counter-sep {
    font-size: clamp(12px, 3vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.ylb-counter-total {
    font-size: clamp(12px, 3vw, 16px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
}

.ylb-controls {
    display: flex;
    gap: clamp(4px, 1vw, 6px);
}

.ylb-ctrl-btn {
    width: clamp(30px, 7vw, 38px);
    height: clamp(30px, 7vw, 38px);
    border-radius: clamp(6px, 1.5vw, 8px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: clamp(14px, 3.5vw, 18px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* ============================================================
   MAIN CONTENT - Responsive Grid
   ============================================================ */
.ylb-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(12px, 2.5vw, 24px);
    padding: clamp(12px, 2.5vw, 24px);
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablet */
@media (max-width: 1024px) {
    .ylb-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .ylb-main {
        padding: 12px;
        gap: 12px;
    }
}

/* ============================================================
   IMAGE AREA - A4 LANDSCAPE FRAME (Fixed Aspect Ratio)
   ============================================================ */
.ylb-image-area {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10; /* A4 Landscape feel, fixed ratio - never changes */
    border-radius: clamp(12px, 2.5vw, 20px);
    overflow: hidden;
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 50%, #FFB74D 100%);
    box-shadow: 
        0 15px 50px rgba(255, 107, 0, 0.25),
        0 6px 18px rgba(255, 107, 0, 0.15),
        0 0 0 clamp(3px, 0.6vw, 6px) #FFFFFF,
        0 0 0 clamp(5px, 1vw, 10px) #FF6B00;
    flex-shrink: 0;
}

.ylb-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.ylb-property-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: ylbKenBurns 20s ease-in-out infinite alternate;
}

.ylb-property-img.active {
    opacity: 1;
}

@keyframes ylbKenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-1%, -1%); }
}

.ylb-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(14px, 3vw, 18px);
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
}

.ylb-no-image-icon {
    font-size: clamp(48px, 12vw, 80px);
    margin-bottom: 16px;
    opacity: 0.5;
}

.ylb-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 25%, transparent 65%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.ylb-img-type-badge {
    position: absolute;
    top: clamp(10px, 2vw, 16px);
    left: clamp(10px, 2vw, 16px);
    padding: clamp(5px, 1.2vw, 8px) clamp(12px, 2.5vw, 18px);
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    color: #fff;
    font-size: clamp(10px, 2.2vw, 13px);
    font-weight: 800;
    letter-spacing: clamp(0.5px, 0.2vw, 1.5px);
    border-radius: 30px;
    box-shadow: 
        0 4px 15px rgba(255, 107, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* ============================================================
   INFO AREA - Orange White Luxury Panels
   ============================================================ */
.ylb-info-area {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 14px);
    min-width: 0;
    width: 100%;
}

/* Property Info Panel */
.ylb-property-info {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(12px, 2.5vw, 16px);
    padding: clamp(14px, 3vw, 20px);
    box-shadow: 
        0 6px 25px rgba(255, 107, 0, 0.1),
        0 2px 8px rgba(255, 107, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.ylb-property-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00, #FFA726, #FF6B00);
}

.ylb-property-title {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 900;
    margin: 0 0 8px;
    color: #BF360C;
    line-height: 1.2;
    letter-spacing: -0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ylb-property-location {
    font-size: clamp(12px, 2.8vw, 15px);
    color: #E65100;
    margin: 0 0 14px;
    font-weight: 600;
    opacity: 0.85;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ylb-property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 1.5vw, 10px);
}

.ylb-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: clamp(5px, 1.2vw, 8px) clamp(10px, 2vw, 14px);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 140, 0, 0.04) 100%);
    border: 1.5px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(6px, 1.5vw, 10px);
}

.ylb-spec-label {
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 800;
    color: #FF6B00;
    letter-spacing: 0.5px;
}

.ylb-spec-value {
    font-size: clamp(12px, 2.8vw, 15px);
    font-weight: 700;
    color: #BF360C;
    font-variant-numeric: tabular-nums;
}

/* Current Bid Panel - MOST PROMINENT */
.ylb-current-bid-panel {
    background: linear-gradient(135deg, #FF6B00 0%, #E65100 50%, #BF360C 100%);
    border-radius: clamp(12px, 2.5vw, 18px);
    padding: clamp(18px, 4vw, 26px);
    text-align: center;
    box-shadow: 
        0 12px 45px rgba(255, 107, 0, 0.4),
        0 4px 14px rgba(255, 107, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ylb-current-bid-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: clamp(150px, 40vw, 250px);
    height: clamp(150px, 40vw, 250px);
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ylb-current-bid-panel.bid-update {
    animation: ylbBidPulse 0.8s ease;
}

@keyframes ylbBidPulse {
    0% { transform: scale(1); box-shadow: 0 12px 45px rgba(255, 107, 0, 0.4); }
    30% { transform: scale(1.03); box-shadow: 0 18px 65px rgba(255, 107, 0, 0.55); }
    100% { transform: scale(1); box-shadow: 0 12px 45px rgba(255, 107, 0, 0.4); }
}

.ylb-bid-label {
    font-size: clamp(10px, 2.5vw, 13px);
    font-weight: 800;
    letter-spacing: clamp(1.5px, 0.5vw, 4px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-bid-amount {
    font-size: clamp(26px, 7vw, 44px);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ylb-bid-short {
    font-size: clamp(13px, 3vw, 17px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Increment Panel */
.ylb-increment-panel {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(10px, 2vw, 14px);
    padding: clamp(12px, 2.5vw, 16px) clamp(16px, 3.5vw, 20px);
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.08);
}

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

.ylb-info-label {
    font-size: clamp(10px, 2.3vw, 12px);
    font-weight: 800;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    color: #FF6B00;
    text-transform: uppercase;
}

.ylb-info-value {
    font-size: clamp(14px, 3.2vw, 18px);
    font-weight: 800;
    color: #BF360C;
    font-variant-numeric: tabular-nums;
}

/* Countdown Panel - Orange White Luxury */
.ylb-countdown-panel {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 50%, #FFEEDB 100%);
    border: 2px solid rgba(255, 107, 0, 0.25);
    border-radius: clamp(12px, 2.5vw, 16px);
    padding: clamp(16px, 3.5vw, 22px);
    text-align: center;
    box-shadow: 
        0 6px 25px rgba(255, 107, 0, 0.12),
        0 2px 8px rgba(255, 107, 0, 0.06);
    transition: all 0.3s ease;
}

.ylb-countdown-label {
    font-size: clamp(10px, 2.3vw, 12px);
    font-weight: 800;
    letter-spacing: clamp(1.5px, 0.4vw, 3px);
    color: #FF6B00;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.ylb-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    flex-wrap: wrap;
}

.ylb-cd-unit {
    display: flex;
    align-items: center;
}

.ylb-cd-value {
    display: inline-block;
    min-width: clamp(44px, 11vw, 64px);
    padding: clamp(8px, 2vw, 12px) clamp(6px, 1.5vw, 10px);
    background: linear-gradient(180deg, #FF6B00 0%, #E65100 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(22px, 6vw, 36px);
    font-weight: 900;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    box-shadow: 
        0 4px 15px rgba(255, 107, 0, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.ylb-cd-sep {
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 900;
    color: #FF6B00;
    margin: 0 clamp(2px, 0.5vw, 4px);
    animation: ylbColonBlink 1s ease-in-out infinite;
}

@keyframes ylbColonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ylb-countdown-days {
    font-size: clamp(11px, 2.5vw, 13px);
    color: #E65100;
    margin-top: 12px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Warning states */
.ylb-countdown-panel.warning .ylb-cd-value {
    background: linear-gradient(180deg, #FF8F00 0%, #E65100 100%);
    animation: ylbWarningPulse 1.2s ease-in-out infinite;
}

.ylb-countdown-panel.critical .ylb-cd-value {
    background: linear-gradient(180deg, #D32F2F 0%, #B71C1C 100%);
    animation: ylbCriticalPulse 0.6s ease-in-out infinite;
}

@keyframes ylbWarningPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 143, 0, 0.35); }
    50% { box-shadow: 0 6px 25px rgba(255, 143, 0, 0.55); }
}

@keyframes ylbCriticalPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4); }
    50% { box-shadow: 0 6px 28px rgba(211, 47, 47, 0.65); }
}

/* Stats Panel */
.ylb-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.8vw, 14px);
}

.ylb-stat-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(10px, 2vw, 14px);
    padding: clamp(12px, 2.5vw, 16px);
    text-align: center;
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.08);
}

.ylb-stat-icon {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 4px;
}

.ylb-stat-value {
    display: block;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 900;
    color: #FF6B00;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.ylb-stat-label {
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 800;
    letter-spacing: clamp(0.5px, 0.2vw, 1.5px);
    color: #E65100;
    margin-top: 4px;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ============================================================
   PROGRESS BAR - Orange
   ============================================================ */
.ylb-progress-section {
    padding: 0 clamp(14px, 3vw, 28px) clamp(10px, 2vw, 14px);
    flex-shrink: 0;
}

.ylb-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 700;
    letter-spacing: clamp(0.5px, 0.2vw, 1.5px);
    color: #FF6B00;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ylb-progress-bar {
    height: clamp(5px, 1.2vw, 8px);
    background: rgba(255, 107, 0, 0.12);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.15);
}

.ylb-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6B00, #FF8C00, #FFA726);
    border-radius: 4px;
    transition: width 0.3s linear;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}

/* ============================================================
   MONITORING STUDIO - Orange White Luxury
   ============================================================ */
.ylb-monitoring-studio {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 50%, #FFEEDB 100%);
    border-top: 3px solid #FF6B00;
    padding: clamp(12px, 2.5vw, 18px) clamp(14px, 3vw, 24px);
    flex-shrink: 0;
    box-shadow: 0 -4px 20px rgba(255, 107, 0, 0.1);
}

.ylb-monitoring-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(10px, 2.3vw, 12px);
    font-weight: 800;
    letter-spacing: clamp(1px, 0.3vw, 2.5px);
    color: #BF360C;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.ylb-monitoring-dot {
    width: clamp(7px, 1.5vw, 9px);
    height: clamp(7px, 1.5vw, 9px);
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
    animation: ylbLivePulse 2s infinite;
    flex-shrink: 0;
}

/* Team */
.ylb-monitoring-team {
    display: flex;
    gap: clamp(12px, 3vw, 20px);
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.ylb-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.ylb-member-avatar {
    width: clamp(38px, 8vw, 48px);
    height: clamp(38px, 8vw, 48px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 3vw, 15px);
    font-weight: 800;
    color: #fff;
    box-shadow: 
        0 4px 14px rgba(0, 0, 0, 0.18),
        0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ylb-team-member:nth-child(even) .ylb-member-avatar {
    animation: ylbMemberBreathe 3s ease-in-out infinite;
}

.ylb-team-member:nth-child(odd) .ylb-member-avatar {
    animation: ylbMemberBreathe 3.5s ease-in-out infinite 0.5s;
}

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

.ylb-member-role {
    font-size: clamp(9px, 2vw, 11px);
    color: #E65100;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
}

.ylb-member-status {
    position: absolute;
    bottom: clamp(26px, 5.5vw, 34px);
    right: -2px;
    width: clamp(9px, 2vw, 12px);
    height: clamp(9px, 2vw, 12px);
    border-radius: 50%;
    border: 2.5px solid #FFFFFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.ylb-member-status.online {
    background: #4CAF50;
    animation: ylbStatusBlink 3s ease-in-out infinite;
}

.ylb-member-status.active {
    background: #2196F3;
    animation: ylbStatusBlink 2s ease-in-out infinite;
}

.ylb-member-status.live {
    background: #F44336;
    animation: ylbStatusBlink 1s ease-in-out infinite;
}

@keyframes ylbStatusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Mini Screens */
.ylb-monitoring-screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.8vw, 12px);
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .ylb-monitoring-screens {
        grid-template-columns: 1fr;
    }
}

.ylb-mini-screen {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(10px, 2vw, 14px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(255, 107, 0, 0.08);
}

.ylb-screen-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF6B00, transparent);
    animation: ylbScreenGlow 3s linear infinite;
}

@keyframes ylbScreenGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ylb-screen-label {
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FF6B00;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ylb-screen-data {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ylb-data-line {
    display: flex;
    justify-content: space-between;
    font-size: clamp(10px, 2.3vw, 12px);
    flex-wrap: wrap;
    gap: 4px;
}

.ylb-data-label {
    color: #888;
    font-weight: 600;
}

.ylb-data-value {
    color: #BF360C;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ylb-data-value.ok {
    color: #4CAF50;
}

.ylb-data-value.live {
    color: #F44336;
}

/* Recent Activity */
.ylb-recent-activity {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06) 0%, rgba(255, 140, 0, 0.03) 100%);
    border: 1.5px solid rgba(255, 107, 0, 0.15);
    border-radius: clamp(8px, 2vw, 12px);
    padding: clamp(10px, 2vw, 14px) clamp(12px, 2.5vw, 16px);
}

.ylb-activity-title {
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FF6B00;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ylb-activity-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: clamp(80px, 18vw, 100px);
    overflow: hidden;
}

.ylb-activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(11px, 2.5vw, 13px);
    padding: 4px 0;
    flex-wrap: wrap;
    animation: ylbActivityIn 0.5s ease;
}

@keyframes ylbActivityIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.ylb-activity-bidder {
    color: #666;
    font-weight: 700;
    min-width: 90px;
    word-wrap: break-word;
}

.ylb-activity-arrow {
    color: #4CAF50;
    font-weight: 800;
}

.ylb-activity-amount {
    color: #E65100;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.ylb-activity-empty {
    color: #999;
    font-size: clamp(11px, 2.5vw, 13px);
    font-style: italic;
}

/* ============================================================
   TICKER - Orange
   ============================================================ */
.ylb-ticker {
    background: linear-gradient(90deg, #FF6B00 0%, #E65100 50%, #FF6B00 100%);
    border-top: 2px solid #BF360C;
    padding: clamp(6px, 1.3vw, 10px) 0;
    overflow: hidden;
    flex-shrink: 0;
}

.ylb-ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ylbTickerScroll 40s linear infinite;
    color: #FFFFFF;
    font-size: clamp(10px, 2.3vw, 13px);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-ticker-content span {
    margin: 0 clamp(12px, 3vw, 24px);
}

@keyframes ylbTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER - Orange White
   ============================================================ */
.ylb-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(8px, 1.8vw, 12px) clamp(14px, 3vw, 24px);
    background: linear-gradient(180deg, #E65100 0%, #BF360C 100%);
    border-top: 2px solid #FF8C00;
    font-size: clamp(10px, 2.2vw, 12px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    flex-shrink: 0;
    flex-wrap: wrap;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ylb-footer-sep {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   WAITING VIEW - Orange White Luxury
   ============================================================ */
.ylb-waiting-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at center, rgba(255, 107, 0, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 50%, #FFEEDB 100%);
    color: #1a1a1a;
    padding: 20px;
}

.ylb-waiting-inner {
    text-align: center;
    max-width: 550px;
    width: 100%;
    padding: clamp(20px, 5vw, 40px);
}

.ylb-waiting-status {
    margin: clamp(30px, 7vw, 50px) 0;
    position: relative;
}

.ylb-waiting-pulse {
    width: clamp(60px, 15vw, 90px);
    height: clamp(60px, 15vw, 90px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 140, 0, 0.1) 100%);
    border: 3px solid rgba(255, 107, 0, 0.4);
    margin: 0 auto clamp(16px, 4vw, 24px);
    animation: ylbWaitingPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.2);
}

@keyframes ylbWaitingPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
}

.ylb-waiting-status h2 {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 900;
    letter-spacing: clamp(1px, 0.3vw, 3px);
    color: #BF360C;
    margin: 0 0 16px;
    line-height: 1.2;
}

.ylb-waiting-status p {
    color: #666;
    font-size: clamp(13px, 3vw, 16px);
    line-height: 1.6;
    margin: 10px 0;
}

.ylb-waiting-info {
    margin-top: clamp(24px, 5vw, 40px);
}

.ylb-waiting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 2vw, 16px);
}

@media (max-width: 480px) {
    .ylb-waiting-grid {
        grid-template-columns: 1fr;
    }
}

.ylb-waiting-item {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 140, 0, 0.04) 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: clamp(10px, 2vw, 14px);
    padding: clamp(14px, 3vw, 18px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
}

.ylb-waiting-icon {
    font-size: clamp(22px, 5vw, 28px);
    margin-bottom: 8px;
}

.ylb-waiting-label {
    font-size: clamp(10px, 2.3vw, 12px);
    color: #FF6B00;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
}

.ylb-waiting-value {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 900;
    color: #BF360C;
}

.ylb-waiting-footer {
    margin-top: clamp(30px, 6vw, 50px);
    padding-top: 16px;
    border-top: 2px solid rgba(255, 107, 0, 0.15);
    color: #888;
    font-size: clamp(11px, 2.5vw, 13px);
}

/* ============================================================
   DIAGNOSTIC PANEL
   ============================================================ */
.ylb-diagnostic {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
    font-family: monospace;
}

.ylb-diag-toggle {
    width: clamp(32px, 7vw, 40px);
    height: clamp(32px, 7vw, 40px);
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    font-size: clamp(14px, 3.5vw, 18px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.ylb-diag-panel {
    display: none;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ylb-diag-panel.open {
    display: block;
}

.ylb-diag-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FF6B00;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ylb-diag-item {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 3px 0;
    color: #555;
    gap: 12px;
}

.ylb-diag-value {
    color: #1a1a1a;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ylb-diag-value.ok {
    color: #4CAF50;
}

/* ============================================================
   TRANSITIONS
   ============================================================ */
.ylb-fade-out {
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.ylb-fade-in {
    opacity: 0;
    transform: translateX(15px);
}

.ylb-fade-in.active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

/* ============================================================
   FULLSCREEN MODE
   ============================================================ */
:fullscreen .ylb-container,
:-webkit-full-screen .ylb-container {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
}

:fullscreen .ylb-main,
:-webkit-full-screen .ylb-main {
    height: calc(100vh - 180px);
}

/* ============================================================
   HIGH DPI / RETINA
   ============================================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ylb-container {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ============================================================
   LANDSCAPE ORIENTATION OPTIMIZATION
   ============================================================ */
@media (orientation: landscape) and (max-width: 900px) {
    .ylb-main {
        grid-template-columns: 1.2fr 1fr;
        padding: 12px;
        gap: 12px;
    }
    
    .ylb-property-title {
        font-size: 16px;
    }
    
    .ylb-bid-amount {
        font-size: 28px;
    }
    
    .ylb-cd-value {
        min-width: 48px;
        font-size: 24px;
        padding: 8px 6px;
    }
}

/* ============================================================
   ENSURE NO HORIZONTAL OVERFLOW ON ANY DEVICE
   ============================================================ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Ensure all elements respect boundaries */
* {
    max-width: 100%;
}

/* Prevent text from breaking layout */
.ylb-property-title,
.ylb-property-location,
.ylb-bid-amount {
    word-break: break-word;
    overflow-wrap: break-word;
}