.st-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.8rem 0 1.2rem;padding:.65rem .8rem;background:var(--paper,#faf8f1);border:1px solid #ddd4c1;border-radius:10px;line-height:1.5;font-size:15px;color:#71634c}
.st-modes{display:flex;gap:3px;flex-shrink:0}
.st-controls button,.st-term-dialog button{font:inherit;color:inherit;cursor:pointer;border:1px solid #d8ceba;border-radius:7px;background:#fffdf6;padding:.4em .8em}
.st-modes button[aria-pressed=true],.st-term-options button[aria-pressed=true]{background:#e4ebe1;color:#304e48;font-weight:700;border-color:#b1c3b6}
.st-controls small{font-size:12px}
.parallel-toolbar{flex-wrap:wrap}.parallel-toolbar>.st-controls{flex-basis:100%;margin:.2rem 0 .6rem}
.st-source-hidden{display:none!important}
.st-translation{margin:.25em 0 1.2em;padding:.35em .9em;border-left:2px solid #d9d3c6;background:transparent;color:#736b60;font-size:.84em;line-height:1.8;text-indent:0;font-weight:400}
.st-translation[hidden]{display:none!important}
.st-translation>small{display:block;font:11px/1.6 system-ui,sans-serif;color:#82796c;margin-bottom:.35em}
.st-plain-text{font-family:KaiTi,STKaiti,"Kaiti SC","Noto Serif CJK SC",serif;font-size:inherit;white-space:pre-wrap;overflow-wrap:anywhere;text-indent:0}
:root:is([data-reader-font=kai],[data-reader-font=yao],[data-reader-font=lishu]) .st-plain-text{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif}
.study-parallels .st-translation{margin-left:0;font-size:calc(var(--parallel-font-size,18px)*.84)}
.st-translation .st-term{appearance:none;display:inline;font:inherit;line-height:inherit;color:inherit;padding:0;border:0;border-bottom:1px dotted #a59d8f;background:none;cursor:pointer;border-radius:0;text-indent:0;white-space:normal}
.st-term:focus-visible{outline:2px solid #94754d;outline-offset:2px}
.st-translation .st-term:hover{background:#e8e3d8}
.st-term-tooltip{position:fixed;z-index:120;box-sizing:border-box;width:max-content;max-width:min(350px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow:hidden;padding:10px 13px;border:1px solid #d6cebd;border-radius:7px;box-shadow:0 3px 12px #30291b20;background:#f6f2e8;color:#39362f;pointer-events:none;overflow-wrap:anywhere;font:15px/1.6 "Microsoft YaHei",system-ui,sans-serif;text-indent:0}
.st-term-tooltip[hidden]{display:none!important}.st-term-tooltip small{display:block;margin-top:4px;color:#776e5e;font-size:12px}
.st-term-dialog{box-sizing:border-box;width:min(560px,94vw);max-height:86dvh;overflow:auto;padding:1.2rem;border:1px solid #d8ceba;border-radius:14px;background:#fffdf6;color:#302c25;font:16px/1.6 system-ui,sans-serif}
.st-term-dialog::backdrop{background:#0005}
.st-term-dialog h3{margin:0 0 .5em}.st-term-dialog p{font-size:14px}.st-term-options{display:grid;gap:.5rem;margin:1rem 0}.st-term-options button{text-align:left;display:grid;gap:.2em;min-height:48px}.st-term-options button:disabled{opacity:.5;cursor:default}.st-term-options span{font-size:14px}.st-evidence{white-space:pre-wrap}.st-term-dialog details{margin:.6em 0}
@media(max-width:680px){.st-controls{align-items:flex-start;gap:.45rem}.st-controls small{flex-basis:100%}.st-modes button{min-height:40px}.st-translation{padding:.5em .6em;margin-bottom:1em}.st-term-dialog{padding:1rem}}
