.emts-theme .emts-site-header .user_info{display:flex!important;align-items:center;justify-content:flex-end;gap:16px}
.emts-theme .emts-site-header .navbar-nav a[aria-current=page]{color:#05a660}
.emts-theme .emts-theme-toggle{display:grid;flex:0 0 39.2px;width:39.2px;height:39.2px;min-height:39.2px;place-items:center;padding:0!important;border:1px solid rgba(16,24,40,.12)!important;border-radius:7.2px;background:#fff!important;color:#344054!important;box-shadow:0 8px 18px rgba(16,24,40,.08);cursor:pointer}
.emts-theme-toggle-icon{position:relative;display:block;width:18.88px;height:18.88px}
.emts-theme-toggle-icon::before,.emts-theme-toggle-icon::after{position:absolute;content:"";border-radius:999px}
.emts-theme-toggle-icon::before{inset:0;background:#24324a}
.emts-theme-toggle-icon::after{top:-1.6px;right:-1.6px;width:14.72px;height:14.72px;background:#fff}
@media(min-width:1000px){.emts-theme .emts-site-header .headerInn{padding:0!important;min-height:85.6px!important;display:flex;align-items:center}.emts-theme .emts-site-header .headerInn>.container{width:calc(100% - 24px);max-width:1720px}}
html[data-bb-theme=dark]{color-scheme:dark}
html[data-bb-theme=dark] .emts-theme{--emts-ink:#e7eef8;--emts-copy:#a9b8cc;--emts-border:#293b52;background:#0a1524;color:#e7eef8}
html[data-bb-theme=dark] .emts-theme .wrapper,html[data-bb-theme=dark] .emts-theme .mid-part{background:#0a1524;color:#e7eef8}
html[data-bb-theme=dark] .emts-site-header{background:rgba(9,17,31,.96);border-color:#1f3048;box-shadow:0 16px 34px rgba(0,0,0,.35)}
html[data-bb-theme=dark] .emts-theme .emts-site-header .navbar-nav>li>a,html[data-bb-theme=dark] .emts-theme .emts-site-header .login-sec-area a:first-child{color:#d7e3f5!important}
html[data-bb-theme=dark] .emts-theme .emts-site-header .navbar-nav>li>a[aria-current=page]{color:#24d694!important}
html[data-bb-theme=dark] .emts-theme .emts-theme-toggle{background:#152238!important;border-color:#31445f!important;color:#facc15!important}
html[data-bb-theme=dark] .emts-theme-toggle-icon::before{inset:2.24px;background:#facc15;box-shadow:0 -8px 0 -5.92px #facc15,0 8px 0 -5.92px #facc15,-8px 0 0 -5.92px #facc15,8px 0 0 -5.92px #facc15,5.76px 5.76px 0 -6.08px #facc15,-5.76px -5.76px 0 -6.08px #facc15,5.76px -5.76px 0 -6.08px #facc15,-5.76px 5.76px 0 -6.08px #facc15}
html[data-bb-theme=dark] .emts-theme-toggle-icon::after{display:none}
html[data-bb-theme=dark] .emts-theme :is(.emts-confirmation-heading,.emts-confirmation-card,.emts-auction-empty,.bb-auth-form,.emts-profile-form,.emts-auction-detail .history_inner,.emts-auction-page-tabs a,.emts-empty-actions a,.bb-info-strip>article){background:#101e31;border-color:#293d55;color:#dbe7f6}
html[data-bb-theme=dark] .emts-theme :is(.emts-confirmation-heading h1,.emts-confirmation-card h2,.emts-auction-empty h2,.bb-auth-form h2,.bb-auth-form label,.emts-profile-form label,.emts-profile-form legend,.emts-detail-heading h1,.emts-auction-detail .history_inner h4){color:#e7eef8}
html[data-bb-theme=dark] .emts-theme :is(.emts-confirmation-heading p,.emts-confirmation-card p,.emts-auction-empty p,.bb-auth-form p,.bb-auth-form small,.bb-auth-form #emts-password-help,.emts-profile-form small){color:#a9b8cc}
html[data-bb-theme=dark] .emts-theme .bb-auth-form :is(input:not([type=checkbox]),select),html[data-bb-theme=dark] .emts-theme .emts-profile-form :is(input,select){background:#0c1728;color:#e7eef8;border-color:#31445f}
html[data-bb-theme=dark] .emts-theme .bb-auth-check{background:#152238;border-color:#31445f;color:#dbe7f6}
html[data-bb-theme=dark] .emts-theme .emts-auction-page-tabs a.is-active{background:#05a660;border-color:#05a660;color:#fff}
html[data-bb-theme=dark] .emts-theme :is(.bids_sec,.upcoming-auction,.closed-auction,.product_detail,.emts-description,.emts-also-available){background:#0a1524;color:#dbe7f6}
html[data-bb-theme=dark] .emts-theme .emts-lot-card{background:#101e31;border-color:#293d55}
html[data-bb-theme=dark] .emts-theme .emts-lot-card .item-name-txt a{color:#dbe7f6}
html[data-bb-theme=dark] .emts-theme .emts-card-console{background:#17283e}
html[data-bb-theme=dark] .emts-theme .emts-card-console .status-product-time{color:#dbe7f6}
html[data-bb-theme=dark] .emts-theme .bb-auth-copy{color:#fff}
html[data-bb-theme=dark] .emts-theme .bb-auth-copy p{color:#e7eef8}
html[data-bb-theme=dark] .emts-theme .emts-auth-error{background:#3d1c25;color:#ffb6ba;border-color:#743b49}

html[data-bb-theme=dark] .emts-theme .emts-site-header,html[data-bb-theme=dark] .emts-theme .emts-site-header .headerInn{background:#09111f!important;border-color:#1f3048}
html[data-bb-theme=dark] .emts-theme .emts-site-header :is(.navigation,.navbar-collapse,.navbar-nav,.navbar-nav>li){background:transparent!important}
html[data-bb-theme=dark] .emts-theme .emts-confirmation-heading>span{color:#a9b8cc}
html[data-bb-theme=dark] .emts-home .bb-info-strip>div{background:#101e31;border-color:#293d55}
html[data-bb-theme=dark] .emts-home .bb-info-strip strong{color:#e7eef8}
html[data-bb-theme=dark] .emts-home .bb-info-strip small{color:#a9b8cc}

html[data-bb-theme=dark] .emts-theme .emts-site-header :is(.user_info,.login-sec-area){background:transparent!important}
html[data-bb-theme=dark] .emts-theme .emts-auction-heading{border-left-color:#05a660}

/* Logged-in summary keeps the existing EMTS links and live balance hooks. */
.emts-theme .emts-site-header .emts-is-signed-in{gap:0;padding:0 0 0 8px;border:1px solid #83d6bd;border-radius:10px;background:linear-gradient(110deg,#d0ebdf,#ecf5f8);min-height:62px;box-shadow:0 12px 30px #14213d0c}
.emts-is-signed-in>.emts-theme-toggle{border:0;background:none;box-shadow:none;margin-right:8px;width:32px;flex-shrink:0}
.emts-account-bar{display:flex;align-items:stretch;min-height:60px}.emts-account-stat{display:flex!important;flex-direction:column;justify-content:center;text-align:center;padding:8px 22px!important;border-left:1px solid #cde0df;min-width:116px;text-decoration:none!important;line-height:1.1!important}.emts-account-stat>span,.emts-account-trigger small{font-size:11px;font-weight:800;color:#526277;display:block}.emts-account-stat>strong{font-size:21px;font-weight:900;line-height:1.2;color:#009368}.emts-account-favourites>strong{color:#2f80ed}.emts-account-trigger{display:flex!important;align-items:center;gap:10px;padding:10px 12px!important;border-left:1px solid #cde0df;line-height:1.25;text-decoration:none!important}.emts-account-trigger strong{display:block;color:#ff633b;font-size:14px}.emts-account-avatar{display:grid;place-items:center;width:34px;height:34px;background:#08b291;border-radius:8px;color:white;font-size:14px;box-shadow:0 5px 12px #08b29124}.emts-account-trigger .fa{color:#526277;margin-left:4px}.emts-account-dropdown .dropdown-menu{left:auto;right:0;min-width:225px;max-height:calc(100vh - 105px);overflow:auto;padding:8px;border:1px solid #d8e4f0;border-radius:9px;box-shadow:0 14px 35px #10182820}.emts-account-dropdown .dropdown-menu>li>a{padding:9px 12px;font:600 14px/1.4 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#475467;white-space:normal}.emts-account-dropdown .dropdown-menu>li>a:hover{background:#e7f5ef;color:#008454;border-radius:5px}
html[data-bb-theme=dark] .emts-theme .emts-site-header .emts-is-signed-in{background:#102b2a!important;border-color:#24544c}html[data-bb-theme=dark] .emts-account-dropdown .dropdown-menu{background:#101e31}html[data-bb-theme=dark] .emts-account-dropdown .dropdown-menu>li>a{color:#e7eef8}
@media(max-width:1200px){.emts-account-stat{padding:8px 10px!important;min-width:82px}.emts-account-trigger{gap:6px;padding:8px!important}}@media(max-width:767px){.emts-account-bar{min-height:52px}.emts-account-stat{min-width:74px}.emts-account-trigger strong{max-width:90px;overflow:hidden;text-overflow:ellipsis}.emts-account-avatar{display:none}.emts-theme .emts-site-header .emts-is-signed-in{min-height:54px}}

.emts-account-dropdown>summary{cursor:pointer;list-style:none}.emts-account-dropdown>summary::-webkit-details-marker{display:none}.emts-account-dropdown[open]>.dropdown-menu{display:block}.emts-account-dropdown:not([open])>.dropdown-menu{display:none}.emts-account-dropdown[open] .fa-angle-down{transform:rotate(180deg)}

/* Maintain readable card headings and countdowns in dark mode. */
html[data-bb-theme=dark] .emts-theme .emts-lot-card .item-name-txt{background:#101e31!important;border-color:#293d55!important}
html[data-bb-theme=dark] .emts-theme .emts-lot-card .item-name-txt a{color:#dbe7f6!important}
html[data-bb-theme=dark] .emts-theme .status-product-time,
html[data-bb-theme=dark] .emts-theme [id$="_timer"]{color:#dbe7f6!important}
.emts-theme .status-product-time.emts-final-timer,
.emts-theme [id$="_timer"].emts-final-timer,
html[data-bb-theme=dark] .emts-theme .status-product-time.emts-final-timer,
html[data-bb-theme=dark] .emts-theme [id$="_timer"].emts-final-timer{color:var(--emts-final-timer-color,#0b0aed)!important}

/* Signed-in account colours from the dev public header. */
html:not([data-bb-theme=dark]) .emts-theme .emts-site-header .user_info.emts-is-signed-in{background:radial-gradient(circle at 12% 50%,rgba(5,166,96,.18),transparent 112px),linear-gradient(135deg,rgba(5,166,96,.11),rgba(47,128,237,.08)),#f8fcfb!important;border-color:rgba(5,166,96,.34);box-shadow:0 14px 30px rgba(16,24,40,.11),inset 0 0 0 1px rgba(255,255,255,.7)}
.emts-theme .emts-site-header .emts-is-signed-in>.emts-theme-toggle{background:transparent!important;border:0!important;box-shadow:none!important}
.emts-theme .emts-account-avatar{background:linear-gradient(135deg,#05a660,#14b8a6);box-shadow:0 8px 18px rgba(5,166,96,.22)}
.emts-theme .emts-account-trigger strong{color:#ff632f}
.emts-theme .emts-account-stat>span,.emts-theme .emts-account-trigger small{color:#516074}
.emts-theme .emts-account-stat,.emts-theme .emts-account-trigger{border-left-color:rgba(16,24,40,.08)}
.emts-theme .emts-account-credits>strong{color:#008f5a;text-shadow:0 1px 0 rgba(255,255,255,.8),0 0 14px rgba(5,166,96,.28)}
html[data-bb-theme=dark] .emts-theme .emts-account-stat>span,html[data-bb-theme=dark] .emts-theme .emts-account-trigger small{color:#b5c4d6}
html[data-bb-theme=dark] .emts-theme .emts-account-credits>strong{text-shadow:none}
