@import url('/assets/base.css');
:root{color-scheme:light;--ink:#29251d;--paper:#f9f5e9;--line:#d8d2c3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"PingFang TC",sans-serif}a{color:inherit}main,footer{width:min(1180px,calc(100% - 80px));margin:auto}select{font:inherit;border:1px solid var(--line);border-radius:24px;background:transparent;padding:12px;max-width:170px}.hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:60px;padding:32px 0 40px}.hero h1{font-size:clamp(36px,5.1vw,66px);letter-spacing:-2.5px;line-height:1.08;max-width:680px;margin:24px 0}.intro{font-size:15px;line-height:1.9;color:#686254}.mascot{position:relative;display:grid;place-items:center;min-height:230px}.mascot img{position:relative;width:min(75%,280px);height:auto;filter:drop-shadow(0 22px 12px #29251d18);transform:rotate(-9deg)}.orbit{position:absolute;width:90%;aspect-ratio:1;border:1px solid #d8c6a1;border-radius:50%;transform:rotate(-22deg) scaleY(.7)}.orbit-two{transform:rotate(36deg) scaleY(.7)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{font-size:19px;font-weight:500;margin:0}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.game-card{display:flex;flex-direction:column;min-width:0;padding:23px;border:1px solid #29251d20;border-radius:18px;text-decoration:none;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-6px);box-shadow:0 12px 24px #29251d12}.gomoku{background:#eee1c5}.go{background:#e5e9da}.tetris{background:#e8dfed}.chat{background:#f4d9c8}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.8px;gap:10px}.card-top>span:last-child{font-size:22px}.game-card h3{font-size:20px;margin:8px 0 12px;overflow-wrap:anywhere}.game-card p{font-size:11px;line-height:1.7;margin:0;color:#655e53}.game-art{height:130px;display:flex;align-items:center;justify-content:center}.stones{gap:6px}.stones i{width:24px;height:24px;background:#302b22;border-radius:50%;box-shadow:2px 4px 0 #0002}.stones i:nth-child(even){background:#fffdf5}.go-art{font-size:48px;letter-spacing:-5px}.go-art span{transform:translateY(-20px);color:#fffdf7;text-shadow:0 2px 1px #777}.blocks{display:grid;grid-template-columns:repeat(3,28px);grid-template-rows:repeat(2,28px);align-content:center;gap:3px}.blocks i{background:#81669b;border-radius:4px;box-shadow:inset 3px 3px #ffffff40,inset -3px -3px #0002}.blocks i:first-child{grid-column:2}.blocks i:nth-child(2){grid-column:1}.blocks i{height:28px}.bubbles{flex-direction:column;gap:7px}.bubbles span{font-size:14px;background:#fff8ec;padding:10px 22px;border-radius:20px 20px 20px 2px;transform:translateX(-15px)}.bubbles span+span{background:#a66140;color:white;transform:translateX(18px);border-radius:20px 20px 2px 20px}footer{display:flex;justify-content:space-between;gap:24px;padding:30px 0;margin-top:64px;border-top:1px solid var(--line);font-size:11px;color:#746c5f}footer>span:first-child{font-weight:bold;color:var(--ink)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link{position:absolute;top:-100px}.skip-link:focus{top:10px;background:white;padding:12px;z-index:9}
@media(max-width:1000px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:20px}.hero h1{font-size:48px}.game-art{height:120px}}
@media(max-width:600px){main,footer{width:calc(100% - 36px)}select{padding:10px;max-width:120px}.hero{grid-template-columns:1fr;padding:42px 0;gap:10px}.hero h1{font-size:43px;letter-spacing:-1.8px;margin:18px 0}.mascot{min-height:155px;grid-row:2}.mascot img{width:115px}.orbit{width:155px}.section-heading h2{font-size:15px}.game-grid{gap:12px}.game-card{padding:16px;border-radius:14px}.card-top{font-size:8px;letter-spacing:0}.game-card h3{font-size:18px}.game-card p{font-size:10px}.game-art{height:110px}.stones{gap:3px}.stones i{width:19px;height:19px}footer{flex-wrap:wrap;margin-top:38px;line-height:1.6}}
@media(max-width:360px){.game-grid{grid-template-columns:1fr}.hero h1{font-size:36px}.game-art{height:100px}}

.card-top > :only-child{margin-inline-start:auto}
.home-quote{margin:24px 0 0;padding:12px 0 12px 16px;border-left:3px solid var(--accent);font-size:clamp(15px,1.6vw,18px);line-height:1.75;max-width:600px}
.home-quote p{margin:0 0 8px}.home-quote button{font:inherit;font-size:13px;background:var(--sun);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:6px 12px;cursor:pointer;min-height:40px}
.code-art{display:flex;align-items:center;justify-content:center;gap:10px}.code-art i{display:grid;place-items:center;width:44px;height:64px;border:2px solid var(--ink,#442b20);border-radius:9px;background:#fff7d5;box-shadow:2px 3px 0 var(--ink,#442b20);font:800 27px system-ui;transform:rotate(-7deg)}.code-art i:nth-child(2){background:#442b20;color:#ffcf45;transform:translateY(-8px) rotate(5deg)}.code-art i:last-child{transform:rotate(10deg)}
