@font-face{font-family:Tibet;src:url(assets/NotoSerifTibetan-Regular.ttf);font-display:swap;unicode-range:U+0F00-0FFF}*{box-sizing:border-box}body{margin:0;color:#20282b;background:#fafbf8;font:1.03rem/1.65 Tibet,Inter,system-ui,sans-serif}html{scroll-behavior:smooth}header,main,footer{width:min(93%,1390px);margin:auto}header,footer,.bar{display:flex;align-items:center;justify-content:space-between;gap:1em}header{padding:18px 0;border-bottom:1px solid #c9ccc5}.brand{display:flex;align-items:center;gap:.45em;font:800 1.85rem/1 Arial;letter-spacing:-.07em}.brand i{width:31px;height:31px;background:conic-gradient(from 90deg,#265fe1 0 75%,transparent 75%);border-radius:3px}details{position:relative;z-index:5}summary,button,.links a,.cards a{border:1px solid #b5bcb6;background:#fff;color:inherit;cursor:pointer;text-decoration:none;border-radius:6px;padding:.55em 1em;font:inherit}summary{list-style:none}summary::-webkit-details-marker{display:none}details nav{position:absolute;right:0;min-width:170px;background:white;padding:.5em;border:1px solid #cbd0c8;box-shadow:0 8px 22px #26372d19;border-radius:8px}nav a{display:block;padding:.45em .75em;color:inherit;text-decoration:none}nav a:hover,button:hover,.links a:hover{background:#e2eafa}.hero{display:grid;grid-template-columns:.85fr 1.15fr;gap:5%;padding:38px 0;align-items:center}.intro>span{color:#2454ba;font-weight:650}h1,h2,h3,p{margin:0}h1{font-size:clamp(3rem,5.6vw,5.8rem);line-height:1.04;letter-spacing:-.055em;margin:.35em 0}.intro p,.module p,.cards p{max-width:55ch;color:#485452}.links,.choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.links a:first-child,.cards a{color:white;background:#214fd2;border-color:#214fd2}.links a:first-child:hover,.cards a:hover{background:#183a9b}.hero figure{margin:0;background:#e5e5dd;border-radius:14px;overflow:hidden}.hero img{display:block;width:100%;height:auto}.module,.sources{border-top:1px solid #c4ccc5;padding:clamp(28px,4vw,58px) 0}.module{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}h2{font-size:clamp(1.8rem,3.2vw,3.35rem);line-height:1.12;letter-spacing:-.04em;margin-bottom:.4em}h3{font-size:1.45rem}.panel{background:#edf0e8;border-radius:12px;padding:20px}.grid{display:grid;gap:3px;margin:auto}.shape{width:min(145px,100%);grid-template-columns:repeat(4,1fr)}.grid i{background:#dce2d8;aspect-ratio:1;border-radius:4px}.grid .on{background:var(--ink,#6254c9);box-shadow:inset 0 -3px 0 #0002,inset 0 2px 0 #fff5}.bar{border-top:1px solid #c4ccbf;margin-top:16px;padding-top:12px}.bar output{font:600 1.05rem monospace}.choices button{min-width:43px}.choices [aria-pressed=true]{background:#253a46;color:white;border-color:#253a46}.board{background:#1d3039}.field{width:min(340px,100%);grid-template-columns:repeat(8,1fr)}.field i{background:#2f4550}.field .base{background:#7aaeb5}.field .piece{background:#ff9956}.field .guide{border:2px dashed #b6c8c7}.module #caption{margin-top:18px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cards article{padding:23px;background:#e9edf5;border-radius:12px}.cards article+article{background:#f1eae1}.cards p{margin:8px 0 15px}.cards a{display:inline-block}footer{padding:22px 0;border-top:1px solid #ccd1ca;color:#43514c}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ec793d;outline-offset:4px}:lang(bo) h1,:lang(bo) h2{letter-spacing:normal;line-height:1.55}:lang(bo) p,:lang(bo) button,:lang(bo) a{line-height:1.95} .brand{color:#20282b}
@media(prefers-reduced-motion:no-preference){.hero img{animation:enter .7s ease-out}.intro{animation:rise .55s ease-out}.refresh .on,.refresh .piece{animation:rise .28s ease-out}button,.links a,.cards a{transition:background-color .18s,transform .18s}button:active,.links a:active{transform:scale(.96)}@keyframes enter{from{opacity:.5;transform:scale(1.035)}}@keyframes rise{from{opacity:.35;transform:translateY(-8px)}}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media(max-width:750px){.hero,.module,.cards{grid-template-columns:1fr;gap:22px}.hero{padding:25px 0}.hero img{max-height:350px;object-fit:cover}.module,.sources{padding:28px 0}footer{align-items:start;flex-direction:column}}
