/* ============================================================
   PixelCut Studio — 现代设计系统
   现代无衬线排版 + 柔和渐变 + 玻璃拟态圆角面板 + 流畅动效
   保留像素产品的调性：网格、浮动像素、像素 logo 点缀
   ============================================================ */
:root {
  --bg: #0b0d1a;
  --bg-2: #11142a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --ink: #f3f4fb;
  --ink-soft: #aab0cf;
  --ink-faint: #6f76a0;
  --brand: #ff4d8d;
  --brand-2: #7c5cff;
  --brand-3: #19d3da;
  --accent: #ffcf3f;
  --grad: linear-gradient(120deg, #ff4d8d 0%, #7c5cff 50%, #19d3da 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,77,141,.18), rgba(124,92,255,.18), rgba(25,211,218,.18));
  --shadow-sm: 0 6px 18px rgba(0,0, 0, .35);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-glow: 0 12px 40px rgba(124, 92, 255, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --font: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 背景装饰 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% 4%, rgba(255,77,141,.22), transparent 60%),
    radial-gradient(680px 460px at 92% 8%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(700px 520px at 50% 108%, rgba(25,211,218,.16), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}
.bg-pixels { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-pixels span {
  position: absolute; opacity: 0; border-radius: 2px;
  box-shadow: 0 0 14px rgba(255,255,255,.3);
  animation: floatPixel linear infinite;
}
@keyframes floatPixel {
  0%   { transform: translateY(50px) rotate(0) scale(1); opacity: 0; }
  15%  { opacity: .28; }
  85%  { opacity: .28; }
  100% { transform: translateY(-90px) rotate(180deg) scale(1.15); opacity: 0; }
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 26, .65);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; gap: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px; background: var(--grad);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 0 16px rgba(124,92,255,.6);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0 4px, transparent 4px 8px),
    linear-gradient(0deg, rgba(0,0,0,.55) 0 4px, transparent 4px 8px);
}
.brand__name { font-size: 17px; letter-spacing: .2px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__lang { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: transparent; border: 1px solid var(--border); color: var(--ink-soft);
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  cursor: pointer; transition: all .2s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--border-strong); }
.lang-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(124,92,255,.4); }
.lang-sep { color: var(--ink-faint); }

/* 导航账号区 */
.nav__account { display: flex; align-items: center; gap: 12px; margin-left: 14px; }
.quota-badge {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.quota-badge.is-pro { color: #1a1330; background: var(--grad); border-color: transparent; box-shadow: 0 4px 14px rgba(124,92,255,.4); }
@media (max-width: 860px) {
  .nav__account { margin-left: 0; }
  .quota-badge { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; padding: 56px 22px 36px; }
.hero__inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero__badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand-3);
  background: rgba(25,211,218,.10); border: 1px solid rgba(25,211,218,.3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; margin: 0 0 18px;
  letter-spacing: -.5px;
}
.grad-text {
  display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-top: 6px;
}
.hero__subtitle { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  list-style: none; display: flex; gap: 30px; padding: 0; margin: 36px 0 0;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b {
  font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stats span { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }

.hero__art { display: flex; justify-content: center; }
.art-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 100%; max-width: 320px;
}
.art-card canvas {
  width: 180px; height: 180px; image-rendering: pixelated;
  border-radius: var(--radius-sm); background: #060815;
  box-shadow: 0 10px 30px rgba(124,92,255,.35), inset 0 0 0 1px rgba(255,255,255,.08);
}
.art-tag {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface-2); padding: 4px 10px; border-radius: 999px;
}
.art-tag--accent { color: #fff; background: var(--grad); }
.art-arrow { color: var(--brand-3); font-weight: 700; }
.art-caption { font-size: 12px; color: var(--ink-faint); }

/* ---------- 通用区块 ---------- */
main { position: relative; z-index: 2; }
.section-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.section-title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.3px; }
.section-desc { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Studio ---------- */
.studio { max-width: 980px; margin: 70px auto; padding: 0 22px; }
.studio__panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-md); backdrop-filter: blur(8px);
}
.uploader {
  border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 44px 20px;
  text-align: center; cursor: pointer; transition: all .2s; background: rgba(255,255,255,.02);
}
.uploader:hover, .uploader.drag {
  border-color: var(--brand-2); background: rgba(124,92,255,.10); transform: translateY(-2px);
}
.uploader__icon { font-size: 44px; margin-bottom: 10px; }
.uploader__text { font-size: 17px; margin: 8px 0; color: var(--ink); }
.uploader__text .link { color: var(--brand); font-weight: 700; text-decoration: underline; }
.uploader__hint { font-size: 13px; color: var(--ink-faint); margin: 10px 0 0; }

.controls { margin-top: 22px; }
.controls__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field--check { flex-direction: row; align-items: center; gap: 10px; }
.field--inline { flex-direction: row; align-items: center; gap: 10px; }
.field label { font-size: 13px; }
.field b { color: var(--brand); }
.field select, .field input[type="range"] {
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; font-weight: 500;
}
.field select:focus, .field input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.field--check input { width: 18px; height: 18px; accent-color: var(--brand); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.btn {
  font-family: inherit; font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink);
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 26px rgba(124,92,255,.4); }
.btn--accent { background: rgba(255,207,63,.16); border-color: rgba(255,207,63,.4); color: var(--accent); }
.btn--ghost { background: transparent; }
.btn--lg { padding: 15px 26px; font-size: 15px; }
/* 付费干净版下载：金色描边 + 💎 暗示，按钮在 data-unlocked=1 时变绿色 */
.btn--premium { background: linear-gradient(135deg, rgba(255,193,7,.18), rgba(255,152,0,.18)); border-color: rgba(255,193,7,.55); color: #b07000; font-weight: 600; }
.btn--premium[data-unlocked="1"] { background: linear-gradient(135deg, rgba(46,204,113,.18), rgba(39,174,96,.18)); border-color: rgba(46,204,113,.55); color: #137a3b; }

/* 支付成功浮窗（?paid=1 回到本站时短暂显示） */
.paid-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-16px); background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 32px rgba(46,204,113,.4); opacity: 0; transition: opacity .35s ease, transform .35s ease; z-index: 9999; pointer-events: none; }
.paid-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 结果对比 */
.result { margin-top: 22px; }
.compare { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.compare__item { margin: 0; text-align: center; }
.compare__item figcaption { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.canvas-frame {
  position: relative;
  background: #060815; padding: 10px; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.4);
}
.peg-overlay { position: absolute; left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; }
.peg-overlay[hidden] { display: none; }
.preview { display: block; max-width: 280px; width: 100%; height: auto; border-radius: 6px; background: #060815; }
.pixelated { image-rendering: pixelated; image-rendering: crisp-edges; }
.compare__arrow { font-size: 30px; color: var(--brand-3); font-weight: 800; }
.status { font-size: 13px; color: var(--ink-soft); margin-top: 16px; text-align: center; }

.privacy-note { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 18px; }

/* ---------- 分享面板 ---------- */
.share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 20, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
  animation: shareFade .2s ease;
}
.share-backdrop[hidden] { display: none; }
@keyframes shareFade { from { opacity: 0; } to { opacity: 1; } }

.share-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: min(92vw, 520px);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.14), rgba(124, 92, 255, 0.14)), var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: sharePop .25s ease;
}
@keyframes sharePop {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.share-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.share-panel__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.share-panel__close:hover { color: var(--ink); background: var(--surface-2); }
.share-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
}
.share-btn:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.share-btn__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 16px;
  font-weight: 700;
}
.share-btn__label {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
}
.share-wechat {
  margin-top: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.share-wechat p { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.share-wechat img { width: 160px; height: 160px; border-radius: 10px; background: #fff; }

@media (max-width: 560px) {
  .share-panel__grid { grid-template-columns: repeat(4, 1fr); }
  .share-btn { padding: 10px 4px; }
  .share-btn__icon { width: 32px; height: 32px; font-size: 14px; }
  .share-btn__label { font-size: 10px; }
}

/* ---------- Gallery ---------- */
.gallery { max-width: 1140px; margin: 80px auto; padding: 0 22px; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto;
}
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
}
.style-card {
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: transform .18s, border-color .2s, box-shadow .2s; color: var(--ink);
  font-family: inherit;
}
.style-card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.style-card__art {
  display: block; height: 84px; border-radius: 12px; margin-bottom: 14px;
  background:
    linear-gradient(135deg, var(--c1), var(--c2)),
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 8px, transparent 8px 16px);
  background-blend-mode: overlay, normal, normal;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.style-card__name { display: block; font-size: 16px; font-weight: 700; }
.style-card__en { display: block; font-size: 12px; color: var(--brand-3); font-weight: 600; margin-top: 1px; }
.style-card__desc { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }

/* ---------- How ---------- */
.how { max-width: 1140px; margin: 80px auto; padding: 0 22px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px;
  margin-bottom: 14px; box-shadow: 0 8px 20px rgba(124,92,255,.4);
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Features ---------- */
.features { max-width: 1140px; margin: 80px auto; padding: 0 22px; }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .18s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  display: inline-flex; font-size: 24px; width: 52px; height: 52px; align-items: center; justify-content: center;
  background: var(--grad-soft); border-radius: 14px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 60px; }
.footer__inner {
  max-width: 1140px; margin: 0 auto; padding: 34px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer__note { color: var(--ink-faint); font-size: 13px; margin: 0; flex: 1; min-width: 220px; }
.footer__links { display: flex; gap: 18px; }
.footer__links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: var(--ink); }

/* ---------- 效果展示区 ---------- */
.examples { padding: 72px 22px; }
.examples__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.example-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.example-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-strong);
}
.example-card__frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #070913;
  aspect-ratio: 16 / 10;
}
.example-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.example-card:hover .example-card__frame img { transform: scale(1.04); }
.example-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}
.example-card__tag {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.example-card__en {
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 860px) {
  .examples__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .examples__grid { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__art { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 18px 20px; }
  .brand__name { font-size: 15px; }
  .hero__stats { gap: 20px; }
  .compare__arrow { transform: rotate(90deg); }
}

/* ============================================================
   订阅 / 注册弹窗 + 价格卡片
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 18, .72);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
.modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 880px;
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(28,31,54,.96), rgba(16,18,36,.98));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px 34px 30px;
  animation: popIn .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer;
  transition: all .2s;
}
.modal__close:hover { color: var(--ink); background: var(--surface); transform: rotate(90deg); }
.modal__title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.modal__sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }
.modal__hint { color: var(--ink-faint); font-size: 12.5px; margin: 16px 0 0; text-align: center; }
.link-btn {
  background: none; border: none; color: var(--brand-3); font-family: inherit;
  font-size: 13px; cursor: pointer; margin: 14px auto 0; display: block;
}
.link-btn:hover { text-decoration: underline; }

/* 认证表单 */
.auth-form { display: flex; flex-direction: column; gap: 14px; max-width: 380px; margin: 0 auto; }
.auth-form .field { flex-direction: column; align-items: stretch; gap: 6px; }
.auth-form .field span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.auth-form input {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); outline: none; transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }

/* 价格卡片 */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 4px;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.plan--pro { border-color: rgba(124,92,255,.5); }
.plan--best {
  border-color: rgba(255,207,63,.55);
  background: linear-gradient(180deg, rgba(255,207,63,.08), rgba(255,77,141,.06));
  box-shadow: 0 14px 40px rgba(255,207,63,.14);
}
.plan__tag {
  position: absolute; top: -11px; left: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--border);
}
.plan__tag--hot { background: var(--brand-2); color: #fff; border-color: transparent; }
.plan__tag--best { background: var(--accent); color: #1a1330; border-color: transparent; }
.plan h3 { font-size: 18px; font-weight: 700; margin: 10px 0 10px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price b { font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price span { font-size: 13px; color: var(--ink-faint); }
.plan__save { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.plan__list { list-style: none; padding: 0; margin: 6px 0 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan__list li { font-size: 13.5px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-3); font-weight: 700; }
.plan__btn { margin-top: auto; }

@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .modal__panel { padding: 26px 18px 22px; }
}

/* ===== 赞助位 / Carbon Ads ===== */
.sponsor {
  background: linear-gradient(180deg, rgba(255, 46, 147, 0.04), rgba(0, 229, 255, 0.04));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 20px 26px;
  margin-top: 20px;
}
.sponsor__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sponsor__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8aa3;
  font-weight: 600;
}
.sponsor__slot {
  width: 100%;
  max-width: 760px;
  min-height: 110px;
  background: rgba(11, 13, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Carbon Ads 自带样式覆盖：让广告卡片适配深色玻璃面板 */
#carbonads {
  width: 100%;
  font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
}
#carbonads .carbon-wrap {
  display: flex !important;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: transparent !important;
}
#carbonads .carbon-img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#carbonads .carbon-text,
#carbonads .carbon-poweredby {
  color: #e8e8f3 !important;
  font-size: 13.5px !important;
  line-height: 1.45;
}
#carbonads .carbon-text a,
#carbonads .carbon-poweredby {
  color: #ff2e93 !important;
}
#carbonads .carbon-poweredby {
  font-size: 11px !important;
  opacity: 0.7;
  display: block;
  margin-top: 4px;
}
/* 自营招租 fallback */
.sponsor__fallback {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}
.sponsor__fallback-icon {
  font-size: 28px;
  line-height: 1;
}
.sponsor__fallback-text {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sponsor__fallback-text strong {
  font-size: 14px;
  color: #f3f3fa;
  font-weight: 600;
}
.sponsor__fallback-text span {
  font-size: 12.5px;
  color: #aaa;
}
.sponsor__fallback-cta {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .sponsor__fallback-cta { width: 100%; text-align: center; }
}

/* ===== Fiverr 联盟营销：结果下方卡片 ===== */
.affiliate-card {
  margin: 22px auto 0;
  max-width: 720px;
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.10), rgba(0, 229, 255, 0.10));
  border: 1px solid rgba(255, 46, 147, 0.35);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(255, 46, 147, 0.10);
}
.affiliate-card__badge {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff8fc2;
  font-weight: 600;
}
.affiliate-card__body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.affiliate-card__icon {
  font-size: 28px;
  line-height: 1;
}
.affiliate-card__text {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.affiliate-card__text strong {
  font-size: 14.5px;
  color: #f3f3fa;
  font-weight: 600;
}
.affiliate-card__text span {
  font-size: 13px;
  color: #c8c8d8;
}
.affiliate-card .btn {
  flex-shrink: 0;
  text-decoration: none;
}
@media (max-width: 600px) {
  .affiliate-card .btn { width: 100%; text-align: center; }
}

/* ===== 页脚联盟横条 ===== */
.aff-bar {
  max-width: 1100px;
  margin: 30px auto 20px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(121, 40, 255, 0.10), rgba(0, 229, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.aff-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1dbf73;
  box-shadow: 0 0 12px #1dbf73;
  animation: aff-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes aff-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.4); }
}
.aff-bar__text {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aff-bar__text strong {
  font-size: 13.5px;
  color: #f3f3fa;
  font-weight: 600;
}
.aff-bar__text span {
  font-size: 12px;
  color: #aaa;
}
.aff-bar__cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1dbf73;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(29, 191, 115, 0.10);
  border: 1px solid rgba(29, 191, 115, 0.30);
  transition: all 0.18s;
}
.aff-bar__cta:hover {
  background: rgba(29, 191, 115, 0.20);
  border-color: rgba(29, 191, 115, 0.55);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .aff-bar { padding: 14px 16px; }
  .aff-bar__cta { width: 100%; text-align: center; }
}

/* ---------- 我的作品（本地历史画廊） ---------- */
.myworks { max-width: 1140px; margin: 72px auto; padding: 0 22px; }
.myworks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.work-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  text-align: left;
  color: var(--ink);
  font-family: inherit;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.3); border-color: var(--brand-2, #ff2e93); }
.work-card img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.work-card__meta {
  display: block;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.myworks__empty { text-align: center; color: var(--ink-faint); margin-top: 18px; font-size: 14px; }
.myworks__empty[hidden] { display: none; }

/* ---------- 作品查看弹窗 ---------- */
.work-backdrop {
  position: fixed; inset: 0;
  background: rgba(8, 6, 20, .6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
  animation: shareFade .2s ease;
}
.work-backdrop[hidden] { display: none; }
.work-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1001; width: min(92vw, 420px);
  background: var(--surface); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 16px; text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  animation: sharePop .25s ease;
}
.work-modal[hidden] { display: none; }
.work-modal img { width: 100%; height: auto; border-radius: 12px; image-rendering: pixelated; background: #0d0b1f; }
.work-modal__actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.work-modal__actions .btn { text-decoration: none; }
.work-modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer;
}
.work-modal__close:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- 社区画廊（后端共享作品墙） ---------- */
.nav__community {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 18px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--ink-soft); font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.nav__community:hover { color: var(--ink); border-color: var(--border-strong); transform: translateY(-1px); }

.community-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 6, 20, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: shareFade .2s ease;
}
.community-backdrop[hidden] { display: none; }
.community-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1001; width: min(94vw, 760px); max-height: 88vh; overflow-y: auto;
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.12), rgba(124, 92, 255, 0.12)), var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: sharePop .25s ease;
}
.community-modal[hidden] { display: none; }
.community-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px;
}
.community-modal__close {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer;
  transition: all .2s;
}
.community-modal__close:hover { color: var(--ink); background: var(--surface-2); }
.community-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.community-modal__hint { font-size: 13px; color: var(--ink-soft); }
.community__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px;
}
.community__item {
  position: relative; padding: 0; border: 1px solid var(--border); background: var(--surface);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  text-align: left; color: var(--ink); font-family: inherit;
}
.community__item:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.3); border-color: var(--brand-2); }
.community__item img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: #0d0b1f; }
.community__cap {
  display: block; padding: 6px 8px; font-size: 11px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.community__loading, .community__empty {
  text-align: center; color: var(--ink-faint); font-size: 14px; padding: 24px 0; grid-column: 1 / -1;
}
.community__empty[hidden] { display: none; }
.community-lightbox {
  position: fixed; inset: 0; z-index: 1002; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 8, 18, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: shareFade .2s ease;
}
.community-lightbox[hidden] { display: none; }
.community-lightbox img {
  max-width: 90vw; max-height: 86vh; border-radius: 14px; image-rendering: pixelated;
  background: #0d0b1f; box-shadow: 0 24px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14);
}
.community-lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.community-lightbox__close:hover { background: var(--surface-2); }

/* ===== 周边创意展示区（首页） ===== */
.merch { padding: 72px 0; }
.merch__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 880px; margin: 28px auto 0;
}
.merch__card { text-align: center; }
.merch__device {
  position: relative; margin: 0 auto 12px; width: 100%; max-width: 200px; aspect-ratio: 3 / 4;
  background: #15182e; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.merch__device img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merch__device--phone { border-radius: 26px; aspect-ratio: 3 / 4; max-width: 200px; }
.merch__cam {
  position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(0,0,0,.45); box-shadow: 0 0 0 2px rgba(255,255,255,.15); z-index: 2;
}
.merch__device--mug { aspect-ratio: 3 / 4; max-width: 200px; border-radius: 16px; }
.merch__handle {
  position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 54px; border: 9px solid #1a1d33; border-left: none;
  border-radius: 0 24px 24px 0; z-index: 1;
}
.merch__device--tee {
  aspect-ratio: 3 / 4; max-width: 200px; border: 1px solid var(--border); background: #15182e; box-shadow: var(--shadow-sm); overflow: hidden;
}
.merch__device--tee img {
  clip-path: polygon(50% 0, 62% 9%, 100% 15%, 100% 31%, 82% 31%, 82% 100%, 18% 100%, 18% 31%, 0 31%, 0 15%, 38% 9%);
  border-radius: 6px; object-fit: cover;
}
.merch__card figcaption { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.merch__cta { text-align: center; margin-top: 26px; }

/* ===== 周边预览浮层 ===== */
.merch-backdrop {
  position: fixed; inset: 0; z-index: 1000; background: rgba(6, 8, 18, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.merch-backdrop[hidden] { display: none; }
.merch-modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1001;
  width: min(520px, 92vw); max-height: 92vh; overflow: auto;
  background: linear-gradient(160deg, rgba(28,22,52,.96), rgba(14,16,34,.98));
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 20px;
  box-shadow: var(--shadow-md); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: sharePop .25s ease;
}
.merch-modal[hidden] { display: none; }
.merch-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 14px;
}
.merch-modal__close {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s;
}
.merch-modal__close:hover { color: var(--ink); background: var(--surface-2); }
.merch__tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.merch__tab {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-soft); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.merch__tab:hover { color: var(--ink); border-color: var(--border-strong); }
.merch__tab.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.merch-modal__stage { display: flex; justify-content: center; }
.merch-modal__stage canvas {
  width: 100%; max-width: 360px; height: auto; image-rendering: pixelated; border-radius: 14px;
  background: #0d0b1f; box-shadow: var(--shadow-sm);
}
.merch-modal__tip { text-align: center; font-size: 12px; color: var(--ink-faint); margin: 12px 0 14px; }
.merch-modal__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .merch__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .merch__device { max-width: 108px; }
}

/* ---------- 模式分段控件 ---------- */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.seg__btn { padding: 7px 16px; border: none; background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 700; border-radius: 999px; cursor: pointer; transition: all .2s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-active { background: var(--grad); color: #fff; }
.field--mode { display: flex; flex-direction: column; gap: 8px; }
.field--mode > label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

/* ---------- 拼豆提示 ---------- */
.perler-hint { margin: 14px 0 0; padding: 10px 14px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); background: rgba(123,47,190,.12); border: 1px solid rgba(123,47,190,.35); border-radius: 12px; }
.perler-hint b { color: var(--ink); }
.perler-hint__tip { display: block; margin-top: 6px; opacity: .92; }

/* ---------- 拼豆展示区块 ---------- */
.perler-show { padding: 72px 0; }
.perler-show__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.perler-show__card { margin: 0; text-align: center; }
.perler-show__frame { background: #060815; border-radius: var(--radius-sm); padding: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.4); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.perler-show__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; image-rendering: pixelated; }
.perler-show__card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.perler-show__tag { font-weight: 700; font-size: 15px; color: var(--ink); }
.perler-show__note { font-size: 12.5px; color: var(--ink-soft); }
.perler-show__cta { text-align: center; margin-top: 28px; }
@media (max-width: 640px) {
  .perler-show__grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* ---------- 用豆清单 ---------- */
.bead-summary { text-align: center; font-size: 14px; color: var(--ink); margin: 4px 0 6px; }
.bead-summary b { color: var(--brand-3); }
.bead-list { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow: auto; padding: 4px 2px; }
.bead-row { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 10px; padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-size: 13px; color: var(--ink-soft); }
.bead-sw { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.bead-name { color: var(--ink); font-weight: 600; }
.bead-hex { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--ink-faint); }
.bead-count { color: var(--brand-3); font-weight: 800; }
