:root{font-family:"Helvetica Neue",Arial,sans-serif;color:#263c35;background:#f6f5ef;font-synthesis:none;--ink:#263c35;--muted:#68766e;--green:#286750;--mint:#dcead9;--orange:#bd6c32;--lilac:#e9e5f1;--line:#dce1d6;--white:#fffefa;--player:#286750}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #a65b25;outline-offset:5px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button svg{pointer-events:none}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}button,a{color:inherit}a{text-underline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shell{max-width:1160px;margin:auto;padding:32px 48px 24px;min-height:100dvh;display:flex;flex-direction:column}.header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:750;letter-spacing:-.5px}.brand-icon{width:31px;height:31px;display:flex;flex-direction:column;gap:5px;justify-content:center}.brand-icon i{height:9px;width:29px;background:var(--green);border-radius:3px}.brand-icon i+ i{width:18px;background:#d28d48}.nav-button,.quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;min-height:44px;padding:10px 14px;font-weight:650;font-size:14px;border-radius:10px}.nav-button{border:1px solid var(--line);background:var(--white)}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:32px;color:var(--muted);font-size:12px}.footer-symbols{display:flex;gap:12px;align-items:center;font-size:17px;color:#81917d}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:var(--green)}.home{display:grid;grid-template-columns:1.12fr 1fr;gap:64px;align-items:center;flex:1;padding:58px 0 44px}.home h1{font-size:clamp(52px,5.5vw,72px);line-height:1.03;font-weight:750;letter-spacing:-4px;margin-top:20px;max-width:480px}.title-dot{color:#c58243}.subtitle{font-size:23px;font-weight:550;letter-spacing:-.6px;margin:20px 0 10px}.home-description{color:var(--muted);font-size:14px;line-height:1.6}.opponent-title{font-size:14px;font-weight:650;margin:36px 0 14px}.opponent-options{display:grid;gap:12px}.choice-card{display:flex;align-items:center;text-align:left;gap:16px;border:1px solid #d7dfd0;background:#edf2e7;border-radius:16px;padding:19px 20px;min-height:89px;width:100%}.choice-card.friend-card{background:#eeeaf4;border-color:#e1daeb}.choice-icon{width:45px;height:45px;border-radius:13px;background:#fff9;display:grid;place-items:center}.choice-icon svg{width:27px;height:27px}.choice-card strong{display:block;font-size:16px;font-weight:700;margin-bottom:6px}.choice-card small{display:block;font-size:12px;color:var(--muted);line-height:1.4}.arrow-icon{margin-left:auto}.howto{margin-top:15px;padding-left:0}.howto svg{width:18px}.home-art{position:relative;padding:30px 0 36px}.art-paper{background:#e9eddf;border:1px solid #dce2d1;border-radius:28px;min-height:360px;padding:34px 29px;transform:rotate(-3deg);position:relative}.art-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d1d9c7;padding-bottom:20px;color:#60715c;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;font-weight:700}.art-dots{display:flex;gap:4px}.art-dots i{height:5px;width:5px;background:#93a48a;border-radius:50%}.art-bars{padding-top:50px;display:grid;gap:20px}.art-row{display:flex;align-items:center;gap:15px}.art-track{height:48px;flex:1}.art-bar{height:100%;border-radius:8px;background:#34755b;position:relative;box-shadow:0 3px 0 #1d4d3b}.art-row+ .art-row .art-bar{width:28.571%;background:#cb8c49;box-shadow:0 3px 0 #a66b30}.art-cut{position:absolute;right:0;top:0;width:57.143%;height:100%;border-left:2px dashed #f5f6e8;background:repeating-linear-gradient(135deg,transparent 0 6px,#ffffff26 6px 9px);border-radius:0 8px 8px 0}.art-number{font-size:30px;font-weight:750;width:38px}.art-equation{position:absolute;bottom:-24px;right:20px;transform:rotate(6deg);background:var(--white);padding:21px 27px;border:1px solid var(--line);border-radius:16px;font-size:25px;letter-spacing:1px;box-shadow:0 8px 22px #293c3510}.art-equation span{color:var(--green)}.art-star{position:absolute;right:-12px;top:4px;font-size:56px;line-height:1;color:#bd7d43;transform:rotate(8deg)}.art-zero{position:absolute;bottom:0;left:5px;height:67px;width:67px;border:1px solid #d1c9df;background:#e6dff0;border-radius:50%;display:grid;place-items:center;font-size:32px;font-weight:600;transform:rotate(-12deg)}.center-page{width:min(100%,640px);margin:46px auto;flex:1}.page-heading{font-size:39px;letter-spacing:-1.7px;margin:12px 0 30px;line-height:1.15}.panel{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:30px}.setting-group{border:0;padding:0;margin:0 0 28px;min-width:0}.setting-group legend{font-weight:650;font-size:15px;padding:0;margin-bottom:12px}.segments{display:flex;gap:8px}.segment{flex:1;min-height:49px;padding:11px 8px;background:#f4f4ee;border:1px solid #e1e3d9;border-radius:11px;font-size:14px;font-weight:600}.segment[aria-pressed=true]{background:#dfebd8;border-color:#6e9375;box-shadow:inset 0 0 0 1px #6e9375;color:#244e36}.tip{font-size:12px;line-height:1.65;color:#596d52;background:#edf2e6;border-radius:10px;padding:12px 14px;margin-top:12px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:12px;min-height:49px;padding:13px 23px;font-weight:650;font-size:14px;border:1px solid transparent}.primary{background:var(--green);color:#fffefa}.secondary{background:var(--white);border-color:#cfd7ca}.full{width:100%}.game-page{width:min(100%,820px);margin:38px auto;flex:1}.game-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.badge{font-size:10px;font-weight:750;letter-spacing:1.5px;border:1px solid #d6dccf;border-radius:30px;padding:8px 13px;background:#ecf0e6}.turn-heading{font-size:31px;letter-spacing:-1px;margin-top:10px;line-height:1.2;display:flex;align-items:center;gap:11px}.turn-dot{height:11px;width:11px;border-radius:50%;background:var(--player);box-shadow:0 0 0 5px color-mix(in srgb,var(--player),transparent 90%)}.board-card{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:28px 32px 20px;box-shadow:0 5px 0 #e9ebdf}.board-top{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px;letter-spacing:1.5px;font-weight:700;margin-bottom:20px}.bars{position:relative;height:146px;margin-right:0}.bar-row{position:absolute;top:0;left:0;width:100%;display:flex;align-items:center;gap:18px;height:60px;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.bar-track{height:48px;flex:1;border-bottom:1px dashed #d7decf;min-width:0;position:relative}.bar{height:48px;min-width:0;background:#387d61;border-radius:9px;position:relative;transition:width .4s cubic-bezier(.25,.8,.25,1);box-shadow:0 3px 0 #22553f;overflow:hidden}.bar-row[data-slot="1"] .bar{background:#ce934e;box-shadow:0 3px 0 #ab7133}.bar-value{width:51px;font-weight:750;font-size:32px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.cut{position:absolute;right:0;top:0;height:100%;width:0;opacity:0;background:repeating-linear-gradient(135deg,#fff4 0 5px,transparent 5px 10px),var(--player);border-left:2px dashed #fffefa;border-radius:0 9px 9px 0;transition:opacity .15s}.cut.visible{opacity:.9}.preview{height:42px;border-top:1px solid #edf0e6;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.5px;margin-top:5px;padding-top:10px}.preview.placeholder{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400}.moves-section{padding:25px 0 0}.moves-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.moves-header h3{font-size:14px;font-weight:650}.only-move{font-size:11px;color:#68604c;padding:5px 9px;border-radius:6px;background:#ece7d8}.moves{display:flex;flex-wrap:wrap;gap:9px}.move-button{min-height:49px;border:1px solid #cbd6c3;border-radius:11px;padding:13px 17px;font-size:14px;font-weight:650;background:var(--white);position:relative}.move-button:hover:not(:disabled),.move-button:focus-visible,.move-button.suggested{background:#dfebd8;border-color:#6e9375}.move-help{font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}.history{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.history h3{font-size:12px;font-weight:650;display:flex;gap:7px;align-items:center;margin-bottom:14px}.history svg{width:16px;height:16px}.history-empty{font-size:12px;color:#7a837a}.history-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.history-list li{background:#eeeee6;border:1px solid #e0e3d6;border-radius:8px;font-size:12px;padding:10px 12px;font-variant-numeric:tabular-nums}.history-list .move-player{font-size:10px;color:var(--muted);margin-right:8px}.result{margin-top:24px}.result h2{font-size:27px;letter-spacing:-.8px;margin-bottom:18px}.secret{background:#e9e4f0;border:1px solid #dcd4e7;padding:20px 23px;border-radius:15px}.secret h3{font-size:14px;display:flex;align-items:center;gap:9px;margin-bottom:8px}.secret p{font-size:13px;line-height:1.7;color:#575365}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.status{margin-top:16px;padding:12px 15px;border:1px solid #dfd9c4;background:#f2eedf;border-radius:10px;font-size:13px;line-height:1.6}.status:empty{display:none}.lobby-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:19px;background:var(--lilac);margin-bottom:24px}.lobby-icon svg{width:33px;height:33px}.lobby-title{font-size:29px;letter-spacing:-1px;margin-bottom:12px}.body-copy{font-size:14px;line-height:1.7;color:var(--muted)}.link-label{display:block;font-size:12px;font-weight:650;margin-top:25px;margin-bottom:8px}.link-input{width:100%;padding:14px;border:1px solid #d6ddce;border-radius:10px;background:#f6f6f0;font-size:12px;color:#53664e;min-height:48px}.waiting{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;font-size:13px;color:var(--muted)}.pulse{width:7px;height:7px;border-radius:50%;background:#6b8764;animation:pulse 1.5s infinite}.local-hint{font-size:11px;line-height:1.6;color:var(--muted);margin-top:18px}.tutorial-top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:22px}.step-label{font-size:12px;font-weight:650;color:var(--green)}.step-dots{display:flex;gap:5px;margin-top:9px}.step-dots i{width:24px;height:4px;border-radius:3px;background:#dce3d4}.step-dots i.active{background:var(--green)}.bubble{background:#e9e4f0;border:1px solid #dad1e6;padding:23px 26px;border-radius:17px;margin-bottom:26px;position:relative;min-height:102px}.bubble:after{content:"";position:absolute;bottom:-7px;left:33px;width:12px;height:12px;transform:rotate(45deg);background:#e9e4f0;border-right:1px solid #dad1e6;border-bottom:1px solid #dad1e6}.bubble p{font-size:15px;line-height:1.7}.tutorial-actions{display:flex;justify-content:space-between;gap:16px;margin-top:24px}.tutorial-done{color:var(--green);font-size:13px;font-weight:650;margin-top:13px}.tutorial-title{font-size:30px;letter-spacing:-1px;margin-bottom:23px}.game-page.friend-turn{--player:#936129}.invisible{visibility:hidden}@keyframes pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:1400px){.home{padding-top:90px;padding-bottom:90px}.shell{max-width:1240px}.home-art{padding-left:30px}}@media(max-width:850px){.shell{padding:25px 30px}.home{gap:35px}.home h1{font-size:56px}.art-paper{padding:26px 20px;min-height:330px}.art-number{font-size:25px}.art-bar{height:43px}.art-top{font-size:9px}.art-equation{font-size:22px;right:7px}.choice-card{padding:16px}.choice-card small{font-size:11px}.home-description{font-size:13px}.subtitle{font-size:21px}.choice-icon{width:38px;height:42px}}@media(max-width:650px){.shell{padding:19px 21px 20px}.header{padding-bottom:17px}.brand{font-size:17px}.nav-button{font-size:12px;padding:8px 12px}.home{grid-template-columns:1fr;padding:34px 0 25px;gap:25px}.home h1{font-size:57px;letter-spacing:-3.2px;max-width:330px;margin-top:15px}.subtitle{font-size:21px;margin-top:16px}.home-description{font-size:13px}.opponent-title{margin-top:28px}.choice-card{padding:16px 18px;min-height:84px}.choice-card small{font-size:12px}.choice-icon{width:43px;height:43px}.home-art{padding:14px 15px 32px;max-width:450px;width:100%;justify-self:center}.art-paper{min-height:265px;transform:rotate(-2deg);padding:24px}.art-bars{padding-top:27px;gap:14px}.art-top{font-size:10px}.art-star{font-size:43px;right:0;top:-2px}.art-equation{bottom:-21px;padding:16px 23px;font-size:22px}.art-zero{height:52px;width:52px;font-size:25px;left:7px;bottom:6px}.footer{padding-top:20px;font-size:10px}.center-page,.game-page{margin:29px auto}.page-heading{font-size:33px;margin-bottom:23px}.panel{padding:23px 20px;border-radius:18px}.segment{font-size:12px}.setting-group{margin-bottom:24px}.game-top{align-items:flex-start;margin-bottom:20px}.turn-heading{font-size:27px}.badge{font-size:8px;padding:7px 10px}.board-card{padding:22px 18px 15px;border-radius:17px}.bar-row{gap:12px}.bar-track,.bar{height:40px}.bar-row{height:54px}.bar-value{font-size:28px;width:39px}.bars{height:140px}.preview{font-size:17px}.moves-header{align-items:flex-start}.only-move{font-size:9px}.move-button{font-size:12px;padding:13px 12px}.move-help{font-size:10px}.bubble{padding:19px 20px;min-height:132px}.bubble p{font-size:13px}.tutorial-title{font-size:28px}.result h2{font-size:24px}.secret{padding:18px}.secret p{font-size:12px}.history-list li{font-size:11px}.actions .primary,.actions .secondary{flex:1}.lobby-title{font-size:27px}.board-top{font-size:9px}.preview.placeholder{font-size:10px}}
