/* ============================================
   LiveKaufen.com - Haupt-Stylesheet
   Farben: Orange #F28C00, Dunkel #1d1d1d
   ============================================ */
:root {
    --lk-red: #F28C00;
    --lk-red-dark: #D47600;
    --lk-red-light: #FFB347;
    --lk-dark: #1d1d1d;
    --lk-darker: #111111;
    --lk-gray: #6c757d;
    --lk-light: #f8f9fa;
    --lk-border: #e9ecef;
    --lk-success: #2ecc71;
    --lk-warning: #f39c12;
    --lk-radius: 12px;
    --lk-radius-sm: 8px;
    --lk-shadow: 0 2px 15px rgba(0,0,0,0.08);
    --lk-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --lk-transition: all 0.3s ease;
}
* { box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--lk-light);
    color: var(--lk-dark);
    -webkit-font-smoothing: antialiased;
}

/* Globaler Focus-Standard (P0 A11y) — outline:none nur mit Ersatz */
:focus-visible {
    outline: 2px solid #F28C00;
    outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
    outline: none;
}

/* NAVBAR */
#mainNav {
    background: var(--lk-dark);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 8px 0;
    z-index: 1050;
}
.brand-text { font-weight: 800; font-size: 1.2rem; color: #F28C00; }
.lk-brand-logo,
#mainNav .navbar-brand img {
    border-radius: 10px;
    object-fit: contain;
    background: #F28C00;
}
#mainNav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500; font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: var(--lk-radius-sm);
    transition: var(--lk-transition);
}
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #fff !important; background: rgba(242,140,0,0.2); }
.nav-icon-btn {
    color: rgba(255,255,255,0.8); font-size: 1.2rem; padding: 8px;
    border-radius: 50%; transition: var(--lk-transition); text-decoration: none;
    position: relative;
}
.nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.notification-badge {
    position: absolute; top: 0; right: 0; font-size: 0.65rem;
    padding: 2px 5px; border-radius: 10px; animation: pulse 2s infinite;
}
.nav-user-btn {
    color: rgba(255,255,255,0.9) !important; text-decoration: none;
    padding: 4px 8px; border-radius: var(--lk-radius-sm); transition: var(--lk-transition);
}
.nav-user-btn:hover { background: rgba(255,255,255,0.1); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lk-red); }

/* MAIN */
.main-content { padding-top: 60px; min-height: calc(100vh - 300px); }
body:has(.lk-home) .main-content { padding-top: 56px; min-height: 100vh; background: #f4f5f7; }
body.wtn-ios-app:has(.lk-home) .main-content { padding-top: 0; }
body.wtn-native-app.lk-dash .main-content,
html.wtn-native-app-root body.lk-dash .main-content {
    padding-top: 0;
}
body.wtn-native-app #mainNav,
html.wtn-native-app-root #mainNav {
    display: none !important;
}

/* Web2Native: App-Download-UI ausblenden (Nutzer sind bereits in der App) */
body.wtn-native-app .lk-hide-in-native-app,
html.wtn-native-app-root .lk-hide-in-native-app,
body.wtn-native-app [data-lk-hide-in-native-app],
html.wtn-native-app-root [data-lk-hide-in-native-app],
body.wtn-native-app .footer-app-link,
body.wtn-native-app .lk-footer-mobile-app-link,
body.wtn-native-app .lk-app-download,
body.wtn-native-app [data-lk-app-download] {
    display: none !important;
}

/* Top-Header nur in der Apple-App ausblenden – Android zeigt ihn */
html.wtn-ios-app-root:not(.wtn-android-app-root) .lk-top,
body.wtn-ios-app:not(.wtn-android-app) .lk-top,
html.wtn-native-app-root body.wtn-ios-app:not(.wtn-android-app) .lk-top {
    display: none !important;
}
html.wtn-android-app-root .lk-top,
body.wtn-android-app .lk-top {
    display: flex !important;
    box-sizing: border-box;
    padding-top: var(--wtn-safe-top, 40px);
    height: calc(var(--lk-top-h, 56px) + var(--wtn-safe-top, 40px));
}

/* CARDS */
.card {
    border: none; border-radius: var(--lk-radius);
    box-shadow: var(--lk-shadow); transition: var(--lk-transition);
}
.card:hover { box-shadow: var(--lk-shadow-lg); transform: translateY(-2px); }
.card-header { background: white; border-bottom: 1px solid var(--lk-border); font-weight: 600; }

/* BUTTONS */
.btn-lk {
    background: var(--lk-red); color: white; border: none;
    border-radius: var(--lk-radius-sm); font-weight: 600; padding: 10px 24px;
    transition: var(--lk-transition);
}
.btn-lk:hover { background: var(--lk-red-dark); color: white; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(242,140,0,0.4); }
.btn-lk-outline {
    background: transparent; color: var(--lk-red); border: 2px solid var(--lk-red);
    border-radius: var(--lk-radius-sm); font-weight: 600; padding: 8px 22px; transition: var(--lk-transition);
}
.btn-lk-outline:hover { background: var(--lk-red); color: white; }
.btn-lk-dark {
    background: var(--lk-dark); color: white; border: none;
    border-radius: var(--lk-radius-sm); font-weight: 600; padding: 10px 24px; transition: var(--lk-transition);
}
.btn-lk-dark:hover { background: var(--lk-darker); color: white; }

/* STREAM CARDS */
.stream-card { border-radius: var(--lk-radius); overflow: hidden; position: relative; cursor: pointer; transition: var(--lk-transition); }
.stream-card:hover { transform: scale(1.02); box-shadow: var(--lk-shadow-lg); }
.stream-thumbnail { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--lk-dark); }
.stream-live-badge {
    position: absolute; top: 12px; left: 12px; background: var(--lk-red); color: white;
    padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; animation: pulse 2s infinite;
}
.stream-planned-badge {
    position: absolute; top: 12px; left: 12px; background: var(--lk-warning); color: white;
    padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}
.stream-viewer-count {
    position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.7); color: white;
    padding: 3px 10px; border-radius: 4px; font-size: 0.75rem;
}
.stream-info { padding: 12px; background: white; }
.stream-info h6 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.82rem;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}
.stream-meta { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--lk-gray); min-width: 0; }
.stream-meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Streamer identity: country flag left of avatar */
.lk-streamer-identity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}
.lk-streamer-identity__flag {
    flex: none;
    display: inline-flex;
    line-height: 0;
}
.lk-country-flag {
    display: inline-flex;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lk-country-flag-svg {
    display: block;
    border-radius: 2px;
}
.lk-streamer-identity__avatar {
    flex: none;
    border-radius: 50%;
    object-fit: cover;
}
.lk-streamer-identity__avatar--border {
    border: 2px solid var(--lk-red);
}
.lk-streamer-identity__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.lk-streamer-identity--xs .lk-streamer-identity__avatar { width: 32px; height: 32px; }
.lk-streamer-identity--sm .lk-streamer-identity__avatar { width: 24px; height: 24px; }
.lk-streamer-identity--md .lk-streamer-identity__avatar { width: 28px; height: 28px; }
.lk-streamer-identity--lg .lk-streamer-identity__avatar { width: 46px; height: 46px; }
.lk-streamer-identity--xl .lk-streamer-identity__avatar { width: 60px; height: 60px; }
.lk-streamer-identity--featured .lk-streamer-identity__avatar {
    width: 28px;
    height: 28px;
    border: 2px solid var(--home-accent, #F28C00);
}
.lk-streamer-identity--featured .lk-streamer-identity__name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.82rem;
}

/* STREAM PAGE – Layout siehe unten (STREAM PAGE - DESKTOP LAYOUT, Flex) */
.stream-page { padding-top: 0; }

/* PRODUCT PANEL */
.product-panel { padding: 15px; border-bottom: 1px solid var(--lk-border); }
.product-active { background: white; border-radius: var(--lk-radius-sm); padding: 12px; border: 2px solid var(--lk-red); }
.product-active.blink { animation: redBlink 0.5s ease-in-out 3; }
.product-timer { font-size: 1.5rem; font-weight: 800; color: var(--lk-red); text-align: center; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--lk-dark); }
.fee-info { font-size: 0.75rem; color: var(--lk-gray); }

/* CHAT */
.chat-area { flex: 1; overflow-y: auto; padding: 10px 15px; }
.chat-message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; animation: fadeInUp 0.3s ease; }
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-bubble { background: var(--lk-light); border-radius: 12px 12px 12px 4px; padding: 6px 12px; font-size: 0.85rem; max-width: 80%; }
.chat-bubble .chat-user { font-weight: 600; color: var(--lk-red); font-size: 0.75rem; }
.chat-bubble.bid-message { background: linear-gradient(135deg, var(--lk-red), var(--lk-red-light)); color: white; }
.chat-bubble.bid-message .chat-user { color: rgba(255,255,255,0.9); }
.chat-bubble.purchase-message { background: linear-gradient(135deg, var(--lk-success), #27ae60); color: white; }
.chat-bubble.system-message { background: var(--lk-dark); color: white; text-align: center; border-radius: 8px; font-size: 0.8rem; }
.chat-input-area { padding: 10px 15px; border-top: 1px solid var(--lk-border); background: white; }
.chat-input-area input { border: 1px solid var(--lk-border); border-right: none; border-radius: 25px 0 0 25px; padding: 10px 16px; font-size: 0.9rem; }
.chat-input-area button { border-radius: 0 25px 25px 0; padding: 10px 20px; }

/* SOLD ITEMS */
.sold-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--lk-radius-sm); background: rgba(255,255,255,0.05); margin-bottom: 6px; }
.sold-item .sold-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--lk-success); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; flex-shrink: 0; }
.sold-item .sold-icon.active { background: var(--lk-red); animation: pulse 1.5s infinite; }

/* BID ANIMATION */
.bid-animation { position: fixed; top: 80px; left: 20px; z-index: 1060; pointer-events: none; }
.bid-toast { background: linear-gradient(135deg, var(--lk-red), var(--lk-red-dark)); color: white; padding: 10px 20px; border-radius: var(--lk-radius); font-weight: 600; margin-bottom: 8px; animation: slideInLeft 0.5s ease, fadeOut 0.5s ease 2.5s forwards; box-shadow: 0 4px 20px rgba(242,140,0,0.5); }
.bid-toast.purchase { background: linear-gradient(135deg, var(--lk-success), #27ae60); box-shadow: 0 4px 20px rgba(46,204,113,0.5); }
.confetti-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1070; overflow: hidden; }
.confetti { position: absolute; width: 10px; height: 10px; top: -10px; animation: confettiFall 3s ease-out forwards; }

/* DASHBOARD – legacy block removed; see DASHBOARD LAYOUT section below */
.stat-card { background: white; border-radius: var(--lk-radius); padding: 20px; box-shadow: var(--lk-shadow); transition: var(--lk-transition); }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--lk-shadow-lg); }
.stat-card .stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--lk-dark); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--lk-gray); font-weight: 500; }

/* FORMS */
.form-control, .form-select { border: 1px solid var(--lk-border); border-radius: var(--lk-radius-sm); padding: 10px 14px; font-size: 0.9rem; transition: var(--lk-transition); }
.form-control:focus, .form-select:focus { border-color: var(--lk-red); box-shadow: 0 0 0 3px rgba(242,140,0,0.15); }
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--lk-dark); margin-bottom: 4px; }
.auth-card { max-width: 480px; margin: 40px auto; background
: white; border-radius: var(--lk-radius); box-shadow: var(--lk-shadow-lg); padding: 40px; }
.auth-card .logo-area { text-align: center; margin-bottom: 30px; }
.auth-card .logo-area img { width: 80px; margin-bottom: 10px; }
.verification-input { display: flex; gap: 10px; justify-content: center; }
.verification-input input { width: 60px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 2px solid var(--lk-border); border-radius: var(--lk-radius-sm); }
.verification-input input:focus { border-color: var(--lk-red); box-shadow: 0 0 0 3px rgba(242,140,0,0.15); }

/* STREAMER LIST */
.streamer-card { background: white; border-radius: var(--lk-radius); padding: 20px; text-align: center; box-shadow: var(--lk-shadow); transition: var(--lk-transition); position: relative; }
.streamer-card:hover { transform: translateY(-5px); box-shadow: var(--lk-shadow-lg); }
.lk-streamer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-width: calc(100% - 16px);
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}
.lk-streamer-badge--new {
    background: var(--lk-red);
    color: #fff !important;
    text-transform: uppercase;
}
.lk-streamer-badge--top {
    background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.lk-streamer-badge--top i {
    font-size: 0.72rem;
    color: #fff !important;
}
.streamer-card,
.lk-home-streamer-card {
    overflow: visible;
}
@media (max-width: 575.98px) {
    .lk-streamer-badge {
        font-size: 0.55rem;
        padding: 3px 6px;
        top: 6px;
        left: 6px;
    }
}
.streamer-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lk-red); margin-bottom: 10px; }
.streamer-stats { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 0.8rem; color: #9a9a9a; }
.streamer-stats .stat-num { font-weight: 700; color: #fff; display: block; }

/* STARS */
.stars { display: inline-flex; gap: 2px; }
.stars i { font-size: 0.9rem; }
.text-warning { color: #f39c12 !important; }
.rating-select .star-btn { background: none; border: none; font-size: 1.5rem; color: var(--lk-border); cursor: pointer; transition
: var(--lk-transition); }
.rating-select .star-btn:hover, .rating-select .star-btn.active { color: #f39c12; transform: scale(1.2); }

/* STATUS */
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.status-pending { background: #fff3cd; color: #856404; }
.status-awaiting_shipping { background: #d1ecf1; color: #0c5460; }
.status-awaiting_payment { background: #fff3cd; color: #856404; }
.status-paid { background: #d4edda; color: #155724; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }
.status-completed { background: #d4edda; color: #155724; }
.status-disputed { background: #f8d7da; color: #721c24; }
.status-cancelled { background: #e2e3e5; color: #383d41; }
.status-withdrawal_requested { background: #fff3cd; color: #856404; }
.status-withdrawn { background: #e2e3e5; color: #383d41; }
.status-refunded { background: #e2e3e5; color: #383d41; }

/* FOOTER */
.footer { background: var(--lk-dark); padding: 50px 0 20px; color: white; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--lk-transition); }
.footer-links a:hover { color: var(--lk-red); }
.footer-app-link:hover { color: var(--lk-red) !important; }
.footer-links li { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: var(--lk-transition); }
.social-link:hover { background: var(--lk-red); color: white; }

/* ANIMATIONS */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes redBlink { 0%, 100% { border-color: var(--lk-red); box-shadow: 0 0 0 0 rgba(242,140,0,0); } 50% { border-color: var(--lk-red); box-shadow: 0 0 20px rgba(242,140,0,0.6); } }
/* Letzte Timer-Sekunden: knackig statt langsamem Aufleuchten (WebView-freundlich) */
@keyframes lkTimerUrgent {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(242,140,0,0); }
    50% { box-shadow: inset 0 0 0 2px rgba(242,140,0,0.95), 0 0 10px rgba(242,140,0,0.45); }
}
@keyframes lkBidBtnUrgent {
    0%, 100% { filter: brightness(1); transform: scale(1); }
    50% { filter: brightness(1.18); transform: scale(1.04); }
}
.product-active.lk-timer-urgent,
.mobile-product-bar.lk-timer-urgent {
    animation: lkTimerUrgent 0.28s linear infinite !important;
    border-color: var(--lk-red) !important;
    will-change: box-shadow;
}
.product-active.lk-timer-urgent .btn-lk,
.mobile-product-bar.lk-timer-urgent .btn-lk {
    transition: none !important;
    animation: lkBidBtnUrgent 0.28s linear infinite;
    will-change: transform, filter;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(-50px); } }
@keyframes confettiFall { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* MOBILE */
@media (max-width: 991.98px) {
    .dashboard-sidebar { position: relative; top: 0; width: 100%; min-height: auto; padding: 10px; flex: 0 0 100%; max-height: none; }
    .dashboard-content { margin-left: 0; padding: 15px !important; flex: 0 0 100%; }
    .dashboard-layout { flex-wrap: wrap; }
    .stream-container { grid-template-columns: 1fr; }
    .stream-sidebar-left { display: none; }
    .stream-sidebar-right { border-left: none; border-top: 1px solid var(--lk-border); }
}
@media (max-width: 767.98px) {
    .stream-page .main-content { padding-top: 0; }
    .stream-page #mainNav { display: none; }
    .stream-mobile-fullscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: #000; }
    .stream-mobile-fullscreen video { width: 100%; height: 100%; object-fit: cover; }
    .mobile-stream-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; pointer-events: none; }
    .mobile-stream-overlay > * { pointer-events: auto; }
    .mobile-top-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: linear-gradient(rgba(0,0,0,0.5), transparent); }
    .mobile-top-bar .back-btn { color: white; font-size: 1.2rem; text-decoration: none; background: rgba(0,0,0,0.3); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .mobile-top-bar .viewer-info { background: rgba(0,0,0,0.5); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; }
    .mobile-chat-overlay { flex: 0 1 auto; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 15px; min-height: 0; }
    .mobile-chat-messages {
        max-height: calc(4 * 1.75rem + 18px);
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        pointer-events: auto;
    }
    .mobile-chat-msg { background: none; color: white; padding: 0; border-radius: 0; margin-bottom: 0; font-size: 0.82rem; display: flex; text-shadow: 0 1px 3px rgba(0,0,0,0.85); }
    .mobile-chat-msg .chat-user { color: rgba(255,255,255,0.92); font-weight: 700; }
    .mobile-bottom-panel { background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 10px 15px 20px; }
    .mobile-product-bar { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: var(--lk-radius); padding: 10px; margin-bottom: 10px; }
    .mobile-product-bar.active-blink { animation: redBlink 0.5s ease-in-out 3; border: 2px solid var(--lk-red); }
    .mobile-chat-input { display: flex; gap: 8px; }
    .mobile-chat-input input { flex: 1; background: rgba(255,255,255,0.2); border: none; border-radius: 25px; padding: 10px 16px; color: white; font-size: 0.9rem; }
    .mobile-chat-input input::placeholder { color: rgba(255,255,255,0.5); }
    .auth-card { margin: 20px 15px; padding: 25px; }
}

/* DISPUTE CHAT */
.dispute-chat { max-height: 400px; overflow-y: auto; padding: 15px; background: var(--lk-light); border-radius: var(--lk-radius); }
.dispute-msg { margin-bottom: 12px; }
.dispute-msg.admin .msg-bubble { background: var(--lk-red); color: white; }
.dispute-msg .msg-bubble { background: white; padding: 10px 15px; border-radius: 12px; box-shadow: var(--lk-shadow); }
.dispute-msg .msg-meta { font-size: 0.75rem; color: var(--lk-gray); margin-top: 4px; }

/* TABLES */
.table-lk { border-radius: var(--lk-radius); }
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive .dropdown-menu { position: absolute; z-index: 1050; }
.table-lk thead { background: var(--lk-dark); color: white; }
.table-lk thead th { font-weight: 600; font-size: 0.85rem; padding: 12px 15px; border: none; }
.table-lk tbody td { padding: 12px 15px; vertical-align: middle; font-size: 0.9rem; }

/* MISC */
.page-header { margin-bottom: 30px; }
.page-header h1 { font-weight: 800; font-size: 2rem; }
.page-header p { color: var(--lk-gray); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3rem; color: var(--lk-border); margin-bottom: 15px; }
.empty-state h5 { color: var(--lk-gray); }
.filter-bar { background: #ffffff; border-radius: var(--lk-radius); padding: 15px; margin-bottom: 20px; border: 1px solid #e4e6ea; }
.category-pill { display: inline-block; padding: 6px 16px; border-radius: 20px; background: var(--lk-light); color: var(--lk-dark); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: var(--lk-transition); margin: 3px; border: 1px solid var(--lk-border); }
.category-pill:hover, .category-pill.active { background: var(--lk-red); color: white; border-color: var(--lk-red); }
.follow-btn { border-radius: 20px; padding: 6px 20px; font-size: 0.85rem; }
.follow-btn.following {
    background: #b0b0b0 !important;
    color: #111 !important;
    border-color: #b0b0b0 !important;
}
.follow-btn.following i { color: #111 !important; }


/* ============================================
   STREAM PAGE - DESKTOP LAYOUT
   ============================================ */
.stream-container {
    display: flex; height: calc(100vh - 46px); background: var(--lk-darker);
}
.stream-sidebar-left {
    width: 280px; background: var(--lk-dark); padding: 15px; overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stream-video-area {
    flex: 1; background: #000; display: flex; align-items: center; justify-content: center; position: relative;
    min-width: 0;
    min-height: 0;
}
.stream-video-area #remoteVideoContainer {
    background: #000;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.stream-video-area video { width: 100%; height: 100%; object-fit: cover; }

/* Zuschauer: 9:16 Mittelcrop mit schwarzen Balken (Tablet, TV, PC – nicht auf echten Handys) */
@media (min-width: 992px) {
    .stream-video-area.video-layout-portrait #remoteVideoContainer {
        width: auto;
        height: 100%;
        max-height: 100%;
        aspect-ratio: 9 / 16;
        max-width: min(100%, calc((100vh - 46px) * 9 / 16));
        flex-shrink: 0;
        margin: 0 auto;
    }
    .stream-video-area.video-layout-portrait #remoteVideoContainer video {
        object-fit: cover !important;
    }
    .stream-video-area.video-layout-landscape #remoteVideoContainer {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }
    .stream-video-area.video-layout-landscape #remoteVideoContainer video {
        object-fit: cover !important;
    }
}
.stream-sidebar-right {
    width: 360px; background: var(--lk-dark); display: flex; flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.1);
    min-height: 0;
    overflow: hidden;
}

/* Sold Items */
.sold-item {
    display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 6px;
    background: rgba(255,255,255,0.05); border-radius: var(--lk-radius-sm);
}
.sold-icon {
    width: 32px; height: 32px; border-radius: 50%; background: var(--lk-success);
    display: flex; align-items: center; justify-content: center; color: white; font-size: 0.75rem;
}
.sold-icon.active { background: var(--lk-red); animation: pulse 1.5s infinite; }

/* Product Panel */
.product-panel { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.product-active {
    background: linear-gradient(135deg, rgba(242,140,0,0.2), rgba(242,140,0,0.05));
    border: 2px solid var(--lk-red); border-radius: var(--lk-radius); padding: 15px;
}
.product-active.blink { animation: redBlink 0.5s ease-in-out 3; }
.product-price { font-size: 1.8rem; font-weight: 800; color: var(--lk-red); }
.product-timer {
    background: var(--lk-dark); color: white; padding: 4px 12px; border-radius: 20px;
    font-weight: 700; font-size: 1rem; font-family: 'Courier New', monospace;
}
.fee-info { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Chat */
.chat-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 15px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.chat-message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; animation: fadeInUp 0.3s ease; }
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-bubble {
    background: rgba(255,255,255,0.1); color: white; padding: 6px 12px;
    border-radius: 12px 12px 12px 4px; font-size: 0.85rem; max-width: 85%;
}
.chat-bubble .chat-user { color: var(--lk-red-light); font-weight: 600; font-size: 0.75rem; display: block; }
.chat-bubble.bid-message { background: rgba(242,140,0,0.3); border-left: 3px solid var(--lk-red); }
.chat-bubble.purchase-message { background: rgba(46,204,113,0.3); border-left: 3px solid var(--lk-success); }
.chat-bubble.system-message { background: rgba(52,152,219,0.2); color: rgba(255,255,255,0.7); font-style: italic; }
.chat-input-area { padding: 10px 15px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-sidebar {
    width: 250px; min-height: calc(100vh - 76px); background: #ffffff;
    border-right: 1px solid #e4e6ea;
    padding: 20px 15px; position: sticky; top: 76px; align-self: flex-start;
    max-height: calc(100vh - 76px); overflow-y: auto; flex: 0 0 250px;
}
.dashboard-sidebar .nav-link {
    color: #5c6370 !important; padding: 10px 15px !important;
    border-radius: var(--lk-radius-sm); margin-bottom: 2px; font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dashboard-sidebar .nav-link:hover { background: #f6f7f9; color: #14161a !important; }
.dashboard-sidebar .nav-link.active { background: rgba(255, 121, 0, 0.1); color: #ff7900 !important; }
.seller-nav { display: flex; flex-direction: column; gap: 2px; }
.seller-nav .nav-link { margin-bottom: 0; }
.seller-nav__group {
    margin: 6px 0 2px;
    border-radius: 10px;
    background: #f6f7f9;
}
.seller-nav__group[open] { background: #eef0f3; }
.seller-nav__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #14161a;
    font-size: 0.9rem;
    font-weight: 700;
    user-select: none;
}
.seller-nav__summary::-webkit-details-marker { display: none; }
.seller-nav__summary i:first-child { width: 1.125rem; text-align: center; }
.seller-nav__summary span:first-of-type { flex: 1; }
.seller-nav__chevron { margin-left: auto; font-size: 0.7rem; opacity: 0.7; transition: transform 0.15s; }
.seller-nav__group[open] .seller-nav__chevron { transform: rotate(180deg); }
.seller-nav__items { padding: 0 6px 8px; }
.seller-nav__child { padding-left: 2rem !important; font-size: 0.84rem !important; }
.seller-sell-card {
    display: block;
    text-decoration: none;
    color: #fff;
    border-radius: 18px;
    padding: 1.35rem 1.3rem 1.2rem;
    min-height: 12.5rem;
    box-shadow: 0 10px 28px rgba(15,23,42,0.12);
}
.seller-sell-card:hover { color: #fff; filter: brightness(1.05); }
.seller-sell-card i { font-size: 1.5rem; margin-bottom: 0.7rem; }
.seller-sell-card h2 { font-size: 1.45rem; font-weight: 800; margin: 0 0 0.35rem; }
.seller-sell-card p { margin: 0 0 1rem; opacity: 0.9; }
.seller-sell-card span { font-weight: 800; }
.seller-sell-card--live { background: #c81e2d; }
.seller-sell-card--auction { background: #f28c00; }
.seller-sell-card--bhl { background: #111827; }
.seller-sell-card--event { background: #1d6fd8; }
.seller-sell-card--blitz { background: #d9480f; }
.seller-sell-card__sub {
    display: inline-block;
    margin: 0.55rem 0 0 0.2rem;
    font-weight: 700;
    color: #475569;
}
.dashboard-sidebar .nav-link i,
.dashboard-sidebar .nav-link svg.lk-icon {
    width: 1.125rem;
    min-width: 1.125rem;
    text-align: center;
    margin-inline-end: 0;
    flex-shrink: 0;
}
.dashboard-content {
    flex: 1 1 0; padding: 30px; min-width: 0; max-width: 100%;
    overflow-x: hidden;
}
.dashboard-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
}
.dashboard-widgets-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.dashboard-widgets-row > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}
.dashboard-stats-row > .col {
    min-width: 0;
    display: flex;
}
.dashboard-stats-row .stat-card {
    height: 100%;
    width: 100%;
    padding: 14px 16px;
}
.dashboard-stats-row .stat-card .d-flex {
    align-items: center;
    min-width: 0;
}
.dashboard-stats-row .stat-card .d-flex > div:last-child {
    min-width: 0;
    flex: 1 1 auto;
}
.dashboard-stats-row .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    flex-shrink: 0;
}
.dashboard-stats-row .stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
    word-break: break-word;
}
.dashboard-stats-row .stat-label {
    font-size: 0.72rem;
    line-height: 1.25;
}
@media (min-width: 992px) {
    .dashboard-stats-row.row-cols-lg-5 > .col {
        flex: 0 0 auto;
        width: 20%;
    }
}
@media (min-width: 992px) {
    .dashboard-widgets-row > .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
    .dashboard-widgets-row > .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
}
.dashboard-widgets-row .card {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}
.dashboard-widgets-row .table-responsive {
    overflow-x: auto !important;
    max-width: 100%;
}
.dashboard-widgets-row .table-lk {
    width: 100%;
    table-layout: fixed;
}
.dashboard-widgets-row .table-lk th,
.dashboard-widgets-row .table-lk td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px 8px;
    font-size: 0.82rem;
}
.dashboard-widgets-row .table-lk th:nth-child(1),
.dashboard-widgets-row .table-lk td:nth-child(1) { width: 18%; }
.dashboard-widgets-row .table-lk th:nth-child(2),
.dashboard-widgets-row .table-lk td:nth-child(2) { width: 24%; }
.dashboard-widgets-row .table-lk th:nth-child(3),
.dashboard-widgets-row .table-lk td:nth-child(3) { width: 16%; }
.dashboard-widgets-row .table-lk th:nth-child(4),
.dashboard-widgets-row .table-lk td:nth-child(4) { width: 28%; }
.dashboard-widgets-row .table-lk th:nth-child(5),
.dashboard-widgets-row .table-lk td:nth-child(5) { width: 14%; }
.dashboard-widgets-row .status-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* Stat Cards */
.stat-card {
    background: white; border-radius: var(--lk-radius); padding: 20px;
    box-shadow: var(--lk-shadow); transition: var(--lk-transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--lk-shadow-lg); }
.stat-icon {
    width: 48px; height: 48px; border-radius: var(--lk-radius-sm);
    display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem;
}
.stat-value { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 0.8rem; color: var(--lk-gray); }

/* ============================================
   PROMOTED STREAM
   ============================================ */
.promoted-stream {
    border-radius: var(--lk-radius); overflow: hidden; position: relative;
    min-height: 300px; display: flex; align-items: flex-end;
    transition: var(--lk-transition); cursor: pointer;
}
.promoted-stream:hover { transform: scale(1.01); }
.promoted-overlay {
    width: 100%; padding: 30px; color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* ============================================
   RATING STARS
   ============================================ */
.star-btn {
    background: none; border: none; font-size: 1.8rem; color: #ddd;
    cursor: pointer; transition: var(--lk-transition); padding: 0 5px;
}
.star-btn:hover, .star-btn.active { color: #f39c12; transform: scale(1.2); }
.stars { color: #f39c12; font-size: 0.9rem; }
.stars .star-empty { color: #555a5f !important; opacity: 0.85; }

/* ============================================
   VERIFICATION INPUT
   ============================================ */
.verification-input {
    display: flex; gap: 12px; justify-content: center;
}
.verification-input input {
    width: 60px; height: 70px; text-align: center; font-size: 1.8rem; font-weight: 700;
    border: 2px solid var(--lk-border); border-radius: var(--lk-radius);
    transition: var(--lk-transition);
}
.verification-input input:focus { border-color: var(--lk-red); box-shadow: 0 0 0 3px rgba(242,140,0,0.2); }

/* P0: Focus-Ring gewinnt gegen lokale outline:none */
:where(a, button, input, select, textarea, summary, [tabindex], .btn, .form-control, .form-select):focus-visible {
    outline: 2px solid #F28C00 !important;
    outline-offset: 2px !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* TOAST NOTIFICATIONS - entfernt (duplizierte .bid-toast mit weissem Hintergrund) */

/* ============================================
   CONFETTI
   ============================================ */
.confetti-piece {
    position: fixed; width: 10px; height: 10px; z-index: 99999;
    animation: confettiFall 3s ease-out forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   ADDITIONAL ANIMATIONS
   ============================================ */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10
px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes redBlink {
    0%, 100% { border-color: var(--lk-red); }
    50% { border-color: transparent; box-shadow: 0 0 20px rgba(242,140,0,0.5); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 991px) {
    .dashboard-sidebar { display: none !important; }
    .dashboard-content { padding: 20px 15px; }
    .stream-sidebar-left { display: none; }
    .stream-sidebar-right { width: 300px; }
    .promoted-stream { min-height: 200px; }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767px) {
    .stream-container { flex-direction: column; }
    .stream-sidebar-right { width: 100%; height: 50vh; }
    .stream-video-area { height: 50vh; }
    .stat-value { font-size: 1.1rem; }
    .stat-card { padding: 15px; }
    .page-header h1 { font-size: 1.5rem; }
    .table-responsive { font-size: 0.85rem; }
    .promoted-stream { min-height: 180px; }
    .promoted-overlay { padding: 15px; }
    .promoted-overlay h4 { font-size: 1rem; }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }

/* ============================================
   VERIFIZIERUNGSABZEICHEN (Blauer Haken)
   ============================================ */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
    vertical-align: middle;
    line-height: 1;
}
.verified-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.verified-badge-lg svg {
    width: 22px;
    height: 22px;
}
.verified-badge-sm svg {
    width: 13px;
    height: 13px;
}
.chat-username .verified-badge,
.stream-chat .verified-badge {
    margin-left: 2px;
}
.seller-name .verified-badge,
.streamer-name .verified-badge {
    margin-left: 4px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    #mainNav, .dashboard-sidebar, .btn, footer { display: none !important; }
    .dashboard-content { padding: 0; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}

/* === Bootstrap Danger -> Orange Override === */
:root {
    --bs-danger: #F28C00 !important;
    --bs-danger-rgb: 242,140,0 !important;
}
.btn-danger { background-color: #F28C00 !important; border-color: #F28C00 !important; color: white !important; }
.btn-danger:hover, .btn-danger:focus, .btn-danger:active { background-color: #D47600 !important; border-color: #D47600 !important; color: white !important; }
.btn-outline-danger { color: #F28C00 !important; border-color: #F28C00 !important; }
.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active { background-color: #F28C00 !important; border-color: #F28C00 !important; color: white !important; }
.text-danger { color: #F28C00 !important; }
.bg-danger { background-color: #F28C00 !important; }
.border-danger { border-color: #F28C00 !important; }
.badge.bg-danger { background-color: #F28C00 !important; }
.alert-danger { background-color: #FFF3E0 !important; border-color: #F28C00 !important; color: #D47600 !important; }

/* ============================================
   MOBILE DASHBOARD FIX
   ============================================ */
.min-w-0 {
    min-width: 0;
}

.text-break {
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    body {
        overflow-x: hidden !important;
    }
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .row.flex-nowrap {
        flex-wrap: wrap !important;
    }
    .dashboard-sidebar {
        display: none !important;
    }
    .dashboard-content {
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
    }
    .dashboard-content .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
    }
    .dashboard-content .row > [class*="col"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .dashboard-content .page-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .dashboard-content .page-header h1 {
        font-size: 1.4rem !important;
    }
    .dashboard-content .card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .stat-card {
        padding: 12px !important;
    }
    .stat-card .stat-value {
        font-size: 1.2rem !important;
    }
    .stat-card .stat-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    .table-responsive {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile order list cards – no horizontal scroll */
    .lk-mobile-order-list {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .lk-mobile-order-card {
        display: block;
        padding: 1rem 1.1rem;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        text-decoration: none;
        color: inherit;
        max-width: 100%;
        overflow: hidden;
    }

    .lk-mobile-order-card:active {
        background: #f8f9fa;
    }

    .lk-mobile-order-card__head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.85rem;
    }

    .lk-mobile-order-card__number {
        font-weight: 700;
        font-size: 0.9rem;
        word-break: break-all;
        line-height: 1.3;
    }

    .lk-mobile-order-card__date {
        font-size: 0.78rem;
        color: #6c757d;
        margin-top: 0.15rem;
    }

    .lk-mobile-order-card__seller {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-top: 1px solid #f1f3f5;
        border-bottom: 1px solid #f1f3f5;
        margin-bottom: 0.85rem;
        min-width: 0;
    }

    .lk-mobile-order-card__avatar {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .lk-mobile-order-card__label {
        font-size: 0.72rem;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .lk-mobile-order-card__value {
        font-weight: 600;
        font-size: 0.95rem;
        word-break: break-word;
    }

    .lk-mobile-order-card__footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .lk-mobile-order-card__meta {
        font-size: 0.82rem;
        color: #6c757d;
    }

    .lk-mobile-order-card__total {
        font-weight: 700;
        font-size: 1.1rem;
        color: #212529;
        margin-top: 0.1rem;
    }
}


/* FIX: Profil-Dropdown muss ueber Hamburger-Menu liegen (Mobile) */
@media (max-width: 991.98px) {
    #mainNav {
        overflow: visible !important;
    }
    #mainNav > .container-fluid {
        overflow: visible !important;
        padding-left: 1rem !important;
        padding-right: 0.75rem !important;
    }
    #mainNav .d-flex.align-items-center {
        position: relative;
        z-index: 1060;
    }
    #mainNav .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #1a1a2e;
        padding: 10px 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    #mainNav .dropdown-menu {
        position: absolute !important;
        z-index: 2000 !important;
    }
}


/* LicitPlaza standalone watch: rules originally embedded in stream/watch.php. */
.lp-live-watch { margin:0; background:#111; color:#fff; }
.lp-live-watch [hidden] { display:none !important; }
.lp-live-watch .lp-live-navbar { height:54px; padding:6px 16px; background:#1d1d1d; gap:12px; flex-wrap:nowrap; }
.lp-live-watch .lp-live-navbar .navbar-brand { color:#ff7900; font-weight:800; font-size:1.05rem; }
.lp-live-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.lp-live-watch .lp-live-title { flex:1; }
.lp-live-watch .stream-container { height:calc(100dvh - 54px); margin:0; flex-direction:row; }
.lp-live-watch .stream-sidebar-left { flex:0 0 clamp(190px,19vw,280px); min-width:0; }
.lp-live-watch .stream-sidebar-right { flex:0 0 clamp(250px,25vw,360px); min-width:0; }
.lp-live-section-title { font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; color:#ccc; }
.lp-live-watch #remoteVideoContainer, .lp-live-watch #remoteVideoMobileContainer { position:absolute; inset:0; width:100%; height:100%; background:#000; }
.lp-live-watch .stream-video-area #remoteVideoContainer video { width:100%; height:100%; object-fit:contain !important; }
.lp-live-watch #productPanel { position:absolute; bottom:18px; left:16px; z-index:3; width:min(320px,calc(100% - 32px)); max-height:55%; overflow:auto; }
.lp-live-watch .product-active { background:rgba(12,14,18,.86); border:1px solid #ffffff30; border-radius:12px; padding:12px 16px; color:#fff; }
.lp-lot-top { display:flex; gap:8px; align-items:center; justify-content:space-between; margin-bottom:8px; }
.lp-lot-title { font-size:1rem; line-height:1.35; color:inherit; overflow-wrap:anywhere; margin:0 0 8px; }
.lp-price-label { display:block; color:#c6cbd3; font-size:.72rem; }
.lp-lot-meta { font-size:.75rem; color:#c6cbd3; margin:8px 0; }
.lp-lot-info { min-width:0; overflow-wrap:anywhere; }
.lp-lot-info strong { display:block; }
.lp-live-watch .product-price, .lp-live-host .product-price { display:block; font-size:1.5rem; color:#ff7900; line-height:1.2; }
.lp-live-watch .product-timer, .lp-live-host .product-timer { font-size:.75rem; padding:4px 6px; white-space:nowrap; }
.cam-hint-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; color:#b4bdc9; pointer-events:none; }
.lp-viewer-chip { display:inline-flex; align-items:center; gap:6px; border:1px solid #ffffff40; border-radius:30px; background:#000b; color:#fff; padding:8px 12px; font-weight:700; white-space:nowrap; }
.lp-tap-audio { position:absolute; top:22%; left:50%; transform:translateX(-50%); z-index:4; border:1px solid #ffffff40; border-radius:30px; background:#000b; color:#fff; padding:10px 18px; white-space:nowrap; }
.lp-live-rail { position:absolute; right:16px; top:62%; z-index:5; display:flex; flex-direction:column; align-items:center; gap:14px; transition:top .28s ease; }
.lp-live-watch.lp-auction-on .lp-live-rail { top:34%; }
.lp-like, .lp-share { width:56px; min-height:56px; border:0; border-radius:999px; background:#000a; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:8px 0; }
.lp-like { color:#ff4d6d; }
.lp-share { color:#25D366; font-size:1.55rem; }
.lp-like span { color:#fff; font-size:.75rem; font-weight:800; line-height:1; }
.lp-like.is-liked { transform:scale(1.06); }
.lp-heart-float { position:absolute; left:50%; top:16px; z-index:6; color:#ff4d6d; font-size:1.15rem; pointer-events:none; animation:lp-heart-up 1.15s ease-out forwards; }
@keyframes lp-heart-up { 0% { transform:translate(-50%, 0) scale(.55) rotate(0); opacity:1; } 100% { transform:translate(calc(-50% + var(--x, 0px)), -150px) scale(1.2) rotate(var(--r, 0deg)); opacity:0; } }
@media (prefers-reduced-motion:reduce) { .lp-heart-float { animation:none; } }
.lp-live-stats { display:inline-flex; align-items:center; gap:12px; }
.lp-live-stats [data-revenue] { font-weight:800; color:#fff; white-space:nowrap; }
.lp-live-stats .fa-heart { color:#ff4d6d; }
.stream-notice-banner { background:#ff790025; color:#ffd5b0; border:1px solid #ff79004d; padding:10px 12px; border-radius:10px; font-size:.85rem; margin-bottom:12px; overflow-wrap:anywhere; }
.lp-live-feedback { position:fixed; z-index:10000; bottom:12px; left:18px; max-width:calc(100vw - 36px); display:flex; flex-wrap:wrap; gap:8px; font-size:.75rem; pointer-events:none; }
.lp-live-feedback span:not(:empty), .lp-live-feedback button { padding:6px 10px; background:#171a21ee; color:#eee; border:1px solid #ffffff30; border-radius:8px; }
.lp-live-feedback button { pointer-events:auto; }
.lp-live-feedback .lp-error { color:#ffb4a6 !important; }
.lp-live-watch .chat-text, .lp-live-host .chat-text { overflow-wrap:anywhere; white-space:pre-wrap; }
.lp-live-watch .chat-bubble, .lp-live-host .chat-bubble { max-width:100%; }
.lk-planned-wait { display:flex; align-items:center; justify-content:center; height:100%; width:100%; color:#fff; text-align:center; padding:80px 16px; }
.lk-planned-wait__inner { max-width:360px; width:100%; display:flex; flex-direction:column; align-items:center; }
.lk-planned-wait__title { font-size:1.25rem; color:#fff; margin:0 0 20px; overflow-wrap:anywhere; }
.lk-planned-wait__label { font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color:#aaa; margin:0 0 8px; }
.lk-planned-wait__timer { display:flex; gap:8px; margin-bottom:14px; }
.lk-planned-wait__unit { min-width:58px; background:#ffffff12; border:1px solid #ffffff25; border-radius:12px; padding:10px 8px 8px; }
.lk-planned-wait__num { display:block; font-size:1.45rem; font-weight:800; color:#fff; font-variant-numeric:tabular-nums; }
.lk-planned-wait__lbl { display:block; margin-top:5px; font-size:.62rem; text-transform:uppercase; color:#aaa; }
.lk-planned-wait__when, .lk-planned-wait__hint { font-size:.85rem; color:#bbb; margin:0 0 12px; }
.lk-planned-wait__logo { display:block; line-height:0; margin:0 0 18px; }
.lk-planned-wait__logo img { width:min(240px,72vw); height:auto; }
.lk-planned-wait__help { margin-top:4px; min-height:44px; padding:10px 18px; border:0; border-radius:999px; background:#ff7900; color:#171a1d; font-weight:800; }
.lp-live-help { border:0; border-radius:18px; padding:22px 18px 18px; width:min(420px,calc(100% - 32px)); background:#fff; color:#171a1d; }
.lp-live-help::backdrop { background:#000c; }
.lp-live-help h2 { font-size:1.35rem; margin:0 0 14px; color:#171a1d; }
.lp-live-help ol { margin:0 0 18px; padding-left:1.15rem; display:flex; flex-direction:column; gap:12px; }
.lp-live-help li { color:#171a1d; font-size:1rem; line-height:1.45; }
.lp-live-help .btn { width:100%; }
.lp-live-ship-btn { width:40px; height:40px; border:0; border-radius:999px; background:#fff; color:#171a1d; display:inline-grid; place-items:center; flex-shrink:0; font-size:1.05rem; box-shadow:0 2px 10px #0005; }
.lp-live-watch .lp-live-navbar .lp-live-ship-btn, .lp-live-watch .mobile-top-bar .lp-live-ship-btn { margin-left:auto; }
.lp-live-ship-btn--corner { position:fixed; top:max(12px, env(safe-area-inset-top)); right:12px; z-index:6; }
.lp-live-ship table { width:100%; border-collapse:collapse; margin:0 0 16px; color:#171a1d; }
.lp-live-ship th, .lp-live-ship td { text-align:left; padding:10px 8px; border-bottom:1px solid #e6e8ea; }
.lp-live-ship th { font-size:.8rem; color:#5c656d; font-weight:700; }
.lp-live-ship td strong { color:#c64c00; }
.lp-live-ship p { color:#3a4046; font-size:.95rem; }
.lp-live-empty { min-height:100dvh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:20px; padding:32px 20px; max-width:650px; margin:auto; }
.lp-live-empty h1 { color:#fff; font-size:clamp(1.4rem,4vw,2rem); margin:0; }
.lp-live-empty p { color:#adb5bd; line-height:1.6; }
.lp-time-extended { animation:lp-add-time 1.8s ease; }
@keyframes lp-add-time { 0%,60% { background:#ff7900; color:#111; } 100% { background:#222; } }
@media (prefers-reduced-motion:reduce) { .lp-time-extended { animation:none; outline:2px solid #ff7900; } }
@media (max-width:991.98px) {
  .lp-live-watch { overflow:hidden; }
  .lp-live-watch .stream-mobile-fullscreen { position:fixed; inset:0; height:100dvh; background:#000; z-index:1; }
  .lp-live-watch #remoteVideoMobileContainer video { width:100%; height:100%; object-fit:cover; }
  .lp-live-watch .mobile-stream-overlay { position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; pointer-events:none; overflow:hidden; }
  .lp-live-watch .mobile-stream-overlay > * { pointer-events:auto; }
  .lp-live-watch .mobile-top-bar { position:static; display:flex; align-items:center; gap:10px; padding:max(10px,env(safe-area-inset-top)) 12px 12px; background:linear-gradient(#000b,transparent); flex-shrink:0; }
  .lp-live-watch .back-btn { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:50%; background:#0008; color:#fff; text-decoration:none; font-size:1.3rem; }
  .lp-live-watch .mobile-top-bar .btn { max-width:45%; font-size:.7rem; }
  .lp-live-watch .mobile-chat-overlay { position:static; margin-top:auto; max-height:24dvh; min-height:50px; display:flex; flex-direction:column; padding:8px 12px; background:linear-gradient(transparent,#0005); }
  .lp-live-watch .mobile-chat-messages { overflow-y:auto; min-height:0; -webkit-mask-image:none; mask-image:none; }
  .lp-live-watch .mobile-bottom-panel { flex-shrink:0; padding:8px 12px max(12px,env(safe-area-inset-bottom)); background:linear-gradient(transparent,#000e); }
  .lp-live-watch #productPanelMobile { max-height:31dvh; overflow:auto; }
  .lp-live-watch #productPanelMobile .product-active { padding:10px 12px; }
  .lp-live-watch .mobile-chat-input .form-control { font-size:16px; min-width:0; }
  .lp-live-watch .stream-notice-banner { margin:0 12px; max-height:16dvh; overflow:auto; }
  .lp-live-watch .lp-live-feedback { bottom:auto; top:66px; left:12px; right:12px; }
  .lp-live-watch .lp-tap-audio { top:28%; }
    .lp-live-watch .lp-live-rail { right:12px; top:62%; transition:top .28s ease; }
  .lp-live-watch.lp-auction-on .lp-live-rail { top:30%; }
}

.lp-lot-photo{width:52px;height:44px;object-fit:contain;border-radius:5px;background:#252a30;flex-shrink:0}

.lp-live-product-summary{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:8px;margin:6px 0}
.lp-live-product-picture{aspect-ratio:9/16;width:54px;padding:0;cursor:pointer;background:#252a30;border:1px solid #ffffff30;border-radius:8px;overflow:hidden}
.lp-live-product-picture img{width:100%;height:100%;object-fit:cover;display:block}
.lp-photo-dialog{padding:0;border:0;background:#000;max-width:min(420px,92vw);max-height:92dvh}
.lp-photo-dialog img{display:block;width:100%;height:auto;max-height:92dvh;object-fit:contain}
.lp-photo-dialog [data-close-photo]{position:absolute;top:8px;right:8px;width:36px;height:36px;border:0;border-radius:50%;background:#000c;color:#fff;font-size:1.4rem}
.lp-live-product-picture.is-pending{background:linear-gradient(135deg,#252a30,#3c434b)}
.lp-live-product-info{min-width:0}.lp-live-product-info .lp-lot-title{overflow-wrap:anywhere}
