:root {
  color-scheme: light;
  --canvas: #f4f5f3;
  --surface: #fbfcfa;
  --surface-solid: #ffffff;
  --surface-muted: #f0f2ef;
  --line: rgba(35, 42, 39, 0.11);
  --line-strong: rgba(35, 42, 39, 0.18);
  --ink: #171b19;
  --muted: #717875;
  --soft: #9ca29f;
  --accent: #10bd88;
  --accent-soft: rgba(16, 189, 136, 0.12);
  --action: #202321;
  --action-ink: #ffffff;
  --shadow-soft: 0 18px 42px rgba(37, 42, 38, 0.05), 0 2px 5px rgba(37, 42, 38, 0.05);
  --shadow-pop: 0 24px 70px rgba(26, 30, 27, 0.14), 0 4px 12px rgba(26, 30, 27, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111514;
  --surface: #171c1a;
  --surface-solid: #1d2220;
  --surface-muted: #222826;
  --line: rgba(224, 237, 231, 0.1);
  --line-strong: rgba(224, 237, 231, 0.18);
  --ink: #edf2ef;
  --muted: #a4ada9;
  --soft: #747d79;
  --accent: #29e4ac;
  --accent-soft: rgba(41, 228, 172, 0.14);
  --action: #ecf1ee;
  --action-ink: #131715;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .17), 0 2px 5px rgba(0, 0, 0, .14);
  --shadow-pop: 0 26px 80px rgba(0, 0, 0, .42), 0 4px 15px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.82), transparent 38rem),
    var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  transition: color .3s ease, background-color .3s ease;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a, select, input[type="range"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, textarea:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-button, .round-button, .menu-button, .back-button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button svg, .round-button svg, .menu-button svg, .back-button svg { width: 22px; height: 22px; }

.menu-button {
  position: fixed;
  z-index: 40;
  top: 13px;
  left: 13px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  transition: transform .2s var(--ease), color .2s ease, background .2s ease;
}
.menu-button:hover { color: var(--ink); background: var(--surface-solid); transform: translateY(-1px); }
.menu-button:active { transform: scale(.96); }

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(8, 12, 10, .26);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer-scrim.is-visible { opacity: 1; }

.side-panel {
  position: fixed;
  inset: 10px auto 10px 10px;
  z-index: 50;
  display: flex;
  width: min(310px, calc(100vw - 28px));
  padding: 18px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(24px);
  transform: translateX(calc(-100% - 24px));
  transition: transform .34s var(--ease);
}
.side-panel.is-open { transform: translateX(0); }
.side-panel__head { display: flex; align-items: center; justify-content: space-between; }
.side-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; text-decoration: none; letter-spacing: -.02em; }
.side-brand__mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: #061b14; background: var(--accent); font-family: Georgia, serif; font-weight: 700; }
.side-panel .icon-button { width: 38px; height: 38px; border-radius: 12px; color: var(--muted); }
.side-panel .icon-button:hover { color: var(--ink); background: var(--surface-muted); }
.new-design {
  display: flex;
  min-height: 48px;
  margin: 26px 0 18px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  color: var(--action-ink);
  background: var(--action);
  cursor: pointer;
  font-weight: 620;
}
.new-design svg { width: 19px; height: 19px; }
.new-design kbd { margin-left: auto; padding: 2px 7px; border: 1px solid color-mix(in srgb, var(--action-ink) 24%, transparent); border-radius: 6px; color: color-mix(in srgb, var(--action-ink) 70%, transparent); background: transparent; font-size: 11px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; min-height: 44px; padding: 0 13px; align-items: center; gap: 11px; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 540; }
.side-nav a svg { width: 19px; height: 19px; }
.side-nav a:hover, .side-nav a.is-active { color: var(--ink); background: var(--surface-muted); }
.side-nav a.is-active svg { color: var(--accent); }
.side-panel__bottom { display: grid; gap: 13px; margin-top: auto; }
.theme-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-muted); }
.theme-switch button { display: grid; height: 36px; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; }
.theme-switch button.is-active { color: var(--ink); background: var(--surface-solid); box-shadow: 0 2px 7px rgba(0,0,0,.06); }
.theme-switch svg { width: 18px; height: 18px; }
.account { display: flex; padding: 10px 8px; align-items: center; gap: 10px; border: 0; border-radius: 14px; text-align: left; background: transparent; cursor: pointer; }
.account:hover { background: var(--surface-muted); }
.account__avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #09251c; background: linear-gradient(135deg, #9bffdf, var(--accent)); font-size: 12px; font-weight: 750; }
.account span:nth-child(2) { display: grid; gap: 2px; }
.account strong { font-size: 13px; font-weight: 650; }
.account small { color: var(--muted); font-size: 11px; }
.account svg { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }

.page { width: min(714px, calc(100% - 44px)); margin: 0 auto; padding: 0 0 110px; }
.studio { position: relative; padding-top: 0; }
.brand-stage {
  position: relative;
  height: 194px;
  overflow: visible;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 31px 31px;
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  box-shadow: 0 2px 2px rgba(0, 0, 0, .015);
}
.brand-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,.4), transparent 70%); pointer-events: none; }
.brand-rule { position: absolute; bottom: 0; width: 1px; height: 100%; background: linear-gradient(transparent 22%, var(--line)); opacity: .4; }
.brand-rule--left { left: 0; }
.brand-rule--right { right: 0; }
.brand-line { position: absolute; left: 28px; bottom: 26px; display: flex; align-items: baseline; gap: 9px; color: var(--soft); white-space: nowrap; }
.brand-line span { font-size: clamp(25px, 4vw, 31px); font-style: italic; font-weight: 330; letter-spacing: -.025em; }
.brand-line strong { color: color-mix(in srgb, var(--ink) 52%, transparent); font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 4vw, 31px); font-weight: 400; letter-spacing: .015em; }
.mascot { position: absolute; z-index: 3; right: 35px; bottom: -43px; width: 181px; height: auto; overflow: visible; }
.mascot__float { transform-origin: 112px 130px; animation: mascot-float 4.8s ease-in-out infinite; }
.mascot__eyes { transform-origin: center; animation: mascot-blink 5.2s ease-in-out infinite; }

.composer {
  position: relative;
  z-index: 2;
  min-height: 159px;
  margin-top: 14px;
  padding: 24px 16px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.composer:focus-within { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 19px 48px rgba(26, 55, 45, .07), 0 0 0 4px var(--accent-soft); }
.prompt-wrap { position: relative; }
.prompt-wrap textarea { display: block; width: 100%; min-height: 65px; max-height: 180px; padding: 0 6px 10px; resize: none; overflow-y: auto; border: 0; outline: 0; color: var(--ink); background: transparent; line-height: 1.55; }
.prompt-wrap textarea::placeholder { color: var(--muted); opacity: .88; }
.prompt-caret { position: absolute; top: 3px; left: 5px; width: 1.5px; height: 20px; background: var(--accent); animation: caret-blink 1.1s steps(2) infinite; pointer-events: none; }
.prompt-wrap:focus-within .prompt-caret, .prompt-wrap.has-content .prompt-caret { display: none; }
.composer__toolbar { display: flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.round-button { width: 43px; height: 43px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); transition: transform .2s var(--ease), background .2s ease; }
.round-button:hover { transform: translateY(-2px); background: var(--surface-muted); }
.round-button svg { width: 21px; height: 21px; }
.parameter-wrap { position: relative; }
.parameter-button { display: flex; height: 43px; padding: 0 15px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--surface); cursor: pointer; transition: transform .2s var(--ease), background .2s ease; }
.parameter-button:hover { transform: translateY(-1px); background: var(--surface-muted); }
.parameter-button svg { width: 17px; height: 17px; }
.parameter-button .chevron { width: 14px; transition: transform .2s ease; }
.parameter-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.parameter-summary { color: var(--muted); font-size: 12px; }
.parameter-panel { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 12px); display: grid; width: min(326px, calc(100vw - 60px)); padding: 17px; gap: 14px; border: 1px solid var(--line); border-radius: 19px; background: color-mix(in srgb, var(--surface-solid) 97%, transparent); box-shadow: var(--shadow-pop); backdrop-filter: blur(20px); transform-origin: left bottom; animation: pop-in .2s var(--ease); }
.parameter-panel[hidden] { display: none; }
.parameter-panel__head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 650; }
.parameter-panel__head button { border: 0; color: var(--accent); background: transparent; cursor: pointer; font-size: 12px; }
.parameter-panel label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.parameter-panel select { min-width: 126px; padding: 8px 30px 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface-muted); }
.parameter-panel output { color: var(--accent); font-weight: 650; }
.parameter-panel input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.toggle-row span { display: grid; gap: 3px; }
.toggle-row strong { color: var(--ink); font-size: 12px; }
.toggle-row small { color: var(--muted); font-size: 10px; }
.toggle-row input { appearance: none; position: relative; width: 42px; height: 24px; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: background .2s ease; }
.toggle-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: transform .2s var(--ease); }
.toggle-row input:checked { background: var(--accent); }
.toggle-row input:checked::after { transform: translateX(18px); }
.submit-button { position: relative; display: flex; height: 47px; min-width: 47px; padding: 0 15px; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--action) 80%, #fff); border-radius: 50px; color: var(--action-ink); background: var(--action); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action-ink) 12%, transparent), 0 5px 12px rgba(0,0,0,.14); cursor: pointer; transition: transform .2s var(--ease), min-width .25s var(--ease), opacity .2s ease; }
.submit-button:hover { transform: translateY(-2px); }
.submit-button:active { transform: scale(.97); }
.submit-button__label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .25s var(--ease), opacity .2s ease; }
.submit-button:hover .submit-button__label, .submit-button:focus-visible .submit-button__label { max-width: 78px; opacity: 1; }
.submit-button svg { width: 22px; height: 22px; }
.submit-button.is-loading { min-width: 47px; pointer-events: none; }
.submit-button.is-loading .submit-button__arrow, .submit-button.is-loading .submit-button__label { display: none; }
.submit-button__loader { display: none; width: 18px; height: 18px; border: 2px solid color-mix(in srgb, var(--action-ink) 35%, transparent); border-top-color: var(--action-ink); border-radius: 50%; animation: spin .75s linear infinite; }
.submit-button.is-loading .submit-button__loader { display: block; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 7px; }
.attachment-chip { display: flex; max-width: 210px; padding: 7px 9px; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface-muted); font-size: 11px; }
.attachment-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-chip button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; }

.quick-start { margin-top: 38px; }
.section-head { display: flex; margin-bottom: 13px; align-items: end; justify-content: space-between; }
.section-head p { margin: 0 0 5px; color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.section-head h1 { margin: 0; font-size: 17px; font-weight: 640; letter-spacing: -.02em; }
.section-head > span { color: var(--soft); font-size: 11px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { position: relative; min-width: 0; height: 184px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--surface); box-shadow: 0 8px 25px rgba(40, 45, 41, .025); text-align: left; cursor: pointer; isolation: isolate; transition: transform .28s var(--ease), box-shadow .28s ease, border-color .2s ease; }
.feature-card:hover { z-index: 2; transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); box-shadow: 0 22px 42px rgba(33, 43, 38, .12); }
.feature-card:active { transform: translateY(-2px) scale(.99); }
.feature-card__copy { position: relative; z-index: 2; display: grid; height: 92px; padding: 17px 13px 10px; gap: 5px; background: linear-gradient(var(--surface) 73%, transparent); }
.feature-card__copy strong { align-self: end; font-size: 16px; font-weight: 610; letter-spacing: -.02em; }
.feature-card__copy small { align-self: start; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.feature-card__copy::after { content: "Nice day\A Creative starts here"; white-space: pre; color: var(--soft); font-family: Georgia, serif; font-size: 8px; line-height: 1.25; opacity: .62; }
.feature-card__art { position: absolute; inset: auto 0 0; display: block; width: 100%; height: 93px; transition: transform .5s var(--ease), filter .3s ease; }
.feature-card:hover .feature-card__art { transform: scale(1.06); filter: saturate(1.08); }
.feature-card__open { position: absolute; z-index: 4; top: 12px; right: 11px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: color-mix(in srgb, var(--surface-solid) 85%, transparent); opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s ease, transform .25s var(--ease), color .2s ease; }
.feature-card__open svg { width: 14px; height: 14px; }
.feature-card:hover .feature-card__open, .feature-card:focus-visible .feature-card__open { color: var(--ink); opacity: 1; transform: translate(0); }

.result-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; margin-top: 20px; padding: 18px; align-items: start; gap: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); box-shadow: var(--shadow-soft); animation: reveal-up .35s var(--ease); }
.result-card[hidden] { display: none; }
.result-card__icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px; color: #071d16; background: var(--accent); }
.result-card__icon svg { width: 21px; height: 21px; }
.result-card__eyebrow { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.result-card h2 { margin: 5px 0 4px; font-size: 15px; font-weight: 650; }
.result-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.progress-track { height: 4px; margin: 13px 0 7px; overflow: hidden; border-radius: 99px; background: var(--surface-muted); }
.progress-track span { display: block; width: 8%; height: 100%; border-radius: inherit; background: var(--accent); transition: width .6s var(--ease); }
.result-card small { color: var(--soft); font-size: 10px; }
.result-close { width: 32px; height: 32px; border-radius: 10px; color: var(--muted); }
.result-close:hover { color: var(--ink); background: var(--surface-muted); }

.back-button { position: fixed; bottom: 15px; left: 15px; width: 40px; height: 40px; border-radius: 13px; color: var(--soft); transition: color .2s ease, background .2s ease, transform .2s var(--ease); }
.back-button:hover { color: var(--ink); background: var(--surface-solid); transform: translateX(-2px); }

.feature-dialog { width: min(480px, calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 26px; color: var(--ink); background: color-mix(in srgb, var(--surface-solid) 96%, transparent); box-shadow: var(--shadow-pop); backdrop-filter: blur(24px); }
.feature-dialog::backdrop { background: rgba(10, 14, 12, .34); backdrop-filter: blur(5px); }
.feature-dialog[open] { animation: dialog-in .28s var(--ease); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px; color: var(--muted); }
.dialog-close:hover { color: var(--ink); background: var(--surface-muted); }
.dialog-kicker { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.feature-dialog h2 { margin: 10px 0 8px; font-size: 28px; letter-spacing: -.04em; }
.feature-dialog > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.suggestion-list { display: flex; margin: 22px 0; flex-wrap: wrap; gap: 8px; }
.suggestion-list button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--surface-muted); cursor: pointer; font-size: 12px; transition: color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.suggestion-list button:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-1px); }
.dialog-primary { display: flex; width: 100%; min-height: 48px; padding: 0 16px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; color: var(--action-ink); background: var(--action); cursor: pointer; font-weight: 620; }
.dialog-primary svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.dialog-primary:hover svg { transform: translateX(3px); }

.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; max-width: 350px; padding: 12px 14px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: color-mix(in srgb, var(--surface-solid) 96%, transparent); box-shadow: var(--shadow-pop); backdrop-filter: blur(18px); font-size: 12px; animation: toast-in .28s var(--ease); }
.toast::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.toast.is-error::before { background: #f06b61; box-shadow: 0 0 0 5px rgba(240,107,97,.12); }

@keyframes mascot-float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-5px) rotate(.7deg); } }
@keyframes mascot-blink { 0%, 45%, 49%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes caret-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: .1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(7px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .page { width: min(600px, calc(100% - 30px)); }
  .brand-stage { height: 174px; }
  .brand-line { left: 20px; bottom: 24px; }
  .mascot { right: 14px; width: 152px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { height: 197px; }
  .feature-card__art { height: 108px; }
  .quick-start { margin-top: 30px; }
}

@media (max-width: 520px) {
  body { background: var(--canvas); }
  .page { width: calc(100% - 22px); padding-bottom: 84px; }
  .menu-button { top: 10px; left: 10px; }
  .brand-stage { height: 150px; border-radius: 0 0 25px 25px; }
  .brand-line { left: 15px; bottom: 21px; display: grid; gap: 0; }
  .brand-line span, .brand-line strong { font-size: 23px; line-height: 1.05; }
  .mascot { right: 5px; bottom: -34px; width: 132px; }
  .composer { min-height: 174px; margin-top: 10px; padding: 20px 12px 11px; border-radius: 24px; }
  .prompt-wrap textarea { min-height: 80px; padding-left: 3px; font-size: 15px; }
  .prompt-caret { left: 2px; }
  .parameter-button { padding: 0 12px; }
  .parameter-button > svg:first-child, .parameter-summary { display: none; }
  .submit-button__label { display: none; }
  .section-head > span { display: none; }
  .feature-grid { gap: 10px; }
  .feature-card { height: 177px; border-radius: 15px; }
  .feature-card__copy { height: 85px; padding: 14px 11px 8px; }
  .feature-card__copy strong { font-size: 14px; }
  .feature-card__copy small { display: none; }
  .feature-card__art { height: 92px; }
  .feature-card__open { opacity: .82; transform: none; }
  .result-card { grid-template-columns: auto 1fr; padding: 15px; }
  .result-close { position: absolute; top: 10px; right: 10px; }
  .result-card > div:nth-child(2) { padding-right: 21px; }
  .back-button { display: none; }
  .toast-region { right: 11px; bottom: 11px; left: 11px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
