/* Scenic audio guide theme — you.hbz.cn */
:root{
  --sg-ink:#12262b;
  --sg-jade:#1f8a7a;
  --sg-jade-deep:#14685c;
  --sg-mist:#e8f2ef;
  --sg-sand:#f6f3ee;
  --sg-play:#e35b2f;
  --sg-play-deep:#c44720;
  --sg-line:rgba(18,38,43,.08);
  --sg-soft:rgba(31,138,122,.12);
  --sg-font-display:"Microsoft YaHei","微软雅黑","PingFang SC","Hiragino Sans GB",sans-serif;
  --sg-font-ui:"Microsoft YaHei","微软雅黑","PingFang SC","Hiragino Sans GB",sans-serif;
}
html{scroll-behavior:smooth}
body.sg-body{
  margin:0;background:
    radial-gradient(120% 80% at 100% -10%, rgba(31,138,122,.16), transparent 55%),
    radial-gradient(90% 60% at -10% 20%, rgba(227,91,47,.08), transparent 50%),
    linear-gradient(180deg,#f4f7f6 0%, var(--sg-sand) 48%, #eef3f1 100%);
  color:var(--sg-ink);font-family:var(--sg-font-ui);-webkit-font-smoothing:antialiased;
}
body.sg-body a{color:inherit}
.sg-hide-kefu .yk-kefu,.sg-hide-kefu .yk-float{display:none!important}
body.sg-body .yk-banner,
body.sg-body [class^="yk-banner"],
body.sg-body [class*=" yk-banner"],
body.sg-body .yk-b1,
body.sg-body .yk-bn,
body.sg-body [class*="yk-b1-"],
body.sg-body .yk-banner-wrap,
body.sg-body [data-yk-banner]{display:none!important}

/* Header */
.sg-head{
  position:sticky;top:0;z-index:80;
  backdrop-filter:saturate(1.2) blur(14px);
  background:rgba(246,243,238,.82);
  border-bottom:1px solid var(--sg-line);
}
.sg-head-in{
  max-width:920px;margin:0 auto;padding:10px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.sg-brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.sg-brand-logo{width:40px;height:40px;border-radius:12px;object-fit:contain;background:#fff;border:1px solid var(--sg-line);flex:none;display:block}
.sg-brand-mark{
  width:36px;height:36px;border-radius:12px;flex:none;
  background:
    radial-gradient(circle at 30% 30%,rgba(255,255,255,.45),transparent 50%),
    linear-gradient(145deg,var(--sg-jade),var(--sg-jade-deep));
  box-shadow:0 8px 18px rgba(20,104,92,.28);
  display:grid;place-items:center;color:#fff;font-size:15px;font-weight:700;
}
.sg-brand-txt{min-width:0}
.sg-brand-txt strong{
  display:block;font-family:var(--sg-font-display);font-size:16px;font-weight:700;
  letter-spacing:.02em;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.sg-brand-txt span{display:block;font-size:11px;color:rgba(18,38,43,.55);margin-top:2px}
.sg-head-actions{display:flex;align-items:center;gap:8px}
.sg-lang{flex-wrap:wrap;
  display:inline-flex;padding:3px;border-radius:999px;
  background:rgba(18,38,43,.06);border:1px solid var(--sg-line);
}
.sg-lang a,.sg-lang span{
  min-width:42px;height:30px;padding:0 10px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:600;text-decoration:none;color:rgba(18,38,43,.62);
}
.sg-lang .on{background:#fff;color:var(--sg-jade-deep);box-shadow:0 2px 8px rgba(18,38,43,.08)}
.sg-menu-btn{
  width:40px;height:40px;border-radius:12px;border:1px solid var(--sg-line);
  background:#fff;display:grid;place-items:center;cursor:pointer;
}
.sg-menu-btn i,.sg-menu-btn span{
  display:block;width:16px;height:2px;background:var(--sg-ink);margin:2px 0;border-radius:2px;
}
.sg-drawer{
  display:none;position:absolute;left:12px;right:12px;top:calc(100% + 8px);z-index:90;
  background:#fff;border:1px solid var(--sg-line);border-radius:16px;
  box-shadow:0 18px 40px rgba(18,38,43,.12);padding:8px;overflow:hidden;
}
.sg-drawer.open{display:block;animation:sgPop .28s ease both}
.sg-drawer a{
  display:block;padding:12px 14px;border-radius:12px;text-decoration:none;
  font-size:14px;font-weight:600;color:var(--sg-ink);
}
.sg-drawer a:active,.sg-drawer a.on{background:var(--sg-soft);color:var(--sg-jade-deep)}

/* Hero */
.sg-hero{
  position:relative;min-height:72vh;max-height:860px;
  display:flex;align-items:flex-end;overflow:hidden;
  background:#0d2a2f center/cover no-repeat;
}
.sg-hero::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(8,28,32,.15) 0%,rgba(8,28,32,.28) 38%,rgba(8,28,32,.78) 100%),
    radial-gradient(80% 60% at 70% 20%,rgba(31,138,122,.25),transparent 60%);
}
.sg-hero-in{
  position:relative;z-index:1;width:100%;max-width:920px;margin:0 auto;
  padding:28px 20px 36px;color:#fff;
  animation:sgRise .7s ease both;
}
.sg-kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  opacity:.9;margin-bottom:12px;
}
.sg-kicker::before{content:"";width:18px;height:1px;background:rgba(255,255,255,.7)}
.sg-hero h1{
  margin:0;font-family:var(--sg-font-display);font-weight:700;
  font-size:clamp(28px,7vw,46px);line-height:1.18;letter-spacing:.01em;
  max-width:14em;
}
.sg-hero p{
  margin:12px 0 0;max-width:28em;font-size:14px;line-height:1.65;
  color:rgba(255,255,255,.86);
}
.sg-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.sg-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 20px;border-radius:999px;border:0;cursor:pointer;
  font-size:14px;font-weight:700;text-decoration:none;
  transition:transform .15s ease,box-shadow .2s ease,opacity .2s;
}
.sg-btn:active{transform:scale(.97)}
.sg-btn-primary{
  background:linear-gradient(135deg,var(--sg-play),var(--sg-play-deep));
  color:#fff;box-shadow:0 12px 28px rgba(227,91,47,.35);
}
.sg-btn-ghost{
  background:rgba(255,255,255,.14);color:#fff;
  border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px);
}

/* Sections */
.sg-wrap{max-width:920px;margin:0 auto;padding:0 16px 96px}
.sg-sec{padding-top:28px}
.sg-sec-h{
  display:flex;align-items:end;justify-content:space-between;gap:12px;
  margin-bottom:14px;
}
.sg-sec-h h2{
  margin:0;font-family:var(--sg-font-display);font-size:22px;font-weight:700;
}
.sg-sec-h p{margin:0;font-size:12px;color:rgba(18,38,43,.55)}
.sg-sec-h a{font-size:13px;font-weight:600;color:var(--sg-jade-deep);text-decoration:none}

/* Spot grid */
.sg-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
@media (min-width:720px){.sg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
.sg-spot{
  position:relative;display:block;text-decoration:none;color:inherit;
  border-radius:18px;overflow:hidden;background:#fff;
  border:1px solid var(--sg-line);
  box-shadow:0 10px 24px rgba(18,38,43,.05);
  animation:sgRise .55s ease both;
}
.sg-spot:nth-child(1){animation-delay:.04s}
.sg-spot:nth-child(2){animation-delay:.08s}
.sg-spot:nth-child(3){animation-delay:.12s}
.sg-spot:nth-child(4){animation-delay:.16s}
.sg-spot:nth-child(5){animation-delay:.2s}
.sg-spot:nth-child(6){animation-delay:.24s}
.sg-spot-cover{aspect-ratio:4/3;background:#d7e4e0 center/cover no-repeat;position:relative}
.sg-spot-cover::after{
  content:"";position:absolute;inset:auto 0 0 0;height:55%;
  background:linear-gradient(180deg,transparent,rgba(8,28,32,.72));
}
.sg-spot-play{
  position:absolute;right:10px;bottom:10px;z-index:2;
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.92);color:var(--sg-play);
  display:grid;place-items:center;font-size:12px;font-weight:800;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
.sg-spot-body{padding:12px 12px 14px}
.sg-spot-no{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;
  color:var(--sg-jade);margin-bottom:4px;
}
.sg-spot-title{
  margin:0;font-size:15px;font-weight:700;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.sg-spot-desc{
  margin:6px 0 0;font-size:12px;line-height:1.5;color:rgba(18,38,43,.58);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

/* Detail */
.sg-detail-hero{
  position:relative;min-height:42vh;background:#123 repeat center/cover;
}
.sg-detail-hero::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,28,32,.2),rgba(8,28,32,.78));
}
.sg-detail-hero-in{
  position:relative;z-index:1;max-width:920px;margin:0 auto;
  padding:72px 20px 28px;color:#fff;
}
.sg-detail-hero-in h1{
  margin:8px 0 0;font-family:var(--sg-font-display);
  font-size:clamp(24px,6vw,36px);line-height:1.2;
}
.sg-crumb{font-size:12px;opacity:.85}
.sg-crumb a{color:#fff;text-decoration:none;opacity:.9}
.sg-player{
  position:sticky;top:62px;z-index:40;margin:-28px auto 0;
  width:calc(100% - 32px);max-width:888px;box-sizing:border-box;
  background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  border:1px solid var(--sg-line);border-radius:20px;
  box-shadow:0 16px 40px rgba(18,38,43,.12);padding:14px 14px 12px;
}
.sg-player-top{display:flex;align-items:center;gap:12px}
.sg-play-btn{
  width:52px;height:52px;border-radius:50%;border:0;cursor:pointer;flex:none;
  background:linear-gradient(145deg,var(--sg-play),var(--sg-play-deep));
  color:#fff;font-size:18px;font-weight:700;
  box-shadow:0 10px 22px rgba(227,91,47,.35);
}
.sg-player-meta{min-width:0;flex:1}
.sg-player-meta strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-player-meta span{display:block;font-size:12px;color:rgba(18,38,43,.55);margin-top:2px}
.sg-progress{margin-top:10px}
.sg-seek-wrap{
  position:relative;height:28px;display:flex;align-items:center;
}
.sg-seek-bar{
  position:absolute;left:0;right:0;height:4px;border-radius:999px;
  background:rgba(18,38,43,.12);overflow:hidden;pointer-events:none;
}
.sg-seek-fill{
  height:100%;width:0%;border-radius:999px;background:var(--sg-jade);
  will-change:width;
}
.sg-seek-thumb{
  position:absolute;top:50%;left:0%;width:14px;height:14px;
  margin-top:-7px;margin-left:-7px;border-radius:50%;
  background:var(--sg-jade);box-shadow:0 1px 4px rgba(18,38,43,.25);
  pointer-events:none;will-change:left;
}
.sg-progress input.sg-seek[type=range]{
  position:relative;z-index:2;width:100%;height:28px;margin:0;
  opacity:0;cursor:pointer;accent-color:var(--sg-jade);
}
.sg-progress-row{
  display:flex;justify-content:space-between;font-size:11px;color:rgba(18,38,43,.5);margin-top:2px;
}
.sg-player-tools{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.sg-chip{
  height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--sg-line);
  background:#fff;font-size:12px;font-weight:600;cursor:pointer;color:var(--sg-ink);
}
.sg-chip.on{background:var(--sg-soft);border-color:rgba(31,138,122,.28);color:var(--sg-jade-deep)}
.sg-body-card{
  margin:18px auto 0;width:calc(100% - 32px);max-width:888px;box-sizing:border-box;
  background:#fff;border:1px solid var(--sg-line);border-radius:20px;padding:18px 16px 22px;
  box-shadow:0 10px 24px rgba(18,38,43,.04);
}
.sg-body-card h2{
  margin:0 0 10px;font-family:var(--sg-font-display);font-size:18px;
}
.sg-transcript{
  font-size:15px;line-height:1.85;color:rgba(18,38,43,.88);word-break:break-word;
}
.sg-transcript img{max-width:100%;height:auto;border-radius:12px}
.sg-transcript p{margin:0 0 1em}
.sg-related{margin:18px 16px 40px;max-width:888px;margin-left:auto;margin-right:auto}
.sg-related h3{margin:0 0 10px;font-size:16px;font-family:var(--sg-font-display)}

.sg-spot-qr{
  margin:28px auto 36px;width:calc(100% - 32px);max-width:888px;box-sizing:border-box;
  text-align:center;
}
.sg-spot-qr h3{
  margin:0 0 14px;font-size:16px;font-family:var(--sg-font-display);color:var(--sg-ink);
}
.sg-spot-qr-box{
  display:inline-block;padding:14px;background:#fff;border-radius:16px;
  border:1px solid var(--sg-line);box-shadow:0 8px 24px rgba(18,38,43,.06);
  line-height:0;
}
.sg-spot-qr-box img,.sg-spot-qr-box canvas{display:block;margin:0 auto}
.sg-spot-qr-tip{
  margin:12px 0 0;font-size:13px;color:rgba(18,38,43,.55);
}

.sg-empty{
  text-align:center;padding:48px 16px;color:rgba(18,38,43,.5);font-size:14px;
  background:rgba(255,255,255,.7);border-radius:18px;border:1px dashed var(--sg-line);
}
.sg-foot{
  margin-top:28px;padding:28px 16px 40px;text-align:center;
  color:rgba(18,38,43,.5);font-size:12px;
}
.sg-foot strong{display:block;color:var(--sg-ink);font-size:14px;margin-bottom:6px}
.sg-foot-more{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin:0 auto 8px;padding:10px 16px;border-radius:999px;
  color:var(--sg-ink);text-decoration:none;font-size:14px;font-weight:600;
  background:rgba(255,255,255,.88);border:1px solid var(--sg-line);
  box-shadow:0 6px 16px rgba(18,38,43,.06);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sg-foot-more:hover,.sg-foot-more:focus-visible{
  background:#fff;box-shadow:0 10px 22px rgba(18,38,43,.1);
  transform:translateY(-1px);outline:none;
}
.sg-foot-more-ico{flex:0 0 auto;color:var(--sg-accent,#0f766e);display:block}

.sg-foot-copy{margin-top:10px;font-size:12px;color:rgba(18,38,43,.55);line-height:1.6}
@keyframes sgRise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes sgPop{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:767px){
  .sg-hero{min-height:78vh}
}

/* ---- home redesign / no hamburger ---- */
.sg-no-menu .sg-menu-btn,
.sg-no-menu .sg-drawer{display:none!important}
.sg-nav-inline{
  display:flex;align-items:center;gap:4px;flex-wrap:wrap;
}
.sg-nav-inline a{
  text-decoration:none;color:var(--sg-muted,#5b6b73);
  font-size:13px;font-weight:600;padding:8px 10px;border-radius:999px;
}
.sg-nav-inline a.on,.sg-nav-inline a:hover{
  color:var(--sg-ink,#12262b);background:rgba(18,38,43,.06);
}
.sg-home-hero{min-height:78vh}
.sg-brand-hero{
  font-family:var(--sg-font-ui);
  font-size:clamp(2.2rem,7vw,3.6rem);font-weight:700;line-height:1.15;
  letter-spacing:.02em;color:#fff;margin:0 0 12px;
  text-shadow:0 10px 40px rgba(0,0,0,.35);
}
.sg-hero-line{
  max-width:28em;font-size:clamp(1rem,2.6vw,1.15rem);
  color:rgba(255,255,255,.9);margin:0 0 22px;line-height:1.6;
}
.sg-home-intro{
  /* 与详情页 .sg-player / .sg-body-card 同宽：左右各约 16px，最大 888 */
  width:calc(100% - 32px);max-width:888px;box-sizing:border-box;
  margin:-36px auto 28px;padding:0;position:relative;z-index:5;
}
.sg-home-player{
  /* 外层已留边，内层铺满，避免再套一层 calc(100%-32px) 变窄 */
  margin:0 0 18px;position:relative;top:auto;
  width:100%;max-width:none;
}
.sg-home-intro-card{
  margin:0;width:100%;max-width:none;
}
.sg-home-intro-body{font-size:15px;line-height:1.85;color:var(--sg-ink,#12262b)}
.sg-home-intro-body p{margin:0 0 .9em}
.sg-home-intro-body img{
  display:block;max-width:100%;width:100%;height:auto;border-radius:12px;
  margin:12px 0 16px;background:rgba(18,38,43,.06);
}
@media (max-width:720px){
  /* keep inline nav on mobile */
  .sg-home-hero{min-height:68vh}
}


/* homepage banner carousel (from 站点设置→顶部广告条) */
.sg-home-hero{position:relative;overflow:hidden;background:#12262b}
.sg-home-hero .sg-hero-slides{position:absolute;inset:0;z-index:0}
.sg-home-hero .sg-hero-slide{
  position:absolute;inset:0;opacity:0;transition:opacity .8s ease;
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.sg-home-hero .sg-hero-slide.on{opacity:1}
.sg-home-hero .sg-hero-slide-link{position:absolute;inset:0;z-index:1}
.sg-home-hero .sg-hero-in{position:relative;z-index:2}
.sg-home-hero .sg-hero-dots{
  position:absolute;left:0;right:0;bottom:18px;z-index:3;
  display:flex;justify-content:center;gap:8px;pointer-events:auto;
}
.sg-home-hero .sg-hero-dot{
  width:8px;height:8px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:rgba(255,255,255,.45);
}
.sg-home-hero .sg-hero-dot.on{background:#fff;transform:scale(1.15)}

/* 首页：导航与幻灯紧贴，去掉模板默认 .yk-home-blocks 顶距 */
body.sg-body .yk-home-blocks{padding-top:0!important}
body.sg-body .sg-home-hero{margin-top:0}
