:root {
    --bg-page: #f6f5ee;
    --bg-surface: #fdfffc;
    --bg-subtle: #edf3eb;
    --text-main: #1e2b24;
    --text-muted: #52665b;
    --border-color: #d6e1d6;
    --tg-green: #306e51;
    --tg-on-green: #fff;
    --tg-price: #2f6b4f;
    --tg-timer: #ffdf90;
}
html[data-theme="dark"] {
    --bg-page: #111a15;
    --bg-surface: #1a2620;
    --bg-subtle: #24352b;
    --text-main: #eef5ef;
    --text-muted: #a8bbaf;
    --border-color: #34473c;
    --tg-green: #8fd6ad;
    --tg-on-green: #11251a;
    --tg-price: #8fd6ad;
    --tg-timer: #f5d477;
}
body.turgu-body .turgu-3d-backdrop { display: none; }
body.turgu-body .turgu-header-shell {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: none;
}
.turgu-header-shell a:first-child svg path[fill="#2563eb"] { fill: var(--tg-green); }
body.turgu-body :is(.tg-primary, .bg-blue-600, .turgu-search-submit) {
    background: var(--tg-green);
    color: var(--tg-on-green);
}
body.turgu-body :is(.text-blue-500, .text-blue-600, #tg-staff-nav) { color: var(--tg-price); }
body.turgu-body :focus-visible {
    outline: 2px solid var(--tg-green);
    outline-offset: 2px;
}
body.turgu-body .turgu-home {
    --home-accent: var(--tg-price);
    padding-block: 1rem 2rem;
}
.turgu-green-chips {
    display: flex;
    align-items: center;
    gap: .5rem;
    overflow-x: auto;
    padding: .2rem 0 .45rem;
    scrollbar-width: thin;
}
.turgu-green-chips a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-surface);
    padding: .4rem .75rem;
    font-size: .875rem;
    font-weight: 600;
}
.turgu-green-chips a[data-selected="true"],
.turgu-search-bar #turguMegaBtn,
#turgu-results .turgu-result-layout[aria-current="true"] {
    background: var(--tg-green);
    color: var(--tg-on-green);
}
.turgu-green-chips svg { width: 1rem; height: 1rem; color: inherit; }
body.turgu-body #turguMegaMenu > div > div {
    min-width: 0;
    padding: .65rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
body.turgu-body :is(#turgu-results .turgu-result-card, .au .au-catalog-card) {
    border-radius: 15px;
    border-color: var(--border-color);
    background: var(--bg-surface);
}
body.turgu-body #turgu-results .turgu-result-price {
    color: var(--tg-price);
    font-size: clamp(.95rem, 3.9vw, 1.25rem);
}
#turgu-results .tg-green-lot-photo time {
    position: absolute;
    top: .5rem;
    left: .5rem;
    padding: .23rem .55rem;
    border-radius: 999px;
    color: #332409;
    background: var(--tg-timer);
    font-size: .72rem;
    font-weight: 800;
}
body.turgu-body .au { --auction-card: var(--bg-surface); --auction-accent: var(--tg-price); }
body.turgu-body .au .au-lot-buy .price { color: var(--tg-price); }
.turgu-green-mobile-nav { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 767px) {
    body.turgu-body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
    .turgu-green-mobile-nav {
        height: calc(4rem + env(safe-area-inset-bottom));
        background: var(--bg-surface);
    }
    .turgu-header-shell > div { height: 3.2rem; }
    body.turgu-body .turgu-page-tabs { padding-top: .3rem; }
    body.turgu-body section.turgu-search-bar { padding-block: .55rem; }
    body.turgu-body .turgu-search-bar .tg-search-controls {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .5rem;
    }
    body.turgu-body .turgu-search-bar .tg-quick-search {
        display: flex;
        align-items: stretch;
        gap: .35rem;
    }
    .tg-quick-search [type="search"] { padding: .55rem .4rem .55rem 2.2rem; border-radius: 999px; }
    .tg-quick-search [type="search"] + * { min-width: 0; }
    .tg-quick-search > div > span { left: .65rem; }
    .tg-quick-search .turgu-search-submit { padding-inline: .55rem; border-radius: 999px; }
    .tg-search-controls .tg-search-filters { justify-self: start; grid-column: 1 / -1; }
    .tg-search-controls #turguMegaBtn { padding-inline: .6rem; }
    body.turgu-body #turguMegaMenu { padding: .65rem; }
    body.turgu-body #turguMegaMenu > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
    body.turgu-body #turguMegaMenu ul { padding-left: .4rem; }
    body.turgu-body .turgu-home > :not([hidden]) ~ :not([hidden]) { margin-top: .8rem; }
}
@media (max-width: 480px) {
    .tg-quick-search .tg-search-city { display: none; }
}

