:root{color:#182420;background:#f8f9f4;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;line-height:1.5;--ink: #182420;--muted: #52605a;--line: #dce2d9;--green: #20483c}*,*:before,*:after{box-sizing:border-box}[hidden]{display:none!important}body,h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}svg{display:inline-block;width:1em;height:1em;vertical-align:-.12em;flex:none}:focus-visible{outline:3px solid #287d66;outline-offset:3px}.wrap{width:min(100% - 48px,1080px);margin-inline:auto}.topbar{border-bottom:1px solid var(--line)}.header-inner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;font-size:20px;font-weight:800}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--green);color:#f0f9e8}.header-inner nav{display:flex;gap:22px;color:var(--muted);font-size:14px}.header-inner{flex-wrap:wrap}.header-inner [data-site-account]{margin-left:auto}nav a:hover,.back:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}.hero{color:#f8ffef;background:#234c41;overflow:hidden}.hero-inner{min-height:310px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;isolation:isolate;padding-block:35px}.hero h1{font-size:72px;line-height:1.1}.hero h1 span{color:#f7cf78}.hero p{margin-top:13px;font-size:19px;color:#e1ede3}.hero-action{display:inline-flex;align-items:center;gap:10px;padding:11px 14px;margin-top:24px;color:#243727;background:#f7cf78;border-radius:6px;font-size:14px;font-weight:700}.hero-action:hover{background:#ffe0a0}.hero-action:focus-visible{outline-color:#f7cf78}.hero-art{position:absolute;z-index:-1;inset:-22% -5% -65% auto;width:57%;transform:rotate(-14deg);background-color:#386556;border:1px solid #76a18b;box-shadow:-12px 20px #173c32;background-image:linear-gradient(#88a89560 1px,transparent 1px),linear-gradient(90deg,#88a89560 1px,transparent 1px);background-size:44px 44px}.hero-disc{position:absolute;display:grid;place-items:center;aspect-ratio:1;border-radius:50%;box-shadow:-6px 10px #112d26}.red-disc{left:24%;top:22%;width:110px;border:5px double #a9483d;background:#f1c997;color:#9a2d2d;font:700 54px Songti SC,SimSun,serif}.white-disc{left:52%;top:37%;width:67px;background:#fff6da;border:1px solid #f1ddac}.black-disc{left:68%;top:23%;width:79px;background:#152923;border:2px solid #4d6d5d}.hero-art svg{position:absolute;color:#f9d580;top:18%;left:54%;font-size:26px}.section{padding-top:34px;scroll-margin-top:12px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2{font-size:26px}.section-head p,.muted{font-size:14px;color:var(--muted)}.daily-promo{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-block:12px;border-block:1px solid var(--line)}.daily-promo h2{font-size:24px}.daily-promo p{font-size:14px;color:var(--muted)}.daily-promo-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding-inline:12px;border-radius:6px;background:#e2f1e8;color:var(--green);font-size:14px;font-weight:700}.daily-promo-link:hover{background:#cfe7d8}.game-cards,.explore-grid{display:grid;gap:14px}.game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card,.explore-card{border:1px solid var(--line);border-radius:8px;background:#fff;transition:border-color .18s,box-shadow .18s}.game-card:hover,.explore-card:hover{border-color:#85a89a;box-shadow:0 5px 14px #26392e14}.game-art{position:relative;height:140px;border-radius:7px 7px 0 0;overflow:hidden;isolation:isolate}.game-art:before{position:absolute;content:"";z-index:-1;inset:-80% -10%;transform:rotate(-16deg);background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);background-size:32px 32px}.xiangqi-card .game-art{background-color:#f8daba;--grid: #a24d3838}.gomoku-card .game-art{background-color:#dbeee3;--grid: #28644e40}.art-piece{position:absolute;display:grid;place-items:center;aspect-ratio:1;border-radius:50%;box-shadow:1px 7px #37312644}.red-piece,.ink-piece,.small-piece{background:#fff0cf;font-family:Songti SC,SimSun,serif;font-weight:700;border:4px double currentColor}.red-piece{left:17%;top:20%;width:72px;color:#9a2d2d;font-size:37px;transform:rotate(-14deg)}.ink-piece{left:43%;top:10%;width:60px;color:#273d31;font-size:29px;transform:rotate(12deg)}.small-piece{left:68%;top:47%;width:46px;color:#9a2d2d;font-size:23px;transform:rotate(-12deg)}.stone-dark{left:20%;top:23%;width:64px;background:#233b34;border:2px solid #486359}.stone-light{left:42%;top:13%;width:69px;background:#fffaf0;border:2px solid #bdcfc4}.stone-extra{left:67%;top:45%;width:47px;background:#233b34;border:2px solid #486359}.game-info{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 16px}.game-info h3,.explore-card h3{font-size:18px}.game-info p,.explore-card p{color:var(--muted);font-size:13px;margin-top:3px}.round-arrow{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#edf2ec}.explore-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.explore-card{padding:14px;position:relative}.tile-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:7px;margin-bottom:10px;font-size:19px}.lilac{background:#eee9fa;color:#543b79}.yellow{background:#f7ebcd;color:#6b4c16}.mint{background:#e2f1e8;color:#245e49}.blush{background:#f9e5e1;color:#873e3c}.tile-arrow{position:absolute;top:17px;right:13px;color:var(--muted)}footer{border-top:1px solid var(--line);margin-top:36px;background:#eef3eb;color:var(--muted)}.footer-inner{padding-block:20px}.activity{max-width:630px;padding-block:20px 42px}.back{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:14px}.activity h1{font-size:34px;margin-block:8px 16px;width:fit-content}.activity h1:focus{outline:0}.game-layout{max-width:522px}.game-controls,.game-tools,.segmented{display:flex;align-items:center;gap:6px}.game-controls{justify-content:space-between;flex-wrap:wrap;gap:8px}.segmented{background:#e9eee7;padding:3px;border-radius:8px}.game-controls button{border:0;min-height:38px;border-radius:6px;background:transparent}.segmented button{padding-inline:9px;font-size:13px;white-space:nowrap}.segmented [aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 1px 3px #1c2b2429;font-weight:700}.game-controls .icon-button{display:grid;place-items:center;width:40px;background:#e9eee7;font-size:18px}.game-controls .icon-button:hover:not(:disabled){background:#dee8dc}.game-status{display:flex;align-items:center;min-height:46px;color:var(--green);font-weight:750}.game-status.finished{color:#8d351e}.room-controls{display:grid;justify-items:start;gap:8px;margin-top:10px}.room-mode{min-height:36px;padding:4px 10px;border:1px solid #d3ded0;border-radius:6px;background:#edf3ea;color:#214d3b;font:inherit;font-size:13px;cursor:pointer}.room-mode[aria-pressed=true]{color:#fff;background:#245b46;border-color:#245b46}.room-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:9px 0;border-block:1px solid #d3ded0}.room-panel input{flex:1 1 160px;min-width:0;max-width:100%;padding:6px;border:1px solid #d3ded0;border-radius:4px;font:inherit;font-size:13px}.room-panel p{width:100%;margin:0}.room-panel p:empty{display:none}.board{position:relative;background:#f0cd99;border:1px solid #b38d62;border-radius:8px;overflow:hidden;touch-action:manipulation;--board-ink: #765331}.xiangqi-board{aspect-ratio:9 / 10}.gomoku-board{aspect-ratio:1;background:#edcc9e}.gomoku-options,.gomoku-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;color:var(--green);font-size:13px}.gomoku-options{margin-top:8px}.gomoku-options label{display:inline-flex;align-items:center;gap:6px}.gomoku-options select{background:#fff;border:1px solid var(--line);border-radius:6px;padding:4px 7px}.gomoku-options input{accent-color:var(--green)}.gomoku-confirm{justify-content:space-between;margin-top:8px}.gomoku-confirm .primary{height:36px}.pending-stone:before{content:"";width:74%;aspect-ratio:1;border:2px solid #245b46;border-radius:50%;background:#ffffff80}.board-cells{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr))}.board-lines{position:absolute;border:1px solid var(--board-ink);background-image:linear-gradient(to right,var(--board-ink) 1px,transparent 1px),linear-gradient(to bottom,var(--board-ink) 1px,transparent 1px)}.xiangqi-board .board-lines{inset:5% 5.5556%;background-size:12.5% calc(100% / 9);background-position:-1px -1px}.gomoku-board .board-lines{inset:3.3333%;background-size:calc(100% / 14) calc(100% / 14);background-position:-1px -1px}.river{position:absolute;inset:44.444% 0 auto;height:calc(100% / 9);display:flex;align-items:center;justify-content:center;gap:25%;background-color:#f0cd99;border-block:1px solid var(--board-ink);font:700 18px Songti SC,SimSun,serif;color:var(--board-ink);white-space:nowrap}.river span{display:none}.palace{position:absolute;left:37.5%;width:25%;height:22.222%;background-image:linear-gradient(to bottom right,transparent 49.5%,var(--board-ink) 49.5%,var(--board-ink) 50.5%,transparent 50.5%),linear-gradient(to top right,transparent 49.5%,var(--board-ink) 49.5%,var(--board-ink) 50.5%,transparent 50.5%)}.north{top:0}.south{bottom:0}.cell{display:grid;place-items:center;position:relative;border:0;padding:0;background:transparent;min-width:0;min-height:0}.cell:focus-visible{outline-offset:-2px;z-index:1}.cell.legal:after,.cell.recent:after{content:"";position:absolute;pointer-events:none;width:22%;aspect-ratio:1;border-radius:50%;background:#257458}.cell.recent:after{top:8%;right:8%;width:12%;background:#ad4b18}.cell.legal:has(.chessman):after{border:2px solid #257458;background:transparent;width:93%}.cell.selected{background:#ebf7c095;border-radius:50%}.chessman,.stone{aspect-ratio:1;border-radius:50%;pointer-events:none}.chessman{display:grid;place-items:center;width:84%;border:3px double currentColor;background:#fff0d0;box-shadow:0 2px 3px #5a3b2680;font:700 23px Songti SC,SimSun,serif;line-height:1}.chessman.red{color:#a52e21}.chessman.black{color:#253631}.stone{width:85%;border:1px solid #7f7056;box-shadow:0 2px 2px #45332255}.stone.black{background:#24312c}.stone.white{background:#fffaf0}.cell.winner .stone{outline:2px solid #a33726;outline-offset:-2px}.board-caption{margin-top:10px}.daily-challenge{max-width:430px}.daily-eyebrow{color:var(--green);font-size:13px;font-weight:700}.daily-challenge h2{font-size:22px;margin-block:3px}#daily-goal{color:var(--muted);font-size:14px;margin-bottom:12px}.daily-board{aspect-ratio:1;--cols: 9;--rows: 9}.daily-board .board-lines{inset:calc(100% / 18);background-size:12.5% 12.5%;background-position:-1px -1px}.daily-board .cell[aria-disabled=true]{cursor:default}.daily-board .cell.winner .stone{outline-color:#e29a32;outline-width:3px;outline-offset:1px}.daily-feedback{color:var(--green);font-size:14px;min-height:3em;padding-top:8px}.daily-actions,.daily-other{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.daily-tool{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--green);font-size:14px}.daily-tool:hover{background:#e9f2ec}.daily-other{gap:8px 18px;margin-top:15px}.daily-share{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.daily-share-note{margin-bottom:8px;color:var(--green);font-size:14px}.daily-share img{display:block;width:min(100%,300px);height:auto;margin-bottom:10px}.daily-share input{width:100%;padding:6px;border:1px solid var(--line);border-radius:4px;margin:8px 0;font:inherit;font-size:13px}.zodiac-panel{max-width:480px;border-top:1px solid var(--line);padding-top:16px}.zodiac-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px}.zodiac-form label{display:grid;gap:4px;font-size:14px}.zodiac-form select,.primary{height:44px;border-radius:6px;padding-inline:9px}.zodiac-form select{border:1px solid #aebbb2;background:#fff;width:100%}.primary{border:1px solid var(--green);background:var(--green);color:#fff;white-space:nowrap}.primary:hover{background:#306653}.zodiac-result{min-height:174px;display:grid;place-content:center;justify-items:center;gap:3px;text-align:center;padding:16px;border-radius:8px;background:#eee9fa;color:#493568;margin-top:17px}.zodiac-symbol{font-size:38px;line-height:1.2}.zodiac-note{margin-top:10px}@media(max-width:620px){.wrap{width:calc(100% - 28px)}.header-inner{min-height:56px}.header-inner nav{gap:11px;font-size:12px}.brand{gap:6px;font-size:17px}.brand-mark{width:29px;height:29px}.hero-inner{min-height:246px}.hero h1{font-size:47px}.hero p{font-size:15px}.hero-art{right:-21%;opacity:.55}.red-disc{left:17%;width:70px;font-size:34px}.white-disc{top:45%;width:43px}.black-disc{width:48px}.section{padding-top:24px}.section-head h2{font-size:23px}.game-cards,.explore-grid{gap:9px}.game-art{height:96px}.art-piece{scale:.72;transform-origin:top left}.game-info{gap:4px;padding:9px}.game-info h3{font-size:16px}.game-info p{font-size:12px}.round-arrow{width:23px;height:23px;font-size:13px}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-card{padding:11px}.activity h1{font-size:28px}.chessman{font-size:18px}.river{font-size:15px}}@media(max-width:355px){.wrap{width:calc(100% - 20px)}.round-arrow{display:none}.chessman{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
