@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");

:root {
  --obsidian: #11110f;
  --ink: #050505;
  --porcelain: #f6f1e8;
  --paper: #e8ded0;
  --gold: #c7a35a;
  --soft-gold: #e2c783;
  --emerald: #034d3f;
  --felt: #0a6a55;
  --burgundy: #5b1f32;
  --signal: #b8332a;
  --steel: #a7b0b4;
  --taupe: #8a7a68;
  --success: #2f8f63;
  --warning: #c98a2e;
  --bg: var(--porcelain);
  --surface: #fffaf2;
  --surface-2: #eee4d7;
  --fg: var(--obsidian);
  --muted: #6f6253;
  --border: rgba(17, 17, 15, 0.14);
  --shadow: 0 18px 50px rgba(17, 17, 15, 0.12);
  --radius: 8px;
  --font-brand: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --font-display: "Noto Sans KR", Pretendard, "Source Han Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans KR", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-num: "Noto Sans KR", Geist, Satoshi, Outfit, "SF Pro Text", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(199, 163, 90, 0.12), transparent 26rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--porcelain) 42%, #eee5d8 100%);
}

body.salon-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 199, 131, 0.2), transparent 24rem),
    radial-gradient(circle at 76% 42%, rgba(10, 106, 85, 0.28), transparent 28rem),
    linear-gradient(135deg, #060605 0%, #14120f 46%, #061712 100%);
  color: #f8efdf;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.num,
.price,
.timer-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

.salon-body .topbar {
  background: rgba(5, 5, 5, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-wordmark {
  display: inline-block;
  color: currentColor;
  line-height: 1;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--gold) 72%, var(--obsidian));
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links.has-open-menu {
  overflow: visible;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
  background: rgba(17, 17, 15, 0.06);
}

.nav-links .nav-auth {
  border: 1px solid color-mix(in oklch, var(--gold) 54%, transparent);
  color: color-mix(in oklch, var(--gold) 70%, var(--obsidian));
  background: rgba(199, 163, 90, 0.08);
}

.nav-user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-user-trigger {
  min-height: 37px;
  padding: 9px 30px 9px 13px;
  border: 1px solid color-mix(in oklch, var(--gold) 58%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(246, 236, 217, 0.78));
  color: color-mix(in oklch, var(--gold) 64%, var(--obsidian));
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.nav-user-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-64%) rotate(45deg);
  transition: transform 0.12s ease;
}

.nav-user-menu.is-open .nav-user-trigger {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--gold) 78%, var(--obsidian));
  box-shadow: 0 10px 22px rgba(17, 17, 15, 0.12);
}

.nav-user-menu.is-open .nav-user-trigger::after {
  transform: translateY(-32%) rotate(225deg);
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 126px;
  padding: 7px;
  border: 1px solid color-mix(in oklch, var(--gold) 46%, var(--border));
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.18);
}

.nav-user-dropdown a,
.nav-user-dropdown button {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--fg);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-user-dropdown a:hover,
.nav-user-dropdown button:hover {
  background: rgba(199, 163, 90, 0.14);
}

.salon-body .nav-links a {
  color: rgba(248, 239, 223, 0.74);
}

.salon-body .nav-links a:hover,
.salon-body .nav-links a[aria-current="page"] {
  color: #fff5dd;
  background: rgba(226, 199, 131, 0.12);
}

.salon-body .nav-user-trigger {
  background: rgba(226, 199, 131, 0.1);
  color: #ffe8aa;
}

.salon-body .nav-user-dropdown {
  background: rgba(22, 20, 18, 0.98);
  border-color: rgba(226, 199, 131, 0.28);
}

.salon-body .nav-user-dropdown a,
.salon-body .nav-user-dropdown button {
  color: #fff5dd;
}

.salon-body .nav-user-dropdown a:hover,
.salon-body .nav-user-dropdown button:hover {
  background: rgba(226, 199, 131, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  color: var(--fg);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 15, 0.28);
}

.btn.primary {
  border-color: color-mix(in oklch, var(--gold) 72%, var(--obsidian));
  background: var(--obsidian);
  color: #fff8e8;
}

.btn.gold {
  border-color: rgba(226, 199, 131, 0.56);
  background: linear-gradient(180deg, #f4d88c 0%, var(--gold) 100%);
  color: #17120b;
}

.btn.ghost {
  background: transparent;
}

.auth-main {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.auth-copy h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.auth-notice {
  margin-top: 28px;
  max-width: 620px;
  padding: 18px;
  border: 1px solid color-mix(in oklch, var(--gold) 42%, var(--border));
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
}

.auth-notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}

.auth-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.auth-card {
  display: grid;
  gap: 18px;
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.7);
  color: var(--fg);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.auth-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--obsidian);
}

.post-auth-panel {
  display: grid;
  gap: 12px;
}

.post-auth-panel[hidden] {
  display: none;
}

.social-login-list {
  display: grid;
  gap: 10px;
}

.social-button {
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.social-button:hover,
.social-button.is-active {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(17, 17, 15, 0.12);
}

.social-button.kakao {
  border-color: rgba(61, 45, 0, 0.18);
  background: #fee500;
  color: #191600;
}

.social-button.naver {
  border-color: rgba(0, 130, 52, 0.16);
  background: #03c75a;
  color: #fff;
}

.social-button.google {
  background: #fff;
  color: #1f1f1f;
}

.auth-status {
  min-height: 44px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--surface-2) 68%, white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.auth-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.btn.danger {
  color: #fff;
  background: var(--signal);
  border-color: var(--signal);
}

.btn.small {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.page {
  padding: 24px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 42px 0 64px;
}

.hero.compact {
  min-height: auto;
  padding: 44px 0 36px;
}

.hero h1,
.section h2,
.panel h2,
.panel h3 {
  margin: 0;
  text-wrap: pretty;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section h2,
.panel h2,
.panel h3 {
  font-family: var(--font-display);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero p.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.68;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.meta-tile {
  min-height: 86px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.52);
}

.meta-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.meta-tile span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.preview-board {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 10px;
  background: linear-gradient(145deg, #fffaf2, #ebe0d2);
  box-shadow: var(--shadow);
}

.preview-board::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(199, 163, 90, 0.38);
  border-radius: 8px;
  pointer-events: none;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: auto;
  padding: 34px 0 18px;
}

.public-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 72px);
}

.public-hero .lead {
  max-width: 760px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(199, 163, 90, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.guide-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 10px;
  background: linear-gradient(145deg, #fffaf2, #ebe0d2);
  box-shadow: var(--shadow);
}

.guide-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
}

.guide-card.large {
  grid-row: span 2;
  min-height: 296px;
  align-content: center;
}

.guide-card strong {
  font-size: 18px;
}

.guide-card span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.guide-emoji {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 163, 90, 0.34);
  border-radius: 999px;
  background: rgba(226, 199, 131, 0.18);
  font-size: 22px;
}

.quick-guide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.soft-section {
  padding-top: 20px;
}

.compact-head {
  margin-bottom: 12px;
}

.compact-head h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.compact-head p {
  max-width: 680px;
  font-size: 14px;
}

.compact-guide .guide-card {
  min-height: auto;
  padding: 12px;
  gap: 6px;
}

.compact-guide .guide-card strong {
  font-size: 14px;
}

.compact-guide .guide-card span:last-child {
  font-size: 12px;
}

.compact-guide .guide-emoji {
  width: 32px;
  height: 32px;
  font-size: 17px;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 12px 32px rgba(17, 17, 15, 0.07);
}

.panel.pad {
  padding: 22px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.success-page {
  padding-top: 0;
}

.success-section {
  display: grid;
  gap: 18px;
  padding-top: 16px;
}

.success-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 132px;
  margin-bottom: 0;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(157, 119, 51, 0.3);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(244, 237, 222, 0.92) 58%, rgba(222, 192, 125, 0.24)),
    radial-gradient(circle at 92% 18%, rgba(191, 147, 67, 0.2), transparent 34%);
  box-shadow: 0 18px 42px rgba(31, 23, 14, 0.07);
}

.success-head::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(157, 119, 51, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.public-home-head {
  margin: 10px 0 24px;
}

.success-head::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 122px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(139, 100, 26, 0.42), transparent);
  pointer-events: none;
}

.success-head-main {
  position: relative;
  z-index: 1;
}

.success-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8b641a;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.success-head h1 {
  margin: 0;
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: 0.92;
  letter-spacing: 0;
}

.success-head-main > p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.success-head-seal {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(139, 100, 26, 0.36);
  border-radius: 50%;
  background: #030201;
  color: #8b641a;
  font-family: var(--font-brand);
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.28), 0 10px 26px rgba(32, 18, 8, 0.14);
}

.success-head-seal img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.success-head-seal::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(139, 100, 26, 0.12);
  border-radius: 50%;
}

.usage-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin: 28px 0 18px;
}

.usage-guide-intro h2 {
  margin: 6px 0 0;
  max-width: 760px;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: pretty;
}

.usage-guide-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  word-break: keep-all;
}

.usage-guide-stack {
  display: grid;
  gap: 18px;
}

.usage-guide-block {
  display: grid;
  grid-template-columns: minmax(360px, 1.12fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 12px 34px rgba(17, 17, 15, 0.07);
}

.usage-guide-block:nth-child(even):not(.usage-guide-block-dark):not(.usage-guide-block-plain) .usage-guide-visual {
  order: 2;
}

.usage-guide-block-dark {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 92% 8%, rgba(226, 199, 131, 0.16), transparent 16rem),
    linear-gradient(135deg, #12100d 0%, #17130d 52%, #092018 100%);
  color: #fff8e8;
  border-color: rgba(226, 199, 131, 0.24);
}

.usage-guide-block-salon,
.usage-guide-block.usage-guide-block-delivery {
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.74fr);
}

.usage-guide-block-salon .usage-guide-card-grid,
.usage-guide-block-delivery .usage-guide-card-grid {
  grid-template-columns: 1fr;
}

.usage-guide-block-salon .usage-guide-note {
  min-height: auto;
}

.usage-guide-block-plain {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
}

.usage-guide-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: var(--radius);
  background: #11110f;
}

.usage-guide-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.usage-guide-copy {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.usage-guide-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(199, 163, 90, 0.44);
  border-radius: 999px;
  background: rgba(199, 163, 90, 0.12);
  color: #76551a;
  font-size: 12px;
  font-weight: 900;
}

.usage-guide-block-dark .usage-guide-label {
  border-color: rgba(226, 199, 131, 0.38);
  background: rgba(226, 199, 131, 0.12);
  color: #f0d78c;
}

.usage-guide-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: pretty;
}

.usage-guide-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.usage-guide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.usage-guide-block-dark .usage-guide-copy p,
.usage-guide-block-dark .usage-guide-card-grid span,
.usage-guide-block-dark .usage-guide-note p {
  color: rgba(255, 248, 232, 0.74);
}

.usage-guide-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.usage-guide-steps li {
  display: grid;
  grid-template-columns: 32px minmax(108px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
}

.usage-guide-steps li::before {
  counter-increment: guide-step;
  content: counter(guide-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--obsidian);
  color: #fff8e8;
  font-size: 11px;
  font-weight: 900;
  font-family: var(--font-num);
}

.usage-guide-steps strong {
  font-size: 14px;
}

.usage-guide-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.usage-guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.usage-guide-card-grid article,
.usage-guide-split article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(199, 163, 90, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.08);
}

.usage-guide-card-grid strong {
  font-size: 14px;
}

.usage-guide-card-grid span {
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.usage-guide-note {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 232, 0.08);
}

.usage-guide-note-light {
  border-color: rgba(17, 17, 15, 0.12);
  background: rgba(17, 17, 15, 0.035);
}

.usage-guide-note strong {
  font-size: 17px;
  line-height: 1.45;
}

.usage-guide-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.usage-guide-definition {
  display: grid;
  gap: 8px;
  margin: 0;
}

.usage-guide-definition div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.usage-guide-definition dt {
  color: var(--fg);
  font-weight: 900;
}

.usage-guide-definition dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}

.usage-guide-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-guide-checklist li {
  position: relative;
  min-height: 34px;
  padding: 8px 10px 8px 32px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  word-break: keep-all;
}

.usage-guide-checklist li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.usage-guide-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.usage-guide-split article {
  background: rgba(255, 255, 255, 0.46);
}

.usage-guide-small {
  padding: 11px 13px;
  border: 1px solid rgba(199, 163, 90, 0.28);
  border-radius: var(--radius);
  background: rgba(199, 163, 90, 0.1);
  color: #6d4e16 !important;
  font-size: 13px !important;
  font-weight: 800;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.success-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.84);
  box-shadow: 0 10px 26px rgba(17, 17, 15, 0.06);
}

.success-card[hidden] {
  display: none !important;
}

.success-card .product-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 0;
  cursor: pointer;
}

.success-card .product-photo:focus-visible {
  outline: 3px solid rgba(199, 163, 90, 0.58);
  outline-offset: -3px;
}

.success-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.success-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.success-meta b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(199, 163, 90, 0.58);
  border-radius: 999px;
  background: rgba(199, 163, 90, 0.14);
  color: #715117;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.success-body h2 {
  min-height: 40px;
  margin: 0;
  font-size: 15px;
  line-height: 1.32;
  word-break: keep-all;
}

.success-body dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.success-body dl div {
  display: grid;
  gap: 2px;
  padding-top: 7px;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.success-body dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.success-body dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.success-body dl div:last-child dd {
  color: #8b641a;
  font-size: 16px;
}

.success-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.success-pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.86);
  color: var(--fg);
  font-family: var(--font-num);
  font-weight: 850;
  cursor: pointer;
}

.success-pagination button:hover,
.success-pagination button[aria-current="page"] {
  border-color: rgba(199, 163, 90, 0.64);
  background: linear-gradient(135deg, #f2ddaa, #c7a35a);
  color: #17110a;
}

.waiting-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.waiting-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 250, 242, 0.82);
  color: var(--fg);
  text-align: left;
  box-shadow: 0 10px 26px rgba(17, 17, 15, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.waiting-card:hover,
.waiting-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(199, 163, 90, 0.62);
  box-shadow: 0 18px 38px rgba(17, 17, 15, 0.12);
}

.waiting-card:focus-visible {
  outline: 2px solid rgba(199, 163, 90, 0.34);
  outline-offset: 3px;
}

.waiting-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.waiting-body strong {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.35;
  word-break: keep-all;
}

.estimate-price {
  display: grid;
  gap: 2px;
  padding-top: 2px;
}

.estimate-price small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.estimate-price b {
  color: var(--fg);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}

.start-price {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  word-break: keep-all;
}

.similar-sale {
  display: grid;
  gap: 2px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.similar-sale .sale-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.similar-sale small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.similar-sale b {
  color: var(--fg);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.similar-sale em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-align: right;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
  background: rgba(17, 17, 15, 0.045);
}

.thumb-strip i,
.modal-thumbs button {
  min-height: 32px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 6px;
  background: linear-gradient(145deg, #2b2925, #d6c09a);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.8);
  overflow: hidden;
}

.product-card.featured {
  border-color: rgba(199, 163, 90, 0.58);
  box-shadow: 0 18px 40px rgba(17, 17, 15, 0.1);
}

.locked-frame,
.product-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(17, 17, 15, 0.05), rgba(199, 163, 90, 0.16)),
    repeating-linear-gradient(45deg, rgba(17, 17, 15, 0.055) 0 1px, transparent 1px 12px);
}

.locked-frame {
  color: #6d604f;
  text-align: center;
  padding: 20px;
}

.locked-frame::before {
  content: "";
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border: 2px solid rgba(111, 98, 83, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 36%, rgba(111, 98, 83, 0.48) 36% 64%, transparent 64%) 50% 57% / 22px 14px no-repeat,
    radial-gradient(circle at 50% 42%, transparent 0 8px, rgba(111, 98, 83, 0.48) 9px 10px, transparent 11px);
}

.locked-frame span {
  max-width: 160px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.product-photo {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(155deg, #2b2925 0%, #5f5245 48%, #d6c09a 100%);
}

.product-photo.watch {
  background:
    radial-gradient(circle at 50% 44%, rgba(226, 199, 131, 0.42), transparent 20%),
    linear-gradient(145deg, #11110f 0%, #3b453f 52%, #d0c0a2 100%);
}

.product-photo.jewelry {
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(140deg, #37222a 0%, #766b5c 52%, #e4d6bd 100%);
}

.product-photo.bag-black,
.thumb-strip .bag-black,
.modal-thumbs .bag-black {
  background:
    radial-gradient(circle at 48% 24%, rgba(255, 255, 255, 0.72), transparent 27%),
    linear-gradient(150deg, #0f0f10 0%, #38332e 54%, #d1b777 100%);
}

.product-photo.bag-black-detail,
.thumb-strip .bag-black-detail,
.modal-thumbs .bag-black-detail {
  background:
    radial-gradient(circle at 62% 42%, rgba(226, 199, 131, 0.64), transparent 19%),
    linear-gradient(150deg, #161514 0%, #4b4035 54%, #b89652 100%);
}

.product-photo.bag-black-inside,
.thumb-strip .bag-black-inside,
.modal-thumbs .bag-black-inside {
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.28), transparent 50%),
    linear-gradient(145deg, #211c18 0%, #7f6547 52%, #d7c08f 100%);
}

.product-photo.wallet-etoupe,
.product-photo.wallet-etoupe-side,
.product-photo.wallet-etoupe-inside,
.thumb-strip .wallet-etoupe,
.thumb-strip .wallet-etoupe-side,
.thumb-strip .wallet-etoupe-inside,
.modal-thumbs .wallet-etoupe,
.modal-thumbs .wallet-etoupe-side,
.modal-thumbs .wallet-etoupe-inside {
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 255, 255, 0.62), transparent 24%),
    linear-gradient(145deg, #655849 0%, #9b8a73 48%, #e1cfae 100%);
}

.product-photo.watch-silver,
.product-photo.watch-silver-side,
.product-photo.watch-silver-back,
.thumb-strip .watch-silver,
.thumb-strip .watch-silver-side,
.thumb-strip .watch-silver-back,
.modal-thumbs .watch-silver,
.modal-thumbs .watch-silver-side,
.modal-thumbs .watch-silver-back {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.58), transparent 21%),
    linear-gradient(145deg, #151615 0%, #59605b 52%, #d8ded7 100%);
}

.product-photo.bag-cream,
.product-photo.bag-cream-detail,
.product-photo.bag-cream-inside,
.thumb-strip .bag-cream,
.thumb-strip .bag-cream-detail,
.thumb-strip .bag-cream-inside,
.modal-thumbs .bag-cream,
.modal-thumbs .bag-cream-detail,
.modal-thumbs .bag-cream-inside {
  background:
    radial-gradient(circle at 44% 28%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(145deg, #ddd0bd 0%, #f6eddf 48%, #a38c6c 100%);
}

.product-photo.bag-galet,
.product-photo.bag-galet-side,
.product-photo.bag-galet-inside,
.thumb-strip .bag-galet,
.thumb-strip .bag-galet-side,
.thumb-strip .bag-galet-inside,
.modal-thumbs .bag-galet,
.modal-thumbs .bag-galet-side,
.modal-thumbs .bag-galet-inside {
  background:
    radial-gradient(circle at 52% 26%, rgba(255, 255, 255, 0.62), transparent 22%),
    linear-gradient(140deg, #8c8276 0%, #cabaa1 50%, #584c42 100%);
}

.product-photo.bag-tan,
.product-photo.bag-tan-detail,
.product-photo.bag-tan-inside,
.thumb-strip .bag-tan,
.thumb-strip .bag-tan-detail,
.thumb-strip .bag-tan-inside,
.modal-thumbs .bag-tan,
.modal-thumbs .bag-tan-detail,
.modal-thumbs .bag-tan-inside {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.58), transparent 23%),
    linear-gradient(145deg, #9a6948 0%, #c59667 48%, #f0d0a4 100%);
}

.product-photo.watch-gold,
.product-photo.watch-gold-face,
.product-photo.watch-gold-back,
.thumb-strip .watch-gold,
.thumb-strip .watch-gold-face,
.thumb-strip .watch-gold-back,
.modal-thumbs .watch-gold,
.modal-thumbs .watch-gold-face,
.modal-thumbs .watch-gold-back {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 232, 0.72), transparent 20%),
    linear-gradient(145deg, #15120d 0%, #7a643d 52%, #e4cc82 100%);
}

.product-photo.bag-brown,
.product-photo.bag-brown-detail,
.product-photo.bag-brown-inside,
.thumb-strip .bag-brown,
.thumb-strip .bag-brown-detail,
.thumb-strip .bag-brown-inside,
.modal-thumbs .bag-brown,
.modal-thumbs .bag-brown-detail,
.modal-thumbs .bag-brown-inside {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 248, 232, 0.52), transparent 21%),
    linear-gradient(145deg, #3a2519 0%, #7b5437 52%, #c29a6d 100%);
}

.product-photo.bag-green,
.product-photo.bag-green-detail,
.product-photo.bag-green-inside,
.thumb-strip .bag-green,
.thumb-strip .bag-green-detail,
.thumb-strip .bag-green-inside,
.modal-thumbs .bag-green,
.modal-thumbs .bag-green-detail,
.modal-thumbs .bag-green-inside {
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 248, 232, 0.54), transparent 23%),
    linear-gradient(145deg, #102b22 0%, #3f6a50 50%, #c4ad79 100%);
}

.product-photo.bag-olive,
.product-photo.bag-olive-detail,
.product-photo.bag-olive-inside,
.thumb-strip .bag-olive,
.thumb-strip .bag-olive-detail,
.thumb-strip .bag-olive-inside,
.modal-thumbs .bag-olive,
.modal-thumbs .bag-olive-detail,
.modal-thumbs .bag-olive-inside {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 248, 232, 0.48), transparent 22%),
    linear-gradient(145deg, #2d3324 0%, #687057 52%, #cfbf8b 100%);
}

.product-photo::before {
  content: "";
  width: 46%;
  aspect-ratio: 1 / 0.82;
  border: 3px solid rgba(255, 248, 232, 0.88);
  border-radius: 12px 12px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.08)),
    color-mix(in oklch, var(--obsidian) 58%, var(--gold));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.product-photo.watch::before {
  width: 42%;
  border-radius: 50%;
  border-width: 9px;
  background: radial-gradient(circle, #ece3cf 0 32%, #10100e 33% 60%, #c7a35a 61% 100%);
}

.product-photo.watch-silver::before,
.product-photo.watch-silver-side::before,
.product-photo.watch-silver-back::before,
.product-photo.watch-gold::before,
.product-photo.watch-gold-face::before,
.product-photo.watch-gold-back::before {
  width: 42%;
  border-radius: 50%;
  border-width: 9px;
  background: radial-gradient(circle, #ece3cf 0 32%, #10100e 33% 60%, #c7a35a 61% 100%);
}

.product-photo.jewelry::before {
  width: 44%;
  border-radius: 50%;
  border-width: 4px;
  background: radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(248, 241, 223, 0.9) 35% 45%, transparent 46%);
}

.watermark {
  position: absolute;
  inset: auto 12px 12px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 15, 0.56);
  color: rgba(255, 248, 232, 0.92);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  word-break: keep-all;
}

.card-spec {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.card-spec div,
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span:first-child {
  color: var(--muted);
  font-size: 13px;
}

.price-row strong,
.price-row output {
  text-align: right;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.status-pill.success {
  color: var(--success);
  border-color: color-mix(in oklch, var(--success) 32%, transparent);
  background: color-mix(in oklch, var(--success) 12%, white);
}

.status-pill.warn {
  color: #805113;
  border-color: color-mix(in oklch, var(--warning) 34%, transparent);
  background: color-mix(in oklch, var(--warning) 12%, white);
}

.status-pill.gold {
  color: #6b4b12;
  border-color: rgba(199, 163, 90, 0.34);
  background: rgba(226, 199, 131, 0.22);
}

.photo-modal[hidden] {
  display: none !important;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.photo-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(840px, calc(100vh - 44px));
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(226, 199, 131, 0.36);
  border-radius: 12px;
  background: rgba(9, 9, 8, 0.92);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--fg);
  font-size: 12px;
  font-weight: 800;
}

.modal-photo-wrap {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.modal-photo {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 520px;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: 10px;
  aspect-ratio: 4 / 5;
}

.modal-nav {
  position: relative;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 163, 90, 0.45);
  border-radius: 999px;
  background: rgba(17, 17, 15, 0.88);
  color: #fff8e8;
  font-size: 28px;
  line-height: 1;
}

.modal-photo-count {
  justify-self: center;
  color: rgba(255, 250, 242, 0.78);
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.12em;
}

body.success-results-page .photo-dialog {
  width: min(1040px, 100%);
}

body.success-results-page .modal-photo {
  min-height: 560px;
  aspect-ratio: 16 / 10;
}

body.success-results-page .modal-photo::before {
  display: none;
}

body.success-results-page .modal-photo[class*="-detail"],
body.success-results-page .modal-photo[class*="-side"],
body.success-results-page .modal-photo[class*="-face"],
body.success-results-page .modal-photo[class*="-angle"] {
  background:
    radial-gradient(circle at 68% 42%, rgba(255, 250, 242, 0.6), transparent 22%),
    linear-gradient(135deg, rgba(17, 17, 15, 0.94), rgba(112, 88, 54, 0.74) 50%, rgba(231, 208, 153, 0.88));
}

body.success-results-page .modal-photo[class*="-inside"],
body.success-results-page .modal-photo[class*="-back"] {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.18), transparent 45%),
    radial-gradient(circle at 36% 34%, rgba(255, 250, 242, 0.48), transparent 22%),
    linear-gradient(145deg, rgba(45, 36, 25, 0.94), rgba(128, 101, 65, 0.82) 48%, rgba(216, 192, 139, 0.88));
}

body.modal-open {
  overflow: hidden;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.66);
}

.flow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--font-num);
  font-weight: 800;
}

.flow-step strong {
  display: block;
  margin-bottom: 8px;
}

.flow-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr 0.9fr 1fr 1fr;
  gap: 10px;
  align-items: end;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.82);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--fg);
}

.field input:focus,
.field select:focus {
  outline: 2px solid rgba(199, 163, 90, 0.24);
  border-color: var(--gold);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.detail-media {
  overflow: hidden;
}

.detail-media .product-photo {
  aspect-ratio: 1 / 0.92;
}

.copy-note,
.risk-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.risk-note {
  padding: 12px;
  border: 1px solid rgba(184, 51, 42, 0.18);
  border-radius: var(--radius);
  background: rgba(184, 51, 42, 0.06);
  color: #63302c;
}

.access-page {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
}

.access-notice {
  width: min(560px, 100%);
  text-align: center;
}

.access-notice h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 5vw, 44px);
}

.access-notice .admin-action-row {
  justify-content: center;
  margin-top: 20px;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-row .choice:only-child {
  grid-column: 1 / -1;
}

.choice {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--fg);
  font-weight: 760;
}

.choice.active,
.choice[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(226, 199, 131, 0.24);
}

.salon-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 18px;
  align-items: start;
  min-height: calc(100vh - 112px);
  padding: 22px 0 56px;
}

.salon-room {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(226, 199, 131, 0.22);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(226, 199, 131, 0.24), transparent 0 22%, transparent 52%),
    radial-gradient(ellipse at 50% 78%, rgba(10, 106, 85, 0.92), rgba(3, 77, 63, 0.48) 38%, rgba(5, 5, 5, 0.0) 62%),
    linear-gradient(145deg, rgba(91, 31, 50, 0.36), rgba(5, 5, 5, 0.54) 42%, rgba(3, 77, 63, 0.3));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.salon-room::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22%;
  height: 48%;
  border: 2px solid rgba(226, 199, 131, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(10, 106, 85, 0.78), rgba(3, 77, 63, 0.86) 62%, rgba(226, 199, 131, 0.28) 63% 66%, transparent 67%);
}

.salon-room > * {
  position: relative;
  z-index: 1;
}

.salon-focus {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  margin-top: 0;
}

.salon-focus .product-photo {
  width: 100%;
  max-width: 240px;
  justify-self: start;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}

.salon-photo {
  background:
    linear-gradient(135deg, rgba(22, 20, 18, 0.64), rgba(199, 163, 90, 0.2)),
    linear-gradient(145deg, #24211d 0 18%, #c9b184 18% 24%, #302923 24% 52%, #e7dcc2 52% 62%, #5e5140 62% 100%);
}

.salon-photo::before {
  opacity: 0.52;
}

.salon-focus h2 {
  margin: 3px 0 8px;
  color: #fff8ea;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.salon-product-copy {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.salon-product-copy .card-kicker {
  justify-content: flex-start;
  gap: 8px;
  color: rgba(248, 239, 223, 0.62);
}

.salon-estimate {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: 10px;
  background: rgba(5, 5, 5, 0.32);
  overflow: hidden;
}

.auction-confetti-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.auction-confetti-layer::before {
  content: "";
  position: absolute;
  inset: 12% 12% auto;
  height: 52%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 240, 176, 0.34), transparent 58%),
    radial-gradient(circle at 50% 70%, rgba(214, 160, 54, 0.18), transparent 66%);
  opacity: 0;
  animation: awardGlow 3.8s ease-out forwards;
}

.auction-confetti-layer i {
  position: absolute;
  left: 50%;
  bottom: 20%;
  opacity: 0;
  transform: translate(-50%, 0) rotate(0deg);
}

.auction-confetti-layer .confetti-piece {
  width: var(--w, 6px);
  height: var(--h, 14px);
  border-radius: 2px;
  background: linear-gradient(180deg, #fff4bf 0%, var(--confetti-color, #f8d57b) 58%, #b87924 100%);
  animation: awardConfettiBurst 5.15s linear var(--delay, 0s) forwards;
  box-shadow: 0 0 14px rgba(255, 230, 150, 0.28);
}

.auction-confetti-layer .gold-dust {
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 999px;
  background: radial-gradient(circle, #fff8d6 0%, var(--dust-color, rgba(248, 213, 123, 0.86)) 72%, transparent 100%);
  filter: blur(0.2px);
  animation: awardGoldDust 5.25s linear var(--delay, 0s) forwards;
  box-shadow:
    0 0 8px rgba(255, 237, 173, 0.62),
    0 0 18px rgba(218, 163, 52, 0.24);
}

@keyframes awardGlow {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes awardConfettiBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) rotate(0deg) scale(0.7);
  }
  8% {
    opacity: 1;
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% + (var(--mid-x) * 1px)), calc(var(--peak-y) * -1px)) rotate(calc(var(--r-mid) * 1deg)) scale(1.02);
  }
  38% {
    opacity: 1;
    transform: translate(calc(-50% + (var(--hang-x) * 1px)), calc(var(--hang-y) * 1px)) rotate(calc(var(--r-hang) * 1deg)) scale(1.01);
  }
  60% {
    opacity: 0.96;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--float-y) * 1px)) rotate(calc(var(--r-mid) * 1deg)) scale(1);
  }
  78% {
    opacity: 0.9;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--drop-y) * 1px)) rotate(calc(var(--r-drop) * 1deg)) scale(0.99);
  }
  92% {
    opacity: 0.66;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--near-y) * 1px)) rotate(calc(var(--r-end) * 1deg)) scale(0.98);
  }
  98% {
    opacity: 0.38;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--fall-y) * 1px)) rotate(calc(var(--r-end) * 1deg)) scale(0.98);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--settle-y) * 1px)) rotate(calc(var(--r-end) * 1deg)) scale(0.94);
  }
}

@keyframes awardGoldDust {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.25);
  }
  12% {
    opacity: 0.95;
  }
  24% {
    opacity: 0.88;
    transform: translate(calc(-50% + (var(--mid-x) * 1px)), calc(var(--peak-y) * -1px)) scale(var(--scale, 1));
  }
  44% {
    opacity: 0.84;
    transform: translate(calc(-50% + (var(--hang-x) * 1px)), calc(var(--hang-y) * 1px)) scale(var(--scale, 1));
  }
  66% {
    opacity: 0.72;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--float-y) * 1px)) scale(var(--scale, 1));
  }
  82% {
    opacity: 0.58;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--drop-y) * 1px)) scale(var(--scale-low, 0.92));
  }
  94% {
    opacity: 0.35;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--near-y) * 1px)) scale(var(--scale-low, 0.92));
  }
  98% {
    opacity: 0.18;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--fall-y) * 1px)) scale(var(--scale, 1));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + (var(--end-x) * 1px)), calc(var(--settle-y) * 1px)) scale(0.78);
  }
}

.salon-estimate span,
.salon-specs dt {
  color: rgba(248, 239, 223, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.salon-estimate strong {
  display: block;
  color: #f6d889;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 920;
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow: 0 0 18px rgba(226, 199, 131, 0.24);
}

.salon-estimate small {
  color: rgba(248, 239, 223, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.salon-estimate.is-live {
  border-color: rgba(226, 199, 131, 0.56);
  background:
    linear-gradient(90deg, rgba(226, 199, 131, 0.18), rgba(8, 80, 65, 0.34)),
    rgba(5, 5, 5, 0.42);
}

.salon-estimate.is-live strong {
  color: #ffe5a5;
  text-shadow: 0 0 26px rgba(226, 199, 131, 0.38);
}

.salon-estimate.is-ticking strong {
  animation: bidTick 0.48s ease;
}

.salon-estimate.is-ticking {
  box-shadow: inset 0 0 0 1px rgba(255, 226, 158, 0.24), 0 0 34px rgba(226, 199, 131, 0.2);
}

@keyframes bidTick {
  0% {
    transform: translateY(8px);
    filter: blur(3px);
    opacity: 0.62;
    color: #fff8dc;
    text-shadow: 0 0 10px rgba(255, 245, 207, 0.35);
  }
  52% {
    transform: translateY(-2px);
    filter: blur(0);
    opacity: 1;
    color: #fff0b8;
    text-shadow: 0 0 34px rgba(255, 218, 128, 0.62);
  }
  100% {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
    color: #ffe5a5;
    text-shadow: 0 0 26px rgba(226, 199, 131, 0.38);
  }
}

.salon-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
  color: rgba(248, 239, 223, 0.72);
}

.salon-specs dd {
  margin: 0;
  color: #fff4db;
  font-weight: 760;
}

.salon-specs dd small {
  display: block;
  margin-top: 2px;
  color: rgba(248, 239, 223, 0.52);
  font-size: 11px;
  font-weight: 720;
}

.salon-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 199, 131, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.salon-panel h2,
.salon-panel h3 {
  margin: 0;
  color: #fff3dc;
}

.salon-submit-head {
  display: grid;
  gap: 5px;
}

.salon-submit-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.salon-submit-head span {
  color: rgba(248, 239, 223, 0.58);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.salon-submit-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
}

.admin-auction-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-auction-controls[hidden] {
  display: none !important;
}

.admin-auction-start,
.admin-auction-next {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 920;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.admin-auction-start {
  border: 1px solid rgba(248, 113, 113, 0.68);
  background: linear-gradient(180deg, #ef4444 0%, #991b1b 100%);
  color: #fff6f0;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.28);
}

.admin-auction-next {
  border: 1px solid rgba(247, 208, 128, 0.56);
  background: linear-gradient(180deg, rgba(63, 45, 20, 0.98) 0%, rgba(23, 17, 11, 0.98) 100%);
  color: #ffe6a3;
  box-shadow: 0 10px 24px rgba(247, 208, 128, 0.14);
}

.admin-auction-start[hidden],
.admin-auction-next[hidden] {
  display: none !important;
}

.admin-auction-start:not(:disabled):hover,
.admin-auction-next:not(:disabled):hover {
  transform: translateY(-1px);
}

.admin-auction-start:not(:disabled):hover {
  box-shadow: 0 14px 30px rgba(185, 28, 28, 0.36);
}

.admin-auction-next:not(:disabled):hover {
  box-shadow: 0 14px 30px rgba(247, 208, 128, 0.22);
}

.admin-auction-start:disabled,
.admin-auction-next:disabled {
  cursor: default;
  opacity: 0.68;
  filter: grayscale(0.16);
  box-shadow: none;
}

.salon-submit-head p {
  margin: 0;
  color: rgba(248, 239, 223, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.salon-choice-row {
  margin: -2px 0 0;
}

.quick-bid-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: -4px;
}

.quick-bid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 42px;
  border: 1px solid rgba(226, 199, 131, 0.56);
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d88c 0%, var(--gold) 100%);
  color: #17120b;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(226, 199, 131, 0.12);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.1s ease, filter 0.1s ease;
}

.quick-bid::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 245, 0.78) 0%, rgba(255, 222, 137, 0.42) 35%, rgba(255, 222, 137, 0) 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18);
  pointer-events: none;
}

.quick-bid:hover {
  background: linear-gradient(180deg, #ffe6a6 0%, #d9b755 100%);
  border-color: rgba(255, 230, 166, 0.74);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(226, 199, 131, 0.2);
}

.quick-bid:disabled {
  cursor: default;
  opacity: 0.54;
  filter: grayscale(0.2);
  transform: none;
  box-shadow: none;
}

.quick-bid:active,
.quick-bid.is-pressed {
  transform: translateY(1px) scale(0.98);
  filter: saturate(1.12);
  box-shadow: 0 0 0 2px rgba(255, 230, 166, 0.22), 0 6px 14px rgba(226, 199, 131, 0.16);
}

.quick-bid.is-pressed::after {
  animation: quick-bid-flash 240ms ease-out;
}

.bid-auth-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(226, 199, 131, 0.34);
  border-radius: 12px;
  background: rgba(26, 21, 14, 0.72);
  color: rgba(255, 246, 224, 0.96);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bid-auth-notice[hidden] {
  display: none;
}

.bid-auth-notice strong {
  font-weight: 760;
}

.bid-auth-notice a {
  flex: 0 0 auto;
  color: #f4d88c;
  font-weight: 820;
  text-decoration: none;
}

.bid-auth-notice a:hover {
  text-decoration: underline;
}

.bid-change-alert {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(226, 199, 131, 0.34);
  border-radius: 12px;
  background: rgba(87, 28, 34, 0.52);
  color: rgba(255, 246, 224, 0.96);
  font-size: 13px;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bid-change-alert[hidden] {
  display: none;
}

@keyframes quick-bid-flash {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.18);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-bid,
  .quick-bid::after,
  .auction-confetti-layer,
  .auction-confetti-layer::before,
  .auction-confetti-layer i {
    transition: none;
    animation: none !important;
  }
}

.salon-delivery-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(226, 199, 131, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.salon-delivery-card > span {
  color: rgba(248, 239, 223, 0.62);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.salon-delivery-card small {
  color: rgba(248, 239, 223, 0.56);
  font-size: 12px;
  line-height: 1.45;
}

.salon-panel .price-row {
  border-color: rgba(226, 199, 131, 0.14);
}

.salon-panel .price-row span:first-child {
  color: rgba(248, 239, 223, 0.58);
}

.salon-panel .price-row strong {
  color: #fff5df;
  white-space: nowrap;
}

.salon-submit-actions {
  margin-top: 2px;
}

.salon-status-block {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(226, 199, 131, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.salon-status-primary {
  grid-template-columns: 154px minmax(0, 1fr);
  padding: 16px;
  border-color: rgba(226, 199, 131, 0.26);
  background:
    linear-gradient(135deg, rgba(226, 199, 131, 0.13), rgba(9, 62, 52, 0.28)),
    rgba(255, 255, 255, 0.05);
}

.timer-ring {
  width: min(240px, 66vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #071411 0 55%, transparent 56%),
    conic-gradient(var(--soft-gold) var(--timer-progress, 72%), rgba(226, 199, 131, 0.14) 0);
  box-shadow: inset 0 0 28px rgba(226, 199, 131, 0.16), 0 0 46px rgba(199, 163, 90, 0.14);
}

.salon-status-block .timer-ring {
  width: 132px;
  margin: 0;
}

.salon-status-primary .timer-ring {
  width: 154px;
}

.timer-core {
  width: 76%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 199, 131, 0.2);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.76);
  text-align: center;
}

.timer-context {
  color: rgba(248, 239, 223, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.timer-value {
  display: block;
  color: #fff7e8;
  font-size: 54px;
  font-weight: 820;
  line-height: 1;
}

.salon-status-block .timer-value {
  font-size: 34px;
}

.salon-status-primary .timer-value {
  font-size: 42px;
}

.timer-state {
  display: block;
  margin-top: 8px;
  color: var(--soft-gold);
  font-size: 13px;
  font-weight: 780;
}

.salon-body .field label,
.salon-body .copy-note {
  color: rgba(248, 239, 223, 0.72);
}

.salon-body .field input,
.salon-body .field select {
  border-color: rgba(226, 199, 131, 0.24);
  background: rgba(5, 5, 5, 0.58);
  color: #fff5de;
}

.rank-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(226, 199, 131, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.rank-row:first-child {
  border-color: rgba(226, 199, 131, 0.45);
  background: rgba(226, 199, 131, 0.12);
}

.rank-row strong {
  color: #fff5df;
}

.rank-row small {
  display: block;
  color: rgba(248, 239, 223, 0.56);
}

.rank-limit {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 92px;
  color: rgba(248, 239, 223, 0.58);
  font-size: 11px;
}

.rank-limit b {
  color: #fff5df;
  font-size: 15px;
  font-weight: 860;
}

.salon-estimate .salon-rank-section {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 199, 131, 0.18);
}

.salon-estimate .salon-rank-section h2 {
  margin: 0;
  color: rgba(248, 239, 223, 0.66);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.rank-list-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rank-list-compact .rank-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 11px 12px;
  text-align: center;
}

.rank-list-compact .rank-card strong {
  color: rgba(248, 239, 223, 0.62);
  font-size: 12px;
  font-weight: 820;
}

.rank-list-compact .rank-card b {
  color: #fff8ea;
  font-size: 18px;
  font-weight: 900;
}

.sound-log {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: rgba(248, 239, 223, 0.66);
  font-size: 12px;
}

.salon-status-block .sound-log {
  margin-top: 0;
  align-content: center;
}

.salon-status-block .sound-log .btn {
  width: fit-content;
  min-height: 38px;
  padding: 9px 12px;
}

.sound-toggle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.1s ease, filter 0.1s ease;
}

.sound-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 245, 0.78) 0%, rgba(255, 222, 137, 0.42) 35%, rgba(255, 222, 137, 0) 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18);
  pointer-events: none;
}

.sound-toggle:active,
.sound-toggle.is-pressed {
  transform: translateY(1px) scale(0.98);
  filter: saturate(1.12);
  box-shadow: 0 0 0 2px rgba(255, 230, 166, 0.22), 0 6px 14px rgba(226, 199, 131, 0.16);
}

.sound-toggle.is-pressed::after {
  animation: quick-bid-flash 240ms ease-out;
}

.live-rule {
  display: block;
  color: #fff2d6;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.45;
}

.live-bid-actions {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(226, 199, 131, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.live-bid-actions .payment-action {
  width: 100%;
}

.salon-award-message {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: var(--radius);
  background: rgba(226, 199, 131, 0.11);
  color: #fff6df;
  line-height: 1.55;
}

.salon-award-message strong {
  color: var(--soft-gold);
  font-size: 15px;
}

.salon-award-message span {
  color: rgba(248, 239, 223, 0.76);
  font-size: 13px;
}

.salon-rank-section {
  display: grid;
  gap: 10px;
}

.salon-note {
  margin-top: 0;
}

.salon-queue-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid rgba(226, 199, 131, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(7, 9, 10, 0.34);
}

.salon-queue-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.salon-queue-head span {
  display: block;
  margin-bottom: 3px;
  color: rgba(248, 239, 223, 0.58);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.14em;
}

.salon-queue-head h2 {
  margin: 0;
  color: #fff8ea;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.salon-queue-head > strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(226, 199, 131, 0.28);
  border-radius: 999px;
  background: rgba(226, 199, 131, 0.1);
  color: #ffe5a5;
  font-size: 13px;
  font-weight: 860;
  white-space: nowrap;
}

.salon-queue-grid {
  align-items: stretch;
}

.salon-reauction-section {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 199, 131, 0.16);
}

.salon-reauction-section[hidden] {
  display: none !important;
}

.salon-reauction-head {
  margin-top: 0;
}

.salon-reauction-head span {
  color: rgba(248, 239, 223, 0.58);
}

.salon-reauction-head h3 {
  margin: 0;
  color: #fff8ea;
  font-size: 20px;
  line-height: 1.16;
}

.salon-reauction-head > strong {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.salon-reauction-guide {
  margin: -4px 0 0;
  color: rgba(248, 239, 223, 0.7);
}

.salon-reauction-grid {
  margin-top: 2px;
}

.salon-body .salon-queue-card {
  border-color: rgba(226, 199, 131, 0.18);
  background: rgba(255, 248, 234, 0.075);
  color: #fff8ea;
  box-shadow: none;
}

.salon-body .salon-queue-card[hidden] {
  display: none !important;
}

.salon-body .salon-queue-card > .product-photo {
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.salon-body .salon-reauction-card > .product-photo {
  position: relative;
}

.reauction-request-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 240, 184, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 231, 164, 0.96), rgba(214, 154, 41, 0.96));
  color: #211405;
  font-size: 12px;
  font-weight: 920;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.reauction-request-count[hidden] {
  display: none !important;
}

.salon-body .salon-reauction-card {
  border-color: rgba(226, 199, 131, 0.18);
  background: rgba(255, 248, 234, 0.075);
}

.salon-body .salon-reauction-card.is-admin-selectable {
  cursor: pointer;
}

.salon-body .salon-reauction-card.is-admin-selectable:hover {
  border-color: rgba(226, 199, 131, 0.52);
  background: rgba(226, 199, 131, 0.12);
  transform: translateY(-2px);
}

.reauction-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  margin-top: 4px;
  border: 1px solid rgba(255, 238, 178, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #ffe1a5, #d9a441 52%, #b64b38);
  color: #241509;
  font-size: 13px;
  font-weight: 920;
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.22);
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.reauction-request:hover,
.reauction-request:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 16px 34px rgba(217, 164, 65, 0.3);
  transform: translateY(-1px);
}

.reauction-request:active {
  transform: translateY(1px) scale(0.99);
}

.reauction-request.is-requested,
.reauction-request:disabled {
  border-color: rgba(226, 199, 131, 0.28);
  background: rgba(226, 199, 131, 0.16);
  color: rgba(248, 239, 223, 0.78);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.salon-body .salon-reauction-card.is-admin-selectable:focus-visible {
  outline: 3px solid rgba(226, 199, 131, 0.48);
  outline-offset: 3px;
}

.salon-body [data-current-photo] {
  cursor: pointer;
}

.salon-body .salon-queue-card > .product-photo:focus-visible,
.salon-body [data-current-photo]:focus-visible {
  outline: 3px solid rgba(226, 199, 131, 0.58);
  outline-offset: -3px;
}

.salon-body .salon-queue-card .waiting-body {
  gap: 7px;
}

.salon-body .salon-queue-card .waiting-body strong,
.salon-body .salon-queue-card .estimate-price b,
.salon-body .salon-queue-card .similar-sale b {
  color: #fff8ea;
}

.salon-body .salon-queue-card .estimate-price small,
.salon-body .salon-queue-card .start-price,
.salon-body .salon-queue-card .similar-sale,
.salon-body .salon-queue-card .similar-sale small,
.salon-body .salon-queue-card .similar-sale em {
  color: rgba(248, 239, 223, 0.62);
}

.salon-body .salon-queue-card .thumb-strip {
  background: rgba(0, 0, 0, 0.18);
}

.salon-queue-card.is-completed {
  animation: queueItemOut 320ms ease forwards;
}

body.salon-body .photo-dialog {
  width: min(1040px, 100%);
}

body.salon-body .modal-photo {
  min-height: 560px;
  aspect-ratio: 16 / 10;
}

body.salon-body .modal-photo::before {
  display: none;
}

@keyframes queueItemOut {
  to {
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
  }
}

.timeline {
  display: grid;
  gap: 10px;
  counter-reset: time;
}

.timeline-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.58);
}

.timeline-step::before {
  counter-increment: time;
  content: counter(time);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--obsidian);
  color: #fff8e8;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 800;
}

.timeline-step.done::before {
  background: var(--success);
}

.timeline-step strong {
  display: block;
  margin-bottom: 4px;
}

.timeline-step span {
  color: var(--muted);
  font-size: 13px;
}

.mypage-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 18px;
}

.mypage-support,
.settlement-overview {
  width: 100%;
  margin-top: 0;
}

.mypage-support {
  display: grid;
}

.mypage-support > .panel,
.settlement-overview {
  height: 100%;
}

.settlement-copy h2 {
  margin-top: 6px;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.08;
}

.settlement-list {
  display: grid;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.settlement-summary-item {
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.settlement-summary-item[open] {
  padding-bottom: 12px;
}

.settlement-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
}

.settlement-summary-row::-webkit-details-marker {
  display: none;
}

.settlement-summary-row::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(194, 154, 91, 0.42);
  border-radius: 50%;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.settlement-summary-item[open] .settlement-summary-row::after {
  content: "-";
}

.settlement-summary-row span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.settlement-summary-row em {
  font-style: normal;
  margin-left: 6px;
  color: var(--accent);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 900;
}

.settlement-summary-row > b {
  margin: 0 0 0 auto;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.settlement-overview .risk-note {
  margin: 12px 0 0;
}

.settlement-block {
  margin-top: 18px;
}

.settlement-block h3 {
  color: var(--fg);
  font-size: 15px;
  font-weight: 900;
}

.settlement-ticket-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.settlement-ticket {
  padding: 12px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.settlement-ticket:last-child {
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.settlement-ticket-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.settlement-ticket strong {
  display: block;
  color: var(--fg);
  font-size: 14px;
  font-weight: 900;
}

.settlement-ticket span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.settlement-ticket > b {
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
}

.settlement-ticket-head > b {
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
}

.settlement-ticket.is-complete {
  align-items: stretch;
}

.settlement-ticket dl {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
}

.settlement-ticket dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settlement-ticket dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.settlement-ticket dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 950;
}

.split-fee {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.fee-amount {
  font-family: var(--font-num);
  font-weight: 900;
}

.fee-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 32%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.won-fee {
  justify-content: flex-start;
}

.won-status-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.won-status-summary div {
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.64);
}

.won-status-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.won-status-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 950;
}

.won-item-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.won-item-card {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.won-item-card:last-child {
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.won-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.won-item-head > div {
  min-width: 0;
}

.won-item-head strong {
  display: block;
  margin-top: 8px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.won-item-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.won-item-head b {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(199, 163, 90, 0.34);
  background: rgba(226, 199, 131, 0.16);
  color: #674509;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.won-item-card.is-shipping .won-item-head b {
  border-color: rgba(22, 116, 75, 0.22);
  background: rgba(22, 116, 75, 0.1);
  color: var(--success);
}

.won-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.won-item strong {
  display: block;
  color: var(--fg);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.won-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.won-item .split-fee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.won-item .split-fee > span {
  display: inline-flex;
  margin-top: 0;
}

.won-item .fee-amount {
  color: var(--fg);
  font-size: 13px;
}

.won-item .fee-status {
  color: var(--accent-strong);
  font-size: 11px;
}

.won-item b {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 116, 75, 0.22);
  background: rgba(22, 116, 75, 0.1);
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.won-item-details {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.won-item-details div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.won-item-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.won-item-details dd {
  margin: 0;
  color: var(--fg);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.shipping-flow {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ship;
}

.shipping-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.shipping-flow li::before {
  counter-increment: ship;
  content: counter(ship);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 15, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
}

.shipping-flow li.done::before {
  border-color: rgba(22, 116, 75, 0.24);
  background: rgba(22, 116, 75, 0.12);
  color: var(--success);
}

.shipping-flow li.active {
  color: var(--fg);
}

.shipping-flow li.active::before {
  border-color: rgba(199, 163, 90, 0.48);
  background: rgba(226, 199, 131, 0.22);
  color: #674509;
}

.shipping-flow span {
  display: block;
}

.shipping-flow a {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.customs-info-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.customs-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.customs-info-head h3 {
  margin: 4px 0 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
}

.customs-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.customs-form label {
  display: grid;
  gap: 7px;
}

.customs-form label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.customs-form input[type="text"],
.customs-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--fg);
  font: 800 14px/1.45 var(--font-body);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.customs-form input[type="text"] {
  min-height: 44px;
  padding: 0 12px;
}

.customs-form textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.customs-form input[type="text"]:focus,
.customs-form textarea:focus {
  border-color: color-mix(in oklab, var(--accent) 52%, var(--border));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}

.customs-form label:nth-child(4),
.customs-check,
.customs-form .btn,
.customs-form .form-status {
  grid-column: 1 / -1;
}

.customs-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(199, 163, 90, 0.2);
  border-radius: 12px;
  background: rgba(226, 199, 131, 0.1);
}

.customs-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.customs-check span {
  color: var(--fg) !important;
  font-size: 13px !important;
  line-height: 1.5;
}

.customs-form .btn {
  justify-self: start;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--success);
  font-size: 13px;
  font-weight: 850;
}

.completed-history-section {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.completed-history-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.completed-deal-card {
  display: grid;
  gap: 16px;
  align-content: start;
  border-color: color-mix(in oklch, var(--success) 18%, var(--border));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 235, 0.82)),
    var(--surface);
}

.completed-deal-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.completed-deal-photo {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 15, 0.1);
}

.completed-deal-main h3 {
  margin-top: 8px;
  color: var(--fg);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.12;
}

.completed-deal-details {
  display: grid;
  gap: 0;
}

.completed-deal-details div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.completed-deal-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.completed-deal-details dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
}

.completed-ledger {
  display: grid;
  gap: 16px;
}

.completed-ledger-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.completed-ledger-head h3 {
  color: var(--fg);
  font-size: clamp(22px, 2vw, 30px);
}

.completed-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.completed-filter-bar button,
.completed-pagination button {
  min-height: 38px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font: 850 13px/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.completed-filter-bar button {
  padding: 0 15px;
}

.completed-filter-bar button.active,
.completed-pagination button.active {
  border-color: color-mix(in oklch, var(--accent) 58%, var(--border));
  background: color-mix(in oklch, var(--accent) 12%, white);
  color: var(--fg);
}

.completed-table {
  display: grid;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.completed-table-row {
  display: grid;
  grid-template-columns: 112px minmax(190px, 1.3fr) 150px 112px 150px 72px;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
  color: var(--fg);
  font-size: 13px;
}

.completed-table-row[hidden] {
  display: none !important;
}

.completed-table-row:first-child {
  border-top: 0;
}

.completed-table-head {
  background: rgba(17, 17, 15, 0.045);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.completed-table-row strong {
  display: inline-block;
  margin-right: 5px;
  font-weight: 950;
}

.completed-table-row .status-pill {
  width: fit-content;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .completed-table {
    border: 0;
    gap: 10px;
    overflow: visible;
    background: transparent;
  }

  .completed-table-head {
    display: none;
  }

  .completed-table-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(17, 17, 15, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
  }

  .completed-table-row span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .completed-table-row span::before {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .completed-table-row span:nth-child(1)::before { content: "완료일"; }
  .completed-table-row span:nth-child(2)::before { content: "상품"; }
  .completed-table-row span:nth-child(3)::before { content: "처리 방식"; }
  .completed-table-row span:nth-child(4)::before { content: "최종 결제"; }
  .completed-table-row span:nth-child(5)::before { content: "반환/배송 정산"; }
  .completed-table-row span:nth-child(6)::before { content: "영수증"; }
}

.completed-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.completed-pagination:empty {
  display: none;
}

.completed-pagination button {
  min-width: 38px;
  padding: 0 12px;
}

.bid-ticket-section {
  display: grid;
  gap: 14px;
}

.bid-ticket-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.bid-ticket-section-head h2 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.section-kicker {
  display: inline-flex;
  color: var(--muted);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bid-ticket-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(199, 163, 90, 0.34);
  border-radius: 999px;
  background: rgba(226, 199, 131, 0.18);
  color: #674509;
  font-size: 13px;
  font-weight: 900;
}

.bid-ticket-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.bid-ticket-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.bid-ticket-card.is-confirmed {
  border-color: color-mix(in oklch, var(--success) 22%, var(--border));
}

.bid-ticket-main {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.bid-ticket-photo {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 15, 0.1);
}

.bid-ticket-info {
  min-width: 0;
}

.bid-ticket-info h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.12;
}

.bid-ticket-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--fg);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.bid-ticket-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(199, 163, 90, 0.54);
  border-radius: 999px;
  background: rgba(226, 199, 131, 0.22);
  color: #674509;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.bid-ticket-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bid-ticket-summary div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.54);
}

.bid-ticket-summary span,
.bid-mini-flow span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.bid-ticket-summary strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.bid-mini-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.bid-mini-flow span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.64);
  text-align: center;
}

.bid-mini-flow .done {
  border-color: color-mix(in oklch, var(--success) 34%, transparent);
  background: color-mix(in oklch, var(--success) 12%, white);
  color: var(--success);
}

.bid-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-shell {
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-side {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.84);
}

.admin-side a {
  padding: 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.admin-side a:hover,
.admin-side a.active {
  background: rgba(17, 17, 15, 0.07);
  color: var(--fg);
}

.admin-main {
  display: grid;
  gap: 14px;
}

.admin-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-ops-page {
  display: grid;
  gap: 18px;
}

.admin-ops-head {
  margin-bottom: 0;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-kpi-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 10px 24px rgba(17, 17, 15, 0.05);
}

.admin-kpi-card.is-danger {
  border-color: rgba(185, 28, 28, 0.18);
  background: linear-gradient(180deg, rgba(255, 246, 239, 0.96), rgba(255, 250, 242, 0.72));
}

.admin-kpi-card span,
.admin-task-card span,
.admin-payment-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 30px;
  line-height: 1;
}

.admin-kpi-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-section {
  display: grid;
  gap: 16px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
}

.admin-section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-task-grid,
.admin-fulfillment-grid,
.admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-task-card,
.admin-payment-list article,
.admin-fulfillment-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 118px;
  padding: 15px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.admin-task-card.is-urgent {
  border-color: rgba(185, 28, 28, 0.18);
  background: rgba(255, 246, 239, 0.9);
}

.admin-task-card strong,
.admin-payment-list strong,
.admin-fulfillment-card h3 {
  display: block;
  margin-top: 5px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.25;
}

.admin-task-card p,
.admin-payment-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-inline-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(17, 17, 15, 0.035);
  font-size: 13px;
}

.admin-automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
  align-items: stretch;
}

.admin-source-card,
.admin-automation-rules article {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.admin-source-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.admin-automation-rules {
  display: grid;
  gap: 12px;
}

.admin-automation-rules article {
  align-content: start;
  min-height: 0;
}

.admin-automation-rules strong {
  color: var(--fg);
  font-size: 15px;
}

.admin-automation-rules span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.admin-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 12px;
  align-items: stretch;
}

.admin-settings-preview {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(169, 132, 72, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(169, 132, 72, 0.13), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.admin-settings-preview h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.admin-settings-preview .copy-note {
  margin: 0;
  line-height: 1.55;
}

.admin-import-table td {
  white-space: nowrap;
}

.admin-import-table td:nth-child(2) {
  min-width: 230px;
  white-space: normal;
  font-weight: 850;
}

.admin-import-table [data-import-empty] td {
  color: var(--muted);
  text-align: center;
  background: rgba(17, 17, 15, 0.025);
}

.admin-salon-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
}

.admin-salon-state {
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-salon-current {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-salon-state strong {
  color: var(--fg);
  display: block;
  font-size: 18px;
  line-height: 1.25;
  word-break: keep-all;
}

.admin-salon-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.admin-salon-state span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.admin-salon-bid-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  align-items: end;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(197, 154, 87, 0.32);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(197, 154, 87, 0.14), rgba(255, 255, 255, 0.78));
}

.admin-salon-bid-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-salon-bid-row strong {
  min-width: 0;
  color: var(--fg);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-salon-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.admin-salon-stats div {
  display: grid;
  gap: 6px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 12px;
  background: rgba(17, 17, 15, 0.035);
}

.admin-salon-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-salon-stats dd {
  margin: 0;
  color: var(--fg);
  font-size: 18px;
  font-weight: 900;
}

.admin-mini-list,
.admin-fulfillment-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.admin-mini-list div,
.admin-fulfillment-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.admin-mini-list div:last-child,
.admin-fulfillment-card dl div:last-child {
  border-bottom: 0;
}

.admin-mini-list dt,
.admin-fulfillment-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-mini-list dd,
.admin-fulfillment-card dd {
  margin: 0;
  color: var(--fg);
  text-align: right;
  font-size: 13px;
  font-weight: 850;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-payment-list {
  display: grid;
  gap: 10px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-result-summary div {
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 12px;
  background: rgba(17, 17, 15, 0.035);
}

.admin-result-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-result-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--fg);
  font-family: var(--font-num);
  font-size: 20px;
}

.admin-shipping-flow,
.admin-check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-shipping-flow li,
.admin-check-list li {
  position: relative;
  min-height: 34px;
  padding: 8px 10px 8px 34px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(17, 17, 15, 0.025);
  font-size: 13px;
  font-weight: 760;
}

.admin-shipping-flow li::before,
.admin-check-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.24);
}

.admin-shipping-flow li.done,
.admin-check-list li {
  color: var(--fg);
}

.admin-shipping-flow li.done::before,
.admin-check-list li::before {
  background: var(--success);
}

.admin-shipping-flow li.active {
  color: #805113;
  border-color: rgba(199, 163, 90, 0.35);
  background: rgba(226, 199, 131, 0.16);
}

.admin-shipping-flow li.active::before {
  background: var(--warning);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

td:last-child,
th:last-child {
  text-align: right;
}

.empty-hidden[hidden],
.payment-action[hidden] {
  display: none !important;
}

@media (max-width: 1060px) {
  .hero,
  .detail-layout,
  .salon-stage {
    grid-template-columns: 1fr;
  }

  .success-head {
    align-items: center;
    padding: 24px 28px;
  }

  .product-grid,
  .success-grid,
  .grid.four,
  .waiting-grid,
  .quick-guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-form-grid,
  .admin-result-summary,
  .admin-automation-layout,
  .admin-settings-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-guide-intro,
  .usage-guide-block,
  .usage-guide-block-dark,
  .usage-guide-block-plain {
    grid-template-columns: 1fr;
  }

  .usage-guide-block:nth-child(even):not(.usage-guide-block-dark):not(.usage-guide-block-plain) .usage-guide-visual {
    order: 0;
  }
}

@media (max-width: 760px) {
  .site-shell,
  .admin-shell {
    width: min(100% - 24px, 560px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .auth-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .auth-route-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-meta,
  .grid.two,
  .grid.three,
  .grid.four,
  .bid-ticket-list,
  .completed-history-list,
  .won-status-summary,
  .product-grid,
  .success-grid,
  .waiting-grid,
  .quick-guide,
  .filters,
  .choice-row,
  .admin-panels {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid,
  .admin-task-grid,
  .admin-fulfillment-grid,
  .admin-two-col,
  .admin-form-grid,
  .admin-form-grid.compact,
  .admin-result-summary,
  .admin-automation-layout,
  .admin-settings-layout {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    display: grid;
  }

  .admin-salon-summary {
    grid-template-columns: 1fr;
  }

  .admin-salon-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-mini-list div,
  .admin-fulfillment-card dl div {
    display: grid;
    gap: 4px;
  }

  .admin-mini-list dd,
  .admin-fulfillment-card dd {
    text-align: left;
  }

  .guide-board,
  .photo-dialog {
    grid-template-columns: 1fr;
  }

  .guide-card.large {
    grid-row: auto;
    min-height: 142px;
    align-content: start;
  }

  .usage-guide-intro {
    margin-top: 22px;
  }

  .usage-guide-block {
    padding: 16px;
  }

  .usage-guide-card-grid,
  .usage-guide-split {
    grid-template-columns: 1fr;
  }

  .usage-guide-steps li,
  .usage-guide-definition div {
    grid-template-columns: 1fr;
  }

  .usage-guide-steps li::before {
    margin-bottom: 2px;
  }

  .modal-photo-wrap {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .modal-photo {
    min-height: 360px;
  }

  .bid-ticket-main,
  .completed-deal-main,
  .bid-ticket-summary,
  .bid-mini-flow,
  .mypage-summary-grid,
  .settlement-overview {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .won-item-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .won-item-head b {
    width: fit-content;
  }

  .customs-info-head {
    display: grid;
  }

  .customs-form {
    grid-template-columns: 1fr;
  }

  .settlement-overview .risk-note {
    grid-column: auto;
  }

  .bid-ticket-section-head {
    align-items: start;
    flex-direction: column;
  }

  .completed-ledger-head {
    align-items: start;
    flex-direction: column;
  }

  .completed-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .completed-table {
    border: 0;
    gap: 10px;
    overflow: visible;
    background: transparent;
  }

  .completed-table-head {
    display: none;
  }

  .completed-table-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(17, 17, 15, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
  }

  .completed-table-row span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .completed-table-row span::before {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .completed-table-row span:nth-child(1)::before { content: "완료일"; }
  .completed-table-row span:nth-child(2)::before { content: "상품"; }
  .completed-table-row span:nth-child(3)::before { content: "처리 방식"; }
  .completed-table-row span:nth-child(4)::before { content: "최종 결제"; }
  .completed-table-row span:nth-child(5)::before { content: "반환/배송 정산"; }
  .completed-table-row span:nth-child(6)::before { content: "영수증"; }

  .completed-pagination {
    justify-content: flex-start;
  }

  .bid-ticket-photo {
    max-width: 180px;
  }

  body.success-results-page .modal-photo {
    min-height: 360px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .success-head {
    align-items: center;
    flex-direction: row;
    min-height: 118px;
    padding: 22px 24px;
  }

  .success-head::after {
    display: none;
  }

  .success-head-seal {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .success-head-seal img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .salon-room {
    min-height: 0;
  }

  .salon-focus {
    grid-template-columns: 1fr;
  }

  .salon-focus .product-photo {
    max-width: 280px;
  }

  .salon-status-block {
    grid-template-columns: 1fr;
  }

  .salon-status-block .timer-ring {
    justify-self: center;
  }

  .salon-status-primary {
    grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .salon-status-primary .timer-ring {
    width: min(112px, 30vw);
    justify-self: start;
  }

  .salon-status-primary .timer-value {
    font-size: 32px;
  }

  .salon-status-primary .timer-context,
  .salon-status-primary .timer-state {
    font-size: 11px;
  }

  .salon-status-primary .sound-log {
    min-width: 0;
  }

  .salon-status-primary .sound-log .btn {
    min-height: 34px;
    padding: 8px 10px;
  }

  .salon-submit-title-row {
    align-items: flex-start;
  }

  .admin-auction-controls {
    gap: 6px;
  }

  .admin-auction-start,
  .admin-auction-next {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  body.salon-body .modal-photo {
    min-height: 360px;
  }

  .rank-list-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rank-list-compact .rank-card {
    grid-template-columns: 1fr;
    min-height: 66px;
    padding: 10px 8px;
  }

  .salon-queue-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .salon-reauction-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .rank-row {
    grid-template-columns: 42px 1fr;
  }

  .rank-row .price {
    grid-column: 2;
    text-align: left;
  }

  .rank-limit {
    grid-column: 2;
    justify-items: start;
  }

  .admin-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .admin-salon-bid-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-salon-bid-row strong {
    font-size: 24px;
    text-align: left;
  }

  .admin-salon-stats {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .card-actions .btn {
    width: auto;
    flex: 1 1 120px;
  }

  .hero-actions {
    display: grid;
  }

  .meta-tile {
    min-height: auto;
  }

  .admin-side {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* Direct-sales showroom layer */
body.direct-sales-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(199, 163, 90, 0.10), transparent 26rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--porcelain) 46%, #eee5d8 100%);
}

.direct-hero .success-head-main p {
  max-width: 740px;
}

.hero-actions,
.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.direct-notice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.direct-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.direct-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17, 17, 15, 0.08);
}

.direct-product-card.featured {
  grid-column: span 2;
}

.direct-product-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.direct-product-photo-button .product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.direct-product-card a.btn {
  justify-self: start;
  text-decoration: none;
}

.direct-product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.direct-product-body > strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.direct-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.direct-price small,
.direct-meta {
  color: var(--muted);
  font-size: 13px;
}

.direct-price b {
  font-family: var(--font-num);
  font-size: 24px;
  color: var(--obsidian);
}

.direct-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.direct-flow article {
  display: grid;
  gap: 8px;
  padding: 18px;
  min-height: 132px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: var(--radius);
}

.direct-flow strong {
  font-size: 18px;
}

.direct-flow span,
.direct-mini-panel p,
.direct-policy-card p {
  color: var(--muted);
}

.order-confirm-layout,
.order-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.order-product-summary {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.order-product-summary > .product-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 15, 0.1);
}

.order-product-copy {
  display: grid;
  gap: 14px;
}

.order-product-copy h2,
.order-payment-status h2,
.order-policy-panel h2 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.order-detail-list {
  display: grid;
  gap: 0;
  margin: 4px 0;
}

.order-detail-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.order-detail-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.order-detail-list dd {
  margin: 0;
  color: var(--fg);
  font-weight: 900;
}

.order-payment-status,
.order-policy-panel {
  display: grid;
  gap: 14px;
}

.disabled-action {
  opacity: 0.72;
  cursor: not-allowed;
}

.order-status-list,
.order-policy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-status-list li,
.order-policy-list li {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.72);
}

.order-status-list strong,
.order-policy-list strong {
  color: var(--fg);
  font-size: 14px;
}

.order-status-list span,
.order-policy-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.order-form {
  margin-top: 16px;
}

.order-form input[type="email"],
.order-form input[type="tel"] {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--fg);
  font: 800 14px/1.45 var(--font-body);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.order-form input[type="email"]:focus,
.order-form input[type="tel"]:focus {
  border-color: color-mix(in oklab, var(--accent) 52%, var(--border));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}

.order-form .order-form-full,
.order-form .order-action-row {
  grid-column: 1 / -1;
}

.order-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.direct-guide-summary {
  margin-bottom: 24px;
}

.direct-mini-panel {
  align-self: stretch;
}

.direct-info-grid,
.delivery-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.delivery-hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.sold-grid .success-card dl div {
  grid-template-columns: 88px 1fr;
}

body.direct-sales-page .access-notice {
  max-width: 680px;
  margin: 80px auto;
}

.refined-auth {
  min-height: calc(100vh - 150px);
  padding-top: 34px;
  padding-bottom: 34px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--gold) 30%, var(--border));
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(246, 241, 232, 0.72)),
    var(--surface);
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.14);
}

.auth-brand-pane,
.auth-action-pane {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 58px);
}

.auth-brand-pane {
  position: relative;
  color: #fff8e8;
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.94), rgba(3, 77, 63, 0.86)),
    radial-gradient(circle at 76% 20%, rgba(199, 163, 90, 0.26), transparent 20rem);
  overflow: hidden;
}

.auth-brand-pane::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(226, 199, 131, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.auth-brand-pane .section-kicker {
  color: rgba(226, 199, 131, 0.86);
}

.auth-brand-pane h1 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.auth-brand-pane p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0;
  color: rgba(255, 248, 232, 0.76);
  line-height: 1.75;
}

.auth-mini-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-mini-flow span {
  padding: 8px 11px;
  border: 1px solid rgba(226, 199, 131, 0.26);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.07);
  color: #fff8e8;
  font-size: 13px;
  font-weight: 800;
}

.auth-trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  max-width: 430px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 199, 131, 0.25);
}

.auth-trust-strip strong {
  font-family: var(--font-brand);
  font-size: 24px;
  letter-spacing: 0.12em;
}

.auth-trust-strip span {
  color: rgba(255, 248, 232, 0.68);
  font-size: 13px;
}

.auth-action-pane {
  background:
    radial-gradient(circle at 94% 8%, rgba(199, 163, 90, 0.14), transparent 18rem),
    rgba(255, 250, 242, 0.92);
}

.auth-card-head {
  display: grid;
  gap: 8px;
}

.auth-card-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.auth-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.auth-action-pane .auth-notice {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(199, 163, 90, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.auth-action-pane .auth-notice strong {
  font-size: 15px;
}

.auth-action-pane .auth-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.auth-provider-list {
  display: grid;
  gap: 10px;
}

.auth-provider {
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  padding-inline: 18px;
}

.auth-provider::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.62;
}

.auth-provider.kakao {
  background: #11110f;
}

.auth-provider.naver {
  border-color: color-mix(in oklch, var(--emerald) 30%, var(--border));
  color: color-mix(in oklch, var(--emerald) 78%, var(--obsidian));
  background: rgba(3, 77, 63, 0.06);
}

.auth-provider.google {
  background: rgba(255, 255, 255, 0.74);
}

.auth-route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 12px;
}

.legal-footer a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.legal-footer a:hover {
  color: var(--fg);
  border-bottom-color: color-mix(in oklch, var(--gold) 58%, var(--border));
}

.legal-main {
  padding-bottom: 20px;
}

.legal-hero {
  margin-bottom: 18px;
}

.legal-jump {
  position: sticky;
  top: 78px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: blur(16px);
}

.legal-jump a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.legal-jump a:hover {
  color: var(--fg);
  background: rgba(17, 17, 15, 0.06);
}

.legal-section {
  padding: 36px 0;
  scroll-margin-top: 140px;
}

.legal-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.legal-card h3 {
  font-size: 24px;
}

.legal-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.legal-list li {
  padding-left: 4px;
}

.legal-list strong,
.legal-definition-list dt {
  display: block;
  margin-bottom: 4px;
  color: var(--obsidian);
  font-weight: 900;
}

.legal-list span,
.legal-definition-list dd {
  color: var(--muted);
  line-height: 1.7;
}

.legal-definition-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.legal-definition-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-definition-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-definition-list dd {
  margin: 0;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.legal-table thead th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table tbody th {
  width: 170px;
  color: var(--obsidian);
  font-weight: 900;
}

.legal-source-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .auth-shell,
  .legal-lang-grid {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    min-height: 0;
  }

  .auth-brand-pane,
  .auth-action-pane {
    padding: 28px;
  }

  .direct-product-grid,
  .direct-notice,
  .delivery-hero-grid,
  .direct-info-grid,
  .order-confirm-layout,
  .order-form-grid {
    grid-template-columns: 1fr;
  }

  .direct-product-card.featured {
    grid-column: auto;
  }

  .order-product-summary {
    grid-template-columns: 1fr;
  }

  .direct-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .refined-auth {
    padding-top: 16px;
  }

  .auth-shell {
    border-radius: 12px;
  }

  .auth-brand-pane h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .legal-jump {
    position: static;
    border-radius: 12px;
  }

  .legal-footer {
    justify-content: flex-start;
  }

  .direct-flow {
    grid-template-columns: 1fr;
  }

  .direct-product-body {
    padding: 16px;
  }

  .order-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
