:root {
  --red: #c72d24;
  --red-bright: #f0473d;
  --red-soft: #fff0ee;
  --ink: #262321;
  --muted: #8d8883;
  --line: #ece8e4;
  --paper: #ffffff;
  --canvas: #f5f3f1;
  --shadow: 0 6px 22px rgba(68, 44, 32, .08);
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 18% 12%, rgba(193, 45, 36, .08), transparent 23rem),
    radial-gradient(circle at 85% 76%, rgba(172, 124, 64, .1), transparent 28rem),
    #eeeae6;
}
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-shell {
  min-height: 100vh;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.desktop-note {
  display: none;
}
.desktop-note .seal {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  color: white;
  background: var(--red);
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(199,45,36,.23);
  font: 40px var(--serif);
  transform: rotate(-3deg);
}
.desktop-note h1 { margin: 20px 0 5px; font: 700 36px var(--serif); letter-spacing: .08em; }
.desktop-note p { margin: 0; color: #766d67; line-height: 1.85; }
.desktop-note small { display: block; margin-top: 14px; color: #aaa19b; }
.qr-placeholder {
  width: 116px;
  aspect-ratio: 1;
  margin-top: 30px;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  background:
    linear-gradient(90deg, #3d3834 8px, transparent 8px) 0 0/18px 18px,
    linear-gradient(#3d3834 8px, transparent 8px) 0 0/18px 18px,
    #fff;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}
.qr-placeholder span, .qr-placeholder b { padding: 1px 4px; background: white; font-size: 11px; letter-spacing: .12em; }

.phone {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: 0 18px 60px rgba(61, 42, 32, .18);
}

.app-banner {
  min-height: 86px;
  padding: 13px 14px 13px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #2e2d2c;
  transition: margin .28s ease, opacity .28s ease, min-height .28s ease, padding .28s ease;
}
.app-banner.is-closed { min-height: 0; height: 0; margin: 0; padding-block: 0; opacity: 0; pointer-events: none; }
.app-banner__close { position: absolute; left: 5px; top: 4px; color: #aaa; background: transparent; border: 0; font-size: 18px; }
.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 6px;
  color: white;
  background: var(--red-bright);
  font: 29px var(--serif);
  transform: rotate(-3deg);
}
.app-banner__copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.app-banner__copy strong { font-size: 17px; }
.app-banner__copy span { font-size: 12px; color: #eee; white-space: nowrap; }
.pill-button {
  margin-left: auto;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: var(--red-bright);
}
.pill-button--outline { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

.search-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: var(--red);
  box-shadow: 0 1px 0 rgba(255,255,255,.14);
}
.wordmark { min-width: 82px; color: #fff; text-decoration: none; line-height: 1; }
.wordmark strong { display: block; font: 700 20px var(--serif); letter-spacing: .02em; }
.wordmark small { display: block; width: max-content; margin-top: 3px; padding: 1px 3px; color: var(--red); background: white; font-size: 6.5px; letter-spacing: .05em; }
.search-box {
  position: relative;
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  background: white;
  overflow: hidden;
}
.search-box svg { position: absolute; left: 11px; width: 17px; fill: none; stroke: #aaa; stroke-width: 1.6; }
.search-box input { width: 100%; height: 100%; padding: 0 31px 0 34px; border: 0; outline: 0; color: #444; background: transparent; font-size: 13px; }
.search-box input::placeholder { color: #bbb; }
.search-box button { display: none; position: absolute; right: 6px; width: 23px; height: 23px; padding: 0; color: #999; border: 0; border-radius: 50%; background: #eee; }
.search-box.has-text button { display: block; }

.hero { position: relative; padding: 12px 12px 30px; background: linear-gradient(167deg, var(--red) 0 27%, #fff 27% 100%); }
.hero__track { position: relative; height: 146px; overflow: hidden; border-radius: 5px; box-shadow: 0 7px 18px rgba(88,44,20,.12); background: #211a17; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; padding: 0; text-align: left; color: white; border: 0; background: #211a17; opacity: 0; transform: translateX(12px) scale(.985); transition: .5s ease; cursor: pointer; }
.hero__slide[hidden] { display: none; }
.hero__slide.is-active { opacity: 1; transform: translateX(0) scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: contain; }
.hero__caption { position: absolute; left: 10px; bottom: 10px; max-width: min(78%, 520px); padding: 7px 10px; border-radius: 6px; background: linear-gradient(135deg, rgba(22,16,13,.86), rgba(22,16,13,.52)); box-shadow: 0 3px 12px rgba(0,0,0,.18); backdrop-filter: blur(3px); }
.hero__caption strong,.hero__caption small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__caption strong { font: 700 13px var(--serif); }
.hero__caption small { margin-top: 2px; color: rgba(255,255,255,.78); font-size: 8px; }
.hero__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.hero__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #ddd; transition: .2s ease; }
.hero__dots button.is-active { width: 16px; border-radius: 6px; background: var(--red-bright); }

.shortcut-grid { display: grid; grid-template: 54px 54px / 1fr 1fr; gap: 8px; padding: 4px 12px 10px; background: #fff; }
.shortcut { position: relative; overflow: hidden; padding: 0 0 0 14px; text-align: left; border: 0; border-radius: 6px; background: #f7f6f5; }
.shortcut > span { position: relative; z-index: 2; font-size: 17px; }
.shortcut img { position: absolute; z-index: 1; right: -5px; bottom: -10px; width: 74px; height: 65px; object-fit: contain; }
.shortcut--calendar { grid-area: 1 / 2 / 3 / 3; display: flex; align-items: flex-start; padding-top: 11px; }
.shortcut--calendar > span { display: flex; flex-direction: column; }
.shortcut--calendar small { margin-top: 3px; color: #948b85; font-size: 10px; }
.shortcut--calendar small b { display: inline-grid; place-items: center; width: 19px; height: 19px; color: #fff; background: var(--red-bright); border-radius: 50%; }
.calendar-art { position: absolute; right: 14px; bottom: 8px; width: 73px; height: 66px; padding-top: 16px; text-align: center; color: #a53a31; background: linear-gradient(#bd5a4d 0 18px, #f6ce86 18px); border-radius: 7px; box-shadow: 0 5px 10px rgba(135,79,31,.18); }
.calendar-art::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 6px; background: repeating-linear-gradient(90deg, #f3d99f 0 4px, transparent 4px 14px); }
.calendar-art small { display: block; margin: 0; color: #a33a30; font-size: 9px; }
.calendar-art strong { display: block; margin-top: -1px; font: 34px var(--serif); }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 17px; background: #fff; }
.promo-card { position: relative; aspect-ratio: 1.7; padding: 0; overflow: hidden; text-align: left; color: white; border: 0; border-radius: 6px; background: #211a17; box-shadow: 0 2px 5px rgba(0,0,0,.08); cursor: pointer; }
.promo-card[hidden] { display: none; }
.promo-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.promo-card:hover img { transform: scale(1.02); }
.promo-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 9px 8px; background: linear-gradient(transparent, rgba(24,17,14,.82)); }
.promo-card__caption strong,.promo-card__caption small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-card__caption strong { font: 700 12px var(--serif); }
.promo-card__caption small { margin-top: 2px; color: rgba(255,255,255,.76); font-size: 8px; }

.section { margin-top: 10px; padding: 0 12px 15px; background: #fff; }
.section-title { min-height: 58px; display: flex; align-items: center; justify-content: space-between; }
.section-title > div { display: flex; align-items: baseline; gap: 5px; }
.section-title h2 { margin: 0; font: 700 22px var(--serif); letter-spacing: .02em; }
.section-title h2::before { content: ""; display: inline-block; width: 4px; height: 19px; margin-right: 7px; vertical-align: -2px; border-radius: 4px; background: var(--red); }
.section-title span, .section-title p { color: #aaa29d; font-size: 11px; }
.section-title p b { margin: 0 2px; color: var(--red-bright); font-size: 17px; }
.text-button { border: 0; background: transparent; color: #999; font-size: 12px; }
.text-button b { font-size: 17px; }

.auction-list { display: grid; gap: 8px; }
.auction-card {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  min-height: 150px;
  overflow: hidden;
  border: 1px solid #f0edeb;
  border-radius: 8px;
  background: white;
  box-shadow: 0 3px 12px rgba(43,31,24,.07);
}
.auction-card__image { position: relative; overflow: hidden; background: #1b1918; }
.auction-card__image img { width: 100%; height: 100%; object-fit: cover; }
.auction-card__image::after { content: "LIVE"; position: absolute; top: 7px; left: 7px; padding: 2px 5px; color: white; background: rgba(199,45,36,.9); border-radius: 3px; font-size: 8px; letter-spacing: .1em; }
.auction-card__body { min-width: 0; padding: 10px 9px; }
.auction-card__brand { display: flex; align-items: center; gap: 6px; }
.brand-dot { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; color: white; background: linear-gradient(145deg, #d94e42, #9d201a); border-radius: 50%; font: 10px var(--serif); }
.auction-card h3 { overflow: hidden; margin: 0; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.auction-card__subtitle { overflow: hidden; margin: 6px 0 10px; color: #77716d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.auction-card__meta { color: #88817c; font-size: 12px; }
.auction-card__tags { display: flex; gap: 5px; margin: 7px 0; }
.tag { padding: 1px 4px; color: var(--red-bright); border: 1px solid #f09d97; border-radius: 2px; font-size: 9px; }
.auction-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.auction-card__foot time { color: #9a938f; font-size: 11px; }
.status-button { flex: 0 0 auto; padding: 7px 10px; border: 0; border-radius: 999px; color: var(--red-bright); background: var(--red-soft); font-size: 12px; font-weight: 600; }
.status-button.is-reminder { color: #4c6da9; background: #edf3ff; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(240,71,61,.13); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(240,71,61,0); } }

.filter-bar { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button { flex: 0 0 auto; padding: 7px 13px; border: 0; border-radius: 20px; background: #f4f2f0; color: #6f6864; font-size: 12px; }
.filter-bar button.is-active { color: white; background: var(--red); }
.event-list { display: grid; gap: 11px; }
.event-group { border: 1px solid #eeeae7; border-radius: 8px; overflow: hidden; }
.event-group__head { padding: 12px 12px 9px; border-bottom: 1px solid #f0eeec; background: #fbfaf9; }
.event-group__brand { color: #8b8179; font-size: 11px; }
.event-group h3 { margin: 4px 0 0; font: 700 15px var(--serif); }
.event-group__info { display: flex; margin-top: 7px; color: #aaa19a; font-size: 10px; }
.event-group__info button { margin-left: auto; padding: 0; border: 0; color: var(--red); background: transparent; }
.event-lot { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px; color: inherit; text-decoration: none; }
.event-lot + .event-lot { border-top: 1px solid #f3f0ee; }
.event-lot img { width: 76px; height: 88px; object-fit: cover; border-radius: 5px; }
.event-lot h4 { overflow: hidden; margin: 0 0 7px; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.event-lot p { margin: 0 0 5px; color: #aaa19a; font-size: 10px; }
.event-lot p b { color: #605853; }
.event-lot__metrics b { color: var(--red); }
.event-lot__foot { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: #97908b; }
.event-lot__state { padding: 3px 7px; border-radius: 10px; color: #d28a2a; background: #fff5e5; }
.event-lot__state.is-live { color: var(--red); background: var(--red-soft); }
.event-lot__state.is-ended { color: #77716d; background: #f1efed; }
.more-button { width: 100%; margin-top: 13px; padding: 11px; border: 1px solid #e2ddda; border-radius: 6px; color: #625b57; background: white; font-size: 12px; }
.more-button span { color: var(--red); }

.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.discover-card { overflow: hidden; border-radius: 7px; background: #f7f5f3; }
.discover-card__image { position: relative; aspect-ratio: 1; overflow: hidden; background: #eee; }
.discover-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.discover-card:hover img { transform: scale(1.035); }
.discover-card__image span { position: absolute; top: 7px; left: 7px; padding: 3px 6px; color: white; background: rgba(37,32,29,.72); border-radius: 3px; font-size: 9px; }
.discover-card__body { padding: 9px; }
.discover-card h3 { display: -webkit-box; min-height: 36px; margin: 0; overflow: hidden; font: 500 13px/1.4 var(--serif); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.discover-card p { margin: 8px 0 3px; color: #9b938e; font-size: 9px; }
.discover-card strong { color: var(--red); font-size: 13px; }
.discover-card__exposure { display: flex; align-items: baseline; gap: 3px; margin-top: 9px; padding: 6px 8px; color: #7f746e; background: #eee9e5; border-radius: 4px; font-size: 9px; }
.discover-card__exposure::before { content: '◉'; color: var(--red); font-size: 8px; }
.discover-card__exposure .discover-card__exposure-count { margin-left: auto; color: #4c423d; font-size: 12px; font-weight: 700; }

.no-results { margin-top: 10px; padding: 38px 20px; text-align: center; background: white; color: #aaa; }
.no-results div { font-size: 44px; }
.no-results strong { display: block; color: #666; }
.no-results p { margin-bottom: 0; font-size: 12px; }

.site-footer { padding: 42px 18px 140px; text-align: center; color: #99928d; background: #eeeae7; font-size: 11px; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 7px; color: #615a56; }
.footer-brand span { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: var(--red); border-radius: 5px; font: 17px var(--serif); }
.site-footer p { margin: 12px 0 6px; }
.login-strip {
  position: fixed;
  z-index: 40;
  bottom: calc(65px + env(safe-area-inset-bottom));
  left: 50%;
  width: min(1132px, calc(100vw - 48px));
  transform: translateX(-50%);
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: white;
  background: rgba(48,46,44,.93);
  backdrop-filter: blur(8px);
}
.login-strip span { font-size: 13px; }
.login-strip button { min-width: 120px; padding: 9px; border: 0; border-radius: 20px; color: white; background: var(--red-bright); }

.bottom-nav {
  position: fixed;
  z-index: 50;
  bottom: 0;
  left: 50%;
  width: min(1132px, calc(100vw - 48px));
  transform: translateX(-50%);
  height: calc(65px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 0 env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97);
  box-shadow: 0 -3px 17px rgba(42,31,24,.09);
  backdrop-filter: blur(12px);
}
.bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: transparent; color: #99928d; font-size: 10px; }
.bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav button.is-active { color: var(--red-bright); }
.nav-badge { position: absolute; top: -2px; left: calc(50% + 5px); z-index: 2; min-width: 18px; height: 18px; padding: 2px 5px; border-radius: 10px; color: white; background: var(--red-bright); font-size: 9px; font-style: normal; box-shadow: 0 0 0 2px white; }
.nav-watch { padding-top: 20px !important; }
.watch-ring { position: absolute; top: -26px; display: grid; place-items: center; width: 58px; height: 58px; border: 4px solid white; border-radius: 50%; color: white; background: linear-gradient(145deg, #fa756b, var(--red-bright)); box-shadow: 0 5px 14px rgba(240,71,61,.32); }
.watch-ring svg { width: 25px; height: 25px; stroke: white; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28,23,20,.55); backdrop-filter: blur(2px); }
.modal__panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border-radius: 18px; background: white; box-shadow: 0 24px 70px rgba(31,22,18,.28); animation: modalIn .28s ease both; }
.modal.is-auth .modal__panel { height: min(500px, calc(100dvh - 32px)); min-height: min(500px, calc(100dvh - 32px)); }
@keyframes modalIn { from { transform: translateY(35%); opacity: 0; } }
.modal__close { position: absolute; top: 11px; right: 12px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #777; background: rgba(255,255,255,.88); font-size: 23px; }
.modal__hero { width: 100%; height: 200px; object-fit: cover; border-radius: 11px; }
.modal__eyebrow { display: block; margin: 17px 0 5px; color: var(--red); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal h2 { margin: 0 36px 10px 0; font: 700 23px/1.35 var(--serif); }
.modal p { color: #807873; line-height: 1.7; }
.modal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.modal__facts div { padding: 11px; border-radius: 8px; background: #f7f4f2; }
.modal__facts small { display: block; color: #aaa; font-size: 10px; }
.modal__facts strong { display: block; margin-top: 5px; font-size: 13px; }
.modal__cta { width: 100%; padding: 13px; border: 0; border-radius: 8px; color: white; background: var(--red-bright); }
.modal__cta:disabled { opacity: .65; cursor: wait; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0 15px; padding: 4px; border-radius: 9px; background: #f3f0ee; }
.auth-tabs button { padding: 9px; border: 0; border-radius: 6px; color: #8c837e; background: transparent; font-size: 12px; }
.auth-tabs button.is-active { color: var(--red); background: white; box-shadow: 0 2px 8px rgba(45,35,30,.08); font-weight: 700; }
.auth-form { display: grid; gap: 13px; }
.auth-form label { display: grid; gap: 6px; color: #68605b; font-size: 11px; }
.auth-form input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #ded8d4; border-radius: 7px; outline: 0; font-size: 14px; }
.auth-form textarea { width: 100%; min-height: 96px; padding: 11px 12px; border: 1px solid #ded8d4; border-radius: 7px; outline: 0; font: inherit; resize: vertical; }
.auth-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(170,34,28,.07); }
.auth-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(170,34,28,.07); }
.auth-error { min-height: 18px; color: #c63e35; font-size: 11px; text-align: center; }
.result-list { display: grid; gap: 10px; margin-top: 16px; }
.result-group { margin-top: 18px; }
.result-group > header { padding: 10px 12px; border-left: 3px solid var(--red); background: #f4efec; }
.result-group > header strong,.result-group > header small { display: block; }
.result-group > header strong { color: #4f4641; font: 600 14px var(--serif); }
.result-group > header small { margin-top: 4px; color: #978d87; font-size: 9px; }
.result-group .result-list { margin-top: 8px; }
.result-card { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 11px; padding: 9px; color: #514944; border: 1px solid #e6dfdb; border-radius: 9px; background: #fbf9f7; text-decoration: none; }
.result-card img { width: 78px; height: 78px; object-fit: cover; border-radius: 6px; background: #eee; }
.result-card div { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.result-card strong,.result-card small,.result-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-card strong { font-size: 13px; }
.result-card small { margin-top: 5px; color: #9a918c; font-size: 10px; }
.result-card b { margin-top: 7px; color: var(--red); font-size: 12px; }
.result-empty { margin: 18px 0 4px; padding: 28px 15px; color: #8f8782; border-radius: 9px; background: #f7f4f2; text-align: center; font-size: 12px; }

@media (min-width: 761px) {
  .hero__track { height: clamp(250px, 38vw, 435px); }
  .hero__caption { left: 18px; bottom: 18px; padding: 11px 15px; }
  .hero__caption strong { font-size: 19px; }
  .hero__caption small { margin-top: 4px; font-size: 11px; }
  .shortcut-grid { grid-template: 86px / repeat(4, minmax(0, 1fr)); }
  .shortcut--calendar { grid-area: auto; }
  .auction-list, .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section { padding-inline: 22px; }
  .promo-grid, .shortcut-grid, .hero { padding-inline: 22px; }
}
.profile-card { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 16px; border-radius: 10px; background: #f7f4f2; }
.profile-card > span { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; color: white; background: linear-gradient(145deg, #b94a42, #7a1d18); font: 700 20px var(--serif); }
.profile-card strong, .profile-card small { display: block; }
.profile-card small { margin-top: 5px; color: #99918c; font-size: 10px; }
.customer-fund-account { margin: 14px 0; padding: 14px; border: 1px solid #e7dfdb; border-radius: 11px; background: #fcfaf9; }
.customer-fund-title { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.customer-fund-title strong { color: #453d39; font-size: 13px; }
.customer-fund-title small { color: #a09792; font-size: 8px; }
.customer-fund-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.customer-fund-stats div { padding: 11px; border-radius: 8px; background: #f3efed; }
.customer-fund-stats small,.customer-fund-stats strong { display: block; }
.customer-fund-stats small { color: #9c938e; font-size: 9px; }
.customer-fund-stats strong { margin-top: 5px; color: #8e211b; font-size: 12px; }
.customer-fund-note { margin: 10px 0 0 !important; padding: 9px 10px; color: #766d68 !important; border-left: 3px solid #c15a52; background: #fff; font-size: 10px; }
.customer-fund-orders,.customer-fund-history,.customer-fund-deposits,.customer-consignments { margin: 18px 0; }
.customer-fund-orders h3,.customer-fund-history h3,.customer-fund-deposits h3,.customer-consignments h3 { margin: 0 0 10px; color: #4e4642; font: 700 15px var(--serif); }
.customer-consignment { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:10px; margin-bottom:8px; padding:9px; color:inherit; border:1px solid #e9e2de; border-radius:9px; background:#fff; text-decoration:none; }
.customer-consignment img { width:58px; height:58px; object-fit:cover; border-radius:7px; background:#eee9e6; }
.customer-consignment strong,.customer-consignment small,.customer-consignment time { display:block; }
.customer-consignment strong { color:#4b433f; font-size:10px; }
.customer-consignment small { margin-top:4px; color:#8e8580; font-size:8px; }
.customer-consignment time { margin-top:4px; color:#aaa09b; font-size:7px; }
.customer-consignment > b { padding:5px 7px; color:#93601c; border-radius:12px; background:#fff3dc; font-size:8px; white-space:nowrap; }
.customer-consignment > b.is-live { color:#a3231d; background:#fff0ee; }
.customer-consignment > b.is-ended,.customer-consignment > b.is-cancelled { color:#7f7874; background:#f0edeb; }
.customer-consignments details { margin-top:10px; }
.customer-consignments summary { margin-bottom:8px; color:#8f8782; font-size:9px; cursor:pointer; }
.customer-deposit-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #eee8e4; }
.customer-deposit-item > div:last-child { flex:0 0 auto; text-align:right; }
.customer-deposit-item strong,.customer-deposit-item small,.customer-deposit-item b,.customer-deposit-item span { display:block; }
.customer-deposit-item strong { color:#4e4541; font-size:10px; }
.customer-deposit-item small { margin-top:4px; color:#a09893; font-size:8px; }
.customer-deposit-item b { color:#9c2b24; font-size:11px; }
.customer-deposit-item span { margin-top:4px; color:#a16c18; font-size:8px; }
.customer-deposit-item span.is-released { color:#30805f; }
.customer-deposit-item span.is-forfeited { color:#b1372f; }
.customer-fund-order { margin-bottom: 11px; padding: 13px; border: 1px solid #e7dfdb; border-radius: 10px; background: #fff; }
.customer-fund-order__head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.customer-fund-order__head strong,.customer-fund-order__head small { display: block; }
.customer-fund-order__head strong { color: #443c38; font-size: 11px; }
.customer-fund-order__head small { margin-top: 4px; color: #9b928d; font-size: 8px; }
.customer-fund-order__head b { flex: 0 0 auto; padding: 5px 8px; color: #a22b24; border-radius: 12px; background: #fff0ee; font-size: 9px; }
.customer-fund-order > p { margin: 9px 0 0; color: #867d78; font-size: 9px; }
.fund-progress-scroll { margin-top: 13px; overflow-x: auto; padding-bottom: 3px; }
.fund-progress-steps { position: relative; min-width: 500px; display: grid; grid-template-columns: repeat(6,1fr); }
.fund-progress-steps::before { content: ""; position: absolute; top: 12px; left: 8.3%; right: 8.3%; height: 2px; background: #e8e1de; }
.fund-progress-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; color: #aaa19c; font-size: 8px; text-align: center; }
.fund-progress-step i { display: grid; place-items: center; width: 24px; height: 24px; color: #99908b; border: 2px solid #e2dbd7; border-radius: 50%; background: #fff; font-size: 8px; font-style: normal; }
.fund-progress-step.is-done i,.fund-progress-step.is-current i { color: #fff; border-color: #ad332c; background: #ad332c; }
.fund-progress-step.is-current { color: #94261f; font-weight: 700; }
.customer-fund-empty { padding: 25px 14px; color: #9d948f; border-radius: 9px; background: #f7f4f2; text-align: center; font-size: 11px; }
.customer-fund-history ul { margin: 0; padding: 0; list-style: none; }
.customer-fund-history li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee8e4; }
.customer-fund-history li span { color: #5e5550; font-size: 10px; }
.customer-fund-history li small { color: #a09691; font-size: 8px; text-align: right; }
.profile-actions { display: grid; gap: 8px; }
.profile-actions a, .profile-actions button { width: 100%; padding: 12px; border: 1px solid #e0dad6; border-radius: 8px; color: #5f5753; background: white; text-decoration: none; text-align: center; font-size: 12px; }
.profile-actions a { color: white; border-color: var(--red); background: var(--red); }
.profile-actions .danger { color: #c83c33; background: #fff6f5; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 136px; max-width: min(330px, calc(100vw - 40px)); padding: 10px 16px; color: white; background: rgba(35,31,29,.9); border-radius: 20px; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  body { background: var(--canvas); }
  .site-shell { display: block; padding: 0; }
  .desktop-note { display: none; }
  .phone { width: 100%; max-width: none; box-shadow: none; }
  .phone { border-radius: 0; }
  .login-strip, .bottom-nav { left: 0; width: 100%; transform: none; }
  .modal { place-items: end center; padding: 0; }
  .modal__panel { width: 100%; max-height: 92dvh; padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .modal.is-auth .modal__panel { height: min(500px, calc(100dvh - 12px)); min-height: min(500px, calc(100dvh - 12px)); }
  .auth-form input { font-size: 16px; }
}

@media (max-width: 350px) {
  .app-banner__copy span { display: none; }
  .shortcut > span { font-size: 15px; }
  .auction-card { grid-template-columns: 86px minmax(0,1fr); }
}

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