.sf-page {
  width:100%;min-width:0;display:grid;gap:.8rem;color:#24342d;
  font-family:inherit;isolation:isolate;overflow-wrap:anywhere;
}
.sf-chart {background:#eef3e9;border-radius:12px;overflow:hidden}
.sf-chart svg {display:block;width:100%;height:clamp(36px,7vw,64px)}
.sf-stops {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:.45rem .25rem;margin:0;list-style:none;text-align:center;gap:.25rem}
.sf-stops li {font-size:clamp(.72rem,1.9vw,.9rem);color:#466052;padding:.1rem 0}
.sf-stops .here {font-weight:700;color:#264633;text-decoration:underline;text-underline-offset:.24rem}
.sf-title {font:600 clamp(1.25rem,4vw,1.65rem)/1.3 "Songti SC","STSong",serif;margin:0}
.sf-prompt,.sf-status,.sf-original,.sf-tip,.sf-caption {margin:0;line-height:1.55}
.sf-status:empty,.sf-tip:empty,.sf-actions:empty {display:none}
.sf-status,.sf-tip,.sf-original {font-size:.89rem;color:#4d5a4f}
.sf-script {font:500 clamp(1.2rem,4.8vw,1.65rem)/1.8 "Songti SC","STSong",Georgia,serif;margin:0;
  padding:.75rem .9rem;background:#faf4e6;border-radius:3px 12px 12px 3px;border-inline-start:3px solid #b77142}
.sf-script:lang(en) {font-family:Georgia,"Times New Roman",serif}
.sf-actions,.sf-sounds {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.sf-actions button,.sf-sounds button {min-height:44px;max-width:100%;white-space:normal}
.sf-actions [hidden] {display:none}
.sf-actions .sf-record {min-height:56px;min-width:56px}
.sf-actions [aria-pressed=true] {background:#e9f0e8;border-color:#456c50}
.sf-frames {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:8px}
.sf-frames li {background:#fbfaf4;border:1px solid #c3cdc0;border-radius:7px;padding:.6rem;min-width:0}
.sf-frames .current {border-block-start:3px solid #456c50}
.sf-frames small {color:#4d5a4f}
.sf-frames p {font:1.08rem/1.35 Georgia,serif;margin:.35rem 0}
.sf-frames button {margin:.2rem .2rem 0 0}
.sf-reread {padding:.35rem .6rem;border-inline-start:2px solid #b77142;line-height:1.65}
.sf-reread summary {cursor:pointer;min-height:44px;align-content:center}


.sf-guide-label {display:block;font:600 .82rem/1.5 -apple-system,"PingFang SC",sans-serif;letter-spacing:.02em;color:#405947}
.sf-guide-current {background:#f3d59f;color:#27382d;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.18em}

.sf-script .sf-inline-front,.sf-script .sf-inline-back {font:inherit;padding:0 .08em;min-width:44px;min-height:44px;color:#24342d;border:0;border-radius:4px;text-underline-offset:.14em}
.sf-script .sf-inline-front {background:#dae9ef;text-decoration:underline solid #437486}
.sf-script .sf-inline-back {background:#f2dfbc;text-decoration:underline double #8a682c}

.sf-script .sf-word,.sf-frames .sf-word {
  display:inline-block; margin:0; padding:0 .12em; min-height:44px; min-width:2ch;
  color:#294d39; background:transparent; border:0; border-radius:3px; font:inherit;
  text-decoration:underline dotted; text-underline-offset:.18em;
}
.sf-word:focus-visible {outline:2px solid #456c50; outline-offset:1px}
