/* =========================================================================
 * JEWEL MONSTER · 全局样式
 * 设计语言：深祖母绿基底 + 翡翠光晕（取自品牌色 #0c5b46）；静谧、克制、premium；移动端优先。
 * arcade.ai 风格：深色 + 绿色荧光强调 + 大留白 + 提示框（prompt-box）。
 * ========================================================================= */
:root {
  /* —— 深祖母绿基底 —— */
  --navy-deep: #061813;
  --navy: #0a2a22;
  --navy-2: #103b30;
  --navy-3: #155043;
  /* —— 翡翠 / 银白（品牌金属） —— */
  --platinum: #eaf6f1;
  --platinum-2: #b7d4c8;
  --wg-1: #6ff0c8;
  --wg-2: #2bd6a0;
  --wg-3: #1c8f6e;
  --gold-metal: linear-gradient(135deg, var(--wg-1) 0%, var(--wg-2) 46%, var(--wg-3) 100%);
  /* —— 语义变量（映射到深色主题） —— */
  --ink: #eaf6f1;
  --ink-2: #b7d4c8;
  --paper: #0c2e25;
  --paper-2: #103b30;
  --gold: #2bd6a0;          /* 强调色（翡翠） */
  --gold-2: #6ff0c8;        /* 高亮强调 */
  --gold-soft: rgba(43, 214, 160, .16);
  --line: rgba(180, 220, 205, .14);
  --muted: #7fa393;
  --good: #4bd6a0;
  --radius: 16px;
  --shadow: 0 16px 46px rgba(0, 0, 0, .45);
  --shadow-2: 0 6px 20px rgba(0, 0, 0, .32);
  --maxw: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: radial-gradient(1100px 620px at 82% -8%, #0f5b45 0%, transparent 58%),
              linear-gradient(180deg, #0a2a22 0%, #061813 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }
::selection { background: rgba(43, 214, 160, .30); color: #fff; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(6, 24, 19, 0.80);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { font-weight: 800; letter-spacing: 2px; font-size: 20px; display: flex; align-items: center; gap: 9px; }
.logo .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--gold-metal);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 2px 8px rgba(28,143,110,.35);
}
.logo small { font-weight: 500; color: var(--muted); letter-spacing: 1px; font-size: 12px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); font-size: 14.5px; opacity: .88; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-ico { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; flex: none; color: var(--gold-2); transition: transform .2s ease; }
.nav-ico svg { width: 17px; height: 17px; display: block; }
.nav a:hover .nav-ico { transform: scale(1.14); }
.nav a:hover { color: var(--gold); opacity: 1; }
.lang-sel { border: 1px solid var(--line); background: var(--navy-2); border-radius: 9px; padding: 5px 8px; font-size: 13px; color: var(--platinum); margin-left: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid rgba(180, 220, 205, .30); color: var(--platinum); background: rgba(255, 255, 255, .04);
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn:hover { background: rgba(180, 220, 205, .12); border-color: rgba(180, 220, 205, .5); }
.btn-primary {
  background: var(--gold-metal);
  color: #04231b; border: 1px solid rgba(6, 24, 19, .24);
  font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 8px 22px rgba(28, 143, 110, .34), inset 0 1px 2px rgba(255, 255, 255, .74), inset 0 -1px 2px rgba(12, 80, 60, .28);
}
.btn-primary:hover { filter: brightness(1.06); background: var(--gold-metal); }
.nav .btn-primary, .nav .btn-primary:hover { color: #04231b; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 54px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle at 32% 32%, rgba(43,214,160,.20), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--gold); border: 1px solid rgba(43,214,160,.36); padding: 5px 12px; border-radius: 999px; background: rgba(43,214,160,.08); }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.18; margin: 18px 0 14px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(180deg, #ffffff 0%, #9ff0d2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(15px, 2vw, 18px); color: var(--ink-2); max-width: 640px; }
.hero .cta-row { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* arcade.ai 招牌：Hero 提示框 */
.prompt-box {
  display: flex; gap: 8px; align-items: center; max-width: 760px; margin: 28px 0 0;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 22px; box-shadow: var(--shadow-2);
}
.prompt-box input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16px; outline: none; padding: 8px 0;
}
.prompt-box input::placeholder { color: var(--muted); }
.prompt-box .btn { flex: none; }
@media (max-width: 560px) {
  .prompt-box { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 14px; }
  .prompt-box input { padding: 6px 4px; }
  .prompt-box .btn { width: 100%; }
}

/* ---------- 品类卡片 ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.cat {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-2); transition: .2s;
  display: flex; flex-direction: column;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(43,214,160,.5); }
.cat .ico {
  width: 68px; height: 68px; border-radius: 15px; overflow: hidden;
  display: grid; place-items: center; font-size: 30px; margin-bottom: 16px;
  background: rgba(43,214,160,.14);
  border: 1px solid rgba(43,214,160,.30);
  box-shadow: 0 8px 20px rgba(0,0,0,.34), inset 0 1px 2px rgba(255,255,255,.20);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat .ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat:hover .ico { transform: translateY(-2px) scale(1.03); border-color: rgba(43,214,160,.62); box-shadow: 0 12px 26px rgba(28,143,110,.42); }
.cat h3 { margin: 0 0 6px; font-size: 19px; }
.cat p { margin: 0; color: var(--muted); font-size: 14px; }
.cat-cta { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold); }
.cat:hover .cat-cta { text-decoration: underline; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.flow .step { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.flow .step .n { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.flow .step h4 { margin: 8px 0 6px; font-size: 16.5px; }
.flow .step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 区块标题 ---------- */
.kicker { display: inline-block; font-size: 12.5px; letter-spacing: 3px; font-weight: 700; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.section { padding: 60px 0; }
.section h2 { font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 8px; font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #9ff0d2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section .sub { color: var(--muted); margin: 0 0 28px; }

/* ---------- 匠人区块（TRUSTED MAKERS） ---------- */
.makers .btn-primary { margin-top: 28px; }
.maker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.maker { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: .2s; }
.maker:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.45); box-shadow: var(--shadow-2); }
.maker .m-ico { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.maker h4 { margin: 0 0 6px; font-size: 16px; }
.maker p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- 品牌橱窗 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.piece { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
.piece .thumb { height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy-deep)); }
.piece .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.piece .thumb svg { width: 150px; height: 150px; }
.piece .meta { padding: 16px 18px; }
.piece .meta .b { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.piece .meta h4 { margin: 4px 0 6px; font-size: 16px; }
.piece .meta .price { font-weight: 800; color: var(--ink); }
.empty { color: var(--muted); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13.5px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =========================================================================
 * 响应式（移动端优先）
 * ========================================================================= */
@media (max-width: 860px) {
  body { background-attachment: scroll; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { flex-wrap: wrap; height: auto; padding: 10px 16px 0; row-gap: 0; }
  .logo { margin-bottom: 8px; }
  .nav { margin-left: 0; width: 100%; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 2px 0 10px; scrollbar-width: none; order: 2; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .nav .install-btn { white-space: nowrap; flex: none; }
  .nav a:not(.btn) { display: inline-flex; padding: 7px 11px; font-size: 13.5px;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
  .nav a.btn { padding: 7px 14px; font-size: 13.5px; }
  .nav .install-btn { padding: 7px 12px; font-size: 13px; }
  .nav .lang-sel { flex: none; margin-left: auto; }
  .topbar .lang-sel { order: 1; flex: none; margin-left: auto; }
  .cats { grid-template-columns: 1fr; margin-top: 30px; }
  .cat { padding: 20px 18px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow .step { padding: 18px 15px; }
  .section { padding: 42px 0; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(46%, 1fr)); gap: 12px; }
  .piece .thumb { height: 150px; }
  .jewel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jewel-grid img { height: 150px; }
  .maker-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer { padding: 26px 0; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer .wrap > div:last-child { text-align: left; }
}

@media (max-width: 620px) {
  input, select, textarea { font-size: 16px; }
  .lang-sel { font-size: 14px; padding: 6px 8px; }
  .hero { padding: 44px 0 34px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .section { padding: 38px 0; }
  .section h2 { font-size: 24px; }
  .flow { grid-template-columns: 1fr; }
  .flow .step h4 { font-size: 15.5px; }
  .maker-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero { padding: 40px 0 30px; }
}

/* ---------- LOGO 徽标 + 星光动画 ---------- */
.logo-badge { cursor: pointer; position: relative; }
.logo-badge img { height: 32px; width: auto; display: block; border-radius: 8px; transition: transform .25s ease;
  box-shadow: 0 0 0 1px rgba(180,220,205,.16); }
.logo-badge:hover img { transform: scale(1.05); }
.logo-badge .brand-text { font-weight: 800; letter-spacing: 2px; font-size: 19px; display: flex; flex-direction: column; line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #9ff0d2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-badge .brand-text small { font-weight: 500; color: var(--muted); letter-spacing: 1px; font-size: 11px; margin-top: 3px;
  -webkit-text-fill-color: var(--muted); }
.logo-badge .spark { position: absolute; inset: -8px -6px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.logo-badge:hover .spark { opacity: 1; }
.logo-badge .spark i { position: absolute; color: var(--gold-2); font-style: normal; font-size: 12px; text-shadow: 0 0 8px rgba(111,240,200,.95); animation: twinkle 1.2s ease-in-out infinite; }
.logo-badge .spark i:nth-child(1) { top: -4px; left: 10px; animation-delay: 0s; }
.logo-badge .spark i:nth-child(2) { top: 2px; right: -2px; font-size: 9px; animation-delay: .25s; }
.logo-badge .spark i:nth-child(3) { bottom: -2px; left: 0; font-size: 10px; animation-delay: .5s; }
.logo-badge .spark i:nth-child(4) { bottom: 0; right: 8px; animation-delay: .75s; }
.logo-badge .spark i:nth-child(5) { top: 40%; right: -8px; font-size: 8px; animation-delay: .95s; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.3) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(25deg); } }

/* ---------- 页脚 LOGO ---------- */
.footer .wrap { align-items: center; }
.footer-logo { flex: none; }
.footer .wrap > div:last-child { text-align: right; }

/* ---------- 珠宝图例网格 ---------- */
.jewel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 24px; }
.jewel-grid img { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; transition: .2s; background: var(--navy-2); }
.jewel-grid img:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(43,214,160,.5); }
.loading-inline { color: var(--muted); padding: 24px 4px; }

/* ---------- 统一灯箱 ---------- */
.lb-overlay { position: fixed; inset: 0; background: rgba(4, 14, 10, .94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; flex-direction: column; }
.lb-overlay.show { display: flex; animation: fade .25s ease; }
.lb-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.lb-overlay .lb-close { position: fixed; top: 18px; right: 24px; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8; }
.lb-overlay .lb-close:hover { opacity: 1; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 跟随鼠标的星光 ---------- */
.cursor-spark-layer { position: fixed; inset: 0; pointer-events: none; z-index: 150; overflow: hidden; }
.cursor-spark {
  position: absolute; transform: translate(-50%, -50%) scale(var(--sc, 1));
  animation: cspark .95s ease-out forwards; text-shadow: 0 0 10px currentColor;
  will-change: transform, opacity; line-height: 1;
}
@keyframes cspark {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -170%) scale(1.15) rotate(70deg); }
}
@media (prefers-reduced-motion: reduce) { .cursor-spark-layer { display: none; } }

/* 页面内 PWA 安装按钮（beforeinstallprompt 触发后显示） */
.install-btn { display: none; align-items: center; gap: 7px; background: rgba(43,214,160,.10); border: 1px solid rgba(43,214,160,.45); color: #9ff0d2; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; transition: .18s; }
.install-btn.show { display: inline-flex; }
.install-btn:hover { background: rgba(43,214,160,.22); color: #bff3dc; }
.install-btn .nav-ico { color: var(--gold-2); width: 15px; height: 15px; }

/* ---------- 顶栏下载 APP（小图标导航样式） ---------- */
.nav-download {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  color: var(--ink-2); opacity: .88; font-size: 14.5px; font-weight: 500;
  flex: none; margin-left: 18px;
}
.nav-download:hover { color: var(--gold); opacity: 1; }

/* ---------- AI 渲染图 ---------- */
.mockup { position: relative; overflow: hidden; }
.ai-render-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.ai-render-tag {
  position: absolute; left: 8px; bottom: 8px; font-size: 11px; padding: 3px 8px;
  border-radius: 999px; background: rgba(6, 24, 19, .82); color: #9ff0d2; letter-spacing: .5px;
  backdrop-filter: blur(4px); border: 1px solid rgba(43,214,160,.3);
}
.ai-render-tag.pending { background: rgba(43, 214, 160, .92); color: #04231b; border-color: transparent; }
.ai-render-loading { color: var(--muted); font-size: 13px; }
.ai-render-img { cursor: zoom-in; }
.ai-reroll { position: absolute; right: 8px; bottom: 8px; font: inherit; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(6, 24, 19, .82); color: #9ff0d2; border: 1px solid rgba(43,214,160,.3); backdrop-filter: blur(4px); cursor: pointer; transition: .18s; }
.ai-reroll:hover { background: rgba(43, 214, 160, .92); color: #04231b; border-color: transparent; }

/* =========================================================================
 * 品牌橱窗作品抽层（piece-sheet.js）
 * ========================================================================= */
.piece[data-i] { cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative; }
.piece[data-i]:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.45); box-shadow: 0 18px 40px rgba(0,0,0,.42); }
.piece[data-i]::after {
  content: "点开"; position: absolute; top: 10px; right: 10px; font-size: 11px; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 999px; color: #04231b; background: rgba(43,214,160,.92);
  opacity: 0; transform: translateY(-4px); transition: .2s;
}
.piece[data-i]:hover::after { opacity: 1; transform: translateY(0); }
@media (hover: none) { .piece[data-i]::after { opacity: .92; transform: none; } }

.ps-overlay {
  position: fixed; inset: 0; z-index: 260; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 11, 8, .82); backdrop-filter: blur(6px);
}
.ps-overlay.show { display: flex; animation: fade .22s ease; }
.ps-panel {
  width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy-2), var(--navy-deep));
  border: 1px solid rgba(43, 214, 160, .28); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .62); overflow: hidden;
}
.ps-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.ps-head b { color: var(--ink); font-size: 15px; letter-spacing: .3px; }
.ps-x { cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; padding: 4px 6px; border-radius: 8px; }
.ps-x:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.ps-body { padding: 16px 18px 20px; overflow-y: auto; }
.ps-hero { position: relative; }
.ps-img { width: 100%; border-radius: 14px; display: block; background: var(--navy-deep); }
.ps-img-svg { display: grid; place-items: center; min-height: 200px; padding: 12px; }
.ps-img-svg svg { width: 150px; height: 150px; }
.ps-zoom {
  position: absolute; left: 10px; bottom: 10px; font-size: 11px; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 999px; color: #9ff0d2;
  background: rgba(6, 24, 19, .82); border: 1px solid rgba(43,214,160,.3);
}
.ps-toprow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 4px; }
.ps-brand { font-size: 12px; letter-spacing: 1px; color: var(--gold); }
.ps-total { font-size: 20px; font-weight: 800; color: var(--ink); }
.ps-sec { margin-top: 16px; }
.ps-sec-t { font-size: 12px; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; }
.ps-rows, .ps-lines { display: flex; flex-direction: column; gap: 7px; }
.ps-row, .ps-line {
  display: flex; justify-content: space-between; gap: 14px; font-size: 13px;
  padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--line);
}
.ps-row span, .ps-line span { color: var(--muted); flex: 0 0 auto; }
.ps-row b, .ps-line b { color: var(--ink); font-weight: 600; text-align: right; }
.ps-brief { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.ps-actions { display: flex; gap: 10px; margin-top: 18px; }
.ps-btn {
  flex: 1; font: inherit; font-size: 14px; font-weight: 700; padding: 12px 14px;
  border-radius: 12px; cursor: pointer; transition: .18s; border: 1px solid transparent;
}
.ps-btn.gold { background: var(--gold-metal); color: #04231b; }
.ps-btn.gold:hover { filter: brightness(1.07); }
.ps-btn.ghost { background: transparent; color: var(--gold-2); border-color: rgba(43,214,160,.42); }
.ps-btn.ghost:hover { background: var(--gold-soft); }
.ps-hint { margin: 12px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.ps-suphead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ps-suphead b { color: var(--ink); font-size: 15px; }
.ps-suphead span { color: var(--gold); font-weight: 700; }
.ps-note { margin: 8px 0 14px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.ps-form { display: flex; flex-direction: column; gap: 11px; }
.ps-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ps-form input, .ps-form select, .ps-form textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: rgba(4, 18, 13, .72);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.ps-form input:focus, .ps-form select:focus, .ps-form textarea:focus {
  outline: none; border-color: rgba(43,214,160,.55); box-shadow: 0 0 0 3px rgba(43,214,160,.1);
}
.ps-form textarea { resize: vertical; }
.ps-done { text-align: center; padding: 6px 0 4px; }
.ps-tick {
  width: 54px; height: 54px; margin: 4px auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #04231b;
  background: var(--gold-metal); box-shadow: 0 10px 26px rgba(43,214,160,.22);
}
.ps-done h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.ps-done p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.ps-onno {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(43,214,160,.38);
}
.ps-onno span { font-size: 12px; color: var(--muted); }
.ps-onno b { color: var(--gold-2); letter-spacing: 1px; font-size: 15px; }

@media (max-width: 560px) {
  .ps-overlay { padding: 0; align-items: flex-end; }
  .ps-panel { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; }
  .ps-body { padding: 14px 15px calc(18px + env(safe-area-inset-bottom)); }
  .ps-actions { flex-direction: column-reverse; }
  .ps-btn { width: 100%; }
}

/* 品牌橱窗副标题里的操作提示 */
.section .sub .sub-em { display: block; margin-top: 6px; color: var(--gold); font-weight: 500; font-size: 13px; }

/* =========================================================================
 * arcade.ai 全板块扩展（v16）：社区条 / 品类网格 / 源头直采 / 设计师 / 作品流 / 礼物
 * ========================================================================= */

/* ---------- 社区条（How-it-works 下方） ---------- */
.band {
  margin-top: 40px; padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(120deg, rgba(43,214,160,.14), rgba(43,214,160,.04) 62%);
  border: 1px solid rgba(43,214,160,.30); border-radius: var(--radius);
}
.band h3 { margin: 0 0 4px; font-size: 21px; }
.band p { margin: 0; color: var(--muted); font-size: 14.5px; }
.band .btn { flex: none; }

/* ---------- 品类网格（9 卡，无图卡用翡翠渐变 + emoji） ---------- */
.cat .ico.noimg { display: grid; place-items: center; font-size: 30px;
  background: linear-gradient(135deg, rgba(111,240,200,.22), rgba(28,143,110,.28)); }
.cat p { font-size: 13.5px; }

/* ---------- 源头直采 · 共创品牌 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.brand-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-2); transition: .2s;
  display: flex; flex-direction: column; align-items: flex-start;
}
.brand-card:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.5); box-shadow: var(--shadow); }
.b-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: rgba(43,214,160,.14); border: 1px solid rgba(43,214,160,.30); margin-bottom: 12px; }
.brand-card h4 { margin: 0 0 4px; font-size: 16.5px; }
.brand-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.b-tag { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 999px; }
.b-tag.ok { color: var(--gold-2); background: rgba(43,214,160,.14); border: 1px solid rgba(43,214,160,.35); }
.b-tag.soon { color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--line); }

/* ---------- 主理人 & 设计师 ---------- */
.designer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.designer {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-2); transition: .2s;
  display: flex; flex-direction: column;
}
.designer:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.5); box-shadow: var(--shadow); }
.d-ico { width: 100%; height: 150px; border-radius: 12px; overflow: hidden; margin-bottom: 16px;
  background: rgba(43,214,160,.12); border: 1px solid rgba(43,214,160,.28); }
.d-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.designer h4 { margin: 0 0 8px; font-size: 18px; }
.designer p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.d-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold); }
.designer:hover .d-link { text-decoration: underline; }

/* ---------- 社区作品流 ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.feed-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-2); transition: .2s; display: flex; flex-direction: column;
}
.feed-card:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.55); box-shadow: var(--shadow); }
.fc-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy-2); }
.fc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.feed-card:hover .fc-img img { transform: scale(1.04); }
.fc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.fc-row { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.fc-row.dim { margin-top: 6px; color: var(--muted); }
.fc-ava { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #04231b; background: var(--gold-metal); }
.fc-ava.mk { background: rgba(43,214,160,.16); color: var(--gold-2); border: 1px solid rgba(43,214,160,.4); }
.fc-name { font-weight: 700; }
.fc-sep { opacity: .4; }
.fc-role { opacity: .75; }
.fc-body h4 { margin: 9px 0 0; font-size: 15.5px; line-height: 1.35; }
.fc-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.fc-price { font-weight: 800; color: var(--gold-2); }
.fc-act { color: var(--muted); font-size: 12.5px; }
.fc-act i { font-style: normal; color: #ff7d9c; }
.fc-act b { font-weight: 700; color: var(--gold); }

/* ---------- 有故事的礼物 ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.gift {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); transition: .2s;
}
.gift:hover { transform: translateY(-3px); border-color: rgba(43,214,160,.55); box-shadow: var(--shadow); }
.g-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 22px;
  background: rgba(43,214,160,.14); border: 1px solid rgba(43,214,160,.30); }
.gift h4 { margin: 0; font-size: 15.5px; }
.gift p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .designer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .band { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gift { padding: 14px 14px; }
  .cat-grid { gap: 12px; }
}
@media (max-width: 620px) {
  .brand-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: 1fr; }
  .fc-body h4 { font-size: 15px; }
}
