/* 白乐勇 baileyong.com
   Same family as calebbrake.com (cream, coral, navy, yellow underline),
   re-set for Chinese type and for phones inside mainland China:
   no web fonts, no third-party assets, system CJK fonts only. */
:root {
  --bg: #FDF8F0;
  --bg-2: #FFF0EC;
  --card: #FFFFFF;
  --ink: #1A1A2E;
  --ink-2: #3D3D56;
  --mute: #6B6B80;
  --coral: #F2735A;
  --coral-d: #E05A42;
  --gold: #F5C842;
  --line: rgba(26,26,46,0.08);
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", "STSong", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "微软雅黑", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.read { max-width: 720px; margin: 0 auto; padding: 0 18px; }

/* eyebrow label + underline motif, carried over from the English site */
.lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--coral); margin-bottom: 8px; }
.u { position: relative; white-space: nowrap; z-index: 0; }
.u::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 3px; height: 9px; background: var(--gold); opacity: .55; z-index: -1; border-radius: 2px; transform: skewX(-4deg); }
.hi { color: var(--coral); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: 100px; border: 2px solid var(--coral); cursor: pointer; line-height: 1.2; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, background .2s, color .2s; font-family: var(--sans); }
.btn-p { background: var(--coral); color: #fff; }
.btn-p:hover { background: var(--coral-d); border-color: var(--coral-d); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(242,115,90,.35); }
.btn-g { background: transparent; color: var(--coral); }
.btn-g:hover { background: var(--coral); color: #fff; }
.btn small { font-weight: 500; opacity: .85; font-size: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(253,248,240,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.brand .seal { width: 28px; height: 28px; display: block; }
footer .brand .seal { width: 40px; height: 40px; }
.links { display: flex; gap: 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.links a:hover { color: var(--coral); }
@media (max-width: 520px) { .links { gap: 12px; font-size: 13px; } .links .opt { display: none; } }

/* hero */
.hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 380px; height: 380px; background: #FFD9CF; top: -120px; right: -80px; }
.b2 { width: 300px; height: 300px; background: #FBE7B0; bottom: -140px; left: -100px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.25; margin: 6px 0 16px; }
.hero p.sub { font-size: 17px; color: var(--ink-2); max-width: 520px; margin-bottom: 22px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.creds { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--mute); }
.creds b { color: var(--ink); font-weight: 600; }
.portrait { position: relative; justify-self: center; width: min(300px, 70vw); }
.portrait img { border-radius: 24px; box-shadow: 0 24px 60px rgba(26,26,46,.18); aspect-ratio: 1; object-fit: cover; }
.portrait::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 56%; height: 56%; background: var(--coral); border-radius: 20px; z-index: -1; opacity: .9; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .portrait { order: -1; width: min(220px, 55vw); } .hero { padding-top: 32px; } }

/* page-load reveal (hero only) */
.fu { opacity: 0; transform: translateY(14px); animation: fu .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--d, 0s); }
@keyframes fu { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fu { animation: none; opacity: 1; transform: none; } }

/* sections */
section.blk { padding: 44px 0; }
section.alt { background: var(--card); }
.sec-head { margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(24px, 4.5vw, 32px); margin-bottom: 8px; }
.sec-head p { color: var(--ink-2); max-width: 640px; font-size: 16px; }

/* video cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(26,26,46,.10); border-color: rgba(242,115,90,.4); }
.thumb { position: relative; aspect-ratio: 16/9; background: #EFE7DA; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(26,26,46,.85); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 17px; line-height: 1.45; font-family: var(--sans); font-weight: 600; }
.card .meta { font-size: 12px; color: var(--mute); margin-top: auto; }
.card.num .thumb::before { content: attr(data-n); position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--coral); color: #fff; font-family: var(--serif); font-weight: 700; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }

/* shorts row */
.shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.short { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.short:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(26,26,46,.10); }
.short .thumb { aspect-ratio: 9/16; }
.short h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.45; padding: 8px 10px 10px; }

/* series index list */
.series-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.series-link { display: block; background: var(--bg-2); border-radius: 14px; padding: 14px 16px; border: 1px solid transparent; transition: border-color .2s, transform .3s; }
.series-link:hover { border-color: rgba(242,115,90,.5); transform: translateY(-2px); }
.series-link b { display: block; font-family: var(--serif); font-size: 17px; }
.series-link span { font-size: 13px; color: var(--mute); }

/* video page */
.vp-head { padding: 28px 0 14px; }
.vp-head h1 { font-size: clamp(22px, 5vw, 32px); margin: 4px 0 8px; }
.vp-meta { font-size: 13px; color: var(--mute); display: flex; gap: 14px; flex-wrap: wrap; }
.vp-meta a { color: var(--coral); }
.player { background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(26,26,46,.18); }
.player video { width: 100%; aspect-ratio: 16/9; background: #000; }
.player.vert { max-width: 380px; margin: 0 auto; }
.player.vert video { aspect-ratio: 9/16; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.actions .btn { padding: 11px 18px; font-size: 14px; }
.hint { font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.vp-sec { padding: 26px 0 6px; }
.vp-sec h2 { font-size: 20px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); display: inline-block; }
.desc p { margin-bottom: 12px; color: var(--ink-2); }
details.tr { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 18px; }
details.tr summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.tr summary::-webkit-details-marker { display: none; }
details.tr summary::after { content: "展开"; font-size: 12px; color: var(--coral); font-weight: 500; }
details.tr[open] summary::after { content: "收起"; }
details.tr .tx { padding: 4px 0 18px; border-top: 1px solid var(--line); }
details.tr .tx p { margin: 12px 0; color: var(--ink-2); font-size: 16px; }
.share { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: var(--bg-2); border-radius: 18px; padding: 18px 20px; margin-top: 10px; }
.share .url { font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; word-break: break-all; display: inline-block; margin: 6px 0; }
.share img { width: 116px; height: 116px; border-radius: 10px; background: #fff; padding: 6px; }
@media (max-width: 520px) { .share { grid-template-columns: 1fr; } .share img { justify-self: center; } }
.copied { color: var(--coral); font-size: 13px; margin-left: 8px; }

/* prose pages */
.prose { padding: 36px 0 56px; }
.prose h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 18px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin-bottom: 16px; color: var(--ink-2); }
.prose .lead { font-size: 19px; color: var(--ink); }

/* form */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
.form label span { color: var(--mute); font-weight: 400; font-size: 12px; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(26,26,46,.18); border-radius: 12px; background: #fff; width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid rgba(242,115,90,.5); border-color: var(--coral); }
.hp { position: absolute; left: -9999px; }
.ok { background: #EAF7EE; border: 1px solid #BFE5C9; border-radius: 12px; padding: 14px 16px; }
.err { background: #FFF0EC; border: 1px solid #F6C1B5; border-radius: 12px; padding: 14px 16px; }

/* footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); margin-top: 30px; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
footer .brand { margin-bottom: 8px; }
footer p { font-size: 14px; color: var(--mute); max-width: 520px; }
footer .flinks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; margin-top: 10px; }
footer .flinks a { color: var(--ink-2); border-bottom: 1px solid var(--gold); }
footer .qr { text-align: center; font-size: 12px; color: var(--mute); }
footer .qr img { width: 104px; height: 104px; background: #fff; padding: 5px; border-radius: 10px; margin: 0 auto 4px; }
@media (max-width: 520px) { footer .wrap { grid-template-columns: 1fr; } }

/* subscribe box + soft prompt */
form.sub label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
form.sub label span { display: block; font-weight: 400; font-size: 12px; color: var(--mute); }
form.sub label.sr { position: absolute; left: -9999px; }
.sub-row { display: flex; gap: 8px; }
.sub-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid rgba(26,26,46,.18); border-radius: 100px; background: #fff; }
.sub-row input:focus { outline: 2px solid rgba(242,115,90,.5); border-color: var(--coral); }
.sub-row .btn { padding: 11px 20px; font-size: 14px; }
.sub-msg { font-size: 13px; color: var(--coral-d); margin-top: 6px; min-height: 1em; }
.subbox { background: var(--bg-2); border-radius: 18px; padding: 18px 20px; }
.modal { position: fixed; inset: 0; background: rgba(26,26,46,.45); z-index: 100; align-items: center; justify-content: center; padding: 18px; }
.modal-box { position: relative; background: var(--bg); border-radius: 22px; padding: 26px 24px 20px; max-width: 440px; width: 100%; box-shadow: 0 30px 80px rgba(26,26,46,.35); }
.modal-box h3 { font-size: 22px; margin: 4px 0 14px; }
.modal-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--mute); cursor: pointer; }
