:root {
  color-scheme: light;
  --ink: #1c1d1f;
  --paper: #f7f9fa;
  --panel: #ffffff;
  --muted: #616366;
  --line: #eceef1;
  --lime: #fd3960;
  --purple: #fd3960;
  --soft-purple: #fff0f4;
  --danger: #f74640;
  --shadow: 0 12px 40px rgba(35, 38, 45, 0.07);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.topbar {
  height: 68px; padding: 0 3.5vw; display: flex; align-items: center; gap: 42px;
  background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 18px; }
.brand-mark { width: 32px; height: 28px; border: 2px solid var(--lime); border-radius: 9px; position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 5px; }
.brand-mark::after { content: ""; position: absolute; left: 5px; bottom: -6px; width: 7px; height: 8px; background: var(--ink); border-left: 2px solid var(--lime); transform: skew(-28deg); }
.brand-mark i { width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.topnav { display: flex; height: 100%; align-items: center; gap: 24px; }
.nav-link { border: 0; background: none; color: #9fa1a7; padding: 6px 0; cursor: pointer; font-size: 14px; font-weight: 650; }
.nav-link:hover, .nav-link.active { color: #fff; }
.privacy-pill { margin-left: auto; border: 1px solid #43454c; border-radius: 99px; padding: 8px 12px; color: #d5d6d9; font-size: 13px; }
.privacy-pill b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 7px; }

main { max-width: 1520px; margin: auto; padding: 0 3.5vw; }
.intro { min-height: 330px; display: flex; align-items: flex-end; justify-content: space-between; padding: 64px 0 46px; gap: 50px; }
.eyebrow, .section-index { color: var(--purple); font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.intro h1 { margin: 12px 0 0; font-size: clamp(54px, 7vw, 104px); line-height: .88; letter-spacing: -.075em; }
.intro h1 span { color: var(--purple); }
.intro-note { width: min(410px, 38vw); padding-bottom: 8px; }
.intro-note > p { margin: 0 0 22px; font-size: 18px; line-height: 1.65; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-tags span { border: 1px solid #cacac4; border-radius: 99px; padding: 7px 11px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.45); }

.maker { scroll-margin-top: 80px; }
.step-rail { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: #85878d; border-radius: 18px 18px 0 0; overflow: hidden; }
.step { padding: 17px 22px; border-right: 1px solid #34363b; font-size: 13px; font-weight: 720; }
.step:last-child { border: 0; }
.step b { color: #66686f; margin-right: 10px; }
.step.active { color: #fff; background: #22242a; }
.step.active b { color: var(--lime); }

.drop-zone { min-height: 480px; display: grid; place-items: center; align-content: center; gap: 24px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; padding: 60px 24px; transition: .2s ease; }
.drop-zone.dragging { background: #f7ffe4; box-shadow: inset 0 0 0 3px var(--lime); }
.drop-art { position: relative; width: 190px; height: 120px; }
.tile { position: absolute; width: 92px; height: 68px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 13px; background: #fff; font-size: 13px; font-weight: 900; box-shadow: 5px 5px 0 var(--ink); }
.tile-one { left: 3px; top: 22px; transform: rotate(-11deg); background: var(--soft-purple); }
.tile-two { right: 2px; top: 12px; transform: rotate(9deg); background: var(--lime); }
.tile-three { left: 55px; bottom: 0; background: #ffcb56; }
.drop-plus { position: absolute; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 26px; left: 74px; top: 32px; }
.drop-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 850; letter-spacing: .12em; color: var(--purple); }
.drop-zone h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; margin: 0 0 10px; }
.drop-zone p:not(.drop-kicker) { max-width: 570px; margin: auto; color: var(--muted); line-height: 1.7; }
.drop-actions { display: flex; gap: 10px; justify-content: center; }
.primary, .secondary { border-radius: 10px; min-height: 47px; padding: 0 20px; font-weight: 800; cursor: pointer; }
.primary { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.primary:hover { background: var(--purple); border-color: var(--purple); }
.secondary { border: 1px solid var(--line); background: #fff; }
.secondary:hover { border-color: var(--ink); }

.editor { display: grid; grid-template-columns: minmax(320px, 1.05fr) minmax(330px, 1.15fr) minmax(260px, .72fr); align-items: start; background: var(--panel); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; overflow: hidden; box-shadow: var(--shadow); }
.preview-panel, .controls-panel, .export-panel { min-width: 0; padding: 27px; }
.preview-panel, .controls-panel { border-right: 1px solid var(--line); }
.panel-topline { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; gap: 15px; }
.panel-topline h2, .export-heading h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.03em; }
.text-button { border: 0; background: none; padding: 4px; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.phone-stage { min-height: 445px; border: 1px solid #d7d9da; border-radius: 20px; background-color: #e8ebec; overflow: hidden; padding-bottom: 38px; }
.phone-bar { height: 54px; display: flex; align-items: center; justify-content: space-between; background: rgba(249,250,250,.95); padding: 0 16px; border-bottom: 1px solid #dfe1e1; }
.phone-bar span { width: 10px; height: 10px; border-left: 2px solid #333; border-bottom: 2px solid #333; transform: rotate(45deg); }
.phone-bar b { font-size: 14px; }
.phone-bar i { font-style: normal; letter-spacing: 2px; }
.chat-time { text-align: center; font-size: 11px; color: #8c9192; padding: 18px 0 16px; }
.chat-row { display: flex; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 0 18px; }
.avatar { order: 2; width: 38px; height: 38px; background: var(--purple); color: #fff; display: grid; place-items: center; border-radius: 7px; font-weight: 900; }
.sticker-wrap { width: min(240px, calc(100% - 52px)); aspect-ratio: 1; position: relative; }
#previewCanvas { width: 100%; height: 100%; display: block; object-fit: contain; }
.play-badge { position: absolute; right: 8px; bottom: 8px; background: rgba(23,24,28,.78); color: #fff; border-radius: 99px; font-size: 10px; font-weight: 850; padding: 4px 7px; }
.file-summary { margin-top: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; display: flex; justify-content: space-between; align-items: center; }
.file-summary span, .file-summary strong { display: block; }
.file-summary span { color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.file-summary strong { max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.icon-button { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 20px; }

.control-block { border-top: 1px solid var(--line); padding: 18px 0; }
.control-block:first-of-type { border-top: 0; padding-top: 0; }
.control-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.control-title label { font-weight: 780; font-size: 14px; }
.control-title output { color: var(--purple); font-size: 12px; font-weight: 750; }
.dual-range { height: 24px; position: relative; }
.dual-range .range-track { height: 5px; position: absolute; top: 9px; left: 0; right: 0; border-radius: 4px; background: var(--soft-purple); }
.dual-range input { position: absolute; inset: 0; width: 100%; appearance: none; pointer-events: none; background: none; margin: 0; }
.dual-range input::-webkit-slider-thumb { appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--purple); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--purple); pointer-events: auto; }
.time-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.segmented, .format-toggle { display: grid; grid-template-columns: 1fr 1fr; background: #ededeb; padding: 3px; border-radius: 9px; }
.segmented button, .format-toggle button { border: 0; background: transparent; min-height: 36px; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 700; }
.segmented button.active, .format-toggle button.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
.focus-grid label { font-size: 11px; color: var(--muted); }
.focus-grid input { width: 100%; accent-color: var(--purple); }
.text-input, select { width: 100%; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 0 12px; outline: none; }
.text-input:focus, select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--soft-purple); }
.option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 32px; height: 32px; border: 1px solid #bfc0bd; border-radius: 50%; cursor: pointer; position: relative; }
.swatches button.active::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--purple); border-radius: inherit; }
.swatches .checker { background: #f7f7f5; overflow: hidden; }
.swatches .checker::before { content: ""; position: absolute; width: 8px; height: 8px; left: 7px; top: 7px; background: #c8c8c5; box-shadow: 8px -8px 0 #c8c8c5, 8px 8px 0 #c8c8c5; }
.swatches .white { background: #fff; }.swatches .black { background: #111; }.swatches .green { background: var(--lime); }
.quality-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.quality-cards button { min-width: 0; min-height: 64px; padding: 10px 8px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; }
.quality-cards button b, .quality-cards button span { display: block; }
.quality-cards button b { font-size: 13px; margin-bottom: 4px; }.quality-cards button span { color: var(--muted); font-size: 10px; line-height: 1.3; }
.quality-cards button.active { background: var(--soft-purple); border-color: var(--purple); }
.size-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-options button { min-width: 0; min-height: 62px; padding: 9px 6px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.size-options button b, .size-options button span { display: block; }
.size-options button b { font-size: 15px; }.size-options button span { color: var(--muted); font-size: 10px; margin-top: 4px; white-space: nowrap; }
.size-options button.active { color: var(--purple); background: var(--soft-purple); border-color: var(--purple); }
.switch-row { margin-top: 13px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.switch-row span b, .switch-row span small { display: block; }.switch-row span b { font-size: 13px; }.switch-row span small { color: var(--muted); margin-top: 2px; font-size: 10px; }
.switch-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }.switch-row i { width: 40px; height: 23px; border-radius: 99px; background: #ccc; position: relative; transition: .2s; }
.switch-row input:focus-visible + i { outline: 3px solid var(--soft-purple); outline-offset: 2px; }
.switch-row i::after { content: ""; position: absolute; width: 17px; height: 17px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch-row input:checked + i { background: var(--purple); }.switch-row input:checked + i::after { transform: translateX(17px); }

.export-panel { position: sticky; top: 68px; }
.export-heading { margin-bottom: 20px; }.export-heading p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.spec-list { margin: 18px 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-list dt { color: var(--muted); }.spec-list dd { margin: 0; font-weight: 780; }
.checks { padding: 12px; background: #f5f7ef; border-radius: 10px; margin-bottom: 14px; }
.checks p { margin: 7px 0; font-size: 11px; }.checks span { color: #3e7b12; font-weight: 900; margin-right: 5px; }
.checks p.warn span { color: #ad6b00; }
.generate { width: 100%; min-height: 54px; border: 0; border-radius: 11px; background: var(--lime); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; cursor: pointer; font-weight: 900; box-shadow: 4px 4px 0 var(--ink); }
.generate:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--ink); }.generate:disabled { opacity: .55; cursor: wait; }
.generate b { font-size: 21px; }.export-note { color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 12px; }
.progress { margin-top: 14px; height: 36px; background: #ececea; border-radius: 8px; position: relative; overflow: hidden; display: grid; place-items: center; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--soft-purple); transition: width .15s; }.progress span { z-index: 1; font-size: 11px; font-weight: 750; }
.download { margin-top: 12px; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--purple); border-radius: 10px; color: var(--purple); text-decoration: none; font-size: 13px; font-weight: 850; }

.spec-section, .guide-section { scroll-margin-top: 95px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; padding: 120px 0; border-bottom: 1px solid var(--line); }
.section-copy h2, .guide-title h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.055em; margin: 15px 0 22px; }
.section-copy p { color: var(--muted); line-height: 1.8; max-width: 460px; }
.spec-board { display: grid; grid-template-columns: repeat(3, 1fr); align-self: center; }
.spec-card { min-height: 280px; padding: 24px; border: 1px solid var(--line); border-right: 0; background: #fff; display: flex; flex-direction: column; }
.spec-card:last-child { border-right: 1px solid var(--line); }.spec-card.accent { background: var(--lime); }
.spec-card span { font-size: 12px; font-weight: 850; letter-spacing: .06em; }.spec-card strong { font-size: clamp(50px, 5vw, 78px); letter-spacing: -.07em; margin-top: auto; }.spec-card b { font-size: 17px; }.spec-card small { margin-top: 10px; color: #565854; }
.guide-section { grid-template-columns: .8fr 1.2fr; }
.guide-section ol { list-style: none; padding: 0; margin: 0; }
.guide-section li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.guide-section li:last-child { border-bottom: 1px solid var(--line); }.guide-section li > b { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 50%; }
.guide-section strong { font-size: 20px; }.guide-section p { color: var(--muted); line-height: 1.7; margin: 7px 0 0; }

footer { min-height: 150px; padding: 0 3.5vw; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 25px; }
footer span { font-weight: 900; font-size: 20px; } footer p { color: #9b9da3; font-size: 13px; } footer a { color: var(--lime); text-decoration: none; margin-left: auto; font-size: 13px; font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 13px; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .editor { grid-template-columns: 1fr 1fr; }
  .export-panel { position: static; grid-column: 1 / -1; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .export-heading { grid-column: 1 / -1; margin: 0; }.generate, .progress, .download, .export-note { grid-column: 2; }.format-toggle, .spec-list, .checks { grid-column: 1; }
  .generate { grid-row: 2; align-self: start; }.progress { grid-row: 3; }.download { grid-row: 4; }.export-note { grid-row: 5; }
  .spec-section { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 760px) {
  .topbar { height: 60px; padding: 0 18px; }.topnav { display: none; }.privacy-pill { font-size: 0; padding: 7px; }.privacy-pill b { margin: 0; }
  main { padding: 0 14px; }.intro { min-height: 285px; padding: 45px 5px 35px; display: block; }.intro h1 { font-size: clamp(52px, 16vw, 75px); }.intro-note { width: auto; padding-top: 28px; }.intro-note > p { font-size: 16px; }
  .step { padding: 14px 8px; text-align: center; font-size: 11px; }.step b { display: block; margin: 0 0 4px; }
  .drop-zone { min-height: 470px; padding: 50px 20px; }.drop-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .editor { grid-template-columns: 1fr; }.preview-panel, .controls-panel { border-right: 0; border-bottom: 1px solid var(--line); }.preview-panel, .controls-panel, .export-panel { padding: 22px 18px; }
  .phone-stage { min-height: 400px; }.quality-cards { grid-template-columns: 1fr; }.quality-cards button { min-height: 52px; }
  .export-panel { display: block; }.export-panel > * { margin-top: 14px; }
  .spec-section, .guide-section { display: block; padding: 80px 4px; }.spec-board { grid-template-columns: 1fr; margin-top: 35px; }.spec-card { min-height: 220px; border-right: 1px solid var(--line); border-bottom: 0; }.spec-card:last-child { border-bottom: 1px solid var(--line); }
  .guide-section ol { margin-top: 35px; }.guide-section strong { font-size: 17px; }
  footer { padding: 32px 20px; flex-wrap: wrap; } footer p { width: 100%; order: 3; margin: 0; } footer a { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Clean, friendly creative-tool direction inspired by modern Chinese photo editors. */
.topbar {
  height: 72px; padding: 0 4vw; background: rgba(255,255,255,.96); color: var(--ink);
  border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(31,35,41,.04);
}
.brand-mark { border-color: var(--purple); background: var(--soft-purple); }
.brand-mark::after { background: #fff; border-left-color: var(--purple); }
.brand-mark i { background: var(--purple); }
.nav-link { color: #777a7e; padding: 9px 13px; border-radius: 9px; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: #f3f5f7; }
.privacy-pill { color: #55575a; background: var(--soft-purple); border-color: #ffd7e0; }
.privacy-pill b { background: var(--purple); }

main { max-width: 1460px; padding: 0 4vw; }
.intro { min-height: 270px; padding: 46px 0 38px; align-items: center; justify-content: center; flex-direction: column; gap: 18px; text-align: center; }
.intro h1 { margin-top: 10px; font-size: clamp(46px, 5.5vw, 76px); line-height: 1.03; letter-spacing: -.065em; }
.intro h1 br { display: none; }
.intro h1 span { color: var(--purple); }
.intro-note { width: auto; max-width: 660px; padding: 0; }
.intro-note > p { margin-bottom: 17px; color: var(--muted); font-size: 17px; }
.mini-tags { justify-content: center; }
.mini-tags span { background: #fff; border-color: var(--line); box-shadow: 0 5px 16px rgba(31,35,41,.04); }
.eyebrow, .section-index { color: var(--purple); }

.maker { max-width: 1380px; margin: 0 auto; }
.step-rail { gap: 8px; padding: 8px; background: #fff; color: #939599; border: 1px solid var(--line); border-radius: 18px 18px 0 0; }
.step { padding: 14px 18px; border: 0; border-radius: 11px; }
.step b { color: #abadb2; }
.step.active { color: var(--ink); background: var(--soft-purple); }
.step.active b { color: var(--purple); }
.drop-zone { min-height: 440px; border-color: var(--line); border-radius: 0 0 24px 24px; box-shadow: var(--shadow); }
.drop-zone.dragging { background: #fff7f9; box-shadow: inset 0 0 0 2px var(--purple), var(--shadow); }
.tile { border: 1px solid #dddfe3; box-shadow: 0 8px 20px rgba(31,35,41,.10); }
.tile-one { background: #f0eaff; }.tile-two { background: #fff0f4; }.tile-three { background: #eaf5ff; }
.drop-plus { background: var(--purple); box-shadow: 0 7px 18px rgba(253,57,96,.28); }
.primary { background: var(--purple); border-color: var(--purple); box-shadow: 0 7px 18px rgba(253,57,96,.18); }
.primary:hover { background: #e82950; border-color: #e82950; }
.secondary { border-color: var(--line); }.secondary:hover { border-color: #c8cbd0; background: #f7f9fa; }

.editor { gap: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.preview-panel, .controls-panel, .export-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.preview-panel, .controls-panel { border-right: 1px solid var(--line); }
.phone-stage { background: #f3f5f7; border-color: #eaecf0; }
.avatar { background: var(--purple); }
.file-summary, .text-input, select, .quality-cards button, .size-options button { border-color: #e6e8eb; }
.control-block { border-color: var(--line); }
.segmented, .format-toggle { background: #f3f5f7; }
.segmented button.active, .format-toggle button.active { color: var(--purple); box-shadow: 0 3px 10px rgba(31,35,41,.07); }
.dual-range .range-track { background: #ffe0e6; }
.dual-range input::-webkit-slider-thumb { background: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.checks { background: #f7f9fa; }
.generate { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(253,57,96,.24); }
.generate:hover { background: #e82950; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(253,57,96,.28); }
.download { border-color: var(--purple); color: var(--purple); background: var(--soft-purple); }
.progress i { background: #ffe0e6; }

.spec-section, .guide-section { gap: 58px; padding: 100px 0; border-color: var(--line); }
.section-copy h2, .guide-title h2 { font-size: clamp(38px, 4.5vw, 62px); }
.spec-card { margin-right: 12px; min-height: 250px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.spec-card:last-child { border: 0; margin-right: 0; }
.spec-card.accent { background: var(--soft-purple); color: var(--ink); }
.guide-section li { margin-bottom: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(31,35,41,.04); }
.guide-section li:last-child { border-bottom: 1px solid var(--line); }
.guide-section li > b { background: var(--soft-purple); color: var(--purple); }
footer { min-height: 130px; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
footer p { color: var(--muted); } footer a { color: var(--purple); }

@media (max-width: 1120px) {
  .export-panel { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .topbar { height: 60px; padding: 0 18px; }
  .intro { min-height: 245px; padding: 36px 5px 30px; }
  .intro h1 { font-size: clamp(40px, 12.5vw, 60px); }
  .intro h1 br { display: initial; }
  .intro-note { padding-top: 0; }
  .step-rail { gap: 3px; padding: 5px; }
  .editor { gap: 12px; }
  .preview-panel, .controls-panel { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .size-options { grid-template-columns: repeat(2, 1fr); }
  .spec-card { margin: 0 0 12px; border: 0; }
  .spec-card:last-child { border: 0; }
}
