:root{--font-scale:1;--font-body:17.5px;--rt:.64em;--measure:40em;--bg:#fbfaf7;--fg:#23201c;--fg-muted:#5f5850;--rule:#ddd6ca;--accent:#7a5c2e;--target:#fdf2c9;--ruby:#9d5a35;--card-bg:#fffdf8;--shadow:0 2px 12px #23201c2e}@media (prefers-color-scheme:dark){:root{--bg:#161513;--fg:#e8e3da;--fg-muted:#a8a096;--rule:#3a352f;--accent:#d7b374;--target:#3d3417;--ruby:#d08f63;--card-bg:#221f1b;--shadow:0 2px 12px #0000008c}}*,:before,:after{box-sizing:border-box}html{font-size:calc(var(--font-body) * var(--font-scale));-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--fg);font-feature-settings:"palt";margin:0;font-family:Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;line-height:1.95}.wrap{max-width:var(--measure);margin:0 auto;padding:0 1.1rem}.site-header,.site-footer{border-color:var(--rule);border-style:solid;border-width:0;font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-size:.82rem;line-height:1.7}.site-header{border-bottom-width:1px;padding:.7rem 0}.site-footer{color:var(--fg-muted);border-top-width:1px;margin-top:3.5rem;padding:1.4rem 0 3rem}.site-header a,.site-footer a{color:inherit}.site-title{font-weight:600;text-decoration:none}.site-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem 1rem;display:flex}.site-nav{flex-wrap:wrap;align-items:center;gap:.3rem .9rem;display:flex}.goto{flex-wrap:wrap;align-items:center;gap:.3rem;display:inline-flex}.goto input{width:11em;font:inherit;border:1px solid var(--rule);background:var(--card-bg);color:var(--fg);border-radius:.3rem;padding:.15rem .45rem}.goto button,.search-more button{font:inherit;border:1px solid var(--rule);background:var(--card-bg);color:var(--fg);cursor:pointer;border-radius:.3rem;padding:.15rem .6rem}.goto-msg{color:var(--accent);flex-basis:100%}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.muted{color:var(--fg-muted)}.search{font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}.search-label{color:var(--fg-muted);font-size:.8rem;display:block}.search input[type=search]{width:100%;font:inherit;border:1px solid var(--rule);background:var(--card-bg);color:var(--fg);border-radius:.4rem;padding:.45rem .6rem;font-size:1.05rem}.search-scope{color:var(--fg-muted);border:0;flex-wrap:wrap;gap:.2rem .9rem;margin:.5rem 0 0;padding:0;font-size:.82rem;display:flex}.search-scope legend{float:left;margin-right:.3rem;padding:0}.search-scope input{margin-right:.25em}.search-status{color:var(--fg-muted);margin:.6rem 0;font-size:.82rem}.search-results{margin:0;padding:0;list-style:none}.hit{border-bottom:1px solid var(--rule);padding:.6rem 0}.hit-where,.occ-where{font-size:.85rem;text-decoration:none}.hit-sutta{font-weight:600}.hit-id{color:var(--fg-muted);font-size:.8em}.hit-line{margin:.2rem 0 0;font-size:.95rem;line-height:1.7}.hit-line[lang=pi]{font-size:.9rem}.tag{color:var(--fg-muted);border:1px solid var(--rule);vertical-align:.1em;border-radius:.25rem;margin-right:.45em;padding:0 .35em;font-size:.68rem;line-height:1.4;display:inline-block}mark{background:var(--target);color:inherit;padding:0 .05em}.hit-segs{margin:.3rem 0 0;padding-left:1.2rem;font-size:.88rem}.hit-segs li{margin:.15rem 0}.hit-text{color:var(--fg-muted)}.tree-note,.tree-message{color:var(--fg-muted);font-family:system-ui,sans-serif;font-size:.8rem}.tree-message{color:var(--accent);border-left:2px solid var(--accent);padding-left:.6rem}.tree-message:not([hidden]){top:env(safe-area-inset-top,0px);z-index:2;background:var(--bg);padding-block:.5rem;position:sticky}.canon-tree .leaf,.canon-tree details.tree>summary{scroll-margin-top:4.5rem}details.tree{margin:.15rem 0;padding-left:.2rem}details.tree details.tree{margin-left:.9rem}details.tree>summary{cursor:pointer;padding:.2rem 0;font-family:system-ui,sans-serif;font-size:.92rem}details.tree>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.tree-num{margin-right:.4em;font-weight:600}.tree .count{color:var(--fg-muted);margin-left:.5em;font-size:.75rem}.leaves{margin:.2rem 0 .4rem;padding-left:1rem;list-style:none}.leaf{border-bottom:1px dotted var(--rule);padding:.25rem 0;font-size:.92rem}.leaf .num{color:var(--fg-muted);margin-right:.5em;font-family:system-ui,sans-serif;font-size:.78rem}.leaf .kana,.tree .kana,.word-list .kana,.word-head .kana,.hit-word-head .kana{color:var(--fg-muted);margin-left:.35em;font-size:.8em;font-style:normal}.leaf-ja{margin-left:1.2rem;display:block}.leaf-ja .badge{margin-left:.4em;font-size:.7rem}.untranslated{color:var(--fg-muted);margin-left:.5em;font-family:system-ui,sans-serif;font-size:.75rem}.leaf.is-target,details.tree.is-target>summary{background:var(--target)}.word-list{padding:0;list-style:none}.word-list li{border-bottom:1px solid var(--rule);padding:.5rem 0}.word-list a{font-size:1.05rem;text-decoration:none}.word-list .meta{color:var(--fg-muted);font-family:system-ui,sans-serif;font-size:.78rem;display:block}.word-type{color:var(--fg-muted);margin:0;font-family:system-ui,sans-serif;font-size:.8rem}.sense{border:1px solid var(--rule);border-radius:.4rem;margin:1rem 0;padding:.7rem .9rem}.sense-head{margin:0 0 .4rem;font-size:.95rem}.sense-id{color:var(--fg-muted);font-family:system-ui,monospace;font-weight:400}.sense-rows{grid-template-columns:auto 1fr;gap:.1rem .8em;margin:0;font-family:system-ui,sans-serif;font-size:.92rem;display:grid}.sense-rows dt{letter-spacing:.06em;color:var(--fg-muted);place-self:baseline end;font-size:.72em}.sense-rows dd{margin:0}.occ-head{color:var(--fg-muted);margin:.8rem 0 .2rem;font-size:.85rem}.occurrences{margin:0;padding-left:1.2rem;font-size:.92rem}.occurrences li{margin:.3rem 0}.occ-ja,.occ-pali{display:block}.occ-pali{color:var(--fg-muted);font-size:.88rem}a{color:var(--accent)}h1{margin:1.8rem 0 .2rem;font-size:1.5rem;line-height:1.5}h2{margin:2.4rem 0 .6rem;font-size:1.1rem}.title{flex-direction:column;margin:1.8rem 0 .2rem;font-size:1rem;line-height:1.5;display:flex;position:relative}.title .t-ja,.title .t-pali{display:block}.title .t-ja{font-size:1.5rem}.title .t-pali{color:var(--fg-muted);order:-1;font-size:.9rem;font-weight:400;line-height:2.2}.reader[data-mode=pali] .title .t-pali{color:var(--fg);order:0;font-size:1.35rem;line-height:2.1}.reader[data-mode=pali] .title .t-ja{color:var(--fg-muted);order:-1;font-size:.9rem;font-weight:400}.reader[data-mode=both] .title .t-pali{color:var(--fg);font-size:1.1rem}.title-meta{color:var(--fg-muted);font-variant-numeric:tabular-nums;margin:.1rem 0 0;font-family:system-ui,sans-serif;font-size:.78rem}.about-sutta{border-left:3px solid var(--rule);margin:1.2rem 0 0;padding:.1rem 0 .1rem .85rem;font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}.about-label{letter-spacing:.1em;color:var(--fg-muted);font-size:.68rem;display:block}.about-text{margin:.1rem 0 0;font-size:.88rem;line-height:1.8}.list-about{color:var(--fg-muted);margin-top:.25rem;font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-size:.8rem;line-height:1.75;display:block}.badge{border:1px solid var(--rule);color:var(--fg-muted);border-radius:999px;padding:.15em .8em;font-family:system-ui,sans-serif;font-size:.78rem;line-height:1.5;display:inline-block}.badge-note{color:var(--fg-muted);margin:.5rem 0 0;font-family:system-ui,sans-serif;font-size:.78rem}.badge-row{flex-wrap:wrap;align-items:center;gap:.4rem .8rem;display:flex}.badge-link{font-family:system-ui,sans-serif;font-size:.78rem}.crumbs{color:var(--fg-muted);flex-wrap:wrap;gap:.2rem .5rem;margin:0 0 .8rem;font-family:system-ui,sans-serif;font-size:.78rem;display:flex}.source-note{color:var(--fg-muted);border-top:1px solid var(--rule);margin-top:2.5rem;padding-top:1rem;font-family:system-ui,sans-serif;font-size:.75rem}.js-only{display:none}.has-js .controls.js-only{display:flex}.has-js .search.js-only{display:block}.has-js .goto.js-only{display:inline-flex}.controls{z-index:20;background:var(--bg);border:0;border-bottom:1px solid var(--rule);flex-wrap:wrap;gap:.6rem 1.2rem;margin:1.4rem 0 0;padding:.55rem 0;font-family:system-ui,sans-serif;display:flex;position:sticky;top:0}.control{border:0;align-items:baseline;gap:.4rem;margin:0;padding:0;display:flex}.control-label{color:var(--fg-muted);font-size:.75rem}.control button{font:inherit;color:var(--fg);border:1px solid var(--rule);cursor:pointer;background:0 0;border-radius:.35em;padding:.15em .7em;font-size:.78rem;line-height:1.6}.control button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);font-weight:600}.sutta{margin-top:1.6rem}.seg{margin:0 0 1.15rem;scroll-margin-top:6rem;position:relative}.seg:target,.seg.is-target{background:var(--target);box-shadow:0 0 0 .45rem var(--target);border-radius:.15rem}[lang=pi]{font-family:Constantia,Cambria,Sitka Text,Charis SIL,Doulos SIL,Gentium Plus,serif}.seg-pali{color:var(--fg-muted);font-size:.96rem;line-height:2.55;display:block}.reader[data-mode=pali] .seg-pali{color:var(--fg);font-size:1.02rem}ruby{ruby-position:over;ruby-align:center}ruby rt{font-family:system-ui,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-size:var(--rt);color:var(--ruby);font-weight:500}@supports (baseline-source:last){.seg-pali ruby,.t-pali ruby,.restored-pali ruby{baseline-source:last;text-indent:0;overflow-wrap:anywhere;flex-direction:column;align-items:center;max-width:100%;line-height:1.35;display:inline-flex}.seg-pali rt,.t-pali rt,.restored-pali rt{order:-1;line-height:1.1;display:block}}.seg-ja{display:block}.reader[data-mode=ja] .seg-pali,.reader[data-mode=pali] .seg-ja{display:none}.reader[data-mode=both] .seg-pali{margin-bottom:.15rem}.seg-anchor{color:var(--rule);opacity:0;font-family:system-ui,sans-serif;font-size:.75rem;line-height:1.9;text-decoration:none;transition:opacity .12s;position:absolute;top:.1em;left:-1.15rem}.seg:hover .seg-anchor,.seg-anchor:focus-visible,.seg:target .seg-anchor{opacity:1}@media (width<=34em){.seg-anchor{opacity:1;margin-right:.3em;position:static}}.copied{color:var(--accent);margin-left:.4em;font-family:system-ui,sans-serif;font-size:.7rem}.term{border-bottom:1px dotted var(--accent);cursor:help}.term-fn{cursor:help;border-bottom:none}.term:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.term-card{z-index:10;left:var(--card-x,0px);background:var(--card-bg);width:max-content;max-width:min(22rem,100%);color:var(--fg);border:1px solid var(--rule);box-shadow:var(--shadow);text-align:left;user-select:none;cursor:auto;border-radius:.4rem;margin-top:1.7em;padding:.6rem .8rem;font-family:system-ui,sans-serif;font-size:.8rem;line-height:1.75;display:none;position:absolute;top:auto;right:auto}.term:hover>.term-card,.term:focus-within>.term-card,.term.is-open>.term-card{display:block}.term-card .e{grid-template-columns:auto 1fr;align-items:baseline;gap:0 .6em;display:grid}.term-card .lb{letter-spacing:.06em;color:var(--fg-muted);white-space:nowrap;justify-self:end;font-size:.68em}.term-card .vl{font-weight:600}.term-card .kana{color:var(--fg-muted);margin-left:.4em;font-style:normal;font-weight:400}.term-card .gl{border-top:1px dotted var(--rule);grid-column:1/-1;margin-top:.3rem;padding-top:.3rem;font-weight:400}.term-card .e+.e{border-top:1px solid var(--rule);margin-top:.5rem;padding-top:.5rem}.sutta-list{padding:0;list-style:none}.sutta-list li{border-bottom:1px solid var(--rule);padding:.7rem 0}.sutta-list a{font-size:1.05rem;text-decoration:none}.sutta-list .meta{color:var(--fg-muted);font-family:system-ui,sans-serif;font-size:.75rem;display:block}.notes{color:var(--fg-muted);border-left:2px solid var(--rule);margin:.3rem 0 0;padding:.1rem 0 .1rem .6rem;font-family:system-ui,sans-serif;font-size:.75rem}.reader:not([data-notes=on]) .notes{display:none}.prose p{margin:0 0 1.1rem}details.peyyala{margin:.35rem 0 0;display:block}details.peyyala>summary{color:var(--fg-muted);cursor:pointer;border-bottom:1px dotted;align-items:center;gap:.35rem;padding-bottom:1px;font-family:system-ui,sans-serif;font-size:.75rem;list-style:none;display:inline-flex}details.peyyala>summary::-webkit-details-marker{display:none}details.peyyala>summary:before{content:"＋";font-size:.7em}details.peyyala[open]>summary:before{content:"－"}details.peyyala>summary:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:3px}.restored{border:1px dashed var(--rule);margin:.5rem 0 0;padding:.7rem .9rem;font-size:.95rem;display:block}.restored-label{color:var(--fg-muted);margin-bottom:.35rem;font-family:system-ui,sans-serif;font-size:.72rem;display:block}.restored-pali{margin-bottom:.35rem;display:block}.reader[data-mode=ja] .restored-pali{display:none}.restored-ja{display:block}.reader[data-mode=pali] .restored-ja{display:none}.loading{inset-inline:0;z-index:100;text-align:center;color:graytext;opacity:0;background:canvas;border-bottom:1px solid graytext;padding:.6rem 1rem;font-size:.9rem;animation:0s linear .6s forwards loading-appear;position:fixed;top:0}@keyframes loading-appear{to{opacity:1}}@media (prefers-reduced-motion:reduce){.loading{animation-duration:0s}}
