:root {
  color-scheme: light;
  --bg: #fff6ee;
  --panel: #fffdfa;
  --ink: #050505;
  --muted: #776b63;
  --line: #eaded2;
  --red: #ff2450;
  --red-dark: #b7253a;
  --yellow: #ffd949;
  --soft: #f1e8df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  padding-bottom: 88px;
}

#app {
  width: min(100%, 1660px);
  margin: 0 auto;
  padding: 58px 64px 70px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(255, 36, 80, 0.14);
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.step-count {
  margin-top: 8px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin: 24px 0 64px;
}

.step-pill {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}

.step-pill span {
  display: block;
  height: 9px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--soft);
}

.step-pill.done span {
  background: var(--red);
}

.step-pill.current {
  color: var(--red);
}

.hero-create {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 220px;
  margin-bottom: 20px;
}

.hero-create h2 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-create h2 span {
  padding: 0 4px;
  background: var(--yellow);
}

.hero-create p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.tilt-badge {
  margin: 34px 50px 0 0;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  transform: rotate(7deg);
  box-shadow: 0 12px 0 var(--red-dark);
  font-size: 20px;
  font-weight: 950;
}

.create-card {
  padding: 22px 20px 14px;
  border: 1.5px solid var(--red);
  border-radius: 38px;
  background: rgba(255, 253, 250, 0.42);
  box-shadow: 0 26px 50px rgba(255, 36, 80, 0.04);
}

.script-card label {
  display: block;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 950;
}

.platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}

.platform-row button {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff8f1;
  color: var(--muted);
  font-size: 19px;
  font-weight: 950;
}

.platform-row button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 7px 0 var(--red-dark);
}

.script-card textarea {
  width: 100%;
  min-height: 196px;
  padding: 28px;
  border: 4px double var(--red);
  border-radius: 34px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.55;
  outline: 0;
  resize: vertical;
}

.script-card textarea::placeholder {
  color: #7e766f;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px 24px;
}

.card-foot span {
  color: var(--muted);
  font-weight: 900;
}

.insight-card {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(255, 36, 80, 0.22);
  border-radius: 24px;
  background: #fff8f1;
}

.insight-card b {
  font-size: 19px;
  font-weight: 950;
}

.insight-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.insight-card span {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 15px;
  font-weight: 950;
}

.insight-card p {
  margin: 0;
  color: var(--red);
  font-size: 17px;
  font-weight: 950;
}

.paste-btn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 17px;
  font-weight: 950;
}

.field-title {
  display: block;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 950;
}

.big-textarea,
.big-input {
  width: 100%;
  border: 4px double var(--red);
  border-radius: 34px;
  background: transparent;
  outline: 0;
  color: var(--ink);
  font-weight: 800;
}

.big-textarea {
  min-height: 196px;
  padding: 28px;
  resize: vertical;
  font-size: 22px;
  line-height: 1.55;
}

.big-textarea.small {
  min-height: 132px;
}

.big-input {
  height: 88px;
  padding: 0 28px;
  font-size: 28px;
}

.big-textarea::placeholder,
.big-input::placeholder {
  color: #7e766f;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px 24px;
}

.paste-button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 900;
}

.counter {
  color: var(--muted);
  font-weight: 900;
}

.primary-action,
.secondary-action,
.primary-small {
  width: 100%;
  border: 0;
  border-radius: 28px;
  font-size: 24px;
  font-weight: 950;
}

.primary-action {
  min-height: 74px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 11px 0 #8f1f2d;
}

.primary-action.disabled,
.primary-action:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.secondary-action {
  min-height: 54px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff8f1;
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.option-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaf5;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.choice.selected,
.choice:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.summary-box {
  display: grid;
  gap: 8px;
  margin: 18px 0 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaf5;
}

.summary-box b {
  font-size: 24px;
}

.summary-box span {
  color: var(--muted);
  font-weight: 800;
}

.refresh-pill {
  min-width: 145px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf5;
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.search-card {
  margin: 56px 0 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 18px 44px rgba(80, 50, 20, 0.06);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  gap: 16px;
}

.search-row input {
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0 22px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  outline: 0;
}

.search-row button {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 26px;
  background: var(--red);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 8px 0 var(--red-dark);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.filter-row button {
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf5;
  color: var(--muted);
  font-size: 18px;
  font-weight: 950;
}

.filter-row button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.task-list {
  display: grid;
  gap: 16px;
}

.empty-card {
  display: grid;
  place-items: center;
  min-height: 368px;
  border: 1px dashed #cbd6e2;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f4f8;
  color: #65758b;
  font-size: 34px;
  font-weight: 900;
}

.empty-card h2 {
  margin: 18px 0 0;
  font-size: 24px;
}

.empty-card p {
  margin: 14px 0 24px;
  color: #60708a;
  font-size: 20px;
  font-weight: 700;
}

.primary-small {
  width: auto;
  min-width: 150px;
  min-height: 62px;
  padding: 0 30px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 9px 0 var(--red-dark);
}

.task-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdfa;
}

.task-card h3 {
  margin: 8px 0;
  font-size: 22px;
}

.task-card p,
.task-id {
  color: var(--muted);
  font-weight: 800;
}

.task-side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.status {
  color: var(--red);
  font-weight: 950;
}

.copy-task {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8f1;
  color: var(--muted);
  font-weight: 900;
}

.profile-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 80px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fffdfa;
  text-align: center;
}

.yellow-hero {
  margin: 0 auto 30px;
  padding: 24px 26px 28px;
  border-radius: 34px;
  background: #ffd33d;
  box-shadow: 0 10px 0 rgba(70, 50, 25, 0.16);
}

.yellow-hero b {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 950;
}

.yellow-hero h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: 0;
}

.yellow-hero p,
.yellow-hero h4 {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
}

.mini-persona {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.88);
}

.mini-persona img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
}

.mini-persona span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 900;
}

.text-link {
  margin-top: 22px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid var(--red);
  background: transparent;
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.title-list {
  display: grid;
  gap: 18px;
  padding-bottom: 128px;
}

.title-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 18px;
}

.title-tabs button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff8f1;
  color: var(--muted);
  font-size: 19px;
  font-weight: 950;
}

.title-tabs button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.title-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 214px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 250, 0.72);
  color: var(--ink);
  text-align: left;
}

.title-card.selected {
  border: 3px solid var(--red);
  box-shadow: 0 10px 0 #b6122d;
}

.pill,
.title-pill,
.small-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f0e7dc;
  color: var(--muted);
  font-size: 16px;
  font-weight: 950;
}

.selected-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.title-card h3 {
  margin: 24px 0 14px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 950;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span,
.mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 14px;
  font-weight: 950;
}

.title-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 850;
}

.sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 102px;
  z-index: 8;
  display: grid;
  grid-template-columns: 320px minmax(480px, 740px);
  gap: 14px;
  width: min(1080px, calc(100% - 48px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 253, 250, 0.8);
  box-shadow: 0 10px 36px rgba(40, 25, 20, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.sticky-actions.single {
  grid-template-columns: minmax(480px, 740px);
  justify-content: center;
}

.secondary-chip {
  min-height: 74px;
  border: 0;
  border-radius: 24px;
  background: #f1e7dc;
  color: var(--red);
  font-size: 19px;
  font-weight: 950;
}

.primary-action.compact {
  min-height: 74px;
}

.upload-card,
.action-card,
.generate-card,
.result-card {
  margin-bottom: 130px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 20px 48px rgba(80, 50, 20, 0.06);
}

.section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-row h3,
.history-block h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 950;
}

.section-row p,
.history-block p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  overflow: hidden;
  border: 1.5px dashed var(--red);
  border-radius: 28px;
  background: #f3e9df;
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.upload-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 46px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 6px 0 var(--red-dark);
}

.round-icon,
.magic-circle {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdfa;
  color: var(--red);
  font-size: 36px;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(80, 50, 20, 0.08);
}

.upload-empty strong {
  font-size: 22px;
  font-weight: 950;
}

.upload-empty em {
  color: var(--muted);
  font-style: normal;
  font-size: 18px;
  font-weight: 850;
}

.upload-zone.has-image {
  display: block;
  min-height: 590px;
  border-style: solid;
}

.portrait-preview {
  display: grid;
  gap: 14px;
  width: min(100%, 360px);
  margin: 0 auto;
  cursor: pointer;
}

.portrait-preview img {
  display: block;
  width: 100%;
  height: 540px;
  border-radius: 28px;
  object-fit: cover;
}

.portrait-preview div {
  display: grid;
  gap: 6px;
  text-align: center;
}

.portrait-preview b {
  font-size: 20px;
  font-weight: 950;
}

.portrait-preview span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fffdfa;
  color: var(--red);
  font-size: 36px;
  font-weight: 950;
}

.upload-zone b {
  font-size: 22px;
  font-weight: 950;
}

.upload-zone em {
  color: var(--muted);
  font-style: normal;
  font-size: 18px;
  font-weight: 850;
}

.upload-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  background: #fffdfa;
}

.upload-foot strong {
  font-size: 22px;
  font-weight: 950;
}

.upload-foot span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 850;
}

.upload-foot b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--red);
  font-size: 28px;
}

.history-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.history-grid button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.history-grid button img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.history-img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.history-img img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.person-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 20px;
  background: #fffdfa;
}

.person-strip img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.person-strip span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding-bottom: 150px;
}

.style-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.9);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.style-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 36, 80, 0.45);
  box-shadow: 0 12px 26px rgba(80, 50, 20, 0.08);
}

.style-card.selected {
  border: 3px solid var(--red);
  box-shadow: 0 8px 0 #b6122d;
}

.recommend-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
}

.style-card.selected::after {
  content: "已选";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.style-card img {
  display: block;
  width: 100%;
  height: clamp(140px, 12vw, 184px);
  object-fit: cover;
}

.style-card div {
  padding: 14px 14px 16px;
}

.style-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 950;
}

.style-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.38;
}

.action-card {
  padding: 30px;
}

.action-feature {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  background: #fff8f1;
}

.mini-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.mini-tags span:last-child {
  background: var(--red);
  color: #fff;
}

.action-feature h3 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 950;
}

.action-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 850;
}

.action-figure {
  display: grid;
  justify-items: center;
}

.action-figure img {
  width: 190px;
  height: 190px;
  border-radius: 28px;
  object-fit: cover;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.action-choice {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff8f1;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.action-choice.selected {
  border: 3px solid var(--red);
  background: #fffdfa;
}

.generate-card,
.result-card {
  width: min(100%, 1150px);
  margin: 0 auto 120px;
}

.generate-preview {
  display: grid;
  place-items: center;
  width: min(100%, 570px);
  min-height: 760px;
  margin: 0 auto 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffe5e2, #fffaf5);
  text-align: center;
}

.generate-preview h3 {
  margin: 18px 0 8px;
  font-size: 23px;
  font-weight: 950;
}

.generate-preview p,
.generate-note {
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
}

.mini-progress {
  width: 150px;
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdfa;
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.generate-note {
  padding: 22px;
  border-radius: 18px;
  background: #fff8f1;
  text-align: center;
}

.result-action {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff7eb;
}

.result-action b {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.result-action span {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.6;
}

.prompt-preview {
  width: min(100%, 570px);
  min-height: 132px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdfa;
  color: var(--muted);
  font: 800 14px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  outline: none;
  padding: 14px 16px;
  resize: vertical;
}

.result-cover {
  display: block;
  width: min(100%, 570px);
  margin: 0 auto 22px;
  border-radius: 28px;
  object-fit: cover;
}

.task-thumb {
  width: 86px;
  height: 112px;
  border-radius: 12px;
  object-fit: cover;
}

.large-logo {
  width: 86px;
  height: 86px;
}

.bottom-nav {
  position: fixed;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 86px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.96);
  backdrop-filter: blur(12px);
}

.nav-item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #7b6d63;
  font-size: 17px;
  font-weight: 900;
}

.nav-icon {
  font-size: 28px;
  line-height: 1;
}

.nav-item.active {
  color: var(--red);
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg);
}

.login-shell {
  width: min(100%, 440px);
}

.login-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffdfa;
  box-shadow: 0 22px 50px rgba(80, 50, 20, 0.08);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.login-panel h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 950;
}

.login-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.login-form input {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  outline: 0;
}

.login-form button {
  height: 56px;
  border: 0;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.form-error {
  min-height: 20px;
  color: var(--red);
  font-weight: 800;
}

@media (max-width: 760px) {
  #app {
    padding: 36px 18px 44px;
  }

  .page-head {
    margin-bottom: 22px;
  }

  .page-head p {
    font-size: 16px;
  }

  .stepper {
    gap: 6px;
    margin-bottom: 44px;
  }

  .step-pill {
    font-size: 13px;
  }

  .hero-create {
    min-height: 190px;
  }

  .tilt-badge {
    display: none;
  }

  .create-card {
    border-radius: 28px;
  }

  .option-grid,
  .option-grid.large {
    grid-template-columns: 1fr;
  }

  .search-card {
    margin-top: 28px;
  }

  .search-row {
    grid-template-columns: 1fr 64px;
  }

  .search-row button {
    width: 62px;
    height: 62px;
  }

  .yellow-hero h2 {
    font-size: 38px;
  }

  .sticky-actions,
  .sticky-actions.single {
    grid-template-columns: 1fr;
    bottom: 92px;
  }

  .style-grid,
  .action-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .action-feature {
    grid-template-columns: 1fr;
  }

  .portrait-preview {
    height: 420px;
  }
}
