﻿/* 涓冨僵鏅ㄥ厜 路 鐢熶骇鐗堟牱寮?   涓ゅ鍗￠潰瑙嗚涓ユ牸瀵归綈 docs/handoff 閿佸畾绋匡細
   瀹嬬敾鐗?= song-final锛堝簳鍥?opacity .78 + 鏂囧瓧绾歌壊鍏夋檿 + 椤佃剼 mix-blend difference锛?   鐜颁唬鐗?= modern-a-locked锛堝乏鍥惧彸鏂囥€丄 鏂规宸﹀悜鍙虫笎娣°€乫ooter 宸﹀彸鍒嗚锛?*/

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #f0ede5;
  color: #3c352b;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
}
button { font-family: inherit; cursor: pointer; }

.view {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 48px;
}

/* 鈥曗€曗€曗€?娆㈣繋椤?鈥曗€曗€曗€?*/
.welcome-head { text-align: center; }
.welcome-brand {
  margin: 0 0 26px;
  color: #8b8272;
  font: 11px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .32em;
}
.welcome-head h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .12em;
  color: #33302a;
}
.welcome-sub {
  margin: 22px 0 0;
  color: #6e675a;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .08em;
}
.welcome-date {
  margin: 14px 0 0;
  color: #8b8272;
  font: 500 11px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .18em;
}

.welcome-dots { display: flex; gap: 13px; margin: 34px 0 8px; }
.welcome-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px color-mix(in srgb, var(--c) 45%, transparent);
  animation: dot-breathe 2.6s ease-in-out infinite;
}
.welcome-dots i:nth-child(2) { animation-delay: .2s; }
.welcome-dots i:nth-child(3) { animation-delay: .4s; }
.welcome-dots i:nth-child(4) { animation-delay: .6s; }
.welcome-dots i:nth-child(5) { animation-delay: .8s; }
.welcome-dots i:nth-child(6) { animation-delay: 1s; }
.welcome-dots i:nth-child(7) { animation-delay: 1.2s; }
@keyframes dot-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .72; }
}

.style-pick { margin-top: 30px; width: min(100%, 340px); }
.style-pick-label {
  margin: 0 0 10px;
  text-align: center;
  color: #8b8272;
  font: 11px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .22em;
}
.style-pick-row { display: flex; gap: 12px; }
.style-option {
  flex: 1;
  padding: 14px 8px 12px;
  background: #faf8f2;
  border: 1px solid #d8d0bf;
  border-radius: 4px;
  color: #56503f;
  transition: border-color .2s, box-shadow .2s;
}
.style-option b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .14em; }
.style-option span {
  display: block; margin-top: 6px;
  color: #948b78;
  font: 10px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
}
.style-option.is-active {
  border-color: #6f5b48;
  box-shadow: 0 0 0 1px #6f5b48, 0 6px 18px #6f5b4822;
}

.draw-btn {
  margin-top: 34px;
  width: min(100%, 340px);
  padding: 16px 0;
  /* 涓冨僵鏅ㄥ厜锛氱敤鍗＄墖鏈韩鐨勪竷鑹诧紙璧ゆ榛勭豢闈掕摑绱級鍋氫綆楗卞拰娓愬彉 */
  background: linear-gradient(100deg, #c9574d, #e08a3e, #d6ad28, #5f9268, #3f9a98, #456faf, #765ba2);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: .3em;
  text-indent: .3em;
  text-shadow: 0 1px 4px rgba(60, 50, 45, .35);
  box-shadow: 0 14px 34px rgba(90, 70, 60, .3);
  transition: transform .15s, box-shadow .15s;
  animation: draw-shimmer 7s ease-in-out infinite alternate;
}
@keyframes draw-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .draw-btn { animation: none; }
}
.draw-btn:active { transform: translateY(2px); box-shadow: 0 8px 20px rgba(90, 70, 60, .26); }
.welcome-note {
  margin: 16px 0 0;
  color: #9a917d;
  font: 11px/1.6 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .1em;
}

/* 鈥曗€曗€曗€?鐗岄樀椤碉紙涓冨僵鏅ㄥ厜 路 娴佸姩褰╄櫣锛?鈥曗€曗€曗€?*/
#view-spread { justify-content: center; }
.spread-brand {
  display: inline-block;
  font-size: 12px; letter-spacing: .3em; text-indent: .3em; font-weight: 700;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(90deg,#e0574d,#e08a3e,#d9b02b,#5f9f6a,#3f9a98,#4a74c4,#8a5fb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: spBrand 6s linear infinite;
}
@keyframes spBrand { to { background-position: 200% 0; } }
.spread-title {
  margin: 14px 0 0;
  font-size: 24px; font-weight: 400; letter-spacing: .28em; text-indent: .28em; color: #33302a;
}
.spread-sub {
  margin: 12px 0 0; color: #8b8272;
  font: 12px/1.6 "Noto Sans SC", "Microsoft YaHei", sans-serif; letter-spacing: .12em;
}
.spread-fan {
  position: relative;
  width: 344px; max-width: 100%; height: 334px; margin-top: 20px;
}
/* 浠庢墖褰㈠渾蹇冪紦缂撴憜鍔ㄦ壂杩囩殑鍏夐拡锛氫竷褰╁厜闅忎箣娴佽浆 */
.spread-fan .sweep {
  position: absolute; left: 50%; top: 100%;
  width: 8px; height: 47vw; margin-left: -4px;
  transform-origin: 50% 0;
  background: linear-gradient(to top, rgba(255,255,255,.85), rgba(255,255,255,.22) 45%, transparent 80%);
  filter: blur(4px); pointer-events: none; z-index: 60; mix-blend-mode: screen;
  animation: spSweep 5.5s ease-in-out infinite;
}
@keyframes spSweep {
  0% { transform: rotate(-80deg); opacity: 0; }
  12% { opacity: .9; } 50% { transform: rotate(80deg); opacity: .9; }
  62% { opacity: 0; } 100% { transform: rotate(-80deg); opacity: 0; }
}
.spread-card {
  position: absolute; left: 50%; top: 100%;
  width: 58px; height: 90px; margin-left: -29px; border-radius: 8px;
  transform-origin: 50% 0;
  /* --a锛氭墖褰㈣搴︼紱--hue锛氳鐗屽湪褰╄櫣涓婄殑鑹茬浉锛?-delay锛氭祦鍏夋尝閿欏嘲 鈥斺€?鍧囩敱 JS 璁剧疆 */
  transform: rotate(var(--a, 0deg)) translateY(-47vw);
  transition: transform .6s cubic-bezier(.22,.68,.28,1), opacity .55s ease;
  cursor: pointer; will-change: transform;
}
.spread-card .sp-face {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 6px 15px rgba(80,60,110,.2), inset 0 0 0 1px rgba(255,255,255,.3);
  background: linear-gradient(155deg,
    hsl(var(--hue),82%,74%) 0%, hsl(var(--hue),78%,62%) 55%, hsl(calc(var(--hue) + 24),74%,58%) 100%);
}
/* 娴佸姩鐨勪竷褰╁厜娉斤細涓€閬撻珮鍏夋枩鎵紝鎸夌墝搴忛敊宄?鈫?鍏夋尝娌垮僵铏规祦杩?*/
.spread-card .sp-face::before {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.7) 48%, rgba(255,255,255,.15) 56%, transparent 70%);
  transform: translateX(-60%);
  animation: spFlow 3.6s ease-in-out infinite; animation-delay: var(--delay);
}
@keyframes spFlow { 0% { transform: translateX(-70%); } 55%,100% { transform: translateX(70%); } }
.spread-card .sp-face::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,255,255,.55), transparent 70%);
}
.spread-card .sp-glow {
  position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
  border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 50% 42%, #fffbe9, rgba(255,255,255,.5) 55%, transparent);
  box-shadow: 0 0 8px rgba(255,255,255,.8);
}
/* 瑙︽懜/鎮仠锛氫笂娴?+ 璇ヨ壊鍏夌垎 */
.spread-fan:not(.locked) .spread-card:active,
.spread-fan:not(.locked) .spread-card.hover {
  transform: rotate(var(--a, 0deg)) translateY(-51vw) scale(1.04); z-index: 90 !important;
}
.spread-fan:not(.locked) .spread-card:active .sp-face,
.spread-fan:not(.locked) .spread-card.hover .sp-face {
  box-shadow: 0 18px 34px rgba(90,60,140,.34), 0 0 22px hsla(var(--hue),90%,70%,.7), inset 0 0 0 1px rgba(255,255,255,.6);
}
/* 閫変腑鐨勭墝锛氬綊姝ｃ€佸眳涓€佹斁澶?+ 褰╄櫣鍏夋檿鑴夊啿 */
.spread-card.picked {
  transform: translate(0,-34vw) rotate(0deg) scale(2.15) !important;
  z-index: 120 !important;
  transition: transform .82s cubic-bezier(.2,.7,.2,1); animation: spHalo 1s ease-out;
}
@keyframes spHalo {
  0% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  40% { filter: drop-shadow(0 0 26px rgba(255,255,255,.9)); }
  100% { filter: drop-shadow(0 0 14px rgba(255,220,255,.5)); }
}
/* 鍏朵綑鐗屽甫鏃嬭浆鏁ｅ紑娣″嚭 */
.spread-card.dim {
  opacity: 0;
  transform: rotate(var(--a, 0deg)) translateY(-31vw) scale(.78) rotate(8deg);
}

/* 鈥曗€曗€曗€?鐗岄樀椤?路 妯悜娴佸姩鐗屽甫锛?026-07-17 瀹氱锛屽彇浠ｆ墖褰級 鈥曗€曗€曗€?*/
#view-spread { justify-content: flex-start; padding: 0; }
#view-spread .spread-head { text-align: center; margin-top: 20vh; }
#view-spread .spread-title { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: .18em; text-indent: .18em; color: #33302a; }
#view-spread .spread-sub { margin: 12px 0 0; color: #8b8272; font: 12px/1.6 "Noto Sans SC","Microsoft YaHei",sans-serif; letter-spacing: .12em; }
.strip-wrap {
  width: 100%; margin-top: 14vh; overflow-x: auto; overflow-y: hidden; padding: 26px 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.strip-wrap::-webkit-scrollbar { display: none; }
.strip-row { display: flex; gap: 0; width: max-content; padding: 0 46vw; }
.strip-card {
  flex: 0 0 auto; width: 88px; height: 138px; margin-left: -58px; border-radius: 13px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 6px 16px rgba(80,60,110,.20), inset 0 0 0 1px rgba(255,255,255,.3);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 .5px, transparent .5px 5px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 .5px, transparent .5px 5px),
    linear-gradient(120deg, rgba(255,255,255,.24), transparent 44%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 74%, #fff) 0%, var(--c) 52%, color-mix(in srgb, var(--c) 86%, #000) 100%);
  cursor: pointer; transition: transform .3s ease, box-shadow .3s ease;
  /* 鎵撳紑鍗冲叏閮ㄩ摵婊★紝鏃犻€愬紶鍏ュ満锛堢敤鎴峰畾绋匡細鎶藉崱鐨勪汉涓嶅仠鐣欙紝涓€杩涙潵灏辨槸婊″睆鐗屽湪娴佸姩锛?*/
}
.strip-card::before {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.5) 48%, rgba(255,255,255,.1) 56%, transparent 70%);
  transform: translateX(-60%); animation: shine 5.2s ease-in-out infinite; animation-delay: var(--delay);
}
@keyframes shine { 0% { transform: translateX(-70%); } 55%,100% { transform: translateX(70%); } }
.strip-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255,255,255,.5), transparent 70%); }
.strip-wrap:not(.locked) .strip-card:active { transform: translateY(-7px) scale(1.05); box-shadow: 0 16px 30px rgba(90,60,140,.34), 0 0 22px color-mix(in srgb, var(--c) 62%, transparent); }
.strip-hint { margin-top: 18px; color: #a9a3b6; font-size: 11.5px; letter-spacing: .22em; text-indent: .22em; font-family: "Noto Sans SC","Microsoft YaHei",sans-serif; transition: opacity .4s; }
/* 閫変腑鐗岀殑娴眰鍦ㄦ斁澶ц繃绋嬩腑娓愬彉鎴愪竷褰╄儗闈紙鐩栧湪鍘熷崟鑹茬墝闈笂娣″叆锛?*/
.clone-rb {
  position: absolute; inset: 0; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity .55s ease;
  background: linear-gradient(150deg,#e0574d,#e08a3e,#d9b02b,#5f9f6a,#3f9a98,#4a74c4,#8a5fb0);
  background-size: 100% 260%; animation: cloneFlow 14s linear infinite;
}
@keyframes cloneFlow { to { background-position: 0 260%; } }
.clone-rb .ln { width: 33px; height: .5px; background: rgba(255,255,255,.66); }
.clone-rb b { color: #fff; font-size: 7px; font-weight: 400; letter-spacing: .3em; text-indent: .3em; font-family: "Noto Sans SC","Microsoft YaHei",sans-serif; text-shadow: 0 1px 4px rgba(80,40,120,.5); white-space: nowrap; }
.spread-foot {
  position: fixed; left: 0; right: 0; bottom: 4.5vh; text-align: center; z-index: 5; transition: opacity .5s;
  font-size: 13px; letter-spacing: .34em; text-indent: .34em; font-weight: 700; font-family: "Noto Sans SC","Microsoft YaHei",sans-serif;
  background: linear-gradient(90deg,#e0574d,#e08a3e,#d9b02b,#5f9f6a,#3f9a98,#4a74c4,#8a5fb0,#e0574d);
  -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 220% 100%;
  animation: stripBrand 3.6s linear infinite; filter: drop-shadow(0 0 7px rgba(180,140,230,.5));
}
@keyframes stripBrand { to { background-position: 220% 0; } }

/* 鈥曗€曗€曗€?鍦烘櫙杞満锛?D 涓婄炕 + 鐢辫櫄鍒板疄鐨勯暅澶存帹鍏?鈥曗€曗€曗€?*/
.view { animation: viewIn .95s cubic-bezier(.22,.7,.22,1) both; }
@keyframes viewIn {
  0% { opacity: 0; filter: blur(7px); transform: perspective(1300px) translateY(36px) rotateX(9deg) scale(.94); }
  60% { filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: perspective(1300px) translateY(0) rotateX(0) scale(1); }
}

/* 鈥曗€曗€曗€?缈荤墝鑳岄潰锛氫竷褰╂參娴佸厜 + 鑿辨牸搴曠汗 + 涓婁笅涓ゆ潯绾?+ 鍝佺墝 鈥曗€曗€曗€?*/
.flip-back {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1.5px 9px),
    repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 1px, transparent 1.5px 9px),
    linear-gradient(150deg,#e0574d,#e08a3e,#d9b02b,#5f9f6a,#3f9a98,#4a74c4,#8a5fb0) !important;
  background-size: auto, auto, 100% 260% !important;
  animation: backflow 14s linear infinite; border: 1px solid rgba(255,255,255,.7) !important;
}
.flip-back::before, .flip-back::after { display: none !important; }
@keyframes backflow { to { background-position: 0 0, 0 0, 0 260%; } }
.flip-back-inner {
  writing-mode: horizontal-tb !important; text-indent: 0 !important; letter-spacing: normal;
  display: flex !important; flex-direction: column; align-items: center; gap: 14px;
  color: #fff !important; text-shadow: 0 2px 10px rgba(80,40,120,.5);
}
.flip-back-inner .ln { width: 76px; height: 1px; background: rgba(255,255,255,.66); }
.flip-back-inner b { font-size: 16px; font-weight: 400; letter-spacing: .3em; text-indent: .3em; font-family: "Noto Sans SC","Microsoft YaHei",sans-serif; }

@media (prefers-reduced-motion: reduce) { .view, .strip-card::before, .spread-foot, .flip-back { animation: none !important; } }

/* 鈥曗€曗€曗€?鍗＄墖椤?/ 缈诲崱 鈥曗€曗€曗€?*/
#view-card { padding-top: 26px; }
.card-stage { perspective: 1400px; width: min(100%, 370px); }
.flip {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .7, .25, 1);
}
.flip.is-flipped { transform: rotateY(180deg); }
.flip-back, .flip-front { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 32%, #fdfaf3 0%, transparent 70%),
    linear-gradient(160deg, #efe9db, #e3dbc8);
  border: 1px solid #cdc4ae;
  box-shadow: 0 30px 70px #35301f38;
  display: flex; align-items: center; justify-content: center;
}
/* 涓紡绐楁绾癸細涓ょ粍鏂滃悜缁嗙嚎浜ゅ彔鎴愯彵鏍硷紝棰滆壊鏋佹贰锛屽彧鍋氳川鎰熶笉鎶㈡垙 */
.flip-back::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(55deg, transparent 0 21px, rgba(150, 136, 106, .16) 21px 22px),
    repeating-linear-gradient(-55deg, transparent 0 21px, rgba(150, 136, 106, .16) 21px 22px);
  -webkit-mask-image: radial-gradient(ellipse 80% 76% at 50% 50%, #000 55%, transparent 96%);
  mask-image: radial-gradient(ellipse 80% 76% at 50% 50%, #000 55%, transparent 96%);
}
.flip-back::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(150, 136, 106, .4);
  pointer-events: none;
}
.flip-back-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: #6e6552;
  font-size: 13px;
  letter-spacing: .5em;
  text-indent: .5em;
  writing-mode: vertical-rl;
  text-shadow: 0 1px 6px rgba(253, 250, 243, .85);
}
.flip-back-inner i { width: 1px; height: 44px; background: #b4a98e; }
.flip-front { transform: rotateY(180deg); position: relative; z-index: 1; }

.card-actions { display: flex; gap: 12px; margin-top: 26px; width: min(100%, 370px); }
.action-btn {
  flex: 1;
  padding: 13px 0;
  background: #faf8f2;
  border: 1px solid #c9c0ac;
  border-radius: 4px;
  color: #56503f;
  font-size: 13px;
  letter-spacing: .16em;
  text-indent: .16em;
}
.action-primary { background: #37413f; border-color: #37413f; color: #f4f0e6; }
.card-note {
  margin: 18px 0 0;
  color: #9a917d;
  font: 11px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
}

@keyframes card-dot-breathe {
  0%, 100% { box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent); opacity: 1; }
  50% { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 85%, transparent); opacity: .8; }
}

/* 鈥曗€曗€曗€?瀹嬬敾鐗堝崱闈紙瀵归綈 song-final 閿佸畾绋匡級 鈥曗€曗€曗€?*/
.song-card {
  --accent: #c9574d; --wash: #eac0bb;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3.12;
  padding: 38px 30px 27px;
  overflow: hidden;
  background: #f2ede2;
  box-shadow: 0 30px 70px #302a2250, 0 0 0 1px #d5ccbb;
  display: flex;
  flex-direction: column;
}
.song-card .paper-art {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(rgba(247, 240, 223, .42), rgba(242, 233, 211, .5)),
    var(--scene) center / cover no-repeat;
  filter: saturate(.95) contrast(.85) brightness(1.04);
  opacity: .86;
}
.song-card .light-bloom { display: none; }   /* 瀹氱 2026-07-17锛氬幓鎺夊彸涓婅鍏夋檿 */
.song-card .card-frame { position: absolute; inset: 15px; z-index: 0; border: 1px solid #8d7d633d; }
.song-card > * { position: relative; z-index: 1; }

.song-top {
  display: flex; justify-content: space-between; align-items: center;
  color: #3f3931;
  font: 550 10px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .1em;
  text-shadow: 0 1px 7px rgba(248, 241, 224, .92);
}
.song-top .song-light { display: flex; align-items: center; gap: 7px; }
.song-top .song-light i {
  width: 15px; height: 15px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--wash) 75%, #f7f0e4);
  background: var(--accent);
  animation: song-light-breathe 2.6s ease-in-out infinite;
}
@keyframes song-light-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent); opacity: 1; }
  50% { transform: scale(1.22); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 95%, transparent); opacity: .82; }
}
.song-top .song-light em { font-style: normal; font-weight: 400; color: #3f3931; }
.song-top time { font-weight: 400; color: #5c574e; letter-spacing: .08em; white-space: nowrap; }

.song-name {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 15%;
}
.song-name i { display: none; }   /* 瀹氱 2026-07-17锛氬幓鎺夊悕瀛椾袱渚фí绾?*/
.song-name h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: .3em;
  text-indent: .3em;
  color: #33302a;
  text-shadow: 0 1px 8px rgba(248, 241, 224, .98), 0 0 18px rgba(248, 241, 224, .76);
}

.song-quote { margin: 13% 0 0; padding: 0 4px; text-align: center; }
.song-quote small {
  display: block;
  color: #4a4036;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .32em;
  text-indent: .32em;
}
.song-quote p {
  width: 235px;
  margin: 16px auto 0;
  white-space: pre-line;
  font-size: 18px;
  line-height: 1.92;
  letter-spacing: .025em;
  color: #4a4036;
  text-align: center;
  text-shadow: 0 1px 8px rgba(248, 241, 224, .98), 0 0 18px rgba(248, 241, 224, .76);
}

.song-tip {
  margin-top: auto;
  margin-bottom: 56px;
  padding: 8px 6px 26px;
  text-align: center;
  text-shadow: 0 1px 7px rgba(248, 241, 224, .92);
}
.song-tip b {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #4a4036;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .32em;
  text-indent: .32em;
}
.song-tip b::before {
  content: "";
  width: 15px; height: 15px; flex: 0 0 15px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--wash) 75%, #f7f0e4);
  background: var(--accent);
  animation: song-light-breathe 2.6s ease-in-out infinite;
}
.song-tip p {
  margin: 9px 0 0;
  color: #4a4036;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.75;
}

.song-footer {
  display: flex; justify-content: space-between; align-items: center;
  font: 500 10px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .11em;
}
.song-footer span, .song-footer b {
  color: #514a3f;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(248, 241, 224, .9);
}

/* 鈥曗€曗€曗€?鐜颁唬鐗堝崱闈紙瀵归綈 modern-a-locked锛?鈥曗€曗€曗€?*/
.modern-card {
  --accent: #c65b53;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #edf1f2;
  border: 1px solid #ffffffc7;
  box-shadow: 0 22px 58px #33414b20;
  isolation: isolate;
}
.modern-card .modern-image, .modern-card .modern-image-blur, .modern-card .modern-veil { position: absolute; inset: 0; }
.modern-card .modern-image {
  z-index: -3;
  background: var(--scene) center / cover no-repeat;
  transform: scaleX(-1);
  filter: saturate(1.05) contrast(.98) brightness(1.0);
}
/* 鍙栨秷铏氬寲锛?026-07-16 鐢ㄦ埛瑕佹眰锛夛細搴曞浘鏁村紶娓呮櫚鏄剧ず锛屼笉鍐嶆湁妯＄硦灞?*/
.modern-card .modern-image-blur { display: none; }
.modern-card .modern-veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 30%, rgba(255,255,255,.16) 52%, rgba(255,255,255,.26) 72%, rgba(255,255,255,.34) 88%, rgba(255,255,255,.38) 100%),
    linear-gradient(0deg, rgba(250,250,248,.20) 0%, rgba(250,250,248,.05) 27%, transparent 47%);
}

.modern-top {
  position: absolute; top: 6%; left: 6%; right: 5%;
  display: flex; align-items: center; justify-content: space-between;
  color: #344854;
  font: 600 10px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
}
.modern-top .modern-light { display: flex; align-items: center; gap: 8px; }
.modern-top .modern-light i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: modern-dot-breathe 2.6s ease-in-out infinite;
  margin-left: 2px;
}
.modern-top .modern-light b { color: var(--accent); }
.modern-top time { margin-left: auto; text-align: right; }
@keyframes modern-dot-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 34%, transparent); }
}

.modern-copy {
  position: absolute; top: 19%; left: 49%; right: 5.5%;
  text-shadow: 0 1px 10px #ffffffb8;
}
.modern-copy small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.modern-copy h2 {
  margin: 12px 0 21px;
  color: #293d4b;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
}
.modern-copy p { margin: 0; color: #2e4451; font-size: 14px; line-height: 1.82; }
.modern-copy p span { display: block; white-space: nowrap; }

.modern-tip {
  position: absolute; left: 50.5%; right: 6%; bottom: 27.5%;
  text-shadow: 0 1px 10px #ffffffd6;
}
.modern-tip b {
  display: inline-flex; align-items: center; gap: 8px;
  color: color-mix(in srgb, var(--accent) 78%, #283c47);
  font: 700 9px "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .16em;
}
.modern-tip b::before {
  content: "";
  width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: modern-dot-breathe 2.6s ease-in-out infinite;
}
.modern-tip p {
  margin: 9px 0 0;
  color: #2e4451;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
}

.modern-footer {
  position: absolute; left: 22px; right: 22px; bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font: 600 9px "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .09em;
}
.modern-footer i, .modern-footer span {
  font-style: normal;
  color: #2e4451;
  text-shadow: 0 1px 6px #ffffffcc;
}

/* 鈥曗€曗€曗€?娴锋姤娴眰锛堝脊鍑哄甫鏌斿拰杩囨浮锛夆€曗€曗€曗€?*/
.poster-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: #1c1a17f8;
  display: flex; align-items: flex-start; justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  animation: overlayIn .45s ease both;
  perspective: 1200px;
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.poster-box {
  display: flex; flex-direction: column; align-items: center; max-width: 340px;
  margin-top: 0;
  animation: posterBoxIn .75s cubic-bezier(.2,.7,.25,1) both;
}
/* 鍒嗕韩鍥句互銆岀炕闈€嶇殑鏂瑰紡杞嚭鏉?*/
@keyframes posterBoxIn {
  0% { opacity: 0; transform: rotateY(92deg) scale(.9); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: rotateY(0) scale(1); }
}
/* 鍒嗕韩鎸夐敭锛堝彧鍦ㄩ渶瑕佺湡鏈哄垎浜兘鍔涙椂鍑虹幇锛屽井淇″唴涓嶆樉绀猴級 */
.share-btn {
  margin-top: 14px; width: 100%; padding: 13px 0; border-radius: 999px;
  border: 1px solid #ffffff55; background: #ffffff1c; color: #f4efe2;
  font: 14px/1 "Noto Sans SC","Microsoft YaHei",sans-serif; letter-spacing: .1em;
}
/* 鐐广€屽垎浜繖寮犲浘銆嶆椂娴锋姤杞昏交涓€璺筹紝绀烘剰闀挎寜浣嶇疆 */
#poster-img.pulse { animation: posterPulse .9s ease; }
@keyframes posterPulse {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(.965); }
  70% { transform: scale(1.012); }
}
.mini-toast {
  position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%);
  z-index: 90; max-width: 82vw; text-align: center; pointer-events: none;
  background: #2b2723ee; color: #f6f1e5;
  padding: 13px 24px; border-radius: 999px;
  font: 13px/1.6 "Noto Sans SC","Microsoft YaHei",sans-serif; letter-spacing: .05em;
  opacity: 0; transition: opacity .3s ease;
  white-space: pre-line;
}
.mini-toast.show { opacity: 1; }

/* 鑳屾櫙闊充箰寮€鍏筹紙鍙充笂瑙掑皬鍦嗛挳锛?*/
.music-btn {
  position: fixed; top: 16px; right: 16px; z-index: 210;
  top: calc(16px + env(safe-area-inset-top));
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #d8d0bf; background: #faf8f2d9; color: #6e6552;
  font-size: 17px; line-height: 1;
  box-shadow: 0 4px 14px rgba(60,50,30,.12);
}
.music-btn.off { opacity: .5; }
.music-btn.off::before {
  content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.5px;
  background: #6e6552; transform: rotate(-40deg);
}

/* 鏀惰棌/鍔犳闈㈠紩瀵硷細鍑虹幇鍦ㄥ垎浜浘寮瑰眰閲岋紝璺?鍒嗕韩杩欏紶鍥?鍚屼竴灞忊€斺€?   鐢ㄦ埛鏄庣‘瑕佹眰涓嶈涓€杩涢棬灏卞脊锛岃鍦ㄤ粬鍑嗗杞彂/淇濆瓨鐨勮繖涓€鍒绘彁绀?*/
.save-hint {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffffff22;
  text-align: center; width: 100%;
  color: #cfc9ba; font: 11.5px/1.7 "Noto Sans SC", "Microsoft YaHei", sans-serif; letter-spacing: .02em;
  text-wrap: balance;
}
.save-hint-btn {
  margin-top: 10px; padding: 8px 20px; border-radius: 999px; border: none;
  background: linear-gradient(90deg,#c9574d,#e08a3e,#d6ad28,#5f9268,#3f9a98,#456faf,#765ba2);
  color: #fff; font: 12.5px/1 "Noto Sans SC", "Microsoft YaHei", sans-serif; letter-spacing: .05em;
}
/* 娆㈣繋椤靛簳閮細鍥涘崄涔濈鏍囪瘑 + 闊充箰缃插悕锛堢讲鍚嶆瘮鏍囪瘑鍐嶄綆涓ゅ皬琛岋級 */
.welcome-sign {
  margin: 42px 0 0; color: #8b8272;
  font: 11px/1.6 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .18em; text-indent: .18em; text-align: center;
}
.music-credit {
  margin: 10px 0 0; color: #bdb5a3;
  font: 9px/1.6 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .05em; text-align: center;
}
.poster-box img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 80px #00000080;
}
.poster-hint {
  margin: 14px 0 0;
  color: #e8e2d2;
  font: 12px/1.7 "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-wrap: balance;
}
.poster-close {
  margin-top: 14px;
  padding: 9px 34px;
  background: transparent;
  border: 1px solid #a89f8a;
  border-radius: 999px;
  color: #e8e2d2;
  font-size: 12px;
  letter-spacing: .2em;
  text-indent: .2em;
}

@media (max-width: 360px) {
  .welcome-head h1 { font-size: 38px; }
  .song-quote p { width: 210px; font-size: 16px; }
  .modern-copy h2 { font-size: 38px; }
  .modern-copy p { font-size: 12.5px; }
}

@media (max-width: 600px) and (max-height: 760px) {
  .poster-box { margin-top: 0; }
  .poster-box img { max-height: 57vh; object-fit: contain; }
}



