/* ============================================================
   Juicy Store — Luxury / Editorial design system
   paper #F9F8F6 · charcoal #1A1A1A · gold #D4AF37 accent
   Display: Playfair Display (serif, mixed italics)
   Body: Inter 300/400/500/600
   Rules: 0px radius everywhere · 1px borders · slow cinematic
   motion (500ms UI / 1500-2000ms images) · grayscale→color
   ============================================================ */

:root {
  --paper: #F9F8F6;
  --charcoal: #1A1A1A;
  --taupe: #EBE5DE;
  --grey: #6C6863;
  --gold: #D4AF37;
  --red: #A03A2A;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --line: rgba(26, 26, 26, .14);
  --line-dark: rgba(249, 248, 246, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--charcoal);
  min-height: 100vh;
}
a { color: inherit; }
::selection { background: var(--charcoal); color: var(--gold); }

/* Expensive-paper grain (2% opacity, above everything, non-interactive) */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.display-serif em { font-style: italic; color: var(--gold); }
.overline {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--grey);
}
.overline::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- App shell: fixed sidebar + topbar ---------- */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 232px; z-index: 90;
  background: var(--paper); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 26px 16px 20px;
}
.side-logo {
  font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; letter-spacing: .04em;
  text-decoration: none; color: var(--charcoal); padding: 2px 12px 24px; display: block;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .2em;
  color: var(--grey); text-decoration: none; padding: 12px;
  border-left: 2px solid transparent;
  transition: color .4s var(--ease), background .4s var(--ease);
}
.side-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.side-nav a:hover { color: var(--charcoal); background: rgba(26,26,26,.04); }
.side-nav a.active { color: var(--charcoal); border-left-color: var(--gold); background: rgba(26,26,26,.04); }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.side-foot .note { font-size: 9px; text-transform: uppercase; letter-spacing: .22em; color: var(--grey); padding: 0 12px; line-height: 2; }

.topbar {
  position: fixed; top: 0; left: 232px; right: 0; height: 72px; z-index: 80;
  display: flex; align-items: center; gap: 20px;
  padding: 0 40px;
  background: rgba(249, 248, 246, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, .08);
}
.topbar .m-logo { display: none; font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; text-decoration: none; color: var(--charcoal); }
.top-search { position: relative; width: min(420px, 100%); }
.top-search svg { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--grey); pointer-events: none; }
.top-search input { width: 100%; padding-right: 28px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.top-link { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; color: var(--grey); text-decoration: none; transition: color .4s var(--ease); }
.top-link:hover { color: var(--gold); }

.main { margin-left: 232px; padding: 100px 40px 90px; min-height: 100vh; }
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .topbar { left: 0; padding: 0 20px; }
  .topbar .m-logo { display: block; }
  .top-link { display: none; }
  .main { margin-left: 0; padding: 90px 20px 70px; }
}

/* ---------- Store card (list grid) ---------- */
.card { background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--charcoal); display: block;
        transition: box-shadow .6s var(--ease), border-color .6s var(--ease); }
.card:hover { border-color: rgba(26,26,26,.35); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--taupe); }
.card-media img.cover {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; filter: grayscale(1); transform: scale(1);
  transition: opacity .8s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease);
}
.card-media img.cover.loaded { opacity: 1; }
.card:hover .card-media img.cover { filter: grayscale(0); transform: scale(1.04); }
.card-media .cover-ph {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--grey);
}
.card-media .c-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 10px 8px;
  background: linear-gradient(transparent, rgba(26,26,26,.55));
  color: var(--paper); font-size: 10px; letter-spacing: .08em;
}
.card-body { padding: 13px 15px 15px; }
.card-title {
  font-weight: 500; font-size: .9rem; line-height: 1.45; color: var(--charcoal);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.card:hover .card-title { color: var(--gold); }
.card-sub { margin-top: 9px; font-size: .72rem; color: var(--grey); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 1100px) { .detail-grid { grid-template-columns: 1fr; } }
.d-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; line-height: 1.2; }
.d-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-top: 20px; }
.d-tab {
  padding: 13px 2px; background: none; border: none; border-bottom: 2px solid transparent;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em;
  color: var(--grey); cursor: pointer; transition: color .4s var(--ease), border-color .4s var(--ease);
}
.d-tab:hover { color: var(--charcoal); }
.d-tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }
/* 预览舞台：皮肤按 1280×900 设计分辨率渲染（iframe 固定尺寸，JS 按容器宽缩放），
   不随容器压缩；封面图仍满容器展示 */
.d-stage { position: relative; aspect-ratio: 1280 / 900; background: #000; border: 1px solid var(--line); margin-top: 24px; overflow: hidden; }
.d-stage img { width: 100%; height: 100%; border: none; object-fit: cover; display: none; }
.d-stage iframe { width: 1280px; height: 900px; border: none; display: none; position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.d-stage.active-iframe iframe, .d-stage.active-img img { display: block; }
.d-stats { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; color: var(--grey); font-size: .8rem; margin-top: 20px; }
.d-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 24px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.d-actions .sp { flex: 1; }
.d-desc { margin-top: 30px; font-weight: 300; font-size: .95rem; line-height: 1.9; color: var(--charcoal); }
.howto { margin-top: 44px; border: 1px solid var(--line); background: #fff; padding: 26px 30px; }
.howto h4 { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .28em; color: var(--grey); margin-bottom: 20px; }
.howto .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .howto .steps { grid-template-columns: 1fr; } }
.howto .num { font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; color: var(--gold); }
.howto h5 { font-family: var(--font-serif); font-weight: 400; font-size: 1.05rem; margin: 10px 0 6px; }
.howto p { color: var(--grey); font-weight: 300; font-size: .88rem; line-height: 1.75; }

.side-card { border: 1px solid var(--line); background: #fff; padding: 22px; margin-bottom: 22px; }
.side-card h4 { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .28em; color: var(--grey); margin-bottom: 8px; }
.author-row { display: flex; align-items: center; gap: 14px; padding: 10px 0 6px; }
.author-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--charcoal); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem;
}
.author-name { font-weight: 500; font-size: .92rem; }
.author-sub { font-size: .72rem; color: var(--grey); margin-top: 3px; }
.rel-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--charcoal); }
.rel-item:first-of-type { border-top: none; }
.rel-thumb { width: 92px; aspect-ratio: 16 / 10; object-fit: cover; flex-shrink: 0; background: var(--taupe); filter: grayscale(1); transition: filter 1.2s var(--ease); }
.rel-item:hover .rel-thumb { filter: grayscale(0); }
.rel-item .t { font-size: .8rem; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-item:hover .t { color: var(--gold); }
.rel-item .m { font-size: .68rem; color: var(--grey); margin-top: 4px; }
.rules-list { list-style: none; }
.rules-list li { position: relative; padding: 7px 0 7px 18px; font-size: .82rem; font-weight: 300; color: var(--grey); line-height: 1.6; }
.rules-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 1px; background: var(--gold); }

/* ---------- Shared small utilities ---------- */
.work-link {
  display: inline-block;
  font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .25em;
  color: var(--charcoal); text-decoration: none; border-bottom: 1px solid rgba(26,26,26,.3);
  padding-bottom: 3px; transition: color .5s var(--ease), border-color .5s var(--ease);
}
.work-link:hover { color: var(--gold); border-color: var(--gold); }
.empty { color: var(--grey); text-align: center; padding: 70px 0; display: none;
         font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 84px 44px; }
@media (max-width: 760px) { .section { padding: 60px 24px; } }
.section-paper { background: var(--paper); color: var(--charcoal); }
.section-taupe { background: var(--taupe); color: var(--charcoal); }
.section-dark  { background: var(--charcoal); color: var(--paper); }
.bordered { border-top: 1px solid var(--line); }
.section-dark.bordered { border-top: 1px solid var(--line-dark); }
.wrap { max-width: 1320px; margin: 0 auto; }

/* ---------- Headings ---------- */
.h-serif {
  font-family: var(--font-serif);
  font-weight: 400; letter-spacing: -0.01em; line-height: 1.12;
}
.h-hero { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.h-section { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.h-section em, .h-hero em { font-style: italic; color: var(--gold); }

/* Vertical side label (desktop only) */
.v-label {
  display: none; position: absolute; z-index: 5;
  writing-mode: vertical-rl;
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--grey);
}
@media (min-width: 1024px) { .v-label { display: block; } }

/* ---------- Buttons (gold layer slides in from the left) ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 34px;
  border: 1px solid var(--charcoal); border-radius: 0;
  background: var(--charcoal); color: var(--paper);
  font-family: var(--font-sans); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.2em;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  transition: box-shadow .5s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.btn .fill {
  position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-101%);
  transition: transform .5s var(--ease);
}
.btn:hover .fill { transform: translateX(0); }
.btn:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn .bl { position: relative; z-index: 1; }
.btn-sm { height: 40px; padding: 0 22px; }

.btn-line { background: transparent; color: var(--charcoal); box-shadow: none; }
.btn-line .fill { display: none; }
.btn-line:hover { background: var(--charcoal); color: var(--paper); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-line.on-dark { color: var(--paper); border-color: rgba(249,248,246,.6); }
.btn-line.on-dark:hover { background: var(--paper); color: var(--charcoal); border-color: var(--paper); }

.btn-gold-text:hover .bl, .btn-gold-text:focus-visible .bl { color: var(--charcoal); }

/* ---------- Arrow link (shifts +8px on hover) ---------- */
.arrow-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.25em; text-decoration: none;
  color: var(--charcoal); background: none; border: none; padding: 0; cursor: pointer;
  transition: color .5s var(--ease);
}
.arrow-link .ar { transition: transform .5s var(--ease); display: inline-block; }
.arrow-link:hover { color: var(--gold); }
.arrow-link:hover .ar { transform: translateX(8px); }
.on-dark .arrow-link, .section-dark .arrow-link { color: var(--paper); }
.on-dark .arrow-link:hover, .section-dark .arrow-link:hover { color: var(--gold); }

/* ---------- Form controls (underline only, italic serif placeholders) ---------- */
input, select, textarea, button { font-family: var(--font-sans); }
.inp, .sel {
  background: transparent; border: none; border-bottom: 1px solid rgba(26,26,26,.4);
  border-radius: 0; color: var(--charcoal);
  font-size: .92rem; font-weight: 400; padding: 12px 0; outline: none;
  transition: border-color .5s var(--ease);
}
.inp::placeholder, textarea.inp::placeholder {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--grey); font-size: .95rem;
}
.inp:focus, .sel:focus { border-bottom-color: var(--gold); }
textarea.inp { width: 100%; min-height: 140px; line-height: 1.7; resize: vertical; }
.sel { appearance: auto; }
.on-dark .inp, .on-dark .sel, .section-dark .inp, .section-dark .sel {
  border-bottom-color: rgba(249,248,246,.4); color: var(--paper);
}
.on-dark .inp::placeholder, .on-dark textarea.inp::placeholder,
.section-dark .inp::placeholder, .section-dark textarea.inp::placeholder {
  color: rgba(249,248,246,.55);
}
.on-dark .inp:focus, .section-dark .inp:focus { border-bottom-color: var(--gold); }
.on-dark .sel option, .section-dark .sel option { color: var(--charcoal); }

/* ---------- Chips / tags (rectangular, no radius) ---------- */
.chip {
  display: inline-block; border: 1px solid rgba(26,26,26,.25);
  background: transparent; color: var(--grey);
  font-size: .6rem; font-weight: 500; padding: 4px 10px; white-space: nowrap;
  letter-spacing: .18em; text-transform: uppercase; vertical-align: 2px;
}
.chip.acid { border-color: var(--gold); color: var(--gold); }

/* ---------- Inline message banners ---------- */
.msg {
  display: none; margin-top: 16px; padding: 12px 16px;
  border: 1px solid rgba(26,26,26,.2); background: var(--white, #fff);
  font-size: .85rem; font-weight: 400; line-height: 1.7; text-align: left; color: var(--charcoal);
}
.msg.err { border-color: rgba(160,58,42,.5); color: var(--red); }
.msg.ok { border-left: 2px solid var(--gold); }

/* ---------- Admin banner ---------- */
.admin-banner {
  display: none; align-items: center; gap: 10px; margin-bottom: 32px; padding: 14px 18px;
  background: transparent; border: 1px solid rgba(26,26,26,.25); border-left: 2px solid var(--gold);
  color: var(--grey); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
}
.admin-banner.on-dark {
  border-color: rgba(249,248,246,.3); border-left-color: var(--gold); color: rgba(249,248,246,.75);
}

/* ---------- Modal ---------- */
.mask { display: none; position: fixed; inset: 0; background: rgba(26, 26, 26, .55); z-index: 200; align-items: center; justify-content: center; }
.modal {
  background: var(--paper); border: 1px solid var(--charcoal);
  width: min(560px, 94vw); max-height: 86vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}
.modal .mhd {
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--red);
  display: flex; align-items: center; gap: 10px;
}
.modal .mhd .x { margin-left: auto; cursor: pointer; color: var(--grey); font-size: 1rem; line-height: 1; transition: color .3s; }
.modal .mhd .x:hover { color: var(--charcoal); }
.modal .mbd { padding: 22px 24px; overflow: auto; }
.modal .mintro { color: var(--grey); font-size: .88rem; margin-bottom: 14px; line-height: 1.7; }
.modal .mintro b { color: var(--red); }
.modal .mft { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
.mitem { display: flex; gap: 10px; padding: 10px 14px; margin-bottom: 8px; border: 1px solid rgba(26,26,26,.15);
         font-size: .85rem; line-height: 1.65; word-break: break-word; }
.mitem.e { border-color: rgba(160,58,42,.4); color: var(--red); }
.mitem.w { border-color: rgba(108,104,99,.4); color: var(--grey); }
.mitem .idx { font-weight: 500; flex-shrink: 0; }

/* ---------- Toast notifications ---------- */
#toasts { position: fixed; top: 96px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  pointer-events: auto;
  background: var(--paper); color: var(--charcoal);
  border: 1px solid rgba(26,26,26,.18); border-left: 2px solid var(--gold);
  padding: 14px 18px; font-size: .85rem; font-weight: 400; line-height: 1.65;
  max-width: 360px; display: flex; align-items: flex-start; gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
  animation: toastIn .6s var(--ease);
}
.toast.err { border-left-color: var(--red); }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast .t-x { margin-left: auto; cursor: pointer; font-size: .9rem; line-height: 1; opacity: .4; flex-shrink: 0; }
.toast .t-x:hover { opacity: 1; }
@keyframes toastIn  { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to   { opacity: 0; transform: translateX(30px); } }

/* ---------- Skeleton loading ---------- */
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton {
  background: linear-gradient(90deg, #EFEAE3 0%, #F6F2EC 40%, #EFEAE3 80%);
  background-size: 800px 100%;
  animation: shimmer 2s linear infinite;
}
.skeleton-card { border: 1px solid rgba(26,26,26,.1); background: #fff; }
.skeleton-card .s-cover { aspect-ratio: 4 / 3; }
.skeleton-card .s-line { height: 10px; margin: 11px 14px; }
.skeleton-card .s-line.w60 { width: 60%; }
.skeleton-card .s-line.w40 { width: 40%; }
.skeleton-card .s-line.w80 { width: 80%; }

/* ---------- Scroll reveal (slow, cinematic) ---------- */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Like button heartbeat ---------- */
@keyframes heartPop {
  0% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(.92); } 100% { transform: scale(1); }
}
.likebtn.just-liked { animation: heartPop .45s var(--ease); }

/* ---------- Footer ---------- */
.mega-footer { background: var(--charcoal); color: var(--paper); padding: 90px 44px 36px; overflow: hidden; position: relative; }
.footer-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.01em; line-height: 1.05;
}
.footer-title em { font-style: italic; color: var(--gold); }
.footer-link {
  display: inline-block; margin-top: 22px;
  color: var(--paper); font-size: clamp(1rem, 2.2vw, 1.35rem); font-weight: 300;
  text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(249,248,246,.4);
  transition: color .5s var(--ease), text-decoration-color .5s var(--ease);
}
.footer-link:hover { color: var(--gold); text-decoration-color: var(--gold); }
.foot-bottom {
  margin-top: 70px; padding-top: 24px;
  border-top: 1px solid rgba(249,248,246,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(249,248,246,.45);
}
.foot-bottom a { color: rgba(249,248,246,.45); text-decoration: none; transition: color .5s var(--ease); }
.foot-bottom a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn .fill { transition: none; }
  .skeleton, .likebtn.just-liked, .toast { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Auth split (login / register / forgot / reset / verify) ---------- */
/* 使用页面的 main 是 padding:0，分屏直接满幅铺满，无需负 margin */
.auth-split {
  display: grid; grid-template-columns: minmax(320px, 5fr) 7fr;
  min-height: 100vh;
  border-bottom: 1px solid var(--line);
}
.auth-panel {
  position: relative; background: var(--charcoal); color: var(--paper);
  padding: 148px 52px 38px; display: flex; flex-direction: column; overflow: hidden;
}
.auth-panel .v-label { color: rgba(249,248,246,.4); left: 24px; top: 118px; }
.auth-panel h2 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 2.9vw, 2.8rem); line-height: 1.12; max-width: 14ch;
}
.auth-panel h2 em { font-style: italic; color: var(--gold); }
.auth-panel .copy { color: rgba(249,248,246,.6); font-weight: 300; font-size: .92rem; line-height: 1.85; max-width: 40ch; margin-top: 18px; }
.auth-points { margin-top: 44px; border-bottom: 1px solid rgba(249,248,246,.14); }
.auth-points .pt { display: flex; gap: 18px; padding: 17px 0; border-top: 1px solid rgba(249,248,246,.14); }
.auth-points .n { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.05rem; min-width: 30px; flex-shrink: 0; }
.auth-points .t { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(249,248,246,.88); }
.auth-points .d { font-size: .78rem; font-weight: 300; color: rgba(249,248,246,.52); line-height: 1.7; margin-top: 5px; }
.auth-foot-note { margin-top: auto; padding-top: 34px; font-size: 9px; text-transform: uppercase; letter-spacing: .28em; color: rgba(249,248,246,.35); }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 132px 48px 64px; }
.auth-box { width: min(430px, 100%); }
.auth-box .overline { margin-bottom: 14px; }
.auth-box h1 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; margin-bottom: 10px;
}
.auth-box h1 em { font-style: italic; color: var(--gold); }
.auth-box .lede { color: var(--grey); font-weight: 300; font-size: .9rem; line-height: 1.75; margin-bottom: 34px; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; min-height: 0; }
  .auth-panel { padding: 116px 24px 34px; }
  .auth-panel h2 { font-size: 1.6rem; }
  .auth-panel .copy { font-size: .85rem; }
  .auth-points, .auth-foot-note { display: none; }
  .auth-form-col { padding: 46px 24px 70px; align-items: flex-start; }
}

/* ---------- Taupe header band (account dashboard / public profile) ---------- */
.band {
  position: relative; background: var(--taupe);
  border-bottom: 1px solid var(--line);
  margin: -100px -40px 46px; padding: 134px 40px 46px;
}
.band .wrap { max-width: 1320px; margin: 0 auto; }
@media (max-width: 1024px) { .band { margin: -90px -20px 38px; padding: 112px 20px 36px; } }

/* ---------- Account chip (topbar, rendered by store-ui.js) ---------- */
.acct-chip { position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.acct-avatar {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--charcoal); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1rem;
}
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-name { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal); }
.acct-chip:hover .acct-name, .acct-chip.open .acct-name { color: var(--gold); }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 120;
  min-width: 190px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  display: none; flex-direction: column; padding: 6px 0;
}
.acct-chip.open .acct-menu { display: flex; }
.acct-menu a {
  padding: 11px 20px; font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .2em; color: var(--grey); text-decoration: none; transition: color .3s var(--ease), background .3s var(--ease);
}
.acct-menu a:hover { color: var(--charcoal); background: rgba(26,26,26,.04); }
.acct-menu a:last-child { border-top: 1px solid var(--line); margin-top: 4px; color: var(--red); }

/* ---------- Auth / account pages shared ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-wrap.wide { max-width: 560px; }
.auth-card { border: 1px solid var(--line); background: #fff; padding: 40px 38px; }
.auth-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; letter-spacing: -.01em; margin: 14px 0 8px; }
.auth-title em { font-style: italic; color: var(--gold); }
.auth-sub { color: var(--grey); font-weight: 300; font-size: .9rem; line-height: 1.7; margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; color: var(--grey); margin-bottom: 8px; }
.field .inp { width: 100%; }
.field .hint { font-size: .72rem; color: var(--grey); margin-top: 6px; font-weight: 300; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 24px; flex-wrap: wrap; }
.auth-links { font-size: .8rem; color: var(--grey); }
.auth-links a { color: var(--charcoal); text-decoration: none; border-bottom: 1px solid rgba(26,26,26,.3); padding-bottom: 2px; transition: color .4s var(--ease); }
.auth-links a:hover { color: var(--gold); border-color: var(--gold); }
.auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--grey); font-weight: 300; }
.auth-foot a { color: var(--charcoal); text-decoration: none; border-bottom: 1px solid rgba(26,26,26,.3); padding-bottom: 2px; }
.auth-foot a:hover { color: var(--gold); }
.check-row { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--grey); cursor: pointer; }
.check-row input { width: 15px; height: 15px; accent-color: var(--gold); cursor: pointer; }

/* Profile header (public /u page + account dashboard) */
.prof-head { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 10px; }
.prof-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--charcoal); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 2.4rem;
}
.prof-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
.prof-name em { font-style: italic; color: var(--gold); }
.prof-meta { color: var(--grey); font-size: .82rem; margin-top: 6px; display: flex; gap: 18px; flex-wrap: wrap; }
.prof-bio { color: var(--grey); font-weight: 300; font-size: .92rem; line-height: 1.8; max-width: 64ch; margin-top: 14px; }
.prof-stats { display: flex; gap: 44px; margin: 30px 0 44px; flex-wrap: wrap; }
.prof-stat .n { font-family: var(--font-serif); font-size: 1.7rem; color: var(--charcoal); }
.prof-stat .k { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .25em; color: var(--grey); margin-top: 4px; }

/* Account dashboard tabs (reuses .tab look) */
.acct-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.acct-tabs .tab {
  padding: 13px 2px; background: none; border: none; border-bottom: 2px solid transparent;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em;
  color: var(--grey); cursor: pointer; transition: color .4s var(--ease), border-color .4s var(--ease);
}
.acct-tabs .tab:hover { color: var(--charcoal); }
.acct-tabs .tab.active { color: var(--charcoal); border-bottom-color: var(--gold); }

/* Status chips for owner upload list */
.status-chip { font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(26,26,26,.25); color: var(--grey); }
.status-chip.approved { border-color: rgba(60, 130, 80, .5); color: #3c8250; }
.status-chip.pending { border-color: rgba(180, 130, 20, .5); color: #b48214; }
.status-chip.rejected { border-color: rgba(160,58,42,.5); color: var(--red); }
.status-chip.offline { border-color: rgba(26,26,26,.2); color: var(--grey); }

/* Session rows */
.sess-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sess-row:first-child { border-top: none; }
.sess-main { flex: 1; min-width: 220px; }
.sess-main .t { font-size: .88rem; font-weight: 500; }
.sess-main .m { font-size: .72rem; color: var(--grey); margin-top: 4px; word-break: break-all; }
.badge-current { font-size: .58rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 3px 8px; }
