:root {
  --forest: #0d5c45;
  --forest-dark: #073b2f;
  --ink: #18372d;
  --muted: #65766d;
  --paper: #f7f8f1;
  --card: #ffffff;
  --line: #dce5da;
  --lime: #ddf574;
  --orange: #ff9e64;
  --shadow: 0 22px 60px rgba(17, 65, 44, .09);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 85% 13%, #e7efdb 0, transparent 30%), var(--paper); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.page-shell { max-width: 1220px; margin: 0 auto; padding: 0 36px; }
.topbar { height: 84px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(13, 92, 69, .14); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--forest-dark); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--forest); color: var(--lime); font-family: Georgia, serif; font-style: italic; font-size: 28px; }
.topbar-note { display: flex; align-items: center; gap: 10px; color: #60766a; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #21ae76; box-shadow: 0 0 0 4px rgba(33, 174, 118, .13); }
.hero { min-height: 420px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; position: relative; overflow: hidden; }
.hero-copy { padding: 50px 0 60px; position: relative; z-index: 1; animation: rise .6s both; }
.eyebrow, .section-index { color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.eyebrow-line { width: 25px; height: 2px; background: var(--forest); }
h1 { margin: 0; font-family: var(--font-sans); font-size: clamp(54px, 6vw, 84px); line-height: 1.08; font-weight: 700; letter-spacing: -.05em; }
h1 em { font-style: normal; color: var(--forest); }
.hero-description { max-width: 490px; margin: 24px 0 28px; color: #587065; line-height: 1.8; font-size: 16px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-tags span { border: 1px solid #cbdccb; padding: 8px 13px; border-radius: 100px; background: rgba(255,255,255,.55); color: #3d6a52; font-size: 12px; font-weight: 700; }
.hero-art { position: relative; height: 360px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(13, 92, 69, .16); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 380px; height: 255px; }
.orbit-two { width: 480px; height: 320px; }
.hero-art::before { content: ""; width: 260px; height: 260px; position: absolute; border-radius: 50%; background: var(--lime); filter: blur(12px); opacity: .65; }
.art-card { position: relative; z-index: 1; width: 205px; height: 285px; border: 8px solid #f8fff2; border-radius: 28px; transform: rotate(10deg); background: linear-gradient(145deg, #13775b, #0b493d 60%, #0e6c50); box-shadow: 0 28px 60px rgba(13, 68, 51, .25); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; animation: float 5s ease-in-out infinite; }
.art-card-top { display: flex; gap: 5px; }.art-dot { width: 5px; height: 5px; background: #b1dfbb; border-radius: 50%; }
.art-play { align-self: center; color: var(--lime); font-size: 60px; line-height: 1; text-shadow: 0 0 30px rgba(221,245,116,.35); }
.art-card-bottom { display: grid; gap: 7px; }.art-card-bottom span { display: block; height: 7px; border-radius: 4px; background: rgba(225, 249, 188, .56); }.art-card-bottom span:last-child { width: 65%; opacity: .6; }
.art-caption { position: absolute; right: 8px; bottom: 22px; color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl; }
.workspace, .result { padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.workspace { margin-bottom: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-index { margin: 0 0 8px; }
h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 12px; }
.parse-form label { display: block; margin-bottom: 11px; font-size: 13px; font-weight: 800; color: #365847; }
textarea { display: block; width: 100%; min-height: 112px; resize: vertical; padding: 17px 19px; background: #f9fbf6; border: 1px solid #ceddce; border-radius: 14px; outline: none; color: var(--ink); line-height: 1.6; transition: border-color .2s, box-shadow .2s; }
textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(13,92,69,.1); }
textarea::placeholder { color: #96a79c; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.form-footer > span { color: #84948a; font-size: 12px; }
.form-actions { display: flex; gap: 9px; }
.primary-button, .ghost-button, .small-button { min-height: 44px; border-radius: 10px; border: 1px solid transparent; font-weight: 800; }
.primary-button { padding: 0 20px; background: var(--forest); color: white; display: inline-flex; align-items: center; gap: 24px; transition: transform .2s, background .2s; }
.primary-button:hover { background: var(--forest-dark); transform: translateY(-2px); }.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.button-arrow { font-size: 22px; line-height: 1; font-weight: 400; }
.ghost-button { padding: 0 17px; background: #f3f7f0; color: var(--forest); border-color: #dce9d9; }
.message { margin: 18px 0 0; padding: 13px 16px; border-radius: 10px; font-size: 13px; line-height: 1.6; }.message.error { color: #9e3a28; background: #fff0e9; }.message.info { color: #315c46; background: #eff7e7; }
.result { margin-bottom: 44px; animation: rise .5s both; }.result-pill { display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 100px; background: #e9f6dc; color: var(--forest); font-size: 12px; font-weight: 800; }
.result-meta { padding-bottom: 23px; border-bottom: 1px solid var(--line); }.result-meta p { margin: 0 0 5px; color: var(--forest); font-size: 13px; font-weight: 800; }.result-meta h3 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 30px); line-height: 1.45; }.result-meta a { color: #6a7d70; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.album-area { margin-top: 24px; }.album-download { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px; border-radius: 12px; background: #dcebe1; color: var(--forest-dark); font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }.album-download:hover { filter: brightness(.96); }.media-list { display: grid; gap: 18px; margin-top: 25px; }.media-list.album { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fcfdf9; }.media-preview { background: #e9eee6; display: grid; place-items: center; min-height: 140px; }.media-card.video .media-preview { background: #102d24; min-height: 440px; }.media-preview video { display: block; width: 100%; max-height: 520px; background: #102d24; }.media-preview img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.media-details { padding: 17px; }.media-title { margin: 0 0 8px; font-size: 14px; font-weight: 800; }.quality-note { margin: 0 0 13px; color: #738478; font-size: 12px; line-height: 1.6; }.media-url { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 10px 12px; border: 1px solid #e0e8de; border-radius: 8px; background: white; color: #627a6d; font-size: 11px; text-decoration: none; }.media-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.small-button { display: grid; place-items: center; padding: 0 13px; background: #eff5e9; color: var(--forest); font-size: 12px; text-decoration: none; }.small-button.download { flex: 1 1 170px; min-width: 140px; }.small-button.download.direct { background: var(--forest); color: white; }.small-button.download.server-fallback { background: #eff5e9; color: var(--forest-dark); border-color: #d5e2d8; }.small-button.download.watermarked.server-fallback { background: #f5f7f1; }.small-button:hover, .ghost-button:hover { filter: brightness(.96); }
.cover-area { margin-top: 26px; padding-top: 21px; border-top: 1px solid var(--line); }.cover-area h4 { margin: 0 0 12px; font-size: 14px; }.cover-actions { display: flex; flex-wrap: wrap; gap: 8px; }.cover-actions .small-button.download { flex: 0 1 auto; }
.result-hint { color: #8d9b90; font-size: 12px; line-height: 1.7; margin: 20px 0 0; }
footer { display: flex; justify-content: space-between; padding: 26px 0 36px; color: #829287; border-top: 1px solid #dde7da; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
[hidden] { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: translateY(-9px) rotate(8deg); } }
@media (min-width: 831px) and (max-height: 900px) {
  .topbar { height: 62px; }
  .hero { min-height: 252px; }
  .hero-copy { padding: 16px 0 18px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: clamp(44px, 4.8vw, 60px); line-height: 1; }
  .hero-description { margin: 12px 0 14px; line-height: 1.55; }
  .hero-tags span { padding: 5px 10px; }
  .hero-art { height: 244px; }
  .hero-art::before { width: 190px; height: 190px; }
  .art-card { transform: scale(.78) rotate(10deg); }
  .orbit-one { width: 300px; height: 195px; }
  .orbit-two { width: 380px; height: 245px; }
  .art-caption { bottom: 10px; }
  .workspace { padding: 22px 28px; }
  .section-heading { margin-bottom: 14px; }
  textarea { min-height: 80px; }
  .form-footer { margin-top: 10px; }
}
@media (max-width: 830px) { .hero { grid-template-columns: 1fr; min-height: 0; }.hero-copy { padding: 60px 0 10px; }.hero-art { height: 230px; }.orbit-one { width: 285px; height: 180px; }.orbit-two { width: 360px; height: 220px; }.art-card { transform: scale(.7) rotate(10deg); }.art-caption { right: 20%; bottom: 10px; }.media-list.album { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .page-shell { padding: 0 16px; }.topbar { height: 68px; }.topbar-note { font-size: 9px; letter-spacing: .03em; }.hero-copy { padding: 44px 0 0; }.hero-art { height: 185px; }.hero-art::before { width: 170px; height: 170px; }.art-card { transform: scale(.58) rotate(10deg); }.orbit-one { width: 250px; height: 160px; }.orbit-two { width: 320px; height: 205px; }.art-caption { right: 8%; }.hero-description { font-size: 14px; }.workspace, .result { padding: 20px; border-radius: 18px; }.section-heading { align-items: start; }.section-heading > p { display: none; }.form-footer { align-items: stretch; flex-direction: column; }.form-actions { justify-content: flex-end; }.form-footer > span { order: 2; }.media-list.album { grid-template-columns: 1fr; }.media-card.video .media-preview { min-height: 250px; }.media-preview video { max-height: 430px; } footer { display: grid; gap: 5px; } }
