:root {
  --ink: #172c29;
  --green: #164d49;
  --green2: #306c63;
  --paper: #f6f7f3;
  --white: #fff;
  --muted: #546760;
  --line: #d6dfd7;
  --serif: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif CJK SC', serif;
  font-family: 'DM Sans', 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
summary,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.65;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #c27637;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}
b,
strong {
  font-weight: 700;
}
main {
  min-height: calc(100vh - 160px);
}
.wrap,
.navwrap,
.footwrap {
  width: min(1170px, calc(100% - 88px));
  margin-inline: auto;
}
.topbar {
  border-bottom: 1px solid #dbe2db;
  background: var(--paper);
}
.navwrap,
.footwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navwrap {
  min-height: 80px;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover,
.navcta:hover,
.btn:hover {
  text-decoration: none;
}
.brand b {
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: 0.08em;
}
.soundmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  background: var(--green);
  height: 39px;
  width: 39px;
  transform: rotate(-3deg);
}
.soundmark i {
  width: 3px;
  height: 9px;
  border-radius: 3px;
  background: #f1f7d5;
}
.soundmark i:nth-child(2) {
  height: 17px;
}
.soundmark i:nth-child(3) {
  height: 24px;
}
.soundmark i:nth-child(4) {
  height: 15px;
}
.soundmark i:last-child {
  height: 7px;
}
.navwrap nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navwrap nav a,
.navcta,
.gift-nav {
  font-size: 0.9rem;
}
.navwrap nav a {
  color: #3a504a;
}
.navcta {
  font-weight: 650;
  color: var(--green);
  border: 1px solid #9ab2a5;
  border-radius: 99px;
  padding: 7px 19px;
}
.navcta:hover {
  background: #e5eee1;
}
.gift-nav {
  color: var(--muted);
}
.hero-band {
  background:
    radial-gradient(ellipse at 75% 62%, #e2e9df 0, transparent 43%),
    linear-gradient(115deg, #f5f7f0, #eef2eb);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  gap: 6%;
  padding: 66px 0 58px;
}
.hero-copy {
  padding: 4px 0 24px;
}
.eyeline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green2);
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: 0.08em;
}
.tiny-wave {
  font: 700 1.55rem/1 var(--serif);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(45px, 5vw, 73px);
  line-height: 1.24;
  letter-spacing: -0.075em;
  margin: 21px 0 19px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.lead {
  color: #4e625a;
  line-height: 1.93;
  max-width: 29em;
  font-size: 1.05rem;
}
.hero-actions,
.btnrow,
.price-line,
.between,
.search,
.tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions {
  gap: 25px;
  margin: 30px 0 15px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 43px;
  padding: 8px 19px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.16s;
}
.btn.primary {
  background: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: #20615a;
}
.btn.large {
  min-height: 50px;
  padding: 12px 26px;
}
.btn.light {
  color: var(--green);
  border-color: #bfcfc4;
  background: #fbfcf9;
}
.btn.light:hover {
  background: #edf3eb;
}
.btn.quiet {
  border: 0;
  background: transparent;
  color: var(--green);
  padding-inline: 0;
}
.btn.danger {
  color: #853e31;
  background: #f9eae4;
}
.btn.small {
  font-size: 0.875rem;
  min-height: 36px;
  padding: 6px 14px;
}
.quiet-link,
.textbtn {
  color: var(--green);
  font-weight: 600;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.95rem;
}
.quiet-link {
  text-decoration: underline;
  text-decoration-color: #8aa89b;
  text-underline-offset: 5px;
}
.price {
  font-size: 0.87rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.price strong {
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price span {
  width: 15px;
  height: 1px;
  background: #96a99c;
  margin: 0 4px;
}
.album-zone {
  position: relative;
  padding: 3px 0 0;
  min-width: 0;
}
.album-artwork {
  position: relative;
  width: min(100%, 485px);
  aspect-ratio: 1.42/1;
  margin-inline: auto;
  filter: drop-shadow(0 16px 18px #172f2c25);
}
.sleeve {
  position: absolute;
  height: 95%;
  aspect-ratio: 1;
  left: 2%;
  top: 0;
  isolation: isolate;
  transform: rotate(-5deg);
  overflow: hidden;
  background: #36596a;
  border: 1px solid #224a5355;
  box-shadow: 4px 5px 10px #10252244;
}
.sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sleeve:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071c2bba 0%, transparent 45%);
  pointer-events: none;
}
.sleeve-text {
  position: absolute;
  bottom: 8%;
  left: 8%;
  right: 7%;
  z-index: 1;
  color: #fff;
  display: grid;
  gap: 2px;
}
.sleeve-text small {
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}
.sleeve-text b {
  font: 600 clamp(27px, 3.2vw, 47px)/1.3 var(--serif);
  letter-spacing: 0.11em;
}
.vinyl {
  position: absolute;
  height: 91%;
  aspect-ratio: 1;
  right: 1.5%;
  top: 4%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, transparent 0 2px, #fff2 2.6px, transparent 3.6px),
    conic-gradient(
      from 8deg,
      #101a1b,
      #435451 11%,
      #121b1d 28%,
      #2a3636 46%,
      #101718 58%,
      #4d6560 73%,
      #131b1c 85%,
      #26312f
    );
  border: 3px solid #182522;
}
.vinyl i {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, #233636 0 5%, #d7b26d 6% 9%, #bbc5a0 10% 60%, #a1b28d 61%);
  border: 1px solid #233b36;
}
.hero-player {
  max-width: 465px;
  position: relative;
  margin: 17px auto 0;
}
.player {
  background: #fff;
  border: 1px solid #cfdbd1;
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 3px 14px #233d3305;
}
.player audio {
  width: 100%;
  vertical-align: middle;
}
.player-ui {
  display: flex;
  align-items: center;
  gap: 13px;
}
.player-ui[hidden],
audio[hidden],
[hidden] {
  display: none !important;
}
.play-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  border: 0;
  display: grid;
  place-items: center;
  flex: none;
}
.play-toggle span {
  display: block;
  margin-left: 3px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}
.player.playing .play-toggle span {
  margin: 0;
  width: 12px;
  height: 14px;
  border: 0;
  border-left: 4px solid white;
  border-right: 4px solid white;
}
.trackbody {
  min-width: 0;
  flex: 1;
}
.trackname,
.trackline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.trackname b {
  font-size: 1rem;
}
.trackname span,
.timing {
  color: var(--muted);
  font-size: 0.79rem;
}
.trackline {
  margin-top: 3px;
}
.trackline input[type='range'] {
  accent-color: #477c70;
  height: 16px;
  padding: 0;
  margin: 0;
  min-width: 30px;
  flex: 1;
  cursor: pointer;
}
.timing {
  font-variant-numeric: tabular-nums;
}
.audio-error {
  color: #8b4130;
}
.how {
  padding: 48px 0 55px;
}
.section-heading h2 {
  font: 700 clamp(24px, 3vw, 36px)/1.38 var(--serif);
  margin-top: 7px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 23px;
  gap: 30px;
}
.steps article {
  border-top: 1px solid #acbeb0;
  padding: 19px 5px 4px 0;
}
.stepicon {
  color: var(--green2);
  font-size: 1.5rem;
  line-height: 1;
}
.steps h3 {
  margin: 10px 0 6px;
  font-size: 1.15rem;
}
.steps p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}
.footwrap {
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.footwrap b {
  font-family: var(--serif);
  color: var(--green);
  font-size: 1.08rem;
}
footer {
  border-top: 1px solid var(--line);
}
.reading,
.login {
  width: min(760px, calc(100% - 36px));
  margin: 35px auto 64px;
}
.login {
  max-width: 480px;
}
.login h1 {
  margin: 10px 0 20px;
}
.login .fine {
  margin-top: 14px;
}
.pageheading {
  margin: 23px 0 24px;
}
.pageheading h1,
.gift-body h1 {
  font: 700 clamp(30px, 4.4vw, 48px)/1.28 var(--serif);
  margin: 8px 0 12px;
}
.pageheading p:not(.eyeline) {
  color: var(--muted);
}
.pageheading .btn {
  margin-top: 9px;
}
.back {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  padding: 24px 27px;
  margin-bottom: 16px;
  min-width: 0;
}
.panel h2 {
  font-size: 1.23rem;
  margin-bottom: 13px;
  color: var(--ink);
}
.panel h3 {
  font-size: 1rem;
  margin: 14px 0 5px;
}
.panel > p {
  margin: 7px 0 12px;
}
.muted,
.fine,
.empty {
  color: var(--muted);
}
.fine,
.empty {
  font-size: 0.9rem;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
  margin: 0 0 15px;
  min-width: 0;
}
.field > span {
  font-weight: 600;
}
.field input,
.field textarea,
.field select,
.search input {
  width: 100%;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid #becdc2;
  background: #fdfefb;
  border-radius: 8px;
  line-height: 1.45;
  min-width: 0;
  font-size: 1rem;
}
.field input[type='file'] {
  font-size: 0.9rem;
}
.field textarea {
  min-height: 75px;
  resize: vertical;
}
.field textarea[name='lyrics'] {
  min-height: 200px;
}
.field select {
  appearance: none;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, #48645c 50%),
    linear-gradient(135deg, #48645c 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 52%,
    calc(100% - 12px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  margin: 10px 0 14px;
}
.check input {
  accent-color: var(--green);
  height: 17px;
  width: 17px;
  flex: none;
  margin: 4px 0 0;
}
.price-line {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 13px;
}
.price-line span {
  color: var(--muted);
  font-size: 0.9rem;
}
.statusline,
.between,
.link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.link-panel p {
  margin: 0;
}
.link-panel .btn {
  flex: none;
}
.statusline {
  margin: 15px 1px;
}
.statusline strong,
.pill {
  background: #e8f0e7;
  color: #305b49;
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 0.83rem;
}
.notice,
.toast,
.alert {
  background: #eaf2e8;
  color: #274c36;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.94rem;
}
.toast,
.alert {
  margin: 15px auto;
}
.warning,
.alert {
  background: #fbebe3;
  color: #853e31;
}
.delivery {
  border-color: #a7c1ad;
  background: #f7fbf4;
}
.btnrow {
  margin: 12px 0;
}
.lyrics {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  line-height: 1.95;
  font-size: 1.08rem;
}
.songwords,
.subform {
  border-top: 1px solid var(--line);
  margin: 16px 0 0;
  padding: 11px 0 0;
}
.songwords summary,
.subform summary,
details.panel > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green);
}
.subform[open] > summary,
.songwords[open] > summary {
  margin-bottom: 12px;
}
.giftlayout {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(0, 1.15fr);
  gap: 6%;
  align-items: start;
  max-width: 960px;
  padding: 60px 0;
}
.gift-art {
  position: sticky;
  top: 24px;
}
.cover {
  width: 100%;
  border-radius: 7px;
  box-shadow: 0 12px 24px #1c3a3022;
}
.square {
  aspect-ratio: 1;
  object-fit: cover;
}
.poster {
  aspect-ratio: 3/4;
}
.gift-body {
  min-width: 0;
}
.gift-body h1 {
  margin: 10px 0 18px;
}
.dedication {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.16rem;
}
.gift-body .songwords {
  margin-top: 21px;
}
.cardpreview,
#card-stage canvas {
  width: min(100%, 320px);
  height: auto;
  display: block;
  margin: 13px auto;
}
.sample-invite {
  margin-top: 20px;
}
.studio-wrap {
  padding: 24px 0 48px;
  max-width: 1110px;
}
.tabs {
  margin: 0 0 20px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.tabs a,
.tabs .inline {
  padding: 8px 0;
}
.tabs .current {
  font-weight: bold;
  border-bottom: 2px solid var(--green);
}
.tabs .inline {
  margin-left: auto;
}
.search input {
  width: min(185px, 100%);
  padding: 6px 10px;
}
.scrolltable {
  overflow: auto;
  margin-top: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
th {
  color: var(--muted);
}
td small,
.entry small {
  display: block;
  color: var(--muted);
  font-size: 0.79rem;
}
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 17px;
}
.kv {
  display: grid;
  grid-template-columns: minmax(68px, 0.32fr) 1fr;
  gap: 7px;
  font-size: 0.9rem;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.story-bit {
  padding-left: 11px;
  border-left: 2px solid #afc2ad;
  overflow-wrap: anywhere;
}
.entry {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0;
}
.metrics > div {
  display: grid;
  align-content: start;
  background: #f1f5ee;
  padding: 13px;
  border-radius: 10px;
}
.metrics b {
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}
.metrics b i {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.metrics small,
.metrics span {
  font-size: 0.86rem;
  color: var(--muted);
}
.form-result {
  margin: 8px 0;
  color: #864028;
}
.floating-status {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  border-radius: 10px;
  padding: 9px 17px;
  background: var(--green);
  color: white;
  z-index: 12;
  pointer-events: none;
}
.floating-status:empty {
  display: none;
}
@media (max-width: 840px) {
  .wrap,
  .navwrap,
  .footwrap {
    width: calc(100% - 46px);
  }
  .hero {
    gap: 3%;
    padding: 56px 0;
  }
  .hero h1 {
    font-size: clamp(39px, 6vw, 56px);
  }
  .lead {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 14px;
  }
  .steps {
    gap: 18px;
  }
  .desk-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .wrap,
  .navwrap,
  .footwrap {
    width: calc(100% - 36px);
  }
  .navwrap {
    min-height: 63px;
    gap: 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand b {
    font-size: 25px;
  }
  .soundmark {
    height: 32px;
    width: 32px;
    gap: 2px;
    border-radius: 9px;
  }
  .navwrap nav {
    gap: 14px;
  }
  .navwrap nav a,
  .navcta {
    font-size: 0.83rem;
  }
  .navwrap nav a:nth-child(2) {
    display: none;
  }
  .navcta {
    padding: 5px 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 0 32px;
    gap: 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(42px, 9.8vw, 58px);
    margin: 12px 0 10px;
  }
  .lead {
    max-width: 32em;
    line-height: 1.8;
  }
  .hero-actions {
    margin: 18px 0 8px;
  }
  .btn.large {
    min-height: 45px;
    padding: 10px 21px;
  }
  .album-zone {
    width: min(100%, 460px);
    margin: auto;
  }
  .album-artwork {
    width: 92%;
    aspect-ratio: 1.65/1;
  }
  .hero-player {
    margin-top: 9px;
  }
  .how {
    padding: 31px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 15px;
  }
  .steps article {
    padding: 13px 0 11px 37px;
    position: relative;
  }
  .stepicon {
    position: absolute;
    left: 2px;
    top: 15px;
  }
  .steps h3 {
    margin: 0 0 3px;
  }
  .panel {
    padding: 18px 16px;
  }
  .reading,
  .login {
    margin: 24px auto 40px;
  }
  .link-panel {
    display: block;
  }
  .link-panel .btn {
    margin-top: 12px;
  }
  .giftlayout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 25px 0;
    gap: 22px;
  }
  .gift-art {
    position: relative;
    top: auto;
    width: min(72%, 295px);
    margin: auto;
  }
  .gift-body h1 {
    font-size: 2rem;
  }
  .gift-body .eyeline {
    font-size: 0.81rem;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .studio-wrap {
    padding-top: 12px;
  }
  .price-line {
    align-items: flex-start;
  }
  .audio-error,
  .fine {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 365px) {
  .navwrap nav a {
    display: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .trackname {
    flex-wrap: wrap;
    gap: 1px 8px;
  }
  .price {
    font-size: 0.8rem;
  }
  .tabs {
    gap: 13px;
  }
}

.sample-credit {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.5;
}
.sample-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
