.tile:disabled{opacity:1}.tile.blocked{filter:brightness(.82) saturate(.72)}
.metrics.three .metric{min-width:104px;padding-left:34px;padding-right:8px}.metrics.three .metric-icon{left:10px}.metrics.three .metric strong{font-size:15px}.version{text-align:center;font-size:10px;letter-spacing:.08em;margin:28px 0 0}.veil .panel[role=dialog]{max-width:390px;background:#f7f6f1;border-radius:20px;padding:24px}.dark .veil .panel[role=dialog]{background:#2b6460}
@media(max-width:380px){.metrics.three{gap:4px}.metrics.three .metric{min-width:92px;padding-left:28px}.metrics.three .metric-icon{left:7px}}
h1,h2,h3,.serif{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-weight:500}.home h1,.result h1{font-family:Georgia,"Times New Roman",serif;font-weight:400}

/* MVP 3: layered Zen landscape based on the approved mockup. */
svg.landscape-art{position:fixed;inset:0;width:100%;height:100%;max-width:none;transform:none;clip-path:none;opacity:1;background:none;z-index:0;pointer-events:none}.landscape-art .landscape-sun{opacity:.7}.landscape-art .mountain-far{fill:#dbe7e4}.landscape-art .mountain-mid{fill:#c4d8d4;opacity:.78}.landscape-art .mountain-near{fill:url(#near-hill);opacity:.6}.landscape-art .river{fill:url(#river-mist);opacity:.82}.landscape-art .river-light{fill:#f6faf8;opacity:.75}.landscape-art .shore{fill:#aac4c0;opacity:.53}.landscape-art .shore path+path{stroke:#4f817a;stroke-width:7;stroke-linecap:round;opacity:.48}#app{position:relative;z-index:1}body[data-screen="game"] .landscape-art .mountain-far{transform:translateY(65px)}body[data-screen="game"] .landscape-art .mountain-mid{transform:translateY(45px)}body[data-screen="game"] .landscape-art .river{opacity:.68}body[data-screen="game"] .landscape-sun{display:none}body[data-screen="select"] .landscape-art,body[data-screen="settings"] .landscape-art,body[data-screen="stats"] .landscape-art,body[data-screen="guide"] .landscape-art{opacity:.56}.home:after,.home>.sun{display:none}

/* Distinct classic-inspired tile families. */
.tile,.family-tile{font-size:var(--tile-size)}.tile{overflow:hidden}.tile-motif{width:78%;height:79%;display:grid;place-items:center;line-height:1}
.honor{font-family:Georgia,"Songti SC","Noto Serif CJK SC",serif;font-size:.52em;font-weight:700}.honor-4{color:#b94b3f}.honor-5{color:#24715f}.honor-6{color:#4d7b8d;font-size:.42em;border:1px solid currentColor;width:52%;height:54%;display:grid;place-items:center}
.pip-grid,.bamboo-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;height:100%;place-items:center}.pip-grid i,.bamboo-grid i{grid-row:var(--row);grid-column:var(--col);display:block}.pip-grid i{width:.13em;height:.13em;min-width:3px;min-height:3px;border-radius:50%;background:radial-gradient(circle,#f4e7c8 0 18%,#28756b 20% 42%,#b84b42 44% 58%,#2d756b 60% 100%);box-shadow:inset 0 0 0 1px #204f4940}.pip-grid i:nth-child(3n){filter:hue-rotate(120deg)}.pip-grid i:nth-child(4n){filter:hue-rotate(235deg)}
.bamboo-grid i{position:relative;width:.09em;height:.22em;min-width:2px;min-height:6px;border-radius:45%;background:linear-gradient(90deg,#2b6f63,#75a192 48%,#28685e);box-shadow:inset 0 0 0 1px #245d5540}.bamboo-grid i:after{content:"";position:absolute;left:-35%;right:-35%;top:43%;height:2px;background:#b64e43;border-radius:50%}.bamboo-bird{font-size:.65em;color:#32766a;transform:rotate(-16deg)}
.character-mark{display:flex;flex-direction:column;align-items:center;line-height:.82}.character-mark b{font-family:Georgia,"Songti SC","Noto Serif CJK SC",serif;font-size:.47em;color:#245f57}.character-mark i{font-family:Georgia,"Songti SC","Noto Serif CJK SC",serif;font-size:.27em;font-style:normal;color:#b64d43;font-weight:700}.flower-mark{font-size:.45em;color:#b64d43;display:flex;flex-direction:column;align-items:center}.flower-mark small{font-size:.4em;color:#2e7569;margin:0}.tile.blocked .tile-motif{opacity:.88}
.stone-families{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.stone-families>div{text-align:center}.family-tile{--tile-size:48px;width:48px;height:62px;margin:auto;display:grid;place-items:center;border:1px solid #bab9aa;border-radius:6px;background:linear-gradient(130deg,#fffef7,#e8e4d7);box-shadow:0 3px 0 #9ca397}.family-tile>span{width:78%;height:78%;display:grid;place-items:center}.stone-families small{display:block;margin-top:7px}

@media(orientation:landscape) and (max-height:600px){svg.landscape-art{height:130%;top:-15%}body[data-screen="game"] .landscape-art .mountain-far,body[data-screen="game"] .landscape-art .mountain-mid{transform:translateY(110px)}}

/* More visible, still quiet site signature. */
footer{padding-top:12px}footer a{display:inline-flex;align-items:center;justify-content:center;color:#245c58;font-size:11px;font-weight:650;letter-spacing:.16em;line-height:1;text-decoration:none;background:#ffffffe0;border:1px solid #aac1bf99;border-radius:999px;padding:8px 14px;box-shadow:0 4px 14px #285b541b;backdrop-filter:blur(8px)}footer a:hover{background:#fff;color:#174d49}.dark footer a{background:#2b6460e8;color:#eef5f3;border-color:#80a2a088}
