:root{--ink:#203b36;--muted:#71827b;--green:#285b49;--deep:#173d34;--cream:#f8f7f0;--line:#dfe8df;--yellow:#e9bd68;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shell{max-width:1440px;margin:auto;padding:0 6%}header{height:94px;display:flex;align-items:center;gap:45px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:750}.brand small{display:block;font-size:9px;letter-spacing:.14em;font-weight:700;margin-top:3px}.brandmark{display:grid;place-items:center;width:41px;height:45px;border-radius:7px;background:var(--green);color:#fff;font-family:serif;font-size:25px}nav{display:flex;gap:24px;flex:1}.navbtn,.back{border:0;background:none;color:#557067;cursor:pointer;font-size:14px}.navbtn:hover,.back:hover{color:var(--green)}select{border:1px solid #d4e0d5;border-radius:9px;background:#fff;padding:9px;color:var(--ink)}main{min-height:75vh}.hero{display:grid;grid-template-columns:1.05fr 0.95fr;gap:50px;align-items:center;padding:68px 0 46px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:800;color:#b4853e}.hero h1{font-size:clamp(38px,5vw,66px);line-height:1.11;letter-spacing:-.05em;margin:16px 0 20px;max-width:650px}.hero p{max-width:520px;color:#6c8076;font-size:16px;line-height:1.8}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.btn{border:0;border-radius:10px;padding:14px 22px;background:var(--green);color:white;font-size:14px;font-weight:700;cursor:pointer}.btn:hover{background:#173e31}.btn.alt{background:white;color:var(--ink);border:1px solid #d6e2d7}.btn:disabled{opacity:.5;cursor:default}.caption{font-size:12px;color:#91a097}.illustration{background:#d8e7d7;border-radius:24px;min-height:325px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.illustration:before,.illustration:after{content:"";position:absolute;border:1px solid rgba(56,104,77,.16);width:340px;height:340px;border-radius:50%}.illustration:after{width:420px;height:420px}.table{background:#2a6652;width:75%;height:210px;border:8px solid #efdfb8;border-radius:100px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 18px 30px #416f5330;z-index:1;transform:rotate(-5deg)}.tile{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;vertical-align:middle;width:48px;height:67px;background:#fffcf1;border:1px solid #e7e0cc;border-bottom:4px solid #ddd4b8;border-radius:6px;color:#315b4b;font-size:23px;font-weight:700;line-height:1;box-shadow:0 3px 6px #0000000b;flex-shrink:0}.tile small{font-size:11px;color:#b7523f;margin-top:5px}.floating{position:absolute;z-index:2;background:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 8px 30px #365e3e22;font-size:12px;bottom:25px;right:20px;color:var(--green)}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:20px 0}.sectionhead h2{font-size:24px;letter-spacing:-.03em;margin:6px 0}.sectionhead p{color:var(--muted);font-size:13px;line-height:1.6}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding-bottom:46px}.card{padding:21px;background:#fff;border:1px solid #e3ebe1;border-radius:16px;text-align:left;color:var(--ink);cursor:pointer;min-height:175px}.card:hover,.card.active{border-color:#82ae92;box-shadow:0 6px 20px #315a4610}.icon{display:grid;place-items:center;border-radius:11px;width:40px;height:40px;font-weight:700;font-size:19px;background:#e9f2e8;color:var(--green)}.card:nth-child(2) .icon{background:#f9eedd;color:#ba8250}.card:nth-child(3) .icon{background:#f2e9df;color:#a25f48}.card:nth-child(4) .icon{background:#e8edf7;color:#61779a}.card h3{font-size:16px;margin:16px 0 7px}.card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.tag{font-size:10px;color:#639273;font-weight:700;display:inline-block;margin-top:13px}.workspace{max-width:1000px;margin:35px auto 65px}.workspace h1{font-size:clamp(28px,4vw,42px);margin:16px 0 8px}.sub{color:var(--muted);line-height:1.7}.panel{border:1px solid var(--line);background:white;border-radius:18px;padding:30px;margin:24px 0}.bar{height:6px;border-radius:20px;background:#eaf0e9;margin:16px 0 30px}.bar i{display:block;background:#73a981;height:100%;border-radius:20px}.panel h2{font-size:24px}.choices{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.choice{cursor:pointer;border:0;padding:0;background:none;border-radius:8px}.choice .tile{width:57px;height:80px;font-size:27px}.choice:hover .tile,.choice.selected .tile{outline:3px solid #84b297;transform:translateY(-3px)}.rack{display:flex;gap:5px;overflow:auto;padding:10px 3px 15px}.feedback{border-radius:12px;background:#edf5e9;padding:15px 18px;color:#355e45;line-height:1.6;margin:18px 0}.feedback.wrong{background:#fff3e7;color:#865b35}.hint{font-size:12px;line-height:1.6;color:#85958b}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.introgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.box{background:#f5f8f2;border-radius:12px;padding:16px}.box h3{font-size:14px}.box p{font-size:13px;line-height:1.6;color:#71827b}.switch{display:flex;gap:10px;align-items:center;margin:20px 0}footer{border-top:1px solid var(--line);padding:24px 0 35px;display:flex;justify-content:space-between;color:#9ba9a1;font-size:11px;gap:15px}.sr{position:absolute;clip:rect(0,0,0,0)}@media(max-width:800px){.shell{padding:0 5%}header{height:75px;gap:12px}.brand small{display:none}nav{gap:5px}.navbtn{font-size:12px}.hero{grid-template-columns:1fr;padding:40px 0 30px;gap:25px}.hero h1{font-size:42px}.illustration{min-height:235px}.table{height:160px}.cards{grid-template-columns:repeat(2,1fr)}.panel{padding:20px}.introgrid{grid-template-columns:1fr}.sectionhead{align-items:start;flex-direction:column;gap:0}}@media(max-width:400px){.brand{font-size:15px}.brandmark{width:33px;height:38px}.language select{font-size:11px;padding:6px}.cards{grid-template-columns:1fr 1fr}.tile{width:39px;height:57px;font-size:20px}}
/* Original vector tile faces retain their detail at any size. */
.tile{position:relative;overflow:hidden;display:inline-flex;padding:3px;background:linear-gradient(145deg,#fffef6,#f3efdf);border:1px solid #d7d0bb;border-bottom:4px solid #c8bfa6;box-shadow:0 3px 8px #243c2922,inset 0 1px 0 #fff;transition:transform .18s,box-shadow .18s}
.tile-art{display:block;width:100%;height:100%;overflow:visible}.choice:focus-visible{outline:3px solid #bb8b3a;outline-offset:5px}.gallery-link{margin:-25px 0 48px;text-align:center}.gallery-eyebrow{margin-top:30px}.gallery-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin:18px 0}.gallery-section h2{font-size:18px;margin:0 0 18px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:18px 10px}.gallery figure{margin:0;text-align:center}.gallery figure .tile{width:57px;height:80px}.gallery figcaption{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.3}.rack .tile{flex-shrink:0}@media(max-width:400px){.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 6px}}
.rack-hint{display:none;font-size:11px;color:#829489;margin:-8px 0 16px}@media(max-width:800px){.rack-hint{display:block}}@media(hover:none){.choice:hover .tile{outline:none;transform:none}.choice.selected .tile{outline:3px solid #84b297;transform:translateY(-3px)}}
.choices:has(.selected) .choice:not(.selected):hover .tile{outline:none;transform:none}
/* Green felt, dense tile art and a compact learning-table layout. */
:root{--ink:#282a20;--muted:#64675b;--green:#2b5027;--deep:#213a1d;--cream:#f5f0e0;--line:#d6d4be;--yellow:#ffe174}
body{background-color:#538e3d;background-image:repeating-linear-gradient(97deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 3px),radial-gradient(ellipse at 53% 25%,#659d49 0,#50863a 58%,#427334 100%);background-attachment:fixed}
.shell{max-width:none;margin:0;padding:0 38px 0 270px}
header{position:fixed;z-index:5;left:0;top:0;bottom:0;height:auto;width:232px;display:flex;align-items:stretch;flex-direction:column;gap:20px;padding:28px 17px;background:linear-gradient(110deg,#263c1f,#20351d);border:0;box-shadow:4px 0 12px #142f1a33}
.brand{color:#ffdd4d;font-size:24px}.brand small{color:#f7e8ad}.brandmark{background:#f5f1df;color:#2d5a27;border:1px solid #aaa88a;box-shadow:0 2px 4px #0004;font-size:25px}
nav{display:flex;flex-direction:column;gap:6px;flex:none;margin-top:30px}.navbtn{padding:14px;text-align:left;color:#f6f4df;font-weight:700;font-size:15px;border-radius:7px}.navbtn:hover{background:#ffffff14;color:#ffe174}.language{margin-top:auto}.language select{background:#3a5631;color:#fff;border-color:#758c64;width:100%}
main{max-width:1280px;margin:auto;min-height:80vh}.hero{padding:64px 0 44px;gap:50px;grid-template-columns:1fr 1.02fr}.hero h1{color:#ffdf70;font-size:clamp(38px,4vw,62px);line-height:1.12;letter-spacing:-.04em}.hero p{color:#f3f3d9;font-size:16px}.hero .eyebrow{color:#f5e4af}.caption{color:#f5f4d9}.btn{background:#f6e6c4;color:#252820;border:1px solid #f1dfbb;box-shadow:0 4px 0 #274b2480}.btn:hover{background:#fff0d6;color:#182a17}.btn.alt{background:#f5f0e3;color:#283123;border:1px solid #a8ae8e}.illustration{background:none;min-height:0;overflow:visible}.illustration:before,.illustration:after{display:none}
.mahjong-board{position:relative;width:min(100%,500px);aspect-ratio:1;border:12px solid #39562d;border-radius:21px;background:radial-gradient(ellipse,#a6cb75,#78a95b);box-shadow:inset 0 0 0 3px #96b77d,0 12px 22px #233f2570;padding:11%;overflow:hidden}.wall{position:absolute;display:flex;gap:2px}.wall i{background:linear-gradient(135deg,#6aab58,#559348);border:1px solid #4c8b44;border-radius:4px;box-shadow:0 3px 0 #d9d6c2;flex:1}.wall-top{top:6%;left:9%;right:9%;height:9%}.wall-left,.wall-right{top:15%;bottom:13%;width:8%;flex-direction:column}.wall-left{left:3%}.wall-right{right:3%}.board-center{position:absolute;top:20%;left:20%;right:20%;bottom:25%;display:flex;flex-direction:column;align-items:center;justify-content:center}.board-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#2c371c;white-space:nowrap}.board-scatter{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 18px;margin-top:15px}.scatter-0,.scatter-4{transform:rotate(-9deg)}.scatter-1,.scatter-5{transform:rotate(11deg)}.scatter-2{transform:rotate(-5deg)}.scatter-3{transform:rotate(7deg)}.board-scatter .tile{width:50px;height:68px}.board-rack{position:absolute;left:5%;right:5%;bottom:11%;display:flex;justify-content:center;gap:2px;border-bottom:4px solid #b48a55;padding-bottom:6px}.board-rack .tile{width:calc((100% - 24px)/13);height:auto;aspect-ratio:0.72;padding:1px;border-width:1px 1px 3px}.board-footer{position:absolute;bottom:4%;left:0;right:0;text-align:center;color:#233b1c;font-weight:800;font-size:12px;letter-spacing:.05em}
.sectionhead h2{color:#fff1a8}.sectionhead p{color:#f1efdb}.sectionhead .eyebrow{color:#e9e7b8}.cards{gap:16px}.card{background:#f7f2e2;border:0;border-radius:12px;box-shadow:0 4px 12px #24472330;min-height:178px}.card:hover{border:0;box-shadow:0 8px 24px #24472360;transform:translateY(-2px)}.card p{color:#626458}.tag{color:#3d7034}.gallery-link .btn{background:#f7f2e2}
.tile{background:linear-gradient(135deg,#fffef7,#eeeade);border:1px solid #b0b5a3;border-bottom:4px solid #a8b1a0;border-radius:6px;padding:2px;box-shadow:0 2px 4px #1a2a193d,inset 0 1px 0 white}.tile-art{width:100%;height:100%;object-fit:contain}.tile-index{position:absolute;left:3px;top:2px;color:#c47826;font:700 9px/1 Arial,sans-serif;text-shadow:0 0 2px #fff}.board-rack .tile-index{font-size:6px;left:2px}
.workspace{background:#f8f5e8;border-radius:16px;padding:32px;margin:35px auto 65px;box-shadow:0 8px 25px #294f2855}.workspace .eyebrow{color:#a87632}.panel{border-color:#dedcc9;background:#fffdf3}.gallery-section{background:#fffdf6;border-color:#dedcc9}.gallery figure .tile{width:65px;height:91px}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:20px 10px}.choice .tile{width:65px;height:91px}footer{max-width:1280px;margin:auto;border-color:#ffffff55;color:#e5efd5}
@media(max-width:800px){.shell{padding:0 5%}header{position:relative;width:auto;height:75px;flex-direction:row;align-items:center;gap:12px;padding:0;background:transparent;box-shadow:none;border-bottom:1px solid #c7d9ae66}.brand{font-size:19px}.brand small{display:none}.brandmark{width:36px;height:41px}nav{flex:1;flex-direction:row;margin:0;gap:0}.navbtn{font-size:12px;padding:8px}.language{margin:0}.language select{font-size:11px;width:auto;padding:6px}.hero{padding:35px 0;gap:26px;grid-template-columns:1fr}.hero h1{font-size:42px}.hero p{font-size:15px}.mahjong-board{width:min(100%,430px)}.board-scatter .tile{width:40px;height:56px}.board-scatter{gap:8px 12px}.workspace{margin:22px auto 45px;padding:20px}.sectionhead h2{color:#fff2ad}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}.gallery figure .tile{width:55px;height:77px}footer{color:#e8efd8}}
@media(max-width:400px){.brand{font-size:15px}.navbtn{font-size:11px;padding:6px}.board-scatter .tile{width:34px;height:48px}.board-label{font-size:8px}.board-scatter{gap:5px 8px}.board-footer{font-size:10px}.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
