@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.grid{display:grid}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#20231f;--muted:#77766e;--paper:#f6f3ec;--red:#b83a2e;--red-dark:#81261f;--green:#536759;--wood:#d6a95f;--wood-light:#efcc83}*{box-sizing:border-box}html{background:#ece8df}body{color:var(--ink);background:radial-gradient(circle at 20% 0%, #fffdf8 0, transparent 34%), var(--paper);min-height:100vh;margin:0;font-family:ui-serif,Songti SC,Noto Serif CJK SC,STSong,SimSun,serif}button{font:inherit}button:focus-visible{outline-offset:3px;outline:3px solid #287aa7}main{flex-direction:column;width:min(1180px,100% - 40px);min-height:100vh;margin:0 auto;display:flex}.topbar{border-bottom:1px solid #d9d4c9;justify-content:space-between;align-items:center;height:112px;display:flex}.brand{align-items:center;gap:14px;display:flex}.seal{color:#fff9ec;background:var(--red);border-radius:11px;place-items:center;width:48px;height:48px;font-size:27px;display:grid;transform:rotate(-2deg);box-shadow:inset 0 0 0 2px #cf675b,0 5px 14px #9c38272e}h1{letter-spacing:.22em;margin:0;font-size:25px;font-weight:800}.brand p{color:var(--muted);letter-spacing:.08em;margin:4px 0 0;font-size:13px}.restart{color:#4d504b;cursor:pointer;background:#fffdf9;border:1px solid #ccc5b8;border-radius:9px;padding:10px 16px;transition:border-color .15s,background-color .15s,transform .15s;box-shadow:0 2px 6px #3328160a}.restart:hover{background:#fff;border-color:#9c978d}.restart:active{transform:translateY(1px)}.layout{flex:1;grid-template-columns:minmax(0,760px) 260px;justify-content:center;align-items:start;gap:clamp(32px,5vw,76px);padding:38px 0 24px;display:grid}.game{min-width:0}.board-wrap{background:#b87935;border-radius:9px;padding:8px;box-shadow:0 16px 38px #4b342326,0 3px 7px #4c331a26,inset 0 0 0 1px #8e5725}.board{aspect-ratio:9/10;background-color:var(--wood-light);background-image:linear-gradient(90deg,#fff2bd22,#0000 30%,#7a45180a 70%),repeating-linear-gradient(0deg,#8a591a05 0 1px,#0000 1px 6px);border:2px solid #7f4c21;width:100%;position:relative;box-shadow:inset 0 0 34px #a4672447}.lines{width:100%;height:100%;position:absolute;inset:0}.lines line,.lines rect{fill:none;stroke:#68411f;stroke-width:2.2px;vector-effect:non-scaling-stroke}.lines text{fill:#72451f;text-anchor:middle;dominant-baseline:middle;letter-spacing:12px;font-size:40px;font-weight:700}.point{z-index:2;aspect-ratio:1;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;place-items:center;width:clamp(36px,9.1%,62px);padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.piece{aspect-ratio:1;background:radial-gradient(circle at 36% 30%,#fff9e9 0,#eee1c4 62%,#cbb58d 100%);border:clamp(2px,.4vw,3px) solid;border-radius:50%;place-items:center;width:89%;font-size:clamp(20px,4.2vw,36px);font-weight:800;line-height:1;transition:transform .15s,box-shadow .15s;display:grid;box-shadow:0 3px 1px #69401385,0 5px 10px #412a173d,inset 0 0 0 2px #f8eccf}.piece.red{color:var(--red)}.piece.black{color:#262c28}.point:hover .piece{transform:translateY(-2px);box-shadow:0 5px 1px #69401385,0 8px 13px #412a1745,inset 0 0 0 2px #f8eccf}.point.selected .piece{transform:translateY(-3px)scale(1.05);box-shadow:0 0 0 4px #fff6cf,0 0 0 7px #4c8060,0 9px 16px #3d291d5c}.point.last:not(.selected):after{content:"";aspect-ratio:1;border-radius:50%;width:95%;position:absolute;box-shadow:0 0 0 2px #87561e8a}.move-dot{background:#446b52;border-radius:50%;width:15px;height:15px;box-shadow:0 0 0 5px #fff4c58c}.point.capture:after{content:"";aspect-ratio:1;border:4px solid #447152;border-radius:50%;width:96%;position:absolute}.status{color:#555750;background:#ebe7dd;border:1px solid #d9d4c8;border-radius:8px;align-items:center;gap:10px;min-height:46px;margin-top:17px;padding:11px 14px;font-size:14px;display:flex}.status-dot{border-radius:50%;flex:none;width:8px;height:8px}.status-dot.red,.status-dot.win{background:var(--red);box-shadow:0 0 0 4px #b83a2e19}.status-dot.black{background:#313a34;box-shadow:0 0 0 4px #313a3419}aside{padding-top:10px}.turn-card,.guide{background:#fffefa;border:1px solid #ddd8ce;border-radius:10px;padding:21px;box-shadow:0 4px 16px #3528190a}.eyebrow{color:#8b887f;letter-spacing:.17em;margin:0 0 17px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px;font-weight:700}.turn-badge{align-items:center;gap:12px;display:flex}.turn-badge>span{background:#f5ead6;border:2px solid;border-radius:50%;place-items:center;width:45px;height:45px;font-size:24px;font-weight:800;display:grid;box-shadow:inset 0 0 0 2px #fff9eb}.turn-badge.red{color:var(--red)}.turn-badge.black{color:#2c3530}.turn-badge div{flex-direction:column;gap:3px;display:flex}.turn-badge strong{color:var(--ink);letter-spacing:.04em;font-size:18px}.turn-badge small{color:#98948c;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px}.divider{background:#ece8df;height:1px;margin:19px 0 15px}.legend{color:#676861;justify-content:space-between;font-size:12px;display:flex}.legend span{align-items:center;gap:7px;display:flex}.mini{background:#f6eedf;border:1px solid;border-radius:50%;place-items:center;width:23px;height:23px;font-size:12px;font-style:normal;font-weight:700;display:inline-grid}.mini.red{color:var(--red)}.mini.black{color:#29312c}.guide{margin-top:14px}ol{gap:18px;margin:0;padding:0;list-style:none;display:grid}li{align-items:center;gap:12px;display:flex}li b{width:25px;height:25px;color:var(--green);background:#e9eee9;border-radius:50%;place-items:center;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px;display:grid}li span{flex-direction:column;gap:2px;display:flex}li strong{font-size:13px}li small{color:#99968e;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px}.tip{color:#97938a;text-align:center;margin:14px 0;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px;line-height:1.5}.turn-mobile{display:none}footer{text-align:center;color:#9a978f;letter-spacing:.08em;border-top:1px solid #ddd8ce;padding:18px 0 23px;font-family:ui-sans-serif,system-ui,sans-serif;font-size:11px}@media (max-width:850px){main{width:min(100% - 28px,690px)}.topbar{height:86px}.layout{padding-top:22px;display:block}aside{display:none}.turn-mobile{justify-content:space-between;margin-bottom:15px;display:flex}.turn-mobile .turn-badge>span{width:38px;height:38px;font-size:20px}.turn-mobile .turn-badge strong{font-size:15px}.status{margin-bottom:22px}}@media (max-width:480px){main{width:100%}.topbar{height:74px;padding:0 14px}.seal{border-radius:9px;width:39px;height:39px;font-size:22px}h1{font-size:21px}.brand p{display:none}.restart{padding:8px 11px;font-size:13px}.layout{padding:14px 8px 0}.turn-mobile{margin:0 6px 12px}.board-wrap{border-radius:6px;padding:5px}.piece{font-size:clamp(19px,7vw,29px)}.lines text{font-size:35px}.status{min-height:45px;margin-top:12px;font-size:12px;line-height:1.45}footer{margin-top:2px}}@media (prefers-reduced-motion:reduce){.piece,.restart{transition:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
