:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#253c35;background:#f4f3ed;font-synthesis:none;--gp-green: #265b47;--gp-muted: #6b746b;--gp-line: #dedfd4;--gp-paper: #fffefa}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #b67d20;outline-offset:4px}button[hidden],[hidden]{display:none!important}.gp-app{max-width:880px;margin:auto;padding:28px 24px 22px}.gp-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--gp-line);padding-bottom:22px}.gp-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:1px}.gp-brand small{display:block;font-size:9px;margin-top:3px;letter-spacing:2.4px;font-weight:500;color:var(--gp-muted)}.gp-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--gp-green);color:#f9f6e9;font-size:32px;line-height:1;border-radius:9px}.gp-header nav{display:flex;gap:6px}.gp-header nav button{background:transparent;border:1px solid var(--gp-line);border-radius:8px;min-height:40px;padding:8px 12px;font-size:12px}.gp-header nav button:hover{background:#e9ebdf}.gp-intro{padding:28px 0 25px}.gp-eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:#74835d;margin:0 0 10px}.gp-intro h1{font-family:Songti SC,"Noto Serif CJK SC",SimSun,serif;margin:0 0 9px;font-size:clamp(27px,4vw,36px);font-weight:600;letter-spacing:1px}.gp-intro>p:last-child{color:var(--gp-muted);font-size:13px;margin:0}.gp-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.gp-table{min-width:0;background:#e9eddf;border:1px solid #d8dfcf;padding:20px 24px;border-radius:18px;box-shadow:0 7px 20px #34432c05}.gp-roundbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:21px;font-size:12px}#gp-round{color:#fff;background:var(--gp-green);padding:6px 11px;border-radius:5px;font-weight:600}#gp-stage{color:#69765e;font-size:11px}.gp-board-heading,.gp-hand-heading,.gp-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.gp-board-heading{margin-bottom:12px}.gp-board-heading h2,.gp-hand-heading h2,.gp-panel-heading h2{font-size:12px;font-weight:600;margin:0}.gp-board-heading>span,.gp-hand-heading>span,.gp-panel-heading>span{font-size:11px;color:var(--gp-muted)}.gp-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gp-cell{aspect-ratio:1.18;min-width:0}.gp-card{border:1px solid #d5d5ca;border-radius:10px;background:var(--gp-paper);box-shadow:0 3px #bfc5b63b;position:relative;padding:0;color:#293e37;transition:border-color .15s,box-shadow .15s,background .15s}.gp-card:disabled{opacity:1}.gp-red{color:#b64f43}.gp-card-corner{position:absolute;left:12px;top:8px;display:flex;flex-direction:column;align-items:center;font-size:23px;line-height:1.12;font-weight:700;font-family:Georgia,Times New Roman,serif}.gp-card-corner small{font-size:16px}.gp-card-suit{position:absolute;top:50%;left:55%;transform:translate(-50%,-50%);font-family:Georgia,serif;font-size:clamp(32px,4vw,48px);line-height:1}.gp-card-bottom{position:absolute;bottom:7px;right:10px;transform:rotate(180deg);font-family:Georgia,serif;font-size:18px;font-weight:600}.gp-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #b9c5ad;border-radius:10px;background:#f5f6ed80;color:#9aa58d}.gp-empty-plus{font-weight:300;font-size:24px;line-height:1}.gp-empty small{font-size:10px}.gp-empty:not(:disabled):hover{background:#fcfdf6;border-color:var(--gp-green)}.gp-related{border-color:#809d69;background-color:#fcfff5}.gp-ghost{border:2px dashed var(--gp-green);background:#f7ffe9}.gp-selected{border:2px solid var(--gp-green);box-shadow:0 0 0 3px #265b471b,0 3px #bfc5b63b;background:#fcfff5}.gp-scoring{background:#fff3c7;border-color:#bd8a31;box-shadow:0 0 0 3px #bd8a3126}.gp-hint{display:flex;align-items:center;gap:8px;margin:16px 0;min-height:33px}.gp-step{display:grid;place-items:center;flex-shrink:0;background:#d7dfca;color:#44603b;width:21px;height:21px;border-radius:50%;font-size:11px;font-weight:700}.gp-hint p{font-size:12px;line-height:1.6;margin:0;color:#59684e}.gp-hand-heading{margin-bottom:10px}.gp-hand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:94px}.gp-hand .gp-card{height:100px}.gp-hand .gp-card-suit{font-size:36px}.gp-hand.gp-muted{opacity:.55}.gp-picked{position:absolute;background:var(--gp-green);color:#fff;bottom:-8px;left:50%;transform:translate(-50%);border-radius:4px;font-size:9px;padding:2px 7px;white-space:nowrap}.gp-preview{border-top:1px solid #d4dcc8;margin-top:18px;padding-top:13px;min-height:77px}.gp-preview>span{font-size:10px;color:#69765e;letter-spacing:.4px}.gp-preview p{margin:6px 0 0;font-size:12px;line-height:1.65;color:#56644d}.gp-has-preview p{color:#214d38;font-weight:600}.gp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.gp-primary,.gp-secondary{min-height:44px;padding:11px 16px;border-radius:8px;font-size:12px;font-weight:600;border:1px solid transparent}.gp-primary{background:var(--gp-green);color:#fff;flex:1}.gp-primary:not(:disabled):hover{background:#1c4737}.gp-primary:disabled{background:#c2cbb8;color:#56624c}.gp-secondary{background:transparent;border-color:#b4bfa8;color:#4c6244}.gp-status{font-size:11px;color:#536347;line-height:1.6;margin:8px 0 0}.gp-status:empty{margin:0}.gp-sidebar{display:grid;gap:18px}.gp-scorecard{background:var(--gp-paper);border:1px solid var(--gp-line);border-radius:14px;padding:22px}.gp-scorecard>div{display:flex;flex-direction:column;gap:7px}.gp-scorecard>div span{font-size:12px;color:var(--gp-muted)}.gp-scorecard>div strong{font-family:Georgia,serif;font-size:48px;font-weight:500;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-2px}.gp-best{display:block;font-size:11px;color:var(--gp-muted);margin:10px 0 20px}.gp-best b{color:#947d49;padding-left:4px}#gp-history{list-style:none;padding:0;margin:0;display:flex;gap:6px}#gp-history li{flex:1;border:1px solid #e7e8df;background:#f6f6f0;border-radius:7px;padding:9px 5px;text-align:center;min-width:0}#gp-history span{font-size:10px;color:var(--gp-muted);display:block;margin-bottom:5px}#gp-history strong{font-size:14px;font-variant-numeric:tabular-nums}#gp-history .gp-done{background:#edf2e7;border-color:#d3dec9}#gp-result{color:var(--gp-muted);font-size:11px;line-height:1.7;margin:15px 0 0}.gp-lines-panel{padding:0 3px}.gp-panel-heading{padding:0 0 12px;border-bottom:1px solid var(--gp-line)}.gp-lines{display:grid;padding-top:4px}.gp-line{display:grid;grid-template-columns:35px 1fr auto;gap:7px;align-items:center;min-height:34px;font-size:11px;padding:7px 5px;border-radius:5px}.gp-line>span:first-child{color:var(--gp-muted)}.gp-line small{color:var(--gp-muted);font-size:10px}.gp-line strong{font-variant-numeric:tabular-nums}.gp-line-active{background:#f4e5b9}.gp-fineprint{font-size:10px;line-height:1.8;color:var(--gp-muted);margin:10px 0 0}.gp-quick-rules{background:#eeede3;border-radius:12px;padding:18px}.gp-quick-rules h2{font-size:13px;margin:0 0 13px;font-family:Songti SC,serif}#gp-mini-paytable{display:grid;grid-template-columns:1fr 1fr;gap:9px 16px}#gp-mini-paytable>span{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#66705c}#gp-mini-paytable b{font-size:11px;color:#43533b}.gp-text-button{border:none;background:none;font-size:11px;color:var(--gp-green);padding:14px 0 0;text-align:left;min-height:40px}.gp-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:22px;font-size:10px;color:#7d8277}.gp-footer a{color:#5c7050;text-decoration:none;min-height:36px;display:flex;align-items:center}.gp-dialog{border:1px solid var(--gp-line);border-radius:18px;padding:28px;max-width:480px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);color:#253c35;background:var(--gp-paper);box-shadow:0 20px 90px #14261b30}.gp-dialog::backdrop{background:#20362a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.gp-dialog h2{font-family:Songti SC,serif;font-size:26px;line-height:1.5;margin:0 0 10px}.gp-dialog p{font-size:13px;line-height:1.9;color:#65705f}.gp-dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}.gp-dialog-heading button{background:transparent;border:0;padding:10px;min-width:40px;min-height:40px}.gp-paytable{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gp-paytable>div{background:#f0f3e9;padding:10px;font-size:12px;border-radius:6px;display:flex;justify-content:space-between}.gp-welcome{padding:36px}.gp-welcome h2{font-size:32px;margin:10px 0 18px}.gp-welcome small{display:block;font-size:10px;color:var(--gp-muted);margin-top:15px}@media(max-width:720px){.gp-app{max-width:480px;padding:16px 16px 12px}.gp-header{padding-bottom:15px}.gp-brand{font-size:17px;gap:8px}.gp-brand small{font-size:8px;letter-spacing:1.5px}.gp-mark{width:32px;height:32px;font-size:27px}.gp-header nav{gap:4px}.gp-header nav button{padding:6px 9px;font-size:11px;min-height:36px}.gp-intro{padding:14px 0 12px}.gp-intro h1{font-size:24px;margin-bottom:0}.gp-intro>p:last-child{display:none}.gp-eyebrow{font-size:9px;margin-bottom:6px}.gp-layout{display:flex;flex-direction:column;gap:17px}.gp-table{width:100%;padding:15px;border-radius:14px}.gp-roundbar{margin-bottom:15px}.gp-board{gap:8px}.gp-cell{aspect-ratio:1.2}.gp-card-corner{font-size:22px;left:9px;top:6px}.gp-card-corner small{font-size:14px}.gp-card-suit{font-size:35px;left:57%}.gp-card-bottom{right:7px;bottom:5px;font-size:15px}.gp-hand{gap:8px;min-height:76px}.gp-hand .gp-card{height:76px}.gp-hand .gp-card-suit{font-size:31px}.gp-hint{margin:12px 0}.gp-hint p{font-size:11px}.gp-hand-heading>span{font-size:10px}.gp-preview{margin-top:14px;min-height:65px}.gp-sidebar{width:100%;gap:16px}.gp-scorecard{order:-1;padding:17px}.gp-scorecard>div{flex-direction:row;align-items:baseline;justify-content:space-between}.gp-scorecard>div strong{font-size:36px;letter-spacing:-1px}.gp-best{margin:5px 0 13px}.gp-lines{grid-template-columns:1fr 1fr;column-gap:14px}.gp-line{grid-template-columns:28px 1fr auto;gap:4px}.gp-lines-panel{padding:0 4px}.gp-quick-rules{padding:15px}#gp-mini-paytable{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gp-footer{font-size:9px;padding-top:14px}}@media(max-width:350px){.gp-app{padding-left:11px;padding-right:11px}.gp-brand{font-size:15px}.gp-header nav button{padding:6px;font-size:10px}.gp-table{padding:12px}.gp-card-suit{font-size:29px}.gp-card-corner{font-size:20px}.gp-dialog{padding:22px}}@media(max-width:720px)and (max-height:740px){.gp-app{padding-top:8px}.gp-header{padding-bottom:8px}.gp-intro{display:none}.gp-layout{margin-top:8px}.gp-table{padding:10px}.gp-roundbar,.gp-board-heading{margin-bottom:8px}.gp-board{gap:6px}.gp-cell{aspect-ratio:1.65}.gp-hint{margin:8px 0;min-height:28px}.gp-hand-heading{margin-bottom:6px}.gp-hand{min-height:64px}.gp-hand .gp-card{height:64px}.gp-preview{margin-top:8px;padding-top:8px;min-height:56px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
