:root {
  /* Deokku Auction brand tokens (§4) */
  --brand-black: #0a0a0a;
  --brand-black-elevated: #141414;
  --brand-red: #c80000;
  --brand-red-soft: #3d1515;
  --brand-gold: #d4af37;
  --brand-gold-bright: #e8c547;
  --brand-gold-soft: #f5e6b8;
  --brand-sakura: #ffb7c5;
  --archive-bg: #f7f4ee;
  --archive-surface: #fffdf8;
  --archive-ink: #1a1814;
  --archive-muted: #6b6560;
  --archive-line: #e5dfd4;
  --status-success: #2d6a4f;
  --status-danger: #b42318;
  --chrome-ink: #f5f0e8;
  --chrome-muted: #a39e96;
  --chrome-line: rgba(245, 240, 232, 0.12);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Legacy aliases (gradual migration) */
  --bg: var(--archive-bg);
  --surface: var(--archive-surface);
  --surface-2: #f1eee8;
  --ink: var(--archive-ink);
  --ink-soft: #3d3d3a;
  --muted: var(--archive-muted);
  --line: var(--archive-line);
  --primary: var(--brand-gold);
  --primary-soft: #f5e6b8;
  --mint: var(--status-success);
  --mint-soft: #ddf7f0;
  --gold: var(--brand-gold);
  --gold-soft: var(--brand-gold-soft);
  --coral: var(--brand-red);
  --coral-soft: var(--brand-red-soft);
  --danger: var(--status-danger);
  --danger-soft: #fee4e2;
  --shadow: 0 18px 50px rgba(26, 24, 20, 0.08);
  --shadow-tight: 0 10px 24px rgba(26, 24, 20, 0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

@layer legacy {
* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    Pretendard,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--archive-bg);
  color: var(--archive-ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.app-shell {
  min-height: 100vh;
}

.app-shell:not(.deokku-app):not(:has(.deokku-app)) {
  padding-bottom: 94px;
}

.seo-fallback {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 18px;
  color: var(--ink);
  line-height: 1.6;
}

.seo-fallback h1 {
  margin: 0 0 12px;
  font-size: 30px;
}

.seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.seo-fallback a {
  color: var(--primary);
  font-weight: 800;
}

.vk-production-lock {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.vk-production-lock section {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.vk-production-lock h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.08;
}

.vk-production-lock p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.vk-production-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.vk-production-checks span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.vk-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  border-bottom: 1px solid rgba(226, 222, 214, 0.86);
  background: rgba(255, 253, 250, 0.86);
  padding: 12px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(18px);
}

.vk-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

.vk-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #111827;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}

.brand-text {
  display: grid;
  min-width: 0;
  margin-left: 11px;
}

.brand-title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.vk-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.vk-role-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.05);
}

.vk-role-switcher button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
}

.vk-role-switcher button.is-active {
  background: var(--ink);
  color: #fff;
}

.vk-account-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.vk-account-chip-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.vk-account-chip-button:hover {
  background: #dceaf8;
}

.primary-button,
.text-button,
.mini-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms var(--ease),
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.primary-button {
  background: linear-gradient(180deg, var(--brand-gold-bright), var(--brand-gold));
  color: #1a1208;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28);
  border: 1px solid rgba(26, 18, 8, 0.12);
  font-weight: 800;
}

.text-button,
.mini-button,
.icon-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

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

.mini-button.is-strong {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 0;
}

.icon-button::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.primary-button:hover,
.text-button:hover,
.mini-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.text-button:hover,
.mini-button:hover,
.icon-button:hover {
  border-color: rgba(15, 95, 140, 0.28);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.vk-main {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 38px) clamp(14px, 4vw, 36px);
}

.deokku-main {
  display: grid;
  gap: 1.25rem;
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem) 2rem;
}

.deokku-main > .view,
.deokku-main > .vk-page {
  display: grid;
  gap: 1.125rem;
}

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

.workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: clamp(18px, 3.4vw, 28px);
  border: 1px solid rgba(226, 222, 214, 0.9);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 250, 0.72)),
    linear-gradient(135deg, rgba(15, 95, 140, 0.1), rgba(255, 243, 196, 0.36));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-title {
  max-width: 660px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.page-copy {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
}

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

.vk-metric-card {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.05);
}

.vk-metric-card span,
.vk-metric-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.vk-metric-card strong {
  display: block;
  margin: 9px 0 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.search-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
  box-shadow: var(--shadow-tight);
}

.vk-search-field {
  position: relative;
}

.vk-search-field span {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  transform: translateY(-50%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 0 13px;
  font-size: 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.vk-search-field .field-input {
  min-height: 50px;
  padding-left: 44px;
  border-radius: 10px;
  font-size: 15px;
}

.field-textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: rgba(15, 95, 140, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 95, 140, 0.12);
}

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

.vk-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.vk-filter-chips button {
  min-height: 32px;
  height: 32px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.vk-filter-chips button:hover {
  border-color: #ff4785;
  background: #fff8fb;
  color: #ff4785;
}

.vk-filter-chips button.is-active,
.vk-filter-chips button.is-active:hover {
  border-color: #ff4785;
  background: #fff0f5;
  color: #ff4785;
  font-weight: 700;
}

.vk-role-switcher-label {
  padding: 0 8px 0 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

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

.vk-archive-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
}

.vk-archive-card > img {
  width: 100%;
  height: 100%;
  min-height: 236px;
  object-fit: cover;
  background: var(--surface-2);
}

.vk-archive-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.vk-archive-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.28;
}

.vk-market-price {
  position: relative;
  display: grid;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
  padding: 12px;
}

.vk-market-price span,
.vk-market-price em,
.vk-archive-meta {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.vk-market-price strong {
  font-size: 20px;
  font-weight: 950;
  line-height: 1.1;
}

.vk-market-price i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--mint));
}

.vk-archive-meta {
  margin: 0;
}

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

.vk-mission-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
}

.vk-mission-card > img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  background: var(--surface-2);
}

.vk-mission-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.vk-mission-body h3,
.vk-evidence-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.vk-mission-body p,
.vk-evidence-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.vk-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.vk-product-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.vk-product-card:hover {
  border-color: rgba(15, 95, 140, 0.28);
  box-shadow: 0 20px 42px rgba(23, 23, 23, 0.12);
  transform: translateY(-3px);
}

.vk-card-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

.vk-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.vk-product-card:hover .vk-card-media img {
  transform: scale(1.025);
}

.vk-live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.vk-wish-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.14);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.vk-wish-button.is-active {
  background: var(--danger-soft);
  color: var(--danger);
}

.vk-product-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.vk-product-kicker,
.vk-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.vk-product-kicker span,
.vk-card-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #f2f5f7;
  color: var(--ink-soft);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.vk-card-facts span:first-child {
  background: var(--primary-soft);
  color: var(--primary);
}

.product-title,
.vk-product-card h3,
.vk-summary-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
}

.product-title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vk-product-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.vk-price-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.vk-price-line strong {
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.vk-price-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.vk-card-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 7px;
  margin-top: 2px;
}

.vk-card-actions .primary-button,
.vk-card-actions .text-button {
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  font-size: 12px;
}

.vk-dashboard-section {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  padding: 16px;
  box-shadow: var(--shadow-tight);
}

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

.vk-role-card,
.vk-login-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-tight);
}

.vk-role-card.is-current {
  border-color: rgba(15, 95, 140, 0.38);
  background: linear-gradient(180deg, #fff, var(--primary-soft));
}

.vk-role-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.vk-role-card p,
.vk-login-panel p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.vk-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-title,
.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.vk-list {
  display: grid;
  gap: 9px;
}

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

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

.vk-gallery-grid figure {
  display: grid;
  gap: 5px;
  margin: 0;
}

.vk-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-2);
}

.vk-gallery-grid figcaption {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vk-evidence-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px;
}

.vk-evidence-row img {
  width: 64px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-2);
}

.vk-chat-thread,
.vk-conversation {
  display: grid;
  gap: 8px;
}

.vk-chat-thread {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
  padding: 10px;
}

.vk-conversation p {
  display: grid;
  justify-self: start;
  max-width: min(86%, 520px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 9px 11px;
}

.vk-conversation p.is-mine {
  justify-self: end;
  background: var(--primary-soft);
  border-color: rgba(15, 95, 140, 0.2);
}

.vk-conversation strong {
  color: var(--muted);
  font-size: 11px;
}

.vk-conversation span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.vk-summary-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.vk-summary-row img {
  width: 72px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-2);
}

.vk-account-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.vk-summary-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.vk-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.46);
  padding: 18px;
  backdrop-filter: blur(6px);
}

.vk-modal {
  width: min(960px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(226, 222, 214, 0.9);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.9);
  padding: 16px 18px;
  backdrop-filter: blur(14px);
}

.modal-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.vk-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  padding: 18px;
}

.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  object-fit: cover;
}

.vk-detail-main {
  display: grid;
  align-content: start;
  gap: 14px;
}

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

.vk-fact-grid p,
.vk-price-list p {
  margin: 0;
}

.vk-fact-grid p {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.vk-fact-grid span,
.vk-price-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.vk-fact-grid strong {
  font-size: 15px;
  font-weight: 900;
}

.vk-price-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px;
}

.vk-price-panel > .section-head > strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
}

.vk-price-list {
  display: grid;
  gap: 8px;
}

.vk-price-list p {
  display: grid;
  grid-template-columns: minmax(108px, 0.75fr) minmax(0, 1fr) minmax(96px, 0.8fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius);
  background: #f8fafb;
  padding: 10px 12px;
}

.vk-price-list strong {
  font-size: 18px;
  font-weight: 950;
}

.vk-price-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.vk-warning-box {
  margin: 0;
  border: 1px solid rgba(161, 98, 7, 0.24);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #684208;
  padding: 12px 13px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.vk-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

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

.field span,
.field label,
.check-row span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.vk-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.vk-checklist legend {
  padding: 0 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.vk-bottom-nav {
  position: fixed;
  right: max(12px, calc((100vw - 1180px) / 2 + 12px));
  bottom: 18px;
  left: max(12px, calc((100vw - 1180px) / 2 + 12px));
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px;
  width: min(720px, calc(100% - 24px));
  margin: 0 auto;
  border: 1px solid rgba(226, 222, 214, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 5px;
  box-shadow: 0 16px 38px rgba(23, 23, 23, 0.14);
  backdrop-filter: blur(18px);
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  padding: 0 6px;
  font-size: 11px;
  font-weight: 850;
}

.vk-nav-icon {
  width: 22px;
  height: 22px;
  background: currentColor;
}

.nav-item[data-view="market"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="home"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10.5V20h13v-9.5'/%3E%3Cpath d='M9.5 20v-5h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="missions"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="archive"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v13H4z'/%3E%3Cpath d='M3 4h18v3H3z'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="my"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7 9 18l-5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="seller"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16v12H4z'/%3E%3Cpath d='M8 8V5h8v3'/%3E%3Cpath d='M4 13h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="admin"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item[data-view="login"] .vk-nav-icon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-item strong {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item.is-active {
  background: var(--ink);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(80px + var(--safe-bottom));
  z-index: 60;
  width: min(380px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 13px 15px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .toast {
    bottom: 24px;
  }
}

@media (max-width: 1000px) {
  .vk-metrics,
  .vk-product-grid,
  .vk-archive-grid,
  .vk-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vk-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-shell:not(:has(.deokku-app)) {
    padding-bottom: 90px;
  }

  .vk-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand-subtitle {
    display: none;
  }

  .vk-top-actions {
    gap: 6px;
  }

  .vk-role-switcher {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .vk-role-switcher button {
    flex: 1 1 0;
    padding-inline: 7px;
  }

  .vk-account-chip {
    display: none;
  }

  .vk-top-actions .text-button {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .workspace-head,
  .vk-metrics,
  .vk-product-grid,
  .vk-archive-grid,
  .vk-mission-grid,
  .vk-role-login-grid,
  .vk-production-checks,
  .form-grid,
  .vk-fact-grid,
  .vk-checklist {
    grid-template-columns: 1fr;
  }

  .vk-archive-card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .vk-mission-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .vk-archive-card > img {
    min-height: 224px;
  }

  .vk-mission-card > img {
    min-height: 210px;
  }

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

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

  .workspace-head {
    padding: 18px;
  }

  .page-title {
    font-size: 31px;
  }

  .vk-product-card {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .vk-card-media img {
    height: 100%;
    min-height: 214px;
    aspect-ratio: auto;
  }

  .vk-product-body {
    padding: 12px;
  }

  .product-title {
    min-height: auto;
    font-size: 15px;
  }

  .vk-card-facts span {
    min-height: 22px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .vk-price-line {
    display: grid;
    gap: 4px;
  }

  .vk-price-line span {
    text-align: left;
  }

  .vk-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .vk-card-actions .primary-button {
    grid-column: 1 / -1;
  }

  .vk-summary-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .vk-summary-row img {
    width: 58px;
  }

  .vk-account-avatar {
    width: 58px;
    font-size: 20px;
  }

  .vk-summary-row .mini-button,
  .vk-row-actions {
    grid-column: 1 / -1;
  }

  .vk-row-actions {
    justify-content: stretch;
  }

  .vk-row-actions .mini-button {
    flex: 1 1 auto;
  }

  .vk-price-list p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .vk-price-list em {
    text-align: left;
  }

  .modal-backdrop {
    padding: 8px;
  }

  .vk-detail-layout,
  .modal-body {
    padding: 14px;
  }

  .vk-bottom-nav {
    bottom: 12px;
    width: min(520px, calc(100% - 20px));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .vk-bottom-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    min-width: 66px;
    min-height: 54px;
    font-size: 10px;
  }

  .vk-nav-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 440px) {
  .vk-product-card {
    grid-template-columns: 1fr;
  }

  .vk-archive-card {
    grid-template-columns: 1fr;
  }

  .vk-mission-card {
    grid-template-columns: 1fr;
  }

  .vk-archive-card > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .vk-mission-card > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .vk-card-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .vk-top-actions .text-button[data-view="my"] {
    display: none;
  }
}

} /* end @layer legacy — shell below stays unlayered */

/* ------------------------------------------------------------------ */
/* Deokku Auction — app shell (single column, top nav on desktop)    */
/* ------------------------------------------------------------------ */

.deokku-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  background: #f7f8fa;
}

.deokku-app.is-login {
  background: #ffffff;
}

.deokku-app--no-nav {
  padding-bottom: 0;
}

.deokku-frame {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

.deokku-main {
  flex: 1 1 auto;
}

@media (max-width: 1023px) {
  .deokku-main {
    padding-bottom: calc(56px + var(--safe-bottom));
  }
}

.brand-sidebar {
  display: none !important;
}

.brand-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  min-height: 52px;
  padding: 6px clamp(12px, 3vw, 20px);
  background: #ffffff;
  color: #1a1a1a;
  border-bottom: 1px solid #eeeeee;
  box-shadow: none;
}

@media (min-width: 1024px) {
  .brand-chrome {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .brand-chrome__start {
    grid-column: 1;
    justify-self: start;
  }

  .brand-chrome__nav {
    grid-column: 2;
    justify-self: center;
  }

  .brand-chrome__actions {
    grid-column: 3;
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .brand-chrome {
    min-height: 64px;
    padding-block: 10px;
  }
}

.brand-chrome__start {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-chrome__logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 3px;
  text-align: left;
  user-select: none;
}

.brand-wordmark__ko {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #1a1a1a;
}

.brand-wordmark__en {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1a1a1a;
}

@media (min-width: 768px) {
  .brand-wordmark--header .brand-wordmark__ko {
    font-size: 1.35rem;
  }

  .brand-wordmark--header .brand-wordmark__en {
    font-size: 0.52rem;
  }
}

.brand-wordmark--login {
  align-items: center;
  text-align: center;
  margin: 0 auto 8px;
  gap: 6px;
}

.brand-wordmark--login .brand-wordmark__ko {
  font-size: clamp(2rem, 8vw, 2.75rem);
}

.brand-wordmark--login .brand-wordmark__en {
  font-size: clamp(0.65rem, 2.2vw, 0.8rem);
  letter-spacing: 0.18em;
}

.brand-chrome__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.brand-chrome__nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .brand-chrome__nav {
    display: flex;
  }
}

.brand-top-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #8b8b8b;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.brand-top-nav-item:hover,
.brand-top-nav-item.is-active {
  background: transparent;
  color: #ff4785;
  border-bottom-color: #ff4785;
}

.brand-chrome__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
  min-width: 0;
}

@media (max-width: 1023px) {
  .brand-chrome {
    grid-template-columns: auto 1fr;
  }

  .brand-chrome__nav {
    display: none;
  }

  .brand-chrome__quick {
    display: none;
  }
}

@media (max-width: 479px) {
  .brand-chrome__login {
    padding-inline: 10px;
    font-size: 12px;
  }
}

.brand-chrome .text-button {
  border: 0;
  background: transparent;
  color: #1a1a1a;
}

.brand-chrome .text-button:hover {
  background: rgba(255, 71, 133, 0.08);
  color: #ff4785;
}

.brand-account-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 120px;
  border: 0;
  border-radius: 999px;
  background: #f7f8fa;
  color: #1a1a1a;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-account-chip--button {
  cursor: pointer;
  font: inherit;
}

.brand-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  min-height: calc(52px + var(--safe-bottom));
  padding: 0 4px calc(0px + var(--safe-bottom));
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.04);
}

@media (min-width: 1024px) {
  .brand-bottom-nav {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .deokku-app:not(.deokku-app--no-nav):not(.is-login) {
    padding-bottom: 0;
  }
}

.brand-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8b8b8b;
  padding: 4px 2px;
  font-size: 10px;
  font-weight: 600;
}

.brand-bottom-nav .nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #8b8b8b;
}

.brand-bottom-nav .nav-item.is-active {
  background: transparent;
  color: #ff4785;
}

.brand-bottom-nav .nav-item.is-active .nav-icon {
  color: #ff4785;
}

.brand-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  background: #ffffff;
  color: #8b8b8b;
  border-top: 1px solid #eeeeee;
}

@media (max-width: 1023px) {
  .deokku-app:not(.deokku-app--no-nav):not(.is-login) .brand-footer {
    padding-bottom: calc(52px + var(--safe-bottom));
  }
}

.brand-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 1.75rem) 2rem;
  font-size: 12px;
}

.brand-footer__disclaimer {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #8b8b8b;
}

.brand-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.brand-footer__links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.brand-footer__links a:hover {
  color: #ff4785;
}

.brand-footer__copy {
  margin: 0;
  opacity: 0.65;
  color: var(--chrome-muted);
}

.nav-icon {
  display: block;
}

@layer legacy {

.login-hero {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 0, 0, 0.22), transparent 42%),
    linear-gradient(180deg, #121212 0%, var(--brand-black) 100%);
}

.login-hero__panel {
  width: min(480px, 100%);
  text-align: center;
}

.login-hero__logo {
  width: min(280px, 80vw);
  margin: 0 auto 20px;
}

.login-hero__rule {
  width: 72px;
  height: 2px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.login-hero h1 {
  margin: 0 0 8px;
  color: var(--chrome-ink);
  font-size: clamp(24px, 5vw, 32px);
}

.login-hero p {
  margin: 0 0 24px;
  color: var(--chrome-muted);
  line-height: 1.6;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(26, 18, 8, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--brand-gold-bright), var(--brand-gold));
  color: #1a1208;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.28);
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 6px;
  background: var(--brand-black);
  color: var(--brand-gold-bright);
  padding: 0 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.verification-badge--low {
  background: var(--brand-red-soft);
  color: #ffb4b4;
}

.condition-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 6px;
  border: 1px solid var(--chrome-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--chrome-ink);
  padding: 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.item-grade-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vk-grade-compare p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--archive-muted);
}

.task-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--archive-line);
  border-radius: var(--radius-lg);
  background: var(--archive-surface);
  padding: 14px 16px;
  box-shadow: var(--shadow-tight);
}

.task-card--urgent {
  border-color: rgba(200, 0, 0, 0.35);
  background: linear-gradient(180deg, #fff8f8, var(--archive-surface));
}

.task-card__kicker {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.task-card h3 {
  margin: 0;
  font-size: 16px;
}

.task-card p {
  margin: 0;
  color: var(--archive-muted);
  font-size: 13px;
  line-height: 1.5;
}

.order-stage-tracker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
}

.order-stage {
  display: grid;
  gap: 6px;
  text-align: center;
}

.order-stage__dot {
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--archive-line);
}

.order-stage.is-done .order-stage__dot,
.order-stage.is-current .order-stage__dot {
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.order-stage.is-current .order-stage__dot {
  background: var(--brand-gold-bright);
}

.order-stage span {
  color: var(--archive-muted);
  font-size: 11px;
  font-weight: 700;
}

.order-stage.is-current span,
.order-stage.is-done span {
  color: var(--archive-ink);
}

.auction-policy-panel {
  border: 1px solid var(--archive-line);
  border-radius: var(--radius-lg);
  background: var(--archive-surface);
  padding: 14px 16px;
}

.auction-policy-panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.auction-policy-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--archive-muted);
  font-size: 13px;
  line-height: 1.55;
}

.auction-urgent {
  color: var(--brand-red);
  font-weight: 800;
}

.split-view {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .split-view--md {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  border-bottom: 1px solid var(--archive-line);
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
}

@media (max-width: 767px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--archive-line);
  }

  .responsive-table td {
    border: 0;
    padding: 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--archive-muted);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 2px;
  }
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-height: min(88vh, 640px);
  overflow: auto;
  border-radius: 18px 18px 0 0;
  background: var(--archive-surface);
  padding: 16px 16px calc(16px + var(--safe-bottom));
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.22);
}

.bottom-sheet__handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--archive-line);
}

.item-page-layout {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .item-page-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.item-sticky-bar {
  position: sticky;
  bottom: calc(72px + var(--safe-bottom));
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--archive-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .item-sticky-bar {
    bottom: 16px;
  }
}

.account-hub-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .account-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.account-hub-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--archive-line);
  border-radius: var(--radius-lg);
  background: var(--archive-surface);
  padding: 16px;
  text-align: left;
}

.account-hub-card h3 {
  margin: 0;
  font-size: 16px;
}

.account-hub-card p {
  margin: 0;
  color: var(--archive-muted);
  font-size: 13px;
  line-height: 1.5;
}

.seller-apply-form .field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.seller-apply-form .check-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0;
  color: var(--archive-muted);
  font-size: 13px;
  line-height: 1.5;
}

.billing-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.billing-steps span {
  flex: 1;
  text-align: center;
  border: 1px solid var(--archive-line);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--archive-muted);
}

.billing-steps span.is-active {
  border-color: var(--brand-gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--archive-ink);
}

.archive-codex-tabs {
  margin-bottom: 14px;
}

.archive-hub-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 16px;
}

.archive-hub-card {
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  padding: 14px;
  background: var(--archive-surface);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 4px;
}

.archive-hub-card strong {
  font-size: 15px;
}

.archive-hub-card span {
  color: var(--archive-muted);
  font-size: 12px;
}

.field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.price-disclaimer {
  margin-top: 8px;
  font-size: 12px;
  color: var(--archive-muted);
}

.conversation-thread {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.conversation-bubble {
  max-width: 85%;
  border: 1px solid var(--archive-line);
  border-radius: 14px;
  background: var(--archive-surface);
  padding: 10px 12px;
}

.conversation-bubble.is-mine {
  margin-left: auto;
  border-color: rgba(212, 175, 55, 0.35);
  background: #fff9e8;
}

.conversation-bubble span {
  display: block;
  margin-top: 6px;
  color: var(--archive-muted);
  font-size: 11px;
}

.item-sticky-bar--inline {
  position: static;
  margin-top: 0;
}

@media (max-width: 1023px) {
  .item-sticky-bar--dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(72px + var(--safe-bottom));
    margin-top: 0;
    z-index: 40;
  }

  .item-page {
    padding-bottom: calc(88px + var(--safe-bottom));
  }

  .item-sticky-bar--inline {
    display: none;
  }
}

@media (min-width: 1024px) {
  .item-sticky-bar--dock {
    display: none;
  }
}

.discover-filter-panel {
  display: none;
}

.discover-filter-panel.is-open {
  display: block;
}

.discover-toolbar {
  margin-bottom: 8px;
}

.seller-stage-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

@media (min-width: 720px) {
  .seller-stage-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.seller-stage-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--archive-line);
  border-radius: 14px;
  background: var(--archive-surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.seller-stage-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.seller-stage-card span {
  color: var(--archive-muted);
  font-size: 12px;
}

.seller-stage-card strong {
  font-size: 20px;
  color: var(--archive-ink);
}

.wizard-steps {
  margin-bottom: 16px;
}

.wizard-photo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.settlement-table td[data-label]::before {
  content: attr(data-label) ": ";
  font-weight: 600;
  color: var(--archive-muted);
}

@media (min-width: 720px) {
  .settlement-table td[data-label]::before {
    content: none;
  }
}

.admin-console {
  font-size: 14px;
}

.admin-console .page-title {
  letter-spacing: -0.02em;
}

.admin-inbox-priority {
  display: grid;
  gap: 10px;
}

.admin-health-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-health-card {
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  padding: 14px;
  background: var(--archive-surface);
  display: grid;
  gap: 4px;
}

.admin-health-card.is-ok {
  border-color: rgba(66, 121, 91, 0.35);
}

.admin-health-card.is-fail {
  border-color: rgba(220, 38, 38, 0.35);
  background: #fff5f5;
}

.admin-health-card span {
  font-weight: 600;
}

.admin-health-card em {
  color: var(--archive-muted);
  font-size: 11px;
  font-style: normal;
}

.admin-metrics-source {
  font-size: 12px;
  color: var(--archive-muted);
}

.launch-checks-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

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

.launch-checks-table th,
.launch-checks-table td {
  border: 1px solid var(--archive-line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.launch-checks-table tr.is-ok td:nth-child(2) {
  color: #42795b;
  font-weight: 600;
}

.launch-checks-table tr.is-fail td:nth-child(2) {
  color: #dc2626;
  font-weight: 600;
}

.admin-more-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.admin-more-card {
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  padding: 16px;
  background: var(--archive-surface);
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.admin-more-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.public-hero {
  padding: 28px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1410 55%, #2a2010 100%);
  color: #f8f4ea;
  margin-bottom: 18px;
}

.public-hero .page-title,
.public-hero .page-copy,
.public-hero .eyebrow {
  color: inherit;
}

.public-hero .eyebrow {
  color: #d4af37;
}

.notification-bell {
  position: relative;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
}

.notification-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c80000;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
}

.notification-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 80;
}

.notification-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100%;
  z-index: 81;
  background: var(--archive-surface);
  border-left: 1px solid var(--archive-line);
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

.notification-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--archive-line);
}

.notification-panel__list {
  overflow: auto;
  padding: 8px;
}

.notification-item {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--archive-line);
  border-radius: 12px;
  background: var(--archive-bg);
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

.notification-item.is-unread {
  border-color: rgba(212, 175, 55, 0.45);
  background: #fff9e8;
}

.notification-item span {
  color: var(--archive-muted);
  font-size: 11px;
}

.onboarding-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background: #fff9e8;
}

.onboarding-carousel {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9e8, #fffdf8);
}

.onboarding-carousel__dots {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.onboarding-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.15);
}

.onboarding-carousel__dot.is-active {
  background: var(--archive-gold, #d4af37);
}

.onboarding-carousel__actions {
  margin-top: 12px;
}

.catalog-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.catalog-picker button.is-active {
  border-color: var(--archive-gold, #d4af37);
  background: #fff9e8;
}

.seller-wizard-layout {
  display: grid;
  gap: 16px;
}

@media (min-width: 1024px) {
  .seller-wizard-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    align-items: start;
  }
}

.wizard-preview {
  position: sticky;
  top: 12px;
}

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

@media (min-width: 768px) {
  .wizard-photo-dnd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.wizard-photo-slot {
  position: relative;
  min-height: 120px;
  padding: 8px;
  border: 1px dashed var(--archive-line);
  border-radius: 12px;
  background: var(--archive-surface);
  display: grid;
  gap: 6px;
  align-content: start;
}

.wizard-photo-slot.is-required {
  border-color: rgba(212, 175, 55, 0.55);
}

.wizard-photo-slot.has-image {
  border-style: solid;
}

.wizard-photo-slot img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
}

.wizard-photo-slot__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--archive-muted);
}

.wizard-photo-slot__placeholder {
  font-size: 11px;
  color: var(--archive-muted);
}

.wizard-photo-slot__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.wizard-photo-slot__clear {
  justify-self: start;
  font-size: 11px;
}

.report-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.report-evidence-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.skeleton-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.skeleton-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ece7de 25%, #f7f3ec 50%, #ece7de 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.error-panel {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #f3c4c4;
  border-radius: 12px;
  background: #fff7f7;
}

.empty-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  place-items: center;
  min-height: 150px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed var(--archive-line, var(--line));
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.empty-state__art {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff9e8;
  font-size: 22px;
  font-weight: 700;
  color: var(--archive-gold, #d4af37);
}

.empty-state__message {
  margin: 0;
  font-weight: 600;
}

.empty-state__hint {
  margin: 0;
  color: var(--archive-muted);
  font-size: 13px;
  max-width: 28rem;
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.modal-backdrop {
  cursor: pointer;
}

.vk-modal:focus {
  outline: none;
}

.admin-evidence-private {
  border-color: rgba(212, 175, 55, 0.4);
}

.onboarding-banner__title {
  margin: 4px 0;
  font-size: 18px;
}

.offline-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f1;
  border: 1px solid #f3c4c4;
  color: #8a1f1f;
  font-size: 13px;
}

.item-legal-note {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--archive-line);
  color: var(--archive-muted);
  font-size: 12px;
  line-height: 1.6;
}

.empty-state p {
  margin: 0 0 8px;
}

.app-skeleton {
  display: grid;
  gap: 12px;
  padding: 32px 20px;
  max-width: 28rem;
  margin: 0 auto;
}

.app-skeleton__bar {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.06));
  background-size: 200% 100%;
  animation: app-skeleton-shimmer 1.2s ease-in-out infinite;
}

.app-skeleton__bar--short {
  width: 62%;
}

@keyframes app-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.address-sheet-backdrop {
  align-items: flex-end;
}

.item-section .section-title {
  font-size: 16px;
}

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

} /* end @layer legacy */
