/* /features/design — 11 section, mockup HTML/CSS. Nạp sau styles.css.
   Dùng lại .pp-sec/.pp-head/.pp-pill/.pp-card/.pp-two/.pp-bul/.pp-ic. */

/* ---- 1. hero ---- */
.ds-hero { position: relative; overflow: hidden; color: #f5f5f6;
  background: radial-gradient(70% 55% at 50% 0%, rgba(200,247,81,.13), transparent 70%),
    radial-gradient(45% 50% at 85% 80%, rgba(255,122,26,.16), transparent 70%),
    linear-gradient(180deg, #100f0d, #141311); }
.ds-stars { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 14% 24%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 30% 62%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 46% 14%, rgba(200,247,81,.6), transparent),
    radial-gradient(1px 1px at 66% 34%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,160,77,.65), transparent),
    radial-gradient(1px 1px at 92% 58%, rgba(255,255,255,.4), transparent); }
.ds-hero-in { position: relative; z-index: 3; text-align: center; padding: 62px 0 0; max-width: 830px; }
.ds-hero h1 { margin: 18px 0 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.04em; color: #f5f5f6; text-wrap: balance; }
.ds-hero .lede { margin: 18px auto 0; max-width: 600px; font-size: 16.5px; line-height: 1.6; color: #b3b3bc; }
.ds-hero .hero-cta { justify-content: center; margin-top: 26px; }
.ds-hero .btn-ghost { color: #f5f5f6; border-color: #3a362c; }
.ds-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 26px; max-width: 1100px; margin: 30px auto 0; padding: 0 24px 60px; min-height: 500px; }
.ds-hero-mascot { position: absolute; left: 50%; bottom: 0; width: 210px; height: auto; transform: translateX(-50%); z-index: 3;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.55)); }
.ds-boards { display: flex; align-items: flex-end; gap: 22px; }
.ds-board { position: relative; border-radius: 12px; padding: 8px; background: #1a1914; border: 1px solid #383429; box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.ds-board-size { position: absolute; left: 10px; top: -22px; font: 600 9.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; color: #8f8b80; }
.ds-board-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; min-height: 150px;
  padding: 16px; border-radius: 8px; overflow: hidden; color: #fdf1e0;
  background: radial-gradient(80% 70% at 30% 20%, #f0a35a, #a04a14 62%, #3a1d0c); }
.ds-board-art b { position: relative; z-index: 2; font-size: 19px; line-height: 1.12; letter-spacing: -.02em; }
.ds-board-art small { position: relative; z-index: 2; font-size: 9.5px; opacity: .85; }
.ds-blob { position: absolute; right: -18%; top: -12%; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,.05) 70%); }
.ds-b1 { height: 330px; width: 236px; }
.ds-b2 { height: 364px; width: 204px; }
.ds-b3 { height: 224px; width: 224px; }
.ds-b2 .ds-board-art { background: radial-gradient(80% 70% at 30% 20%, #7fd9c9, #177a72 60%, #0a2c2a); }
.ds-b3 .ds-board-art { background: radial-gradient(80% 70% at 30% 20%, #d9f38a, #6b8a1a 62%, #2c3a0b); }

/* ---- 2. editor ---- */
.ds-workspace { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.ds-editor { display: grid; grid-template-columns: 96px 1fr 1.15fr; gap: 0; border-radius: 18px; overflow: hidden;
  background: #15140f; border: 1px solid #34312a; box-shadow: 0 32px 70px rgba(0,0,0,.45); color: #f5f5f6; min-height: 470px; }
.ds-rail { display: grid; align-content: start; gap: 2px; padding: 10px 6px; background: #121109; border-right: 1px solid #2c2921; }
.ds-panel { display: grid; justify-items: center; gap: 4px; padding: 7px 2px; border: 0; border-radius: 8px; font-size: 8.5px;
  background: transparent; color: #8f8b80; cursor: pointer; }
.ds-panel-ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font-size: 9px; background: #26241d; color: #cfcabb; }
.ds-panel.on { background: rgba(255,122,26,.14); color: #ffcda6; }
.ds-panel.on .ds-panel-ic { background: var(--orange); color: #141311; font-weight: 700; }
.ds-panel-body { padding: 12px; border-right: 1px solid #2c2921; }
.ds-panel-head { display: flex; justify-content: space-between; align-items: center; }
.ds-panel-head b { font-size: 12px; }
.ds-panel-head span { font-size: 9px; padding: 3px 7px; border-radius: 5px; background: #201e17; color: #8f8b80; }
.ds-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.ds-thumbs u { display: block; height: 46px; border-radius: 6px; }
.ds-rows { display: grid; gap: 6px; }
.ds-rows b { font-size: 11px; color: #f5f5f6; }
.ds-rows u { display: block; padding: 7px 9px; border-radius: 6px; font-size: 10px; text-decoration: none; color: #cfcabb;
  background: #201e17; border: 1px solid #36332a; }
.ds-rows em { font-style: normal; font-size: 9px; color: #8f8b80; }
.ds-shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ds-shapes i { height: 34px; border-radius: 6px; background: #ffb36b; }
.ds-shapes i.c { border-radius: 50%; background: #7dd3c0; }
.ds-shapes i.t { background: #ffb36b; clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.ds-shapes i.l { background: #26241d; border: 1px solid #3a362c; }
.ds-shapes i.s { border-radius: 17px; background: #C8F751; }
.ds-shapes i.a { background: #cbb7f5; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); border-radius: 0; }
.ds-draw { display: grid; place-items: center; gap: 8px; padding: 20px 10px; border-radius: 8px; background: #201e17; }
.ds-draw s { width: 64px; height: 40px; border-bottom: 2px solid var(--orange); border-radius: 50%; text-decoration: none; }
.ds-draw span { font-size: 9.5px; color: #8f8b80; }
.ds-sw-row { display: flex; align-items: center; gap: 6px; }
.ds-sw-row b { margin-right: auto; font-size: 11px; color: #f5f5f6; }
.ds-sw-row i { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); }
.ds-canvas .ds-board.drop { outline: 1px dashed rgba(200,247,81,.6); outline-offset: 4px; }
.ds-credit { display: block; margin-top: 9px; font-size: 8.5px; color: #6f6b60; }
.ds-canvas { padding: 12px; background: #0f0e0a; display: grid; align-content: start; gap: 10px; }
.ds-canvas-bar { display: flex; align-items: center; gap: 6px; }
.ds-canvas-bar i { width: 6px; height: 6px; border-radius: 50%; background: #3a362c; }
.ds-canvas-bar span { margin-left: auto; font: 600 9px/1 ui-monospace, monospace; color: #8f8b80; }
.ds-editor .ds-board { width: 100%; height: 300px; padding: 6px; }
.ds-ecards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ds-ecard { padding: 14px 16px; }
.ds-num { display: inline-block; margin-bottom: 10px; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .1em; color: var(--orange); }
.ds-ecard h3 { font-size: 13.5px; }
.ds-ecard p { margin-top: 4px; font-size: 11.5px; }

/* ---- 3. layers ---- */
.ds-layer-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ds-stack { position: relative; min-height: 430px; display: grid; place-items: center; }
.ds-lay { position: absolute; width: 230px; height: 300px; border-radius: 14px; border: 1px solid #3a362c; }
.ds-lay.l1 { transform: translate(-30px, -26px) rotate(-5deg); background: #1b1a14; }
.ds-lay.l2 { transform: translate(0, -10px) rotate(-1deg); background: #201e17; }
.ds-lay.l3 { transform: translate(26px, 8px) rotate(3deg); background: #26241d; }
.ds-stack-top { position: relative; z-index: 3; }
.ds-stack-top .ds-board { height: 300px; width: 240px; }
.ds-chip-logo, .ds-chip-txt { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  border-radius: 7px; font-size: 9.5px; background: #0f0e0a; border: 1px solid rgba(255,122,26,.6); color: #ffcda6; }
.ds-chip-logo { left: -22px; top: 26px; }
.ds-chip-txt { right: -20px; bottom: 34px; }
.ds-chip-logo .pp-ic { width: 16px; height: 16px; font-size: 7px; border-radius: 4px; }
.ds-layers { display: grid; gap: 8px; }
.ds-layer { display: grid; grid-template-columns: 26px 1fr 14px; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 12px; background: var(--pp-card); border: 1px solid var(--pp-line); width: 100%; text-align: left;
  font: inherit; color: inherit; cursor: pointer; transition: border-color .16s, background .16s; }
.ds-layer:hover { border-color: rgba(255,122,26,.45); }
.ds-layer.on { border-color: var(--orange); background: rgba(255,122,26,.12); }
.ds-chip-logo.on, .ds-chip-txt.on { border-color: #C8F751; color: #e9ffb0; box-shadow: 0 0 0 2px rgba(200,247,81,.25); }
.ds-layer-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 700 10px/1 ui-monospace, monospace;
  color: var(--pp-ink); background: rgba(255,255,255,.08); }
.ds-layer b { font-size: 13px; color: var(--pp-ink); }
.ds-layer small { display: block; font-size: 11px; color: var(--pp-mute); }
.ds-eye { width: 12px; height: 8px; border-radius: 50%; border: 1.5px solid var(--pp-mute); position: relative; }
.ds-eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--pp-mute); transform: translate(-50%, -50%); }
.ds-hint { margin: 6px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--pp-mute); }
.ds-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ds-toolbar span { padding: 5px 9px; border-radius: 7px; font-size: 10.5px; color: var(--pp-mute); background: rgba(255,255,255,.05); border: 1px solid var(--pp-line); }
.ds-toolbar span:last-child { color: #141311; background: var(--orange); border-color: var(--orange); font-weight: 700; }
.ds-quiet { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; margin-top: 54px; padding: 24px 26px;
  border-radius: 18px; background: rgba(255,122,26,.10); border: 1px solid rgba(255,122,26,.38); }
.ds-quiet-copy h3 { margin: 12px 0 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; color: var(--pp-ink); }
.ds-quiet-copy p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--pp-mute); max-width: 46ch; }
.ds-swap { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ds-swap .ic { width: 18px; height: 18px; color: var(--orange); flex: 0 0 auto; }
.ds-swap-a, .ds-swap-b { width: 104px; height: 104px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); }
.ds-swap-a { background: radial-gradient(circle at 35% 30%, #9a8f7a, #3d3a32); }
.ds-swap-b { background: radial-gradient(circle at 35% 30%, #f0a35a, #7a3410); }

/* ---- 4. sizes ---- */
.ds-sizes { display: grid; gap: 6px; margin-top: 22px; }
.ds-size { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 8px 11px;
  border-radius: 9px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.ds-size b { font-size: 12px; color: var(--pp-ink); }
.ds-size span { font: 600 11px/1 ui-monospace, monospace; color: var(--pp-mute); }
.ds-custom { margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--pp-line); }
.ds-custom b { font-size: 12.5px; color: var(--pp-ink); }
.ds-custom > span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.45; color: var(--pp-mute); }
.ds-custom-in { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ds-custom-in em { font-style: normal; padding: 5px 10px; border-radius: 7px; font: 600 12px/1 ui-monospace, monospace;
  color: var(--pp-ink); background: rgba(255,255,255,.07); border: 1px solid var(--pp-line); }
.ds-custom-in i { font-style: normal; color: var(--pp-mute); }
.ds-custom-in span { font-size: 11px; color: var(--pp-mute); }
.ds-size-shot { position: relative; display: grid; justify-items: center; gap: 16px; }
.ds-size-shot .ds-board { height: 300px; width: 222px; }
.ds-tabs-mini { display: flex; gap: 6px; }
.ds-tabs-mini button { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--pp-mute);
  background: var(--pp-card); border: 1px solid var(--pp-line); font-family: inherit; }
.ds-tabs-mini button.on { color: #141311; background: var(--orange); border-color: var(--orange); }
.ds-ratio-story { height: 360px !important; width: 196px !important; }
.ds-ratio-wide { height: 208px !important; width: 330px !important; }
.ds-ratio-story .ds-board-art b { font-size: 17px; }
.ds-note-card { padding: 18px 20px; border-radius: 14px; background: rgba(13,12,10,.55); border: 1px solid rgba(255,255,255,.12); }
.ds-note-card b { font-size: 14px; color: #f5f5f6; }
.ds-note-card p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: #a9a9b3; }
.ds-note-card small { display: block; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #8f8b80; }

/* ---- 5. AI ---- */
.ds-ai-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.ds-ai-canvas { padding: 16px; border-radius: 18px; background: rgba(13,12,10,.72); border: 1px solid rgba(255,255,255,.12); }
.ds-photo { position: relative; height: 300px; border-radius: 12px; overflow: hidden; display: grid; place-items: end start; padding: 14px;
  background: radial-gradient(60% 70% at 40% 30%, #f0c08a, #8a4a1c 62%, #2f1a0c); }
.ds-ai-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ds-ai-ba small { display: block; margin-bottom: 5px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #8f8b80; }
.ds-ai-ba i { display: block; height: 74px; border-radius: 8px; }
.ds-ba-before { background: radial-gradient(circle at 62% 52%, #4a2a14 0 14%, transparent 15%), radial-gradient(60% 70% at 40% 30%, #f0c08a, #8a4a1c 70%); }
.ds-ba-after { background: radial-gradient(60% 70% at 40% 30%, #f6d6b0, #b97a44 70%); }
.ds-gen-art { display: block; height: 86px; margin-bottom: 14px; border-radius: 9px; }
.ds-ga-0 { background: radial-gradient(circle at 35% 30%, #f0a35a, #7a3410); }
.ds-ga-1 { background: radial-gradient(circle at 40% 35%, #7dd3c0, #124c47); }
.ds-ga-2 { background: linear-gradient(120deg, #f0a35a, #C8F751 55%, #2DD4BF); }
.ds-photo span { position: relative; z-index: 2; padding: 4px 9px; border-radius: 6px; font-size: 10px; color: #141311; background: rgba(200,247,81,.9); }
.ds-ring { position: absolute; left: 46%; top: 44%; width: 96px; height: 96px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.75); transform: translate(-50%, -50%); }
.ds-ring::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: rgba(255,255,255,.16); }
.ds-ai-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ds-ai-tools button { text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 10px 12px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; }
.ds-ai-tools button:hover { border-color: rgba(255,122,26,.4); }
.ds-ai-tools button.on { background: rgba(255,122,26,.12); border-color: rgba(255,122,26,.5); }
.ds-ai-tools b { font-size: 12.5px; color: #f5f5f6; }
.ds-ai-tools p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; color: #a9a9b3; }
.ds-ai-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ds-ai-actions button { padding: 5px 12px; border-radius: 7px; font-size: 11px; cursor: pointer; color: #cfcabb;
  background: rgba(255,255,255,.07); border: 0; }
.ds-ai-actions button.on { color: #0d2d22; background: #34d399; font-weight: 700; }
.ds-photo.clean { background: radial-gradient(60% 70% at 40% 30%, #f6d6b0, #b97a44 62%, #4a2a14); }
.ds-photo.clean .ds-ring { display: none; }
.ds-ai-side { display: grid; gap: 14px; }
.ds-ai { padding: 18px; }
.ds-ai-ic { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px;
  background: rgba(255,122,26,.16); color: var(--orange); }
.ds-ai-ic .ic { width: 15px; height: 15px; }
.ds-gens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.ds-gen { padding: 18px; }
.ds-gen h3 { font-size: 14px; }
.ds-gen p { font-size: 12px; }
.ds-foot { margin: 26px 0 0; text-align: center; font-size: 12px; color: #8f8b80; }

/* ---- 6. brand ---- */
.ds-bsteps { display: grid; gap: 12px; margin-top: 22px; }
.ds-bstep { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.ds-bstep > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 700 10px/1 ui-monospace, monospace;
  color: #141311; background: var(--orange); }
.ds-bstep b { font-size: 13px; color: var(--pp-ink); }
.ds-bstep p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--pp-mute); }
.ds-linkrow { margin: 20px 0 0; }
.ds-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--orange-2); }
.ds-more .ic { width: 13px; height: 13px; }
.ds-brand-shot { display: grid; gap: 14px; }
.ds-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds-ba-card { padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.ds-ba-card small { display: block; margin-bottom: 8px; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: #8f8b80; }
.ds-ba-on { border-color: rgba(45,212,191,.5); background: rgba(45,212,191,.08); }
.ds-board-sm { width: 100%; height: auto; padding: 6px; }
.ds-board-sm .ds-board-art { min-height: 148px; padding: 12px; }
.ds-board-sm .ds-board-art b { font-size: 15px; }
.ds-art-grey { background: radial-gradient(80% 70% at 30% 20%, #7d7666, #3a352c 70%); }
.ds-kit { padding: 14px 16px; border-radius: 14px; background: #15140f; border: 1px solid #34312a; color: #f5f5f6; }
.ds-kit > b { font-size: 12.5px; }
.ds-kit-row { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.ds-kit-row > span { width: 66px; font-size: 10px; color: #8f8b80; }
.ds-kit-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-style: normal; font-size: 12px;
  font-weight: 800; color: #141311; background: var(--orange); }
.ds-kit-logo2 { background: #f5f5f6; }
.ds-kit-row em { width: 22px; height: 22px; border-radius: 6px; }
.ds-kit-row u { width: 34px; height: 22px; border-radius: 5px; background: #26241d; border: 1px solid #383429; }

/* ---- 7. templates ---- */
.ds-search { display: flex; align-items: center; gap: 10px; max-width: 900px; margin: -14px auto 22px; padding: 10px 14px;
  border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--pp-line); position: relative; z-index: 2; flex-wrap: wrap; }
.ds-search > span { font-size: 15px; color: var(--pp-mute); }
.ds-search em { font-style: normal; font-size: 12px; color: var(--pp-mute); }
.ds-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ds-filter { padding: 4px 10px; border-radius: 999px; font-size: 11px; cursor: pointer; color: var(--pp-mute);
  background: transparent; border: 1px solid var(--pp-line); }
.ds-filter.on { color: #141311; background: var(--lime, #C8F751); border-color: #C8F751; font-weight: 700; }
.ds-tpls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 2; }
.ds-tpl { display: block; border-radius: 12px; overflow: hidden; background: var(--pp-card); border: 1px solid var(--pp-line);
  transition: transform .18s var(--ease), border-color .18s; }
.ds-tpl:hover { transform: translateY(-3px); border-color: rgba(200,247,81,.5); }
.ds-tpl-art { position: relative; display: flex; align-items: flex-end; height: 128px; padding: 12px; overflow: hidden;
  background: radial-gradient(80% 80% at 30% 20%, #f0a35a, #7a3410 70%); }
.ds-tpl-art::after { content: ""; position: absolute; right: -16%; top: -20%; width: 66%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.24); }
.ds-tpl-art b { position: relative; z-index: 2; font-size: 13px; line-height: 1.15; color: #fdf1e0; letter-spacing: -.01em; }
.ds-tpl > span { display: block; padding: 9px 12px 0; font-size: 11.5px; color: var(--pp-ink); }
.ds-tpl > em { display: block; padding: 2px 12px 10px; font-style: normal; font-size: 10px; color: var(--orange-2); }
.ds-a2 .ds-tpl-art, .ds-a6 .ds-tpl-art { background: radial-gradient(80% 80% at 30% 20%, #7fd9c9, #14635c 70%); }
.ds-a3 .ds-tpl-art, .ds-a7 .ds-tpl-art { background: radial-gradient(80% 80% at 30% 20%, #d9f38a, #5c6f14 70%); }
.ds-a4 .ds-tpl-art, .ds-a8 .ds-tpl-art { background: radial-gradient(80% 80% at 30% 20%, #cbb7f5, #3b2b6b 70%); }
.ds-shared-head { margin: 44px 0 16px; position: relative; z-index: 2; }
.ds-shared-head h3 { margin: 12px 0 0; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.03em; color: var(--pp-ink); }
.ds-shareds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; z-index: 2; }
.ds-shared { padding: 18px; border-radius: 14px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.ds-shared h3 { font-size: 14px; color: var(--pp-ink); }
.ds-shared p { margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: var(--pp-mute); }

/* ---- 8. where designs go ---- */
.ds-where { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ds-where-card { padding: 20px; border-radius: 18px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.ds-where-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ds-where-h h3 { font-size: 16px; color: var(--pp-ink); }
.ds-where-h span { font: 600 10px/1 ui-monospace, monospace; color: var(--pp-mute); white-space: nowrap; }
.ds-post-demo { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--pp-line); }
.ds-post-img { position: relative; display: flex; align-items: flex-end; height: 300px; padding: 18px;
  background: radial-gradient(80% 80% at 30% 20%, #f0a35a, #7a3410 72%); }
.ds-post-img b { font-size: 20px; line-height: 1.1; color: #fdf1e0; letter-spacing: -.02em; }
.ds-post-meta { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: rgba(255,255,255,.04); }
.ds-post-meta b { display: block; font-size: 12px; color: var(--pp-ink); }
.ds-post-meta small { display: block; font-size: 10px; color: var(--pp-mute); }
.ds-where-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ds-where-btns span { padding: 6px 11px; border-radius: 8px; font-size: 11px; color: var(--pp-mute); background: rgba(255,255,255,.04); border: 1px solid var(--pp-line); }
.ds-where-btns span.on { color: #141311; background: var(--orange); border-color: var(--orange); font-weight: 700; }
.ds-arts { display: grid; gap: 8px; margin-top: 16px; }
.ds-art-row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; padding: 8px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--pp-line); }
.ds-art-thumb { height: 52px; border-radius: 7px; }
.ds-art-thumb.ds-b1 { background: radial-gradient(circle at 30% 30%, #f0a35a, #7a3410); height: 52px; width: auto; }
.ds-art-thumb.ds-b2 { background: radial-gradient(circle at 30% 30%, #7fd9c9, #14635c); height: 52px; width: auto; }
.ds-art-thumb.ds-b3 { background: radial-gradient(circle at 30% 30%, #d9f38a, #5c6f14); height: 52px; width: auto; }
.ds-art-row b { display: block; font-size: 12px; color: var(--pp-ink); }
.ds-art-row small { font-size: 10px; color: var(--pp-mute); }
.ds-where-card .ds-hint { margin-top: 14px; }

/* ---- 9. picture in ---- */
.ds-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 2; }
.ds-pic { padding: 22px; border-radius: 16px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.ds-pic-n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 40px; border-radius: 9px;
  font: 700 11px/1 ui-monospace, monospace; color: #141311; background: var(--orange); }
.ds-pic h3 { font-size: 16px; color: var(--pp-ink); }
.ds-pic p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--pp-mute); }

/* ---- light theme ---- */
html[data-theme="light"] .ds-editor, html[data-theme="light"] .ds-kit, html[data-theme="light"] .ds-note-card {
  background: #fff; border-color: #e1e1e6; color: #141418; }
html[data-theme="light"] .ds-rail { background: #f1f1f4; border-color: #e1e1e6; }
html[data-theme="light"] .ds-panel { color: #55555c; }
html[data-theme="light"] .ds-panel-ic { background: #e7e7ec; color: #2a2a30; }
html[data-theme="light"] .ds-panel-head span { background: #e7e7ec; color: #55555c; }
html[data-theme="light"] .ds-canvas { background: #f7f7f8; }
html[data-theme="light"] .ds-note-card b { color: #141418; }
html[data-theme="light"] .ds-note-card p { color: #55555c; }
html[data-theme="light"] .ds-note-card small { color: #6b6b74; }
html[data-theme="light"] .ds-quiet { background: #fff3e0; }
html[data-theme="light"] .ds-filter.on { color: #141311; }
html[data-theme="light"] .ds-lay { border-color: #dcdce2; }
html[data-theme="light"] .ds-lay.l1 { background: #f1f1f4; }
html[data-theme="light"] .ds-lay.l2 { background: #e9e9ee; }
html[data-theme="light"] .ds-lay.l3 { background: #e1e1e6; }
html[data-theme="light"] .ds-chip-logo, html[data-theme="light"] .ds-chip-txt { background: #fff; color: #b4500a; }
html[data-theme="light"] .ds-foot { color: #6b6b74; }
html[data-theme="light"] .ds-toolbar span { background: #f3f3f6; }
html[data-theme="light"] .ds-rows u { background: #f3f3f6; color: #2a2a30; border-color: #e1e1e6; }
html[data-theme="light"] .ds-rows b { color: #141418; }
html[data-theme="light"] .ds-rows em { color: #55555c; }
html[data-theme="light"] .ds-draw { background: #f3f3f6; }
html[data-theme="light"] .ds-shapes i.l { background: #ececf0; border-color: #dcdce2; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .ds-workspace { grid-template-columns: 1fr; }
  .ds-ecards { grid-template-columns: repeat(4, 1fr); }
  .ds-ai-grid { grid-template-columns: 1fr; }
  .ds-layer-wrap { grid-template-columns: 1fr; gap: 30px; }
  .ds-stack { min-height: 360px; }
  .ds-tpls { grid-template-columns: repeat(3, 1fr); }
  .ds-gens { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .ds-hero-in { padding-top: 40px; }
  .ds-boards { gap: 12px; }
  .ds-b1 { height: 220px; width: 160px; }
  .ds-b2 { height: 240px; width: 136px; }
  .ds-b3 { height: 150px; width: 150px; }
  .ds-hero-mascot { display: none; }
  .ds-stage { min-height: 0; }
  .ds-editor { grid-template-columns: 78px 1fr; min-height: 0; }
  .ds-panel-body { display: none; }
  .ds-ecards { grid-template-columns: 1fr 1fr; }
  .ds-quiet { grid-template-columns: 1fr; }
  .ds-ai-tools { grid-template-columns: 1fr; }
  .ds-gens { grid-template-columns: 1fr; }
  .ds-tpls { grid-template-columns: 1fr 1fr; }
  .ds-shareds { grid-template-columns: 1fr; }
  .ds-where { grid-template-columns: 1fr; }
  .ds-pics { grid-template-columns: 1fr; }
  .ds-ba { grid-template-columns: 1fr; }
  .ds-size-shot .ds-board { height: 260px; }
  .ds-stack-top .ds-board { height: 250px; width: 200px; }
  .ds-lay { width: 190px; height: 250px; }
  .ds-chip-logo { left: 0; }
  .ds-chip-txt { right: 0; }
  .ds-swap-a, .ds-swap-b { width: 80px; height: 80px; }
}
@media (max-width: 560px) {
  .ds-boards .ds-b1 { display: none; }
  .ds-editor { grid-template-columns: 1fr; }
  .ds-rail { grid-template-columns: repeat(4, 1fr); display: grid; border-right: 0; border-bottom: 1px solid #2c2921; }
  .ds-editor .ds-board { height: 240px; }
  .ds-tpls { grid-template-columns: 1fr; }
  .ds-search { border-radius: 14px; }
  .ds-filters { margin-left: 0; }
}
