@font-face{font-family:Title;src:url("art/title.woff2") format("woff2");font-display:swap;font-weight:100 900}
:root{--bg:#f7f6f1;--card:#fffef9;--ink:#223a33;--teal:#183e34;--muted:#626e61;--red:#a7402d;--border:#ddded2;--gold:#b09459;--serif:Title,"Songti SC","Noto Serif CJK SC","Noto Serif",serif;--gutter:clamp(16px,3.2vw,44px);color-scheme:light;font:15px/1.5 "PingFang SC","Noto Sans CJK SC",Roboto,system-ui,sans-serif;color:var(--ink);background:var(--bg);-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0;touch-action:manipulation}
button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #b45a3d;outline-offset:3px}
button[disabled]{cursor:default;opacity:.5}
button:active:not(:disabled){filter:brightness(.95)}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3,.brand,.reading-title{font-family:var(--serif);font-weight:650}
svg.ico{width:20px;height:20px;display:inline-block;vertical-align:middle;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65;fill:none;flex:none}
.topbar{border-bottom:1px solid var(--border);background:var(--bg)}
.bar-inner{height:70px;max-width:1200px;margin:auto;padding:0 var(--gutter);display:flex;align-items:center;gap:44px}
.brand{display:flex;align-items:center;gap:11px;font-size:26px;letter-spacing:.09em;white-space:nowrap}
.brand-mark{width:34px;height:37px;border-radius:8px 3px 8px 3px;background:#204d40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:inset 0 0 0 2px #204d40,inset 0 0 0 3px #b8a071}
.brand-mark i,.glyph i{display:block;width:19px;height:3px;background:#e5c78a}
.brand-mark i:nth-child(2){background:linear-gradient(to right,#e5c78a 40%,transparent 40% 60%,#e5c78a 60%)}
#main-nav{align-self:stretch;display:flex;align-items:stretch;gap:9px}
.nav-link{position:relative;padding:0 17px;display:flex;align-items:center;justify-content:center;gap:7px;color:#626b5e;font-weight:500}
.nav-link.active{color:var(--teal);font-weight:700}
.nav-link.active:after{content:"";position:absolute;height:3px;bottom:0;left:15px;right:15px;border-radius:2px;background:var(--teal)}
.help{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:var(--muted);min-height:44px;font-size:13px}
.help .ico{width:17px}
#page{max-width:1200px;margin:0 auto;padding:22px var(--gutter) 40px;outline:none}
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;color:#f9f4df;padding:24px clamp(22px,3.4vw,47px);min-height:clamp(150px,20vw,204px);display:flex;justify-content:center;flex-direction:column;background-color:#173e38;background-image:url("art/hero.webp");background-position:50% 56%;background-size:cover}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0d302e8c,transparent 60%)}
.date{font-size:12px;display:flex;align-items:center;gap:8px;letter-spacing:.08em;color:#e1d7b5}
.date:before{content:"";width:23px;height:1px;background:#bea67b}
.hero h1{font-size:clamp(39px,5vw,62px);line-height:1.24;letter-spacing:.095em;margin:6px 0}
.hero .sub{font-size:14px;letter-spacing:.07em;color:#eeeada}
.workspace{margin-top:20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
.panel{min-width:0;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:clamp(17px,2.2vw,27px)}
.panel-head,.section-head,.between{display:flex;align-items:center;justify-content:space-between;gap:10px}
.panel h2,.section-head h2{display:flex;align-items:center;gap:10px;font-size:clamp(21px,2.6vw,28px);line-height:1.25;letter-spacing:.015em}
.panel h2:before,.section-head h2:before{content:"";display:block;width:4px;height:.78em;background:var(--red);border-radius:1px}
.mode-switch{display:flex;background:#f0f0e7;padding:3px;border-radius:9px}
.mode-switch button{font-size:12px;min-width:48px;min-height:33px;border-radius:6px;padding:2px 9px;color:var(--muted)}
.mode-switch button[aria-pressed=true]{background:#fffef9;color:var(--teal);font-weight:650;box-shadow:0 1px 4px #34443824}
.question-field{margin-top:18px;display:flex;align-items:center;gap:10px;padding:0 13px;min-height:43px;border:1px solid var(--border);border-radius:8px;background:#fbfaf5}
.question-field .ico{width:16px;color:#8d8e7c}
.question-field input,.search input{background:none;border:0;outline:none;width:100%;min-width:0;font-size:14px;padding:9px 0}
.question-field:focus-within,.search:focus-within{border-color:#6d8878;box-shadow:0 0 0 2px #82948524}
.question-field input:focus-visible,.search input:focus-visible{outline:none}
::placeholder{color:#74796d;opacity:1}
.question-field .optional{color:#737769;font-size:11px;white-space:nowrap}
.coin-area{min-height:150px;margin:12px 0;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:radial-gradient(ellipse closest-side at center,#efe4c6a1,#f8f4e85e 70%,transparent 99%);border-radius:8px}
.coins{display:flex;justify-content:center;align-items:center;gap:clamp(11px,2vw,27px);padding:8px 0 0}
.coin{--rim:#71501f;position:relative;isolation:isolate;display:block;width:clamp(57px,7.1vw,82px);aspect-ratio:1;border:2px solid #80612f;border-radius:50%;background:repeating-conic-gradient(from 42deg,#e0c98b18 0 1deg,#7d5b2e12 1deg 3deg,transparent 3deg 7deg),linear-gradient(145deg,#ddc182 5%,#ac8a49 34%,#e0c68a 49%,#b3975c 72%,#847042 100%);box-shadow:inset 0 0 0 1.5px #eedba0,inset 0 0 0 3px #886839,1px 2px 0 #715526,1px 4px 0 #8b7044,1px 8px 9px #5c4c2a35;transform:rotate(var(--tilt))}
.coin:before{content:"";position:absolute;inset:7%;border:1px solid #886936;border-radius:50%;box-shadow:0 1px 1px #ecd79b,inset 0 0 1px 1px #ccb47a}
.coin:nth-child(1){--tilt:-13deg}.coin:nth-child(2){--tilt:7deg;filter:brightness(1.04)}.coin:nth-child(3){--tilt:16deg;filter:brightness(.97)}
.coin b{font:750 clamp(10px,1.65vw,17px)/1 var(--serif);position:absolute;color:#6a532b;text-shadow:0 1px #ebd7a1}
.coin b:nth-child(1){top:10%;left:50%;translate:-50% 0}.coin b:nth-child(2){bottom:10%;left:50%;translate:-50% 0}.coin b:nth-child(3){right:11%;top:50%;translate:0 -50%}.coin b:nth-child(4){left:11%;top:50%;translate:0 -50%}
.coin-hole{position:absolute;left:38%;top:38%;width:24%;height:24%;border:2px solid #796234;border-radius:1px;box-shadow:0 0 0 1.5px #ddc78b,0 0 0 2.5px #8f713a,inset 1px 2px 2px #8e7958;background:#f5efdc}
.coin.back b{display:none}.coin.back:after{content:"";position:absolute;inset:22% 19%;border-left:3px double #796336;border-right:3px double #796336;border-radius:45%}
.tossing .coin{animation:toss .48s ease-in-out both}.tossing .coin:nth-child(2){animation-delay:35ms}.tossing .coin:nth-child(3){animation-delay:65ms}
@keyframes toss{0%,100%{transform:translateY(0) rotate(var(--tilt))}50%{transform:translateY(-12px) rotateX(120deg) rotate(20deg)}}
.coin-caption{font-size:12px;color:var(--muted);letter-spacing:.06em}
.primary,.secondary,.danger{min-height:46px;padding:10px 17px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:15px;font-weight:600}
.primary{color:#fffdf1;background:var(--teal)}.primary .ico{width:20px}
.secondary{border:1px solid #c4caba;background:#fcfbf4}.danger{background:var(--red);color:white}
.full{width:100%}.action-row{display:flex;gap:9px}.action-row .primary{flex:1}
.foot-actions{min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:12px;margin-top:5px}
.text-btn{font-size:13px;display:inline-flex;align-items:center;gap:5px;min-height:38px;color:var(--teal)}.text-btn .ico{width:15px}
.count{display:inline-flex;align-items:baseline;gap:4px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.count strong{font:600 24px/1 Georgia,serif;color:var(--teal)}
.chart{margin-top:17px}
.yao-row{display:grid;grid-template-columns:41px minmax(42px,1fr) 60px;align-items:center;gap:14px;min-height:36px;border-bottom:1px solid #e3e3d8;font-size:13px;padding:3px 8px}
.yao-row:last-child{border-bottom:0}
.yao-row.next{color:var(--teal);background:#edf2e9;border-radius:5px}
.yao-name{font-family:var(--serif);font-weight:600;font-size:15px;white-space:nowrap}
.yao-trace{width:100%;max-width:118px;height:4px;justify-self:center;position:relative;display:block;border-radius:1px}
.yao-trace.blank{height:1px;background:repeating-linear-gradient(to right,#c5c8bb 0 4px,transparent 4px 8px)}
.yao-trace.yang{background:var(--teal)}
.yao-trace.yin{background:linear-gradient(to right,var(--teal) 0 42%,transparent 42% 58%,var(--teal) 58%)}
.yao-state{text-align:right;color:var(--muted);font-size:12px}
.yao-row.next .yao-state{color:var(--teal);font-weight:650}
.yao-state.moving,.moving{color:var(--red)}
.chart-foot{margin-top:12px;padding-top:10px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:12px;color:var(--muted)}
.chart-foot span{display:inline-flex;align-items:center;gap:5px}
.chart-foot .ico{width:14px}.small-circle{width:7px;height:7px;border-radius:50%;display:inline-block;background:#aa4f38}
.manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.manual-grid button{background:#f7f5ea;border:1px solid var(--border);border-radius:7px;min-height:45px;display:flex;justify-content:center;align-items:center;gap:9px;font-size:14px}
.manual-grid em{font-style:normal;font:17px Georgia;color:#8b6935}
.manual-grid button.selected{background:#e7eee3;border-color:#72917f}
.manual-stage{min-height:150px;margin:12px 0;display:flex;flex-direction:column;justify-content:center;gap:9px}
.read-next{margin-top:19px;display:flex;align-items:center;text-align:left;gap:16px;width:100%;padding:16px 22px;border-block:1px solid var(--border);color:var(--ink)}
.read-next .hint{font-size:12px;color:var(--muted);margin-right:6px}.read-next strong{font:650 19px var(--serif)}.read-next .quote{font:16px var(--serif);color:var(--muted);margin-left:6px}.read-next .arrow{margin-left:auto}
.glyph{display:inline-flex;flex-direction:column-reverse;gap:3px;flex:none}
.glyph i{height:3px;width:25px;background:var(--teal)}
.glyph i.yin{background:linear-gradient(90deg,var(--teal) 41%,transparent 41% 59%,var(--teal) 59%)}
.page-heading{margin:5px 0 20px}.page-heading h1{font-size:36px;letter-spacing:.07em}.page-heading p,.subtle{color:var(--muted);font-size:14px}
.search{display:flex;align-items:center;gap:9px;border:1px solid var(--border);background:var(--card);border-radius:8px;max-width:520px;padding:0 13px;margin:10px 0 18px;min-height:45px}
.search .ico{width:17px;color:var(--muted)}
.catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.entry{background:var(--card);border:1px solid var(--border);border-radius:9px;min-height:86px;padding:12px 16px;display:flex;align-items:center;gap:13px;text-align:left}
.entry .detail{display:flex;flex-direction:column;gap:3px}.entry .num,.tiny{font-size:12px;color:var(--muted)}.entry strong{font:650 20px/1.25 var(--serif)}
.records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.record{position:relative;border:1px solid var(--border);border-radius:11px;background:var(--card)}
.record-open{padding:18px 52px 18px 18px;width:100%;display:flex;align-items:center;gap:16px;text-align:left}.record-open strong,.record-open small{display:block}.record-open strong{font:650 20px var(--serif);margin:5px 0}.record-open small{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.record-open>span:last-child{min-width:0}
.remove{width:44px;height:44px;position:absolute;right:5px;top:50%;transform:translateY(-50%);color:var(--muted)}
.empty-state{padding:52px 20px;text-align:center;border:1px dashed #c6cbbd;border-radius:12px}.empty-state .ico{width:30px;height:30px;margin-bottom:10px}.empty-state h2{font-size:23px;margin-bottom:7px}.empty-state button{margin-top:18px}
.back-link{display:inline-flex;align-items:center;gap:6px;min-height:40px;color:var(--muted);font-size:14px}.back-link .ico{width:17px}
.reading-head{padding:18px 19px;margin:8px 0 16px;background:#eaf0e6;border-radius:12px}
.reading-head h1{font-size:31px;line-height:1.4}.reading-head p{margin-top:4px;color:var(--muted);overflow-wrap:anywhere}
.reading-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.gua-head{display:flex;gap:15px;align-items:center}.gua-head .glyph{background:#e8ece0;align-items:center;justify-content:center;gap:3px;padding:12px;border-radius:8px}.gua-head .glyph i{width:32px}
.gua-head h2:before{display:none}.gua-head h2{margin:3px 0 0}.gua-block h3{font-size:19px;margin:19px 0 6px}
.classic{font:500 20px/1.8 var(--serif);letter-spacing:.03em;overflow-wrap:anywhere}
.insight{color:var(--muted);font-size:15px;line-height:1.8}.line-list{list-style:none;margin:0;padding:0}.line-list li{padding:9px 0;border-top:1px solid var(--border);line-height:1.8}.line-list .highlight{color:var(--red);font-weight:600}
.pair-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:17px;gap:8px}.pair-head button{text-align:left}.pair-head>span{color:var(--muted)}
.pair-head b{display:block;font:650 22px var(--serif)}.pair-head small{color:var(--muted)}
.chart-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:13px}.chart-table td,.chart-table th{padding:8px 3px;text-align:center;border-bottom:1px solid var(--border);white-space:nowrap}.chart-table th{font-size:12px;color:var(--muted);font-weight:500}.chart-table .yao-trace{width:38px;margin:auto}
.note-label{display:block;font-weight:600;margin-top:18px}.note-input{display:block;resize:vertical;width:100%;min-height:72px;margin-top:6px;border-radius:7px;border:1px solid var(--border);background:#faf9f4;padding:10px;font-size:14px}.result-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
dialog{width:min(440px,calc(100% - 32px));max-height:85dvh;margin:auto;border:1px solid #cbd0bf;background:var(--card);color:var(--ink);border-radius:15px;padding:23px;box-shadow:0 12px 90px #142d2940}
dialog::backdrop{background:#182c255c}
dialog h2{font-size:24px}dialog p{margin:10px 0;color:var(--muted);line-height:1.8}.close-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f0f1e7}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.guide-steps{padding-left:21px;line-height:1.9}.guide-steps li{margin:7px 0}.value-key{display:grid;grid-template-columns:1fr 1fr;gap:7px}.value-key span{padding:8px;background:#f2f2e9;font-size:13px;border-radius:6px}
#notice{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);z-index:10;border-radius:9px;background:#1e4238;color:white;box-shadow:0 2px 10px #182d2926;font-size:13px;pointer-events:none;white-space:nowrap}
#notice:not(:empty){padding:10px 16px}
@media(min-width:1000px){.yao-row{min-height:41px}.coin-area,.manual-stage{min-height:174px}}
@media(max-width:850px){.catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.bar-inner{gap:22px}.coin-area,.manual-stage{min-height:137px}.workspace{gap:14px}}
@media(max-width:599.98px){:root{--gutter:15px}
 .bar-inner{height:54px;gap:12px}.brand{font-size:23px;gap:8px}.brand-mark{width:29px;height:31px}.brand-mark i{width:16px}
 #main-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;gap:0;z-index:5;border-top:1px solid var(--border);background:#fbfaf3;padding-bottom:env(safe-area-inset-bottom,0px)}
 .nav-link{flex:1;flex-direction:column;gap:1px;font-size:11px;min-height:53px;padding:4px 0}.nav-link.active:after{display:none}.nav-link.active .ico{stroke-width:2.15}
 .help{font-size:12px}#page{padding-top:12px;padding-bottom:calc(75px + env(safe-area-inset-bottom,0px))}
 .hero{min-height:130px;background-position:65% 50%;padding:15px 21px;border-radius:12px}.hero h1{font-size:39px}.hero .sub{font-size:12px}.date{font-size:10px}
 .workspace,.reading-grid,.records{grid-template-columns:1fr;gap:12px}.workspace{margin-top:12px}
 .panel{padding:16px}.panel h2,.section-head h2{font-size:23px}.question-field{margin-top:12px}
 .coin-area,.manual-stage{min-height:116px;margin:7px 0}.coin{width:63px}.coin b{font-size:14px}.coins{gap:20px}.chart{margin-top:11px}.foot-actions{min-height:28px}.read-next{padding:14px 3px;gap:9px}.read-next .quote{display:none}
 .catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.entry{min-height:76px;padding:10px 11px;gap:10px}.entry strong{font-size:18px}.page-heading h1{font-size:30px}.reading-head h1{font-size:26px}
 #notice{bottom:calc(68px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:345px){.entry{gap:6px;padding:8px}.entry strong{font-size:16px}.coins{gap:15px}.read-next .hint{display:none}.bar-inner{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Posture metrics are relative to the current WebView. Each scroll pane stays on one side of the hinge. */
html[data-fold=vertical] #page,html[data-fold=vertical] .bar-inner{max-width:none}
html[data-fold=vertical] .workspace,html[data-fold=vertical] .reading-grid{grid-template-columns:minmax(0,calc(var(--hinge-x) - var(--gutter) - 10px)) minmax(0,1fr);column-gap:calc(var(--hinge-w) + 20px)}
html[data-fold=vertical] .bar-inner{display:grid;grid-template-columns:calc(var(--hinge-x) - var(--gutter) - 10px) 1fr auto;gap:0}
html[data-fold=vertical] #main-nav{margin-left:calc(var(--hinge-w) + 10px);gap:0;position:static;border:0}
html[data-fold=vertical] .nav-link{padding:0 8px}html[data-fold=vertical] .help{padding-left:5px}
html[data-fold=vertical] .help span:last-child{display:none}
html[data-fold=vertical] .catalog,html[data-fold=vertical] .records{grid-template-columns:minmax(0,calc(var(--hinge-x) - var(--gutter) - 10px)) minmax(0,1fr);column-gap:calc(var(--hinge-w) + 20px)}
html[data-fold=vertical] .read-next{width:calc(var(--hinge-x) - var(--gutter) - 10px)}
html[data-fold=vertical] .hero,html[data-fold=vertical] .reading-head{padding-right:calc(100% - var(--hinge-x) + 10px)}
html[data-fold=vertical] .search{width:calc(var(--hinge-x) - var(--gutter) - 10px)}
html[data-fold=vertical] dialog{max-width:calc(100vw - var(--hinge-x) - var(--hinge-w) - 20px);left:calc(var(--hinge-x) + var(--hinge-w));right:0}
html[data-fold=horizontal] .bar-inner{height:45px}
html[data-fold=horizontal] #page{position:fixed;inset:46px 0 auto;max-height:calc(var(--hinge-y) - 52px);overflow:auto;width:100%;padding:6px var(--gutter)}
html[data-fold=horizontal] body[data-page=cast] #page{position:static;max-height:none;overflow:visible;padding:0}
html[data-fold=horizontal] body[data-page=cast] .hero,html[data-fold=horizontal] .read-next{display:none}
html[data-fold=horizontal] .workspace{display:block;margin:0}
html[data-fold=horizontal] .workspace .panel{position:fixed;left:var(--gutter);right:var(--gutter);overflow:auto;padding:12px}
html[data-fold=horizontal] .chart-panel{top:51px;height:calc(var(--hinge-y) - 57px)}
html[data-fold=horizontal] .cast-panel{top:calc(var(--hinge-y) + var(--hinge-h) + 6px);bottom:6px}
html[data-fold=horizontal] .coin-area,html[data-fold=horizontal] .manual-stage{min-height:94px}
html[data-fold=horizontal] .yao-row{min-height:28px}html[data-fold=horizontal] .chart{margin-top:6px}
html[data-fold=horizontal] dialog{top:calc(var(--hinge-y) + var(--hinge-h));bottom:0;max-height:calc(100dvh - var(--hinge-y) - var(--hinge-h) - 10px)}
@media(max-width:599.98px){html[data-fold=horizontal] .cast-panel{bottom:58px}}
@media(min-width:600px){.hero{background-position:50% 31%}}
.end-actions{display:flex;align-items:center;gap:12px}
.manual-result .yao-trace{width:80px;height:6px;flex:none;margin:14px 0}
.pillars{display:flex;flex-wrap:wrap;gap:6px 13px;background:#f1f1e6;border-radius:7px;padding:10px;font-size:13px;color:var(--muted)}
.pillars b{font-weight:600;color:var(--ink)}.cal-date{margin:6px 1px 0}
@media (max-width:740px){.chart-table .yao-trace{width:25px}.chart-table td,.chart-table th{padding-inline:1px}}
html[data-fold=horizontal] body:is([data-page=result],[data-page=gua],[data-page=history],[data-page=library]) #page{height:calc(var(--hinge-y) - 52px)}
html[data-fold=horizontal] .reading-grid{display:block}
html[data-fold=horizontal] body:is([data-page=result],[data-page=gua]) .reading-grid>.panel:last-child,html[data-fold=horizontal] :is(#catalog-results,.records,.empty-state):not(#catalog-results .empty-state){position:fixed;left:var(--gutter);right:var(--gutter);top:calc(var(--hinge-y) + var(--hinge-h) + 6px);bottom:6px;overflow:auto}
html[data-fold=horizontal] .records{align-content:start}
@media(max-width:599.98px){html[data-fold=horizontal] body:is([data-page=result],[data-page=gua]) .reading-grid>.panel:last-child,html[data-fold=horizontal] :is(#catalog-results,.records,.empty-state):not(#catalog-results .empty-state){bottom:58px}}
.pair-item{min-height:46px;display:flex;align-items:center;gap:9px}
.pair-item .glyph{gap:2px}.pair-item .glyph i{height:2.5px;width:19px}
@media(min-width:600px) and (max-width:760px){.pair-item{gap:5px}.pair-item b{font-size:17px}.pair-head{gap:3px}.pair-head>span .ico{width:15px}}
@media(min-width:600px) and (max-height:650px){
 html:not([data-fold=horizontal]) .bar-inner{height:54px}
 html:not([data-fold=horizontal]) #page{padding-top:12px}
 .hero{min-height:112px;padding-block:13px}
 .hero h1{font-size:39px;margin:3px 0}.hero .sub{font-size:12px}
 .workspace{margin-top:12px}.workspace .panel{padding:15px}
 .workspace h2{font-size:22px}.question-field{margin-top:11px;min-height:37px}
 .question-field input{padding-block:6px}
 .coin-area,.manual-stage{min-height:106px;margin:6px 0}
 .coins{padding:3px 0 0}.coin{width:59px}.coin b{font-size:13px}
 .foot-actions{min-height:24px;margin-top:2px}.chart{margin-top:9px}
 .yao-row{min-height:29px}.chart-foot{margin-top:6px;padding-top:7px}
 .read-next{margin-top:12px;padding-block:12px}
}

.stacked-trigrams{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:none;--lk-sign-width:25px;--lk-line-height:2.5px;--lk-line-gap:2px}
.gua-head>.stacked-trigrams{padding:13px;background:#f2f0e5;border:1px solid #dfdfd0;border-radius:9px;--lk-sign-width:39px;--lk-line-height:4px;--lk-line-gap:3px;gap:6px}
.gua-composition{font-size:13px;color:var(--muted);margin-top:4px}.gua-composition span{color:#9ba390;padding-inline:3px}
.gua-block h3 small{font:400 12px/1.5 system-ui,sans-serif;color:var(--muted)}
.image-text{border-left:2px solid #b19860;padding-left:13px}
.source-line{margin-top:13px}.source-link{display:inline-flex;align-items:center;gap:5px;padding-block:9px;font-size:13px;text-underline-offset:3px;color:var(--teal)}
.variant-note{font-size:12px;line-height:1.7;color:var(--muted);padding:7px 10px;background:#f4f1e6;border-radius:5px}
.changed-reading{border-top:1px solid var(--border);margin-top:17px;padding-top:14px}
.changed-label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
.pair-item .stacked-trigrams{--lk-sign-width:20px;--lk-line-height:2px;--lk-line-gap:2px}
.gua-head h1{font-size:clamp(23px,2.8vw,31px);line-height:1.3;margin:3px 0 0}
.study-note{border-top:1px solid var(--border);margin-top:9px;padding-top:9px}
.study-note summary{cursor:pointer;color:var(--teal);font-weight:600;padding-block:7px}.study-note p{margin:5px 0}
