/* 樱花：樱粉 + 奶白，飘落花瓣、时间轴赛程 */
:root {
  --yh-p: #ff8fb1;
  --yh-p2: #ffb8cf;
  --yh-deep: #e64980;
  --yh-rose: #c2255c;
  --yh-blush: #fff0f5;
  --yh-bg: #fff8fb;
  --yh-ink: #3d2632;
  --yh-sub: #7d5c6b;
  --yh-mute: #b39aa6;
  --yh-line: #fbdbe6;
  --yh-live: #f03e3e;
  --yh-mint: #20c997;
  --yh-shadow: 0 14px 36px rgba(230, 73, 128, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--yh-ink); font: 14px/1.65 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; background: radial-gradient(1200px 600px at 90% -10%, #ffe3ee, transparent 60%), radial-gradient(900px 500px at -10% 30%, #fff0f6, transparent 60%), var(--yh-bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
img { vertical-align: middle; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.yh-hide { display: none !important; }
.yh-shell { width: 1180px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.yh-main { position: relative; z-index: 2; padding-top: 26px; padding-bottom: 50px; min-height: 60vh; }
.yh-rv { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s, transform .6s; }
.yh-rv.in { opacity: 1; transform: none; }

/* ---------- 飘落的花瓣 ---------- */
.yh-petals { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.yh-petals i { position: absolute; top: -40px; width: 14px; height: 12px; border-radius: 12px 0 12px 0; background: linear-gradient(135deg, #ffd1e0, #ff9fbf); opacity: .8; animation: yh-fall 14s linear infinite, yh-sway 3s ease-in-out infinite alternate; }
.yh-petals i:nth-child(1) { left: 5%; animation-delay: 0s, 0s; }
.yh-petals i:nth-child(2) { left: 14%; animation-delay: -6s, -1s; width: 10px; height: 9px; }
.yh-petals i:nth-child(3) { left: 23%; animation-delay: -2s, -.5s; animation-duration: 18s, 4s; }
.yh-petals i:nth-child(4) { left: 34%; animation-delay: -9s, -2s; width: 18px; height: 15px; }
.yh-petals i:nth-child(5) { left: 45%; animation-delay: -4s, -1.5s; animation-duration: 16s, 3.5s; }
.yh-petals i:nth-child(6) { left: 55%; animation-delay: -11s, 0s; width: 9px; height: 8px; }
.yh-petals i:nth-child(7) { left: 64%; animation-delay: -1s, -2.5s; animation-duration: 20s, 4s; }
.yh-petals i:nth-child(8) { left: 72%; animation-delay: -7s, -.8s; }
.yh-petals i:nth-child(9) { left: 80%; animation-delay: -13s, -1.2s; width: 16px; height: 13px; }
.yh-petals i:nth-child(10) { left: 88%; animation-delay: -3s, -2s; animation-duration: 17s, 3s; }
.yh-petals i:nth-child(11) { left: 94%; animation-delay: -10s, -.3s; width: 11px; height: 10px; }
.yh-petals i:nth-child(12) { left: 40%; animation-delay: -15s, -1.7s; animation-duration: 22s, 5s; }
@keyframes yh-fall { from { top: -40px; transform: rotate(0); } to { top: 105vh; transform: rotate(720deg); } }
@keyframes yh-sway { from { margin-left: -30px; } to { margin-left: 30px; } }

/* ---------- 头部 ---------- */
.yh-top { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: padding .3s; }
.yh-scrolled .yh-top { padding: 6px 0; }
.yh-top-in { display: flex; align-items: center; gap: 26px; height: 62px; padding: 0 12px 0 20px; border-radius: 31px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(230, 73, 128, .12); border: 1px solid #fff; }
.yh-mark { display: flex; align-items: center; gap: 8px; }
.yh-mark svg { animation: yh-turn 12s linear infinite; }
@keyframes yh-turn { to { transform: rotate(360deg); } }
.yh-mark b { font-size: 21px; font-weight: 900; background: linear-gradient(90deg, var(--yh-deep), var(--yh-p)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 1px; }
.yh-mark-s b { font-size: 20px; }
.yh-nav { display: flex; gap: 4px; margin: 0 auto; }
.yh-nav a { position: relative; padding: 8px 22px; border-radius: 22px; font-size: 15px; font-weight: 600; color: var(--yh-sub); transition: .25s; }
.yh-nav a:hover { color: var(--yh-deep); background: var(--yh-blush); }
.yh-nav a.on { color: #fff; background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); box-shadow: 0 6px 16px rgba(230, 73, 128, .35); }
.yh-heart { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--yh-blush); color: var(--yh-sub); font-weight: 600; }
.yh-heart i { font-style: normal; color: var(--yh-live); animation: yh-beat 1.1s ease-in-out infinite; }
.yh-heart b { color: var(--yh-deep); font-size: 17px; }
@keyframes yh-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }

/* ---------- 通用 ---------- */
.yh-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 36px; padding: 0 18px; border-radius: 18px; border: 1.5px solid var(--yh-p); background: #fff; color: var(--yh-deep); font-weight: 700; font-size: 13px; transition: .25s; white-space: nowrap; }
.yh-btn:hover { background: var(--yh-blush); transform: translateY(-2px); }
.yh-btn-fill { border-color: transparent; background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); color: #fff; box-shadow: 0 8px 18px rgba(230, 73, 128, .32); }
.yh-btn-fill:hover { background: linear-gradient(135deg, var(--yh-deep), var(--yh-rose)); }
.yh-btn-ghost { border-color: var(--yh-line); color: var(--yh-mute); }
.yh-btn-lg { height: 48px; padding: 0 30px; border-radius: 24px; font-size: 15px; }
.yh-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(230, 73, 128, .18); }
.yh-av img { width: 80%; height: 80%; object-fit: contain; }
.yh-av-l { width: 56px; height: 56px; }
.yh-av-xl { width: 100px; height: 100px; box-shadow: 0 0 0 6px #fff, 0 16px 34px rgba(230, 73, 128, .25); }
.yh-ini { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #ffd6e4, var(--yh-p)); color: #fff; font-weight: 800; font-size: 14px; }
.yh-av-l .yh-ini { font-size: 22px; }
.yh-av-xl .yh-ini { font-size: 40px; }
.yh-pop { animation: yh-pop .7s ease; }
@keyframes yh-pop { 40% { transform: scale(1.4) rotate(-6deg); color: var(--yh-live); } }
.yh-tag { display: inline-block; padding: 2px 12px; border-radius: 12px; background: var(--yh-blush); color: var(--yh-deep); font-size: 12px; font-weight: 700; }
.yh-sec { margin-top: 40px; }
.yh-sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yh-h { display: flex; align-items: baseline; gap: 10px; font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.yh-h > span { color: var(--yh-p); animation: yh-turn 8s linear infinite; display: inline-block; }
.yh-h small { font-size: 13px; color: var(--yh-mute); font-weight: 400; }
.yh-seg { display: flex; padding: 4px; border-radius: 22px; background: #fff; box-shadow: var(--yh-shadow); margin-bottom: 18px; }
.yh-seg a { padding: 6px 22px; border-radius: 18px; font-weight: 700; color: var(--yh-sub); transition: .25s; }
.yh-seg a.on { background: var(--yh-p); color: #fff; }

/* ---------- 欢迎区 ---------- */
.yh-welcome { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding: 20px 0 0; }
.yh-hello { display: inline-block; padding: 6px 16px; border-radius: 20px; background: #fff; color: var(--yh-deep); font-weight: 700; box-shadow: var(--yh-shadow); animation: yh-up .7s both; }
.yh-welcome h1 { margin: 20px 0 12px; font-size: 58px; line-height: 1.1; font-weight: 900; letter-spacing: 3px; animation: yh-up .7s .1s both; }
.yh-welcome h1 em { display: block; margin-top: 10px; font-style: normal; font-size: 24px; letter-spacing: 2px; background: linear-gradient(90deg, var(--yh-deep), #f783ac, var(--yh-deep)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: yh-shine 4s linear infinite; }
@keyframes yh-shine { to { background-position: -200% 0; } }
.yh-welcome-sub { color: var(--yh-sub); font-size: 16px; animation: yh-up .7s .2s both; }
.yh-welcome-go { display: flex; gap: 12px; margin-top: 26px; animation: yh-up .7s .3s both; }
@keyframes yh-up { from { opacity: 0; transform: translateY(24px); } }
.yh-welcome-pic { position: relative; height: 380px; }
.yh-blob { position: absolute; inset: 10px 30px; background-size: cover; background-position: center; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; box-shadow: 0 30px 60px rgba(230, 73, 128, .25); animation: yh-morph 10s ease-in-out infinite; border: 8px solid #fff; }
.yh-blob::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 143, 177, .25), rgba(255, 255, 255, 0)); }
@keyframes yh-morph { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 33% { border-radius: 63% 37% 43% 57% / 53% 61% 39% 47%; } 66% { border-radius: 38% 62% 56% 44% / 62% 38% 62% 38%; } }
.yh-float { position: absolute; padding: 8px 16px; border-radius: 16px; background: #fff; box-shadow: var(--yh-shadow); font-weight: 700; animation: yh-bob 4s ease-in-out infinite; }
.yh-float-a { left: 0; top: 40px; }
.yh-float-b { right: 0; top: 150px; animation-delay: -1.3s; }
.yh-float-c { left: 50px; bottom: 20px; animation-delay: -2.6s; color: var(--yh-sub); }
.yh-float-c b { color: var(--yh-live); font-size: 18px; }
@keyframes yh-bob { 50% { transform: translateY(-12px); } }

/* ---------- 焦点横滑 ---------- */
.yh-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; scrollbar-width: thin; scrollbar-color: var(--yh-p2) transparent; }
.yh-feat { scroll-snap-align: start; padding: 18px; border-radius: 24px; background: #fff; box-shadow: var(--yh-shadow); border: 2px solid transparent; transition: .3s; }
.yh-feat:hover { transform: translateY(-6px); border-color: var(--yh-p2); }
.yh-feat[data-yhst="1"] { background: linear-gradient(160deg, #fff, #fff0f5); border-color: #ffc9da; }
.yh-feat-hd { display: flex; justify-content: space-between; align-items: center; }
.yh-feat-hd span { padding: 1px 10px; border-radius: 10px; background: var(--yh-blush); color: var(--yh-deep); font-size: 12px; font-weight: 700; }
.yh-feat-hd i { font-style: normal; font-size: 12px; color: var(--yh-mute); }
.yh-feat[data-yhst="1"] .yh-feat-hd i { color: var(--yh-live); font-weight: 700; }
.yh-feat[data-yhst="1"] .yh-feat-hd i::before { content: "● "; animation: yh-blink 1s infinite; }
@keyframes yh-blink { 50% { opacity: .3; } }
.yh-feat-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 18px 0 14px; text-align: center; }
.yh-feat-vs span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; }
.yh-feat-vs b { font-size: 26px; font-weight: 900; color: var(--yh-deep); font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.yh-feat-ft { display: flex; justify-content: space-between; color: var(--yh-mute); font-size: 12px; }
.yh-feat-ft em { font-style: normal; color: var(--yh-mint); font-weight: 700; }

/* ---------- 时间轴 ---------- */
.yh-axis { position: relative; padding-left: 0; }
.yh-axis::before { content: ""; position: absolute; left: 84px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--yh-p2), var(--yh-line)); }
.yh-row { position: relative; display: grid; grid-template-columns: 66px 40px 1fr; align-items: center; margin-bottom: 12px; }
.yh-row-time { text-align: right; font-size: 18px; font-weight: 800; color: var(--yh-sub); font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.yh-row-dot { justify-self: center; width: 15px; height: 15px; margin-left: 9px; border-radius: 50%; background: #fff; border: 3px solid var(--yh-p2); transition: .3s; z-index: 1; }
.yh-row:hover .yh-row-dot { border-color: var(--yh-deep); transform: scale(1.3); }
.yh-row.is-live .yh-row-dot { background: var(--yh-live); border-color: #ffc9c9; box-shadow: 0 0 0 0 rgba(240, 62, 62, .5); animation: yh-ring 1.6s infinite; }
@keyframes yh-ring { to { box-shadow: 0 0 0 12px rgba(240, 62, 62, 0); } }
.yh-row.is-live .yh-row-time { color: var(--yh-live); }
.yh-row-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 20px; background: #fff; box-shadow: 0 6px 18px rgba(230, 73, 128, .07); transition: .3s; }
.yh-row-card:hover { box-shadow: var(--yh-shadow); transform: translateX(6px); }
.yh-row.is-live .yh-row-card { background: linear-gradient(90deg, #fff5f5, #fff 50%); }
.yh-row-main { flex: 1; min-width: 0; display: grid; grid-template-columns: 90px 1fr 84px 1fr 70px; align-items: center; gap: 12px; }
.yh-row-lg { justify-self: start; max-width: 90px; padding: 1px 10px; border-radius: 10px; background: var(--yh-blush); color: var(--yh-deep); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yh-row-tm { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; font-size: 15px; white-space: nowrap; }
.yh-row-h { justify-content: flex-end; }
.yh-row-sc { text-align: center; font-size: 20px; font-weight: 900; color: var(--yh-deep); font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.yh-row-st { text-align: center; font-size: 12px; color: var(--yh-mute); }
.yh-row.is-live .yh-row-st { color: var(--yh-live); font-weight: 700; }
.yh-all { text-align: center; margin-top: 20px; }
.yh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.yh-chip { padding: 6px 16px; border-radius: 18px; border: 0; background: #fff; color: var(--yh-sub); box-shadow: 0 4px 12px rgba(230, 73, 128, .08); transition: .2s; }
.yh-chip:hover { color: var(--yh-deep); }
.yh-chip.on { background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); color: #fff; }
.yh-day { margin: 26px 0 14px; font-size: 16px; }
.yh-day span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 18px; background: #fff; color: var(--yh-deep); box-shadow: var(--yh-shadow); }
.yh-day span::before { content: "✿"; color: var(--yh-p); }
.yh-empty { padding: 50px 0; text-align: center; color: var(--yh-mute); background: #fff; border-radius: 24px; }
.yh-empty-flower { display: inline-block; width: 56px; height: 56px; margin-bottom: 10px; background: radial-gradient(circle, #fff 0 18%, transparent 19%), conic-gradient(from 0deg, var(--yh-p) 0 20%, var(--yh-p2) 0 40%, var(--yh-p) 0 60%, var(--yh-p2) 0 80%, var(--yh-p) 0); border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; animation: yh-turn 6s linear infinite; -webkit-mask: radial-gradient(circle, #000 68%, transparent 70%); mask: radial-gradient(circle, #000 68%, transparent 70%); }
.yh-pg { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.yh-pg a, .yh-pg b { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: var(--yh-shadow); font-weight: 700; transition: .2s; }
.yh-pg a:hover { color: var(--yh-deep); transform: translateY(-3px); }
.yh-pg b { background: var(--yh-p); color: #fff; }

/* ---------- 列表页封面 ---------- */
.yh-cover { position: relative; border-radius: 32px; overflow: hidden; background-size: cover; background-position: center 40%; box-shadow: var(--yh-shadow); }
.yh-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 248, 251, .97) 0%, rgba(255, 228, 238, .82) 55%, rgba(255, 190, 214, .35)); }
.yh-cover > div { position: relative; padding: 40px 44px; }
.yh-cover h1 { margin: 10px 0 6px; font-size: 36px; font-weight: 900; }
.yh-cover h1 small { font-size: 16px; color: var(--yh-sub); }
.yh-cover p b { font-size: 24px; color: var(--yh-deep); }
.yh-crumb { color: var(--yh-sub); font-size: 13px; }
.yh-crumb a:hover { color: var(--yh-deep); }

/* ---------- 详情 ---------- */
.yh-match { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 16px; padding: 34px 30px; border-radius: 34px; background: linear-gradient(135deg, #fff 0%, #fff0f6 50%, #ffe3ee 100%); box-shadow: var(--yh-shadow); overflow: hidden; }
.yh-match::before, .yh-match::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 177, .25), transparent 70%); animation: yh-bob 6s ease-in-out infinite; }
.yh-match::before { left: -60px; top: -80px; }
.yh-match::after { right: -60px; bottom: -100px; animation-delay: -3s; }
.yh-match > * { position: relative; z-index: 1; }
.yh-match-t { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.yh-match-t b { font-size: 22px; font-weight: 900; }
.yh-match-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 30px; }
.yh-match-mid strong { font-size: 62px; line-height: 1.1; font-weight: 900; color: var(--yh-deep); font-family: "DIN Alternate", "Bahnschrift", "Arial Black", sans-serif; }
.yh-match-st { padding: 2px 14px; border-radius: 12px; background: #fff; color: var(--yh-sub); font-weight: 700; font-size: 13px; }
[data-yhst="1"] .yh-match-st { background: var(--yh-live); color: #fff; animation: yh-blink 1.4s infinite; }
.yh-match-mid time { color: var(--yh-mute); font-size: 13px; }
.yh-room { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 22px; align-items: start; }
.yh-tv { padding: 18px; border-radius: 28px; background: #fff; box-shadow: var(--yh-shadow); }
.yh-tv-h { font-size: 18px; margin: 0 6px 14px; }
.yh-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #fff0f6, #ffdeeb); }
.yh-video iframe, .yh-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.yh-video-tip { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--yh-deep); font-weight: 700; }
.yh-video-tip::before { content: "♥"; font-size: 40px; color: var(--yh-p); animation: yh-beat 1.1s infinite; }
.yh-lines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.yh-line { height: 38px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 19px; border: 1.5px solid var(--yh-line); background: var(--yh-bg); color: var(--yh-sub); font-weight: 700; transition: .2s; }
.yh-line:hover { border-color: var(--yh-p); color: var(--yh-deep); }
.yh-line.cur { background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(230, 73, 128, .3); }
.yh-line-out::after { content: " ↗"; }
.yh-tv-off { padding: 60px 20px; border-radius: 20px; text-align: center; color: var(--yh-sub); background: linear-gradient(135deg, #fff8fb, #fff0f6); }
.yh-tv-off .yh-btn { margin-top: 16px; }
.yh-tv-cd { margin-top: 12px; }
.yh-tv-cd b { display: block; font-size: 30px; color: var(--yh-deep); font-family: "DIN Alternate", "Bahnschrift", monospace; }
.yh-tv-cd small { color: var(--yh-mute); }
.yh-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.yh-note { padding: 20px; border-radius: 24px; background: #fff; box-shadow: var(--yh-shadow); }
.yh-note h2 { font-size: 16px; margin-bottom: 12px; }
.yh-note h2::before { content: "✿ "; color: var(--yh-p); }
.yh-facts li { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 12px; }
.yh-facts li:nth-child(odd) { background: var(--yh-bg); }
.yh-facts span { color: var(--yh-mute); }
.yh-more a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; transition: .2s; }
.yh-more a:hover { background: var(--yh-blush); }
.yh-more time { font-weight: 800; color: var(--yh-deep); line-height: 1.2; }
.yh-more time small { display: block; font-weight: 400; font-size: 11px; color: var(--yh-mute); }
.yh-more span { font-size: 13px; font-weight: 600; line-height: 1.4; }
.yh-more i { font-style: normal; font-size: 12px; color: var(--yh-mute); }
.yh-more li[data-yhst="1"] i { color: var(--yh-live); font-weight: 700; }

/* ---------- 404 ---------- */
.yh-oops { padding: 70px 20px; text-align: center; border-radius: 34px; background: #fff; box-shadow: var(--yh-shadow); }
.yh-oops-flower { display: flex; justify-content: center; gap: 14px; }
.yh-oops-flower i:nth-child(2) { width: 80px; height: 80px; animation-duration: 4s; }
.yh-oops h1 { font-size: 96px; line-height: 1; margin: 10px 0; background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yh-oops p { color: var(--yh-sub); font-size: 16px; }
.yh-oops-go { display: flex; justify-content: center; gap: 10px; margin-top: 24px !important; }

/* ---------- 页脚 ---------- */
.yh-foot { position: relative; z-index: 2; margin-top: 40px; padding: 40px 0 30px; text-align: center; color: var(--yh-sub); font-size: 13px; background: linear-gradient(180deg, transparent, #ffe3ee); }
.yh-foot .yh-mark { justify-content: center; }
.yh-foot p { margin-top: 8px; }
.yh-foot-nav a { margin: 0 10px; font-weight: 700; color: var(--yh-ink); }
.yh-foot-nav a:hover { color: var(--yh-deep); }
.yh-side-top { position: fixed; right: 24px; bottom: 30px; z-index: 50; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--yh-p), var(--yh-deep)); color: #fff; font-weight: 900; font-size: 12px; box-shadow: 0 10px 24px rgba(230, 73, 128, .4); opacity: 0; transform: translateY(30px) rotate(-90deg); pointer-events: none; transition: .4s; }
.yh-scrolled .yh-side-top { opacity: 1; transform: none; pointer-events: auto; }
.yh-side-top:hover { transform: translateY(-4px) scale(1.05); }

@media (max-width: 1000px) {
  .yh-welcome { grid-template-columns: 1fr; }
  .yh-welcome-pic { height: 280px; }
  .yh-room { grid-template-columns: 1fr; }
  .yh-side { position: static; }
  .yh-row-main { grid-template-columns: 1fr 70px 1fr; }
  .yh-row-lg, .yh-row-st { display: none; }
}
@media (max-width: 680px) {
  .yh-top-in { gap: 8px; padding: 0 8px 0 12px; height: 54px; }
  .yh-mark b { font-size: 17px; }
  .yh-nav a { padding: 6px 10px; font-size: 14px; }
  .yh-heart { padding: 0 10px; font-size: 12px; }
  .yh-welcome h1 { font-size: 40px; }
  .yh-axis::before { left: 58px; }
  .yh-row { grid-template-columns: 46px 26px 1fr; }
  .yh-row-time { font-size: 14px; }
  .yh-row-dot { margin-left: 3px; }
  .yh-row-card { padding: 10px; flex-wrap: wrap; }
  .yh-row-card .yh-btn { width: 100%; height: 30px; }
  .yh-row-tm { font-size: 13px; gap: 6px; }
  .yh-av { width: 24px; height: 24px; }
  .yh-match { padding: 22px 10px; }
  .yh-match-mid { padding: 0 8px; }
  .yh-match-mid strong { font-size: 38px; }
  .yh-av-xl { width: 64px; height: 64px; }
  .yh-match-t b { font-size: 15px; }
}

/* 系统设置了“减少动态效果”时关闭动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* 比分列表（内置 score-row 等）配色 */
:root { --sc-accent: #e64980; --sc-on: #fff; --sc-live: #f03e3e; --sc-radius: 16px; }

/* 背景图（原来写在模板 style 属性里） */
.bgi-ball { background-image: url(/static/sakura/img/ball.jpg) !important; }
.bgi-court { background-image: url(/static/sakura/img/court.jpg) !important; }
.bgi-sky { background-image: url(/static/sakura/img/sky.jpg) !important; }

/* 手机端：头部站名和导航不折行（之前会被挤成竖排），放不下时导航横向滚动 */
@media (max-width: 480px) {
  .yh-top-in { gap: 8px; flex-wrap: nowrap; }
  .yh-mark, .yh-mark b { white-space: nowrap; flex: none; font-size: 16px; }
  .yh-nav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .yh-nav::-webkit-scrollbar { display: none; }
  .yh-nav a { flex: none; white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .yh-heart { flex: none; white-space: nowrap; font-size: 11px; }
}
@media (max-width: 400px) {
  .yh-heart { display: none; }
}

/* 手机端：长队名不截断，换行完整显示 */
@media (max-width: 480px) {
  .yh-feat-vs > span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
}

/* 热门比赛标记（后台设为热门或属于热门联赛），手机上只显示火苗 */
.yh-fire { display: inline-flex; align-items: center; gap: 1px; margin-left: 4px; padding: 0 6px 0 4px; border-radius: 9px; background: linear-gradient(90deg, #ff8a1f, #ff3b30); color: #fff; font: normal 700 11px/17px -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; vertical-align: middle; white-space: nowrap; text-transform: none; animation: yh-fire-glow 1.8s ease-in-out infinite; }
.yh-fire::before { content: "🔥"; font-size: 11px; line-height: 1; }
@keyframes yh-fire-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 80, 30, .35); } 50% { box-shadow: 0 0 0 4px rgba(255, 80, 30, 0); } }
@media (max-width: 480px) {
  .yh-fire { padding: 0 3px; font-size: 0; gap: 0; margin-left: 2px; }
  .yh-fire::before { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .yh-fire { animation: none; } }

/* 热门比赛：火苗跳动；整行左侧一抹淡淡的火光缓慢明暗，叠在原有背景上，不改变原样式 */
.yh-fire::before { display: inline-block; transform-origin: 50% 85%; animation: yh-flicker 1.3s ease-in-out infinite; }
@keyframes yh-flicker {
  0%, 100% { transform: scale(1) rotate(-4deg); filter: brightness(1); }
  25% { transform: scale(1.1, 1.2) rotate(3deg); filter: brightness(1.2); }
  50% { transform: scale(.95, 1.04) rotate(-2deg); filter: brightness(.95); }
  75% { transform: scale(1.06, 1.14) rotate(4deg); filter: brightness(1.15); }
}
.yh-hotrow { animation: yh-ember 3.2s ease-in-out infinite; }
@keyframes yh-ember {
  0%, 100% { box-shadow: inset 3px 0 0 rgba(255, 98, 40, .7), inset 90px 0 70px -52px rgba(255, 140, 50, .16); }
  50% { box-shadow: inset 3px 0 0 rgba(255, 64, 30, .9), inset 130px 0 90px -60px rgba(255, 112, 40, .26); }
}
tr.yh-hotrow { animation: none; }
tr.yh-hotrow > td { animation: yh-ember-td 3.2s ease-in-out infinite; }
tr.yh-hotrow > td:first-child { box-shadow: inset 3px 0 0 rgba(255, 80, 30, .8); }
@keyframes yh-ember-td { 0%, 100% { background-color: rgba(255, 150, 60, .05); } 50% { background-color: rgba(255, 120, 40, .11); } }
@media (prefers-reduced-motion: reduce) {
  .yh-fire::before, .yh-hotrow, tr.yh-hotrow > td { animation: none; }
  .yh-hotrow { box-shadow: inset 3px 0 0 rgba(255, 98, 40, .7), inset 90px 0 70px -52px rgba(255, 140, 50, .16); }
}

/* 播放页球队名链接到球队搜索页 */
.yh-tlink { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.yh-tlink:hover { opacity: .8; border-bottom-style: solid; }

/* 首页：日期选择 + 热门直播 + 赛事直播 */
.yh-sec .hd-dates { margin: 0; }
.yh-sec-n { color: var(--yh-sub); }
.yh-row-lg .hd-lg:hover { text-decoration: none; opacity: .8; }
/* 窄屏隐藏了赛事列：联赛名单独占一行显示在对阵上面 */
@media (max-width: 1000px) {
  .yh-row-main .yh-row-lg { display: block; grid-column: 1 / -1; justify-self: start; max-width: 100%; }
}
/* 导航 5 项：手机上导航单独一行，一屏放下 */
@media (max-width: 768px) {
  .yh-top-in { flex-wrap: wrap; height: auto; row-gap: 6px; padding: 8px 10px; border-radius: 20px; }
  .yh-nav { order: 3; flex: 1 0 100%; width: 100%; margin: 0; overflow: visible; gap: 2px; }
  .yh-nav a { flex: 1 0 auto; padding: 6px 4px; font-size: 14px; text-align: center; }
  .yh-heart { margin-left: auto; }
}

/* 热门标记：本模板专属样式（🌸 热门），覆盖上面通用的 🔥 热门；手机上只显示图标 */
.yh-fire { --yh-hot-lb: 11px; gap: 2px; font-size: 0; background: linear-gradient(90deg,#ff8fb1,#e64980); color: #fff; border: 0; border-radius: 9px; animation: yh-hot-glow 1.8s ease-in-out infinite; }
.yh-fire::before { content: "🌸"; display: inline-block; transform-origin: 50% 50%; animation: yh-hot-ic 4s linear infinite; }
.yh-fire::after { content: "热门"; font-size: var(--yh-hot-lb); line-height: 1; }
@keyframes yh-hot-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(230,73,128, .35); } 50% { box-shadow: 0 0 0 4px rgba(230,73,128, 0); } }
@keyframes yh-hot-ic { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (max-width: 480px) { .yh-fire { --yh-hot-lb: 0; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .yh-fire, .yh-fire::before { animation: none; } }

/* 日期条吸顶（样式在内置 hd.css）：底色跟页面一致 */
:root { --hd-bg: #fff5f8; }
