/* ============================================================
   Moonwhite — design system
   Warm cream / honey aesthetic · Fredoka + Nunito + DM Mono
   ============================================================ */

:root {
  --bg:        #F6EFE3;
  --bg-2:      #EFE6D5;
  --card:      #FFFCF6;
  --field:     #FBF7EF;
  --ink:       #2E2822;
  --muted:     #7C7264;
  --muted-2:   #8A8073;
  --faint:     #9A9081;
  --line:      #E7DDCB;
  --line-2:    #EEE5D5;
  --honey:     #C4863C;
  --honey-2:   #DDA86E;
  --brown:     #B0742E;
  --green:     #5FA36A;
  --danger:    #C0552E;
  --shadow-sm: 0 6px 18px -14px rgba(120,90,50,.4);
  --shadow-md: 0 16px 38px -22px rgba(120,90,50,.45);
  --shadow-lg: 0 24px 54px -30px rgba(120,90,50,.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
input, textarea, select, button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

@keyframes mw-floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes mw-spin   { to{transform:rotate(360deg)} }
@keyframes mw-pulse  { 0%,100%{opacity:.25;transform:scale(.9)} 50%{opacity:1;transform:scale(1)} }
@keyframes mw-rise   { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

.mw-fred { font-family: 'Fredoka', sans-serif; }
.mw-mono { font-family: 'DM Mono', monospace; }

/* ---------- Layout helpers ---------- */
.mw-wrap   { max-width: 1180px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.mw-narrow { max-width: 840px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

/* ---------- Buttons ---------- */
.mw-btn {
  border: none; cursor: pointer; font-weight: 700; font-size: 16px;
  color: #fff; background: var(--honey);
  padding: 15px 28px; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(196,134,60,.9);
  transition: transform .15s, box-shadow .15s, filter .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.mw-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.mw-btn:active { transform: translateY(0); }
.mw-btn.disabled, .mw-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.mw-btn-ghost {
  color: var(--muted); background: var(--card);
  border: 1px solid #E2D7C4; box-shadow: none;
}
.mw-btn-ghost:hover { filter: none; background: #F7F1E6; }
.mw-btn-soft {
  color: var(--muted); background: #F3ECDE;
  border: 1px solid #E2D7C4; box-shadow: none; border-radius: 12px;
}
.mw-btn-block { width: 100%; justify-content: center; border-radius: 14px; }

/* ---------- Card / field ---------- */
.mw-card {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 24px; box-shadow: var(--shadow-md);
}
.mw-label { font-size: 12.5px; font-weight: 700; color: var(--muted-2); display: block; }
.mw-input {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid #E2D7C4; background: var(--field);
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.mw-input:focus { border-color: var(--honey); box-shadow: 0 0 0 3px rgba(196,134,60,.14); }

.mw-eyebrow {
  font-weight: 800; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brown);
}
.mw-gradient {
  background: linear-gradient(100deg, var(--honey), var(--honey-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.mw-nav-outer {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,239,227,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ECE3D2;
}
.mw-nav {
  max-width: 1180px; margin: 0 auto; padding: 13px 22px;
  display: flex; align-items: center; gap: 18px;
}
.mw-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: none; }
.mw-logo-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FCF8EF, #E7D6B9);
  box-shadow: inset -3px -3px 7px rgba(178,146,96,.4), 0 4px 11px -5px rgba(150,110,60,.5);
}
.mw-logo-txt { font-family: 'Fredoka'; font-weight: 600; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.mw-nav-links { display: flex; gap: 24px; margin-left: 12px; flex: 1; flex-wrap: wrap; align-items: center; }
.mw-nav-links a { cursor: pointer; font-weight: 600; font-size: 15px; color: #5C544A; }
.mw-nav-links a:hover { color: var(--ink); }
.mw-nav-right { display: flex; align-items: center; gap: 12px; flex: none; }
.mw-nav-login { cursor: pointer; font-weight: 700; font-size: 15px; color: #5C544A; }
.mw-nav-cta {
  border: none; cursor: pointer; font-weight: 700; font-size: 15px; color: #fff;
  background: var(--honey); padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(196,134,60,.8);
}
.mw-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3D9B8, #D6A86E);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: 'Fredoka'; font-weight: 600; color: #5A3E1E;
  border: 2px solid #fff; box-shadow: 0 4px 12px -5px rgba(150,110,60,.6);
  text-transform: uppercase;
}
.mw-menu {
  position: absolute; right: 0; top: 50px; width: 210px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 45px -18px rgba(120,90,50,.45);
  padding: 8px; animation: mw-rise .18s ease;
}
.mw-menu a { display: block; padding: 11px 13px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.mw-menu a:hover { background: #F5EEE0; }
.mw-menu a.danger { color: var(--brown); }
.mw-menu-sep { height: 1px; background: var(--line-2); margin: 4px 6px; }
.mw-hidden { display: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.mw-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.mw-footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 30px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.mw-footer-logo { display: flex; align-items: center; gap: 10px; }
.mw-footer-logo .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FCF8EF, #E7D6B9);
  box-shadow: inset -2px -2px 5px rgba(178,146,96,.4);
}
.mw-footer-copy { font-size: 13.5px; color: var(--faint); font-weight: 600; }

/* ============================================================
   HOME
   ============================================================ */
.mw-hero-img { display: block; width: 100%; aspect-ratio: 2280 / 1280; object-fit: cover; object-position: center; }
.mw-hero-badge-float {
  position: absolute; left: clamp(16px,4vw,64px); bottom: clamp(16px,3vw,40px);
  background: rgba(255,252,246,.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 11px 16px;
  box-shadow: 0 18px 38px -16px rgba(120,90,50,.5); animation: mw-floaty 5s ease-in-out infinite;
}
.mw-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: 13px;
  color: var(--brown); box-shadow: 0 6px 16px -10px rgba(150,110,60,.4);
}
.mw-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); display: inline-block; }
.mw-h1 { font-family: 'Fredoka'; font-weight: 600; font-size: clamp(34px,5vw,58px); line-height: 1.06; letter-spacing: -.02em; margin: 20px 0 0; color: var(--ink); }
.mw-lead { font-size: clamp(16px,1.6vw,19px); line-height: 1.6; color: var(--muted); max-width: 520px; margin: 18px auto 0; }
.mw-stat-num { font-family: 'Fredoka'; font-weight: 600; font-size: 30px; color: var(--ink); }
.mw-stat-label { font-size: 13.5px; font-weight: 600; color: var(--faint); margin-top: 2px; }
.mw-section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.mw-h2 { font-family: 'Fredoka'; font-weight: 600; font-size: clamp(28px,3.6vw,42px); letter-spacing: -.01em; margin: 12px 0 0; color: var(--ink); }
.mw-how-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px 26px; box-shadow: 0 14px 32px -20px rgba(120,90,50,.4); }
.mw-how-num { width: 46px; height: 46px; border-radius: 14px; background: #F3E7D2; display: flex; align-items: center; justify-content: center; font-family: 'Fredoka'; font-weight: 600; font-size: 19px; color: var(--brown); }
.mw-gallery-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: 16px; box-shadow: 0 16px 38px -22px rgba(120,90,50,.45); }
.mw-compare { display: flex; align-items: center; gap: 12px; }
.mw-compare .img { flex: 1; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #EFE6D4; }
.mw-compare .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-compare .arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--honey); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; box-shadow: 0 6px 14px -6px rgba(196,134,60,.9); }
.mw-discover { background: linear-gradient(135deg, #2E2822, #413A30); }
.mw-cta-box { background: var(--card); border: 1px solid var(--line-2); border-radius: 30px; padding: clamp(36px,5vw,64px); text-align: center; box-shadow: var(--shadow-lg); }

/* ============================================================
   WIZARD (/upload)
   ============================================================ */
.mw-stepper { position: relative; display: flex; justify-content: space-between; max-width: 540px; margin: 26px auto 0; }
.mw-stepper .track { position: absolute; top: 17px; left: 20px; right: 20px; height: 2px; background: #E3D8C5; }
.mw-stepper .fill  { position: absolute; top: 17px; left: 20px; height: 2px; background: var(--honey); max-width: calc(100% - 40px); transition: width .35s ease; }
.mw-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 64px; }
.mw-step .circle {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka'; font-weight: 600; font-size: 15px; flex: none;
  border: 2px solid #E3D8C5; background: var(--card); color: var(--muted-2);
  position: relative; z-index: 1; transition: all .3s;
}
.mw-step.on .circle { border-color: var(--honey); background: var(--honey); color: #fff; }
.mw-step .lbl { font-size: 11.5px; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.mw-step.active .lbl { font-weight: 800; color: var(--ink); }
.mw-quota-badge {
  display: inline-flex; align-items: center; gap: 7px; background: var(--card);
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted-2);
}
.mw-quota-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.mw-quota-badge.warn .dot { background: #E0A32E; }
.mw-quota-badge.full { color: var(--danger); }
.mw-quota-badge.full .dot { background: var(--danger); }
.mw-wizard-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 26px; padding: clamp(24px,4vw,44px); margin-top: 22px; box-shadow: 0 20px 48px -28px rgba(120,90,50,.45); }

.mw-drop {
  cursor: pointer; border: 2px dashed #D8C9AE; border-radius: 20px; background: var(--field);
  padding: 34px 20px; text-align: center; transition: all .2s; min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mw-drop.dragover { border-color: var(--honey); background: #F7EEDC; }
.mw-drop-icon { width: 56px; height: 56px; border-radius: 16px; background: #F3E7D2; display: flex; align-items: center; justify-content: center; }
.mw-drop-preview { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line); }
.mw-tips { background: #F5ECDC; border: 1px solid #EAE0CD; border-radius: 20px; padding: 22px; }
.mw-tips .row { display: flex; gap: 10px; font-size: 14.5px; color: #5C544A; line-height: 1.4; }
.mw-tips .row .b { color: var(--honey); font-weight: 800; }

.mw-style-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.mw-style-card {
  cursor: pointer; border-radius: 18px; padding: 13px; background: var(--card);
  border: 2px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.mw-style-card:hover { transform: translateY(-2px); }
.mw-style-card.selected { border-color: var(--honey); box-shadow: 0 14px 30px -14px rgba(196,134,60,.65); transform: translateY(-2px); }
.mw-style-thumb { aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--line); background: #F3EADB; }
.mw-style-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mw-style-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--honey); color: #fff; display: none; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; box-shadow: 0 4px 10px -4px rgba(196,134,60,.9); }
.mw-style-card.selected .mw-style-check { display: flex; }
.mw-style-name { font-family: 'Fredoka'; font-weight: 600; font-size: 15px; margin-top: 10px; color: var(--ink); line-height: 1.2; }
.mw-style-desc { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; line-height: 1.35; }

.mw-spinner { width: 78px; height: 78px; margin: 0 auto; position: relative; }
.mw-spinner .ring1 { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #F0E6D3; }
.mw-spinner .ring2 { position: absolute; inset: 0; border-radius: 50%; border: 5px solid var(--honey); border-top-color: transparent; border-right-color: transparent; animation: mw-spin 1s linear infinite; }
.mw-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.mw-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--honey); animation: mw-pulse 1.2s ease-in-out infinite; }
.mw-progress-outer { max-width: 400px; margin: 22px auto 0; height: 8px; border-radius: 999px; background: #F0E6D3; overflow: hidden; }
.mw-progress-inner { height: 100%; background: var(--honey); width: 0%; border-radius: 999px; transition: width .4s ease; }

.mw-result-img { max-width: 320px; margin: 22px auto 0; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 44px -22px rgba(120,90,50,.5); }
.mw-result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   ORDER
   ============================================================ */
.mw-order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 26px; margin-top: 32px; align-items: start; }
.mw-order-product { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-md); display: flex; gap: 16px; align-items: center; }
.mw-order-thumb { width: 96px; height: 96px; flex: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #F3EADB; }
.mw-order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 12px; }
.mw-size-card {
  cursor: pointer; border-radius: 16px; padding: 16px 14px; background: var(--card);
  border: 2px solid var(--line); transition: all .18s; text-align: left;
}
.mw-size-card:hover { border-color: #DCC9A8; }
.mw-size-card.selected { background: #F7EEDC; border-color: var(--honey); box-shadow: 0 12px 26px -14px rgba(196,134,60,.6); }
.mw-size-label { font-family: 'Fredoka'; font-weight: 600; font-size: 16px; color: var(--ink); }
.mw-size-cm { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.mw-size-price { font-family: 'Fredoka'; font-weight: 600; font-size: 20px; color: var(--brown); margin-top: 10px; }
.mw-form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px,3vw,30px); box-shadow: var(--shadow-md); }
.mw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.mw-form-grid .full { grid-column: 1 / -1; }
.mw-total-row { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.mw-total-row .amt { font-family: 'Fredoka'; font-weight: 600; font-size: 26px; color: var(--ink); }

/* ============================================================
   SUCCESS
   ============================================================ */
.mw-success-check { width: 82px; height: 82px; margin: 0 auto; border-radius: 50%; background: #E7F2E4; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -14px rgba(95,163,106,.7); }
.mw-summary { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; margin-top: 28px; text-align: left; box-shadow: var(--shadow-md); }
.mw-summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; color: #5C544A; }
.mw-summary .row span:last-child { font-weight: 700; color: var(--ink); }
.mw-summary .row.total { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 11px; font-size: 16px; }
.mw-summary .row.total .amt { font-family: 'Fredoka'; font-weight: 600; color: var(--ink); }

/* ============================================================
   MY ORDERS (tracker)
   ============================================================ */
.mw-lookup { background: #F5ECDC; border: 1px solid #EAE0CD; border-radius: 16px; padding: 16px 18px; margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mw-order-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px,3.5vw,34px); margin-top: 22px; box-shadow: 0 18px 44px -26px rgba(120,90,50,.45); }
.mw-tracker { position: relative; display: flex; justify-content: space-between; margin-top: 34px; }
.mw-tracker .track { position: absolute; top: 16px; left: 24px; right: 24px; height: 3px; background: #E3D8C5; border-radius: 2px; }
.mw-tracker .fill  { position: absolute; top: 16px; left: 24px; height: 3px; background: var(--honey); border-radius: 2px; max-width: calc(100% - 48px); }
.mw-tstep { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 70px; text-align: center; }
.mw-tstep .dot {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex: none; border: 2px solid #E3D8C5; background: var(--card);
  color: var(--muted-2); position: relative; z-index: 1;
}
.mw-tstep.done .dot   { border-color: var(--honey); background: var(--honey); color: #fff; }
.mw-tstep.active .dot { border-color: var(--honey); background: var(--card); color: var(--honey); font-size: 11px; box-shadow: 0 0 0 5px rgba(196,134,60,.16); }
.mw-tstep .ttl { font-size: 11.5px; font-weight: 600; color: var(--muted-2); line-height: 1.25; }
.mw-tstep.done .ttl, .mw-tstep.active .ttl { color: var(--ink); }
.mw-tstep.active .ttl { font-weight: 800; }
.mw-order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-2); }

/* ============================================================
   HISTORY
   ============================================================ */
.mw-hist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; margin-top: 34px; }
.mw-hist-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 12px; box-shadow: 0 14px 34px -22px rgba(120,90,50,.4); }
.mw-hist-imgwrap { position: relative; border-radius: 14px; overflow: hidden; }
.mw-hist-main { aspect-ratio: 1; background: #F3EADB; border: 1px solid var(--line); }
.mw-hist-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-hist-orig { position: absolute; left: 9px; top: 9px; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; border: 2px solid var(--card); box-shadow: 0 4px 10px -4px rgba(120,90,50,.5); background: #EFE6D4; }
.mw-hist-orig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-hist-zoom { position: absolute; right: 9px; top: 9px; width: 32px; height: 32px; border-radius: 9px; background: rgba(255,252,246,.92); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(120,90,50,.5); border: none; }
.mw-hist-actions { display: flex; gap: 8px; margin-top: 11px; }
.mw-hist-order { flex: 1; border: none; cursor: pointer; font-weight: 700; font-size: 13.5px; color: #fff; background: var(--honey); padding: 10px; border-radius: 10px; text-align: center; }
.mw-hist-del { cursor: pointer; background: #F3ECDE; border: 1px solid #E2D7C4; padding: 10px 12px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.mw-empty { text-align: center; color: var(--muted-2); padding: 60px 20px; }

/* ---------- Lightbox ---------- */
.mw-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(46,40,34,.72); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; animation: mw-rise .2s ease; }
.mw-lightbox.open { display: flex; }
.mw-lightbox-inner { position: relative; max-width: 440px; width: 100%; }
.mw-lightbox-img { width: 100%; border-radius: 24px; border: 6px solid var(--card); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); display: block; }
.mw-lightbox-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: var(--muted); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); border: none; }

/* ---------- Auth ---------- */
.mw-auth { max-width: 420px; margin: 0 auto; padding: clamp(40px,7vw,84px) 22px; }
.mw-auth-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(26px,4vw,38px); box-shadow: 0 20px 48px -26px rgba(120,90,50,.45); }
.mw-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.mw-divider .ln { flex: 1; height: 1px; background: var(--line-2); }
.mw-divider span { font-size: 12.5px; color: #B0A992; font-weight: 600; }
.mw-form-err { color: var(--danger); font-size: 13.5px; font-weight: 700; margin-top: 12px; text-align: center; min-height: 18px; }
.mw-link { cursor: pointer; font-weight: 700; color: var(--brown); }

@media (max-width: 560px) {
  .mw-form-grid { grid-template-columns: 1fr; }
  .mw-nav-links { display: none; }
}
