
.gspt-app{font-family:system-ui,-apple-system,"Malgun Gothic",sans-serif!important;line-height:1.45;color:#173d2e;max-width:1160px;margin:0 auto;padding:16px 14px 48px;box-sizing:border-box}
.gspt-app *{box-sizing:border-box}.gspt-app [hidden]{display:none!important}.gspt-app button,.gspt-app input,.gspt-app select{font:inherit}.gspt-app button{cursor:pointer;touch-action:manipulation}.gspt-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;background:linear-gradient(125deg,#133c2c,#206b4b);padding:22px 24px;color:#fff;border-radius:21px;margin:8px 0 12px}.gspt-kicker{font-size:12px;letter-spacing:.05em;opacity:.8;font-weight:800}.gspt-hero h1{font-size:clamp(25px,4vw,38px);margin:3px 0;color:#fff;font-weight:900;line-height:1.15}.gspt-hero h1 small{font-size:13px;color:#e8d29b;font-weight:800}.gspt-hero p{font-size:14px;color:#d6e8de;margin:5px 0 0}.gspt-actions{display:flex;flex-wrap:wrap;gap:7px}.gspt-out,.gspt-subtle{background:#fff;color:#1c5139;border:1px solid #bfd9c7;padding:10px 12px;text-decoration:none;border-radius:10px;font-size:13px;font-weight:800;display:inline-block}.gspt-actions .gspt-out{background:#fff1;color:#fff;border-color:#e3e8e27a}.gspt-notice{background:#fff9e8;border:1px solid #efda9e;border-radius:13px;padding:11px 14px;margin-bottom:12px;color:#624e19;font-size:13px}.gspt-config{background:#fff;border:1px solid #d3e6d8;border-radius:18px;padding:16px 18px;margin:12px 0;box-shadow:0 5px 16px #16412d0d}.gspt-sec-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.gspt-config h2{font-size:19px;margin:0 0 12px}.gspt-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gspt-fields label{display:block;font-weight:700;font-size:13px}.gspt-wide{grid-column:span 2}.gspt-fields input,.gspt-fields select,.gspt-players-input input{display:block;width:100%;min-width:0;border:1px solid #bfd2c5;background:#fff;border-radius:10px;padding:10px 11px;margin-top:4px;font-size:15px;min-height:46px;color:#173e2d}.gspt-labelhead{font-size:14px;margin:14px 0 5px}.gspt-labelhead span{font-size:12px;color:#6a8575;font-weight:500}.gspt-players-input{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.gspt-config-foot{margin-top:14px;display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.gspt-check{font-size:13px}.gspt-check input{vertical-align:middle}.gspt-primary{border:0;background:#164e37;color:#fff;border-radius:11px;padding:12px 19px;font-weight:800;min-height:48px}.gspt-main{background:#fff;border:1px solid #d5e6d9;border-radius:20px;padding:15px 14px;margin-top:14px}.gspt-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.gspt-topline h2{font-size:22px;margin:2px 0 10px}.gspt-eyebrow{color:#5a7561;font-size:13px}.gspt-mode{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}.gspt-mode strong{background:#174e37;color:#fff;border-radius:8px;padding:7px 9px}.gspt-mode a{color:#215a42;text-decoration:underline}.gspt-ranks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:8px 0 14px}.gspt-rank{background:#f3f8f5;border:1px solid #d1e3d7;border-radius:13px;padding:10px;min-width:0}.gspt-rank .name{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gspt-rank .rank{font-size:11px;color:#57705f}.gspt-rank .sum{font-size:23px;font-weight:900;line-height:1.3}.gspt-rank .sub{font-size:11px;color:#596e5f}.gspt-rank.is-first{background:#f9f6e7;border-color:#e6d29b}.gspt-course-tabs{display:flex;gap:8px;margin-bottom:7px;flex-wrap:wrap}.gspt-course-tabs button{background:#f0f6f2;border:1px solid #c3ddcc;color:#225640;padding:10px 17px;min-height:44px;border-radius:11px;font-weight:800}.gspt-course-tabs button.active{background:#16533b;color:#fff}.gspt-hint{font-size:13px;color:#607768;margin:7px 0}.gspt-table-scroller{overflow-x:auto;overflow-y:visible;border:1px solid #c9dccf;border-radius:13px;scrollbar-color:#799d84 #e8f3ec;scrollbar-width:auto;max-width:100%}.gspt-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0}.gspt-table th,.gspt-table td{border-right:1px solid #d8e6dc;border-bottom:1px solid #dbe9df;text-align:center;padding:5px 3px;height:55px;white-space:nowrap;font-size:13px}.gspt-table thead th{height:42px;background:#e8f2ec;color:#275a41;font-size:13px;font-weight:900;position:sticky;top:0;z-index:1}.gspt-table thead tr:nth-child(2) th{height:36px;background:#f5f8f0;font-size:12px}.gspt-table tbody th,.gspt-table tfoot th{background:#f8fbf9;text-align:left;padding-left:9px;font-weight:800;color:#17432e;position:sticky;left:0;z-index:2}.gspt-table .gspt-name-col{width:124px;min-width:124px;position:sticky;left:0;z-index:4}.gspt-table .gspt-total-col{width:74px;min-width:74px;background:#e0eee5;font-weight:800;position:sticky;right:0;z-index:3}.gspt-table th.gspt-total-col{z-index:5}.gspt-table .gspt-player-score{width:72px}.gspt-cell{border:1px solid #c3d9cb;background:#fff;color:#183d2b;min-height:50px;min-width:57px;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:9px;font-weight:900;font-size:18px}.gspt-cell .diff{font-size:10px;color:#5d7a67;font-weight:700}.gspt-cell.empty{border-style:dashed;color:#a5b8ab}.gspt-cell.selected{background:#6d5ed3;color:#fff;border-color:#6451c5}.gspt-cell.selected .diff{color:#f8f3ff}.gspt-cell.under{background:#eff7ff;border-color:#89acd1}.gspt-cell.over{background:#fff5e9;border-color:#e4c09c}.gspt-table tfoot td{font-weight:800;font-size:13px;background:#fafaf5}.gspt-current{font-size:12px;color:#637c69;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:9px}.gspt-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 10px;padding:16px;background:#f5f9f6;border:1px solid #d8e6dc;border-radius:14px}.gspt-tools h3{font-size:17px;margin:0 0 4px}.gspt-tools p{margin:0;color:#60796b;font-size:12px}.gspt-tool-buttons{display:flex;flex-wrap:wrap;gap:7px}.gspt-tool-buttons button{border:1px solid #bbd0c3;border-radius:10px;padding:10px 12px;background:#fff;color:#1f533a;font-weight:800;font-size:13px}.gspt-tool-buttons button.gspt-warn{background:#fff4e5;color:#87481d;border-color:#ecc99c}.gspt-audit{border:1px solid #d7e6dc;border-radius:13px;padding:12px}.gspt-audit summary{cursor:pointer;font-weight:800;color:#255c41}.gspt-audit h3{font-size:15px;margin:15px 0 8px}.gspt-pargrid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;margin-top:13px}.gspt-pargrid label{display:block;font-size:11px;font-weight:700;color:#3c6850;text-align:center}.gspt-pargrid input{width:100%;min-width:0;min-height:44px;border:1px solid #c3d9ca;border-radius:9px;text-align:center;font-weight:800}.gspt-history{font-size:12px;color:#4b6755;max-height:200px;overflow:auto}.gspt-history p{margin:6px 0}.gspt-bottom-note{color:#738073;font-size:12px;margin:12px 1px 0}.gspt-backdrop{position:fixed;inset:0;z-index:999999;background:#102e23bb;display:flex;align-items:flex-end;justify-content:center;overflow-y:auto;padding:16px}.gspt-backdrop[hidden]{display:none!important}.gspt-dialog{background:#fff;width:min(100%,530px);padding:18px 18px 24px;border-radius:22px 22px 14px 14px;box-shadow:0 20px 50px #0004;max-height:94vh;overflow-y:auto}.gspt-dialog-title{display:flex;justify-content:space-between;align-items:start}.gspt-dialog-title h2{margin:3px 0 5px;font-size:23px;color:#183e2e}.gspt-close{border:1px solid #ceded3;background:#f4f8f5;color:#244a35;border-radius:9px;min-width:44px;min-height:44px}.gspt-dialog-par{background:#edf6f0;border-radius:10px;padding:9px 11px;font-size:13px;color:#496b53;margin:9px 0}.gspt-step-row{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0 13px}.gspt-step-row button{background:#18513a;color:#fff;border:0;border-radius:10px;padding:10px 9px;min-height:43px;font-weight:800;font-size:13px}.gspt-step-row span{font-size:18px;color:#173e2e;font-weight:900}.gspt-keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gspt-keypad button{border:2px solid #dae8dc;background:#f6faf7;border-radius:12px;min-height:68px;font-size:24px;font-weight:900;color:#18422e}.gspt-keypad button.chosen{background:#6b5bd5;color:#fff;border-color:#6b5bd5}.gspt-dialog-buttons{display:flex;gap:9px;margin-top:14px}.gspt-dialog-buttons button{flex:1}.gspt-dialog-foot{font-size:12px;color:#627365;margin-top:12px}.gspt-toast{position:fixed;z-index:1000000;bottom:20px;left:50%;transform:translateX(-50%);background:#133e2b;color:#fff;padding:13px 20px;border-radius:13px;box-shadow:0 9px 30px #0002;max-width:90vw;text-align:center}.gspt-toast[hidden]{display:none!important}
@media(max-width:800px){.gspt-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.gspt-wide{grid-column:span 2}.gspt-ranks{grid-template-columns:repeat(2,minmax(0,1fr))}.gspt-app{padding:8px 8px 30px}.gspt-hero{padding:18px 14px}.gspt-players-input{grid-template-columns:repeat(2,minmax(0,1fr))}.gspt-keypad button{min-height:60px}}
@media(max-width:480px){.gspt-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.gspt-hero h1{font-size:25px}.gspt-main{padding:13px 8px}.gspt-rank .sum{font-size:21px}.gspt-dialog{padding:15px}.gspt-keypad{grid-template-columns:repeat(3,minmax(0,1fr))}.gspt-keypad button{min-height:58px}.gspt-table .gspt-name-col{width:99px;min-width:99px}}
@media print{.gspt-hero,.gspt-config,.gspt-notice,.gspt-tools,.gspt-audit,.gspt-backdrop,.gspt-course-tabs,.gspt-hint{display:none!important}.gspt-app{padding:0;max-width:100%}.gspt-table-scroller{overflow:visible}.gspt-table{min-width:0}.gspt-cell{font-size:14px;min-width:0}}

/* v1.1: safe mobile/PC scoring, clear player choice and public voice confirmation */
.gspt-player-pick-wrap{margin:10px 0 12px}.gspt-player-pick-wrap>strong{display:block;font-size:13px;color:#315a40;margin:0 0 6px}.gspt-player-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.gspt-player-pick{font-size:12px!important;font-weight:800!important;min-height:52px;border-radius:10px;border:1px solid #bfd5c4;color:#19543a;background:#eff7f1;padding:5px 4px;overflow-wrap:anywhere}.gspt-player-pick.chosen{background:#725fda;color:white;border:2px solid #6652cf}.gspt-gesture-tip{font-size:12px;line-height:1.6;color:#365e48;background:#eff6f0;padding:8px 10px;border-radius:9px;margin-bottom:10px}.gspt-keypad button{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.gspt-selected-message{font-size:12px;text-align:center;font-weight:800;margin:8px 0;color:#245b42}.gspt-voice-control{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #c5dccc;border-radius:10px;background:#f4faf6;color:#224c34;font-size:13px;font-weight:800;cursor:pointer}.gspt-voice-control input{width:22px;height:22px;accent-color:#146340}.gspt-voice-control:focus-within{outline:2px solid #6a55d7;outline-offset:1px}
@media(max-width:480px){.gspt-player-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.gspt-gesture-tip{font-size:12px}.gspt-dialog{max-height:96vh;padding:12px}.gspt-keypad button{min-height:55px}.gspt-player-pick{min-height:44px}}
