/* 2026-05-07 approved Apple-style interface layer */
:root {
  --yi-page: #f5f5f7;
  --yi-surface: #ffffff;
  --yi-surface-soft: #fbfbfd;
  --yi-text: #1d1d1f;
  --yi-copy: #515154;
  --yi-muted: #86868b;
  --yi-line: #d2d2d7;
  --yi-line-soft: #e8e8ed;
  --yi-blue: #0066cc;
  --yi-blue-strong: #0047ab;
  --yi-green: #0a7f54;
  --yi-amber: #b56a00;
  --yi-shadow: 0 18px 48px rgba(0, 0, 0, .08);
  --yi-font: "Pretendard Variable", "SF Pro KR", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

.maintenance-page *,
.auth-page *,
.account-shell *,
html[data-store-view="catalog"] body:not(.detail-page) *,
body.detail-page .store-detail[data-sale-type] * {
  letter-spacing: 0 !important;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Maintenance */
.maintenance-page {
  min-height: 100dvh;
  background: var(--yi-page);
  color: var(--yi-text);
  font-family: var(--yi-font);
}

.maintenance-page .topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  width: 100%;
  min-height: 54px;
  padding: 0 max(22px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(210, 210, 215, .72);
  background: rgba(251, 251, 253, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.maintenance-page .brand,
.maintenance-page .admin-login,
.maintenance-page .text-link,
.maintenance-page .icon-button {
  color: var(--yi-text);
}

.maintenance-page .brand {
  font-size: 26px;
  font-weight: 720;
  letter-spacing: 0;
}

.maintenance-page .top-actions {
  gap: 10px;
}

.maintenance-page .text-link {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
}

.maintenance-page .admin-login {
  min-height: 34px;
  width: auto;
  padding: 0 12px;
  gap: 6px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: none;
}

.maintenance-page .admin-login span {
  display: inline;
  font-size: 13px;
  font-weight: 650;
}

.maintenance-page .icon-button {
  width: 36px;
  min-height: 36px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.maintenance-page .hero {
  position: relative;
  min-height: 100dvh;
  padding: 88px 0 54px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.maintenance-page .hero-media {
  position: absolute;
  inset: 54px 0 auto 0;
  height: 52dvh;
  min-height: 340px;
  max-height: 620px;
  opacity: .9;
  filter: saturate(.95) contrast(.98);
}

.maintenance-page .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 245, 247, .15) 0%, var(--yi-page) 100%),
    linear-gradient(90deg, var(--yi-page) 0%, rgba(245, 245, 247, .54) 44%, rgba(245, 245, 247, .08) 100%);
}

.maintenance-page .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.maintenance-page .hero-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: end;
}

.maintenance-page .hero-copy {
  max-width: 680px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.maintenance-page .status-mark,
.maintenance-page .panel-kicker {
  display: none;
}

.maintenance-page h1 {
  margin: 0;
  color: var(--yi-text);
  font-size: 64px;
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: 0;
}

.maintenance-page .lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--yi-copy);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 520;
}

.maintenance-page .hero-actions {
  margin-top: 28px;
  gap: 10px;
}

.maintenance-page .primary-button,
.maintenance-page .secondary-button,
.maintenance-page .notify-row button {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: none;
}

.maintenance-page .primary-button,
.maintenance-page .notify-row button {
  border-color: var(--yi-blue);
  background: var(--yi-blue);
  color: #fff;
}

.maintenance-page .secondary-button {
  border: 1px solid var(--yi-line);
  background: rgba(255, 255, 255, .74);
  color: var(--yi-text);
}

.maintenance-page .maintenance-panel {
  border: 1px solid rgba(210, 210, 215, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--yi-shadow);
}

.maintenance-page .panel-title {
  color: var(--yi-text);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0;
}

.maintenance-page .state-pill {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(181, 106, 0, .12);
  color: var(--yi-amber);
  font-size: 12px;
  font-weight: 760;
}

.maintenance-page .status-grid {
  gap: 8px;
}

.maintenance-page .status-item,
.maintenance-page .panel-link {
  border: 1px solid var(--yi-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: none;
}

.maintenance-page .status-icon {
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--yi-blue);
}

.maintenance-page .status-label,
.maintenance-page .notify-copy,
.maintenance-page .notify-meta,
.maintenance-page .status-meta {
  color: var(--yi-muted);
}

.maintenance-page .status-value {
  color: var(--yi-text);
  font-weight: 720;
}

.maintenance-page .notify-form {
  border: 1px solid var(--yi-line-soft);
  border-radius: 8px;
  background: var(--yi-surface-soft);
}

.maintenance-page .notify-row input {
  min-height: 46px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: #fff;
  color: var(--yi-text);
}

.maintenance-page .service-preview {
  display: none;
}

.maintenance-page .footer {
  color: var(--yi-muted);
}

/* Auth */
.auth-page {
  min-height: 100dvh;
  background: var(--yi-page);
  color: var(--yi-text);
  font-family: var(--yi-font);
}

.auth-page .auth-visual {
  background: #f5f5f7;
  border-right: 1px solid var(--yi-line);
  overflow: hidden;
}

.auth-page .auth-visual::before,
.auth-page .auth-visual::after {
  display: none;
}

.auth-page .brand {
  color: var(--yi-text);
  font-size: 28px;
  font-weight: 720;
  letter-spacing: 0;
}

.auth-page .visual-copy {
  max-width: 420px;
}

.auth-page .visual-title {
  color: var(--yi-text);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: 0;
}

.auth-page .visual-title span {
  color: var(--yi-text);
}

.auth-page .visual-lead {
  max-width: 360px;
  margin-top: 16px;
  color: var(--yi-copy);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 520;
}

.auth-page .visual-art {
  opacity: .9;
  filter: saturate(.92) contrast(.98);
}

.auth-page .visual-features {
  display: none;
}

.auth-page .auth-main {
  background: var(--yi-page);
}

.auth-page .lang-control {
  min-height: 38px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--yi-text);
  box-shadow: none;
}

.auth-page .auth-stage {
  width: min(100%, 470px);
}

.auth-page .section-head {
  margin-bottom: 18px;
}

.auth-page .title {
  color: var(--yi-text);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: 0;
}

.auth-page .subtitle {
  color: var(--yi-copy);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 520;
}

.auth-page .card,
.auth-page .suc-card,
.auth-page .forgot-card {
  border: 1px solid rgba(210, 210, 215, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--yi-shadow);
}

.auth-page .card-body {
  padding: 26px;
}

.auth-page .tabs {
  min-height: 42px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: #f5f5f7;
}

.auth-page .tab-bg,
.auth-page .tab.on {
  border-radius: 7px;
}

.auth-page .tab {
  color: var(--yi-copy);
  font-weight: 700;
}

.auth-page .tab.on {
  color: var(--yi-text);
}

.auth-page .fg {
  gap: 7px;
}

.auth-page .fl {
  color: var(--yi-text);
  font-size: 13px;
  font-weight: 700;
}

.auth-page .fi {
  min-height: 50px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: #fff;
  color: var(--yi-text);
  font-size: 15px;
  box-shadow: none;
}

.auth-page .fi:focus {
  border-color: rgba(0, 102, 204, .62);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, .12);
}

.auth-page .field-note,
.auth-page .terms,
.auth-page .sw,
.auth-page .forgot-help {
  color: var(--yi-muted);
}

.auth-page .auth-security {
  display: none;
}

.auth-page .cta,
.auth-page .s-btn {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 720;
  box-shadow: none;
}

.auth-page .cta {
  background: var(--yi-blue);
  color: #fff;
}

.auth-page .cta:disabled,
.auth-page .cta[disabled] {
  background: #d2d2d7;
  color: #86868b;
  cursor: not-allowed;
}

.auth-page .s-btn {
  border: 1px solid var(--yi-line);
  background: #fff;
  color: var(--yi-text);
}

.auth-page .sep {
  color: var(--yi-muted);
}

.auth-page .auth-footer {
  border-top: 1px solid var(--yi-line);
  background: var(--yi-page);
  color: var(--yi-muted);
}

.auth-page .footer-links a,
.auth-page .terms a,
.auth-page .sw button,
.auth-page .forgot,
.auth-page .resend button,
.auth-page .forgot-help a {
  color: var(--yi-blue);
}

/* Buyer account */
.account-shell {
  --account-ink: var(--yi-text);
  --account-muted: var(--yi-copy);
  --account-dim: var(--yi-muted);
  --account-line: var(--yi-line);
  --account-line-strong: #c7c7cc;
  --account-soft: var(--yi-page);
  --account-blue: var(--yi-blue);
  --account-blue-deep: var(--yi-blue-strong);
  --account-blue-soft: #edf5ff;
  --account-shadow: none;
  color: var(--yi-text);
  font-family: var(--yi-font);
}

.account-shell .seller-stage {
  background: var(--yi-page);
}

.account-shell .stage-inner {
  max-width: 1220px;
  padding: 24px 24px 64px;
}

.account-shell .seller-sidebar {
  background: #fff;
  border-right: 1px solid var(--yi-line);
  box-shadow: none;
}

.account-shell .sidebar-profile {
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: var(--yi-surface-soft);
}

.account-shell .sidebar-avatar {
  border-radius: 8px;
  background: var(--yi-text);
  color: #fff;
}

.account-shell .side-link,
.account-shell .sidebar-footer-btn {
  min-height: 40px;
  border-radius: 8px;
  color: var(--yi-copy);
  font-weight: 700;
}

.account-shell .side-link.active {
  background: #f0f7ff;
  color: var(--yi-blue);
  box-shadow: inset 3px 0 0 var(--yi-blue);
}

.account-topbar {
  margin-bottom: 18px;
}

.account-breadcrumb {
  color: var(--yi-muted);
  font-size: 13px;
  font-weight: 650;
}

.account-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
  gap: 16px;
}

.account-hero-panel,
.account-summary-rail,
.account-panel,
.account-mini-panel,
.account-shell .stat-card,
.account-shell .card {
  border: 1px solid rgba(210, 210, 215, .86);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.account-hero-panel {
  min-height: 288px;
  padding: 34px;
  background: #fff;
}

.account-hero-panel::after {
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 50%, rgba(255, 255, 255, .45) 78%, rgba(255, 255, 255, 0) 100%);
}

.account-hero-art {
  opacity: .62;
  filter: saturate(.86) contrast(.98);
}

.account-kicker {
  margin-bottom: 8px;
  color: var(--yi-blue);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

.account-title {
  color: var(--yi-text);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: 0;
}

.account-lead {
  max-width: 500px;
  color: var(--yi-copy);
  font-size: 15px;
  font-weight: 520;
}

.account-actions {
  gap: 10px;
}

.account-shell .btn,
.account-route-tab,
.account-quick-card,
.address-card-action {
  border-radius: 8px;
}

.account-shell .btn-primary {
  border-color: var(--yi-blue);
  background: var(--yi-blue);
  color: #fff;
}

.account-shell .btn-ghost {
  border: 1px solid var(--yi-line);
  background: #fff;
  color: var(--yi-text);
}

.account-summary-rail {
  padding: 18px;
}

.account-summary-row {
  min-height: 58px;
  border-bottom: 1px solid var(--yi-line-soft);
}

.account-summary-row span,
.stat-label,
.stat-delta {
  color: var(--yi-muted);
}

.account-summary-row strong,
.stat-value {
  color: var(--yi-text);
  letter-spacing: 0;
}

.account-route-tabs {
  gap: 8px;
  margin: 18px 0;
  padding: 4px;
  border: 1px solid var(--yi-line);
  border-radius: 8px;
  background: #fff;
}

.account-route-tab {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--yi-copy);
  font-size: 13px;
}

.account-route-tab.active,
.account-route-tab[aria-current="page"] {
  background: var(--yi-text);
  color: #fff;
}

.account-panel {
  padding: 22px;
}

.account-quick-card {
  border: 1px solid var(--yi-line-soft);
  background: var(--yi-surface-soft);
  box-shadow: none;
}

.account-quick-card strong {
  color: var(--yi-text);
}

.account-quick-card span {
  color: var(--yi-muted);
}

.buyer-section h1,
.account-section-titleblock h1 {
  color: var(--yi-text);
  font-weight: 780;
  letter-spacing: 0;
}

.account-section-titleblock p {
  color: var(--yi-copy);
}

/* Store and digital catalog */
html[data-store-view="catalog"] body:not(.detail-page) {
  --store-ink: var(--yi-text) !important;
  --store-copy: var(--yi-copy) !important;
  --store-muted: var(--yi-muted) !important;
  --store-blue: var(--yi-blue) !important;
  --store-blue-strong: var(--yi-blue-strong) !important;
  --store-blue-soft: #edf5ff !important;
  --store-line: var(--yi-line) !important;
  --store-line-soft: var(--yi-line-soft) !important;
  --store-card: #fff !important;
  --store-shell: min(1400px, calc(100% - 48px)) !important;
  --store-sidebar: 248px !important;
  --store-sans: var(--yi-font) !important;
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) main,
html[data-store-view="catalog"] body:not(.detail-page) .store-page {
  background: var(--yi-page) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .store-page {
  padding: 52px 0 78px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .store-body {
  width: var(--store-shell) !important;
  gap: 22px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero {
  min-height: 354px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-identity {
  padding: 58px 0 52px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-eyebrow {
  margin: 0 0 12px !important;
  color: var(--yi-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-title-wrap h1 {
  width: min(620px, 100%) !important;
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
  font-size: 64px !important;
  line-height: 1.05 !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-tagline {
  width: min(540px, 100%) !important;
  color: var(--yi-copy) !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  font-weight: 520 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-search-area {
  width: min(520px, 100%) !important;
  margin-top: 24px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-search {
  min-height: 48px !important;
  border: 1px solid var(--yi-line) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-search input {
  color: var(--yi-text) !important;
  font-size: 15px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-search-icon {
  color: var(--yi-muted) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-quick-filters {
  gap: 8px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .quick-filter,
html[data-store-view="catalog"] body:not(.detail-page) .catalog-tab,
html[data-store-view="catalog"] body:not(.detail-page) .catalog-filter-chip,
html[data-store-view="catalog"] body:not(.detail-page) .store-category,
html[data-store-view="catalog"] body:not(.detail-page) .smart-filter-chip,
html[data-store-view="catalog"] body:not(.detail-page) .results-sort-select,
html[data-store-view="catalog"] body:not(.detail-page) .store-filter-toggle {
  border-radius: 8px !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .quick-filter {
  min-height: 34px !important;
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
  color: var(--yi-copy) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .quick-filter:hover,
html[data-store-view="catalog"] body:not(.detail-page) .catalog-tab.active,
html[data-store-view="catalog"] body:not(.detail-page) .catalog-filter-chip.active,
html[data-store-view="catalog"] body:not(.detail-page) .store-category.active,
html[data-store-view="catalog"] body:not(.detail-page) .smart-filter-chip.active {
  border-color: rgba(0, 102, 204, .34) !important;
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-feature {
  min-height: 292px !important;
  margin: 30px 0 30px !important;
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-visual {
  background: #f0f0f2 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-feat-panel {
  padding: 20px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 58%) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-feat-title,
html[data-store-view="catalog"] body:not(.detail-page) .results-copy h2,
html[data-store-view="catalog"] body:not(.detail-page) .product-name {
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-feat-price,
html[data-store-view="catalog"] body:not(.detail-page) .product-price {
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
  letter-spacing: 0 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .hero-feat-actions .btn-fill {
  border-radius: 8px !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .catalog-nav-panel {
  padding: 12px 0 18px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .catalog-tabs {
  gap: 8px !important;
  padding: 4px !important;
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .catalog-tab {
  min-height: 36px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--yi-copy) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .catalog-tab.active {
  background: var(--yi-text) !important;
  color: #fff !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .store-sidebar {
  top: 76px !important;
  gap: 12px !important;
  padding: 16px !important;
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .sidebar-filter-label {
  color: var(--yi-text) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .results-head {
  align-items: center !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .results-copy h2 {
  font-size: 28px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .results-status,
html[data-store-view="catalog"] body:not(.detail-page) .product-facts,
html[data-store-view="catalog"] body:not(.detail-page) .product-seller {
  color: var(--yi-muted) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .store-loading,
html[data-store-view="catalog"] body:not(.detail-page) .store-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 214px), 1fr)) !important;
  gap: 18px !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .product-card {
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .product-card:hover {
  transform: translateY(-2px) !important;
  border-color: #b8b8bf !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .07) !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .product-media {
  background: #f0f0f2 !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .product-sequence,
html[data-store-view="catalog"] body:not(.detail-page) .product-status,
html[data-store-view="catalog"] body:not(.detail-page) .product-badge {
  border-radius: 8px !important;
  background: rgba(29, 29, 31, .78) !important;
  color: #fff !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[data-store-view="catalog"] body:not(.detail-page) .product-sequence {
  background: rgba(255, 255, 255, .88) !important;
  color: var(--yi-text) !important;
}

html[data-store-mode="digital"] body:not(.detail-page) .hero-search {
  border-color: rgba(0, 102, 204, .28) !important;
}

html[data-store-mode="digital"] body:not(.detail-page) .hero-eyebrow,
html[data-store-mode="digital"] body:not(.detail-page) .product-price {
  color: var(--yi-blue) !important;
}

/* Product detail */
body.detail-page .store-detail[data-sale-type] {
  --detail-ink: var(--yi-text) !important;
  --detail-copy: var(--yi-copy) !important;
  --detail-muted: var(--yi-muted) !important;
  --detail-line: var(--yi-line) !important;
  --detail-blue: var(--yi-blue) !important;
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
}

body.detail-page .store-detail[data-sale-type] .detail-shell {
  width: min(1180px, calc(100% - 48px)) !important;
  padding-top: 76px !important;
}

body.detail-page .store-detail[data-sale-type] .detail-hero,
body.detail-page .store-detail[data-sale-type] .detail-gallery,
body.detail-page .store-detail[data-sale-type] .detail-media-wrap,
body.detail-page .store-detail[data-sale-type] .detail-license-panel,
body.detail-page .store-detail[data-sale-type] .detail-marketplace-card,
body.detail-page .store-detail[data-sale-type] .detail-marketplace-channel,
body.detail-page .store-detail[data-sale-type] .detail-digital-card {
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.detail-page .store-detail[data-sale-type] .detail-title-block h1 {
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
  font-size: 42px !important;
  line-height: 1.14 !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

body.detail-page .store-detail[data-sale-type] .detail-pricebar strong {
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
  letter-spacing: 0 !important;
}

body.detail-page .store-detail[data-sale-type] .detail-price-meta,
body.detail-page .store-detail[data-sale-type] .detail-license-desc,
body.detail-page .store-detail[data-sale-type] .detail-info-section-label,
body.detail-page .store-detail[data-sale-type] .detail-license-notice {
  color: var(--yi-muted) !important;
}

body.detail-page .store-detail[data-sale-type] .detail-info-pill,
body.detail-page .store-detail[data-sale-type] .detail-license-option {
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: var(--yi-surface-soft) !important;
}

body.detail-page .store-detail[data-sale-type] .detail-license-option.is-selected {
  border-color: var(--yi-blue) !important;
  box-shadow: 0 0 0 1px var(--yi-blue) inset !important;
}

body.detail-page .store-detail[data-sale-type] .detail-action,
body.detail-page .store-detail[data-sale-type] .detail-license-btn.primary {
  border-radius: 8px !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.detail-page .store-detail[data-sale-type] .detail-action-secondary,
body.detail-page .store-detail[data-sale-type] .detail-license-btn.ghost {
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--yi-text) !important;
  box-shadow: none !important;
}

body.detail-page .store-detail[data-sale-type] .detail-action:disabled,
body.detail-page .store-detail[data-sale-type] .detail-license-btn:disabled {
  background: #d2d2d7 !important;
  border-color: #d2d2d7 !important;
  color: #86868b !important;
  cursor: not-allowed !important;
}

/* Checkout */
.checkout-page {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
}

.checkout-page *,
.checkout-page *::before,
.checkout-page *::after {
  letter-spacing: 0 !important;
}

.checkout-shell {
  grid-template-columns: minmax(390px, .86fr) minmax(540px, 1.14fr) !important;
  background: var(--yi-page) !important;
}

.checkout-order-panel {
  gap: 18px !important;
  padding: 30px clamp(24px, 4vw, 54px) 42px !important;
  border-right: 1px solid var(--yi-line) !important;
  background: #f5f5f7 !important;
}

.checkout-page .checkout-logo {
  color: #0066ff !important;
  font-size: 32px !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
}

.checkout-cart-link,
.checkout-section-toggle,
.checkout-option-edit,
.checkout-postcode-btn,
.page-btn,
.checkout-method-tab,
.checkout-stepper,
.checkout-address-select,
.checkout-delivery-preset,
.checkout-field input,
.checkout-field select,
.checkout-agree-line,
.checkout-notice,
.checkout-card,
.checkout-payment,
.checkout-section,
.checkout-pay-auth,
.checkout-method-empty,
.checkout-method-panel,
.checkout-pay-status {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.checkout-cart-link,
.checkout-section-toggle,
.checkout-option-edit,
.checkout-postcode-btn,
.page-btn.secondary {
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
  color: var(--yi-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.checkout-visual {
  border: 1px solid var(--yi-line) !important;
  background: #f0f0f2 !important;
  box-shadow: none !important;
}

.checkout-visual img {
  filter: saturate(.9) contrast(.98) !important;
}

.checkout-progress {
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.checkout-progress li {
  color: var(--yi-muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.checkout-progress span {
  background: #f0f0f2 !important;
  color: var(--yi-muted) !important;
}

.checkout-progress li.is-active {
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

.checkout-progress li.is-active span {
  background: var(--yi-blue) !important;
  color: #fff !important;
}

.checkout-progress li.is-complete {
  background: #eefbf4 !important;
  color: var(--yi-green) !important;
}

.checkout-progress li.is-complete span {
  background: var(--yi-green) !important;
  color: #fff !important;
}

.checkout-summary-section {
  gap: 10px !important;
}

.checkout-summary-section h2,
.checkout-card-head h2,
.checkout-section-head h2 {
  color: var(--yi-text) !important;
  font-size: 17px !important;
  font-weight: 760 !important;
}

.checkout-card,
.checkout-payment,
.checkout-section,
.checkout-pay-auth,
.checkout-method-empty,
.checkout-method-panel,
.checkout-pay-status {
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
}

.checkout-summary,
.checkout-total-card {
  padding: 16px !important;
}

.checkout-item {
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 14px !important;
}

.checkout-item-thumb {
  width: 112px !important;
  height: 112px !important;
  border-radius: 8px !important;
  background: #f0f0f2 !important;
}

.checkout-item-name {
  color: var(--yi-text) !important;
  font-size: 19px !important;
  font-weight: 760 !important;
}

.checkout-item-meta,
.checkout-lede,
.checkout-secure-copy,
.checkout-shipping-note,
.checkout-method-foot,
.checkout-benefit span {
  color: var(--yi-copy) !important;
}

.checkout-total-card {
  min-height: 0 !important;
}

.checkout-totals {
  gap: 8px !important;
}

.checkout-totals dt,
.checkout-totals dd {
  color: var(--yi-copy) !important;
  font-size: 14px !important;
}

.checkout-totals .is-total dt,
.checkout-totals .is-total dd,
.checkout-total-final,
.checkout-price-final {
  color: var(--yi-text) !important;
  font-weight: 780 !important;
}

.checkout-benefits {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.checkout-benefit {
  min-height: 64px !important;
  grid-template-columns: 34px minmax(0, .72fr) minmax(0, 1fr) !important;
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.checkout-benefit svg {
  color: var(--yi-blue) !important;
}

.checkout-benefit strong {
  color: var(--yi-text) !important;
}

.checkout-payment-panel {
  background: #fff !important;
}

.checkout-payment-inner {
  width: min(760px, calc(100% - 48px)) !important;
  padding: 52px 0 56px !important;
}

.checkout-hero {
  gap: 10px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--yi-line-soft) !important;
}

.checkout-hero h1 {
  color: var(--yi-text) !important;
  font-size: 44px !important;
  line-height: 1.12 !important;
  font-weight: 780 !important;
}

.checkout-payment {
  padding: 6px !important;
  border: 0 !important;
}

.checkout-section {
  margin-top: 12px !important;
  padding: 18px !important;
}

.checkout-field span,
.checkout-quantity-label,
.checkout-method-sub,
.checkout-env-chip {
  color: var(--yi-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.checkout-field input,
.checkout-field select,
.checkout-address-select,
.checkout-delivery-preset,
.checkout-stepper {
  min-height: 46px !important;
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
  color: var(--yi-text) !important;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-address-select:focus,
.checkout-delivery-preset:focus,
.checkout-stepper:focus-within {
  outline: none !important;
  border-color: rgba(0, 102, 204, .58) !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, .12) !important;
}

.checkout-stepper-btn {
  color: var(--yi-text) !important;
}

.checkout-stepper-btn:hover {
  background: #f5f5f7 !important;
}

.checkout-stepper-input {
  border-color: var(--yi-line-soft) !important;
  color: var(--yi-text) !important;
}

.checkout-method-tabs {
  gap: 10px !important;
}

.checkout-method-tab {
  min-height: 68px !important;
  border: 1px solid var(--yi-line) !important;
  background: #fff !important;
}

.checkout-method-tab:hover {
  border-color: #b8b8bf !important;
}

.checkout-method-tab[aria-selected="true"] {
  border-color: var(--yi-blue) !important;
  background: #f5faff !important;
  box-shadow: 0 0 0 1px var(--yi-blue) inset !important;
}

.checkout-method-radio {
  border-color: var(--yi-line) !important;
}

.checkout-method-tab[aria-selected="true"] .checkout-method-radio {
  border-color: var(--yi-blue) !important;
}

.checkout-method-tab[aria-selected="true"] .checkout-method-radio::after {
  background: var(--yi-blue) !important;
}

.checkout-agree-line {
  border: 1px solid var(--yi-line-soft) !important;
  background: #fff !important;
  color: var(--yi-text) !important;
}

.checkout-agree-link {
  color: var(--yi-blue) !important;
}

.page-btn.primary,
.checkout-pay-button,
.checkout-toss-button,
.checkout-primary-action {
  border-color: var(--yi-blue) !important;
  border-radius: 8px !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.page-btn.primary:disabled,
.checkout-pay-button:disabled,
.checkout-toss-button:disabled,
.checkout-primary-action:disabled {
  border-color: #d2d2d7 !important;
  background: #d2d2d7 !important;
  color: #86868b !important;
  cursor: not-allowed !important;
}

.checkout-notice[data-tone="info"] {
  border-color: rgba(0, 102, 204, .22) !important;
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

.checkout-notice[data-tone="warn"] {
  border-color: rgba(181, 106, 0, .26) !important;
  background: rgba(181, 106, 0, .08) !important;
  color: var(--yi-amber) !important;
}

.checkout-notice[data-tone="error"],
.checkout-shipping-error {
  border-color: rgba(196, 43, 43, .24) !important;
  background: rgba(196, 43, 43, .08) !important;
  color: #b42318 !important;
}

.checkout-notice[data-tone="success"] {
  border-color: rgba(10, 127, 84, .24) !important;
  background: rgba(10, 127, 84, .08) !important;
  color: var(--yi-green) !important;
}

/* Remaining public pages */
body.home-commerce-page,
body.guide-page,
body.support-page,
body.static-shell-page,
body.admin-ops-page,
body.custom-mold-page {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
  font-family: var(--yi-font) !important;
}

body.home-commerce-page *,
body.guide-page *,
body.support-page *,
body.static-shell-page *,
body.admin-ops-page *,
body.custom-mold-page * {
  letter-spacing: 0 !important;
}

body.home-commerce-page a,
body.guide-page a,
body.support-page a,
body.static-shell-page a,
body.admin-ops-page a,
body.custom-mold-page a {
  text-decoration: none !important;
}

body.home-commerce-page :focus-visible,
body.guide-page :focus-visible,
body.support-page :focus-visible,
body.static-shell-page :focus-visible,
body.admin-ops-page :focus-visible,
body.custom-mold-page :focus-visible {
  outline: 2px solid rgba(0, 102, 204, .76) !important;
  outline-offset: 2px !important;
}

/* Home */
body.home-commerce-page {
  --home-shell: 1180px !important;
  --home-gutter: 24px !important;
  --home-blue: var(--yi-blue) !important;
  --home-ink: var(--yi-text) !important;
  --home-copy: var(--yi-copy) !important;
  --home-muted: var(--yi-muted) !important;
}

.home-landing {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

.home-shell,
.home-hero__inner {
  width: min(1180px, calc(100% - 48px)) !important;
}

.home-hero {
  min-height: calc(100svh - 54px) !important;
  background: #000 !important;
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .22) 48%, rgba(0, 0, 0, .08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .38) 100%) !important;
}

.home-hero__copy {
  max-width: 620px !important;
}

.home-hero h1 {
  color: #fff !important;
  font-size: 64px !important;
  line-height: 1.04 !important;
  font-weight: 780 !important;
}

.home-hero__lead {
  max-width: 520px !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 18px !important;
  line-height: 1.62 !important;
}

.home-button,
.home-section__head a,
.home-category-links a,
.home-cta-card .home-button {
  min-height: 42px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.home-button {
  border: 1px solid var(--yi-blue) !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

.home-button--ghost {
  border-color: rgba(255, 255, 255, .72) !important;
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
}

.home-section {
  padding: 76px 0 !important;
}

.home-section__head {
  margin-bottom: 22px !important;
  border-bottom: 1px solid var(--yi-line-soft) !important;
  padding-bottom: 14px !important;
}

.home-section__head h2 {
  color: var(--yi-text) !important;
  font-size: 30px !important;
  line-height: 1.16 !important;
  font-weight: 760 !important;
}

.home-section__head a,
.home-shops-note {
  color: var(--yi-blue) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.home-category-feature,
.home-product-card,
.home-process,
.home-shop-card,
.home-cta-card {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  box-shadow: none !important;
}

.home-category-feature picture,
.home-category-feature img,
.home-product-card__media,
.home-product-card__media img,
.home-process__media,
.home-process__media picture,
.home-process__media img {
  border-radius: 8px !important;
}

.home-category-feature::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, .62) 100%) !important;
}

.home-category-feature__copy strong,
.home-product-card strong,
.home-process__steps strong,
.home-shop-copy strong,
.home-cta-card h2 {
  color: var(--yi-text) !important;
  font-weight: 760 !important;
}

.home-category-feature__copy strong,
.home-category-feature__copy small {
  color: #fff !important;
}

.home-category-feature__copy small,
.home-product-card__meta,
.home-process__steps span:not(.home-process__icon),
.home-shop-copy small,
.home-cta-card p,
.home-live-status {
  color: var(--yi-copy) !important;
}

.home-category-links {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
}

.home-category-links a + a,
.home-process__steps li + li {
  border-color: var(--yi-line-soft) !important;
}

.home-product-card__badge,
.home-process__icon,
.home-shop-mark {
  border-radius: 8px !important;
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

.home-wish {
  border: 1px solid var(--yi-line) !important;
  background: rgba(255, 255, 255, .86) !important;
  color: var(--yi-text) !important;
  box-shadow: none !important;
}

.home-cta-band {
  padding: 0 0 82px !important;
  background: var(--yi-page) !important;
}

.home-cta-card {
  align-items: center !important;
  background: var(--yi-surface-soft) !important;
  color: var(--yi-text) !important;
}

.home-cta-card .home-button--ghost {
  border-color: var(--yi-line) !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
}

/* Guide */
body.guide-page {
  --guide-shell: min(1180px, calc(100% - 48px)) !important;
  --guide-ink: var(--yi-text) !important;
  --guide-copy: var(--yi-copy) !important;
  --guide-muted: var(--yi-muted) !important;
  --guide-blue: var(--yi-blue) !important;
  --guide-line: var(--yi-line-soft) !important;
}

.guide-main {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

.guide-hero {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: 104px 0 56px !important;
  border-bottom: 1px solid var(--yi-line-soft) !important;
  background: transparent !important;
}

.guide-eyebrow {
  color: var(--yi-muted) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

.guide-hero h1,
.guide-section__head h2 {
  font-family: var(--yi-font) !important;
  color: var(--yi-text) !important;
  font-weight: 780 !important;
}

.guide-hero h1 {
  font-size: 60px !important;
  line-height: 1.04 !important;
}

.guide-hero p {
  color: var(--yi-copy) !important;
  font-size: 18px !important;
  line-height: 1.64 !important;
}

.guide-hero__visual {
  filter: saturate(.92) contrast(.98) !important;
}

.guide-device,
.guide-file-card,
.guide-printer,
.guide-figure,
.guide-steps,
.guide-card,
.guide-faq details {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  box-shadow: none !important;
}

.guide-file-card,
.guide-printer {
  color: var(--yi-blue) !important;
}

.guide-flow-arrow,
.guide-steps svg,
.guide-card b {
  color: var(--yi-blue) !important;
}

.guide-steps {
  margin-top: 28px !important;
  overflow: hidden !important;
}

.guide-steps article,
.guide-steps article + article {
  border-color: var(--yi-line-soft) !important;
}

.guide-steps span,
.guide-card p,
.guide-faq details p {
  color: var(--yi-copy) !important;
}

.guide-steps strong,
.guide-card span,
.guide-faq summary {
  color: var(--yi-text) !important;
  font-weight: 760 !important;
}

.guide-section {
  padding: 72px 0 0 !important;
}

.guide-section__head {
  border-bottom: 1px solid var(--yi-line-soft) !important;
  padding-bottom: 14px !important;
}

.guide-section__head h2 {
  font-size: 30px !important;
}

.guide-section__head a {
  color: var(--yi-blue) !important;
  font-weight: 700 !important;
}

.guide-card img {
  border-radius: 8px !important;
}

.guide-faq {
  padding-bottom: 84px !important;
}

/* Support */
body.support-page {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

body.support-page .support-shell {
  width: min(760px, calc(100% - 48px)) !important;
  max-width: none !important;
  padding: 96px 0 84px !important;
}

body.support-page .support-grid,
body.support-page .panel,
body.support-page .form-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.support-page .form-panel {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  padding: 24px !important;
}

body.support-page .form-head h2 {
  color: var(--yi-text) !important;
  font-size: 30px !important;
  line-height: 1.16 !important;
  font-weight: 780 !important;
}

body.support-page .form-head p,
body.support-page .label,
body.support-page .form-status,
body.support-page .upload-hint,
body.support-page .attach-meta,
body.support-page .success-state p {
  color: var(--yi-copy) !important;
}

body.support-page .input,
body.support-page .select,
body.support-page .textarea,
body.support-page .auth-email,
body.support-page .attach-item,
body.support-page .upload-zone {
  border: 1px solid var(--yi-line) !important;
  border-radius: 8px !important;
  background: var(--yi-surface-soft) !important;
  color: var(--yi-text) !important;
  box-shadow: none !important;
}

body.support-page .input::placeholder,
body.support-page .textarea::placeholder {
  color: var(--yi-muted) !important;
}

body.support-page .input:focus,
body.support-page .select:focus,
body.support-page .textarea:focus {
  border-color: rgba(0, 102, 204, .64) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .14) !important;
}

body.support-page .upload-zone {
  border-style: dashed !important;
}

body.support-page .upload-zone:not(.disabled):hover,
body.support-page .upload-zone.dragover {
  border-color: rgba(0, 102, 204, .54) !important;
  background: #edf5ff !important;
  transform: translateY(-1px) !important;
}

body.support-page .submit-btn,
body.support-page .reset-btn,
body.support-page .attach-remove {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.support-page .submit-btn {
  min-height: 44px !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

body.support-page .reset-btn,
body.support-page .attach-remove {
  border: 1px solid var(--yi-line) !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
}

body.support-page .success-icon,
body.support-page .success-id {
  border-radius: 8px !important;
}

body.support-page .toast {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--yi-text) !important;
  box-shadow: var(--yi-shadow) !important;
}

body.support-page .toast-text {
  color: var(--yi-text) !important;
}

/* Static legal pages */
body.static-shell-page {
  background: var(--yi-page) !important;
}

.static-page {
  max-width: 1180px !important;
  padding: 96px 24px 82px !important;
  color: var(--yi-text) !important;
}

.static-page.narrow {
  max-width: 980px !important;
}

.page-hero {
  max-width: 760px !important;
  margin-bottom: 32px !important;
  padding: 0 !important;
  border: 0 !important;
}

.page-kicker {
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--yi-muted) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

.page-kicker::before {
  display: none !important;
}

.page-hero h1 {
  max-width: 760px !important;
  color: var(--yi-text) !important;
  font-size: 48px !important;
  line-height: 1.08 !important;
  font-weight: 780 !important;
}

.page-hero p,
.page-updated,
.page-panel .lead,
.block p,
.block ul,
.block ol,
.policy-article p,
.policy-article ul,
.policy-article ol,
.data-table td {
  color: var(--yi-copy) !important;
}

.page-hero p {
  font-size: 17px !important;
  line-height: 1.68 !important;
}

.page-summary,
.page-grid {
  gap: 12px !important;
}

.summary-card,
.page-panel,
.block,
.callout,
.link-pill,
.data-table,
.table-wrap {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  box-shadow: none !important;
}

.summary-card .label,
.metric-label {
  color: var(--yi-muted) !important;
  font-size: 12px !important;
  font-weight: 740 !important;
}

.summary-card .value,
.metric-value,
.page-panel h2,
.block h3,
.policy-article h2,
.policy-article h3,
.data-table th {
  color: var(--yi-text) !important;
  font-weight: 760 !important;
}

.summary-card .note {
  color: var(--yi-copy) !important;
}

.page-panel {
  padding: 24px !important;
}

.block {
  background: var(--yi-surface-soft) !important;
}

.callout.ok {
  background: rgba(10, 127, 84, .08) !important;
  color: var(--yi-green) !important;
}

.callout.warn {
  background: rgba(181, 106, 0, .08) !important;
  color: var(--yi-amber) !important;
}

.page-btn,
.link-pill {
  min-height: 42px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.page-btn.primary {
  border-color: var(--yi-blue) !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

.page-btn.secondary,
.link-pill {
  border-color: var(--yi-line) !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
}

.policy-article a {
  color: var(--yi-blue) !important;
}

.data-table th,
.data-table td {
  border-color: var(--yi-line-soft) !important;
}

.data-table th {
  background: var(--yi-surface-soft) !important;
}

/* Admin */
body.admin-ops-page {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

.admin-shell {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

.admin-sidebar {
  border-right: 1px solid var(--yi-line-soft) !important;
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
  backdrop-filter: saturate(180%) blur(18px) !important;
}

.sidebar-brand,
.sidebar-user {
  border-color: var(--yi-line-soft) !important;
}

.brand-wordmark,
.sidebar-user-name,
.section-title,
.subsection-title,
.overview-value,
.list-item-title,
.meta-value,
.admin-modal-title,
.admin-field-label,
.topbar-page-title {
  color: var(--yi-text) !important;
}

.brand-wordmark {
  font-family: var(--yi-font) !important;
  font-size: 22px !important;
  font-weight: 780 !important;
  text-transform: none !important;
}

.sidebar-link {
  border-radius: 8px !important;
  color: var(--yi-copy) !important;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

.sidebar-link.active::before {
  background: var(--yi-blue) !important;
  border-radius: 999px !important;
}

.sidebar-avatar {
  background: #edf5ff !important;
  color: var(--yi-blue) !important;
}

.sidebar-user-email,
.section-meta,
.section-desc,
.overview-label,
.overview-note,
.list-item-subtitle,
.meta-label,
.plain-note,
.topbar-host,
.topbar-updated,
.admin-field-hint,
.admin-empty {
  color: var(--yi-copy) !important;
}

.sidebar-logout,
.topbar-mobile-menu,
.admin-modal-close {
  border-radius: 8px !important;
  color: var(--yi-copy) !important;
}

.admin-main {
  background: var(--yi-page) !important;
}

.admin-topbar {
  border-bottom: 1px solid var(--yi-line-soft) !important;
  background: rgba(251, 251, 253, .88) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
  backdrop-filter: saturate(180%) blur(18px) !important;
}

.admin-body {
  background: var(--yi-page) !important;
}

.admin-section,
.overview-card,
.list-item,
.meta-box,
.admin-chart-wrap,
.admin-list-toolbar,
.admin-modal-content,
.admin-notice,
.admin-preparing-banner,
.identity-review,
.identity-thumb {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
  box-shadow: none !important;
}

.list-item:hover,
.overview-card:hover {
  border-color: var(--yi-line) !important;
  background: var(--yi-surface-soft) !important;
}

.status-pill,
.mini-pill,
.admin-chip {
  border-radius: 999px !important;
  border: 1px solid var(--yi-line-soft) !important;
  background: var(--yi-surface-soft) !important;
  color: var(--yi-copy) !important;
}

.status-pill[data-tone="ok"],
.mini-pill[data-tone="ok"] {
  background: rgba(10, 127, 84, .08) !important;
  color: var(--yi-green) !important;
}

.status-pill[data-tone="warn"],
.mini-pill[data-tone="warn"] {
  background: rgba(181, 106, 0, .08) !important;
  color: var(--yi-amber) !important;
}

.status-pill[data-tone="error"],
.mini-pill[data-tone="error"],
.error-copy {
  background: rgba(196, 43, 43, .08) !important;
  color: #b42318 !important;
}

.admin-btn,
.admin-input,
.admin-textarea,
.admin-uploader,
.admin-checkbox {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.admin-input,
.admin-textarea {
  border: 1px solid var(--yi-line) !important;
  background: var(--yi-surface-soft) !important;
  color: var(--yi-text) !important;
}

.admin-input::placeholder,
.admin-textarea::placeholder {
  color: var(--yi-muted) !important;
}

.admin-input:focus,
.admin-textarea:focus {
  border-color: rgba(0, 102, 204, .64) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .14) !important;
}

.admin-btn.primary {
  border-color: var(--yi-blue) !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

.admin-btn.secondary,
.admin-btn.ghost {
  border-color: var(--yi-line) !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
}

.admin-btn.danger {
  border-color: rgba(196, 43, 43, .26) !important;
  background: rgba(196, 43, 43, .08) !important;
  color: #b42318 !important;
}

.admin-link {
  color: var(--yi-blue) !important;
}

.admin-chart .chart-grid,
.admin-chart .chart-axis {
  stroke: var(--yi-line) !important;
}

.admin-chart .chart-area {
  fill: rgba(0, 102, 204, .1) !important;
}

.admin-chart .chart-line,
.admin-chart .chart-dot {
  stroke: var(--yi-blue) !important;
  fill: var(--yi-blue) !important;
}

.sidebar-overlay {
  background: rgba(0, 0, 0, .24) !important;
}

/* Custom 3D viewer */
body.custom-mold-page {
  --custom-shell: min(1180px, calc(100% - 48px)) !important;
  --custom-ink: var(--yi-text) !important;
  --custom-text: var(--yi-copy) !important;
  --custom-muted: var(--yi-muted) !important;
  --custom-blue: var(--yi-blue) !important;
  --custom-line: var(--yi-line-soft) !important;
}

.custom-mold {
  background: var(--yi-page) !important;
  color: var(--yi-text) !important;
}

.custom-hero {
  width: min(1180px, calc(100% - 48px)) !important;
  padding: 96px 0 28px !important;
  gap: 20px !important;
}

.custom-hero__copy h1 {
  font-family: var(--yi-font) !important;
  color: var(--yi-text) !important;
  font-size: 48px !important;
  line-height: 1.08 !important;
  font-weight: 780 !important;
}

.custom-hero__copy h1 span,
.custom-hero__sub,
.custom-steps,
.ghost-upload,
.preview-actions button,
.view-toolbar button.is-active {
  color: var(--yi-blue) !important;
}

.custom-hero__lead {
  color: var(--yi-copy) !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
}

.custom-hero__sub {
  font-weight: 700 !important;
}

.custom-steps {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  box-shadow: none !important;
}

.custom-steps li:not(.step-arrow) {
  background: transparent !important;
}

.mold-workspace {
  width: min(1180px, calc(100% - 48px)) !important;
  gap: 12px !important;
}

.mold-panel,
.mold-preview-panel,
.solid-card,
.fit-card,
.model-info,
.model-info > div,
.preview-info-card,
.mold-result-card,
.diagnostic-card,
.undercut-card,
.split-preview-card,
.custom-feature-strip,
.custom-feature-strip article,
.volume-grid input[type="number"],
.segmented button,
.chip-row button,
.slider-card {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: var(--yi-surface) !important;
  color: var(--yi-text) !important;
  box-shadow: none !important;
}

.mold-panel h2,
.mold-preview-panel h2,
.solid-card h3,
.fit-card h3,
.preview-info-card h3,
.mold-result-card h3,
.diagnostic-card h3,
.undercut-card h3,
.solid-row strong,
.fit-row strong,
.model-info strong,
.preview-empty-title {
  color: var(--yi-text) !important;
  font-weight: 760 !important;
}

.control-label,
.model-info span,
.solid-row span,
.fit-row span,
.preview-empty-sub,
.solid-summary,
.fit-summary,
.preview-info-card p,
.preview-info-card dt,
.preview-info-card dd,
.toast-message,
.upload-filename {
  color: var(--yi-copy) !important;
}

.ghost-upload,
.preview-actions button,
.view-toolbar button,
.generate-button,
.download-button,
.cart-button,
.mold-import-button {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.ghost-upload,
.preview-actions button,
.view-toolbar button,
.cart-button,
.mold-import-button {
  border: 1px solid var(--yi-line) !important;
  background: var(--yi-surface) !important;
}

.generate-button,
.download-button {
  border: 1px solid var(--yi-blue) !important;
  background: var(--yi-blue) !important;
  color: #fff !important;
}

.preview-stage {
  border-radius: 8px !important;
  background: #f0f0f2 !important;
}

.preview-stage.is-viewer-active .stage-grid {
  opacity: .32 !important;
}

.view-toolbar {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: none !important;
}

.view-toolbar button.is-active {
  background: #edf5ff !important;
}

.solid-flag,
.unit-convert-badge,
.undercut-verdict,
.split-preview-list .verdict,
.diagnostic-card .diag-status {
  border-radius: 999px !important;
}

.solid-flag.pending,
.diagnostic-card .diag-status.pending {
  background: var(--yi-surface-soft) !important;
  color: var(--yi-copy) !important;
}

.solid-flag.ok,
.solid-summary.ok,
.fit-summary.ok,
.diagnostic-card .diag-status.ok,
.split-preview-list .verdict.pass,
.undercut-verdict.ok {
  background: rgba(10, 127, 84, .08) !important;
  color: var(--yi-green) !important;
}

.solid-flag.fail,
.solid-summary.fail,
.fit-summary.fail,
.diagnostic-card .diag-status.fail,
.split-preview-list .verdict.fail,
.undercut-verdict.fail {
  background: rgba(196, 43, 43, .08) !important;
  color: #b42318 !important;
}

.solid-summary.warn,
.fit-summary.warn,
.diagnostic-card .diag-status.warn,
.split-preview-list .verdict.warn,
.undercut-verdict.warn {
  background: rgba(181, 106, 0, .08) !important;
  color: var(--yi-amber) !important;
}

.toast-container .toast {
  border: 1px solid var(--yi-line-soft) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--yi-text) !important;
  box-shadow: var(--yi-shadow) !important;
}

.toast-title {
  color: var(--yi-text) !important;
}

/* Responsive refinements */
@media (max-width: 1180px) {
  .maintenance-page h1,
  html[data-store-view="catalog"] body:not(.detail-page) .hero-title-wrap h1 {
    font-size: 52px !important;
  }

  .auth-page .visual-title {
    font-size: 42px;
  }

  .account-title {
    font-size: 36px;
  }
}

@media (max-width: 980px) {
  .checkout-shell {
    display: block !important;
    background: var(--yi-page) !important;
  }

  .checkout-order-panel {
    min-height: auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--yi-line) !important;
  }

  .checkout-payment-panel {
    background: var(--yi-page) !important;
  }

  .checkout-payment-inner {
    width: min(100%, calc(100% - 32px)) !important;
    padding: 34px 0 48px !important;
  }

  .checkout-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .checkout-benefit {
    grid-template-columns: 1fr !important;
  }

  .maintenance-page .hero-shell,
  .account-hero-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-page .hero-shell {
    align-items: center;
  }

  .maintenance-page .maintenance-panel {
    max-width: 520px;
  }

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

  .auth-page .auth-visual {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--yi-line);
  }

  .auth-page .visual-copy {
    max-width: 560px;
  }

  .auth-page .visual-art {
    opacity: .36;
  }

  html[data-store-view="catalog"] body:not(.detail-page) {
    --store-shell: min(100%, calc(100% - 32px)) !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .store-body {
    grid-template-columns: 1fr !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .store-sidebar,
  html[data-store-view="catalog"] body:not(.detail-page) .results {
    grid-column: 1 !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .hero-feature {
    margin: 0 0 26px !important;
  }
}

@media (max-width: 760px) {
  .checkout-order-panel {
    padding: 18px 16px 24px !important;
    gap: 14px !important;
  }

  .checkout-page .checkout-logo {
    font-size: 28px !important;
  }

  .checkout-cart-link {
    min-height: 34px !important;
  }

  .checkout-visual {
    max-height: 210px !important;
  }

  .checkout-progress {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .checkout-progress li {
    min-height: 38px !important;
    justify-content: flex-start !important;
  }

  .checkout-item {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .checkout-item-thumb {
    width: 84px !important;
    height: 84px !important;
  }

  .checkout-item-name {
    font-size: 16px !important;
  }

  .checkout-item-meta {
    font-size: 13px !important;
  }

  .checkout-benefits {
    grid-template-columns: 1fr !important;
  }

  .checkout-benefit {
    grid-template-columns: 32px minmax(0, .72fr) minmax(0, 1fr) !important;
  }

  .checkout-payment-inner {
    width: calc(100% - 28px) !important;
    padding-top: 28px !important;
  }

  .checkout-hero h1 {
    font-size: 34px !important;
  }

  .checkout-section {
    padding: 16px !important;
  }

  .checkout-section-head,
  .checkout-quantity-line,
  .checkout-option-line {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .checkout-shipping-grid {
    grid-template-columns: 1fr !important;
  }

  .checkout-method-tabs {
    grid-template-columns: 1fr !important;
  }

  .checkout-agree-line {
    align-items: flex-start !important;
  }

  .maintenance-page .topbar {
    padding: 0 16px;
  }

  .maintenance-page .admin-login span,
  .maintenance-page .top-actions .text-link {
    display: none;
  }

  .maintenance-page .admin-login {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .maintenance-page .hero {
    padding: 76px 0 34px;
  }

  .maintenance-page .hero-media {
    height: 38dvh;
    min-height: 240px;
  }

  .maintenance-page .hero-shell,
  body.detail-page .store-detail[data-sale-type] .detail-shell {
    width: calc(100% - 32px) !important;
  }

  .maintenance-page h1,
  html[data-store-view="catalog"] body:not(.detail-page) .hero-title-wrap h1 {
    font-size: 40px !important;
  }

  .maintenance-page .lead,
  html[data-store-view="catalog"] body:not(.detail-page) .hero-tagline {
    font-size: 15px !important;
  }

  .maintenance-page .hero-actions,
  .maintenance-page .notify-row,
  .account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-page .auth-visual {
    min-height: 240px;
  }

  .auth-page .visual-title {
    font-size: 34px;
  }

  .auth-page .visual-lead {
    font-size: 15px;
  }

  .auth-page .auth-main {
    padding: 28px 16px 34px;
  }

  .auth-page .lang-control {
    top: 14px;
    right: 14px;
  }

  .auth-page .card-body {
    padding: 20px;
  }

  .auth-page .title {
    font-size: 28px;
  }

  .account-shell .stage-inner {
    padding: 18px 16px 48px;
  }

  .account-hero-panel {
    min-height: auto;
    padding: 24px;
  }

  .account-hero-art {
    opacity: .18;
  }

  .account-title {
    font-size: 30px;
  }

  .account-route-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .account-route-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-route-tab {
    flex: 0 0 auto;
  }

  .account-overview-grid,
  .account-quick-grid {
    grid-template-columns: 1fr;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .store-page {
    padding-top: 32px !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .hero-identity {
    padding: 36px 0 22px !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .catalog-tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .catalog-tabs::-webkit-scrollbar {
    display: none !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .catalog-tab {
    flex: 0 0 auto !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .store-loading,
  html[data-store-view="catalog"] body:not(.detail-page) .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.detail-page .store-detail[data-sale-type] .detail-title-block h1 {
    font-size: 30px !important;
  }
}

@media (max-width: 460px) {
  .checkout-benefit {
    grid-template-columns: 32px minmax(0, 1fr) !important;
  }

  .checkout-benefit span {
    grid-column: 2 !important;
  }

  .checkout-zip-row {
    grid-template-columns: 1fr !important;
  }

  .maintenance-page .hero-shell {
    width: calc(100% - 24px) !important;
  }

  html[data-store-view="catalog"] body:not(.detail-page) {
    --store-shell: calc(100% - 24px) !important;
  }

  .maintenance-page h1,
  html[data-store-view="catalog"] body:not(.detail-page) .hero-title-wrap h1 {
    font-size: 34px !important;
  }

  .auth-page .visual-title {
    font-size: 30px;
  }

  .auth-page .card-body {
    padding: 18px;
  }

  .auth-page .auth-options {
    align-items: flex-start;
    flex-direction: column;
  }

  html[data-store-view="catalog"] body:not(.detail-page) .store-loading,
  html[data-store-view="catalog"] body:not(.detail-page) .store-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px) {
  .home-hero h1,
  .guide-hero h1 {
    font-size: 52px !important;
  }

  .home-product-grid,
  .guide-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .home-shops-grid,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mold-workspace {
    grid-template-columns: 320px minmax(0, 1fr) !important;
  }
}

@media (max-width: 980px) {
  .guide-hero,
  .custom-hero {
    grid-template-columns: 1fr !important;
  }

  .guide-hero__visual {
    justify-content: flex-start !important;
  }

  .home-process,
  .mold-workspace,
  .page-grid {
    grid-template-columns: 1fr !important;
  }

  .mold-settings-panel {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .admin-body {
    padding: 18px 16px 48px !important;
  }

  .admin-section {
    padding: 18px !important;
  }
}

@media (max-width: 720px) {
  .home-shell,
  .home-hero__inner,
  .guide-shell,
  .guide-hero,
  .custom-hero,
  .mold-workspace,
  .static-page,
  body.support-page .support-shell {
    width: calc(100% - 32px) !important;
  }

  .home-hero {
    min-height: calc(100svh - 54px) !important;
  }

  .home-hero h1,
  .guide-hero h1,
  .custom-hero__copy h1,
  .page-hero h1 {
    font-size: 40px !important;
  }

  .home-hero__lead,
  .guide-hero p,
  .custom-hero__lead,
  .page-hero p {
    font-size: 15px !important;
  }

  .home-section,
  .guide-section {
    padding: 54px 0 !important;
  }

  .home-category-showcase,
  .home-product-grid,
  .home-shops-grid,
  .guide-steps,
  .guide-card-grid,
  .guide-faq-grid,
  .page-summary {
    grid-template-columns: 1fr !important;
  }

  .home-category-links {
    grid-template-columns: 1fr !important;
  }

  .home-category-feature,
  .home-product-card,
  .home-shop-card,
  .guide-card,
  .summary-card,
  .page-panel,
  body.support-page .form-panel {
    padding: 18px !important;
  }

  .home-category-feature picture,
  .home-product-card__media {
    min-height: 220px !important;
  }

  .guide-steps article,
  .guide-steps article + article {
    border-left: 0 !important;
    border-top: 1px solid var(--yi-line-soft) !important;
  }

  .guide-steps article:first-child {
    border-top: 0 !important;
  }

  .guide-flow-arrow {
    display: none !important;
  }

  .static-page {
    padding: 78px 16px 64px !important;
  }

  .page-actions,
  body.support-page .form-foot,
  .home-hero__actions,
  .home-cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

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

  .admin-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .admin-toolbar .admin-input,
  .admin-toolbar .admin-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .custom-steps {
    grid-template-columns: 1fr !important;
  }

  .custom-steps .step-arrow {
    display: none !important;
  }

  .preview-stage {
    min-height: 430px !important;
  }

  .view-toolbar {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 460px) {
  .home-shell,
  .home-hero__inner,
  .guide-shell,
  .guide-hero,
  .custom-hero,
  .mold-workspace,
  body.support-page .support-shell {
    width: calc(100% - 24px) !important;
  }

  .home-hero h1,
  .guide-hero h1,
  .custom-hero__copy h1,
  .page-hero h1 {
    font-size: 34px !important;
  }

  .home-section__head,
  .guide-section__head,
  .admin-list-toolbar {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

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

  .preview-title-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .view-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ═══════════════════════════════════════════════════════
   2026-05-07 — global polish layer
   typography · header overlap · motion · responsive grids
   ═══════════════════════════════════════════════════════ */

/* Apple-style typography polish (전역 적용) */
html {
  font-family: var(--yi-font);
}

body {
  font-family: var(--yi-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  letter-spacing: -0.011em;
}

h1, h2, h3, h4, h5, h6,
.hero-title-wrap h1,
.home-hero__title,
.guide-hero__title,
.auth-headline,
.checkout-progress h1 {
  font-family: var(--yi-font);
  letter-spacing: -0.022em;
  font-feature-settings: "ss01", "cv11";
}

h1 { font-weight: 720; }
h2 { font-weight: 680; }
h3 { font-weight: 640; }

button, input, select, textarea, .btn, a {
  font-family: var(--yi-font);
}

/* 한국어 가독성: 미세조정 */
:lang(ko) body,
html:lang(ko) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ── 헤더 ↔ 히어로 겹침 효과 ───────────────────────── */
/* Hero 영역의 첫 화면이 헤더 뒤로 들어가게 + 가독성을 위한 그라디언트 오버레이 */
.hero,
.home-hero,
.auth-visual,
.guide-hero,
.checkout-visual,
.account-hero-art,
.mold-preview-panel {
  position: relative;
  isolation: isolate;
}

.home-hero,
.guide-hero,
html[data-store-view="catalog"] body:not(.detail-page) .hero {
  margin-top: calc(-1 * var(--yk-header-height, 54px));
  padding-top: calc(var(--yk-header-height, 54px) + clamp(40px, 6vw, 88px));
}

/* hero 상단 자연스러운 어두운 그라디언트 (헤더 텍스트 가독성) */
.home-hero::before,
.guide-hero::before,
html[data-store-view="catalog"] body:not(.detail-page) .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--yk-header-height, 54px) + 24px);
  background: linear-gradient(180deg,
    rgba(7, 8, 11, 0.45) 0%,
    rgba(7, 8, 11, 0.18) 60%,
    rgba(7, 8, 11, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* 라이트 헤더 페이지에선 화이트 그라디언트로 */
.m24-header.light-surface ~ * .home-hero::before,
.m24-header.light-surface ~ * .guide-hero::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.22) 60%,
    rgba(255, 255, 255, 0) 100%);
}

/* ── 모션 polish (Apple ease) ─────────────────────── */
:root {
  --yi-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --yi-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

a, button, .btn,
.home-product-card,
.store-product-card,
.guide-card,
.home-category-card,
.account-card,
.checkout-card {
  transition:
    transform 0.32s var(--yi-ease),
    box-shadow 0.32s var(--yi-ease),
    background-color 0.24s var(--yi-ease-soft),
    border-color 0.24s var(--yi-ease-soft),
    color 0.18s var(--yi-ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .home-product-card:hover,
  .store-product-card:hover,
  .guide-card:hover {
    transform: translateY(-3px);
  }
}

/* hero 등장 페이드업 */
@keyframes yi-fade-up {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes yi-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-identity > *,
.home-hero__copy > *,
.guide-hero__copy > *,
.auth-card > * {
  animation: yi-fade-up 0.7s var(--yi-ease) both;
}

.hero-identity > *:nth-child(2),
.home-hero__copy > *:nth-child(2),
.guide-hero__copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-identity > *:nth-child(3),
.home-hero__copy > *:nth-child(3),
.guide-hero__copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-identity > *:nth-child(4),
.home-hero__copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

.home-hero__media,
.hero-media,
.guide-hero__visual {
  animation: yi-fade-in 1s var(--yi-ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-identity > *,
  .home-hero__copy > *,
  .guide-hero__copy > *,
  .auth-card > *,
  .home-hero__media,
  .hero-media,
  .guide-hero__visual {
    animation: none !important;
  }
}

/* ── 모바일 반응형 fallback (그리드 4–5열 → 모바일 1–2열) ─── */
@media (max-width: 768px) {
  .home-product-grid,
  .store-grid,
  .home-category-links,
  .benefit-grid,
  .stat-grid,
  .guide-card-grid,
  .guide-steps,
  .sample-grid,
  .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .home-product-grid,
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home-category-links,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .stat-grid,
  .admin-form-grid,
  .guide-steps {
    grid-template-columns: 1fr !important;
  }
}

/* 모바일 가로 스크롤 가드 */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  body {
    max-width: 100vw;
  }
}

/* iOS 안전영역 보정 (헤더/푸터/checkout) */
.m24-header,
.m24-footer,
.checkout-shell {
  padding-left: max(env(safe-area-inset-left), 0px);
  padding-right: max(env(safe-area-inset-right), 0px);
}

/* 터치 타겟 최소 크기 (모바일) */
@media (max-width: 768px) {
  a, button,
  .home-wish,
  .store-product-card .wish,
  .icon-button {
    min-height: 40px;
    min-width: 40px;
  }
}

/* 작은 폰트 가독성 보강 */
@media (max-width: 480px) {
  .product-badge,
  .meta-label,
  .status-pill {
    font-size: 11.5px !important;
  }
}

/* ── 모바일 터치 UX ──────────────────────────────── */
button, a, .btn, [role="button"],
.home-product-card, .store-product-card,
.guide-card, .home-category-card {
  touch-action: manipulation;
}

/* iOS dynamic viewport (가상 키보드 올라올 때 vh 깨짐 방지) */
@supports (height: 100dvh) {
  .auth-page,
  .maintenance-page,
  .checkout-shell,
  .full-viewport {
    min-height: 100dvh;
  }
}

/* 입력 포커스 시 iOS 자동 줌 방지 (16px 이상으로) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: max(16px, 1rem);
  }
}

/* 가로/세로 회전 변경 시 자연스러운 전환 */
@media (orientation: landscape) and (max-height: 480px) {
  .home-hero,
  .guide-hero {
    padding-top: calc(var(--yk-header-height, 54px) + 24px) !important;
    padding-bottom: 24px !important;
  }
}

/* 스크롤 정밀도 — 모바일 부드러운 스크롤 */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 포커스 가시성 (키보드 네비게이션) */
:focus-visible {
  outline: 2px solid var(--yi-blue, #0066cc);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 클릭 가능한 카드의 모바일 active 상태 (호버 대신) */
@media (hover: none) and (pointer: coarse) {
  .home-product-card:active,
  .store-product-card:active,
  .guide-card:active {
    transform: scale(0.985);
    transition: transform 0.12s ease;
  }
}

/* ════════════════════════════════════════════════════════
   2026-05-08 — 헤더 ↔ 바디 배경이미지 겹침 (PC/모바일 완전반응형)
   글래스 강화 + 모든 hero 페이지에 명시적 negative margin
   ════════════════════════════════════════════════════════ */

/* ── 헤더 글래스 강화 ─────────────────────────────────── */
/* 다크 헤더 — 배경 더 투명, blur·saturate 강화 */
.m24-header {
  background: rgba(7, 8, 11, 0.52) !important;
  backdrop-filter: saturate(200%) blur(28px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(28px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.m24-header.scrolled {
  background: rgba(7, 8, 11, 0.78) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* 라이트 헤더 — hero 이미지가 비치도록 더 투명하게 */
.m24-header.light-surface {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: saturate(200%) blur(28px) !important;
  -webkit-backdrop-filter: saturate(200%) blur(28px) !important;
  border-bottom: 1px solid rgba(11, 13, 18, 0.06) !important;
}

.m24-header.light-surface.scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  border-bottom-color: rgba(11, 13, 18, 0.09) !important;
}

/* backdrop-filter 미지원 브라우저 폴백 */
@supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .m24-header {
    background: rgba(7, 8, 11, 0.92) !important;
  }
  .m24-header.light-surface {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

/* ── Hero 영역이 헤더 뒤로 들어가게 (모든 페이지) ───────── */

:root {
  --yi-header-h: 54px;
  --yi-header-h-mobile: 48px;
}

@media (max-width: 768px) {
  :root {
    --yi-header-h: var(--yi-header-h-mobile);
  }
}

/* hero/visual 영역에 공통 적용 — 헤더 뒤로 풀블리드 */
.home-hero,
.guide-hero,
.auth-visual,
.checkout-visual,
.account-hero-art,
.mold-preview-panel,
.hero-media,
.page-hero,
html[data-store-view="catalog"] body:not(.detail-page) .hero,
html[data-store-mode] body:not(.detail-page) .hero {
  margin-top: calc(-1 * var(--yi-header-h)) !important;
  padding-top: calc(var(--yi-header-h) + clamp(36px, 6vw, 92px)) !important;
  position: relative;
  isolation: isolate;
}

/* hero가 페이지의 첫 자식이 아닌 경우 (감싸는 컨테이너의 padding-top 제거) */
.auth-page > main,
.home-page > main,
.guide-page > main,
.checkout-page > main,
body.has-hero > main,
body.has-hero > .home-shell,
body.has-hero > .guide-shell {
  padding-top: 0 !important;
}

/* 헤더 가독성 보강 — 라이트 hero 위 라이트 헤더의 텍스트가 묻히지 않게 */
.home-hero::before,
.guide-hero::before,
.auth-visual::before,
.checkout-visual::before,
html[data-store-view="catalog"] body:not(.detail-page) .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--yi-header-h) + 32px);
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.08) 60%,
    rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* 라이트 hero(밝은 이미지) — 흰색 그라디언트로 가독성 확보 */
body.light-hero .home-hero::before,
body.light-hero .guide-hero::before,
body[data-hero-tone="light"] .home-hero::before,
body[data-hero-tone="light"] .guide-hero::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.18) 60%,
    rgba(255, 255, 255, 0) 100%);
}

/* hero 콘텐츠가 그라디언트 위로 올라오게 */
.home-hero > *,
.guide-hero > *,
.auth-visual > *,
.checkout-visual > * {
  position: relative;
  z-index: 2;
}

/* ── 모바일 반응형 — hero 패딩/높이 보정 ────────────────── */
@media (max-width: 768px) {
  .home-hero,
  .guide-hero,
  .auth-visual,
  .checkout-visual,
  .account-hero-art,
  html[data-store-view="catalog"] body:not(.detail-page) .hero {
    padding-top: calc(var(--yi-header-h) + clamp(28px, 8vw, 56px)) !important;
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }
}

@media (max-width: 480px) {
  .home-hero,
  .guide-hero {
    min-height: auto;
  }
}

/* ── 모바일 헤더 슬림 (PC 54 → 모바일 48) ──────────────── */
@media (max-width: 768px) {
  .m24-header {
    height: var(--yi-header-h-mobile) !important;
  }
}

/* iOS 안전영역 (notch) 헤더 좌우 패딩 */
.m24-header,
.m24-header-inner {
  padding-left: max(env(safe-area-inset-left), 0px);
  padding-right: max(env(safe-area-inset-right), 0px);
}

/* ════════════════════════════════════════════════════════
   2026-05-08 — 페이지 첫 섹션 이미지가 헤더 뒤로 풀블리드
   home/guide/auth 등의 ::before 흰색 오버레이를 약화하여
   헤더 글래스 너머로 이미지가 비치도록
   ════════════════════════════════════════════════════════ */

/* home hero — 위→아래 흰색 그라디언트 제거, 좌→우만 유지 */
body.home-commerce-page .home-hero::before {
  background: linear-gradient(90deg,
    rgba(248, 251, 255, 0.94) 0%,
    rgba(248, 251, 255, 0.78) 22%,
    rgba(248, 251, 255, 0.32) 56%,
    rgba(248, 251, 255, 0) 100%) !important;
}

@media (max-width: 768px) {
  body.home-commerce-page .home-hero::before {
    background: linear-gradient(180deg,
      rgba(248, 251, 255, 0.10) 0%,
      rgba(248, 251, 255, 0.55) 60%,
      rgba(248, 251, 255, 0.92) 100%) !important;
  }
}

/* home-landing의 overflow:hidden이 hero negative margin을 자르므로 visible로 */
body.home-commerce-page .home-landing {
  overflow: visible !important;
}

body.home-commerce-page {
  overflow-x: hidden;
}

/* hero 박스 자체가 헤더 위까지 풀블리드되도록 명시 */
body.home-commerce-page .home-hero {
  margin-top: calc(-1 * var(--yi-header-h)) !important;
  padding-top: calc(var(--yi-header-h) + clamp(40px, 6vw, 96px)) !important;
  min-height: clamp(620px, 100svh, 860px) !important;
  border-bottom: 0 !important;
}

/* hero 미디어가 헤더 영역까지 정확히 덮도록 */
body.home-commerce-page .home-hero__media {
  inset: 0 !important;
  z-index: 0 !important;
}
body.home-commerce-page .home-hero__media img {
  height: 100% !important;
  object-position: center 30% !important;
}

body.home-commerce-page .home-hero::before {
  z-index: 1 !important;
}

body.home-commerce-page .home-hero__inner {
  position: relative;
  z-index: 2;
}

/* guide hero — 동일 패턴 */
.guide-hero {
  margin-top: calc(-1 * var(--yi-header-h)) !important;
  padding-top: calc(var(--yi-header-h) + clamp(40px, 6vw, 96px)) !important;
}

/* auth hero — 인증 페이지 좌측 시각 영역 */
body.auth-page .auth-visual {
  margin-top: calc(-1 * var(--yi-header-h)) !important;
  padding-top: calc(var(--yi-header-h) + clamp(28px, 4vw, 64px)) !important;
}

/* ════════════════════════════════════════════════════════
   2026-05-08 — 점검 페이지 .topbar / .footer / .hero polish
   (자체 컴포넌트 — m24-header/footer와 별도)
   ════════════════════════════════════════════════════════ */

.maintenance-page .topbar {
  background: rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: saturate(200%) blur(28px) !important;
  backdrop-filter: saturate(200%) blur(28px) !important;
  border-bottom: 1px solid rgba(11, 13, 18, 0.06) !important;
  box-shadow: 0 1px 0 rgba(11, 13, 18, 0.02);
  transition: background 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .maintenance-page .topbar {
    background: rgba(255, 255, 255, 0.94) !important;
  }
}

.maintenance-page .topbar .brand {
  font-family: "Quicksand", "Nunito Sans", "SF Pro Rounded", "Pretendard Variable", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #5b8fd1;
  font-feature-settings: "ss01", "cv11";
  line-height: 1;
  text-transform: none;
}

.maintenance-page .topbar .text-link,
.maintenance-page .topbar .icon-button,
.maintenance-page .topbar .admin-login {
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.2s ease,
              transform 0.2s ease,
              border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .maintenance-page .topbar .text-link:hover,
  .maintenance-page .topbar .icon-button:hover,
  .maintenance-page .topbar .admin-login:hover {
    transform: translateY(-1px);
    background: rgba(11, 13, 18, 0.04);
  }
}

.maintenance-page .topbar .text-link:active,
.maintenance-page .topbar .icon-button:active,
.maintenance-page .topbar .admin-login:active {
  transform: translateY(0) scale(0.97);
}

/* hero 이미지가 헤더 뒤로 잘 들어가도록 */
.maintenance-page .hero {
  margin-top: 0 !important;
  padding-top: calc(var(--yi-header-h, 54px) + 24px);
  position: relative;
  isolation: isolate;
}

.maintenance-page .hero-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  margin: 0 !important;
}

.maintenance-page .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.40) 0%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.85) 100%);
  pointer-events: none;
}

.maintenance-page .hero-shell,
.maintenance-page .hero-shell * {
  position: relative;
  z-index: 1;
}

.maintenance-page .hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left center !important;
}

@media (max-width: 880px) {
  .maintenance-page .hero-media {
    position: relative !important;
    height: 38vh;
    min-height: 240px;
  }
  .maintenance-page .hero-media::after {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 255, 255, 0.20) 60%,
      rgba(255, 255, 255, 0.85) 100%);
  }
}

/* footer 정련 — 한 줄 그대로 두되 톤·여백 정리 */
.maintenance-page .footer {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem clamp(16px, 4vw, 32px);
  font-size: 0.78rem;
  color: rgba(81, 81, 84, 0.86);
  font-feature-settings: "tnum";
  letter-spacing: 0.01em;
  border-top: 1px solid rgba(11, 13, 18, 0.06);
  background: rgba(251, 251, 253, 0.62);
}

/* ── 공통 m24-header light-surface 톤 정렬 ───────────── */
.m24-header.light-surface {
  border-bottom-color: rgba(11, 13, 18, 0.07) !important;
}
.m24-header.light-surface.scrolled {
  box-shadow: 0 1px 0 rgba(11, 13, 18, 0.06),
              0 14px 36px rgba(11, 13, 18, 0.06) !important;
}

/* /auth 카드 좌우 여백 살짝 보강 */
body.auth-page .auth-card,
body.auth-page .auth-shell-content {
  padding-right: clamp(16px, 3vw, 32px);
}

/* ════════════════════════════════════════════════════════
   2026-05-08 — 쿠키 바 + 채팅 FAB 겹침 해소 + 위치 정련
   ════════════════════════════════════════════════════════ */

/* 쿠키 바: 모바일에서 채팅 FAB과 안 겹치게 좌측·하단으로 */
.m24-cookie-bar {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.26s ease;
}

@media (max-width: 760px) {
  .m24-cookie-bar {
    left: 12px !important;
    right: 92px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: none !important;
    border-radius: 14px !important;
  }
}

/* 쿠키 바가 보이는 동안 채팅 FAB을 살짝 위로 올려 시각 충돌 회피 */
@media (max-width: 760px) {
  body.m24-cookie-visible .m24-chat-fab {
    bottom: calc(var(--yc-fab-inset, 22px) + 80px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ── 정적 페이지 헤더 ↔ 본문 시각 구분 (light-surface 강화) ── */
body.policy-page .static-page,
body.support-page .static-page,
body.guide-page .guide-shell {
  padding-top: clamp(36px, 5vw, 64px);
}

/* 정적 페이지 hero 영역 미세 톤 — 헤더 글래스 효과를 받는 그라디언트 배경 */
body.policy-page,
body.support-page,
body.guide-page {
  background:
    radial-gradient(40rem 24rem at 78% -8%, rgba(10, 132, 255, 0.06), transparent 70%),
    var(--yi-page, #f5f5f7);
}

/* ── 헤더/푸터 마운트 시 부드러운 fade-in ───────────────── */
.m24-header:not(.mounted) {
  opacity: 0;
}
.m24-header.mounted {
  animation: yiHeaderFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.m24-footer {
  opacity: 0;
  animation: yiFooterFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
@keyframes yiHeaderFadeIn {
  from { opacity: 0; transform: translate3d(0, -6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes yiFooterFadeIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .m24-header,
  .m24-footer {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* 정적 페이지 본문 카드 hover 톤 정련 */
@media (hover: hover) and (pointer: fine) {
  .static-page .page-panel,
  .guide-shell .guide-card {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.24s ease;
  }
  .static-page .page-panel:hover,
  .guide-shell .guide-card:hover {
    transform: translateY(-2px);
  }
}

