:root {
    --bg: #efe6d6;
    --card: #fbf7f0;
    --ink: #1a140f;
    --muted: #5e5348;
    --line: rgba(26, 20, 15, 0.12);
    --gold: #9a7433;
    --gold-2: #d4b483;
    --cream: #f6f0e6;
    --hero: #16130f;
    --green: #0f6b45;
    --green-2: #1f6b4a;
    --red: #8c3a2f;
    --display: "Unikurd Jino", Tahoma, sans-serif;
    --body: "Unikurd Jino", Tahoma, sans-serif;
}

@font-face {
    font-family: "Unikurd Jino";
    src: url("../fonts/UnikurdJino.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.55), transparent 36%),
        radial-gradient(circle at 100% 0%, rgba(154, 116, 51, 0.09), transparent 28%),
        var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.75;
    background: #f4f1ea;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

::selection { background: #e4c98a; color: var(--ink); }

:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline: none; }

.skip {
    position: absolute;
    inset-inline-start: 1rem;
    top: -48px;
    background: var(--ink);
    color: var(--cream);
    padding: .4rem .7rem;
    z-index: 80;
}

.skip:focus { top: .5rem; }

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(640px, calc(100% - 2rem)); margin-inline: auto; }
.wide { width: min(860px, calc(100% - 2rem)); margin-inline: auto; }

.num {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}
html[lang="ckb"] .num,
html[lang="ar"] .num {
    font-family: "Unikurd Jino", Tahoma, sans-serif;
    font-variant-numeric: normal;
}

.muted, .excerpt, .leader, .help { color: var(--muted); }
.excerpt, .leader, .help { margin: 0; font-size: .95rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #efe6d6;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.55rem;
    color: var(--ink);
}

.logo-mark { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }

.nav-panel {
    display: flex;
    align-items: center;
    gap: .35rem 1rem;
}

.nav-link {
    background: none;
    border: 0;
    padding: .35rem 0;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.nav-link[aria-current="page"] { color: var(--gold); }

.nav-user { color: var(--muted); font-size: .92rem; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle i {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
}

.subnav-wrap { border-top: 1px solid rgba(26, 20, 15, .06); }

.subnav {
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    padding: .55rem 0 .75rem;
    scrollbar-width: none;
}

.subnav a {
    text-decoration: none;
    white-space: nowrap;
    padding: .35rem .75rem;
    border: 1px solid transparent;
    color: var(--ink);
}

.subnav a.is-on {
    border-color: var(--gold);
    color: var(--gold);
}

.badge-count {
    display: inline-block;
    background: var(--red);
    color: #fff;
    border-radius: 99px;
    padding: 0 .4rem;
    font-size: .75rem;
    line-height: 1.4;
}

.hero {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(212, 180, 131, .2), transparent 46%),
        linear-gradient(165deg, #1c1712 0%, #12100e 58%, #2a2118 100%);
    color: var(--cream);
    padding: 2.4rem 0 2.8rem;
}

.hero-frame {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    color: var(--gold);
    font-size: .95rem;
}

.hero .eyebrow { color: var(--gold-2); }

.eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.hero h1,
.page-head h1,
.invite h2,
.section h2 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.35;
}

.hero h1 {
    margin: .35rem 0 .7rem;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
}

.lede {
    max-width: 38rem;
    margin: 0 0 1.15rem;
    color: rgba(246, 240, 230, .82);
}

.hero-actions, .cluster { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    margin: 1.5rem 0 0;
    padding: 0;
}

.hero-stats div { min-width: 5.5rem; }
.hero-stats dt { font-size: .82rem; color: rgba(246, 240, 230, .62); }
.hero-stats dd { margin: 0; font-family: var(--display); font-size: 1.9rem; line-height: 1.2; }

.seal {
    width: 9.5rem;
    height: 9.5rem;
    margin: .7rem auto;
    border-radius: 50%;
    border: 1px solid rgba(212, 180, 131, .85);
    outline: 1px solid rgba(212, 180, 131, .45);
    outline-offset: 8px;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 2rem;
    color: var(--cream);
}

.section { padding: 1.6rem 0 .4rem; }

.section h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lot-grid, .archive-grid, .person-grid, .stat-grid, .account-grid {
    display: grid;
    gap: .9rem;
}

.stat-grid { grid-template-columns: 1fr 1fr; }

.person-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.person-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.sheet {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(20, 20, 40, .12);
    overflow: hidden;
}

.sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(20, 20, 40, .06);
}

.sheet-head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.sheet-ok {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.sheet-scroll { overflow-x: auto; }

.user-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.user-table th,
.user-table td {
    padding: .85rem 1rem;
    text-align: start;
    vertical-align: middle;
}

.user-table th {
    font-size: .78rem;
    color: #7a8194;
    font-weight: 700;
}

.user-table tbody tr:nth-child(even) { background: rgba(244, 246, 252, .7); }
.user-table tbody tr:hover { background: #eef3ff; }
.user-table tfoot th {
    padding: .9rem 1rem;
    text-align: start;
    font-size: 1rem;
}
.click-row { position: relative; cursor: pointer; }
.user-table tbody tr.is-seen,
.user-table tbody tr.is-seen:nth-child(even) {
    background: #f4c4be;
}
.user-table tbody tr.is-seen:hover {
    background: #eaa39b;
}
.who-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.who-link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.map-link { position: relative; z-index: 1; }
.who-link:hover { text-decoration: underline; }
.sheet-sum { margin: 0 1.2rem 1rem; }
.send-bar { width: min(1280px, 100%); margin: 0 0 1rem; }

.who {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.who-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    flex: 0 0 auto;
}

.who strong { font-weight: 700; }

.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .18rem .7rem;
    font-size: .78rem;
    font-weight: 700;
}

.pill-on { background: #d8f8e5; color: #157a45; }
.pill-wait { background: #ffe9bf; color: #9a6a12; }
.pill-admin { background: #dbe7ff; color: #2554d6; }
.pill-user { background: #eceff5; color: #4b5568; }

.user-table { min-width: 860px; }

.edit-link svg {
    width: 15px;
    height: 15px;
}

.row-acts {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.row-acts .btn { width: auto; }

.pass-row {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
}

.pass-row input {
    width: 120px;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .2rem .5rem;
    background: #fff;
}

.lot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(20, 20, 20, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.lot-hit, .lot-media-link {
    color: inherit;
    text-decoration: none;
}

.lot-hit {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lot-media-link { display: block; height: 100%; }

.m-find, .m-pills, .fav-btn, .tabbar { display: none; }

.lot-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(20, 20, 20, 0.12); }

.lot-media, .detail-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1712;
}

.lot-media img, .detail-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}
.detail-media .lot-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.detail-media .lot-slide.is-on {
    opacity: 1;
    pointer-events: auto;
}
.detail-media .lot-slide-dots {
    position: absolute;
    bottom: 10px;
    inset-inline: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.detail-media .lot-slide-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.tone-0 { background: linear-gradient(160deg, #2a2118, #8c3a2f); }
.tone-1 { background: linear-gradient(160deg, #1c1712, #9a7433); }
.tone-2 { background: linear-gradient(160deg, #24312b, #1c1712); }
.tone-3 { background: linear-gradient(160deg, #3a2a22, #d4b483); }

.lot-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--cream);
    font-family: var(--display);
    font-size: 1.8rem;
}

.badge {
    position: absolute;
    z-index: 1;
    top: .7rem;
    inset-inline-start: .7rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--card);
    padding: .15rem .55rem;
    font-size: .8rem;
}

.badge-live { color: var(--green-2); }
.badge-soon { color: var(--gold); }
.badge-end { color: var(--red); }
.badge.inline { position: static; }

.dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--green-2);
    box-shadow: 0 0 0 0 rgba(31, 107, 74, .5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 7px rgba(31, 107, 74, 0); }
}

.lot-body {
    padding: 1rem 1.05rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.lot-no { color: var(--gold); font-size: .78rem; letter-spacing: .12em; }

.lot-card h3, .archive-card h3, .person-card h3, .panel h2, .panel h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
}

.lot-card h3 { font-size: 1.35rem; }

.price-tag {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: flex-end;
    border-top: 1px dashed rgba(26, 20, 15, .2);
    margin-top: auto;
    padding-top: .75rem;
}

.price-tag small, .count-box small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
}

.price-tag strong { display: block; font-size: 1.05rem; font-weight: 600; }

.price-tag .count-box { text-align: left; }
.bid-panel .count-box {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: .7rem;
    text-align: start;
}
[data-part="clock"] { white-space: nowrap; }

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
    counter-reset: step;
}

.steps li {
    background: rgba(255, 253, 248, .72);
    border: 1px solid var(--line);
    padding: 1rem 1rem 1.15rem;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--display);
    margin-bottom: .55rem;
}

.steps h3 { margin: 0 0 .3rem; font-family: var(--display); font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }

.invite {
    background: var(--hero);
    color: var(--cream);
    padding: 2.5rem 0;
    margin-top: 2.2rem;
}

.invite h2 { margin: 0 0 .55rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.invite p { margin: 0 0 1rem; color: rgba(246, 240, 230, .78); max-width: 36rem; }

.page-head { padding: 1.35rem 0 .2rem; }
.page-head h1 { margin: .15rem 0 .35rem; font-size: clamp(2rem, 5vw, 3.1rem); }
.page-head p { margin: 0; }

.alert { padding: .8rem 1rem; margin: 1rem 0; border-inline-start: 4px solid; }
.alert-ok { background: #e7f2ea; border-color: var(--green-2); }
.alert-err { background: #f8ebe6; border-color: var(--red); }
.alert ul { margin: 0; padding-inline-start: 1.1rem; }
.alert a { color: inherit; }

.empty {
    padding: 2.2rem 1rem;
    text-align: center;
    border: 1px dashed rgba(26, 20, 15, .28);
    background: rgba(255, 255, 255, .28);
}

.form-card, .panel, .archive-card, .person-card, .bid-panel, .result-box {
    background: var(--card);
    border: 1px solid var(--line);
}

.form-card, .panel, .archive-card, .person-card { padding: 1.1rem 1.05rem 1.2rem; }
.form-card { margin: .8rem 0 2rem; }

.stack { display: grid; gap: .9rem; }

.field { display: grid; gap: .35rem; }
.field label, .field > span { font-size: .95rem; }

.field input, .field textarea, .field select, .manual-geo input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(26, 20, 15, .18);
    padding: .75rem .8rem;
    border-radius: 2px;
    font-size: 16px;
}

.field textarea { min-height: 140px; resize: vertical; }
.field textarea.is-short {
    min-height: 0;
    height: 4.6em;
    resize: none;
}

.field input:focus, .field textarea:focus, .manual-geo input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(154, 116, 51, .18);
}

.form-grid { display: grid; gap: .9rem; }

input[type="tel"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
.code-input,
.manual-geo input {
    direction: ltr;
    text-align: left;
}

.btn,
.edit-link,
.text-btn,
.profile-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 10px;
    padding: .7rem 1.1rem;
    min-height: 46px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover,
.edit-link:hover,
.text-btn:hover,
.profile-edit:hover {
    background: #3a2e22;
    color: var(--cream);
    border-color: #3a2e22;
}

.btn-gold,
.btn-green {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.btn-gold:hover,
.btn-green:hover {
    background: #3a2e22;
    color: var(--cream);
}

.btn-danger {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.btn-danger:hover {
    background: #3a2e22;
    color: var(--cream);
}

.btn-block { width: 100%; }
.btn-small,
.edit-link {
    min-height: 38px;
    padding: .35rem .85rem;
    font-size: .92rem;
}

.hero .btn, .invite .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.hero .btn:hover, .invite .btn:hover { background: #fff; color: var(--ink); }

.geo-status.is-ok { color: var(--green-2); }

.manual-geo { display: grid; gap: .55rem; }

.wa-preview {
    background: #efe6d4;
    border: 1px solid var(--line);
    padding: .85rem;
    margin: .4rem 0 .2rem;
}

.wa-preview header {
    background: var(--green);
    color: var(--cream);
    margin: -.85rem -.85rem .8rem;
    padding: .55rem .85rem;
    font-size: .92rem;
}

.bubble {
    background: #fff;
    padding: .8rem .9rem;
    border-radius: 12px;
    border-start-start-radius: 2px;
    white-space: pre-line;
    margin: 0;
}

.code-input {
    font-size: 1.55rem;
    letter-spacing: .35rem;
    text-align: center;
}

.detail-layout { display: grid; gap: 1.2rem; padding-bottom: 1.4rem; }

.detail-copy { padding-top: 1rem; }

.detail-copy h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.3;
    margin: .35rem 0 .7rem;
}

.bid-panel { padding: 1rem; }
.big-price { margin: 0; font-family: var(--display); font-size: 2.1rem; line-height: 1.2; }
.big-price small { font-family: var(--body); font-size: .95rem; }

.history { list-style: none; margin: .4rem 0 0; padding: 0; }

.history li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .15rem .8rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
}

.history time { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.history .is-top b { color: var(--gold); }

.result-box { padding: 1rem; margin: 1rem 0; background: #f8efe6; }

.stat { background: var(--hero); color: var(--cream); padding: 1rem 1.05rem; }
.stat span { display: block; color: rgba(246, 240, 230, .65); font-size: .85rem; }
.stat strong { font-family: var(--display); font-size: 2rem; font-weight: 600; }

.archive-card, .person-card { position: relative; }
.archive-card h3, .person-card h3 { font-size: 1.4rem; }
.archive-card p, .person-card p { margin: .35rem 0; }

.user-pass {
    display: grid;
    gap: .45rem;
    margin-top: auto;
    padding-top: .85rem;
    border-top: 1px dashed rgba(26, 20, 15, .16);
}
.user-pass input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .35rem .7rem;
    background: #fff;
}

.stamp {
    width: 4.3rem;
    height: 4.3rem;
    flex: 0 0 auto;
    border: 2px solid var(--red);
    color: var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(-8deg);
    font-family: var(--display);
}

.map-frame {
    width: 100%;
    height: 190px;
    border: 1px solid var(--line);
    margin-top: .7rem;
}

.bid-row {
    display: grid;
    gap: .15rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
}

.tag-won, .tag-lead { color: var(--green-2); }
.tag-lost { color: var(--red); }
.tag-wait { color: var(--gold); }

.preview-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .45rem; }
.preview-item { position: relative; width: 72px; height: 72px; }
.preview-img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; display: block; }
.preview-remove {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 20, 20, .72);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}
.sheet-thumb {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    display: block;
}

.site-footer {
    background: var(--hero);
    color: #e7dcc8;
    padding: 2rem 0 1.2rem;
    margin-top: 2.5rem;
    border-top: 3px solid var(--gold);
}

.footer-grid { display: grid; gap: 1rem; }
.footer-brand { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .3rem; color: var(--cream); }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-links a { color: #e7dcc8; }
.copy { margin-top: 1.2rem; color: rgba(231, 220, 200, .7); font-size: .9rem; }

#live, #soon, #finished { scroll-margin-top: 6rem; }

@media (min-width: 700px) {
    .lot-grid, .archive-grid { grid-template-columns: 1fr 1fr; }
    .person-grid { grid-template-columns: 1fr 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .bid-row { grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; }
    .form-card { padding: 1.45rem; }
}

@media (min-width: 800px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
    .account-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
    .form-grid.two { grid-template-columns: 1fr 1fr; }
    .span-2 { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1.4fr .6fr; }
}

@media (min-width: 900px) {
    .hero-frame { grid-template-columns: 1.4fr .6fr; }
    .seal { width: 13rem; height: 13rem; font-size: 2.6rem; justify-self: center; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
    .bid-panel { position: sticky; top: 96px; }
    .lot-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-panel { flex-wrap: wrap; justify-content: flex-end; }
    .js .nav-toggle { display: inline-flex; }
    .js .nav-panel {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: #fbf7f0;
        border-bottom: 1px solid var(--line);
        padding: .4rem 1rem 1rem;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        z-index: 50;
    }
    .js .nav-panel.is-open { display: flex; }
    .nav-panel .nav-link { padding: .75rem 0; border-bottom: 1px solid rgba(26, 20, 15, .06); text-align: right; }
    .site-header { position: sticky; }
    .header-inner { position: relative; }
    .logo { font-size: 1.3rem; }
}

@media (max-width: 899px) {
    .page-auction .bid-panel {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 30;
        margin: 0;
        border-width: 1px 0 0;
        box-shadow: 0 -10px 28px rgba(20, 15, 12, .12);
        padding-bottom: calc(.85rem + env(safe-area-inset-bottom));
    }
    .page-auction .bid-panel .help,
    .page-auction .bid-panel [data-leader],
    .page-auction .bid-panel [data-bidcount] { display: none; }
    .page-auction .big-price { font-size: 1.55rem; }
    .page-auction main { padding-bottom: 1rem; }
    .page-auction .site-footer { margin-bottom: 210px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dot, .lot-card { animation: none; transition: none; }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 76px;
    background: rgba(244, 241, 236, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.lang-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
}

.lang-pills a {
    text-decoration: none;
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}

.lang-pills a.is-on {
    background: #141414;
    color: #fff;
}

.cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.cat-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.cat-combo { position: relative; z-index: 5; width: min(260px, 100%); }
.cat-combo.is-open { z-index: 8; }

.cat-combo__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 7px 14px 7px 7px;
    border: 1px solid #e6e0d6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.05);
    text-align: start;
    cursor: pointer;
}

[dir="rtl"] .cat-combo__btn { padding: 7px 7px 7px 14px; }

.cat-combo__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8efe3 0%, #f0e2cc 100%);
    color: #b8956c;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.cat-combo__icon svg, .cat-combo__chevron { width: 18px; height: 18px; }

.cat-combo__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

[dir="rtl"] .cat-combo__text { align-items: flex-end; }

.cat-combo__text small {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b8956c;
    font-weight: 700;
}

.cat-combo__text strong {
    font-size: .95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cat-combo__chevron { color: #6f6a63; transition: transform .2s ease; }
.cat-combo.is-open .cat-combo__chevron { transform: rotate(180deg); }

.cat-combo__menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(230, 224, 214, .9);
    box-shadow: 0 24px 60px rgba(20, 20, 20, .14);
    z-index: 6;
}

.cat-combo__menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.cat-combo__menu a:hover { background: #f3eadc; }
.cat-combo__menu a.is-on { background: #141414; color: #fff; }

.cat-count { color: #6f6a63; font-size: .92rem; }

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: .75rem;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.icon-btn svg { width: 22px; height: 22px; }

.lang { position: relative; }

.lang-menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + .4rem);
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(20, 15, 12, .12);
    padding: .35rem;
    z-index: 50;
}

.lang-menu a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: .45rem .7rem;
    border-radius: 8px;
}

.lang-menu a[aria-current="true"],
.lang-menu a:hover { background: #f3eee4; }

.menu-list form { margin: 0; }

.menu-list button {
    display: block;
    width: 100%;
    text-align: start;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    padding: .45rem .7rem;
    border-radius: 8px;
    cursor: pointer;
}

.menu-list button:hover { background: #f3eee4; }

.btn-login {
    width: auto;
}

.text-link { color: inherit; }

.slider {
    position: relative;
    width: min(1120px, calc(100% - 2rem));
    margin: 1.4rem auto 0;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}

.slide.is-on { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.2rem 1.4rem 2.4rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}

.slide-caption h2 { margin: 0; font-family: var(--display); }

.slide-caption a { color: #fff; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    font-size: 1.4rem;
}

.slider-btn.prev { inset-inline-start: .7rem; }
.slider-btn.next { inset-inline-end: .7rem; }

.slider-dots {
    position: absolute;
    inset-inline: 0;
    bottom: .7rem;
    display: flex;
    justify-content: center;
    gap: .4rem;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    padding: 0;
}

.slider-dots button.is-on { background: #fff; }

.chips {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .4rem;
    margin-bottom: 1rem;
}

.chips a {
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: .25rem .85rem;
}

.chips a.is-on {
    background: #143028;
    color: #fff;
    border-color: #143028;
}

.hub {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .8rem;
    padding-block: 1.4rem 2rem;
}

.page-admin .wrap { width: min(1280px, calc(100% - 2rem)); }

.hub-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem .9rem 1.05rem;
    min-height: 168px;
    min-width: 0;
}

.hub-card h2 {
    margin: .4rem 0 .2rem;
    font-family: var(--display);
    font-size: 1.05rem;
    line-height: 1.35;
}

.hub-card p, .hub-card small { color: var(--muted); }
.hub-card p {
    margin: 0;
    font-size: .84rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hub-card small { margin-top: auto; padding-top: .5rem; }
.hub-icon { font-size: 1.4rem; }

.admin-split {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.enter-layout {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    width: min(1280px, calc(100% - 2rem));
    margin: .7rem auto;
    height: calc(100vh - 76px - 1.4rem);
    min-height: 0;
    overflow: hidden;
}

@media (min-width: 721px) {
    body.page-admin:has(.enter-layout) {
        height: 100vh;
        overflow: hidden;
    }
    body.page-admin:has(.enter-layout) main {
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
}

.enter-layout .form-card {
    margin: 0;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    padding: .85rem .9rem 1rem;
}
.enter-layout .stack { gap: .55rem; }
.enter-layout .form-grid.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.enter-layout .span-2 { grid-column: 1 / -1; }
.enter-layout .field { min-width: 0; }
.enter-layout .field input,
.enter-layout .field select,
.enter-layout select {
    padding: .22rem .5rem;
    min-height: 32px;
    height: 32px;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 8px;
}
.enter-layout .field input[type="file"] {
    height: auto;
    min-height: 0;
    padding: .15rem 0;
    border: 0;
    background: transparent;
}
.enter-layout .field textarea {
    min-height: 52px;
    height: 52px;
    resize: none;
}
.enter-layout .preview-row { max-height: 80px; overflow: auto; }
.enter-layout input[type="datetime-local"] {
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    padding-inline: .45rem;
}
.enter-layout .form-grid[hidden],
.enter-layout .field[hidden] { display: none !important; }
.enter-list {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.enter-list .sheet {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.enter-list .sheet-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
}
.enter-layout .user-table,
.enter-table { min-width: 0; }

.qr-panel { text-align: center; }
.qr-box {
    display: inline-block;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    line-height: 0;
}
.qr-box img, .qr-box canvas { margin-inline: auto; }
.wa-link { max-width: 520px; margin-inline: auto; }
.wa-status.ok { color: #1f7a3a; font-weight: 700; }
.wa-status.bad { color: #a33; font-weight: 700; }
#wa-qr img { width: 260px; height: 260px; background: #fff; }
.qr-panel .btn { width: auto; margin-top: .8rem; }

.lot-cat {
    margin: 0 0 .2rem;
    color: var(--gold);
    font-size: .85rem;
}

select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: .4rem .7rem;
}

.page-account { background: #eef2f6; }
.page-account .topbar { background: rgba(238, 242, 246, .92); }

.profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    width: min(1180px, calc(100% - 2rem));
    margin: 1.2rem auto 2.4rem;
    align-items: stretch;
}

.profile-side {
    position: relative;
    background: linear-gradient(180deg, #2aa7ff 0%, #1496f0 100%);
    color: #fff;
    border-radius: 22px;
    padding: 1.3rem 1.2rem 1.1rem;
    min-height: 640px;
    height: auto;
    box-shadow: 0 16px 40px rgba(20, 120, 200, .18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-edit {
    align-self: flex-end;
    min-height: 38px;
    padding: .35rem .85rem;
    font-size: .92rem;
}

.profile-edit svg { width: 16px; height: 16px; }

.profile-avatar {
    width: 112px;
    height: 112px;
    margin-top: .4rem;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    font-weight: 700;
}

.profile-side h1 {
    margin: .8rem 0 0;
    font-size: 1.35rem;
    font-family: var(--display);
}

.profile-sub { margin: .15rem 0 1rem; opacity: .9; }

.profile-meta {
    list-style: none;
    margin: .4rem 0 0;
    padding: 0;
    width: 100%;
    text-align: start;
}

.profile-meta li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .7rem 0;
    font-size: .95rem;
}

.profile-meta svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .25rem; }

.profile-foot {
    margin-top: auto;
    padding-top: 1.4rem;
    font-size: .82rem;
    opacity: .85;
}

.profile-main {
    display: flex;
    flex-direction: column;
    min-height: 640px;
    height: 100%;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 16px;
    flex: 0 0 auto;
}

.stat-card, .profile-board {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 30, 50, .06);
}

.stat-card { padding: 1rem 1.1rem 1.15rem; }

.stat-card header, .board-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.stat-card h2 { margin: 0; font-size: 1.05rem; }
.stat-card header span { color: #8b93a1; font-size: .85rem; }

.stat-body {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: .8rem;
}

.donut {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.donut span {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.donut b { font-size: 1.15rem; }
.donut small { color: #8b93a1; font-size: .72rem; }

.stat-legend { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: #4d5666; }
.stat-legend li { display: flex; align-items: center; gap: .4rem; margin: .28rem 0; }
.stat-legend i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-won { background: #3dce7a; }
.dot-lead { background: #2f80ed; }
.dot-wait { background: #f5a524; }
.dot-avg { background: #49c2f2; }
.dot-lost { background: #f05454; }

.spend { position: relative; width: 118px; height: 118px; flex: 0 0 auto; }
.spend-lg, .spend-sm {
    position: absolute;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    line-height: 1.1;
    padding: .3rem;
}
.spend-lg {
    width: 92px;
    height: 92px;
    background: #2f6fed;
    font-size: .78rem;
    inset-inline-start: 0;
    top: 8px;
}
.spend-sm {
    width: 58px;
    height: 58px;
    background: #49c2f2;
    font-size: .68rem;
    inset-inline-end: 0;
    bottom: 4px;
}

.profile-board {
    margin-top: 16px;
    padding: .4rem .9rem 1rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.profile-board > [data-panel] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.profile-board > [data-panel][hidden] { display: none !important; }

.board-bar {
    border-bottom: 1px solid #eef1f5;
    padding: .35rem 0;
}

.board-tabs { display: flex; gap: .2rem; overflow: auto; }
.board-tabs button {
    border: 0;
    background: transparent;
    font: inherit;
    color: #8b93a1;
    padding: .7rem .75rem;
    cursor: pointer;
    white-space: nowrap;
}
.board-tabs button.is-on {
    color: #1496f0;
    box-shadow: inset 0 -2px 0 #1496f0;
}

.board-new {
    flex: 0 0 auto;
    background: #1496f0;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: .45rem .8rem;
    font-weight: 700;
    font-size: .92rem;
}

.trip-list { padding: .35rem 0; }
.trip-row {
    display: grid;
    grid-template-columns: 108px 110px 64px minmax(0, 1fr);
    gap: .6rem;
    align-items: center;
    padding: .85rem .35rem;
    border-bottom: 1px solid #f1f3f7;
    color: inherit;
    text-decoration: none;
}
.trip-row:hover { background: #f7fafc; }
.trip-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-won, .pill-lead, .pill-wait, .pill-lost {
    justify-self: start;
    font-style: normal;
    font-size: .82rem;
    font-weight: 700;
    padding: .12rem .45rem;
    border-radius: 8px;
}
.pill-won { color: #1f9d55; }
.pill-lead { color: #1d6fe0; }
.pill-wait { color: #c47d09; }
.pill-lost { color: #e14b4b; }

.profile-pass { max-width: 420px; padding: 1rem 0 .4rem; }
.profile-forms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    padding: 1rem 0 .4rem;
}
.profile-forms .btn { width: auto; }
.profile-board .empty {
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    margin: 1rem 0 0;
    min-height: 160px;
}
.profile-board .map-frame { height: 280px; border: 0; border-radius: 14px; }
.pick-map {
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #d7e3ee;
}
.form-card .pick-map { margin: .45rem 0 .75rem; }
.form-card .place-actions { margin: .15rem 0 .35rem; }
.pick-map img { max-width: none; }
.place-form { padding-top: .8rem; }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.place-actions .btn { width: auto; }

@media (max-width: 1100px) {
    .hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .profile, .profile-stats, .profile-forms { grid-template-columns: 1fr; }
    .profile { width: min(1180px, calc(100% - 1rem)); margin-top: .7rem; }
    .profile-main, .profile-side { min-height: 0; height: auto; }
    .profile-board { flex: none; }
}

@media (max-width: 720px) {
    .slider { height: 190px; }
    .hub, .admin-split, .enter-layout { grid-template-columns: 1fr; }
    .enter-layout { height: auto; overflow: visible; }
    .person-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .person-card { padding: .85rem .8rem 1rem; }
    .hub-card { min-height: 0; }
    .profile-side { min-height: 0; padding: 1rem 1rem .85rem; }
    .profile-avatar { width: 84px; height: 84px; font-size: 1.8rem; }
    .profile-side h1 { font-size: 1.2rem; }
    .profile-meta li { margin: .35rem 0; }
    .profile-meta span { min-width: 0; overflow-wrap: anywhere; }
    .profile-foot { padding-top: .7rem; }
    .stat-card { padding: .85rem; }
    .stat-body { flex-wrap: wrap; }
    .board-bar { flex-direction: column; align-items: stretch; }
    .board-tabs { width: 100%; overflow: visible; flex-wrap: wrap; }
    .board-tabs button { padding: .55rem .65rem; }
    .board-new { text-align: center; }
    .place-actions { flex-direction: column; align-items: stretch; }
    .place-actions .btn, .profile-forms .btn { width: 100%; }
    .pick-map { height: 240px; }
    .trip-row { grid-template-columns: 1fr 1fr; }
    .trip-title { grid-column: 1 / -1; white-space: normal; }

    body:not(.page-admin) {
        background: #eef3f8;
        padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
    }
    body.page-auction { padding-bottom: 0; }
    .site-footer { display: none; }
    .page-home .slider,
    .page-auctions .slider,
    .page-home .cat-row,
    .page-auctions .cat-row,
    .page-favorites .cat-row,
    .page-winners .cat-row { display: none; }
    body:not(.page-admin) .logo { display: none; }
    .lot-grid { direction: ltr; }
    .lot-card { direction: rtl; }
    .m-pills { direction: ltr; }
    .topbar {
        height: auto;
        background: #eef3f8;
        border-bottom: 0;
        backdrop-filter: none;
    }
    .topbar-inner { min-height: 64px; gap: .55rem; }
    .m-find { display: block; flex: 1; min-width: 0; order: 1; }
    .top-actions { order: 0; }
    .m-find label { position: relative; display: block; }
    .m-find input {
        width: 100%;
        height: 44px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 6px 18px rgba(30, 50, 80, .06);
        padding-inline: 1rem 2.4rem;
    }
    .m-find svg {
        position: absolute;
        width: 18px;
        height: 18px;
        inset-inline-end: .85rem;
        top: 50%;
        transform: translateY(-50%);
        color: #98a2b3;
    }
    .icon-btn {
        border: 0;
        box-shadow: 0 6px 18px rgba(30, 50, 80, .06);
    }
    .section { padding-top: .35rem; }
    .lot-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .lot-card {
        border: 0;
        border-radius: 18px;
        box-shadow: 0 8px 22px rgba(30, 50, 80, .06);
    }
    .lot-media {
        aspect-ratio: 1;
        margin: .45rem .45rem 0;
        border-radius: 14px;
    }
    .lot-card .badge,
    .lot-no,
    .lot-card .excerpt,
    .lot-cat,
    .leader,
    .price-tag { display: none; }
    .lot-body { padding: .45rem .4rem .65rem; gap: .25rem; }
    .lot-card h3 {
        font-size: .92rem;
        line-height: 1.35;
        text-align: center;
        min-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .fav-btn {
        display: grid;
        place-items: center;
        position: absolute;
        z-index: 2;
        bottom: .4rem;
        inset-inline-start: .4rem;
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #9aa3b2;
        box-shadow: 0 4px 12px rgba(20, 30, 50, .12);
        padding: 0;
    }
    .fav-btn svg { width: 16px; height: 16px; }
    .fav-btn.is-on { color: #e25555; }
    .fav-btn.is-on svg path { fill: currentColor; }
    .m-pills {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .3rem;
    }
    .m-price, .m-time {
        border-radius: 999px;
        padding: .18rem .42rem;
        font-size: .68rem;
        font-weight: 700;
        line-height: 1.35;
        max-width: 58%;
    }
    .m-price { background: #eef1f4; color: #2c3340; }
    .m-time { background: #f4ead3; color: #8a6840; text-align: center; }
    .page-auction .tabbar { display: none; }
    .page-auction .site-footer { display: block; }
    .tabbar {
        display: flex;
        position: fixed;
        z-index: 40;
        inset-inline: .55rem;
        bottom: .4rem;
        padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom));
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 10px 30px rgba(30, 50, 80, .12);
    }
    .tabbar a {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .12rem;
        text-decoration: none;
        color: #8b93a7;
        font-size: .62rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }
    .tabbar svg { width: 22px; height: 22px; }
    .tabbar a.is-on { color: #2f7cf6; }
}

body.dash {
    display: block;
    background: #F9FAFB;
    color: #1D2939;
    font-family: "Outfit", "Unikurd Jino", Tahoma, sans-serif;
}
html[lang="ckb"] body.dash,
html[lang="ar"] body.dash,
html[lang="ckb"] body.auth,
html[lang="ar"] body.auth {
    font-family: "Unikurd Jino", "Outfit", Tahoma, sans-serif;
}
html[lang="ckb"] input,
html[lang="ckb"] textarea,
html[lang="ckb"] select,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
    font-family: "Unikurd Jino", Tahoma, sans-serif;
}
body.dash .dash-app {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 100vh;
    text-align: start;
}
body.dash .dash-side {
    background: #fff;
    border-inline-end: 1px solid #F1F5F9;
    padding: 1.4rem 1.15rem 1.2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.dash .dash-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: #101828;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 1.7rem .15rem;
    letter-spacing: -.02em;
}
body.dash .dash-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    display: block;
    flex-shrink: 0;
}
body.dash .dash-kicker {
    margin: 0 0 .45rem .85rem;
    color: #98A2B3;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}
body.dash .dash-kicker-end { display: none; }
body.dash .dash-nav { display: grid; gap: 2px; }
body.dash .dash-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .85rem;
    border-radius: 10px;
    text-decoration: none;
    color: #344054;
    font-weight: 500;
    font-size: .95rem;
}
body.dash .dash-nav a > svg:first-child { width: 20px; height: 20px; flex-shrink: 0; color: #667085; }
body.dash .dash-nav a span { flex: 1; }
body.dash .dash-chevron { width: 16px; height: 16px; color: #98A2B3; margin-inline-start: auto; }
body.dash .dash-new {
    font-style: normal;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #12B76A;
    background: #ECFDF3;
    border-radius: 999px;
    padding: .12rem .4rem;
}
body.dash .dash-nav a:hover { background: #F2F4F7; }
body.dash .dash-nav a.is-on {
    background: #F2F7FF;
    color: #465FFF;
    font-weight: 600;
}
body.dash .dash-nav a.is-on > svg:first-child { color: #465FFF; }
@media (min-width: 721px) {
    body.dash .dash-app.is-collapsed {
        grid-template-columns: 90px minmax(0, 1fr);
    }
    body.dash .dash-app.is-collapsed .dash-side {
        display: flex;
        align-items: center;
        padding: 1.15rem .55rem 1rem;
    }
    body.dash .dash-app.is-collapsed .dash-brand {
        margin: 0 0 1.1rem;
        justify-content: center;
        width: 100%;
    }
    body.dash .dash-app.is-collapsed .dash-brand strong { display: none; }
    body.dash .dash-app.is-collapsed .dash-kicker {
        width: 100%;
        margin: 0 0 .55rem;
        padding: 0;
        font-size: 0;
        letter-spacing: 0;
        text-align: center;
        line-height: 1;
    }
    body.dash .dash-app.is-collapsed .dash-kicker::before {
        content: "⋯";
        display: block;
        font-size: 1.45rem;
        font-weight: 700;
        color: #98A2B3;
        letter-spacing: .08em;
    }
    body.dash .dash-app.is-collapsed .dash-kicker-end {
        display: block;
        margin-top: auto;
        padding-top: .8rem;
        margin-bottom: 0;
    }
    body.dash .dash-app.is-collapsed .dash-nav {
        width: 100%;
        justify-items: center;
        gap: .35rem;
    }
    body.dash .dash-app.is-collapsed .dash-nav a {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 12px;
        gap: 0;
    }
    body.dash .dash-app.is-collapsed .dash-nav a span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    body.dash .dash-app.is-collapsed .dash-nav a.is-on {
        background: #EEF2FF;
        color: #465FFF;
    }
    body.dash .dash-app.is-collapsed .dash-nav a:hover { background: #F2F4F7; }
    body.dash .dash-app.is-collapsed .dash-nav a.is-on:hover { background: #EEF2FF; }
}
body.dash .dash-stage { min-width: 0; background: #F9FAFB; }
body.dash .dash-top {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 80px;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #F1F5F9;
}
body.dash .dash-top button,
body.dash .dash-top input {
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    font-family: "Outfit", Tahoma, sans-serif;
}
body.dash .dash-burger,
body.dash .dash-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #E4E7EC;
    background: #fff;
    display: grid;
    place-items: center;
    color: #344054;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background .15s ease, border-color .15s ease;
}
body.dash .dash-burger,
body.dash .dash-icon {
    border-radius: 12px;
    color: #1D2939;
}
body.dash .dash-burger:hover,
body.dash .dash-icon:hover { background: #F9FAFB; border-color: #D0D5DD; }
body.dash .dash-burger:focus-visible,
body.dash .dash-icon:focus-visible { outline: none; border-color: #465FFF; }
body.dash .dash-burger svg { width: 22px; height: 22px; }
body.dash .dash-icon svg { width: 20px; height: 20px; }
body.dash .dash-icon { position: relative; }
body.dash .dash-dot {
    position: absolute;
    top: 7px;
    inset-inline-end: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F04438;
    box-shadow: 0 0 0 2px #fff;
}
body.dash .dash-find {
    flex: 1;
    position: relative;
    max-width: 560px;
}
body.dash .dash-find svg {
    position: absolute;
    width: 20px;
    height: 20px;
    inset-inline-start: 1.05rem;
    top: 50%;
    transform: translateY(-50%);
    color: #98A2B3;
    pointer-events: none;
    z-index: 1;
}
body.dash .dash-find input {
    width: 100%;
    height: 48px;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    background: #fff;
    padding-block: 0;
    padding-inline: 2.75rem 4.1rem;
    font-size: .95rem;
    font-weight: 400;
    color: #1D2939;
    outline: none;
    line-height: 48px;
}
body.dash .dash-find input::placeholder { color: #98A2B3; font-weight: 400; }
body.dash .dash-find input:hover { border-color: #D0D5DD; }
body.dash .dash-find input:focus { border-color: #465FFF; }
body.dash .dash-find input::-webkit-search-decoration,
body.dash .dash-find input::-webkit-search-cancel-button,
body.dash .dash-find input::-webkit-search-results-button,
body.dash .dash-find input::-webkit-search-results-decoration { display: none; }
body.dash .dash-find kbd {
    position: absolute;
    inset-inline-end: .55rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    height: 28px;
    padding: 0 .6rem;
    font-size: .72rem;
    font-weight: 500;
    color: #667085;
    border: 1px solid #E4E7EC;
    border-radius: 8px;
    background: #F2F4F7;
    pointer-events: none;
}
body.dash .dash-tools { display: flex; align-items: center; gap: .55rem; margin-inline-start: auto; }
body.dash .dash-chevron { flex-shrink: 0; }
[dir="rtl"] body.dash .dash-chevron { transform: scaleX(-1); }
body.dash .dash-tools .lang { position: relative; }
body.dash .dash-user {
    height: 48px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 0;
    cursor: pointer;
    color: #101828;
    font: inherit;
}
body.dash .dash-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, #52525b, #18181b);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .9rem;
    overflow: hidden;
}
body.dash .dash-user-name { font-size: .95rem; font-weight: 600; }
body.dash .dash-user svg { width: 16px; height: 16px; color: #98A2B3; }
body.dash .dash-user-menu.lang-menu {
    min-width: 260px;
    padding: 1rem .85rem .75rem;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .12);
    background: #fff;
}
body.dash .dash-user-head {
    padding: 0 .55rem .85rem;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: .65rem;
}
body.dash .dash-user-head strong {
    display: block;
    font-size: .98rem;
    color: #101828;
}
body.dash .dash-user-head span {
    display: block;
    margin-top: .2rem;
    font-size: .82rem;
    color: #98A2B3;
    direction: ltr;
    unicode-bidi: isolate;
}
body.dash .dash-user-link,
body.dash .dash-user-out {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .7rem .75rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #344054;
    text-decoration: none;
    font: inherit;
    font-weight: 500;
    text-align: start;
    cursor: pointer;
}
body.dash .dash-user-link svg,
body.dash .dash-user-out svg { width: 20px; height: 20px; flex-shrink: 0; }
body.dash .dash-user-link.is-on,
body.dash .dash-user-link:hover { background: #F2F4F7; color: #101828; }
body.dash .dash-user-menu form { margin: .15rem 0 0; }
body.dash .dash-user-out { color: #F04438; }
body.dash .dash-user-out:hover { background: #F2F4F7; color: #F04438; }
body.dash .dash-note-menu {
    min-width: 320px;
    max-width: min(360px, calc(100vw - 1.5rem));
}
body.dash .dash-note-stats {
    padding: .15rem .55rem .85rem;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: .65rem;
}
body.dash .dash-note-stats > p {
    margin: 0 0 .55rem;
    font-size: .82rem;
    color: #667085;
    font-weight: 600;
}
body.dash .dash-note-stats > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
}
body.dash .dash-note-stats span {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .7rem .75rem;
    border-radius: 12px;
    background: #F9FAFB;
}
body.dash .dash-note-stats small { color: #98A2B3; font-size: .72rem; }
body.dash .dash-note-stats strong { font-size: 1.15rem; color: #101828; }
body.dash .dash-note-empty {
    margin: 0;
    padding: .4rem .55rem .7rem;
    color: #667085;
    font-size: .9rem;
}
body.dash .dash-note-list {
    max-height: 320px;
    overflow: auto;
    display: grid;
    gap: .45rem;
}
body.dash .dash-note-item {
    padding: .7rem .75rem;
    border-radius: 12px;
    background: #F9FAFB;
}
body.dash .dash-note-item strong {
    display: block;
    font-size: .9rem;
    color: #101828;
}
body.dash .dash-note-item small {
    display: block;
    margin-top: .15rem;
    color: #465FFF;
    font-size: .75rem;
}
body.dash .dash-note-item p {
    margin: .35rem 0 0;
    color: #344054;
    font-size: .88rem;
    white-space: pre-line;
    line-height: 1.45;
}
body.dash .dash-note-item time {
    display: block;
    margin-top: .35rem;
    color: #98A2B3;
    font-size: .72rem;
}
body.dash .dash-body { padding: 1.25rem 1.5rem 2rem; }
body.dash .dash-body.is-account {
    padding-top: 0;
    padding-bottom: .75rem;
}
body.dash .dash-panel[hidden] { display: none !important; }
body.dash .profile {
    width: 100%;
    margin: 0;
}
body.dash .acc {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: none;
}
body.dash .acc-card {
    background: #fff;
    border: 1px solid #E4E7EC;
    border-radius: 16px;
    padding: 1.15rem 1.25rem 1.2rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
body.dash .acc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .85rem;
}
body.dash .acc-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #101828;
}
body.dash .acc-hint {
    margin: .2rem 0 0;
    color: #667085;
    font-size: .86rem;
}
body.dash .acc-edit {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto;
    min-height: 38px;
    padding: .4rem .9rem;
    border: 1px solid #D0D5DD;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
body.dash .acc-edit svg { width: 15px; height: 15px; }
body.dash .acc-edit:hover { background: #F9FAFB; }
body.dash .acc-who {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.15rem;
}
body.dash .acc-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #EEF2FF;
    color: #465FFF;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 700;
    flex: 0 0 auto;
}
body.dash .acc-who strong {
    display: block;
    font-size: 1.05rem;
    color: #101828;
}
body.dash .acc-who p {
    margin: .15rem 0 0;
    color: #667085;
    font-size: .88rem;
}
body.dash .acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}
body.dash .acc-grid small {
    display: block;
    margin-bottom: .25rem;
    color: #667085;
    font-size: .8rem;
}
body.dash .acc-grid b {
    display: block;
    color: #101828;
    font-weight: 600;
    font-size: .95rem;
    overflow-wrap: anywhere;
}
body.dash .acc-grid b.num {
    direction: inherit;
    unicode-bidi: isolate;
}
body.dash .acc-span { grid-column: 1 / -1; }
body.dash .acc-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
body.dash .acc-trio .acc-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
body.dash .acc-trio .acc-head {
    align-items: center;
    flex-wrap: nowrap;
    gap: .5rem;
    margin-bottom: .55rem;
    min-height: 38px;
}
body.dash .acc-trio .acc-head h2 {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.dash .acc-trio .acc-edit { white-space: nowrap; }
body.dash .acc-trio form { margin: 0; }
body.dash .acc-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    background: rgba(16, 24, 40, .45);
}
body.dash .acc-modal[hidden] { display: none !important; }
body.dash .acc-dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: min(90vh, 860px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: 1.4rem 1.45rem 1.5rem;
    box-shadow: 0 20px 50px rgba(16, 24, 40, .18);
}
body.dash .acc-dialog.is-plain { padding-top: 3.1rem; }
body.dash .acc-dialog h2 {
    margin: 0 2.2rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #101828;
}
[dir="rtl"] body.dash .acc-dialog h2 { margin: 0 0 0 2.2rem; }
body.dash .acc-dialog > .acc-hint { margin: .35rem 0 1.15rem; }
body.dash .acc-x {
    position: absolute;
    top: 1.1rem;
    inset-inline-end: 1.1rem;
    width: 36px;
    height: 36px;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}
body.dash .acc-x svg { width: 16px; height: 16px; }
body.dash .acc-x:hover { background: #F9FAFB; }
body.dash .acc-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem 1rem;
}
body.dash .acc-modal .field input,
body.dash .acc-modal .field textarea {
    border: 1px solid #D0D5DD;
    border-radius: 12px;
    min-height: 44px;
    box-shadow: none;
}
body.dash .acc-modal .field textarea { min-height: 52px; height: 52px; resize: none; }
body.dash .acc-modal .field input:focus,
body.dash .acc-modal .field textarea:focus {
    border-color: #465FFF;
    box-shadow: 0 0 0 3px rgba(70, 95, 255, .15);
}
body.dash .acc-modal .btn { border-radius: 12px; }
body.dash .acc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
body.dash .acc-row strong { display: block; color: #101828; font-size: .95rem; }
body.dash .acc-row .acc-hint { margin-top: .2rem; }
body.dash .acc .pick-map { height: 180px; border-radius: 14px; }
body.dash .dash-board {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr);
    grid-template-areas:
        "metrics target"
        "sales target";
    gap: 1.35rem;
    margin-bottom: 1.35rem;
    align-items: stretch;
}
body.dash .dash-metrics { grid-area: metrics; display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
body.dash .dash-target { grid-area: target; }
body.dash .dash-sales { grid-area: sales; }
body.dash .dash-card {
    background: #fff;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
    padding: 1.25rem 1.35rem 1.3rem;
}
body.dash .dash-stat { min-height: 148px; }
body.dash .dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #F2F4F7;
    color: #667085;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}
body.dash .dash-stat-icon svg { width: 22px; height: 22px; }
body.dash .dash-stat p { margin: 0 0 .45rem; color: #667085; font-weight: 500; font-size: .95rem; }
body.dash .dash-stat-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
body.dash .dash-stat strong { font-size: 1.7rem; letter-spacing: -.03em; font-weight: 700; }
body.dash .dash-delta {
    font-size: .84rem;
    font-weight: 600;
    border-radius: 999px;
    padding: .18rem .5rem;
}
body.dash .dash-delta.is-up { color: #12B76A; background: #ECFDF3; }
body.dash .dash-delta.is-down { color: #F04438; background: #FEF3F2; }
body.dash .dash-target,
body.dash .dash-sales { display: flex; flex-direction: column; }
body.dash .dash-target header,
body.dash .dash-sales header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .6rem;
}
body.dash .dash-target header h2,
body.dash .dash-sales header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}
body.dash .dash-target header p {
    margin: .25rem 0 0;
    color: #667085;
    font-size: .9rem;
}
body.dash .dash-more {
    border: 0;
    background: transparent;
    color: #98A2B3;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
body.dash .dash-ring {
    position: relative;
    width: min(250px, 100%);
    margin: .2rem auto 0;
}
body.dash .dash-ring svg { width: 100%; display: block; }
body.dash .dash-ring-track,
body.dash .dash-ring-value {
    fill: none;
    stroke-width: 18;
    stroke-linecap: round;
    transform: rotate(135deg);
    transform-origin: 100px 100px;
}
body.dash .dash-ring-track { stroke: #E4E7EC; stroke-dasharray: 330 440; }
body.dash .dash-ring-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    gap: .35rem;
}
body.dash .dash-ring-label strong { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
body.dash .dash-ring-label .dash-delta { justify-self: center; }
body.dash .dash-keep {
    text-align: center;
    color: #667085;
    font-size: .92rem;
    line-height: 1.55;
    margin: .15rem 0 1.1rem;
}
body.dash .dash-keep b { color: #101828; }
body.dash .dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 1rem;
    margin-top: auto;
    text-align: center;
}
body.dash .dash-kpis small { display: block; color: #667085; font-size: .85rem; }
body.dash .dash-kpis b { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; margin-top: .35rem; font-size: 1.05rem; }
body.dash .dash-kpis .dash-delta { padding: 0; background: transparent; }
body.dash .dash-sales header { margin-bottom: .4rem; }
body.dash .dash-bars {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: .55rem;
    height: 230px;
    padding-top: .4rem;
}
body.dash .dash-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: .4rem;
    color: #667085;
    font-size: .75rem;
    font-weight: 500;
}
body.dash .dash-bar i {
    display: block;
    width: 100%;
    max-width: 22px;
    border-radius: 40px;
    background: #7592FF;
    min-height: 12px;
}
body.dash .dash-bar.is-now i { background: #465FFF; max-width: 24px; }
body.dash .slider {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.35rem;
}
body.dash .section { padding-top: 0; }
body.dash .section .wrap { width: 100%; margin: 0; }
body.dash .hub { padding-block: 0; }
body.dash .cat-combo__btn { border-radius: 14px; box-shadow: none; }
body.dash .lot-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1.1rem;
    background: rgba(16, 24, 40, .45);
}
body.dash .lot-modal[hidden] { display: none !important; }
body.dash .lot-dialog {
    position: relative;
    width: fit-content;
    max-width: calc(100% - 2.2rem);
    max-height: min(90vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: 4.1rem 1.4rem 1.4rem;
    box-shadow: 0 20px 50px rgba(16, 24, 40, .18);
}
body.dash .lot-dialog .acc-x {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 0.85rem;
    width: 36px;
    height: 36px;
    border: 1px solid #E4E7EC;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}
body.dash .lot-dialog .acc-x svg { width: 16px; height: 16px; }
body.dash .lot-dialog .wrap { width: 100%; margin: 0; }
body.dash .lot-dialog .detail-layout { padding-bottom: 0; }
body.dash .lot-dialog .detail-copy { padding-top: .55rem; padding-inline-end: 2.2rem; }
body.dash .lot-dialog .detail-copy h1 { font-size: 1.45rem; }
body.dash .lot-dialog .detail-media {
    position: relative;
    width: 340px;
    height: 340px;
    min-height: 340px;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
}
body.dash .lot-dialog .detail-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}
body.dash .lot-dialog .lot-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
body.dash .lot-dialog .lot-slide.is-on {
    opacity: 1;
    pointer-events: auto;
}
body.dash .lot-dialog .lot-slide-dots {
    position: absolute;
    bottom: 10px;
    inset-inline: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
}
body.dash .lot-dialog .lot-slide-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
}
body.dash .lot-dialog .lot-slide-dots button.is-on { background: #fff; }
body.dash .lot-dialog .bid-panel {
    position: static;
    top: auto;
    width: 340px;
    max-width: 100%;
    min-height: 340px;
    border-radius: 14px;
    padding: .72rem .8rem .85rem;
    background: #fff;
    box-sizing: border-box;
}
body.dash .lot-dialog .buy-line {
    margin: .45rem 0 0;
    color: #101828;
    font-size: .98rem;
    font-weight: 600;
}
body.dash .lot-dialog .buy-note {
    margin: .55rem 0 .7rem;
    color: #667085;
    font-size: .78rem;
    line-height: 1.45;
    font-weight: 500;
}
body.dash .lot-dialog .buy-ways {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}
body.dash .lot-dialog .buy-ways .btn {
    font-size: .72rem;
    padding: .65rem .4rem;
    white-space: normal;
    line-height: 1.3;
}
body.dash .lot-dialog .buy-ways .btn.is-alt {
    background: #fff;
    color: #101828;
    border: 1px solid #E4E7EC;
}
body.dash .lot-dialog .bid-panel .badge {
    background: none;
    padding: 0;
    box-shadow: none;
}
body.dash .lot-dialog .big-price { font-size: 1.7rem; }
@media (min-width: 900px) {
    body.dash .lot-dialog .detail-layout {
        grid-template-columns: 340px 340px;
        gap: 1rem;
        align-items: start;
        width: max-content;
    }
}
@media (max-width: 899px) {
    body.dash .lot-dialog .detail-media {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1;
    }
    body.dash .lot-dialog .bid-panel {
        width: 100%;
        min-height: 0;
    }
}
body.dash .home-ad {
    position: relative;
    width: 100%;
    height: 148px;
    margin: 0 0 14px;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
}
body.dash .home-ad__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    transition: opacity .4s ease;
}
body.dash .home-ad__slide.is-on {
    opacity: 1;
    pointer-events: auto;
}
body.dash .home-ad__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.dash .home-ad__slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 78px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .62));
    pointer-events: none;
}
body.dash .home-ad__text {
    position: absolute;
    inset: 0 18px 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #fff;
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
    white-space: pre-line;
    overflow: hidden;
}
body.dash .home-ad__dots {
    position: absolute;
    bottom: 10px;
    inset-inline: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
}
body.dash .home-ad__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}
body.dash .home-ad__dots button.is-on { background: #fff; }
body.dash .lot-grid {
    grid-template-columns: repeat(auto-fill, 260px);
    gap: 12px;
    justify-content: start;
}
body.dash .lot-card {
    width: 260px;
    height: 260px;
    border-radius: 16px;
}
body.dash .lot-media .badge {
    background: none;
    padding: 0;
    box-shadow: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
body.dash .lot-media .badge-soon {
    color: #F04438;
}
body.dash .lot-media {
    position: relative;
    aspect-ratio: auto;
    height: 148px;
    flex: 0 0 148px;
    overflow: hidden;
}
body.dash .lot-media-link {
    display: block;
    position: relative;
    width: 100%;
    height: 148px;
}
body.dash .lot-media img {
    position: static;
    width: 100%;
    height: 148px;
    object-fit: cover;
    max-width: none;
}
body.dash .lot-no,
body.dash .lot-card .excerpt,
body.dash .lot-cat,
body.dash .leader { display: none; }
body.dash .lot-body {
    padding: .5rem .7rem .6rem;
    gap: .25rem;
    min-height: 0;
}
body.dash .lot-card h3 {
    font-size: .95rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.dash .price-tag { padding-top: .45rem; gap: .35rem; }
body.dash .dash-mask {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .35);
    z-index: 40;
}
body.dash.dash-dark {
    background: #101828;
    color: #F2F4F7;
}
body.dash.dash-dark .dash-side,
body.dash.dash-dark .dash-card,
body.dash.dash-dark .dash-find input,
body.dash.dash-dark .dash-burger,
body.dash.dash-dark .dash-icon { background: #1A2231; border-color: #344054; color: #F2F4F7; }
body.dash.dash-dark .dash-stage { background: #101828; }
body.dash.dash-dark .dash-top { background: #1A2231; border-bottom-color: #344054; }
body.dash.dash-dark .dash-brand,
body.dash.dash-dark .dash-keep b,
body.dash.dash-dark .dash-stat strong { color: #fff; }
body.dash.dash-dark .dash-nav a { color: #D0D5DD; }
body.dash.dash-dark .dash-nav a:hover { background: #344054; }
body.dash.dash-dark .dash-nav a.is-on { background: #1D2939; color: #7592FF; }

@media (max-width: 1100px) {
    body.dash .dash-board {
        grid-template-columns: 1fr;
        grid-template-areas:
            "metrics"
            "target"
            "sales";
    }
}

@media (max-width: 720px) {
    body.dash .dash-app,
    body.dash .dash-app.is-collapsed { display: block; }
    body.dash .dash-side {
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        inset-inline-end: auto;
        width: min(290px, 86vw);
        height: 100vh;
        z-index: 50;
        transform: translateX(-110%);
        border: 0;
        box-shadow: 0 12px 40px rgba(16, 24, 40, .18);
        display: flex;
    }
    [dir="rtl"] body.dash .dash-side { transform: translateX(110%); }
    body.dash .dash-app.is-nav .dash-side { transform: none; }
    body.dash .dash-find kbd,
    body.dash .dash-user-name,
    body.dash .dash-user svg { display: none; }
    body.dash .dash-top { padding: 0 .75rem; min-height: 64px; }
    body.dash .dash-body { padding: .7rem .75rem 1rem; }
    body.dash .dash-body.is-account { padding-top: 0; padding-bottom: .5rem; }
    body.dash .dash-metrics { grid-template-columns: 1fr 1fr; gap: .75rem; }
    body.dash .dash-stat { min-height: 0; padding: 1rem; }
    body.dash .dash-stat strong { font-size: 1.25rem; }
    body.dash .dash-bars { height: 170px; gap: .25rem; }
    body.dash .dash-bar { font-size: .58rem; }
    body.dash .acc-trio { grid-template-columns: 1fr; }
    body.dash .acc-grid { grid-template-columns: 1fr; }
    body.dash .acc-modal-grid { grid-template-columns: 1fr; }
    body.dash .acc-row { flex-wrap: wrap; }
    body.dash .acc-card { padding: 1rem .9rem; }
    body.dash .home-ad { height: 112px; border-radius: 14px; }
    body.dash .home-ad__text { font-size: .95rem; inset: 0 12px 16px; }
    body.dash .lot-grid {
        grid-template-columns: repeat(auto-fill, minmax(0, 260px));
    }
    body.dash .lot-card { width: 100%; max-width: 260px; }
}

body.auth {
    background: #fff;
    min-height: 100vh;
    font-family: "Outfit", "Unikurd Jino", Tahoma, sans-serif;
    color: #101828;
}
body.auth .auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2.2rem 1.25rem;
    background: #fff;
}
body.auth .auth-shell > .alert {
    width: min(420px, 100%);
    margin: 0 auto 1rem;
}
.auth-card {
    width: min(420px, 100%);
    display: grid;
    gap: 1.2rem;
}
.auth-field label {
    display: block;
    margin-bottom: .45rem;
    font-size: .92rem;
    font-weight: 500;
    color: #344054;
}
.auth-field label span { color: #F04438; }
.auth-field input[type="tel"],
.auth-field input[type="password"],
.auth-field input[type="text"] {
    width: 100%;
    height: 44px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
    font: inherit;
    color: #101828;
    box-shadow: none;
}
.auth-field input::placeholder { color: #98A2B3; }
.auth-field input:focus {
    outline: none;
    border-color: #465FFF;
    box-shadow: 0 0 0 4px rgba(70, 95, 255, .12);
}
.auth-pass { position: relative; }
.auth-pass input { padding-inline-end: 44px; }
.auth-eye {
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #98A2B3;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}
.auth-eye svg { width: 20px; height: 20px; }
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}
.auth-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #344054;
    font-size: .9rem;
    cursor: pointer;
    font-weight: 400;
}
.auth-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #465FFF;
}
.auth-forgot {
    color: #465FFF;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}
.auth-forgot:hover { text-decoration: underline; }
.auth-submit {
    display: grid;
    place-items: center;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #465FFF;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}
.auth-submit:hover { background: #3647E6; color: #fff; }
.auth-foot {
    text-align: center;
    color: #667085;
    font-size: .92rem;
    margin: .15rem 0 0;
}
.auth-foot a {
    color: #465FFF;
    font-weight: 600;
    text-decoration: none;
}
.auth-forgot-text {
    margin: 0;
    color: #475467;
    line-height: 1.7;
    font-size: .95rem;
}
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    background: rgba(16, 24, 40, .45);
}
.auth-dialog {
    width: min(360px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem 1.3rem 1.25rem;
    box-shadow: 0 20px 50px rgba(16, 24, 40, .18);
    text-align: center;
}
.auth-dialog p {
    margin: 0 0 1.1rem;
    color: #101828;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-line;
}
body.dash .dash-panel[data-panel="account"] .auth-card {
    width: min(420px, 100%);
    margin-inline: auto;
    padding: 1.2rem 0;
}
