/* ==========================================================================
   a2bid — design system
   Bảng màu: trắng ngà, xanh a2bid #549b90, vàng đồng. Chữ hiển thị dùng serif kiểu nhà đấu giá.
   ========================================================================== */

:root {
  --paper: #f5f8f6;
  --paper-2: #e8f0ed;
  --cream: #ffffff;
  --white: #ffffff;
  --ink: #1f2a27;
  --ink-2: #33443f;
  --muted: #667a75;
  --line: #dce7e2;
  --line-strong: #c4d6cf;
  --brand: #549b90;
  --brand-2: #3f8579;
  --brand-soft: #e6f2ef;
  --amber: #c9a34a;
  --amber-deep: #a9842f;
  --amber-soft: #f6eedb;
  --coral: #c45b44;
  --coral-soft: #f6e5df;
  --green: #2f7d5a;
  --green-soft: #e5f2ea;
  --ocean: #3f7f8c;
  --ocean-soft: #e4f0f2;
  --shadow-sm: 0 2px 8px rgba(22, 42, 46, 0.06);
  --shadow: 0 14px 34px rgba(22, 42, 46, 0.1);
  --shadow-lg: 0 28px 60px rgba(22, 42, 46, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --serif: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --logo-size: 42px;
  --glow-amber: rgba(201, 163, 74, 0.08);
  --glow-brand: rgba(84, 155, 144, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 4% 2%, var(--glow-amber), transparent 26%),
    radial-gradient(circle at 96% 4%, var(--glow-brand), transparent 24%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-2);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.9);
  outline-offset: 2px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.serif {
  font-family: var(--serif);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.tiny {
  font-size: 11.5px;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Nút & nhãn
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 18%, transparent);
}

.btn-primary:hover {
  background: var(--brand-2);
  color: #fff;
}

.btn-accent {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(207, 149, 43, 0.22);
}

.btn-accent:hover {
  background: #f6c463;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn-soft:hover {
  background: #d4e9de;
  color: var(--brand);
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
  padding-inline: 10px;
}

.btn-quiet:hover {
  color: var(--ink);
}

.btn-danger {
  background: var(--coral-soft);
  color: var(--coral);
}

.btn-danger:hover {
  background: #f7d5c8;
  color: #a63e1e;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
  color: var(--brand);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.18s;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.chip-green { background: var(--green-soft); color: var(--green); }
.chip-coral { background: var(--coral-soft); color: var(--coral); }
.chip-amber { background: var(--amber-soft); color: #8a5c07; }
.chip-ocean { background: var(--ocean-soft); color: var(--ocean); }
.chip-muted { background: #eee9dd; color: var(--muted); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }
.chip-solid { background: var(--brand); color: #fff; }

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Thanh demo + header
   -------------------------------------------------------------------------- */

.demo-ribbon {
  background: var(--amber-soft);
  border-bottom: 1px solid #efd8a6;
  color: #6f4b06;
  font-size: 12.5px;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.demo-ribbon a {
  color: #6f4b06;
  text-decoration: underline;
  font-weight: 650;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 245, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(22, 42, 46, 0.08);
}

.header-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark-img {
  width: var(--logo-size, 42px);
  height: var(--logo-size, 42px);
  border-radius: 13px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.brand-light {
  color: #f8f2e4;
}

.brand-light:hover {
  color: #fff;
}

.brand-light .brand-text span {
  color: #b9b4a5;
}


.global-search {
  flex: 1;
  max-width: 500px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 4px 4px 15px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.global-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 10%, transparent);
}

.global-search .search-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.9;
  stroke-linecap: round;
}

.global-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-size: 14.5px;
  outline: none;
}

.global-search input::placeholder {
  color: #98a29e;
}

.global-search button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  padding: 9px 17px;
  transition: background 0.18s;
}

.global-search button:hover {
  background: var(--brand);
}

.primary-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
}

.primary-nav a:hover {
  color: var(--brand);
}

.primary-nav a.active {
  color: var(--brand);
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}

.auth-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.link-quiet {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
}

.link-quiet:hover {
  color: var(--brand);
}

.user-menu {
  position: relative;
}

.user-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.18s, background 0.18s;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu summary:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.user-menu-name {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
}

@media (max-width: 1180px) {
  .user-menu-name {
    display: none;
  }
}

.user-menu .chev {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 236px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 80;
}

.user-menu-panel .menu-head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.user-menu-panel .menu-head strong {
  display: block;
  font-size: 14px;
}

.user-menu-panel .menu-head span {
  font-size: 12px;
  color: var(--muted);
}

.user-menu-panel a,
.user-menu-panel button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 550;
  text-align: left;
}

.user-menu-panel a:hover,
.user-menu-panel button:hover {
  background: var(--paper);
  color: var(--brand);
}

.menu-sep {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.avatar-lg {
  width: 62px;
  height: 62px;
  font-size: 21px;
}

.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 10.5px;
}

.avatar-forest { background: #dcead6; color: #2f5a34; }
.avatar-ocean { background: #d8e9f2; color: #245a74; }
.avatar-amber { background: #fae8bd; color: #7a5409; }
.avatar-rose { background: #f6dfe3; color: #8a3b4a; }
.avatar-clay { background: #f1ded0; color: #7d4a2e; }
.avatar-mint { background: #d9eee5; color: #286b55; }
.avatar-sky { background: #e0eefa; color: #315f85; }
.avatar-ink { background: #e0e3e6; color: #35434a; }
.avatar-gold { background: #f6e6c4; color: #7a5a12; }
.avatar-slate { background: #e1e5e7; color: #3e4c52; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 50px 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.24), rgba(242, 184, 75, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
}

.hero-title .hl {
  background: linear-gradient(transparent 64%, rgba(242, 184, 75, 0.48) 64%);
  color: var(--brand);
}

.hero-sub {
  max-width: 530px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature {
  position: relative;
}

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.feature-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: #fdf8ec;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.feature-flag .dot-live {
  background: var(--amber);
}

.feature-body {
  padding: 16px 12px 8px;
}

.feature-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.feature-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0 14px;
}

.feature-title a {
  color: var(--ink);
}

.feature-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 13px;
}

.price-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.price-lg {
  font-size: 38px;
  line-height: 1.1;
}

.feature-bids {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.feature-bids strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Dải tin cậy
   -------------------------------------------------------------------------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream);
  padding: 18px 20px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--amber-soft);
  color: #8a5c07;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.trust-item span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Phần chung
   -------------------------------------------------------------------------- */

.section {
  padding: 68px 0;
}

.section-tight {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 9px;
}

.section-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 620px;
}

.warm-band {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}

.category-pill {
  min-width: 104px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-pill:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.cat-orb {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--paper-2);
  border: 1px solid rgba(22, 42, 46, 0.05);
}

.category-pill strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

.category-pill span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.chip-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip-tab {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s;
}

.chip-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 34px 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Tranh minh hoạ sản phẩm (không phụ thuộc ảnh ngoài)
   -------------------------------------------------------------------------- */

.art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.72), transparent 44%),
    radial-gradient(circle at 82% 88%, rgba(255, 255, 255, 0.32), transparent 40%),
    linear-gradient(145deg, var(--art-a), var(--art-b));
}

.art::before {
  content: "";
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 24px rgba(255, 255, 255, 0.12),
    0 0 0 48px rgba(255, 255, 255, 0.06);
  z-index: -1;
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(22, 42, 46, 0.18) 0,
    rgba(22, 42, 46, 0.18) 1px,
    transparent 1px,
    transparent 9px
  );
  mix-blend-mode: multiply;
}

.art-emoji {
  font-size: 76px;
  line-height: 1;
  filter: drop-shadow(0 14px 20px rgba(22, 42, 46, 0.22));
  transform: rotate(-4deg);
  transition: transform 0.35s ease;
}

.art-label {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22, 42, 46, 0.45);
  font-weight: 650;
}

.theme-ocean { --art-a: #dcebf6; --art-b: #a9cbe2; }
.theme-gold { --art-a: #f9edcf; --art-b: #e8ca8b; }
.theme-clay { --art-a: #f4e0d2; --art-b: #dcb295; }
.theme-rose { --art-a: #f7e0e4; --art-b: #e5b6c0; }
.theme-mint { --art-a: #def0e6; --art-b: #b2d8c3; }
.theme-ink { --art-a: #e1e6ea; --art-b: #b4bec7; }
.theme-forest { --art-a: #dfebd9; --art-b: #b4cfa8; }
.theme-amber { --art-a: #fcecc6; --art-b: #f0c674; }
.theme-earth { --art-a: #efe2d4; --art-b: #d2b899; }
.theme-slate { --art-a: #e4e7e8; --art-b: #bcc5c9; }
.theme-sky { --art-a: #e2eff8; --art-b: #bcd8ee; }

/* --------------------------------------------------------------------------
   Thẻ đấu giá
   -------------------------------------------------------------------------- */

.auction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.auction-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.auction-card:hover {
  transform: translateY(-4px);
  border-color: #d8cbb2;
  box-shadow: var(--shadow);
}

.card-art-link {
  position: relative;
  display: block;
}

.card-art {
  height: 186px;
}

.auction-card:hover .art-emoji {
  transform: rotate(0) scale(1.06);
}

.card-chips {
  position: absolute;
  inset: 10px 10px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.card-cat-chip {
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink-2);
  backdrop-filter: blur(6px);
  font-size: 10px;
  padding: 5px 9px;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(22, 42, 46, 0.86);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}

.countdown svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.countdown.soon {
  background: var(--coral);
}

.countdown.ended {
  background: rgba(255, 253, 248, 0.92);
  color: var(--muted);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 15px;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand);
}

.card-kicker span {
  color: var(--muted);
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.card-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.42;
  margin: 6px 0 12px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: var(--ink);
}

.card-title a:hover {
  color: var(--brand);
}

.card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.card-price-row .price {
  font-size: 21px;
}

.bid-count {
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 3px;
}

.bid-count svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.card-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.card-cta {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--brand);
  white-space: nowrap;
}

.card-cta::after {
  content: " →";
}

.skeleton {
  background: linear-gradient(90deg, #eee6d6 25%, #f8f2e6 37%, #eee6d6 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 10px;
}

.skeleton-card {
  height: 366px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.skeleton-card .skeleton-art {
  height: 186px;
  border-radius: 0;
}

.skeleton-line {
  height: 12px;
  margin: 14px 16px;
}

.skeleton-line.short {
  width: 45%;
}

.skeleton-line.price {
  width: 60%;
  height: 22px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Cách hoạt động, kêu gọi người bán
   -------------------------------------------------------------------------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  overflow: hidden;
}

.step-num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--amber-deep);
  opacity: 0.75;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 7px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.step-card .chip {
  margin-top: 14px;
}

.require-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--amber-soft);
  border: 1px solid #eed49c;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 22px;
}

.require-callout .callout-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.require-callout strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.require-callout p {
  font-size: 12.5px;
  color: #755a22;
  line-height: 1.55;
}

.seller-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #173c3a, #0b2a2a 70%);
  border-radius: 26px;
  padding: 46px 48px;
  color: #f8f2e4;
}

.seller-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.24), transparent 68%);
}

.seller-band::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-band .eyebrow {
  color: var(--amber);
}

.seller-band h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  margin: 10px 0 12px;
  letter-spacing: -0.02em;
}

.seller-band p {
  color: #c5c9bd;
  font-size: 14.5px;
  max-width: 480px;
}

.seller-stats {
  display: flex;
  gap: 32px;
  margin-top: 26px;
}

.seller-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: #fff;
}

.seller-stats span {
  font-size: 11.5px;
  color: #a9b1a6;
}

.seller-cta {
  position: relative;
  z-index: 1;
  justify-self: end;
  text-align: center;
}

.seller-cta .btn {
  min-width: 220px;
}

.seller-cta small {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  color: #a9b1a6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #cfc9b9;
  margin-top: 80px;
  padding-top: 52px;
}

.footer-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin: 16px 0;
  max-width: 330px;
  color: #b8b3a5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: #a8a396;
}

.footer-contact strong {
  color: var(--amber);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.footer-col h4 {
  color: #f4efe2;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: #b8b3a5;
  font-size: 13px;
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b211e;
  color: #8f8b80;
  font-size: 11px;
}

.footer-bottom-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Biểu mẫu
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > label {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
}

.field .optional {
  color: var(--muted);
  font-weight: 450;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 11%, transparent);
}

.input::placeholder,
.textarea::placeholder {
  color: #9aa4a0;
}

.input:disabled,
.select:disabled {
  background: var(--paper);
  color: var(--muted);
}

.field .hint {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}

.field .error-text {
  font-size: 12px;
  color: var(--coral);
  display: none;
}

.field.invalid .input,
.field.invalid .select,
.field.invalid .textarea {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(210, 85, 47, 0.09);
}

.field.invalid .error-text {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.form-error {
  display: none;
  align-items: flex-start;
  gap: 8px;
  background: var(--coral-soft);
  color: #a13d1e;
  border: 1px solid #f0c4b4;
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

.form-error.show {
  display: flex;
}

.input-with-suffix {
  position: relative;
}

.input-with-suffix .input {
  padding-right: 78px;
  font-variant-numeric: tabular-nums;
}

.input-with-suffix .suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
  pointer-events: none;
}

.input-with-suffix .input-lg {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  padding: 13px 54px 13px 15px;
}

/* --------------------------------------------------------------------------
   Trang xác thực
   -------------------------------------------------------------------------- */

.auth-page {
  width: 100%;
  max-width: 1120px;
  margin: 38px auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0d6455, #072f2a);
  color: #f7f2e5;
  padding: 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
}

.auth-aside::before {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.auth-aside .eyebrow {
  color: var(--amber);
}

.auth-aside h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
  position: relative;
}

.auth-aside p {
  color: #c2ccc3;
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
}

.auth-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #dfe6dc;
}

.auth-points svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.auth-quote {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  margin-top: 30px;
}

.auth-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: #f0eadc;
  font-style: italic;
}

.auth-quote span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #9fae9f;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-card {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.auth-card .auth-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 7px 0 26px;
  line-height: 1.55;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form .btn-block {
  margin-top: 4px;
}

.auth-switch {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 650;
}

.otp-input {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: 0.45em;
  text-align: center;
  padding: 16px 10px 16px 20px;
  font-variant-numeric: tabular-nums;
}

.otp-hint {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--amber-soft);
  border: 1px solid #efd49b;
  border-radius: 12px;
  font-size: 12.5px;
  color: #755a22;
  line-height: 1.55;
}

.otp-hint strong {
  letter-spacing: 0.18em;
  font-size: 16px;
  color: #6b4b0a;
}

.verify-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.verify-step {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}

.verify-step.done {
  background: var(--brand);
}

.verify-step.now {
  background: var(--amber);
}

/* --------------------------------------------------------------------------
   Chi tiết phiên đấu giá
   -------------------------------------------------------------------------- */

.detail-page {
  padding: 24px 0 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: start;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(27px, 3.3vw, 39px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-meta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.detail-art-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 20px;
  background: var(--paper-2);
}

.detail-art {
  aspect-ratio: 16 / 10;
}

.detail-art .art-emoji {
  font-size: clamp(110px, 13vw, 156px);
}

.detail-art .art-label {
  right: 16px;
  bottom: 12px;
  font-size: 10px;
}

.detail-art .art-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(6px);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
}

.fact .fact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.fact .fact-value {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.4;
}

.detail-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-top: 18px;
}

.detail-section h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.prose {
  white-space: pre-line;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.seller-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.seller-row .seller-name {
  font-size: 14.5px;
  font-weight: 700;
}

.seller-row .seller-sub {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.stars {
  color: var(--amber-deep);
  letter-spacing: 1px;
  font-size: 11px;
}

.seller-stats-row {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}

.seller-stats-row strong {
  display: block;
  font-size: 15px;
}

.seller-stats-row span {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rules-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.rules-list li::marker {
  color: var(--amber-deep);
}

/* Bảng đặt giá bên phải */
.bid-panel {
  position: sticky;
  top: 92px;
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.bid-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bid-panel-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bid-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--green);
  background: var(--green-soft);
}

.bid-live .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.bid-live[data-state="connecting"],
.bid-live[data-state="fallback"] {
  color: var(--muted);
  background: #eee9dd;
}

.bid-live[data-state="reconnecting"] {
  color: #8a5c07;
  background: var(--amber-soft);
}

.bid-live[data-state="idle"] {
  color: var(--muted);
  background: #eee9dd;
}

.relist-notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--amber-soft);
  border: 1px solid #efd49c;
  border-radius: 11px;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #755a22;
}

.relist-notice > span:first-child {
  flex-shrink: 0;
  line-height: 1.4;
}

.price-flash {
  animation: price-pop 0.55s ease;
}

@keyframes price-pop {
  0% { transform: scale(0.97); color: var(--brand); }
  45% { transform: scale(1.035); color: var(--brand); }
  100% { transform: scale(1); color: var(--ink); }
}

.bid-form.is-pending .input {
  color: var(--muted);
  background: var(--paper);
}

.bid-history .bid-row:first-child {
  animation: bid-in 0.35s ease both;
}

@keyframes bid-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.watch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.18s;
}

.watch-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.watch-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.watch-btn.active {
  background: var(--coral-soft);
  border-color: var(--coral);
  color: var(--coral);
}

.watch-btn.active svg {
  fill: currentColor;
}

.bid-clock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--amber-soft);
  border: 1px solid #efd49c;
  border-radius: 14px;
  padding: 11px 15px;
  margin-top: 15px;
}

.bid-clock .clock-label {
  font-size: 12px;
  font-weight: 650;
  color: #755a22;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bid-clock .clock-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.clock-time {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #5c4106;
}

.bid-clock.urgent {
  background: var(--coral-soft);
  border-color: #f0c4b4;
}

.bid-clock.urgent .clock-label,
.bid-clock.urgent .clock-time {
  color: #9a3a1c;
}

.price-block {
  margin-top: 18px;
}

.price-block .price {
  font-size: 38px;
  line-height: 1.15;
}

.price-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.price-sub strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.bid-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.quick-bids {
  display: flex;
  gap: 7px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.quick-bid {
  flex: 1;
  min-width: 84px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  border-radius: 9px;
  padding: 7px 6px;
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-2);
  transition: all 0.18s;
  font-variant-numeric: tabular-nums;
}

.quick-bid:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.bid-form .btn-block {
  margin-top: 9px;
}

.bid-note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.bid-note strong {
  color: var(--ink-2);
}

.gate-box {
  margin-top: 14px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.gate-box .gate-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gate-box p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.result-box {
  margin-top: 15px;
  border-radius: 14px;
  padding: 16px;
  background: var(--green-soft);
  border: 1px solid #c4e3cf;
  text-align: center;
}

.result-box.muted {
  background: var(--paper);
  border-color: var(--line);
}

.result-box .result-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}

.result-box.muted .result-title {
  color: var(--ink);
}

.result-box p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.buy-now-btn {
  margin-top: 9px;
}

.panel-trust {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.panel-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}

.panel-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lịch sử đặt giá */
.bid-history {
  margin-top: 4px;
}

.bid-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.bid-row:last-child {
  border-bottom: 0;
}

.bid-rank {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 750;
}

.bid-row.leading .bid-rank {
  background: var(--amber);
  color: #573d04;
}

.bid-name {
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

.bid-name .you {
  font-size: 9px;
  padding: 2px 6px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.bid-time {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}

.bid-amount {
  text-align: right;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bid-row.leading .bid-amount {
  color: var(--brand);
}

.bid-history-empty {
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Danh sách & tìm kiếm
   -------------------------------------------------------------------------- */

.page-head {
  padding: 36px 0 8px;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.page-sub {
  color: var(--muted);
  font-size: 14.5px;
}

.search-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 20px;
}

.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  position: sticky;
  top: 92px;
}

.filter-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.filter-list a:hover {
  background: var(--paper);
}

.filter-list a.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

.filter-list a span {
  font-size: 11px;
  color: var(--muted);
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.result-count {
  font-size: 13.5px;
  color: var(--muted);
}

.result-count strong {
  color: var(--ink);
}

.load-more-wrap {
  text-align: center;
  margin-top: 30px;
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  padding: 60px 24px;
  text-align: center;
}

.empty-state .empty-emoji {
  font-size: 44px;
  margin-bottom: 10px;
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 400px;
  margin: 0 auto 16px;
}

/* --------------------------------------------------------------------------
   Tài khoản
   -------------------------------------------------------------------------- */

.account-page {
  padding: 34px 0 50px;
}

.account-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.profile-card {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-top h2 {
  font-size: 16px;
  line-height: 1.3;
}

.profile-top .profile-meta {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.wallet-box {
  margin-top: 18px;
  background: var(--ink);
  color: #f5efe1;
  border-radius: 14px;
  padding: 15px 16px;
}

.wallet-box .wallet-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9b1a6;
}

.wallet-box .wallet-value {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  margin-top: 3px;
}

.wallet-box .wallet-note {
  font-size: 10px;
  color: #a9b1a6;
  margin-top: 3px;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.profile-links a:hover {
  background: var(--paper);
}

.profile-links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verify-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--amber-soft);
  border: 1px solid #eed49c;
  border-radius: 13px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 11.5px;
  color: #755a22;
  line-height: 1.5;
}

.verify-banner a {
  font-weight: 700;
  color: #6b4b0a;
  text-decoration: underline;
}

.account-main {
  min-width: 0;
}

.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-link {
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tab-link:hover {
  color: var(--ink);
}

.tab-link.active {
  color: var(--brand);
  border-color: var(--brand);
}

.tab-count {
  font-size: 10px;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 1px 6px;
  color: var(--muted);
}

.tab-link.active .tab-count {
  background: var(--brand-soft);
  color: var(--brand);
}

.list-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px;
  margin-bottom: 10px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.list-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.list-thumb {
  width: 82px;
  height: 82px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 34px;
  overflow: hidden;
}

.list-thumb .art {
  width: 100%;
  height: 100%;
}

.list-thumb .art::before {
  width: 70%;
}

.list-thumb .art::after {
  display: none;
}

.list-main {
  min-width: 0;
}

.list-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 650;
  flex-wrap: wrap;
}

.list-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  margin: 3px 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-title a {
  color: var(--ink);
}

.list-title a:hover {
  color: var(--brand);
}

.list-meta {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.list-meta strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.list-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  min-width: 120px;
}

.list-side .price {
  font-size: 16px;
}

.list-side .btn {
  padding: 7px 12px;
  font-size: 11.5px;
}

.list-side .side-note {
  font-size: 10.5px;
  color: var(--muted);
}

.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  margin-bottom: 10px;
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 11px;
  color: var(--muted);
}

.order-card-main {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 0;
}

.order-card-main .list-thumb {
  width: 66px;
  height: 66px;
  font-size: 27px;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.order-amount {
  font-size: 12px;
  color: var(--muted);
}

.order-amount strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}

.order-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Đăng bán
   -------------------------------------------------------------------------- */

.sell-page {
  padding: 36px 0 50px;
}

.sell-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  margin-top: 26px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 16px;
}

.form-card h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-card .form-section-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-card .form-grid {
  gap: 16px;
}

.sell-side {
  position: sticky;
  top: 92px;
}

.preview-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 9px 2px;
  font-weight: 700;
}

.sell-notes {
  background: var(--brand-soft);
  border: 1px solid #c9e2d5;
  border-radius: 15px;
  padding: 16px;
  margin-top: 14px;
}

.sell-notes h3 {
  font-size: 12.5px;
  margin-bottom: 8px;
  color: var(--brand);
}

.sell-notes ul {
  margin: 0;
  padding-left: 16px;
  font-size: 11.5px;
  color: #3d6557;
  line-height: 1.7;
}

.fee-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}

.fee-note strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Thanh toán / đơn hàng
   -------------------------------------------------------------------------- */

.checkout-page {
  padding: 34px 0 50px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
}

.checkout-card h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
}

.checkout-card .sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  position: sticky;
  top: 92px;
}

.summary-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.summary-item .list-thumb {
  width: 66px;
  height: 66px;
  font-size: 28px;
}

.summary-title {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.summary-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}

.summary-rows {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0;
}

.summary-row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.summary-total .price {
  font-size: 26px;
}

.escrow-note {
  display: flex;
  gap: 9px;
  background: var(--brand-soft);
  border-radius: 12px;
  padding: 11px 13px;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: #3d6557;
}

.escrow-note svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  margin-top: 1px;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-method {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.pay-method:hover {
  border-color: var(--line-strong);
}

.pay-method:has(input:checked) {
  border-color: var(--brand);
  background: rgba(226, 240, 233, 0.45);
  box-shadow: 0 0 0 1px var(--brand) inset;
}

.pay-method input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.pay-method .pay-title {
  font-size: 13.5px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pay-method .pay-desc {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}

.order-status-hero {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 18px;
}

.status-orb {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 28px;
}

.status-orb.amber {
  background: var(--amber-soft);
  color: var(--amber-deep);
}

.order-status-hero h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.order-status-hero p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.mega-order-id {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 6px 12px;
}

.timeline {
  margin: 6px 0 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  padding-bottom: 22px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  z-index: 1;
}

.timeline-step.done .timeline-dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.timeline-step.now .timeline-dot {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.25);
}

.timeline-step strong {
  display: block;
  font-size: 13px;
  padding-top: 2px;
}

.timeline-step span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Quản trị
   -------------------------------------------------------------------------- */

.admin-page {
  padding: 34px 0 50px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.stat-card .stat-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stat-card .stat-value {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

.stat-card .stat-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.admin-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
  overflow: hidden;
}

.admin-section h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 10px;
  border-bottom: 1px dashed var(--line);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .t-title {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.data-table .t-title a {
  color: var(--ink);
}

.data-table .t-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.data-table .t-actions {
  text-align: right;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hướng dẫn / FAQ
   -------------------------------------------------------------------------- */

.guide-hero {
  padding: 54px 0 30px;
  max-width: 760px;
}

.guide-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 14px 0 14px;
}

.guide-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.guide-card h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.guide-card p,
.guide-card li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.guide-card ul {
  padding-left: 18px;
  margin: 8px 0 0;
}

.guide-card li::marker {
  color: var(--amber-deep);
}

.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 22px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--amber-deep);
  line-height: 1;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details[open] summary {
  color: var(--brand);
}

.faq .faq-body {
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 10px;
}

.fee-table td {
  padding: 10px 6px;
  border-bottom: 1px dashed var(--line);
}

.fee-table td:last-child {
  text-align: right;
  font-weight: 650;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Thông báo & tiện ích
   -------------------------------------------------------------------------- */

.toast-root {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ink);
  color: #f7f2e6;
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.25s ease;
  pointer-events: auto;
  border-left: 4px solid var(--brand-2);
}

.toast-error {
  border-left-color: var(--coral);
}

.toast-info {
  border-left-color: var(--amber);
}

.toast .toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast.leaving {
  animation: toast-out 0.2s ease forwards;
}

.loading-page {
  padding: 90px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}

.inline-error {
  padding: 14px 16px;
  background: var(--coral-soft);
  border: 1px solid #f0c4b4;
  border-radius: 12px;
  color: #9a3a1c;
  font-size: 13px;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid #c9e2d5;
  color: #345c4e;
  font-size: 12.5px;
  line-height: 1.55;
}

.notice .notice-icon {
  font-size: 15px;
  line-height: 1.4;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.bottom-nav {
  display: none;
}

/* --------------------------------------------------------------------------
   Hoạt ảnh
   -------------------------------------------------------------------------- */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fade-up 0.35s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Bổ sung thành phần đặc thù
   -------------------------------------------------------------------------- */

.feature-art-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.feature-art {
  height: 252px;
  border-radius: 18px;
}

.feature-art .art-emoji {
  font-size: 104px;
}

.feature-cta {
  margin-top: 14px;
}

.feature-card .empty-emoji {
  font-size: 42px;
  margin-bottom: 8px;
}

.detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-bid-cta {
  display: none;
  margin-top: 14px;
}

.mobile-price-strip {
  display: none;
}

.mobile-price-strip .price {
  font-size: 25px;
  display: block;
}

.mobile-price-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.notice-icon svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pay-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  vertical-align: -3px;
}

.user-menu-panel a svg,
.user-menu-panel button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-thumb .art {
  width: 100%;
  height: 100%;
}

.list-thumb .art-emoji {
  font-size: 34px;
}

.list-thumb .art-label {
  display: none;
}

.auth-aside .brand {
  display: flex;
  width: fit-content;
  margin-bottom: 34px;
}

.auth-aside .brand-text strong {
  font-size: 17px;
}

.bid-panel .buy-now-btn {
  margin-top: 10px;
}

.watch-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.cat-orb {
  line-height: 1;
}

.status-orb {
  flex-shrink: 0;
}

.search-mobile-cats {
  display: none;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.search-mobile-cats a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
}

.search-mobile-cats a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@media (max-width: 960px) {
  .search-mobile-cats {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .auction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-shell {
    gap: 16px;
  }

  .primary-nav {
    gap: 16px;
  }
}

@media (max-width: 1040px) {
  .hero-grid {
    gap: 32px;
  }

  .trust-item {
    padding: 15px 16px;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 22px;
  }

  .seller-band {
    padding: 38px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-feature {
    max-width: 560px;
    margin: 8px auto 0;
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .seller-band {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .seller-cta {
    justify-self: start;
    text-align: left;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .bid-panel {
    position: static;
  }

  .mobile-bid-cta {
    display: flex;
  }

  .mobile-price-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 16px;
  }

  .auth-page {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 24px auto;
  }

  .auth-aside {
    min-height: auto;
    padding: 30px 30px 26px;
  }

  .auth-aside .auth-quote,
  .auth-aside .auth-points {
    display: none;
  }

  .auth-aside h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .auth-card {
    padding: 32px 30px;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }

  .profile-links {
    display: none;
  }

  .wallet-box {
    margin-top: 14px;
  }

  .sell-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .sell-side,
  .summary-card {
    position: static;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .filter-card {
    position: static;
    display: none;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 11px 18px 12px;
    gap: 10px 14px;
  }

  .brand-text span {
    display: none;
  }

  .global-search {
    order: 4;
    flex-basis: 100%;
    max-width: none;
  }

  .primary-nav {
    display: none;
  }

  .auth-zone {
    margin-left: auto;
  }

  .demo-ribbon {
    font-size: 11.5px;
    padding: 6px 16px;
  }

  .demo-ribbon a {
    display: none;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .auction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-art {
    height: 150px;
  }

  .art-emoji {
    font-size: 58px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-price-row .price {
    font-size: 18px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-section {
    padding: 19px;
  }

  .detail-title {
    font-size: 27px;
  }

  .detail-art {
    aspect-ratio: 4 / 3;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 4px;
  }

  .seller-stats {
    gap: 24px;
  }

  .sell-page,
  .checkout-page,
  .account-page,
  .admin-page {
    padding-top: 24px;
  }

  .page-head {
    padding-top: 24px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .input,
  .select,
  .textarea,
  .global-search input {
    font-size: 16px;
  }

  .otp-input {
    font-size: 28px;
    letter-spacing: 0.4em;
  }

  .bid-form .input-lg {
    font-size: 20px;
  }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(255, 253, 248, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 4px;
    font-size: 9.5px;
    font-weight: 650;
    color: var(--muted);
    border-radius: 10px;
  }

  .bottom-nav a svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bottom-nav a.active {
    color: var(--brand);
    background: var(--brand-soft);
  }

  .bottom-nav .bottom-sell {
    color: var(--ink);
  }

  .bottom-sell-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    margin-top: -14px;
    border: 3px solid var(--paper);
    box-shadow: var(--shadow-sm);
  }

  .bottom-nav .bottom-sell.active {
    background: transparent;
    color: var(--brand);
  }

  .toast-root {
    bottom: 82px;
    right: 14px;
  }

  .site-footer {
    margin-top: 52px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 30px;
  }

  .footer-col {
    display: none;
  }

  .footer-brand p {
    max-width: none;
  }

  .seller-band {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .trust-strip {
    border-radius: 14px;
  }

  .trust-item {
    padding: 13px 14px;
    gap: 9px;
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .trust-item strong {
    font-size: 12px;
  }

  .trust-item span {
    display: none;
  }

  .category-rail {
    padding-bottom: 8px;
  }

  .auction-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card-art {
    height: 180px;
  }

  .art-emoji {
    font-size: 72px;
  }

  .card-title {
    min-height: 0;
    font-size: 15.5px;
  }

  .auth-card {
    padding: 26px 22px;
  }

  .auth-aside {
    padding: 24px 22px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-2 {
    grid-column: auto;
  }

  .list-item {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
  }

  .list-thumb {
    width: 64px;
    height: 64px;
    font-size: 27px;
  }

  .list-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    border-top: 1px dashed var(--line);
    padding-top: 9px;
  }

  .list-side .btn {
    padding: 7px 12px;
  }

  .order-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-card {
    padding: 18px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-card .stat-value {
    font-size: 24px;
  }

  .detail-meta {
    font-size: 11.5px;
  }

  .fact-grid {
    gap: 8px;
  }

  .fact {
    padding: 11px 12px;
  }

  .bid-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .price-block .price {
    font-size: 32px;
  }

  .bid-clock .clock-time {
    font-size: 22px;
  }

  .seller-band h2 {
    font-size: 27px;
  }

  .seller-stats {
    margin-top: 20px;
  }

  .modal-card {
    width: calc(100vw - 28px);
  }
}

@media (max-width: 430px) {
  .brand-text strong {
    font-size: 17px;
  }

  .brand-mark-img {
    width: 38px;
    height: 38px;
  }

  .auth-zone .btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .auth-zone .link-quiet {
    font-size: 12.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: 38px;
  }

  .quick-bid {
    min-width: 0;
    font-size: 10.5px;
  }

  .seller-stats strong {
    font-size: 22px;
  }

  .seller-stats span {
    font-size: 10px;
  }
}

/* ==========================================================================
   Lớp nâng cấp: đấu giá thuần, duyệt tin giá cố định, chữ lớn cho người lớn tuổi
   ========================================================================== */

.ribbon-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.demo-ribbon {
  min-height: 40px;
  height: auto;
  padding: 6px 20px;
  flex-wrap: wrap;
}

.text-size-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 11px 4px 7px;
  border: 1px solid #c8a45a;
  border-radius: 999px;
  background: #fff8e6;
  color: #593b04;
  font-size: 13px;
  font-weight: 700;
}

.text-size-toggle:hover {
  background: #ffefc2;
}

.text-size-toggle .text-size-a {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #6f4b06;
  color: #fff;
  font-size: 12px;
  letter-spacing: -0.03em;
}

.text-size-toggle[aria-pressed="true"] {
  background: #6f4b06;
  border-color: #6f4b06;
  color: #fff;
}

.text-size-toggle[aria-pressed="true"] .text-size-a {
  background: var(--amber);
  color: var(--ink);
}

.support-link {
  color: var(--brand) !important;
  font-weight: 700;
}

/* Cỡ chữ lớn: tăng đồng bộ các vùng chữ quan trọng, không phá bố cục. */
html[data-textsize="large"] body { font-size: 18px; }
html[data-textsize="large"] .btn,
html[data-textsize="large"] .link-quiet,
html[data-textsize="large"] .primary-nav a { font-size: 17px; }
html[data-textsize="large"] .btn-sm { font-size: 15px; }
html[data-textsize="large"] .input,
html[data-textsize="large"] .select,
html[data-textsize="large"] .textarea { font-size: 18px; min-height: 54px; }
html[data-textsize="large"] .field > label { font-size: 16px; }
html[data-textsize="large"] .hint,
html[data-textsize="large"] .tiny,
html[data-textsize="large"] .small { font-size: 14px; }
html[data-textsize="large"] .hero-sub,
html[data-textsize="large"] .page-sub,
html[data-textsize="large"] .auth-sub,
html[data-textsize="large"] .section-sub,
html[data-textsize="large"] .prose,
html[data-textsize="large"] .guide-card p,
html[data-textsize="large"] .step-card p { font-size: 18px; }
html[data-textsize="large"] .card-title { font-size: 18px; }
html[data-textsize="large"] .price { font-size: 24px; }
html[data-textsize="large"] .price-lg { font-size: 38px; }
html[data-textsize="large"] .bid-clock .clock-time { font-size: 30px; }
html[data-textsize="large"] .text-size-toggle { font-size: 14px; }
html[data-textsize="large"] .data-table th,
html[data-textsize="large"] .data-table td { font-size: 15px; }

html[data-textsize="xlarge"] body { font-size: 20px; }
html[data-textsize="xlarge"] .btn,
html[data-textsize="xlarge"] .link-quiet,
html[data-textsize="xlarge"] .primary-nav a { font-size: 18px; }
html[data-textsize="xlarge"] .btn-sm { font-size: 16px; }
html[data-textsize="xlarge"] .input,
html[data-textsize="xlarge"] .select,
html[data-textsize="xlarge"] .textarea { font-size: 20px; min-height: 58px; }
html[data-textsize="xlarge"] .field > label { font-size: 17px; }
html[data-textsize="xlarge"] .hint,
html[data-textsize="xlarge"] .tiny,
html[data-textsize="xlarge"] .small { font-size: 15px; }
html[data-textsize="xlarge"] .hero-sub,
html[data-textsize="xlarge"] .page-sub,
html[data-textsize="xlarge"] .auth-sub,
html[data-textsize="xlarge"] .section-sub,
html[data-textsize="xlarge"] .prose,
html[data-textsize="xlarge"] .guide-card p,
html[data-textsize="xlarge"] .step-card p { font-size: 20px; }
html[data-textsize="xlarge"] .card-title { font-size: 20px; }
html[data-textsize="xlarge"] .price { font-size: 27px; }
html[data-textsize="xlarge"] .price-lg { font-size: 42px; }

/* Nút chạm lớn, khoảng cách rõ ràng cho người lớn tuổi. */
.btn { min-height: 46px; }
.btn-lg { min-height: 54px; }
.input, .select, .textarea { min-height: 48px; }
.field > label { font-size: 15px; font-weight: 700; }

/* Đăng nhập bằng Facebook + tab OTP / mật khẩu */
.btn-facebook {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.18);
}
.btn-facebook:hover { background: #0f65d4; color: #fff; }
.btn-facebook svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4edde;
  margin: 18px 0 14px;
}
.auth-tab {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
}
.auth-tab.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.auth-panel[hidden] { display: none !important; }
.auth-divider {
  position: relative;
  text-align: center;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.auth-divider span { position: relative; padding: 0 12px; background: #fff; }
.auth-card { padding-top: 30px; }
.auth-card .auth-sub { margin-bottom: 4px; }
.otp-step { margin-top: 4px; }
.otp-demo-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #6f4b06;
  font-size: 14px;
  line-height: 1.5;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  padding: 6px 0;
}
.auth-help { margin-top: 14px; font-size: 14px; color: var(--muted); }
.auth-help a { font-weight: 700; }

/* Chọn loại tin: đấu giá (mặc định) hoặc giá cố định (cần duyệt) */
.type-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 4px;
}
.type-choice {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.type-choice:hover { border-color: var(--line-strong); }
.type-choice input { position: absolute; opacity: 0; pointer-events: none; }
.type-choice.active {
  border-color: var(--brand);
  background: #f3faf6;
}
.type-choice .type-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  font-size: 20px;
}
.type-choice.fixed .type-icon { background: var(--amber-soft); }
.type-choice strong { display: block; font-size: 15px; }
.type-choice small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 3px; }
.type-choice .chip { margin-top: 5px; font-size: 10px; }
.approval-inline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  margin-top: 12px;
  border: 1px solid #ecd39d;
  border-radius: 12px;
  background: #fff9eb;
  color: #6b4808;
  font-size: 14px;
  line-height: 1.5;
}
.approval-inline strong { color: #543802; }
.hidden { display: none !important; }

.fixed-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--amber-soft);
  color: #714a00;
  border: 1px solid #e8c983;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
.fixed-price-panel {
  padding: 16px 0 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.fixed-price-panel .price { font-size: 36px; }
.fixed-price-panel p { color: var(--muted); font-size: 14px; }
.fixed-buy-box {
  padding: 14px;
  border: 1px solid #e8c983;
  border-radius: 14px;
  background: #fff9eb;
}
.fixed-buy-box .btn { margin-top: 10px; }
.fixed-approval-note {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f6f2e8;
  font-size: 13.5px;
  color: var(--ink-2);
}
.admin-approval-list { display: grid; gap: 14px; }
.admin-approval-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid #ead39b;
  border-left: 5px solid var(--amber);
  border-radius: 14px;
  background: #fffdf7;
}
.admin-approval-card h3 { font-family: var(--serif); font-size: 21px; margin: 4px 0 6px; }
.admin-approval-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.admin-approval-reason {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f7f1e1;
  font-size: 14px;
}
.admin-approval-actions { display: flex; flex-direction: column; gap: 8px; min-width: 170px; }
.admin-approval-actions .btn { min-height: 44px; }
.approval-approved {
  padding: 14px;
  border: 1px solid #bfe0ca;
  border-radius: 12px;
  background: #f1fbf4;
  color: #185c37;
  font-size: 14px;
  margin-bottom: 14px;
}
.approval-rejected {
  padding: 14px;
  border: 1px solid #e9b7a8;
  border-radius: 12px;
  background: #fff4ef;
  color: #7a2d18;
  font-size: 14px;
  margin-bottom: 14px;
}
.rejection-reason { margin-top: 4px; font-weight: 650; }

/* Hộp thoại xác nhận lớn, dễ đọc */
.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 32, 30, 0.58);
  backdrop-filter: blur(3px);
}
.confirm-modal {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: var(--shadow-lg);
  animation: modal-in .16s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.confirm-modal h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.confirm-modal p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.confirm-modal .confirm-amount {
  margin: 16px 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.confirm-actions .btn { min-height: 50px; }
.confirm-modal .modal-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

.fixed-card-chip { font-size: 10px; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--brand); }

@media (max-width: 760px) {
  .demo-ribbon { justify-content: center; text-align: center; gap: 6px; }
  .ribbon-actions { justify-content: center; gap: 10px; }
  .text-size-toggle { min-height: 36px; }
  .support-link { display: none; }
  .auth-tabs { grid-template-columns: 1fr; }
  .type-choice-grid { grid-template-columns: 1fr; }
  .admin-approval-card { grid-template-columns: 1fr; }
  .admin-approval-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .fix--actions { grid-template-columns: 1fr; }
  .confirm-actions { grid-template-columns: 1fr; }
}

[hidden] { display: none !important; }
.countdown.fixed { background: #fff5df; color: #714a00; border: 1px solid #e8c983; }

.admin-page .stat-grid { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }

.bid-help {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}
.bid-help:hover { border-color: var(--brand); color: var(--brand); }
.bid-help strong { color: var(--ink); }

/* ==========================================================================
   Chat người mua ↔ người bán + trạng thái WebSocket
   ========================================================================== */

.header-chat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.header-chat:hover { border-color: var(--brand); color: var(--brand); }
.header-chat svg { width: 19px; height: 19px; }
.chat-unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--paper);
}
.chat-unread-badge.bottom {
  top: 1px;
  right: calc(50% - 20px);
  box-shadow: 0 0 0 2px #fffdf8;
}

.chat-page { padding: 30px 0 60px; }
.chat-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.chat-connection {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.chat-connection::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.chat-connection[data-state="fallback"] { background: var(--amber-soft); color: #715008; }
.chat-connection[data-state="fallback"]::before { background: var(--amber-deep); }
.chat-connection[data-state="reconnecting"] { background: var(--coral-soft); color: #7a2d18; }
.chat-connection[data-state="reconnecting"]::before { background: var(--coral); }

.chat-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 620px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.chat-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fffdf8;
}
.chat-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 18px;
}
.chat-conversations { flex: 1; overflow-y: auto; max-height: 560px; }
.chat-conv {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0e9da;
  color: var(--ink);
}
.chat-conv:hover { background: #f8f4ea; color: var(--ink); }
.chat-conv.active { background: var(--brand-soft); }
.chat-conv-art { width: 44px; height: 44px; flex-shrink: 0; }
.chat-conv-main { min-width: 0; flex: 1; }
.chat-conv-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.chat-conv-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-conv-top > span { color: var(--muted); font-size: 11px; flex-shrink: 0; }
.chat-conv-product {
  display: block;
  margin-top: 2px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-conv-last {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-conv-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
}
.chat-find-more { margin: 12px; flex-shrink: 0; }
.chat-empty-small { padding: 22px 16px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }

.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 620px; }
.chat-thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.chat-thread-art { width: 42px; height: 42px; flex-shrink: 0; }
.chat-thread-title { flex: 1; min-width: 0; }
.chat-thread-title a { display: block; color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-thread-title span { color: var(--muted); font-size: 12px; }
.chat-back { display: none; color: var(--ink); }
.chat-back svg { width: 22px; height: 22px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  max-height: 470px;
  min-height: 300px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 20% 0, rgba(242, 184, 75, 0.07), transparent 40%),
    #fffdf8;
}
.chat-day-sep { text-align: center; margin: 10px 0 16px; }
.chat-day-sep span { padding: 3px 10px; border-radius: 999px; background: #eee8db; color: var(--muted); font-size: 11px; }
.chat-bubble-row { display: flex; flex-direction: column; align-items: flex-start; margin: 6px 0; }
.chat-bubble-row.mine { align-items: flex-end; }
.chat-sender { margin: 0 6px 2px; color: var(--muted); font-size: 11.5px; }
.chat-bubble {
  max-width: min(78%, 620px);
  padding: 10px 13px;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(22, 42, 46, 0.04);
}
.chat-bubble-row.mine .chat-bubble {
  border-radius: 16px 16px 5px 16px;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.chat-bubble.pending { opacity: 0.65; }
.chat-bubble.failed { background: var(--coral-soft); border-color: var(--coral); color: #7a2d18; }
.chat-bubble-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble-meta { margin-top: 4px; font-size: 10.5px; opacity: 0.7; text-align: right; }

.chat-quick {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 10px 16px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-quick-btn {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink-2);
  padding: 7px 11px;
  font-size: 12px;
  text-align: left;
}
.chat-quick-btn:hover { border-color: var(--brand); color: var(--brand); }
.chat-composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 16px 14px;
  background: #fff;
  flex-wrap: wrap;
}
.chat-composer .field { flex: 1; min-width: 200px; margin: 0; }
.chat-composer .field .error-text { margin-top: 4px; }
.chat-input {
  min-height: 52px;
  max-height: 140px;
  resize: vertical;
  border-radius: 12px;
  background: #fffdf8;
}
.chat-send { min-height: 52px; padding: 0 20px; }
.chat-send svg { width: 19px; height: 19px; }
.chat-hint { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.chat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 40px;
  text-align: center;
}
.chat-placeholder h2 { font-family: var(--serif); font-size: 25px; }
.chat-placeholder p { color: var(--muted); max-width: 340px; }
.bid-chat-cta { margin: 10px 0 2px; }

@media (max-width: 1180px) {
  .header-chat span:not(.chat-unread-badge) { display: none; }
  .header-chat { padding: 8px 10px; }
}
@media (max-width: 900px) {
  .chat-layout { grid-template-columns: 1fr; min-height: 0; }
  .chat-sidebar { border-right: 0; }
  .chat-layout.has-thread .chat-sidebar { display: none; }
  .chat-layout:not(.has-thread) .chat-main { display: none; }
  .chat-main { min-height: 0; }
  .chat-messages { max-height: none; min-height: 46vh; }
  .chat-back { display: inline-flex; }
  .chat-page { padding-top: 20px; }
}
@media (max-width: 760px) {
  .chat-composer { padding: 10px 12px 12px; }
  .chat-composer .field { min-width: 100%; }
  .chat-send { width: 100%; }
  .chat-quick { padding: 8px 12px 0; }
  .chat-messages { padding: 14px 12px; }
  .chat-thread-head { padding: 10px 12px; }
  .chat-thread-head > .btn { display: none; }
}

@media (max-width: 900px) {
  .chat-messages { height: 46vh; max-height: 46vh; }
  .chat-main { min-height: 0; }
}
@media (max-width: 760px) {
  .chat-messages { height: 44vh; max-height: 44vh; }
}

@media (max-width: 900px) {
  .chat-page { padding-top: 12px; }
  .chat-page .breadcrumb { display: none; }
  .chat-page-head { align-items: center; margin-bottom: 6px; }
  .chat-page-head .eyebrow,
  .chat-page-head .page-sub { display: none; }
  .chat-page-head .page-title { font-size: 36px; }
  .chat-layout {
    height: calc(100dvh - 280px);
    min-height: 430px;
    margin-top: 10px;
  }
  .chat-sidebar { max-height: none; }
  .chat-conversations { max-height: none; }
  .chat-main { height: 100%; min-height: 0; }
  .chat-messages {
    flex: 1;
    height: auto;
    max-height: none;
    min-height: 0;
  }
}
@media (max-width: 760px) {
  .chat-page-head .page-title { font-size: 32px; }
  .chat-layout { height: calc(100dvh - 270px); min-height: 410px; }
  .chat-quick { display: none; }
  .chat-composer { padding-bottom: 10px; }
  .chat-hint { display: none; }
}

@media (max-width: 900px) {
  body.chat-page-mode .demo-ribbon,
  body.chat-page-mode .global-search { display: none; }
  body.chat-page-mode .site-header .header-shell { padding-top: 10px; padding-bottom: 10px; }
  body.chat-page-mode .chat-page { padding-top: 10px; }
  body.chat-page-mode .chat-page-head .page-title { font-size: 32px; }
  body.chat-page-mode .chat-layout {
    height: calc(100dvh - 240px);
    min-height: 380px;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .chat-composer .field { min-width: 0; }
  .chat-send { width: 54px; flex-shrink: 0; padding: 0; }
  .chat-send span { display: none; }
  .chat-input { min-height: 50px; max-height: 110px; }
  .chat-hint { display: none; }
}

@media (max-width: 900px) {
  body.chat-page-mode .chat-layout { height: calc(100dvh - 286px); }
}

.chat-page { padding-left: 24px; padding-right: 24px; }
@media (max-width: 760px) {
  .chat-page { padding-left: 14px; padding-right: 14px; }
}

/* 2FA admin */
.two-factor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}
.two-factor-status.enabled { border-color: #bfe0ca; background: #f1fbf4; }
.two-factor-status p { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.two-factor-setup { max-width: 720px; }
.two-factor-setup h3 { margin: 6px 0 6px; font-family: var(--serif); font-size: 20px; }
.two-factor-setup p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.two-factor-secret {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffdf8;
  font-size: 13px;
}
.two-factor-secret code { font-size: 16px; letter-spacing: 0.08em; word-break: break-all; }
.two-factor-recovery h3 { font-family: var(--serif); font-size: 20px; margin-top: 14px; }
.two-factor-recovery p { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}
.recovery-grid code {
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .two-factor-status { align-items: flex-start; flex-direction: column; }
  .recovery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* SePay / VietQR */
.payment-wait { border-color: #e8c983; background: #fffdf7; }
.payment-wait-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.payment-grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin-top: 16px; align-items: start; }
.payment-qr { width: 220px; height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; }
.payment-details { display: grid; gap: 9px; }
.payment-details > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.payment-details span { color: var(--muted); }
.payment-details strong { text-align: right; }
.payment-details .payment-amount { font-size: 21px; color: var(--brand); font-family: var(--serif); }
.payment-code { padding: 4px 8px; border-radius: 6px; background: var(--amber-soft); color: #714a00; font-size: 15px; }
.payment-poll { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #f5f1e6; color: var(--muted); font-size: 13px; }
.payment-underpaid { border-color: #e9b7a8; background: #fff4ef; }
.order-actions .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .payment-wait-head { flex-direction: column; }
  .payment-grid { grid-template-columns: 1fr; }
  .payment-qr { width: min(260px, 100%); height: auto; margin: 0 auto; }
  .payment-details > div { font-size: 13px; }
}

/* SEO slug preview */
.seo-slug-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  margin: -4px 0 4px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #f8f4ea;
  font-size: 12.5px;
  color: var(--muted);
}
.seo-slug-preview span { font-weight: 650; color: var(--ink-2); }
.seo-slug-preview code {
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.seo-slug-preview small { flex-basis: 100%; font-size: 11.5px; }

/* Winner notification state */
.order-notify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  background: var(--brand-soft);
  color: var(--brand);
}
.order-notify.demo { background: var(--amber-soft); color: var(--ink-2); }
.order-notify.wait { background: var(--ocean-soft); color: var(--ocean); }
.order-notify.warn { background: var(--coral-soft); color: var(--coral); }

/* Listing photos & gallery */
.auction-photo { overflow: hidden; padding: 0; }
.auction-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-gallery { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery-main { aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #0f1715; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery-thumb { width: 72px; height: 72px; flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.gallery-thumb.active { border-color: var(--brand); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Sell image uploader */
.image-upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.image-upload-add { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; color: var(--muted); background: var(--cream); padding: 12px; }
.image-upload-add:hover { border-color: var(--brand); color: var(--brand); }
.image-upload-add span { font-size: 28px; line-height: 1; }
.image-upload-add strong { font-size: 13px; }
.image-upload-add small { font-size: 10.5px; }
.image-upload-item { position: relative; aspect-ratio: 1; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.image-upload-item img { width: 100%; height: 100%; object-fit: cover; }
.image-upload-item button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 18px; line-height: 1; }
.image-cover-badge { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; }
.image-upload-status { min-height: 20px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
