/* Drip Studio — monochrome studio look. Light by default; dark follows the system or the toggle. */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg: #f3f3f0;
  --surface: #ffffff;
  --surface-2: #eaeae6;
  --line: rgba(10, 10, 10, .1);
  --line-strong: rgba(10, 10, 10, .22);
  --text: #0a0a0a;
  --muted: #6a6a66;
  --accent: #0a0a0a;
  --accent-ink: #ffffff;
  --stage: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #ecece8 60%, #e2e2dd 100%);
  --danger: #c4233f;
  --shadow: 0 1px 1px rgba(0, 0, 0, .03), 0 10px 30px -12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .25);
  --grain-opacity: .05;
  --radius: 20px;
  --radius-sm: 12px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070707;
    --surface: #0f0f0f;
    --surface-2: #181818;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .22);
    --text: #f2f2ee;
    --muted: #8e8e89;
    --accent: #f2f2ee;
    --accent-ink: #0a0a0a;
    --stage: radial-gradient(120% 90% at 50% 15%, #2a2a2a 0%, #141414 55%, #0b0b0b 100%);
    --danger: #ff6b82;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .8);
    --grain-opacity: .07;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070707;
  --surface: #0f0f0f;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .22);
  --text: #f2f2ee;
  --muted: #8e8e89;
  --accent: #f2f2ee;
  --accent-ink: #0a0a0a;
  --stage: radial-gradient(120% 90% at 50% 15%, #2a2a2a 0%, #141414 55%, #0b0b0b 100%);
  --danger: #ff6b82;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .8);
  --grain-opacity: .07;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
/* Film grain over everything, for a printed, studio feel. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--text); color: var(--bg); }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Nav: floating glass bar ---------- */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 12px; margin-top: 12px; }
.nav .wrap {
  display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 10px 0 20px;
  width: min(1180px, 100%);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.brand { font-family: var(--display); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.04em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--text); box-shadow: inset -6px -6px 0 color-mix(in srgb, var(--bg) 30%, transparent); }
.brand span { font-weight: 500; opacity: .55; }
.nav nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav nav a:hover { color: var(--text); background: var(--surface-2); }
.nav nav a.active { color: var(--accent-ink); background: var(--accent); }
.theme-toggle { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; display: grid; place-items: center; margin-left: 6px; transition: transform .3s; }
.theme-toggle:hover { transform: rotate(25deg); }

/* ---------- Type helpers ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

/* ---------- Generic hero (Create page) ---------- */
.hero { padding: 64px 0 32px; text-align: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.14; margin: 0 0 16px; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em { font-style: normal; background: var(--text); color: var(--bg); padding: 0 .14em; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 580px; }

/* ---------- Panels & forms ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

label.field { display: block; margin-bottom: 18px; }
label.field > span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; letter-spacing: .01em; }
input[type=text], input[type=email], input[type=search], input[type=password], textarea, select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; transition: border-color .15s, box-shadow .15s;
}
input:hover, textarea:hover, select:hover { border-color: var(--line-strong); }
textarea { resize: vertical; min-height: 76px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 12%, transparent); }

.drop {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 36px 24px; text-align: center;
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s; margin-bottom: 18px; position: relative;
  background: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--text) 2.5%, transparent) 12px 13px);
}
.drop:hover, .drop.over { border-color: var(--text); background-color: var(--surface-2); }
.drop.over { transform: scale(1.01); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { max-height: 240px; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.drop .hint { color: var(--muted); font-size: 14px; }

.toggle { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle label { flex: 1; text-align: center; padding: 9px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); transition: background .15s, color .15s; }
.toggle input { display: none; }
.toggle label:has(input:checked) { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 3px; accent-color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 999px;
  padding: 14px 24px; font: 700 15px/1 inherit; font-family: inherit; letter-spacing: .005em; cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .2s, opacity .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--text) 55%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.ghost:hover { background: var(--surface-2); box-shadow: none; border-color: var(--text); }
.btn.small { padding: 9px 14px; font-size: 13.5px; }
.btn.big { padding: 18px 30px; font-size: 17px; }
.btn.danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.badge.ai, .badge.pin { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.notice { padding: 13px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 14px; margin: 12px 0; }
.notice.warn { border-style: dashed; }
.notice.err { border-color: var(--danger); color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, transparent); }
.notice.ok { border-color: var(--text); }

.checker { background-color: var(--surface-2); background-image: conic-gradient(var(--line) 25%, transparent 0 50%, var(--line) 0 75%, transparent 0); background-size: 20px 20px; border-radius: var(--radius-sm); }

/* 3D stage: spotlight + faint floor grid */
.stage { background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; isolation: isolate; }
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(70% 55% at 50% 70%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 55% at 50% 70%, #000 0%, transparent 75%);
}
.stage canvas { display: block; cursor: grab; touch-action: none; }
.stage canvas:active { cursor: grabbing; }
.stage .hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.result-imgs { display: grid; gap: 12px; margin: 14px 0 18px; }
.result-imgs > img { width: min(100%, 300px); justify-self: center; }
.result-imgs .stage { height: 420px; order: -1; }
.price { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.price small { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.empty { text-align: center; padding: 56px 0; color: var(--muted); }

/* Paywall */
.paywall { text-align: center; padding: 40px 28px; }
.paywall h2 { margin: 0 0 6px; font-size: 30px; }
.perks { list-style: none; padding: 0; margin: 20px auto 24px; max-width: 330px; text-align: left; display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; }
.perks li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 900; }

/* ---------- Chips & segmented controls ---------- */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 9px 15px; font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; transition: all .15s; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { background: none; border: 0; border-radius: 999px; padding: 9px 15px; font: 600 14px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.result-count { color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; margin-left: auto; }
.section-title { display: flex; align-items: center; gap: 12px; margin: 44px 0 18px; font-size: 26px; }

/* ---------- Item cards ---------- */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card.pinned { border-color: var(--text); }
.card .thumb { aspect-ratio: 5 / 6; display: grid; place-items: center; background: var(--stage); cursor: zoom-in; border: 0; padding: 0; width: 100%; position: relative; overflow: hidden; color: var(--muted); }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .thumb img { transform: scale(1.06) rotate(-1deg); }
.card .thumb::after { content: "See details"; position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 8px); opacity: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 7px 12px; border-radius: 999px; transition: all .25s; pointer-events: none; white-space: nowrap; }
.card:hover .thumb::after { opacity: 1; transform: translate(-50%, 0); }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.card h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.card .meta { color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; display: flex; gap: 6px; flex-wrap: wrap; text-transform: uppercase; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.card .row .btn { flex: 1; padding: 10px; }
.card .tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 5px 9px; border-radius: 999px; }
.card .num { position: absolute; top: 14px; right: 14px; z-index: 1; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); aspect-ratio: 5 / 7.4; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }
.more { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- 3D modal ---------- */
dialog.viewer { border: 1px solid var(--line); border-radius: 26px; padding: 0; background: var(--surface); color: var(--text); width: min(560px, 100% - 32px); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.viewer[open] { animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
dialog.viewer::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
dialog.viewer .stage { height: min(580px, 70vh); border: 0; border-radius: 0; }
dialog.viewer header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; gap: 10px; }
dialog.viewer header h3 { margin: 0; }
dialog.viewer footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; gap: 10px; }
dialog.viewer.wide { width: min(940px, 100% - 32px); position: relative; }
.viewer-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.viewer-body .stage { height: min(600px, 72vh); border: 0; border-radius: 0; }
.viewer-info { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); }
.viewer-info h3 { margin: 0; font-size: 32px; line-height: 1.05; padding-right: 40px; }
.viewer-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 6px 0 0; font-size: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.viewer-info dt { color: var(--muted); font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.viewer-info dd { margin: 0; font-weight: 600; }
.viewer-info .btn { width: 100%; }
.viewer-info .spacer { flex: 1; }
@media (max-width: 760px) { .viewer-body { grid-template-columns: 1fr; } .viewer-info { border-left: 0; border-top: 1px solid var(--line); padding: 22px; } .viewer-body .stage { height: 44vh; } .viewer-info h3 { font-size: 26px; } }
dialog.viewer .close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; padding: 0; background: var(--surface); }

.spinner { width: 18px; height: 18px; border: 3px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tables (admin, account, charity) ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
td img { width: 60px; border-radius: 10px; background: var(--stage); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }

.tabs { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tabs button { flex: 1; background: none; border: 0; padding: 10px; border-radius: 999px; font: 600 15px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--accent); color: var(--accent-ink); }

/* ---------- Footer ---------- */
footer.site { color: var(--muted); font-size: 13px; text-align: center; padding: 64px 16px 36px; margin-top: 72px; border-top: 1px solid var(--line); overflow: hidden; }
footer.site::before { content: "DRIP STUDIO"; display: block; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 13vw, 170px); letter-spacing: -.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 30px; user-select: none; white-space: nowrap; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* ---------- Policy pages ---------- */
.legal { max-width: 740px; padding-top: 48px; }
.legal h1 { font-size: clamp(34px, 5.5vw, 52px); margin-bottom: 4px; }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal li { margin-bottom: 6px; }

/* ---------- Home ---------- */
.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.home-hero h1 { font-size: clamp(46px, 7.6vw, 104px); line-height: .92; letter-spacing: -.065em; font-weight: 700; margin: 0 0 24px; }
.home-hero h1 em { font-style: normal; display: inline-block; background: var(--text); color: var(--bg); padding: .02em .14em .08em; border-radius: .14em; transform: rotate(-2deg); }
.home-hero p.lead { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 0 30px; }
.home-hero .stage { height: 580px; border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-tag { position: absolute; z-index: 2; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); pointer-events: none; animation: float 5s ease-in-out infinite; }
.hero-tag.t1 { top: 22px; left: 22px; }
.hero-tag.t2 { bottom: 26px; right: 22px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.trust span { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; background: var(--surface); }
.trust b { color: var(--text); }
@media (max-width: 860px) { .home-hero { grid-template-columns: 1fr; padding-top: 36px; gap: 28px; } .home-hero .stage { height: 440px; } }

/* Scrolling ticker */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; margin: 16px 0 0; background: var(--surface); }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee .track span::after { content: "✦"; font-size: .6em; opacity: .5; }
.marquee .track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track, .hero-tag { animation: none; } }

.block { padding: 88px 0 8px; }
.block > h2, .block-head h2 { font-size: clamp(32px, 4.8vw, 56px); letter-spacing: -.05em; margin: 0 0 12px; line-height: 1; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.block-head p { margin: 0; color: var(--muted); max-width: 560px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 84px; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); margin-bottom: 24px; }
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feature .ico { font-size: 22px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.strip { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip > * { flex: 0 0 240px; scroll-snap-align: start; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); position: relative; }
.plan.main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.plan.main .price small, .plan.main ul { color: color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.plan.main .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.plan.main::before { content: "Most popular"; position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); padding: 5px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { margin: 6px 0; font-size: 48px; }
.plan ul { margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.plan ul li::before { content: "→ "; opacity: .6; }
.plan .btn { margin-top: auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan.main { transform: none; } }

.band { background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band h2 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.05em; line-height: 1; }
.band p { margin: 0; opacity: .7; max-width: 480px; }
.band .big { font-family: var(--display); font-size: clamp(56px, 9vw, 120px); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.band .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.band .btn.ghost { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; padding: 32px; border-radius: 24px; } .band > div:last-child { text-align: left !important; } }

.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-family: "Inter", sans-serif; font-weight: 500; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 640px; }

/* ---------- About ---------- */
.about { max-width: 820px; padding-top: 56px; }
.about h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -.06em; line-height: .95; margin: 0 0 20px; }
.about .lead { font-size: 20px; color: var(--muted); margin: 0 0 8px; }
.about h2 { font-size: 30px; margin: 56px 0 14px; }
.me-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 32px; }
.avatar { width: 84px; height: 84px; border-radius: 26px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 38px; transform: rotate(-4deg); }
.me-card p { margin: 0 0 12px; }
.quote { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } .me-card { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Charity ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: var(--display); font-size: clamp(36px, 5vw, 54px); font-weight: 700; letter-spacing: -.05em; margin-top: 6px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat.main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.stat.main .label { color: inherit; opacity: .65; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

.vote-list { display: grid; gap: 12px; }
.vote { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.vote:hover { border-color: var(--line-strong); }
.vote.mine { border: 2px solid var(--text); }
.vote .bar { position: absolute; inset: 0 auto 0 0; background: var(--surface-2); z-index: 0; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.vote > *:not(.bar) { position: relative; z-index: 1; }
.vote h3 { margin: 0 0 4px; font-size: 19px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vote p { margin: 0; color: var(--muted); font-size: 14px; }
.vote .pct { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-align: right; line-height: 1; }
.vote .pct small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }
.vote .side { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
@media (max-width: 600px) { .vote { grid-template-columns: 1fr; } .vote .side { justify-content: space-between; } }

/* ---------- Items page ---------- */
.gallery-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: 56px 0 12px; }
.gallery-head h1 { font-size: clamp(56px, 11vw, 150px); letter-spacing: -.07em; margin: 0; line-height: .85; }
.gallery-head p { margin: 18px 0 0; color: var(--muted); max-width: 520px; font-size: 17px; }
.counts { display: flex; gap: 10px; }
.counts div { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 14px 18px; min-width: 96px; }
.counts b { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.counts span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .gallery-head { grid-template-columns: 1fr; } .counts div { flex: 1; min-width: 0; } }

.toolbar { position: sticky; top: 84px; z-index: 20; margin-top: 26px; padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.toolbar .row1 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar input[type=search] { flex: 1 1 240px; border-radius: 999px; padding-left: 18px; background: var(--bg); }
.toolbar select { width: auto; flex: 0 0 auto; border-radius: 999px; padding-right: 36px; }
.toolbar .chips { flex-wrap: nowrap; overflow-x: auto; margin-top: 10px; scrollbar-width: none; padding-top: 10px; border-top: 1px solid var(--line); }
.toolbar .chip { white-space: nowrap; }

/* First featured item gets a big spotlight card */
.featured .card.hero-card { grid-column: 1 / -1; flex-direction: row; }
.featured .card.hero-card .thumb { aspect-ratio: auto; flex: 1.1; min-height: 440px; }
.featured .card.hero-card .body { flex: 1; border-top: 0; border-left: 1px solid var(--line); padding: 40px; justify-content: center; gap: 16px; }
.featured .card.hero-card h3 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.06em; line-height: .95; }
.featured .card.hero-card .row { margin-top: 14px; flex: 0; max-width: 360px; }
@media (max-width: 720px) { .featured .card.hero-card { flex-direction: column; } .featured .card.hero-card .thumb { min-height: 0; aspect-ratio: 5 / 6; } .featured .card.hero-card .body { border-left: 0; border-top: 1px solid var(--line); padding: 20px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Phones ---------- */
@media (max-width: 680px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .nav { top: 8px; padding: 0 8px; margin-top: 8px; }
  .nav .wrap { flex-wrap: wrap; height: auto; padding: 10px 10px 8px 16px; row-gap: 6px; border-radius: 22px; }
  .nav nav { width: 100%; margin-left: 0; justify-content: space-between; gap: 0; }
  .nav nav a { font-size: 13px; padding: 6px 7px; }
  .nav .wrap { padding-right: 8px; }
  .nav .wrap { position: relative; }
  .theme-toggle { position: absolute; top: 9px; right: 10px; width: 32px; height: 32px; font-size: 14px; margin-left: 0; }
  .toolbar { position: static; }
  .block { padding-top: 64px; }
  .panel { padding: 20px; }
  #donate { grid-template-columns: 1fr !important; }
}


/* ---------- About page extras ---------- */
.about-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.about-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-badges span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; background: var(--surface); }
.big-avatar { width: 150px; height: 150px; border-radius: 40px; background: var(--grad); display: grid; place-items: center; font-size: 72px; transform: rotate(-6deg); box-shadow: var(--glow); }
@media (max-width: 680px) { .about-hero { grid-template-columns: 1fr; } .big-avatar { width: 110px; height: 110px; font-size: 52px; border-radius: 30px; order: -1; } }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 26px 44px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.timeline li.next::before { border-style: dashed; border-color: var(--muted); }
.timeline .when { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.timeline li.next .when { color: var(--muted); }
.timeline h3 { margin: 2px 0 4px; font-size: 19px; }
.timeline p { margin: 0; color: var(--muted); }

.goal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.goal { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; overflow: hidden; }
.goal::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad); }
.goal h3 { margin: 0 0 6px; font-size: 18px; }
.goal p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 680px) { .goal-grid { grid-template-columns: 1fr; } }

.signature { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; margin-top: 4px; }


/* Outfit controls in the 3D pop-up */
.outfit { display: grid; gap: 8px; }
.outfit .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); cursor: pointer; padding: 0; transition: transform .15s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.outfit select { border-radius: 999px; }

/* Home hero collage of item pictures */
.collage-grid { position: absolute; inset: 56px 18px 62px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.collage-grid.n1 { grid-template-columns: 1fr; }
.collage-grid.n3 a:first-child { grid-row: span 2; }
.collage-grid a { display: grid; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); overflow: hidden; transition: transform .25s; }
.collage-grid a:hover { transform: translateY(-4px) rotate(-1deg); }
.collage-grid img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card .thumb img { padding: 14px; }

/* Category tabs on Items, like Roblox's avatar editor */
.tabs-row { display: flex; flex-wrap: wrap; gap: 2px 4px; padding-bottom: 2px; }
.tabs-row .tab { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; font: 700 15px/1 inherit; font-family: inherit; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tabs-row .tab:hover { color: var(--text); }
.tabs-row .tab.on { color: var(--text); border-bottom-color: var(--accent); }
.tabs-row .tab small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 6px; }
#kinds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
#kinds .chip { white-space: nowrap; }

/* Cards appear with a quick fade that never leaves them hidden. */
.card { animation: cardIn .4s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 680px) { .tabs-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
/* ================= Garden theme =================
   Black, white and green only. Vines hang from the top bar and daylight comes in from a window.
   Dark is the default; light is the same room at noon. */
:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-2: #e9eee7;
  --line: rgba(10, 30, 12, .11);
  --line-strong: rgba(10, 30, 12, .24);
  --text: #0c110c;
  --muted: #586258;
  --accent: #2f7d3e;
  --accent-ink: #ffffff;
  --leaf: #2f7d3e;
  --sun: rgba(255, 255, 255, .9);
  --sun-tint: rgba(214, 242, 205, .55);
  --danger: #2f7d3e;
  --stage: radial-gradient(120% 80% at 20% 0%, #ffffff 0%, #f1f5ef 55%, #e6ece4 100%);
  --shadow: 0 1px 2px rgba(10, 30, 12, .06), 0 8px 20px -12px rgba(10, 30, 12, .2);
  --shadow-lg: 0 24px 48px -20px rgba(10, 30, 12, .3);
  --glow: 0 10px 26px -12px rgba(47, 125, 62, .55);
  --grain-opacity: .035;
  --deep: #0c110c;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #090b09;
  --surface: #111511;
  --surface-2: #1a1f1a;
  --line: rgba(220, 255, 220, .08);
  --line-strong: rgba(220, 255, 220, .2);
  --text: #f1f5f0;
  --muted: #96a196;
  --accent: #5cc46c;
  --accent-ink: #061108;
  --leaf: #5cc46c;
  --sun: rgba(235, 255, 230, .085);
  --sun-tint: rgba(120, 210, 120, .06);
  --danger: #f1f5f0;
  --stage: radial-gradient(120% 80% at 20% 0%, #1f271f 0%, #141814 50%, #0d100d 100%);
  --shadow: 0 1px 0 rgba(220, 255, 220, .03), 0 10px 24px -14px rgba(0, 0, 0, .75);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .9);
  --glow: 0 10px 30px -10px rgba(92, 196, 108, .45);
  --grain-opacity: .055;
  --deep: #050705;
  color-scheme: dark;
}
:root {
  --radius: 14px;
  --radius-sm: 9px;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --vine: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'260'%20height%3D'124'%20viewBox%3D'0%200%20260%20124'%3E%3Cpath%20d%3D'M0%206%20C%2045%200%2C%2085%2016%2C%20130%207%20S%20215%200%2C%20260%206'%20fill%3D'none'%20stroke%3D'%232a5e31'%20stroke-width%3D'3'%20stroke-linecap%3D'round'%2F%3E%3Cpath%20d%3D'M58%209%20C%2052%2030%2C%2068%2048%2C%2058%2078%20C%2054%2092%2C%2062%20104%2C%2060%20118'%20fill%3D'none'%20stroke%3D'%232a5e31'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%2F%3E%3Cpath%20d%3D'M186%206%20C%20192%2022%2C%20180%2036%2C%20188%2056'%20fill%3D'none'%20stroke%3D'%232a5e31'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%2F%3E%3Cpath%20d%3D'M122%208%20C%20120%2016%2C%20126%2022%2C%20123%2032'%20fill%3D'none'%20stroke%3D'%232a5e31'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%2F%3E%3Cpath%20transform%3D'translate(10%205)%20rotate(-20)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(30%204)%20rotate(160)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(84%2010)%20rotate(20)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(100%2012)%20rotate(200)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3Cpath%20transform%3D'translate(150%205)%20rotate(-15)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(168%204)%20rotate(170)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(222%203)%20rotate(10)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3Cpath%20transform%3D'translate(240%206)%20rotate(190)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(57%2024)%20rotate(140)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(62%2036)%20rotate(30)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(55%2052)%20rotate(150)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3Cpath%20transform%3D'translate(64%2064)%20rotate(20)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(57%2082)%20rotate(155)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(61%2098)%20rotate(25)%20scale(0.8)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(60%20116)%20rotate(90)%20scale(0.7)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3Cpath%20transform%3D'translate(188%2020)%20rotate(30)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3Cpath%20transform%3D'translate(184%2034)%20rotate(150)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(188%2052)%20rotate(70)%20scale(0.8)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%234fa95c'%2F%3E%3Cpath%20transform%3D'translate(123%2020)%20rotate(30)%20scale(0.7)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%232f7d3e'%2F%3E%3Cpath%20transform%3D'translate(123%2031)%20rotate(110)%20scale(0.6)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%237cc683'%2F%3E%3C%2Fsvg%3E");
  --leaves: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'120'%20height%3D'110'%20viewBox%3D'0%200%20120%20110'%3E%3Cpath%20transform%3D'translate(14%2020)%20rotate(-30)%20scale(1.1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%231d3a21'%2F%3E%3Cpath%20transform%3D'translate(70%2054)%20rotate(40)%20scale(1)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%231d3a21'%2F%3E%3Cpath%20transform%3D'translate(36%2088)%20rotate(200)%20scale(0.9)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%231d3a21'%2F%3E%3Cpath%20transform%3D'translate(96%2016)%20rotate(120)%20scale(0.8)'%20d%3D'M0%200%20C%206%20-6%2C%2016%20-6%2C%2020%200%20C%2016%206%2C%206%206%2C%200%200%20Z'%20fill%3D'%231d3a21'%2F%3E%3C%2Fsvg%3E");
  --grad: linear-gradient(180deg, var(--accent), var(--accent));
}

body { font-family: var(--body); }
h1, h2, h3 { letter-spacing: -.02em; font-weight: 700; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Less techy labels: normal case, normal font */
.eyebrow, .badge, .card .meta, .card .tag, .card .num, .card .thumb::after, .hero-tag, th, .viewer-info dt,
.counts span, .stat .label, .timeline .when, .result-count, .stage .hint, .outfit .label, .tabs-row .tab small, .mono {
  font-family: var(--body); text-transform: none; letter-spacing: 0;
}
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }
.eyebrow::before { display: none; }
.card .meta { font-size: 13px; }
.grad-text { color: var(--accent); }
.outline { color: inherit; -webkit-text-stroke: 0; }

/* Nav: a plain bar with vines hanging off it */
.nav { top: 0; margin-top: 0; padding: 0; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { border-radius: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; width: min(1180px, 100% - 40px); padding: 0; }
.brand { text-transform: none; letter-spacing: -.02em; font-size: 21px; }
.brand::before { background: var(--accent); border-radius: 2px 14px 2px 14px; box-shadow: none; width: 20px; height: 20px; }
.brand span { opacity: 1; color: var(--accent); font-weight: 700; }
.nav nav a { border-radius: 8px; }
.nav nav a.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.theme-toggle { border-radius: 8px; }

/* Buttons: solid green, not pills */
.btn { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); border-radius: 10px; }
.btn:hover { box-shadow: var(--glow); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--accent); box-shadow: none; }
.btn.danger { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.danger:hover { border-color: var(--text); }
.chip, .seg, .seg button, .toggle, .toggle label, .tabs, .tabs button, .trust span, .about-badges span { border-radius: 8px; }
.chip.on, .seg button.on, .toggle label:has(input:checked), .tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.badge.ai, .badge.pin, .card .tag { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); border-radius: 6px; }
.toolbar, .toolbar input[type=search], .toolbar select { border-radius: 12px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.notice.ok { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.notice.err { border-color: var(--text); color: var(--text); background: var(--surface-2); font-weight: 600; }

/* Cards */
.card { border-radius: 12px; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--shadow-lg); }
.card:hover .thumb img { transform: scale(1.04); }
.card.pinned { border-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.card .thumb::after { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12px; }
.skeleton { border-radius: 12px; }

/* Home */
.home-hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; letter-spacing: -.035em; }
.home-hero h1 em { background: none; color: var(--accent); transform: none; padding: 0; }
.home-hero .stage { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hero-tag { animation: none; border-radius: 8px; font-size: 13px; font-weight: 600; }
.hero-tag:first-child { color: var(--accent); }
.collage-grid a { border-radius: 10px; }
.collage-grid a:hover { transform: translateY(-3px); }
.stage::before { display: none; }


.block > h2, .block-head h2 { letter-spacing: -.03em; line-height: 1.05; }
.step { border-radius: 12px; }
.step:hover { transform: none; }
.step::before { font-size: 15px; font-family: var(--body); color: var(--accent); -webkit-text-stroke: 0; content: "Step " counter(step); margin-bottom: 10px; font-weight: 700; letter-spacing: 0; }
.feature { border-radius: 12px; }
.feature:hover { transform: none; border-color: var(--accent); }
.feature .ico { border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

/* Support band: deep black with leaves and a vine across the top */
.band, .plan.main, .stat.main {
  background: var(--vine) repeat-x 0 -6px / 260px 124px, var(--leaves) 0 0 / 120px 110px, var(--deep);
  color: #f1f5f0; border: 1px solid rgba(220, 255, 220, .1); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.band { padding-top: 96px; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 10% 0%, rgba(235, 255, 230, .12), transparent 70%); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band p, .band .eyebrow { color: rgba(241, 245, 240, .8) !important; opacity: 1 !important; }
.band .eyebrow { color: #7fd38c !important; }
.band .btn { background: #5cc46c; color: #061108; border-color: #5cc46c; }
.band .btn.ghost { background: transparent; color: #f1f5f0; border-color: rgba(241, 245, 240, .4); }
.band .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.stat.main .label { color: rgba(241, 245, 240, .8); opacity: 1; }

.faq summary { font-size: 19px; }
.faq details[open] summary::after { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq summary::after { border-radius: 8px; font-family: var(--body); }

.gallery-head h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -.04em; line-height: .95; }
.counts div { border-radius: 12px; }
.counts div b, .counts div:nth-child(n) b { color: var(--text); }
.counts div:nth-child(1) b { color: var(--accent); }
.tabs-row .tab.on { border-bottom-color: var(--accent); }

.avatar, .big-avatar { background: var(--leaves) 0 0 / 60px 55px, var(--accent); color: #fff; box-shadow: var(--shadow-lg); transform: none; }
.timeline::before { background: var(--line-strong); }
.timeline li::before { border-color: var(--accent); }
.goal::after { background: var(--accent); }
dialog.viewer { border-radius: 16px; }

/* Plain footer with a vine along its top */
footer.site::before { content: none; }
footer.site { margin-top: 120px; padding-top: 40px; border-top: 0; background: #020302; position: relative; z-index: 1; overflow: visible; }
/* Black waves rolling along the top of the footer: two dim waves behind, a black one in front with a faint green crest */
footer.site::before, footer.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); pointer-events: none; background-repeat: repeat-x; }
footer.site::before {
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'1600'%20height%3D'95'%20viewBox%3D'0%200%201600%2095'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2055.68%20L10%2055.77%20L20%2055.80%20L30%2055.77%20L40%2055.68%20L50%2055.56%20L60%2055.39%20L70%2055.19%20L80%2054.97%20L90%2054.73%20L100%2054.49%20L110%2054.23%20L120%2053.98%20L130%2053.73%20L140%2053.49%20L150%2053.27%20L160%2053.07%20L170%2052.89%20L180%2052.73%20L190%2052.60%20L200%2052.50%20L210%2052.42%20L220%2052.37%20L230%2052.34%20L240%2052.34%20L250%2052.36%20L260%2052.41%20L270%2052.47%20L280%2052.54%20L290%2052.62%20L300%2052.71%20L310%2052.81%20L320%2052.90%20L330%2052.99%20L340%2053.07%20L350%2053.13%20L360%2053.19%20L370%2053.22%20L380%2053.23%20L390%2053.21%20L400%2053.17%20L410%2053.10%20L420%2053.01%20L430%2052.88%20L440%2052.72%20L450%2052.53%20L460%2052.32%20L470%2052.07%20L480%2051.80%20L490%2051.51%20L500%2051.19%20L510%2050.86%20L520%2050.51%20L530%2050.16%20L540%2049.79%20L550%2049.42%20L560%2049.05%20L570%2048.68%20L580%2048.32%20L590%2047.97%20L600%2047.63%20L610%2047.31%20L620%2047.00%20L630%2046.72%20L640%2046.45%20L650%2046.21%20L660%2046.00%20L670%2045.80%20L680%2045.63%20L690%2045.48%20L700%2045.35%20L710%2045.23%20L720%2045.13%20L730%2045.04%20L740%2044.95%20L750%2044.87%20L760%2044.78%20L770%2044.69%20L780%2044.58%20L790%2044.46%20L800%2044.31%20L810%2044.13%20L820%2043.92%20L830%2043.68%20L840%2043.38%20L850%2043.04%20L860%2042.65%20L870%2042.20%20L880%2041.69%20L890%2041.12%20L900%2040.49%20L910%2039.80%20L920%2039.05%20L930%2038.23%20L940%2037.35%20L950%2036.42%20L960%2035.43%20L970%2034.39%20L980%2033.31%20L990%2032.19%20L1000%2031.04%20L1010%2029.86%20L1020%2028.67%20L1030%2027.47%20L1040%2026.27%20L1050%2025.08%20L1060%2023.92%20L1070%2022.78%20L1080%2021.68%20L1090%2020.63%20L1100%2019.65%20L1110%2018.73%20L1120%2017.89%20L1130%2017.13%20L1140%2016.47%20L1150%2015.91%20L1160%2015.46%20L1170%2015.12%20L1180%2014.90%20L1190%2014.81%20L1200%2014.83%20L1210%2014.99%20L1220%2015.27%20L1230%2015.68%20L1240%2016.21%20L1250%2016.87%20L1260%2017.65%20L1270%2018.54%20L1280%2019.53%20L1290%2020.63%20L1300%2021.83%20L1310%2023.11%20L1320%2024.46%20L1330%2025.89%20L1340%2027.37%20L1350%2028.89%20L1360%2030.45%20L1370%2032.04%20L1380%2033.64%20L1390%2035.24%20L1400%2036.84%20L1410%2038.41%20L1420%2039.96%20L1430%2041.47%20L1440%2042.93%20L1450%2044.34%20L1460%2045.68%20L1470%2046.95%20L1480%2048.15%20L1490%2049.26%20L1500%2050.29%20L1510%2051.23%20L1520%2052.08%20L1530%2052.84%20L1540%2053.51%20L1550%2054.09%20L1560%2054.57%20L1570%2054.97%20L1580%2055.29%20L1590%2055.52%20L1600%2055.68%20L1600%2095%20L0%2095%20Z'%20fill%3D'%230a0d0a'%2F%3E%3Cpath%20d%3D'M0%2055.68%20L10%2055.77%20L20%2055.80%20L30%2055.77%20L40%2055.68%20L50%2055.56%20L60%2055.39%20L70%2055.19%20L80%2054.97%20L90%2054.73%20L100%2054.49%20L110%2054.23%20L120%2053.98%20L130%2053.73%20L140%2053.49%20L150%2053.27%20L160%2053.07%20L170%2052.89%20L180%2052.73%20L190%2052.60%20L200%2052.50%20L210%2052.42%20L220%2052.37%20L230%2052.34%20L240%2052.34%20L250%2052.36%20L260%2052.41%20L270%2052.47%20L280%2052.54%20L290%2052.62%20L300%2052.71%20L310%2052.81%20L320%2052.90%20L330%2052.99%20L340%2053.07%20L350%2053.13%20L360%2053.19%20L370%2053.22%20L380%2053.23%20L390%2053.21%20L400%2053.17%20L410%2053.10%20L420%2053.01%20L430%2052.88%20L440%2052.72%20L450%2052.53%20L460%2052.32%20L470%2052.07%20L480%2051.80%20L490%2051.51%20L500%2051.19%20L510%2050.86%20L520%2050.51%20L530%2050.16%20L540%2049.79%20L550%2049.42%20L560%2049.05%20L570%2048.68%20L580%2048.32%20L590%2047.97%20L600%2047.63%20L610%2047.31%20L620%2047.00%20L630%2046.72%20L640%2046.45%20L650%2046.21%20L660%2046.00%20L670%2045.80%20L680%2045.63%20L690%2045.48%20L700%2045.35%20L710%2045.23%20L720%2045.13%20L730%2045.04%20L740%2044.95%20L750%2044.87%20L760%2044.78%20L770%2044.69%20L780%2044.58%20L790%2044.46%20L800%2044.31%20L810%2044.13%20L820%2043.92%20L830%2043.68%20L840%2043.38%20L850%2043.04%20L860%2042.65%20L870%2042.20%20L880%2041.69%20L890%2041.12%20L900%2040.49%20L910%2039.80%20L920%2039.05%20L930%2038.23%20L940%2037.35%20L950%2036.42%20L960%2035.43%20L970%2034.39%20L980%2033.31%20L990%2032.19%20L1000%2031.04%20L1010%2029.86%20L1020%2028.67%20L1030%2027.47%20L1040%2026.27%20L1050%2025.08%20L1060%2023.92%20L1070%2022.78%20L1080%2021.68%20L1090%2020.63%20L1100%2019.65%20L1110%2018.73%20L1120%2017.89%20L1130%2017.13%20L1140%2016.47%20L1150%2015.91%20L1160%2015.46%20L1170%2015.12%20L1180%2014.90%20L1190%2014.81%20L1200%2014.83%20L1210%2014.99%20L1220%2015.27%20L1230%2015.68%20L1240%2016.21%20L1250%2016.87%20L1260%2017.65%20L1270%2018.54%20L1280%2019.53%20L1290%2020.63%20L1300%2021.83%20L1310%2023.11%20L1320%2024.46%20L1330%2025.89%20L1340%2027.37%20L1350%2028.89%20L1360%2030.45%20L1370%2032.04%20L1380%2033.64%20L1390%2035.24%20L1400%2036.84%20L1410%2038.41%20L1420%2039.96%20L1430%2041.47%20L1440%2042.93%20L1450%2044.34%20L1460%2045.68%20L1470%2046.95%20L1480%2048.15%20L1490%2049.26%20L1500%2050.29%20L1510%2051.23%20L1520%2052.08%20L1530%2052.84%20L1540%2053.51%20L1550%2054.09%20L1560%2054.57%20L1570%2054.97%20L1580%2055.29%20L1590%2055.52%20L1600%2055.68'%20fill%3D'none'%20stroke%3D'rgba(140%2C220%2C150%2C0.10)'%20stroke-width%3D'1.5'%2F%3E%3C%2Fsvg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'1300'%20height%3D'72'%20viewBox%3D'0%200%201300%2072'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2042.63%20L10%2042.38%20L20%2042.10%20L30%2041.79%20L40%2041.46%20L50%2041.11%20L60%2040.74%20L70%2040.36%20L80%2039.98%20L90%2039.60%20L100%2039.23%20L110%2038.87%20L120%2038.52%20L130%2038.19%20L140%2037.88%20L150%2037.60%20L160%2037.34%20L170%2037.10%20L180%2036.89%20L190%2036.71%20L200%2036.54%20L210%2036.40%20L220%2036.26%20L230%2036.13%20L240%2036.01%20L250%2035.88%20L260%2035.74%20L270%2035.58%20L280%2035.39%20L290%2035.17%20L300%2034.91%20L310%2034.60%20L320%2034.24%20L330%2033.81%20L340%2033.33%20L350%2032.78%20L360%2032.15%20L370%2031.46%20L380%2030.70%20L390%2029.88%20L400%2028.99%20L410%2028.04%20L420%2027.03%20L430%2025.99%20L440%2024.90%20L450%2023.79%20L460%2022.67%20L470%2021.55%20L480%2020.43%20L490%2019.34%20L500%2018.29%20L510%2017.29%20L520%2016.36%20L530%2015.50%20L540%2014.74%20L550%2014.08%20L560%2013.53%20L570%2013.11%20L580%2012.82%20L590%2012.66%20L600%2012.65%20L610%2012.78%20L620%2013.06%20L630%2013.49%20L640%2014.06%20L650%2014.77%20L660%2015.61%20L670%2016.58%20L680%2017.66%20L690%2018.84%20L700%2020.12%20L710%2021.47%20L720%2022.89%20L730%2024.36%20L740%2025.86%20L750%2027.37%20L760%2028.89%20L770%2030.40%20L780%2031.88%20L790%2033.32%20L800%2034.71%20L810%2036.03%20L820%2037.27%20L830%2038.43%20L840%2039.50%20L850%2040.47%20L860%2041.34%20L870%2042.11%20L880%2042.77%20L890%2043.33%20L900%2043.78%20L910%2044.14%20L920%2044.41%20L930%2044.59%20L940%2044.70%20L950%2044.73%20L960%2044.70%20L970%2044.63%20L980%2044.50%20L990%2044.35%20L1000%2044.17%20L1010%2043.98%20L1020%2043.78%20L1030%2043.58%20L1040%2043.40%20L1050%2043.22%20L1060%2043.07%20L1070%2042.94%20L1080%2042.83%20L1090%2042.76%20L1100%2042.71%20L1110%2042.69%20L1120%2042.70%20L1130%2042.73%20L1140%2042.78%20L1150%2042.85%20L1160%2042.93%20L1170%2043.02%20L1180%2043.11%20L1190%2043.20%20L1200%2043.27%20L1210%2043.34%20L1220%2043.38%20L1230%2043.40%20L1240%2043.39%20L1250%2043.35%20L1260%2043.28%20L1270%2043.17%20L1280%2043.02%20L1290%2042.84%20L1300%2042.63%20L1300%2072%20L0%2072%20Z'%20fill%3D'%23060806'%2F%3E%3Cpath%20d%3D'M0%2042.63%20L10%2042.38%20L20%2042.10%20L30%2041.79%20L40%2041.46%20L50%2041.11%20L60%2040.74%20L70%2040.36%20L80%2039.98%20L90%2039.60%20L100%2039.23%20L110%2038.87%20L120%2038.52%20L130%2038.19%20L140%2037.88%20L150%2037.60%20L160%2037.34%20L170%2037.10%20L180%2036.89%20L190%2036.71%20L200%2036.54%20L210%2036.40%20L220%2036.26%20L230%2036.13%20L240%2036.01%20L250%2035.88%20L260%2035.74%20L270%2035.58%20L280%2035.39%20L290%2035.17%20L300%2034.91%20L310%2034.60%20L320%2034.24%20L330%2033.81%20L340%2033.33%20L350%2032.78%20L360%2032.15%20L370%2031.46%20L380%2030.70%20L390%2029.88%20L400%2028.99%20L410%2028.04%20L420%2027.03%20L430%2025.99%20L440%2024.90%20L450%2023.79%20L460%2022.67%20L470%2021.55%20L480%2020.43%20L490%2019.34%20L500%2018.29%20L510%2017.29%20L520%2016.36%20L530%2015.50%20L540%2014.74%20L550%2014.08%20L560%2013.53%20L570%2013.11%20L580%2012.82%20L590%2012.66%20L600%2012.65%20L610%2012.78%20L620%2013.06%20L630%2013.49%20L640%2014.06%20L650%2014.77%20L660%2015.61%20L670%2016.58%20L680%2017.66%20L690%2018.84%20L700%2020.12%20L710%2021.47%20L720%2022.89%20L730%2024.36%20L740%2025.86%20L750%2027.37%20L760%2028.89%20L770%2030.40%20L780%2031.88%20L790%2033.32%20L800%2034.71%20L810%2036.03%20L820%2037.27%20L830%2038.43%20L840%2039.50%20L850%2040.47%20L860%2041.34%20L870%2042.11%20L880%2042.77%20L890%2043.33%20L900%2043.78%20L910%2044.14%20L920%2044.41%20L930%2044.59%20L940%2044.70%20L950%2044.73%20L960%2044.70%20L970%2044.63%20L980%2044.50%20L990%2044.35%20L1000%2044.17%20L1010%2043.98%20L1020%2043.78%20L1030%2043.58%20L1040%2043.40%20L1050%2043.22%20L1060%2043.07%20L1070%2042.94%20L1080%2042.83%20L1090%2042.76%20L1100%2042.71%20L1110%2042.69%20L1120%2042.70%20L1130%2042.73%20L1140%2042.78%20L1150%2042.85%20L1160%2042.93%20L1170%2043.02%20L1180%2043.11%20L1190%2043.20%20L1200%2043.27%20L1210%2043.34%20L1220%2043.38%20L1230%2043.40%20L1240%2043.39%20L1250%2043.35%20L1260%2043.28%20L1270%2043.17%20L1280%2043.02%20L1290%2042.84%20L1300%2042.63'%20fill%3D'none'%20stroke%3D'rgba(255%2C255%2C255%2C0.05)'%20stroke-width%3D'1.2'%2F%3E%3C%2Fsvg%3E"), linear-gradient(180deg, transparent 0%, rgba(2, 3, 2, .55) 100%);
  background-size: 1600px 95px, 1300px 72px, 100% 100%;
  background-position: 0 100%, 0 100%, 0 0;
  background-repeat: repeat-x, repeat-x, no-repeat;
  animation: waves-back 34s linear infinite;
}
footer.site::after {
  height: 54px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'1200'%20height%3D'54'%20viewBox%3D'0%200%201200%2054'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%2022.71%20L10%2021.88%20L20%2020.99%20L30%2020.04%20L40%2019.04%20L50%2018.00%20L60%2016.93%20L70%2015.85%20L80%2014.77%20L90%2013.71%20L100%2012.69%20L110%2011.72%20L120%2010.81%20L130%209.99%20L140%209.27%20L150%208.66%20L160%208.18%20L170%207.83%20L180%207.62%20L190%207.56%20L200%207.66%20L210%207.92%20L220%208.33%20L230%208.89%20L240%209.60%20L250%2010.45%20L260%2011.42%20L270%2012.51%20L280%2013.71%20L290%2014.99%20L300%2016.34%20L310%2017.74%20L320%2019.18%20L330%2020.63%20L340%2022.08%20L350%2023.51%20L360%2024.91%20L370%2026.25%20L380%2027.52%20L390%2028.72%20L400%2029.82%20L410%2030.83%20L420%2031.73%20L430%2032.51%20L440%2033.19%20L450%2033.75%20L460%2034.20%20L470%2034.54%20L480%2034.79%20L490%2034.94%20L500%2035.00%20L510%2034.99%20L520%2034.92%20L530%2034.79%20L540%2034.63%20L550%2034.43%20L560%2034.22%20L570%2034.00%20L580%2033.79%20L590%2033.59%20L600%2033.41%20L610%2033.26%20L620%2033.15%20L630%2033.06%20L640%2033.02%20L650%2033.02%20L660%2033.05%20L670%2033.12%20L680%2033.21%20L690%2033.34%20L700%2033.48%20L710%2033.63%20L720%2033.79%20L730%2033.95%20L740%2034.10%20L750%2034.23%20L760%2034.33%20L770%2034.40%20L780%2034.44%20L790%2034.44%20L800%2034.39%20L810%2034.29%20L820%2034.14%20L830%2033.95%20L840%2033.71%20L850%2033.43%20L860%2033.11%20L870%2032.75%20L880%2032.37%20L890%2031.96%20L900%2031.54%20L910%2031.11%20L920%2030.68%20L930%2030.26%20L940%2029.86%20L950%2029.47%20L960%2029.11%20L970%2028.78%20L980%2028.49%20L990%2028.23%20L1000%2028.01%20L1010%2027.82%20L1020%2027.67%20L1030%2027.54%20L1040%2027.44%20L1050%2027.36%20L1060%2027.29%20L1070%2027.23%20L1080%2027.15%20L1090%2027.06%20L1100%2026.95%20L1110%2026.80%20L1120%2026.61%20L1130%2026.37%20L1140%2026.06%20L1150%2025.69%20L1160%2025.25%20L1170%2024.73%20L1180%2024.13%20L1190%2023.46%20L1200%2022.71%20L1200%2054%20L0%2054%20Z'%20fill%3D'%23020302'%2F%3E%3Cpath%20d%3D'M0%2022.71%20L10%2021.88%20L20%2020.99%20L30%2020.04%20L40%2019.04%20L50%2018.00%20L60%2016.93%20L70%2015.85%20L80%2014.77%20L90%2013.71%20L100%2012.69%20L110%2011.72%20L120%2010.81%20L130%209.99%20L140%209.27%20L150%208.66%20L160%208.18%20L170%207.83%20L180%207.62%20L190%207.56%20L200%207.66%20L210%207.92%20L220%208.33%20L230%208.89%20L240%209.60%20L250%2010.45%20L260%2011.42%20L270%2012.51%20L280%2013.71%20L290%2014.99%20L300%2016.34%20L310%2017.74%20L320%2019.18%20L330%2020.63%20L340%2022.08%20L350%2023.51%20L360%2024.91%20L370%2026.25%20L380%2027.52%20L390%2028.72%20L400%2029.82%20L410%2030.83%20L420%2031.73%20L430%2032.51%20L440%2033.19%20L450%2033.75%20L460%2034.20%20L470%2034.54%20L480%2034.79%20L490%2034.94%20L500%2035.00%20L510%2034.99%20L520%2034.92%20L530%2034.79%20L540%2034.63%20L550%2034.43%20L560%2034.22%20L570%2034.00%20L580%2033.79%20L590%2033.59%20L600%2033.41%20L610%2033.26%20L620%2033.15%20L630%2033.06%20L640%2033.02%20L650%2033.02%20L660%2033.05%20L670%2033.12%20L680%2033.21%20L690%2033.34%20L700%2033.48%20L710%2033.63%20L720%2033.79%20L730%2033.95%20L740%2034.10%20L750%2034.23%20L760%2034.33%20L770%2034.40%20L780%2034.44%20L790%2034.44%20L800%2034.39%20L810%2034.29%20L820%2034.14%20L830%2033.95%20L840%2033.71%20L850%2033.43%20L860%2033.11%20L870%2032.75%20L880%2032.37%20L890%2031.96%20L900%2031.54%20L910%2031.11%20L920%2030.68%20L930%2030.26%20L940%2029.86%20L950%2029.47%20L960%2029.11%20L970%2028.78%20L980%2028.49%20L990%2028.23%20L1000%2028.01%20L1010%2027.82%20L1020%2027.67%20L1030%2027.54%20L1040%2027.44%20L1050%2027.36%20L1060%2027.29%20L1070%2027.23%20L1080%2027.15%20L1090%2027.06%20L1100%2026.95%20L1110%2026.80%20L1120%2026.61%20L1130%2026.37%20L1140%2026.06%20L1150%2025.69%20L1160%2025.25%20L1170%2024.73%20L1180%2024.13%20L1190%2023.46%20L1200%2022.71'%20fill%3D'none'%20stroke%3D'rgba(92%2C196%2C108%2C0.35)'%20stroke-width%3D'1.6'%2F%3E%3C%2Fsvg%3E"); background-size: 1200px 54px; background-position: 0 100%;
  filter: drop-shadow(0 -2px 8px rgba(92, 196, 108, .12));
  animation: waves-front 20s linear infinite;
}
@keyframes waves-back { to { background-position: -1600px 100%, 1300px 100%, 0 0; } }
@keyframes waves-front { to { background-position: 1200px 100%; } }
@media (prefers-reduced-motion: reduce) { footer.site::before, footer.site::after { animation: none; } }

.spinner { color: var(--accent); }
.btn .spinner { color: currentColor; }
@media (max-width: 680px) {
  .nav .wrap { width: min(1180px, 100% - 24px); padding: 10px 0 8px; border-radius: 0; }
  .theme-toggle { top: 9px; right: 0; }
}


/* ---------- Scenery (drawn by decor.js) ---------- */
main, footer.site > * { position: relative; z-index: 1; }
.vine-hang { position: fixed; left: 0; right: 0; height: 230px; z-index: 0; pointer-events: none; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); }
.vines { display: block; width: 100%; overflow: visible; }

.sunlight { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sunlight .glow {
  position: absolute; left: -10vw; top: -40vh; width: 120vw; height: 85vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 255, 215, .16), rgba(160, 230, 150, .05) 55%, transparent);
  animation: sun-glow 16s ease-in-out infinite;
}
.sunlight .ray {
  position: absolute; top: -20vh; left: var(--x); width: var(--w); height: 110vh;
  transform: rotate(-32deg); transform-origin: 50% 0;
  background: linear-gradient(90deg, transparent, rgba(232, 255, 222, var(--a)) 35%, rgba(240, 255, 232, calc(var(--a) * 1.4)) 50%, rgba(232, 255, 222, var(--a)) 65%, transparent);
  filter: blur(12px); mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 12%, #000 24%, rgba(0, 0, 0, .5) 45%, transparent 66%);
  mask-image: linear-gradient(180deg, transparent 12%, #000 24%, rgba(0, 0, 0, .5) 45%, transparent 66%);
  animation: sun-ray var(--d) ease-in-out infinite; animation-delay: var(--delay);
}
.sunlight .dust { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes sun-ray {
  0%, 100% { opacity: .35; translate: 0 0; }
  30% { opacity: 1; }
  50% { opacity: .8; translate: 5vw 0; }
  75% { opacity: .2; }
}
@keyframes sun-glow { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.08; } }
@media (prefers-reduced-motion: reduce) { .sunlight .ray, .sunlight .glow { animation: none; } }


/* ---------- The wall: plaster, window light, leaf shadows, fog (drawn by decor.js) ---------- */
.wall { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'400'%20height%3D'400'%3E%3Cfilter%20id%3D'p'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.012'%20numOctaves%3D'4'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.04%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E") 0 0 / 400px 400px, url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'400'%20height%3D'400'%3E%3Cfilter%20id%3D'p'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.9'%20numOctaves%3D'2'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.035%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23p)'%2F%3E%3C%2Fsvg%3E") 0 0 / 400px 400px; }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }

/* Sunlight coming through a six-pane window, stretched across the wall */
.wall .window {
  position: absolute; left: -6vw; top: -12vh; width: 64vw; height: 66vh;
  display: grid; grid-template: repeat(2, 1fr) / repeat(3, 1fr); gap: clamp(12px, 1.8vw, 28px);
  transform: skewX(30deg) rotate(-3deg); transform-origin: 0 0; filter: blur(3px);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  animation: window-light 16s ease-in-out infinite;
}
.wall .window i { background: linear-gradient(165deg, rgba(228, 255, 218, .13), rgba(200, 245, 190, .045)); border-radius: 2px; }
@keyframes window-light { 0%, 100% { opacity: .8; } 45% { opacity: 1; } 70% { opacity: .55; } }

/* Leaf and branch shadows swaying inside the light */
.wall .leaf-shade {
  position: absolute; left: -2vw; top: 2vh; width: 104vw; height: 70vh; opacity: .75; filter: blur(4px);
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 85%); mask-image: linear-gradient(180deg, #000 25%, transparent 85%);
  transform-origin: 50% 0; animation: leaf-shade 11s ease-in-out infinite; will-change: transform;
}
.wall .leaf-shade svg { width: 100%; height: 100%; display: block; }
@keyframes leaf-shade { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(14px, 4px) rotate(.8deg); } 70% { transform: translate(-8px, -2px) rotate(-.6deg); } }

/* Grey fog drifting low along the bottom */
.wall .fog { position: absolute; left: 0; right: 0; bottom: 0; height: 42vh; background: linear-gradient(0deg, rgba(150, 150, 150, .09), transparent); }
.wall .fog i { position: absolute; bottom: -12vh; width: 70vw; height: 36vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(190, 190, 190, .08), transparent); filter: blur(20px); animation: fog-drift 40s ease-in-out infinite; }
.wall .fog i:nth-child(1) { left: -20vw; }
.wall .fog i:nth-child(2) { left: 25vw; bottom: -6vh; animation-duration: 52s; animation-delay: -18s; }
.wall .fog i:nth-child(3) { left: 60vw; animation-duration: 46s; animation-delay: -30s; }
@keyframes fog-drift { 0%, 100% { transform: translateX(0); opacity: .7; } 50% { transform: translateX(14vw); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wall .window, .wall .leaf-shade, .wall .fog i { animation: none; } }

/* About: smaller "Hey, I'm the creator" intro */
.about h2.small-head { font-size: 22px; margin: 40px 0 12px; }
.me-card .quote { font-size: clamp(18px, 2.2vw, 21px); }
.me-card .avatar { width: 60px; height: 60px; font-size: 28px; border-radius: 18px; }

/* Front page view counter */
.views { margin-top: 26px; max-width: 360px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.views-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.views-top b { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.views-bar { height: 6px; margin-top: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.views-bar i { display: block; height: 100%; width: 2%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); transition: width 1.2s ease; }

/* Single item page (/item/:id) */
.item-page { padding-top: 40px; }
.item-page-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.item-page-card .stage { aspect-ratio: 1; display: grid; place-items: center; }
.item-page-card .stage img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.item-page-card h1 { font-size: clamp(30px, 4.5vw, 52px); margin: 0 0 12px; line-height: 1.05; }
.item-page-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0 24px; font-size: 15px; }
.item-page-card dt { color: var(--muted); }
.item-page-card dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .item-page-card { grid-template-columns: 1fr; } }

/* ---------- Likes, saves and the new features ---------- */
.card-actions { display: flex; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 10px; font: 600 13px/1 var(--body); cursor: pointer; transition: color .15s, border-color .15s, transform .1s; }
.icon-btn i { font-style: normal; font-size: 15px; }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.card .meta a { color: inherit; }
.card .meta a:hover { color: var(--accent); }
.viewer-actions { display: flex; gap: 8px; }
.viewer-info dd a { color: var(--text); text-decoration-color: var(--line-strong); }
.viewer-info dd a:hover { color: var(--accent); }

.saved-link { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.saved-link small { font-size: 11px; background: var(--surface-2); border-radius: 99px; padding: 2px 7px; }

/* Color dots on the Items page */
.color-dots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); cursor: pointer; padding: 0; transition: transform .12s; }
.dot:hover { transform: scale(1.12); }
.dot.on { outline: 2px solid var(--accent); outline-offset: 2px; }
.dot-black { background: #111; } .dot-white { background: #f4f4f4; } .dot-grey { background: #8a8a8a; }
.dot-red { background: #e0393e; } .dot-orange { background: #f08a24; } .dot-yellow { background: #f2d230; }
.dot-green { background: #4caf50; } .dot-blue { background: #2f7ae5; } .dot-purple { background: #8e52d9; }
.dot-pink { background: #ef6fae; } .dot-brown { background: #8b5a2b; }

/* Front page: the daily drop, style links, goal ticks */
.drop-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 20px; }
.drop-card .stage { aspect-ratio: 1; display: grid; place-items: center; }
.drop-card .stage img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.drop-card h2 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 40px); }
.drop-note { font-family: var(--display); font-size: 19px; margin: 0 0 8px; }
@media (max-width: 680px) { .drop-card { grid-template-columns: 1fr; } }
.style-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.style-links .chip { text-decoration: none; }
.style-links:empty { display: none; }
.views-bar { position: relative; overflow: visible; }
.views-bar i { position: relative; z-index: 1; }
.views-bar .ticks b { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; background: var(--line-strong); border-radius: 2px; }
.views-bar .ticks b.done { background: var(--accent); }
.views-more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* About: goals list */
.goal-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.goal-steps li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.goal-steps b { font-family: var(--display); color: var(--muted); }
.goal-steps em { font-style: normal; font-size: 13px; color: var(--accent); }
.goal-steps li.done { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.goal-steps li.done b { color: var(--accent); }

/* Outfits */
.builder { margin-top: 24px; }
.builder-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .builder-grid { grid-template-columns: 1fr; } }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 12px; max-height: 420px; overflow: auto; padding: 2px; }
.pick { background: var(--stage); border: 1px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; color: var(--text); display: grid; gap: 4px; text-align: left; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pick span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick:hover { border-color: var(--line-strong); }
.pick.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.fit-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.fit-list { display: grid; gap: 8px; margin-bottom: 10px; }
.fit-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.fit-row img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--stage); }
.fit-row div { display: grid; min-width: 0; }
.fit-row b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-row small { font-size: 12px; }
.fit-total { font-weight: 700; margin: 4px 0 14px; }
.outfit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.outfit-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; aspect-ratio: 1; background: var(--stage); }
.outfit-collage.n3 span:first-child { grid-row: span 2; }
.outfit-collage span { display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 60%, transparent); border-radius: 8px; overflow: hidden; }
.outfit-collage img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Front page hero: search box, quick links, category tiles */
.hero-search { display: flex; gap: 8px; max-width: 520px; margin: 0 0 14px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: color-mix(in srgb, var(--surface) 85%, transparent); box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 12px; }
.hero-search input:focus { box-shadow: none; }
.hero-search .btn { padding: 12px 22px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; max-width: 520px; }
.quick-links a { color: var(--text); text-decoration: none; opacity: .85; }
.quick-links a:hover { color: var(--accent); opacity: 1; }
.home-hero .views { margin-top: 22px; }
.hero-tiles { position: absolute; inset: 18px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.hero-tiles a { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 16px; border-radius: 12px; text-decoration: none; color: var(--text); background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.hero-tiles a:hover { border-color: var(--accent); transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.hero-tiles span { font-size: 28px; line-height: 1; margin-bottom: auto; }
.hero-tiles b { font-family: var(--display); font-size: 18px; }
.hero-tiles small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .home-hero .stage { height: auto; min-height: 0; } .hero-tiles { position: static; padding: 14px; } }

/* Front page: a calmer hero and the view counter as one slim row under it */
.home-hero .stage { height: 440px; }
.home-hero h1 { margin-bottom: 18px; }
.home-hero p.lead { margin-bottom: 26px; }
.views-row .views { max-width: none; margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 12px 18px; }
.views-row .views-top { display: contents; }
.views-row .views-top > span:first-child { grid-column: 1; grid-row: 1; }
.views-row .views-bar { grid-column: 2; grid-row: 1; margin: 0; }
.views-row #viewGoal { grid-column: 3; grid-row: 1; white-space: nowrap; }
.views-row .views-more { display: none; }
.views-row .views { cursor: pointer; }
@media (max-width: 680px) { .views-row .views { grid-template-columns: 1fr auto; } .views-row .views-bar { grid-column: 1 / -1; grid-row: 2; } .views-row #viewGoal { grid-column: 2; font-size: 12px; } }

/* Front page: the pick card (today's drop or a random item) */
.pick-card { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.pick-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pick-label { margin: 0; font-weight: 700; font-size: 14px; color: var(--accent); }
.pick-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--stage); border: 1px solid var(--line); overflow: hidden; }
.pick-pic img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s ease; }
.pick-pic:hover img { transform: scale(1.04); }
.pick-body h2 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; }
.pick-body .muted { margin: 0; font-size: 14px; }
.pick-body .muted a { color: inherit; }
.pick-body .muted a:hover { color: var(--accent); }
.pick-body .drop-note { font-size: 16px; margin: 0 0 6px; color: var(--muted); }
.pick-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.pick-card.swap { animation: pick-swap .35s ease; }
@keyframes pick-swap { from { opacity: .4; transform: translateY(6px); } }

/* Before any items exist: three steps */
.how-steps { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.how-steps li::before { content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); font-weight: 800; font-family: var(--display); }
.how-steps b { font-family: var(--display); font-size: 17px; }
.how-steps span { color: var(--muted); font-size: 14px; }

.home-hero .style-links { margin-top: 16px; }
.home-hero { padding-bottom: 28px; }
@media (max-width: 860px) { .pick-pic { aspect-ratio: 1; } }

/* Front page: short about-me */
.home-about h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.home-about .quote { margin: 0 0 10px; }
.home-about .muted { max-width: 640px; margin: 0 0 18px; }

/* Leaderboard */
.board-tabs { margin: 28px 0 8px; max-width: 760px; }
.board-tabs button { white-space: nowrap; }
.board-hint { margin: 0 0 16px; font-size: 14px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.board li { display: grid; grid-template-columns: 48px 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 90%, transparent); }
.board li.podium { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.board li.podium:first-child { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), var(--glow); }
.board-rank { font-family: var(--display); font-weight: 800; font-size: 20px; text-align: center; color: var(--muted); }
.podium .board-rank { font-size: 26px; }
.board-pic { width: 56px; height: 56px; border-radius: 10px; background: var(--stage); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.board-pic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.board-initial { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--accent); }
.board-main { display: grid; min-width: 0; }
.board-main b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-main b a { color: var(--text); text-decoration: none; }
.board-main b a:hover { color: var(--accent); }
.board-main small { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-main small a { color: inherit; }
.board-score { text-align: right; }
.board-score b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.board-score small { font-size: 12px; color: var(--muted); }
@media (max-width: 600px) {
  .board li { grid-template-columns: 34px 44px 1fr auto; gap: 10px; padding: 8px 12px 8px 8px; }
  .board-pic { width: 44px; height: 44px; }
  .board-tabs { overflow-x: auto; scrollbar-width: none; }
}
/* The menu scrolls sideways on phones instead of squashing */
@media (max-width: 680px) {
  .nav nav { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; gap: 2px; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav nav a { flex: 0 0 auto; }
}

.create-tabs { max-width: 460px; margin: 0 auto 24px; }
.create-tabs button { white-space: nowrap; }

/* Short pages (like Log in): the footer stays at the bottom of the screen */
body { display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > footer.site { flex-shrink: 0; }

/* Menu bar reaches the corners: logo far left, buttons far right */
.nav .wrap { width: calc(100% - 48px); max-width: none; }
@media (max-width: 680px) { .nav .wrap { width: calc(100% - 24px); } }

/* Create page: login box and the logged-in bar */
.auth-box { max-width: 440px; margin: 0 auto; }
.auth-box .tabs { margin-bottom: 18px; }
.me-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 760px; margin: 0 auto 20px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 85%, transparent); font-size: 14px; }
.me-bar a { color: var(--accent); }

/* Settings (⚙️ top right) */
.settings { position: relative; margin-left: 8px; }
.settings-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: 17px; display: grid; place-items: center; transition: transform .3s, border-color .2s; }
.settings-btn:hover, .settings-btn.on { border-color: var(--accent); transform: rotate(45deg); }
.settings-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); z-index: 60; }
.settings-account { padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.settings-who { margin: 0 0 8px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-links { display: flex; justify-content: space-between; font-size: 14px; }
.settings-links a { color: var(--accent); }
.settings-title { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.switch span { order: -1; }
.switch input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.switch input:checked { background: color-mix(in srgb, var(--accent) 35%, var(--surface-2)); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(16px); background: var(--accent); }
.settings-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* What the settings switch off */
html.no-vines .vine-hang, html.no-vines .wall .leaf-shade { display: none; }
html.no-sunlight .sunlight, html.no-sunlight .wall .window { display: none; }
html.no-dust .sunlight .dust { display: none; }
html.no-motion .sunlight .ray, html.no-motion .sunlight .glow, html.no-motion .wall .window,
html.no-motion .wall .leaf-shade, html.no-motion .wall .fog i, html.no-motion footer.site::before, html.no-motion footer.site::after { animation-play-state: paused; }
@media (max-width: 680px) { .settings { position: absolute; top: 8px; right: 0; } .settings-btn { width: 32px; height: 32px; font-size: 15px; } }

/* Login form inside the settings panel */
.settings-login { display: grid; gap: 8px; }
.settings-login input { padding: 9px 11px; font-size: 14px; border-radius: 8px; }
.settings-mode { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.settings-mode button { flex: 1; border: 0; background: none; padding: 6px; border-radius: 6px; font: 600 13px/1 var(--body); color: var(--muted); cursor: pointer; }
.settings-mode button.on { background: var(--accent); color: var(--accent-ink); }
.settings-msg { font-size: 12px; color: var(--text); }
.settings-msg:empty { display: none; }

[hidden] { display: none !important; }
