/* Home */
.hero {
  position: relative; overflow: hidden; padding: 28px 30px; border-radius: 26px;
  background:
    radial-gradient(circle at 85% 10%, rgba(216,243,107,.28), transparent 28%),
    radial-gradient(circle at 70% 100%, rgba(52,211,153,.22), transparent 32%),
    linear-gradient(135deg, #0d211a, #133d2c 72%, #19513a);
  color: #fff; display: flex; align-items: center; gap: 24px;
  box-shadow: 0 22px 60px rgba(13,33,26,.20);
}

/* Banner carousel */
.banner-carousel { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); color: #fff; box-shadow: 0 18px 50px rgba(15,64,47,.18); }
.banner-viewport { overflow: hidden; border-radius: inherit; }
.banner-track { display: flex; width: 100%; transition: transform .55s cubic-bezier(.22,.75,.26,1); will-change: transform; }
.banner-slide { flex: 0 0 100%; min-width: 100%; min-height: 220px; padding: 30px 34px; display: flex; align-items: center; gap: 24px; }
.banner-copy { flex: 1; min-width: 0; position: relative; z-index: 2; }
.banner-title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; margin: 8px 0 10px; }
.banner-sub { max-width: 640px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.hero-banner-emoji { font-size: clamp(72px, 12vw, 150px); filter: drop-shadow(0 18px 28px rgba(0,0,0,.24)); opacity: .92; position: relative; z-index: 1; }
.hero-banner-image { width: min(42%, 360px); height: 220px; object-fit: cover; border-radius: 18px; position: relative; z-index: 1; box-shadow: 0 18px 36px rgba(0,0,0,.24); }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.22); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.banner-arrow.prev { left: 12px; } .banner-arrow.next { right: 12px; }
.banner-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 7px; z-index: 4; }
.banner-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,.38); cursor: pointer; transition: .2s; }
.banner-dot.active { width: 26px; background: #fff; }

/* Depth & professional mall finish */
.banner-carousel::after { content: ''; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 42%, rgba(0,0,0,.14)); }
.banner-slide { position: relative; isolation: isolate; }
.banner-slide::before { content: ''; position: absolute; inset: auto -8% -45% 55%; height: 240px; border-radius: 50%; background: rgba(255,255,255,.09); filter: blur(30px); z-index: 0; }
.hero { box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 18px 36px rgba(9,37,26,.24), 0 46px 90px rgba(9,37,26,.12); }
.hero::after { content: ''; position: absolute; right: -70px; top: -120px; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 0 34px rgba(255,255,255,.028), 0 0 0 70px rgba(255,255,255,.018); }
.stat-card, .card, .product-card, .order-card, .course-card, .match-card { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 24px rgba(16,47,34,.055), 0 28px 60px rgba(16,47,34,.035); }
.product-card { transform-style: preserve-3d; }
.product-card:hover { transform: translateY(-5px) rotateX(1.2deg); box-shadow: 0 22px 40px rgba(15,64,47,.15), 0 50px 90px rgba(15,64,47,.07); }
.product-art { box-shadow: inset 0 -28px 60px rgba(6,45,31,.12); }
.product-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.35), transparent 35%, rgba(255,255,255,.08)); mix-blend-mode: screen; pointer-events: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.chat-speak { margin-left: 4px; display: inline-flex; align-items: center; gap: 3px; border: 1px solid rgba(20,155,104,.22); border-radius: 999px; padding: 2px 8px; background: rgba(20,155,104,.06); color: var(--green-2); font-size: 10px; cursor: pointer; }
.chat-speak .icon { width: 13px; height: 13px; }
.chat-speak.is-speaking { border-color: rgba(214,69,69,.42); background: rgba(214,69,69,.10); color: #b33131; }
.faq-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-group { padding: 16px; border-radius: 18px; background: linear-gradient(180deg,#fff,#f8fbf7); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,64,47,.06); }
.faq-category { font-size: 11px; letter-spacing: 1px; font-weight: 900; color: var(--green-2); margin-bottom: 8px; }
.faq-item { border-top: 1px solid #e8efe7; }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; cursor: pointer; font-size: 12px; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary b { color: var(--green); font-size: 16px; transition: transform .2s; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-answer { padding: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.ratio-list { display: grid; gap: 10px; }
.ratio-row { display: grid; grid-template-columns: minmax(160px,1.3fr) 130px minmax(170px,1fr); gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfb; }
.ratio-row b { display: block; font-size: 12px; }
.ratio-row .field { margin: 0; }
.ratio-example { font-size: 10px; color: var(--muted); }
.ratio-example b { display: inline; color: var(--green-2); }
.wallet-hero { box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 24px 60px rgba(15,64,47,.22); }
@media (max-width: 760px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .ratio-row { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .product-card:hover { transform: none; }
}
.home-notice { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(20,155,104,.08); border: 1px solid rgba(20,155,104,.16); color: var(--green-2); font-size: 13px; }

/* Compute network */
.compute-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 32px; border-radius: calc(var(--radius) + 6px); background: radial-gradient(circle at 80% 20%, rgba(157,124,255,.34), transparent 35%), linear-gradient(120deg,#17133f 0%,#4532a8 60%,#13795b 100%); color: #fff; box-shadow: 0 18px 50px rgba(35,28,100,.24); }
.compute-hero-sub { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; margin-top: 8px; max-width: 680px; }
.compute-hero-stats { display: flex; gap: 18px; flex-shrink: 0; }
.compute-hero-stats div { min-width: 92px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.compute-hero-stats b { display: block; font-size: 20px; font-weight: 900; }
.compute-hero-stats span { font-size: 11px; color: rgba(255,255,255,.64); }
.compute-mine { background: linear-gradient(135deg,#e8fbf2,#f8fffb); border: 1px solid rgba(20,155,104,.22); border-radius: var(--radius); padding: 20px; }
.empty-mine { background: linear-gradient(135deg,#fff9e6,#fffdf7); border-color: rgba(196,145,26,.22); }
.compute-node { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; margin-top: 10px; }
.compute-node.online { border-color: rgba(20,155,104,.25); box-shadow: inset 3px 0 0 var(--green); }
.compute-node-top { display: flex; align-items: center; gap: 12px; }
.compute-orb { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(20,155,104,.1); color: var(--green-2); }
.compute-node-name { font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.compute-node-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.compute-node-stats span { flex: 1; min-width: 90px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 11px; color: var(--muted); }
.compute-node-stats b { color: var(--ink); font-size: 14px; display: block; }

/* Level benefit editor */
.level-benefit-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface-2); }
.level-benefit-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 10px; align-items: end; padding: 8px 0; border-top: 1px dashed var(--line); }
.level-benefit-row:first-of-type { border-top: 0; }
.level-benefit-row > span { font-size: 12px; font-weight: 750; padding-bottom: 10px; }
.level-benefit-row .field { margin: 0; }
.desktop-pair-hero { padding: 18px; border-radius: 18px; text-align: center; background: linear-gradient(135deg,#0f2f24,#1b6548); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 16px 36px rgba(10,52,37,.16); }
.desktop-pair-code { margin: 8px 0 6px; font: 900 clamp(30px, 7vw, 48px)/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; color: #d8f36b; text-shadow: 0 4px 18px rgba(216,243,107,.2); }
.desktop-pair-hero .tiny { color: rgba(255,255,255,.68); }
.ai-side-card .draft-row > span:first-child { min-width: 0; }
.banner-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.banner-admin-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.banner-admin-preview { height: 110px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; color: #fff; font-size: 46px; }
.banner-admin-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .banner-slide { padding: 24px 22px; min-height: 190px; flex-direction: column; align-items: flex-start; }
  .hero-banner-emoji { position: absolute; right: 10px; bottom: -10px; font-size: 92px; opacity: .22; }
  .hero-banner-image { display: none; }
  .compute-hero { flex-direction: column; align-items: flex-start; }
  .compute-hero-stats { width: 100%; }
  .compute-hero-stats div { flex: 1; min-width: 0; }
  .banner-admin-grid { grid-template-columns: 1fr; }
  .level-benefit-row { grid-template-columns: 1fr 1fr; }
  .level-benefit-row > span { grid-column: 1 / -1; padding-bottom: 0; }
}
.hero::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(216,243,107,.16); right: -80px; top: -80px;
}
.hero-copy { position: relative; z-index: 1; flex: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; background: rgba(216,243,107,.12); color: var(--lime); font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.hero-title { font-size: 30px; line-height: 1.2; font-weight: 900; letter-spacing: -.8px; margin: 12px 0 8px; }
.hero-title em { color: var(--lime); font-style: normal; }
.hero-desc { color: rgba(255,255,255,.62); font-size: 12px; max-width: 560px; }
.hero-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.hero-voice {
  width: 132px; height: 132px; border-radius: 50%; flex: none; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; position: relative; z-index: 1;
  background: var(--lime); color: #0d211a; box-shadow: 0 20px 48px rgba(216,243,107,.22);
  border: 10px solid rgba(216,243,107,.12); background-clip: padding-box; cursor: pointer;
}
.hero-voice .icon { width: 30px; height: 30px; }
.hero-voice span { font-size: 11px; font-weight: 800; }
.hero-voice:hover { transform: translateY(-2px); }

.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat-card { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.stat-icon { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: #eef6f1; color: var(--green-2); }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-value { font-size: 22px; font-weight: 900; letter-spacing: -.5px; margin-top: 9px; line-height: 1.1; }
.stat-value small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 3px; }
.stat-foot { font-size: 10px; color: var(--muted); margin-top: 4px; }

.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.quick-card { display: flex; flex-direction: column; gap: 9px; padding: 14px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: .18s ease; cursor: pointer; }
.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #cfe3d8; }
.quick-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #eef6f1; color: var(--green-2); }
.quick-icon .icon { width: 17px; height: 17px; }
.quick-title { font-size: 12px; font-weight: 750; }
.quick-sub { font-size: 10px; color: var(--muted); }

.model-card { padding: 20px; }
.model-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1ed; }
.model-row:last-child { border-bottom: 0; }
.model-dot { width: 8px; height: 8px; border-radius: 50%; background: #27c281; flex: none; }
.model-dot.degraded { background: var(--gold); }
.model-dot.down { background: var(--red); }
.model-name { font-size: 12px; font-weight: 750; }
.model-meta { font-size: 10px; color: var(--muted); }
.model-latency { margin-left: auto; text-align: right; font-size: 10px; color: var(--muted); }
.route-chain { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.route-chip { padding: 3px 8px; border-radius: 7px; background: #f1f6f3; color: var(--green-2); font-size: 10px; font-weight: 700; }
.route-arrow { color: #a8b6ad; font-size: 10px; }

.todo-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eef1ed; }
.todo-item:last-child { border-bottom: 0; }
.todo-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fdf3df; color: #a56308; flex: none; }
.todo-icon .icon { width: 15px; height: 15px; }
.todo-title { font-size: 12px; font-weight: 700; }
.todo-sub { font-size: 10px; color: var(--muted); }

.match-card { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.match-top { display: flex; gap: 12px; align-items: center; }
.match-title { font-size: 13px; font-weight: 800; }
.match-meta { font-size: 10px; color: var(--muted); }
.reason-list { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.reason { font-size: 9px; padding: 2px 7px; border-radius: 99px; background: #f1f6f3; color: #4f6a5b; }
.match-actions { display: flex; gap: 7px; margin-top: 12px; }

.loop-card { padding: 20px; }
.loop-line { display: flex; align-items: flex-start; gap: 0; margin-top: 18px; overflow-x: auto; padding-bottom: 4px; }
.loop-step { min-width: 94px; text-align: center; position: relative; flex: 1; }
.loop-step::after { content: ""; position: absolute; top: 17px; left: 60%; right: -40%; height: 1px; background: #dce6df; }
.loop-step:last-child::after { display: none; }
.loop-num { width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 12px; display: grid; place-items: center; background: #eef6f1; color: var(--green-2); font-weight: 850; font-size: 12px; position: relative; z-index: 1; }
.loop-title { font-size: 11px; font-weight: 750; }
.loop-sub { font-size: 9px; color: var(--muted); }

/* Assistant */
.assistant-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; }
.chat-card { min-height: 620px; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.ai-orb { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #d8f36b, #35c98b); color: #0d211a; box-shadow: 0 10px 26px rgba(53,201,139,.18); }
.ai-orb .icon { width: 20px; height: 20px; }
.chat-list { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fbfcfa, #fff); }
.chat-msg { display: flex; gap: 9px; align-items: flex-start; max-width: 88%; }
.chat-msg.user { margin-left: auto; flex-direction: row-reverse; }
.chat-avatar { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #eef6f1; color: var(--green-2); flex: none; font-size: 11px; font-weight: 800; }
.chat-msg.user .chat-avatar { background: #10231c; color: var(--lime); }
.chat-bubble { padding: 11px 14px; border-radius: 15px 15px 15px 5px; background: #f1f6f3; color: var(--ink-2); font-size: 12px; white-space: pre-wrap; word-break: break-word; }
.chat-msg.user .chat-bubble { background: #10231c; color: #fff; border-radius: 15px 15px 5px 15px; }
.chat-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 7px; font-size: 9px; color: var(--muted); }
.chat-input { padding: 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: 0; font-size: 12px; background: #fbfcfa; }
.chat-input textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,155,104,.08); background: #fff; }
.chat-samples { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sample-chip { border: 1px solid #dce8e0; background: #f7faf8; color: #4f6a5b; border-radius: 99px; padding: 4px 9px; font-size: 10px; }
.sample-chip:hover { background: #edf6f1; }
.voice-fab { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--lime); color: #0d211a; display: grid; place-items: center; flex: none; box-shadow: 0 10px 24px rgba(216,243,107,.22); }
.voice-fab.listening { animation: pulse 1s infinite; background: #ff8a8a; }
.voice-fab.paused { background: #ffd36b; }
.voice-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: #f4faf7; border: 1px solid #dfece5; }
.voice-status { flex: 1; min-width: 0; font-size: 10px; color: #4f6a5b; }
.voice-controls .btn { flex: none; }
.demand-items { display: grid; gap: 12px; }
.demand-row { padding: 12px; border: 1px solid #dfece5; border-radius: 14px; background: #f8fcfa; }
.demand-row .form-grid { margin-top: 8px; }
.cash-price { display: block; margin-top: 2px; font-size: 12px; color: #c0392b; font-style: normal; font-weight: 700; }
@media (max-width: 720px) {
  .voice-controls { flex-wrap: wrap; }
  .voice-status { flex-basis: 100%; }
}
.send-fab { width: 46px; height: 46px; border-radius: 14px; border: 0; background: #10231c; color: #fff; display: grid; place-items: center; flex: none; }
.broadcast-note { display: flex; gap: 7px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #fdf8ea; color: #7a5a13; font-size: 10px; margin-bottom: 10px; }
.broadcast-note .icon { width: 14px; height: 14px; flex: none; margin-top: 1px; }

.ai-side-card { padding: 18px; }
.ai-side-title { font-size: 13px; font-weight: 800; }
.draft-box { border: 1px dashed #cfe0d6; border-radius: 14px; padding: 12px; background: #fbfdfb; }
.draft-title { font-size: 12px; font-weight: 800; }
.draft-row { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--muted); padding: 3px 0; }
.draft-row strong { color: var(--ink-2); font-weight: 650; }

/* Services */
.map-board { position: relative; min-height: 300px; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #e8f3ec, #f9fbf8); border: 1px solid #dce8e0; }
.map-board::before, .map-board::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(20,155,104,.13); }
.map-board::before { inset: 30px; }
.map-board::after { inset: 85px; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,155,104,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,155,104,.05) 1px, transparent 1px); background-size: 34px 34px; }
.map-pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 2; }
.map-pin-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--green); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(20,155,104,.20); font-size: 13px; }
.map-pin-label { padding: 2px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 9px; font-weight: 700; white-space: nowrap; }
.outlet-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.outlet-top { display: flex; align-items: flex-start; gap: 10px; }
.outlet-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #eef6f1; font-size: 20px; flex: none; }
.outlet-name { font-size: 13px; font-weight: 800; }
.outlet-meta { font-size: 10px; color: var(--muted); }
.outlet-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.outlet-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Mall */
.mall-banner { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 24px; background: linear-gradient(135deg, #fff7e8, #f2fbf5); border: 1px solid #f1e6cc; }
.mall-banner-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #fde68a, #f4a62a); font-size: 28px; flex: none; }
.mall-banner-title { font-size: 20px; font-weight: 900; }
.mall-banner-sub { font-size: 11px; color: var(--muted); }
.category-row { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0; }
.category-chip { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 6px 12px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.category-chip.active { background: #10231c; color: var(--lime); border-color: #10231c; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.product-card { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .18s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cfe3d8; }
.product-art { height: 126px; display: grid; place-items: center; font-size: 46px; position: relative; overflow: hidden; }
.product-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 40%); }
.product-badges { position: absolute; top: 9px; left: 9px; display: flex; gap: 4px; z-index: 1; }
.product-body { padding: 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-name { font-size: 12px; font-weight: 800; line-height: 1.35; }
.product-meta { font-size: 9px; color: var(--muted); display: flex; gap: 5px; flex-wrap: wrap; }
.product-price { display: flex; align-items: baseline; gap: 4px; margin-top: auto; }
.product-price strong { font-size: 18px; color: var(--green-2); letter-spacing: -.4px; }
.product-price span { font-size: 9px; color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

.course-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.course-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: flex; gap: 12px; align-items: flex-start; }
.course-art { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; flex: none; }
.course-title { font-size: 12px; font-weight: 800; }
.course-meta { font-size: 9px; color: var(--muted); }
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.share-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.share-top { display: flex; gap: 10px; align-items: center; }
.share-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fdf3df; font-size: 21px; }
.share-title { font-size: 12px; font-weight: 800; }
.share-meta { font-size: 9px; color: var(--muted); }
.select-table { display: flex; flex-direction: column; gap: 7px; }
.hot-row { display: grid; grid-template-columns: 1.3fr .7fr .7fr .7fr .7fr; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 11px; background: #fbfcfa; border: 1px solid #edf1ec; font-size: 10px; }
.hot-row.head { background: transparent; border: 0; color: var(--muted); font-size: 9px; font-weight: 700; }
.hot-name { display: flex; align-items: center; gap: 7px; font-weight: 700; }

/* Barter */
.barter-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.listing-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 9px; }
.listing-top { display: flex; align-items: flex-start; gap: 10px; }
.listing-emoji { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #f1f6f3; font-size: 22px; flex: none; }
.listing-title { font-size: 13px; font-weight: 850; }
.listing-owner { font-size: 9px; color: var(--muted); }
.listing-info { display: flex; flex-wrap: wrap; gap: 5px; }
.listing-desc { font-size: 10px; color: var(--muted); line-height: 1.55; min-height: 31px; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price-strong { font-size: 15px; font-weight: 900; color: var(--green-2); }
.rule-card { padding: 16px 18px; border-radius: 18px; background: #10231c; color: #fff; }
.rule-card .rule-title { color: var(--lime); font-size: 12px; font-weight: 800; }
.rule-card .rule-item { display: flex; gap: 8px; font-size: 10px; color: rgba(255,255,255,.68); padding: 4px 0; }
.rule-card .rule-item b { color: #fff; }

/* Orders */
.order-card { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.order-top { display: flex; align-items: flex-start; gap: 12px; }
.order-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #f1f6f3; font-size: 20px; flex: none; }
.order-title { font-size: 13px; font-weight: 800; }
.order-meta { font-size: 10px; color: var(--muted); }
.order-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 10px; }
.timeline-line { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 5px; }
.timeline-stem { width: 1px; flex: 1; background: #dce6df; min-height: 20px; }
.timeline-item:last-child .timeline-stem { display: none; }
.timeline-time { font-size: 9px; color: var(--muted); }
.timeline-text { font-size: 11px; color: var(--ink-2); padding-bottom: 12px; }

/* Profile */
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 24px; background: linear-gradient(135deg, #10231c, #174b36); color: #fff; }
.profile-info { flex: 1; }
.profile-name { font-size: 22px; font-weight: 900; }
.profile-meta { font-size: 10px; color: rgba(255,255,255,.55); }
.profile-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.profile-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.profile-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.profile-actions .btn-ghost:hover { color: #10231c; background: #fff; border-color: #fff; }
.profile-actions .btn-soft { color: #10231c; }
.home-api-keys { margin-top: 16px; }
.home-api-keys .card { margin-top: 0; }
.home-api-keys .console-table-wrap { max-height: 360px; overflow: auto; }
.wallet-card { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.wallet-label { font-size: 10px; color: var(--muted); }
.wallet-value { font-size: 22px; font-weight: 900; letter-spacing: -.4px; }
.team-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1ed; }
.team-row:last-child { border-bottom: 0; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.package-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; position: relative; }
.package-card.highlight { border-color: #b9e5cf; background: linear-gradient(180deg, #f1fbf6, #fff); box-shadow: 0 14px 34px rgba(20,155,104,.10); }
.package-name { font-size: 13px; font-weight: 850; }
.package-price { font-size: 20px; font-weight: 900; color: var(--green-2); margin: 4px 0; }
.package-price small { font-size: 10px; color: var(--muted); font-weight: 600; }
.package-tokens { font-size: 10px; color: var(--muted); }
.package-perks { margin: 9px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: var(--ink-2); }
.package-perks li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 5px; }
.settings-list { display: flex; flex-direction: column; }
.settings-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eef1ed; font-size: 12px; cursor: pointer; }
.settings-item:last-child { border-bottom: 0; }
.settings-item .icon { width: 16px; height: 16px; color: var(--green-2); }
.settings-item .arrow { margin-left: auto; color: #a8b6ad; }
.settings-item > span:nth-child(2) { flex: 1; min-width: 0; }
.settings-item small { display: block; margin-top: 3px; line-height: 1.5; }
.app-install-hero { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg,#10231c,#1e4a3a); color: #fff; box-shadow: 0 18px 42px rgba(16,35,28,.18); }
.app-install-icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(145deg,#d8ff70,#8ee4b9); color: #10231c; box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 10px 24px rgba(0,0,0,.22); }
.app-install-icon .icon { width: 26px; height: 26px; }
.app-install-hero b { font-size: 16px; letter-spacing: -.2px; }

/* Admin */
.admin-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.admin-kpi { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.admin-kpi-label { font-size: 9px; color: var(--muted); }
.admin-kpi-value { font-size: 18px; font-weight: 900; margin-top: 3px; }
.admin-section { margin-top: 18px; }
.health-toggle { display: flex; gap: 4px; }
.code-block { background: #0d211a; color: #d8f36b; padding: 12px 14px; border-radius: 12px; font-family: Consolas, monospace; font-size: 10px; white-space: pre-wrap; word-break: break-all; }
.config-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.config-item { padding: 10px 12px; border-radius: 12px; background: #fbfcfa; border: 1px solid #edf1ec; }
.config-item label { display: block; font-size: 9px; color: var(--muted); margin-bottom: 4px; }
.config-item input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 11px; outline: 0; }

.admin-table td { vertical-align: top; }
.table-input { width: 100%; min-width: 92px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 11px; outline: 0; background: #fff; }
.table-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,155,104,.08); }
.table-input.narrow { min-width: 58px; width: 62px; }
.table-input.num { min-width: 118px; }
.table-input.pct { min-width: 72px; width: 78px; }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-row, .share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .hero-title { font-size: 24px; }
  .hero-voice { width: 100%; height: 54px; border-radius: 16px; flex-direction: row; border-width: 0; }
  .hero-voice span { font-size: 12px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .assistant-grid { grid-template-columns: 1fr; }
  .chat-card { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-row, .share-grid, .listing-grid, .package-grid { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hot-row { grid-template-columns: 1.4fr .7fr .7fr; }
  .hot-row > :nth-child(4), .hot-row > :nth-child(5) { display: none; }
  .profile-hero { flex-direction: column; align-items: flex-start; }
  .profile-actions { width: 100%; }
}

/* Wallet account */
.wallet-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: calc(var(--radius) + 6px); color: #fff; background: radial-gradient(circle at 82% 18%, rgba(216,243,107,.32), transparent 34%), linear-gradient(120deg,#0c2b20,#116b4d 58%,#3b8f65); box-shadow: 0 18px 50px rgba(15,64,47,.2); }
.wallet-hero-value { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; font-weight: 950; letter-spacing: -.03em; margin: 8px 0; }
.wallet-hero-sub { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; }
.wallet-hero-side { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-hero-side div { min-width: 110px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.wallet-hero-side span { display: block; color: rgba(255,255,255,.62); font-size: 11px; margin-bottom: 4px; }
.wallet-hero-side b { font-size: 17px; }
.withdraw-fee-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.withdraw-fee-grid div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2, #f7faf8); }
.withdraw-fee-grid span { display: block; color: var(--muted); font-size: 11px; }
.withdraw-fee-grid b { font-size: 15px; }
.withdraw-quote-ok { color: #0b6e4b; background: rgba(20,155,104,.1); border-color: rgba(20,155,104,.2); }
.text-green { color: #0b8a5d; font-weight: 850; }
@media (max-width: 760px) {
  .wallet-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .wallet-hero-side { width: 100%; }
  .wallet-hero-side div { flex: 1; min-width: 0; }
  .withdraw-fee-grid { grid-template-columns: 1fr; }
}

/* Marketing center */
.marketing-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.marketing-item { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 126px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,#fff,#f7faf5); box-shadow: 0 8px 24px rgba(16,35,28,.045); }
.marketing-item > div:nth-child(2) b { display: block; font-size: 13px; }
.marketing-item > div:nth-child(2) span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.marketing-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(15,107,79,.08); font-size: 19px; }
.marketing-item .btn { justify-content: center; }
@media (max-width: 1100px) { .marketing-strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .marketing-strip { grid-template-columns: 1fr; } .marketing-item { min-height: 0; } }

/* A-E trade scenario */
.scenario-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; padding: 30px; border-radius: calc(var(--radius) + 8px); color: #fff; background: radial-gradient(circle at 86% 10%, rgba(185,243,109,.34), transparent 30%), radial-gradient(circle at 12% 110%, rgba(55,180,130,.3), transparent 38%), linear-gradient(125deg,#08251b 0%,#0d4d39 54%,#177a56 100%); box-shadow: 0 24px 60px rgba(6,44,31,.24); overflow: hidden; position: relative; }
.scenario-hero::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 74px rgba(255,255,255,.025); pointer-events: none; }
.scenario-hero > div { position: relative; z-index: 1; }
.scenario-hero .hero-eyebrow { color: #d9ff9a; }
.scenario-hero .hero-desc { color: rgba(255,255,255,.78); line-height: 1.8; }
.scenario-hero .btn-soft { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); }
.scenario-quote { align-self: center; min-width: 220px; padding: 22px 24px; border-radius: 18px; color: #10231c; background: linear-gradient(145deg,#e8ffc0,#b9f36d); box-shadow: 0 16px 36px rgba(7,30,21,.22); font-size: 22px; font-weight: 950; line-height: 1.25; letter-spacing: -.02em; }
.scenario-quote span { display: block; margin-top: 8px; font-size: 11px; font-weight: 750; line-height: 1.6; color: rgba(16,35,28,.66); letter-spacing: 0; }
.scenario-summary { padding: 16px 18px; border: 1px solid rgba(15,107,79,.14); border-radius: 14px; background: linear-gradient(145deg,#f5fbf6,#eef7ef); color: #214336; font-size: 13px; line-height: 1.8; }
.scenario-personas { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.scenario-persona { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(150deg,#fff,#f7faf6); box-shadow: 0 8px 22px rgba(16,35,28,.045); }
.scenario-avatar { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 16px; font-weight: 950; background: linear-gradient(135deg,#0e6f50,#45a879); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.scenario-persona-main { min-width: 0; flex: 1; }
.scenario-persona-main .between { gap: 6px; }
.scenario-persona-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.scenario-persona-stats { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 5px; }
.scenario-persona-stats span { color: var(--muted); font-size: 10px; font-weight: 700; }
.scenario-timeline { position: relative; display: flex; flex-direction: column; gap: 12px; }
.scenario-timeline::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg,rgba(15,107,79,.3),rgba(15,107,79,.06)); border-radius: 2px; }
.scenario-step { position: relative; display: flex; gap: 12px; padding: 2px 0; }
.scenario-step-actor { position: relative; z-index: 1; flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #0c3022; background: #d8f3a3; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(15,107,79,.16), 0 4px 10px rgba(16,35,28,.1); font-size: 12px; font-weight: 950; }
.scenario-step-body { flex: 1; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(16,35,28,.04); }
.scenario-step-body .between { gap: 10px; }
.scenario-step-body b { font-size: 13px; }
.scenario-step-body .small { line-height: 1.7; }
.scenario-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid rgba(217,164,6,.22); border-radius: 14px; background: linear-gradient(145deg,#fffdf3,#fff9e6); color: #6d4d05; }
.scenario-note svg { flex: 0 0 auto; margin-top: 2px; }
.scenario-note b { display: block; margin-bottom: 4px; font-size: 13px; }
.scenario-note span { display: block; font-size: 12px; line-height: 1.7; color: #7d641f; }
@media (max-width: 1100px) { .scenario-personas { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .scenario-hero { flex-direction: column; padding: 22px; } .scenario-quote { width: 100%; min-width: 0; } .scenario-personas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .scenario-personas { grid-template-columns: 1fr; } }

/* ===== v3.0 commerce media, cover upload and 3D storefront ===== */
.image-file { cursor: pointer; }
.upload-status { display: none; margin-top: 8px; padding: 9px 11px; border: 1px solid #dce8e0; border-radius: 11px; background: #f8fbf8; color: var(--muted); font-size: 11px; }
.upload-status.uploading, .upload-status.done, .upload-status.error { display: block; }
.upload-status.done { border-color: rgba(20,155,104,.2); background: rgba(20,155,104,.07); color: #0b6e4b; }
.upload-status.error { border-color: rgba(192,57,43,.2); background: #fff4f2; color: #a93226; }
.upload-progress { height: 5px; margin-top: 7px; border-radius: 99px; overflow: hidden; background: rgba(16,35,28,.08); }
.upload-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#17a673,#b9f36d); transition: width .18s ease; }
.image-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.image-item { width: auto; height: auto; aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: 0 8px 18px rgba(16,47,34,.09); }
.image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-item.is-cover { box-shadow: 0 0 0 2px var(--green), 0 10px 22px rgba(16,47,34,.13); }
.image-cover-tag { position: absolute; left: 7px; top: 7px; z-index: 2; padding: 2px 7px; border-radius: 99px; color: #10231c; background: #d8f3a3; font-size: 9px; font-weight: 850; }
.image-cover-btn { position: absolute; left: 7px; bottom: 7px; z-index: 3; border: 0; border-radius: 99px; padding: 4px 8px; background: rgba(6,31,22,.78); color: #fff; font-size: 9px; font-weight: 750; cursor: pointer; }
.image-remove { z-index: 4; }
.image-item.is-uploading { outline: 2px solid rgba(23,166,115,.45); outline-offset: 2px; }
.image-item.is-uploading::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(110deg,transparent 0%,rgba(255,255,255,.48) 45%,transparent 75%); animation: image-upload-shimmer 1.15s linear infinite; }
.image-item.is-uploading .image-cover-tag { z-index: 3; background: rgba(8,52,37,.88); }
@keyframes image-upload-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.video-preview video, .content-video, .share-detail-video, .course-video-player { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 560px; object-fit: contain; border-radius: 16px; background: #061b14; box-shadow: 0 18px 38px rgba(6,31,22,.16); }
.video-preview { min-height: 54px; }
.detail-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; padding: 2px 2px 8px; }
.detail-gallery img, .detail-cover { width: 100%; height: 360px; object-fit: cover; display: block; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(16,47,34,.10); }

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1200px; align-items: stretch; }
.product-card { position: relative; min-width: 0; overflow: hidden; border-radius: 22px; border: 1px solid rgba(20,83,61,.11); background: linear-gradient(180deg,#fff 0%,#fbfdfb 68%,#f5faf6 100%); box-shadow: 0 1px 0 #fff inset, 0 14px 30px rgba(16,47,34,.08), 0 34px 68px rgba(16,47,34,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-6px) rotateX(1.1deg); border-color: rgba(20,155,104,.25); box-shadow: 0 1px 0 #fff inset, 0 22px 42px rgba(16,47,34,.14), 0 54px 100px rgba(16,47,34,.08); }
.product-art { position: relative; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: linear-gradient(145deg,#e9f8ee,#c8ecd7) !important; box-shadow: inset 0 -42px 70px rgba(6,45,31,.13); }
.product-cover-img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.01); transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.product-card:hover .product-cover-img { transform: scale(1.065); filter: saturate(1.04) contrast(1.02); }
.product-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(125deg,rgba(255,255,255,.38),transparent 30%,transparent 70%,rgba(255,255,255,.10)); mix-blend-mode: screen; }
.product-badges { z-index: 5; }
.product-stage { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; transform-style: preserve-3d; }
.stage-glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(255,255,255,.78),rgba(255,255,255,.15) 44%,transparent 68%); filter: blur(2px); }
.stage-podium { position: absolute; left: 50%; bottom: 15%; width: 54%; height: 17%; transform: translateX(-50%) rotateX(66deg); border-radius: 50%; background: radial-gradient(ellipse,rgba(20,83,61,.32),rgba(20,83,61,.06) 54%,transparent 72%); box-shadow: 0 20px 24px rgba(6,45,31,.12); }
.product-emoji { position: relative; z-index: 2; font-size: clamp(58px, 7vw, 86px); line-height: 1; transform: translateY(-5px) rotateX(8deg) rotateY(-7deg); filter: drop-shadow(0 18px 16px rgba(8,47,33,.26)) drop-shadow(0 4px 3px rgba(8,47,33,.14)); }
.stage-caption { position: relative; z-index: 2; margin-top: 13px; padding: 3px 10px; border-radius: 99px; color: rgba(12,48,34,.7); background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .04em; backdrop-filter: blur(8px); }
.product-body { padding: 14px 15px 15px; gap: 8px; min-width: 0; }
.product-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; font-size: 13px; line-height: 1.42; color: var(--ink); }
.product-title-btn { padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit; }
.product-title-btn:hover { color: var(--green-2); }
.product-meta { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.listing-info { min-height: 20px; }
.product-price strong { font-size: 21px; }
.cash-price { align-self: flex-end; margin-left: auto; padding: 3px 7px; border-radius: 8px; background: #fff4ee; font-size: 11px; }
.product-foot { margin-top: 2px; gap: 8px; }
.product-actions { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; }
.product-actions .btn { padding-left: 9px; padding-right: 9px; white-space: nowrap; }
.product-foot > .tiny { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.course-row { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.course-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; box-shadow: 0 12px 28px rgba(16,47,34,.07); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(16,47,34,.12); }
.course-art { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; }
.course-cover-img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }
.course-emoji { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 54px; filter: drop-shadow(0 12px 12px rgba(7,41,29,.18)); }
.course-play-badge { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #10231c; background: rgba(216,243,107,.94); box-shadow: 0 8px 18px rgba(7,41,29,.22); }
.course-copy { padding: 14px 15px 16px; min-width: 0; }
.course-title { font-size: 14px; }

.share-wall-panel { background: radial-gradient(circle at 92% 0,rgba(216,243,107,.16),transparent 30%), linear-gradient(180deg,#fff,#f8fbf7); }
.share-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.share-card { position: relative; min-width: 0; overflow: hidden; padding: 15px; border-radius: 20px; box-shadow: 0 12px 28px rgba(16,47,34,.07); transition: transform .2s ease, box-shadow .2s ease; }
.share-card:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(16,47,34,.12); }
.share-card.has-media { padding: 0 0 14px; }
.share-media { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 12px; overflow: hidden; background: linear-gradient(135deg,#0b2b20,#155a42); }
.share-media img, .share-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.share-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; color: #fff; background: linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.48)); cursor: pointer; font-size: 11px; font-weight: 800; }
.share-play svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; color: #10231c; background: #d8f3a3; box-shadow: 0 10px 24px rgba(0,0,0,.26); }
.share-card.has-media .share-top, .share-card.has-media .share-desc, .share-card.has-media .share-foot { margin-left: 14px; margin-right: 14px; }
.share-desc { min-height: 34px; line-height: 1.65; }
.share-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.quick-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(16,47,34,.10); border-color: rgba(20,155,104,.22); }
.mall-banner { box-shadow: 0 1px 0 #fff inset, 0 18px 38px rgba(112,84,28,.08); }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-row, .share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .course-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-gallery img, .detail-cover { height: 260px; }
}
@media (max-width: 600px) {
  .content { padding-left: 11px; padding-right: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px; }
  .product-card { border-radius: 16px; }
  .product-art { aspect-ratio: 1.08 / 1; }
  .product-body { padding: 10px 10px 11px; gap: 5px; }
  .product-name { min-height: 31px; font-size: 12px; line-height: 1.3; }
  .product-meta { font-size: 8px; }
  .listing-info { display: none; }
  .product-price { gap: 3px; flex-wrap: wrap; }
  .product-price strong { font-size: 16px; }
  .product-price span { font-size: 8px; }
  .cash-price { padding: 2px 5px; font-size: 9px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 5px; }
  .product-foot > .tiny { font-size: 8px; }
  .product-actions { width: 100%; }
  .product-actions .btn { flex: 1; min-width: 0; padding: 6px 5px; font-size: 10px; }
  .product-actions .btn-soft { display: none; }
  .product-badges { top: 6px; left: 6px; gap: 3px; }
  .product-badges .badge { padding: 2px 5px; font-size: 8px; }
  .product-emoji { font-size: 52px; }
  .stage-caption { margin-top: 8px; font-size: 8px; }
  .course-row, .share-grid { grid-template-columns: 1fr; }
  .share-card { border-radius: 16px; }
  .image-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-gallery { grid-auto-columns: 82%; }
  .detail-gallery img, .detail-cover { height: 210px; }
  .video-preview video, .content-video, .share-detail-video, .course-video-player { border-radius: 12px; max-height: 300px; }
}

/* 词元优选 V3 storefront: real photos stay untouched, only missing media uses the 3D stage. */
body {
  background:
    radial-gradient(circle at 9% 5%, rgba(216,243,107,.20), transparent 24%),
    radial-gradient(circle at 88% 3%, rgba(20,155,104,.12), transparent 27%),
    linear-gradient(180deg, #f7faf6 0%, #f2f6f2 46%, #eef4ef 100%);
}
.content { padding-top: 22px; }
.hero {
  min-height: 310px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(120deg, rgba(5,29,21,.96), rgba(11,73,49,.92) 55%, rgba(25,105,71,.88)),
    radial-gradient(circle at 76% 8%, rgba(216,243,107,.38), transparent 34%);
  box-shadow: 0 2px 0 rgba(255,255,255,.12) inset, 0 24px 55px rgba(8,43,29,.22), 0 68px 110px rgba(8,43,29,.10);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.hero-title { text-shadow: 0 12px 34px rgba(0,0,0,.18); }
.hero-voice { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 20px 48px rgba(216,243,107,.18); }
.banner-carousel {
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 2px 0 rgba(255,255,255,.15) inset, 0 22px 46px rgba(15,64,47,.20), 0 60px 100px rgba(15,64,47,.10);
}
.banner-slide { min-height: 238px; }
.stats-row { perspective: 900px; }
.stat-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(20,83,61,.10);
  background: linear-gradient(145deg, #fff, #f8fbf8);
  box-shadow: 0 1px 0 #fff inset, 0 10px 22px rgba(16,47,34,.07), 0 30px 54px rgba(16,47,34,.04);
}
.stat-card::after {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  right: -44px;
  bottom: -54px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,155,104,.13), transparent 68%);
}
.stat-icon { box-shadow: 0 1px 0 #fff inset, 0 8px 18px rgba(12,86,58,.10); }
.quick-grid { perspective: 900px; }
.quick-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(20,83,61,.10);
  background: linear-gradient(155deg, #fff 0%, #fbfdfb 64%, #f2f8f4 100%);
  box-shadow: 0 1px 0 #fff inset, 0 10px 22px rgba(16,47,34,.05), 0 28px 50px rgba(16,47,34,.035);
}
.quick-card::after {
  content: '';
  position: absolute;
  width: 74px;
  height: 74px;
  right: -28px;
  top: -34px;
  border-radius: 50%;
  background: rgba(216,243,107,.20);
  filter: blur(2px);
}
.quick-card:hover { transform: translateY(-5px) rotateX(2deg); box-shadow: 0 22px 34px rgba(16,47,34,.12), 0 42px 70px rgba(16,47,34,.06); }
.quick-icon { position: relative; z-index: 1; background: linear-gradient(135deg,#e8f8ee,#d6f0e0); box-shadow: 0 1px 0 #fff inset, 0 9px 18px rgba(20,155,104,.10); }
.mall-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224,185,95,.22);
  background: linear-gradient(135deg,#fff9eb 0%,#fffdf8 48%,#edf9f0 100%);
  box-shadow: 0 1px 0 #fff inset, 0 18px 36px rgba(112,84,28,.08), 0 44px 75px rgba(22,70,50,.04);
}
.mall-banner::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  border: 1px solid rgba(20,155,104,.12);
  box-shadow: 0 0 0 28px rgba(20,155,104,.035), 0 0 0 58px rgba(20,155,104,.02);
}
.mall-banner-icon { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 28px rgba(175,114,18,.18); }
.category-row { padding: 7px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(20,83,61,.08); box-shadow: 0 8px 22px rgba(16,47,34,.04); }
.category-chip { border-color: transparent; background: transparent; box-shadow: none; }
.category-chip.active { background: linear-gradient(135deg,#10231c,#18583f); box-shadow: 0 8px 18px rgba(16,35,28,.18); }
.product-grid { perspective: 1400px; }
.product-card {
  border-color: rgba(20,83,61,.11);
  background: linear-gradient(180deg,#fff 0%,#fcfefc 64%,#f3f9f5 100%);
  box-shadow: 0 1px 0 #fff inset, 0 15px 28px rgba(16,47,34,.075), 0 36px 64px rgba(16,47,34,.045);
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}
.product-card:hover { transform: translateY(-7px) rotateX(1.8deg) rotateY(-.35deg); }
.product-art { background: linear-gradient(145deg,#edf9f1,#d4eedf) !important; }
.product-card.has-photo .product-art { box-shadow: inset 0 -24px 45px rgba(6,45,31,.10); }
.product-card.has-photo .product-art::after { display: none; }
.product-card.has-photo .product-stage { display: none; }
.product-card.image-failed .product-stage { display: flex; }
.product-card.image-failed .product-cover-img { display: none; }
.product-cover-img { object-fit: cover; object-position: center; filter: none; }
.product-card.has-photo .product-cover-img { border-radius: inherit; }
.product-body { padding-top: 15px; }
.product-name { font-weight: 800; letter-spacing: -.01em; }
.product-price strong { color: #0b5f40; letter-spacing: -.02em; text-shadow: 0 1px 0 #fff; }
.product-actions .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.24) inset, 0 9px 16px rgba(20,155,104,.16); }
.course-card, .share-card { border-color: rgba(20,83,61,.10); box-shadow: 0 1px 0 #fff inset, 0 13px 26px rgba(16,47,34,.07), 0 32px 58px rgba(16,47,34,.04); }
.course-card.has-photo .course-cover-img, .share-card.has-media .share-media img { filter: none; object-fit: cover; }
.course-copy { background: linear-gradient(180deg,#fff,#f9fcf9); }
.course-art::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg,transparent 55%,rgba(4,28,20,.22)); }
.course-play-badge { z-index: 4; }
.share-media { border-radius: 20px 20px 0 0; }
.share-card { background: linear-gradient(180deg,#fff,#f8fbf8); }
.detail-gallery img, .detail-cover { background: #f1f6f2; box-shadow: 0 1px 0 #fff inset, 0 16px 32px rgba(16,47,34,.12); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .product-card:hover { transform: translateY(-3px); }
}
@media (max-width: 600px) {
  .content { padding-left: 10px; padding-right: 10px; }
  .hero { min-height: 0; padding: 22px 18px; border-radius: 22px; }
  .hero::before { opacity: .13; background-size: 28px 28px; }
  .banner-slide { min-height: 188px; padding: 22px 18px; }
  .stats-row { gap: 8px; }
  .stat-card { padding: 13px 12px; border-radius: 15px; }
  .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .quick-card { padding: 12px 9px; border-radius: 14px; }
  .quick-icon { width: 31px; height: 31px; border-radius: 10px; }
  .category-row { padding: 5px; border-radius: 14px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
  .product-card { border-radius: 16px; }
  .product-art { aspect-ratio: 1 / 1; }
  .product-body { padding: 10px 9px 10px; }
  .product-name { font-size: 12.5px; line-height: 1.32; min-height: 33px; }
  .product-price strong { font-size: 17px; }
  .product-actions { gap: 4px; }
  .product-actions .btn { padding: 7px 4px; border-radius: 9px; }
  .product-actions .btn-ghost { flex: .72; }
  .product-actions .btn-primary { flex: 1.28; }
  .mall-banner { padding: 16px 14px; border-radius: 18px; gap: 12px; }
  .mall-banner-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
  .course-row, .share-grid { grid-template-columns: 1fr; }
}

/* v3.7.0 clickable cards */
.listing-card, .product-card, .course-card, .share-card {
  cursor: pointer; position: relative; z-index: 1;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.listing-card .btn, .product-card .btn, .course-card .btn, .share-card .btn { position: relative; z-index: 2; }
.listing-card:active, .product-card:active, .course-card:active, .share-card:active { transform: translateY(1px); }
.listing-card:focus-visible, .product-card:focus-visible,
.course-card:focus-visible, .share-card:focus-visible {
  outline: 2px solid rgba(20,155,104,.55); outline-offset: 3px;
}
.listing-card .btn, .product-card .btn, .course-card .btn, .share-card .btn,
.listing-card button, .product-card button, .course-card button, .share-card button {
  cursor: pointer; touch-action: manipulation;
}

/* 新会员引导：纸张卡片，不用发光/科技网格 */
.onboarding-mask { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; padding: 18px; background: rgba(24, 32, 26, .52); backdrop-filter: blur(5px); }
.onboarding-card { width: min(520px, 100%); max-height: 88vh; overflow: auto; border-radius: 22px; padding: 24px 24px 20px; background: #fffdf8; color: #24211d; box-shadow: 0 30px 80px rgba(24, 20, 12, .28), inset 0 1px 0 rgba(255,255,255,.9); border: 1px solid #e8dfd0; }
.onboarding-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onboarding-brand { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #2f6b55; }
.onboarding-skip { border: 0; background: transparent; color: #8a7f72; font-size: 13px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.onboarding-skip:hover { background: #f3ede2; }
.onboarding-step { margin-top: 16px; color: #b07a2a; font-size: 12px; font-weight: 800; }
.onboarding-card h2 { margin: 8px 0 10px; font-size: 24px; line-height: 1.3; color: #1f3d30; }
.onboarding-card p { margin: 0; color: #4d463d; font-size: 15px; line-height: 1.85; }
.onboarding-hint { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #f6f1e6; color: #8a6a24; font-size: 12px; line-height: 1.7; border-left: 3px solid #e7c46a; }
.onboarding-dots { display: flex; gap: 6px; margin: 18px 0 6px; }
.onboarding-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e3d8c7; }
.onboarding-dots i.on { width: 20px; border-radius: 999px; background: #2f6b55; }
.onboarding-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.onboarding-actions .row { gap: 8px; }
@media (max-width: 520px) {
  .onboarding-card { padding: 20px 18px 16px; }
  .onboarding-card h2 { font-size: 21px; }
  .onboarding-card p { font-size: 14px; }
  .onboarding-actions { align-items: stretch; flex-direction: column; }
  .onboarding-actions .row { justify-content: flex-end; }
}


/* ===== 3.9.4 去 AI 化与手机稳定性调整 ===== */
html { background: #f5f7f2; }
body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: contain; }
.boot-logo { animation: none !important; }
.boot-bar span { animation-duration: 1.8s; }
.live-dot { animation: none !important; opacity: 1; }
.voice-fab.listening { animation: pulse 1.2s ease-in-out 4 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.product-card { background: #fff; border: 1px solid rgba(23, 44, 33, .08); box-shadow: 0 2px 10px rgba(23, 44, 33, .06); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 44, 33, .12); }
.product-art { aspect-ratio: 1 / 1; background: #eef3ec !important; }
.product-name { font-size: 13px; font-weight: 700; color: #22322a; }
.product-meta { font-size: 11px; color: #7b8a81; }
.product-price strong { color: #c2410c; }
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .product-card { min-width: 0 !important; width: auto !important; }
  .product-art { height: auto !important; aspect-ratio: 1 / 1 !important; }
  .content { padding-left: 10px !important; padding-right: 10px !important; }
}
.banner-carousel { overflow: hidden; }
.banner-track { will-change: transform; }

/* ===== 3.9.4 新手指引与图文教程 ===== */
.tutorial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.tutorial-card { border: 1px solid #e6e1d6; border-radius: 14px; background: #fffdf8; overflow: hidden; }
.tutorial-card summary { list-style: none; display: flex; gap: 12px; padding: 12px; cursor: pointer; align-items: flex-start; }
.tutorial-card summary::-webkit-details-marker { display: none; }
.tutorial-card[open] { border-color: #bcd6c6; box-shadow: 0 8px 22px rgba(23,44,33,.08); }
.tutorial-thumb { width: 88px; flex: 0 0 88px; border-radius: 10px; overflow: hidden; background: #eef3ec; border: 1px solid #e6e1d6; }
.tutorial-thumb img { width: 100%; height: 128px; object-fit: cover; object-position: top center; display: block; }
.tutorial-copy { min-width: 0; }
.tutorial-title { font-size: 14px; font-weight: 800; color: #1f3d30; margin-bottom: 4px; }
.tutorial-desc { font-size: 12px; line-height: 1.65; color: #6b7a70; }
.tutorial-more { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: #2f6b55; }
.tutorial-full { padding: 0 12px 12px; border-top: 1px dashed #e6e1d6; }
.tutorial-full img { width: 100%; height: auto; display: block; margin: 12px 0; border-radius: 12px; border: 1px solid #e6e1d6; background: #fff; }
.tutorial-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.onboarding-shot { margin-top: 14px; border-radius: 14px; overflow: hidden; border: 1px solid #e6e1d6; background: #fff; max-height: 300px; }
.onboarding-shot img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .tutorial-grid { grid-template-columns: 1fr; gap: 10px; }
  .tutorial-thumb { width: 72px; flex-basis: 72px; }
  .tutorial-thumb img { height: 104px; }
  .onboarding-shot { max-height: 230px; overflow: auto; }
}
.detail-video { width: 100%; max-height: 62vh; border-radius: 14px; background: #0b1210; display: block; margin-top: 10px; }

/* ===== 3.9.5 商业商城视觉：更克制的品牌色、真实商品版式、清晰价格层级 ===== */
:root {
  --bg: #f3f5f4;
  --ink: #18241f;
  --ink-2: #2b3932;
  --muted: #738078;
  --line: #e2e7e4;
  --card: #ffffff;
  --soft: #f7f9f8;
  --green: #13795b;
  --green-2: #0d5c45;
  --lime: #d8f36b;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 16px 40px rgba(18, 38, 30, .08);
  --shadow-sm: 0 3px 14px rgba(18, 38, 30, .06);
}
html { background: #f3f5f4 !important; }
body {
  background: #f3f5f4 !important;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: .01em;
}
.sidebar {
  background: #101a16 !important;
  border-right: 1px solid rgba(255,255,255,.07);
  box-shadow: 8px 0 28px rgba(10, 22, 17, .08);
}
.brand-mark { background: #13795b !important; color: #fff !important; box-shadow: none !important; border-radius: 12px !important; }
.brand-sub { letter-spacing: .08em; }
.nav-item { border-radius: 9px !important; }
.nav-item.active { background: #e7f5ee !important; color: #0d5c45 !important; box-shadow: none !important; }
.nav-item.active .nav-badge { background: #cbe9da !important; color: #0d5c45 !important; }
.side-ai { border-radius: 12px !important; background: rgba(255,255,255,.045) !important; }
.live-dot { background: #46d39a !important; box-shadow: none !important; }
.topbar { backdrop-filter: blur(16px); background: rgba(255,255,255,.86) !important; border-bottom: 1px solid var(--line); }
.search { border-radius: 9px !important; background: #fff !important; }
.icon-btn { border-radius: 9px !important; background: #fff !important; }
.content { max-width: 1440px; padding-top: 26px; }
.card {
  border-radius: 14px !important;
  border: 1px solid #e2e7e4 !important;
  box-shadow: 0 1px 3px rgba(18,38,30,.035), 0 10px 26px rgba(18,38,30,.035) !important;
}
.section-title { font-size: 20px !important; letter-spacing: -.02em; }
.section-sub { font-size: 12px !important; line-height: 1.6; }
.btn { border-radius: 9px !important; font-weight: 700; letter-spacing: .01em; }
.btn-primary { background: #13795b !important; box-shadow: 0 6px 16px rgba(19,121,91,.16) !important; }
.btn-primary:hover { background: #0f674d !important; box-shadow: 0 8px 18px rgba(19,121,91,.22) !important; }
.btn-lime { background: #f2c94c !important; color: #201a08 !important; box-shadow: none !important; }
.btn-soft { background: #edf6f1 !important; border-color: #d9ebe1 !important; }
.badge { border-radius: 6px !important; padding: 3px 7px !important; }
.hero {
  border-radius: 16px !important;
  min-height: 320px;
  background: linear-gradient(112deg, #0c241b 0%, #123c2d 55%, #1d6a50 100%) !important;
  box-shadow: 0 18px 36px rgba(10, 32, 24, .18) !important;
}
.hero-title { font-size: clamp(30px, 4vw, 50px) !important; line-height: 1.13; letter-spacing: -.035em; }
.hero-desc { max-width: 690px; font-size: 14px; line-height: 1.8; }
.hero::before { opacity: .06 !important; }
.banner-carousel { border-radius: 16px !important; box-shadow: 0 16px 34px rgba(14, 35, 27, .16) !important; }
.banner-slide { min-height: 280px; padding: 34px 38px; align-items: flex-end; }
.banner-title { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; max-width: 760px; }
.banner-sub { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.75; }
.hero-banner-emoji { display: none !important; }
.banner-slide::before { opacity: .28; filter: none; background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px); border-radius: 0; inset: 0; height: auto; }
.banner-dots { bottom: 18px; left: auto; right: 24px; transform: none; }
.banner-dot.active { background: #f2c94c; }
.stats-row { gap: 12px; }
.stat-card { border-radius: 12px !important; box-shadow: none !important; border: 1px solid #e2e7e4; background: #fff !important; padding: 18px 18px !important; }
.stat-card:hover { border-color: #c9d8d1; }
.quick-grid { gap: 10px; }
.quick-card { border-radius: 12px !important; background: #fff !important; border: 1px solid #e2e7e4 !important; box-shadow: none !important; }
.quick-card:hover { border-color: #bdd4c8 !important; background: #fbfdfc !important; transform: translateY(-2px) !important; }
.quick-icon { border-radius: 9px !important; }
.category-row { border-radius: 10px !important; border: 1px solid #e2e7e4; background: #fff !important; padding: 6px !important; }
.chip.active, .tab-chip.active { background: #13795b !important; color: #fff !important; }
.product-grid { gap: 14px !important; }
.product-card {
  border-radius: 10px !important;
  border: 1px solid #e2e7e4 !important;
  box-shadow: 0 1px 2px rgba(18,38,30,.035) !important;
  overflow: hidden;
  padding: 0 !important;
  background: #fff !important;
}
.product-card:hover { transform: translateY(-4px) !important; box-shadow: 0 16px 32px rgba(18,38,30,.12) !important; border-color: #cbded4 !important; }
.product-art { background: #f1f3f2 !important; border-bottom: 1px solid #eef1ef; }
.product-art img { transition: transform .45s ease; }
.product-card:hover .product-art img { transform: scale(1.045); }
.product-body { padding: 13px 13px 12px !important; }
.product-name { font-size: 14px !important; line-height: 1.42 !important; min-height: 40px; font-weight: 650 !important; color: #1c2923 !important; }
.product-meta { color: #738078 !important; }
.product-price strong { font-size: 20px; color: #c2410c !important; font-weight: 800; }
.product-actions .btn { border-radius: 8px !important; }
.mall-banner { background: #fff !important; border: 1px solid #e2e7e4 !important; border-radius: 14px !important; box-shadow: none !important; }
.mall-banner-icon { border-radius: 10px !important; background: #fff4dc !important; }
.workspace-alert { border-left: 4px solid #c79223 !important; background: #fffdf5 !important; }
.workspace-alert.warn { border-left-color: #d97706 !important; background: #fffaf0 !important; }
.workspace-alert.error { border-left-color: #dc5b5b !important; background: #fff8f8 !important; }
.home-api-keys { margin-top: 18px; }
.ai-side-card { border-radius: 14px !important; }
.chat-card { border-radius: 14px !important; }
.chat-bubble { border-radius: 4px 14px 14px 14px !important; background: #f4f7f5 !important; border: 1px solid #e7ece9; }
.chat-msg.user .chat-bubble { background: #13795b !important; border-color: #13795b; border-radius: 14px 4px 14px 14px !important; }
.chat-input { border-radius: 10px !important; }
.tutorial-card { border-radius: 12px !important; background: #fff !important; box-shadow: none; }
.tutorial-thumb { border-radius: 8px !important; }
.footer, .bottom-nav { background: rgba(255,255,255,.96) !important; }
@media (max-width: 900px) {
  .hero { min-height: 270px; padding: 30px 24px; }
  .banner-slide { min-height: 240px; padding: 28px 24px; }
}
@media (max-width: 640px) {
  .content { padding: 16px 10px 92px !important; }
  .section-title { font-size: 18px !important; }
  .hero { border-radius: 14px !important; padding: 24px 18px !important; }
  .hero-title { font-size: 31px !important; }
  .banner-carousel { border-radius: 14px !important; }
  .banner-slide { min-height: 218px; padding: 24px 18px; }
  .banner-title { font-size: 30px; }
  .banner-dots { right: 16px; bottom: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
  .product-card { border-radius: 9px !important; }
  .product-name { font-size: 13px !important; min-height: 37px; }
  .product-price strong { font-size: 18px; }
  .product-body { padding: 10px 10px 9px !important; }
  .stats-row { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .stat-card { padding: 14px !important; }
}
