.visit, .visit * { box-sizing: border-box; }
.visit [hidden], #visitor-home[hidden], #call-entry[hidden], .opening-call #visitor-home { display: none !important; }
.visitor-entry { margin: 0; background: #f8f5ef; color: #2c2a27; }
.visit { font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.visit h1, .visit h2, .visit p, .visit figure, .visit ol { margin: 0; }
.visit a { color: inherit; text-decoration: none; }
.visit a:hover { text-decoration: underline; text-underline-offset: .22em; }
.visit a:focus-visible, .visit button:focus-visible, .visit audio:focus-visible { outline: 3px solid #95503d; outline-offset: 4px; }
.visit-wrap { width: min(1064px, calc(100% - 84px)); margin-inline: auto; }
.visit-nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; border-bottom: 1px solid #d7d0c5; }
.visit-nav > a:last-child, .visit-secondary { font-size: 15px; font-weight: 600; }
.visit-wordmark, .visit h1, .visit h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", serif; }
.visit-wordmark { color: #533c33; font-size: 25px; font-weight: 700; letter-spacing: .035em; }
.visit-hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(32px, 5vw, 75px); padding-block: clamp(38px, 6vw, 83px); }
.visit h1 { font-size: clamp(45px, 5.65vw, 78px); line-height: 1.14; letter-spacing: -.035em; }
.visit-hero p, .visit-wechat p, .visit-sample-intro > p:not(.visit-label) { color: #5c554e; }
.visit-hero p { max-width: 26em; margin-top: 20px; }
.visit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; }
.visit-primary { display: inline-flex; gap: 14px; align-items: center; padding: 10px 18px; border-radius: 9px; color: #fffaf4 !important; background: #9c4936; font-weight: 650; }
.visit-primary:hover { background: #833d2e; }
.visit-secondary, .visit-nav > a:last-child { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.visit-art { display: block; width: 100%; height: auto; border-radius: 13px; }
.visit h2 { margin-bottom: 12px; font-size: clamp(29px, 3.15vw, 45px); line-height: 1.25; }
.visit-sample { background: #eee9e1; }
.visit-sample-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7%; align-items: start; padding-block: clamp(38px, 5vw, 70px); }
.visit-label { color: #834732; font-size: 13px; font-weight: 650; letter-spacing: .1em; }
.visit-sample-intro h2 { margin-top: 9px; }
.visit .visit-fine { margin-top: 14px; color: #645d55; font-size: 13px; }
.visit-fine a { text-decoration: underline; }
.visit-player { padding: clamp(17px, 2.2vw, 28px); border: 1px solid #d8cfc4; border-radius: 14px; background: #fcfaf6; }
.visit-player audio { display: block; width: 100%; }
.visit .visit-transcript-label { margin: 19px 0 5px; font-weight: 650; }
.visit-transcript-label span, .visit-lines b, .visit-lines time, .visit-wechat figcaption { color: #675d54; font-size: 13px; font-weight: 450; }
.visit-transcript-label span { margin-left: 8px; }
.visit-lines { list-style: none; padding: 0; }
.visit-lines li + li { border-top: 1px solid #e8e1d8; }
.visit-lines button { width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: start; min-height: 48px; padding: 10px 5px; border: 0; border-radius: 4px; background: transparent; color: inherit; text-align: left; font: inherit; font-size: 15px; line-height: 1.55; cursor: pointer; }
.visit-lines button:hover, .visit-lines button[aria-current] { background: #f1e8dc; }
.visit-lines b { display: block; margin-bottom: 2px; }
.visit-lines time { font-variant-numeric: tabular-nums; }
.visit-wechat { display: flex; align-items: center; justify-content: space-between; gap: 38px; padding-block: clamp(37px, 5.5vw, 74px); }
.visit-wechat > div { max-width: 37em; }
.visit-wechat figure { flex-shrink: 0; text-align: center; }
.visit-wechat img { display: block; width: 156px; height: 156px; margin: 0 auto 8px; border-radius: 9px; }
.visit-wechat .visit-secondary { margin-top: 9px; }
.visit-footer, .visit-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 19px; }
.visit-footer { justify-content: space-between; border-top: 1px solid #d7d0c5; padding-block: 24px; color: #605950; font-size: 13px; }
.visit-footer strong { display: block; font-weight: 600; }
#visit-restore { margin-top: 15px; border: 0; padding: 4px 0; background: none; color: #804633; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
@media (max-width: 740px) {
  .visit-wrap { width: calc(100% - 40px); }
  .visit-nav { min-height: 58px; }
  .visit-hero, .visit-sample-grid { grid-template-columns: 1fr; gap: 23px; }
  .visit-hero { padding-block: 30px; }
  .visit-hero p { margin-top: 12px; }
  .visit-actions { margin-top: 16px; }
  .visit-art { max-height: 235px; object-fit: cover; object-position: 50% 48%; }
  .visit-sample-grid { padding-block: 32px; }
  .visit-wechat { align-items: flex-start; flex-direction: column; gap: 18px; }
  .visit-wechat figure { align-self: center; }
  .visit-footer { align-items: flex-start; flex-direction: column; }
}
