:root{--ink:#243c42;--muted:#788383;--teal:#28575a;--orange:#d57650;--paper:#f8f9f6;--line:#e7eae4;--white:#fff;--font:'DM Sans',sans-serif;--heading:'Manrope',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #df9b70;outline-offset:3px}button{transition:background .15s,box-shadow .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}a{color:var(--teal)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--heading);letter-spacing:-.045em}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;padding:39px 23px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:3}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-family:var(--heading);font-size:25px;font-weight:800;letter-spacing:-1.1px;line-height:1.12}.brand-mark{display:grid;place-items:center;width:46px;height:58px;color:var(--orange)}.brand-mark svg{width:48px;height:48px;fill:currentColor;stroke:none}.brand-second{color:var(--teal)}.side-caption{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#8b9391;margin:19px 0 43px 5px}nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:11px;border:0;background:transparent;width:100%;padding:13px 12px;text-align:left;border-radius:7px;font-size:14px;font-weight:550;white-space:nowrap;color:#738080}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#eaf1eb;color:var(--teal);font-weight:700}.nav-item:hover{background:#f0f4ef}.nav-current{margin-left:auto;width:5px;height:5px;background:var(--teal);border-radius:50%}.nav-item:not(.active) .nav-current{display:none}.nav-count{margin-left:auto;border:1px solid var(--line);border-radius:5px;font-size:12px;min-width:21px;text-align:center}.side-bottom{margin-top:auto;padding-top:36px}.side-illustration{border-top:1px solid var(--line);padding:27px 10px 30px;display:flex;gap:12px;align-items:center}.side-illustration svg{width:33px;height:33px;color:#99b9aa;transform:rotate(-9deg)}.side-illustration span{font-size:13px;color:#7c8983;line-height:1.6}.save-state{display:flex;align-items:center;gap:6px;font-size:12px;color:#638075}.save-state svg{width:14px;height:14px}.side-bottom>p{font-size:11px;color:#a0a7a2;line-height:1.7;margin:10px 0 0 20px}main{margin-left:226px;padding:37px 45px 0;width:calc(100% - 226px);max-width:1630px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.9px;color:#8b9590;margin-bottom:7px}h1{font-size:32px;font-weight:750;line-height:1.3}.page-header p{font-size:14px;color:var(--muted);margin-top:6px}.button{border:1px solid transparent;border-radius:7px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:600;white-space:nowrap;min-height:42px}.button svg{width:17px;height:17px}.button.secondary{background:#fff;border-color:#dfe5dc}.button.secondary:hover{background:#eef3ec;border-color:#c9d5c6}.button.primary{background:var(--teal);color:white;box-shadow:0 2px 2px #203f3410}.button.primary:hover{background:#1e4549}.button.danger{background:#b34f3d;color:white}.hero{position:relative;overflow:hidden;min-height:196px;border-radius:12px;background:#e8efdf;display:flex;align-items:center;border:1px solid #e4eadb}.hero-copy{z-index:1;padding:25px 29px;pointer-events:none}.hero-label{font-size:9px;letter-spacing:1.6px;color:#6b806c;font-weight:700;display:flex;align-items:center;gap:7px}.hero-label>span{width:5px;height:5px;background:#98ad89;border-radius:50%}.hero h2{font-size:29px;font-weight:750;letter-spacing:-1.2px;margin:8px 0 6px;color:#2f514e}.hero p{font-size:14px;line-height:1.65;color:#768570}.hero-foot{display:block;font-size:11px;color:#83927a;margin-top:16px}.hero-foot>span{margin:0 6px}.hero-art{position:absolute;width:57%;height:100%;right:5px;bottom:0;object-fit:contain}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:27px 0 14px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-heading h2{font-size:18px;letter-spacing:-.5px;font-weight:750}.pill{font-size:11px;color:#849080;background:#edf0e9;border:1px solid #e3e8df;border-radius:5px;padding:3px 8px}.text-button{display:inline-flex;align-items:center;gap:7px;padding:5px 0;background:none;border:none;font-size:12px;font-weight:550;color:#7f8983}.text-button:hover{color:var(--teal)}.text-button svg{width:14px;height:14px}.score-cards{display:grid;grid-template-columns:repeat(var(--count,3),1fr);gap:16px}.score-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 20px 16px;position:relative;overflow:hidden;--player:#cf7e5b;--pale:#f9eee6}.score-card.p1{--player:#538b89;--pale:#e8f3f0}.score-card.p2{--player:#a295be;--pale:#f0edf7}.score-card.p3{--player:#c0a456;--pale:#f9f3de}.player-top{display:flex;align-items:center;gap:9px;min-width:0}.avatar{width:30px;height:30px;border-radius:50%;background:var(--pale);color:var(--player);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.avatar svg{width:20px;height:20px}.player-name{font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.leader-icon{color:#c7a76d;width:15px;height:15px;margin-left:auto}.player-score{display:flex;gap:7px;align-items:baseline;margin:8px 0 10px}.player-score strong{font-family:var(--heading);font-size:43px;line-height:1.2;font-weight:650;letter-spacing:-2px}.player-score span{font-size:12px;color:#909b92}.progress-track{height:4px;background:var(--pale);border-radius:3px;overflow:hidden}.progress-track>div{height:100%;background:var(--player);border-radius:3px;transition:width .35s}.card-foot{display:flex;justify-content:space-between;color:#9aa297;font-size:10px;margin-top:7px}.play-grid{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:21px;margin-top:26px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:10px}.round-panel{padding:21px 24px 0}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.title-with-icon{display:flex;align-items:center;gap:10px}.panel-title h2{font-size:17px;letter-spacing:-.5px}.section-icon{display:inline-grid;place-items:center;color:#658578;background:#eff4eb;border:1px solid #e7eee2;width:29px;height:29px;border-radius:7px}.section-icon svg{width:17px;height:17px}.icon-button{border:0;background:none;padding:7px;display:inline-grid;place-items:center;color:#97a198;border-radius:5px}.icon-button:hover{background:#f1f4ef;color:var(--teal)}.icon-button svg{width:17px;height:17px}.field-label{display:block;font-size:12px;font-weight:550;color:#758076;margin-bottom:9px}.mode-tabs{display:flex;background:#f5f6f2;padding:4px;border-radius:7px;gap:3px;margin-bottom:17px;border:1px solid #edf0e8}.mode-tabs button{flex:1;padding:8px 5px;border:1px solid transparent;border-radius:5px;white-space:nowrap;background:none;color:#899082;font-size:12px}.mode-tabs button.selected{background:#fff;border-color:#dfe7d7;color:var(--teal);font-weight:650;box-shadow:0 1px 3px #1c4a3610}.caller-section{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.caller-section .field-label{margin:0;font-size:12px}.select-wrap{position:relative;min-width:144px}.select-wrap:after{content:'';border:solid #88978a;border-width:0 1.5px 1.5px 0;padding:3px;transform:rotate(45deg);position:absolute;right:14px;top:14px;pointer-events:none}select{appearance:none;width:100%;border:1px solid #e0e6db;border-radius:6px;background:#fff;padding:8px 30px 8px 11px;color:#52665b;font-size:12px}.entry-head,.entry-row{display:grid;grid-template-columns:minmax(90px,1fr) 115px 70px;align-items:center;gap:12px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(90px,1fr) 105px 105px 60px}.entry-head{font-size:10px;color:#95a08f;padding:0 0 8px;border-bottom:1px solid #edf0e8}.entry-head>span:not(:first-child){text-align:center}.entry-row{padding:10px 0;border-bottom:1px solid #f0f2ec}.entry-row:last-child{border:0}.entry-player{display:flex;align-items:center;gap:8px;min-width:0}.entry-player .avatar{width:24px;height:24px}.entry-player .avatar svg{width:15px;height:15px}.entry-player .player-name{font-size:12px}.stepper{display:flex;align-items:center;border:1px solid #e3e8dd;height:34px;border-radius:5px;background:#fff;overflow:hidden}.stepper button{width:29px;height:100%;padding:0;border:0;background:#f9faf6;font-size:15px;color:#889781;flex-shrink:0}.stepper button:hover{background:#eaf1e4}.stepper input{width:100%;min-width:0;border:0;outline-offset:-3px;padding:0;font-size:13px;text-align:center;appearance:textfield;color:#314f49;height:100%;background:transparent}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none}.stepper input::placeholder{color:#b5beb0}.round-gain{text-align:center;font-size:13px;color:#92a08d;font-weight:600}.round-gain.ready{color:var(--teal)}.round-note{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.65;color:#8d9987;margin:14px 0 15px}.round-note svg{width:14px;height:14px;margin-top:2px}.form-footer{margin:0 -24px;border-top:1px solid var(--line);padding:15px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fdfefa;border-radius:0 0 10px 10px}.form-footer>span{font-size:10px;color:#99a190}.form-footer>div{display:flex;align-items:center;gap:15px}.form-footer .button{font-size:12px;padding:9px 13px;min-height:37px}.right-column{display:grid;gap:17px}.destination{padding:22px 23px 0;position:relative;overflow:hidden;background:#fdfefb}.mini-heading{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.25px;color:#8f9a87;font-weight:600}.mini-heading svg{width:14px;height:14px;color:#849777}.goal-number{display:flex;gap:9px;align-items:baseline;margin-top:4px}.goal-number>span:first-child{font-family:var(--heading);font-size:42px;letter-spacing:-2px;font-weight:600;color:#556f57}.goal-number>span:last-child{font-size:12px;color:#899680}.destination p{font-size:11px;color:#8d9884;margin:0 0 10px}.goal-wave{color:#d8e5cf;font-size:25px;letter-spacing:-3px;height:25px;overflow:hidden;white-space:nowrap;margin:0 -28px}.tip-card{position:relative;background:#f3eee4;border:1px solid #eee7d8;border-radius:10px;padding:18px 20px 15px}.tip-icon{display:block;color:#ba9c6a;margin-bottom:6px}.tip-icon svg{width:22px;height:22px}.tip-card h3{font-size:14px;letter-spacing:-.25px;color:#7a6d55}.tip-card p{font-size:12px;line-height:1.8;color:#9b907d;margin:6px 0 9px}.tip-card .text-button{font-size:11px;color:#aa8d63}.history-section{margin-top:26px}.history-section .section-heading{margin-bottom:15px}.small{font-size:12px}.muted{color:var(--muted)}.empty-history{background:#f2f5ee;border:1px dashed #dfe6d7;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:130px;gap:5px;padding:25px;text-align:center}.empty-history svg{width:24px;height:24px;color:#b1c2a9;margin-bottom:5px}.empty-history strong{font-size:13px;color:#7f8e77;font-weight:550}.empty-history p{font-size:11px;color:#a0aa96}.page-footer{margin:27px 0 0;padding:21px 0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:10px;color:#a1a99c}.page-footer svg{width:27px;height:20px;color:#b6c6aa}.history-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{font-weight:500;color:#94a08e;font-size:11px;text-align:left;background:#fcfdf9}th,td{padding:13px 17px;border-bottom:1px solid #edf0e8}tbody tr:last-child td{border:0}td.points,th.points{text-align:center}td.points{font-weight:650}td .history-mode{font-size:10px;color:#98a18f;margin-left:7px}.row-actions{display:flex;justify-content:flex-end;gap:8px}.row-actions button{font-size:11px}.row-actions .delete-round{color:#b79b85}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 25px}.history-toolbar p{font-size:14px}.winner-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#e5efdc;border:1px solid #cbdcbb;border-radius:10px;margin-top:20px}.winner-banner>div{display:flex;align-items:center;gap:14px}.winner-banner svg{color:#7d945f;width:28px;height:28px}.winner-banner h2{font-size:20px}.winner-banner p{font-size:12px;color:#728368;margin-top:3px}.rules-intro{display:flex;gap:15px;align-items:center;margin:30px 0}.rules-intro .section-icon{width:45px;height:45px}.rules-intro h2{font-size:24px}.rules-intro p{font-size:14px;color:var(--muted);margin-top:5px}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule-card{padding:25px}.rule-label{font-size:10px;letter-spacing:1.5px;color:#9baa91;font-weight:650}.rule-card h2{font-size:23px;margin:8px 0 12px}.rule-card p{font-size:14px;line-height:1.8;color:#7e8b7a;margin-top:10px}.rule-card strong{color:#4a6550;font-weight:600}.rule-card.wide{grid-column:1/-1}.rules-source{margin:25px 0;font-size:12px;color:#8c9786}.rules-source a{margin-left:8px}.form-error{background:#fcf0e9;color:#b46443;padding:9px 12px;border-radius:5px;font-size:12px;margin:10px 0}.empty-round-note{background:#f4f7ef;padding:20px;border-radius:6px;font-size:13px;color:#819276;margin:10px 0}.mermaid-visual{color:#b5a1c6;text-align:center;font-size:30px;letter-spacing:12px;padding:9px 0}dialog{border:1px solid #e0e6da;padding:28px;max-width:490px;width:calc(100% - 32px);border-radius:14px;box-shadow:0 20px 90px #13393330;color:var(--ink);background:#fcfdf9}dialog::backdrop{background:#163b4480;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.dialog-header h2{font-size:24px}.dialog-header .eyebrow{font-size:9px}.dialog-header .icon-button{align-self:flex-start}dialog .muted{font-size:13px;margin-bottom:23px}dialog .field-label{margin:18px 0 9px}.count-buttons{display:flex;gap:9px}.count-buttons button{flex:1;border:1px solid #dfe6d8;background:#fff;padding:9px;border-radius:6px;font-size:13px}.count-buttons button.selected{background:#e8f0e2;border-color:#9fb59c;color:#315a43;font-weight:650}.name-field{display:flex;align-items:center;gap:10px;margin-top:12px}.name-field input,input#target-input{border:1px solid #dee5d7;background:#fff;padding:10px 12px;border-radius:6px;color:#40573e;width:100%;font-size:14px}.name-field .avatar{width:34px;height:34px}input#target-input{width:110px}#target-hint{margin:7px 0 0;font-size:11px}.warning{font-size:12px;background:#f6edda;color:#998056;padding:12px;border-radius:6px;margin-top:18px}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;padding-top:23px;margin-top:23px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:26px;left:calc(50% + 113px);transform:translateX(-50%);padding:12px 20px;background:#254b46;color:#fff;border-radius:8px;box-shadow:0 4px 25px #243c4230;font-size:13px;z-index:10;max-width:90vw;text-align:center}
@media(min-width:1500px){main{padding-left:60px;padding-right:60px}.hero{min-height:215px}.hero h2{font-size:35px}.hero-art{width:60%}.play-grid{grid-template-columns:minmax(0,1fr) 280px}.score-card{padding:21px 24px}.round-panel{padding-top:24px}}
@media(max-width:1180px){.sidebar{width:200px;padding:30px 16px}.brand{font-size:23px}.brand-mark{width:39px}.side-caption{font-size:9px}.nav-item{font-size:12px;padding-left:10px;gap:8px}main{margin-left:200px;width:calc(100% - 200px);padding:30px 27px 0}.play-grid{grid-template-columns:minmax(0,1fr) 205px;gap:16px}.round-panel{padding:18px 18px 0}.form-footer{margin:0 -18px;padding:14px 18px}.form-footer>span{display:none}.form-footer{justify-content:flex-end}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(70px,1fr) 85px 85px 40px;gap:8px}.mode-tabs button{font-size:11px}.destination,.tip-card{padding-left:17px;padding-right:17px}.hero h2{font-size:27px}.hero-copy{padding:25px}.hero-label{font-size:8px}.hero-art{right:-20px;width:57%}.score-card{padding:15px}.toast{left:calc(50% + 100px)}}
@media(max-width:1000px){.play-grid{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr}.destination{padding-bottom:16px}.goal-wave{position:absolute;bottom:0;left:0;right:0}.tip-card{padding-top:17px;padding-bottom:12px}.tip-icon{display:none}.hero-art{width:51%;right:-10px}.hero-copy{padding:23px}.hero h2{font-size:25px}.hero-label{letter-spacing:1px;font-size:8px}.hero-foot{font-size:10px}.player-name{font-size:12px}.section-heading .small{display:none}.entry-head,.entry-row{grid-template-columns:minmax(100px,1fr) 120px 80px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(100px,1fr) 110px 110px 70px}.score-cards{gap:10px}.page-header .button{font-size:12px;padding:9px 12px}.score-cards:has(.p3){grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;width:100%;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:19px;gap:7px;line-height:1.05}.brand br{display:none}.brand-mark{width:31px;height:32px}.brand-mark svg{width:33px;height:33px}.brand-second{margin-left:4px}.side-caption,.side-bottom{display:none}nav{flex-direction:row;gap:9px;margin-top:18px}.nav-item{padding:12px 10px;justify-content:center;font-size:12px;flex:1;border-radius:5px 5px 0 0;position:relative}.nav-item.active{background:none}.nav-item.active:after{content:'';position:absolute;bottom:-1px;left:10%;right:10%;height:2px;background:var(--teal)}.nav-item svg{width:16px;height:16px}.nav-current,.nav-count{display:none!important}main{margin:0;padding:25px 20px 0;width:100%}.page-header{margin-bottom:22px;gap:12px;align-items:center}.eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:6px}h1{font-size:27px}.page-header p{font-size:12px}.page-header .button{font-size:0;gap:0;padding:10px;min-height:40px}.page-header .button svg{width:20px;height:20px}.hero{min-height:175px}.hero-copy{padding:22px}.hero-label{font-size:7px;letter-spacing:.7px}.hero h2{font-size:24px;margin-top:10px}.hero p{font-size:12px}.hero-foot{font-size:9px;margin-top:12px}.hero-art{width:49%;right:-15px;object-fit:cover;object-position:70% 50%;opacity:.85}.hero-copy{max-width:75%}.section-heading{margin-top:23px}.section-heading h2{font-size:17px}.section-heading .text-button{font-size:10px}.section-heading>div{gap:8px}.pill{font-size:10px;padding:3px 6px}.score-card{padding:12px}.player-top{gap:6px}.player-top .avatar{width:24px;height:24px}.player-top .avatar svg{width:16px;height:16px}.score-cards{gap:9px}.score-card .player-name{font-size:11px}.leader-icon{width:12px;height:12px}.player-score strong{font-size:34px}.player-score{gap:4px;margin:9px 0}.player-score span{font-size:10px}.card-foot{font-size:8px}.play-grid{margin-top:20px}.round-panel{padding:18px 16px 0}.panel-title{margin-bottom:20px}.panel-title h2{font-size:16px}.mode-tabs{gap:1px;margin-bottom:16px}.mode-tabs button{font-size:11px;padding:9px 3px}.caller-section{gap:9px;margin-bottom:17px}.caller-section .field-label{font-size:11px}.select-wrap{min-width:122px;max-width:145px}.entry-head,.entry-row{grid-template-columns:minmax(85px,1fr) 102px 54px;gap:10px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(66px,1fr) 80px 80px 39px;gap:7px}.entry-head{font-size:9px}.entry-player .avatar{width:20px;height:20px}.entry-player .player-name{font-size:11px}.entry-player{gap:6px}.stepper button{width:24px}.with-bonus .entry-player .avatar{display:none}.form-footer{margin:0 -16px;padding:14px 16px}.form-footer>span{display:block;font-size:9px}.right-column{gap:12px}.destination{padding:18px 16px 20px}.mini-heading{font-size:8px;letter-spacing:.7px}.goal-number>span:first-child{font-size:36px}.destination p{font-size:10px}.tip-card{padding:15px}.tip-card h3{font-size:13px}.tip-card p{font-size:11px;line-height:1.6}.tip-card .text-button{font-size:10px}.page-footer{font-size:8px;gap:12px;margin-top:23px}.page-footer svg{width:21px}.history-section .section-heading h2{font-size:16px}.history-toolbar{align-items:flex-start;flex-direction:column}.rules-grid{grid-template-columns:1fr;gap:14px}.rules-intro h2{font-size:20px}.rules-intro p{font-size:12px}.rule-card.wide{grid-column:auto}.rule-card{padding:20px}.winner-banner{align-items:flex-start;flex-direction:column;padding:18px}.winner-banner h2{font-size:17px}.toast{left:50%;bottom:16px}th,td{padding:12px}.history-mode{display:block;margin-left:0!important}.count-buttons button{font-size:12px}dialog{padding:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Comfortable table-side controls and readable secondary text. */
.field-label,.caller-section .field-label,.entry-player .player-name,.stepper input,.mode-tabs button,.text-button,.nav-item{font-size:14px}
.field-label,.caller-section .field-label{color:#657563}.entry-head{font-size:12px;color:#77856e}.mode-tabs button{color:#6b7865}.round-note{font-size:12px;color:#718066}.round-note svg{margin-top:3px}.tip-card p{font-size:14px;color:#84765e;line-height:1.7}.tip-card h3{font-size:16px}.tip-card .text-button{font-size:12px;color:#89704a}.destination p{font-size:12px;color:#718065}.hero p{color:#64765c}.hero-foot{font-size:12px;color:#6e8064}.mini-heading{font-size:10px;color:#6b7d61}.stepper{height:40px}.stepper button{font-size:18px;width:30px}.mode-tabs button{min-height:40px}.round-gain{font-size:15px}.form-footer .button{font-size:14px;min-height:42px}.entry-row{padding:11px 0}.select-wrap{min-width:155px}select{font-size:14px;min-height:40px}.select-wrap:after{top:15px}.player-name{font-size:14px}.card-foot{font-size:11px;color:#7c8a72}.page-header p{font-size:14px;color:#6d7b71}.empty-history strong{font-size:14px;color:#617457}.empty-history p{font-size:12px;color:#7a8b70}.form-footer>span{font-size:11px;color:#7d8a72}.history-mode,td .history-mode{color:#75836b}.row-actions button{font-size:12px;min-height:32px}.score-card .player-name{font-size:14px}.sr-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1180px){.with-bonus .stepper button{width:22px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(75px,1fr) 88px 88px 43px;gap:8px}.mode-tabs button{font-size:12px}.nav-item{font-size:13px}.text-button{font-size:12px}.hero-foot{font-size:11px}.form-footer>span{display:none}}
@media(max-width:1000px){.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(90px,1fr) 110px 110px 60px}.with-bonus .stepper button{width:30px}}
@media(max-width:760px){.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px}.mode-tabs button{font-size:14px}.nav-item{font-size:12px;padding-left:3px;padding-right:3px;gap:6px}.nav-item svg{width:15px}.text-button,.section-heading .text-button{font-size:12px}.score-card .player-name{font-size:12px}.card-foot{font-size:9px}.hero-foot{font-size:10px}.hero p{font-size:13px}.hero-art{opacity:.75}.entry-head{font-size:11px}.entry-head,.entry-row{grid-template-columns:minmax(80px,1fr) 110px 45px;gap:9px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(65px,1fr) 82px 82px 36px;gap:6px}.with-bonus .stepper button{width:22px}.with-bonus .entry-player .player-name{font-size:12px}.caller-section .field-label{font-size:12px}.select-wrap{min-width:135px;max-width:145px}select{font-size:13px}.form-footer>span{display:none}.form-footer .button{font-size:14px}.tip-card p{font-size:12px}.tip-card h3{font-size:14px}.tip-card .text-button{font-size:12px}.mini-heading{font-size:9px}.destination p{font-size:12px}.page-footer{font-size:9px}.right-column{grid-template-columns:1fr 1fr}}
@media(max-width:370px){main{padding-left:14px;padding-right:14px}.hero-copy{padding-left:17px}.hero h2{font-size:22px}.with-bonus .entry-head,.with-bonus .entry-row{grid-template-columns:minmax(55px,1fr) 78px 78px 32px;gap:5px}.entry-player .avatar{display:none}.score-card{padding:10px}.score-card .player-name{font-size:11px}.mini-heading{letter-spacing:.2px;font-size:8px}}
/* Six seats are a house variant; keep the same clear cards and score rows. */
.score-card.p4{--player:#b57b97;--pale:#f8edf2}.score-card.p5{--player:#6383a5;--pale:#eaf0f8}
.score-cards[data-players="5"],.score-cards[data-players="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.variant-note,.player-limit-note{font-size:13px;line-height:1.65;color:#687964;background:#eef3e7;border:1px solid #e0e8d8;border-radius:6px;padding:10px 13px;margin:0 0 14px}.player-limit-note{font-size:12px;background:transparent;border:0;padding:0;margin:10px 0 18px}
.count-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.count-buttons button{font-size:13px;padding:9px 4px;white-space:nowrap}
dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
.history-table-wrap{max-width:100%;overscroll-behavior-x:contain}.history-table-wrap table{white-space:nowrap}.history-table-wrap th,.history-table-wrap td{white-space:nowrap;vertical-align:middle;padding:8px 12px;height:54px}.history-table-wrap th.points{max-width:124px;overflow:hidden;text-overflow:ellipsis}.history-table-wrap td.points{min-width:52px}.history-table-wrap td .history-mode{display:inline;margin-left:7px!important;white-space:nowrap;font-size:12px}.history-table-wrap .row-actions{flex-wrap:nowrap;gap:4px}.row-actions .icon-button{width:36px;height:36px;min-height:36px;padding:9px;flex-shrink:0;color:#6f8270}.row-actions .icon-button svg{width:17px;height:17px}.row-actions .delete-round{color:#ad785f}.row-actions .delete-round:hover{background:#fbefea;color:#a84b36}
.rules-tabs{display:flex;gap:6px;background:#edf2e8;border:1px solid #e0e8d8;border-radius:9px;padding:5px;margin:22px 0 25px}.rules-tabs button{flex:1;border:1px solid transparent;background:transparent;color:#65775f;border-radius:6px;padding:11px 16px;font-size:14px;white-space:nowrap}.rules-tabs button[aria-selected="true"]{background:#fff;border-color:#dce5d5;box-shadow:0 1px 3px #223d3210;color:#28575a;font-weight:650}.rules-pane:focus-visible{outline:2px solid #99b399;outline-offset:6px}.rules-pane .rule-card p{font-size:16px;line-height:1.75;color:#65765f}.rules-pane .rule-card strong{color:#3e5e49}.rules-pane h3{font-size:18px;margin:18px 0 8px;letter-spacing:-.4px}.rules-pane .rule-label{font-size:12px}.rules-pane .rules-source{font-size:13px;color:#6f7e66}.rules-pane .rules-source a{display:inline-block;margin-left:0}.rules-pane .rule-card .rule-points{display:inline-flex;align-items:center;margin-top:12px;padding:4px 9px;font-size:13px;color:#4d704f;background:#edf4e6;border-radius:5px}.rules-section-title{font-size:23px;margin:32px 0 8px}.rules-section-lead{font-size:15px;color:#6c7b65;margin-bottom:20px;line-height:1.75}.rules-table-wrap{overflow:auto;max-width:100%;border:1px solid #e0e7d9;border-radius:7px;margin-top:18px}.rules-table-wrap table{font-size:14px;white-space:nowrap}.rules-table-wrap th,.rules-table-wrap td{font-size:14px;padding:12px;text-align:center;color:#61745b}.rules-table-wrap th:first-child,.rules-table-wrap td:first-child{text-align:left}.rules-table-wrap th{color:#4a6347}.rules-note{padding:15px 18px;border:1px solid #e3e8d9;border-radius:8px;background:#edf3e6;font-size:14px;line-height:1.75;color:#607453;margin:18px 0 24px}.rules-pane ul{padding-left:22px;color:#65765f;font-size:16px;line-height:1.8}.rules-pane li+li{margin-top:6px}.extension-intro{display:flex;gap:14px;align-items:center;margin:28px 0 16px}.extension-intro .section-icon{width:42px;height:42px}.extension-intro h2{font-size:25px}.extension-intro p{font-size:14px;color:#6f7f65;margin-top:4px}.extension-event-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.extension-event-list>div{padding:16px 18px;border:1px solid #e5eadf;border-radius:8px;background:#fff}.extension-event-list h3{margin:0 0 6px;font-size:16px}.extension-event-list p{font-size:14px;color:#65765f;line-height:1.75}
@media(max-width:1000px){.score-cards[data-players="5"],.score-cards[data-players="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.score-cards[data-players="5"],.score-cards[data-players="6"]{grid-template-columns:repeat(2,minmax(0,1fr))}.count-buttons{gap:5px}.count-buttons button{font-size:12px}.rules-tabs{gap:2px;padding:4px}.rules-tabs button{padding:10px 5px;font-size:12px}.rules-pane .rule-card p,.rules-pane ul{font-size:15px}.rules-table-wrap th,.rules-table-wrap td{font-size:13px;padding:10px}.history-table-wrap th,.history-table-wrap td{padding:6px 9px;height:52px}.history-table-wrap th.points{max-width:100px}.history-table-wrap td .history-mode{display:inline!important;font-size:11px}.history-table-wrap td.points{min-width:45px}.row-actions .icon-button{width:36px;height:36px}.extension-event-list{grid-template-columns:1fr}.extension-intro h2{font-size:22px}.hero-foot{max-width:210px}}
.extension-summary{margin-bottom:20px;background:#f3f6ee}.rules-pane .extension-summary h3{margin-top:0}.extension-section+.extension-section{border-top:1px solid var(--line);margin-top:32px;padding-top:8px}.rules-pane .rule-card>.rule-label+h3{margin-top:10px;font-size:22px}.rules-pane .rules-grid{align-items:stretch}.rules-table-wrap:focus-visible{outline:3px solid #df9b70;outline-offset:3px}
.count-buttons button{min-height:42px}
@media(max-width:760px){.count-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.count-buttons button{font-size:14px}}
/* Match each rule to its card with a small, labelled visual cue. */
.rule-glyph{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.rule-pictograms{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:14px 0 12px;min-height:48px}.rule-pictogram{position:relative;display:inline-flex;align-items:center;justify-content:center;width:43px;height:49px;flex-shrink:0;border:1px solid #d9e6dc;border-radius:7px;background:#eff6ee;color:#396e67;box-shadow:0 2px 0 #dce6d9}.rule-pictogram.tone-coral{color:#aa6043;background:#fcf1e8;border-color:#eed9c9;box-shadow:0 2px 0 #f0dfd3}.rule-pictogram.tone-lilac{color:#806791;background:#f4eff9;border-color:#e4d9ee;box-shadow:0 2px 0 #e9e0f1}.rule-pictogram.tone-sand{color:#92763d;background:#faf5e5;border-color:#e9dfbf;box-shadow:0 2px 0 #ece3cc}.combo-connector{font-size:17px;color:#8d9c82;line-height:1}.combo-alternative{font-size:12px;color:#718066;margin:0 2px}.combo-value{font-size:13px;color:#55744d;padding:5px 9px;border:1px solid #dce8d1;border-radius:6px;background:#f3f7ec;white-space:nowrap;margin-left:3px}.rule-pictogram .event-accent{position:absolute;right:-7px;bottom:-3px;width:21px;height:21px;padding:2px;background:#fff;border:1px solid #e0e5d7;border-radius:50%;color:#697b59}.rules-pane .rule-card>.rule-pictograms+h2,.rules-pane .rule-card>.rule-pictograms+h3{margin-top:10px}.collection-name{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.collection-name .rule-glyph{width:25px;height:25px;color:#5d806a}.rules-pane .multiplier-list{padding:0;margin:15px 0 20px;list-style:none;display:grid;gap:13px}.rules-pane .multiplier-list li{display:flex;align-items:center;gap:13px;margin:0;line-height:1.5}.multiplier-list strong{display:block;font-size:15px}.multiplier-detail{display:flex;align-items:center;gap:5px;font-size:14px;margin-top:3px;color:#6a7a61}.multiplier-detail .rule-glyph{width:20px;height:20px;color:#7b936f}.multiplier-list .rule-pictogram{width:39px;height:43px}.multiplier-list .rule-pictogram .rule-glyph{width:28px;height:28px}
@media(max-width:760px){.rule-pictograms{gap:8px}.rule-pictogram{width:40px;height:46px}.rule-pictogram .rule-glyph{width:28px;height:28px}.rule-pictogram .event-accent{width:20px;height:20px}.combo-connector{font-size:15px}.combo-value{font-size:12px}.collection-name{gap:7px}.collection-name .rule-glyph{width:23px;height:23px}}
.rule-combo-pair,.rule-combo-choice{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.rules-pane .rule-card>.rule-pictograms+h3{font-size:22px}

.page-footer{flex-wrap:wrap;row-gap:12px}.footer-credit{flex-basis:100%;margin:0;text-align:center;font-size:14px;color:#657563}.footer-credit a{text-underline-offset:3px}
/* The crew's logbook: meaningful numbers, friendly rivalries. */
.stats-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e8efdf;border:1px solid #dfe8d6;border-radius:11px;padding:27px 30px}.stats-intro h2{font-size:29px;margin:8px 0;color:#2f514e}.stats-intro p{font-size:15px;color:#65775e}.stats-intro>svg{width:67px;height:67px;stroke-width:1;color:#93ac7c;transform:rotate(8deg);margin:0 20px}.stats-intro .hero-label{font-size:10px}.stats-actions{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:22px 0}.stats-storage-note{font-size:13px;line-height:1.75;color:#718069;max-width:360px}.stats-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.stats-action-buttons .button{font-size:13px;padding:9px 12px}.stats-recovery-note{background:#f7f1e6;border:1px solid #e9dec7;color:#8a7252;padding:14px 18px;border-radius:8px;font-size:13px;line-height:1.8;margin-bottom:20px}.stats-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.stats-kpi{padding:19px 20px}.stats-kpi>span{font-size:13px;color:#6d7f64}.stats-kpi>strong{display:block;font-family:var(--heading);font-size:34px;letter-spacing:-1.5px;font-weight:650;color:#365d50;margin:6px 0}.stats-kpi p{font-size:12px;color:#8a967f;line-height:1.65}.stats-duel{padding:25px 28px;background:#fdfefa}.duel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.duel-heading h2{font-size:24px}.duel-heading h2>span{font-family:var(--font);font-size:19px;margin:0 9px;color:#9aa990;font-weight:400}.duel-scores{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;margin:25px 0}.duel-scores>div{display:flex;flex-direction:column;align-items:center}.duel-avatar{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;font-family:var(--heading);font-weight:650;margin-bottom:9px}.duel-avatar.antoine{background:#faecdf;color:#b66e4c}.duel-avatar.agathe{background:#e5f0ea;color:#4d8681}.duel-scores>div>span:not(.duel-avatar){font-size:14px;font-weight:550}.duel-scores strong{font-family:var(--heading);font-size:42px;letter-spacing:-1.5px;font-weight:600;line-height:1.4}.duel-scores>div:first-child strong{color:#b66e4c}.duel-scores>div:last-child strong{color:#4d8681}.duel-scores small{font-size:12px;color:#89977e}.duel-middle{gap:10px;text-align:center;color:#8b9b7e}.duel-middle svg{width:37px;height:29px;color:#b3c5a3}.duel-middle span{font-size:12px!important;max-width:180px;line-height:1.7;font-weight:400!important}.duel-bar{height:8px;border-radius:5px;overflow:hidden;display:flex;background:#f0f3e9}.duel-bar>span{display:block;height:100%}.duel-antoine{background:#ca8f6b}.duel-agathe{background:#6a9d8f}.duel-ties{background:#c8cfb8}.duel-note{text-align:center;font-size:12px;color:#8b977f;margin-top:14px}.stats-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.stat-profile{padding:22px 24px;overflow:hidden}.profile-heading{display:flex;align-items:center;gap:11px}.profile-avatar{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:50%;background:var(--profile-pale);color:var(--profile-color);font-family:var(--heading);font-size:18px;font-weight:650}.profile-heading h3{font-size:20px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-heading p{font-size:12px;color:#8c9780;margin-top:2px}.profile-title{font-size:10px;color:var(--profile-color);background:var(--profile-pale);padding:5px 8px;border-radius:5px;margin-left:auto;max-width:120px;text-align:center}.profile-main{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0 20px}.profile-main>div{display:flex;flex-direction:column}.profile-main>div+div{border-left:1px solid var(--line);padding-left:24px}.profile-main strong{font-family:var(--heading);font-size:36px;letter-spacing:-1.5px;line-height:1.35;font-weight:650;color:var(--profile-color)}.profile-main>div+div strong{font-size:30px;color:#4c6851}.profile-main span{font-size:13px;color:#6f8065}.profile-main small{font-size:11px;color:#94a087;margin-top:4px}.profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px;border-top:1px solid var(--line);padding-top:18px;margin:0}.profile-metrics div{min-width:0}.profile-metrics dt{font-size:12px;line-height:1.7;color:#8a987c}.profile-metrics dd{font-size:19px;font-weight:550;color:#4c6850;margin:3px 0 0}.profile-metrics small{font-size:11px;color:#8a977f;font-weight:400}.profile-risk{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#718466;margin:22px 0 18px;padding:10px 12px;background:#f5f8ef;border-radius:5px}.profile-risk small{font-size:10px;color:#96a28a;margin-left:4px}.profile-risk strong{font-size:14px;font-weight:550}.profile-fun{display:flex;flex-wrap:wrap;gap:9px 15px;padding-top:16px;border-top:1px solid var(--line);font-size:11px;color:#7d8e70}.profile-fun span{display:inline-flex;align-items:center;gap:5px}.profile-fun svg{width:15px;height:15px;color:#9db18c}.profile-definition{font-size:10px;color:#a0aa94;line-height:1.7;margin-top:10px}.stats-games-heading{margin-top:30px}.stats-games-heading .select-wrap{min-width:170px}.stats-games-heading select{font-size:12px}.stat-game{margin-bottom:12px;overflow:hidden}.stat-game summary{display:flex;align-items:center;gap:13px;list-style:none;padding:17px 20px;cursor:pointer}.stat-game summary::-webkit-details-marker{display:none}.stat-game summary:focus-visible{outline:3px solid #df9b70;outline-offset:-3px}.stat-game-status{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:8px;background:#f1f3ed;color:#97a18c;flex-shrink:0}.stat-game-status.completed{color:#9d8658;background:#f6f0df}.stat-game-status svg{width:20px;height:20px}.stat-game-summary{display:flex;flex-direction:column;gap:3px;min-width:0}.stat-game-summary strong{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stat-game-summary>span{font-size:12px;color:#8b987f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stat-game-meta{font-size:12px;color:#7c8d6f;margin-left:auto;text-align:right;white-space:nowrap;flex-shrink:0}.stat-game-meta small{display:block;font-size:10px;color:#a0aa94;margin-top:4px}.stat-game-chevron{width:7px;height:7px;border:solid #9eac92;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 3px 4px 4px;flex-shrink:0}.stat-game[open] .stat-game-chevron{transform:rotate(225deg);margin-bottom:0}.stat-game-details{border-top:1px solid var(--line);padding:21px}.stat-final-scores{display:flex;gap:10px;flex-wrap:wrap}.stat-final-scores>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#7b8b71;background:#f5f7f0;border:1px solid #e6ecde;border-radius:6px;padding:8px 12px}.stat-final-scores strong{color:#466b4d;font-size:14px;font-weight:550}.stat-final-scores .stat-winner{background:#eef4e5;border-color:#cedfbd}.stat-final-scores svg{width:16px;height:16px;color:#a68b51}.stat-game-source{font-size:11px;color:#98a28b;margin:13px 0 17px}.stat-game-actions{display:flex;justify-content:flex-end;margin-top:13px}.stat-game-actions .text-button{font-size:12px}.stat-game-actions [data-stat-delete]{color:#a47f65}.stats-missing-rounds{font-size:13px;color:#839476;background:#f7f9f2;border-radius:6px;padding:14px}.stats-footnote{font-size:12px;line-height:1.85;color:#94a186;margin-top:20px}.usual-duel-button{background:#f2f6eb;border:1px dashed #cedfc0;border-radius:6px;padding:9px 12px;color:#69835b;font-size:12px;margin:0 0 6px;min-height:39px;cursor:pointer}.usual-duel-button:hover{background:#eaf1df}.past-player-head,.past-player-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}.past-player-head{font-size:12px;color:#7a8d6b;margin:21px 0 8px}.past-player-head span:last-child{text-align:center}.past-player-row{margin-bottom:10px}.past-player-row input,.past-extra-fields input{width:100%;min-width:0;border:1px solid #dce6d3;border-radius:6px;background:white;padding:10px;font-size:14px;color:#456641}.past-player-row input[type=number]{text-align:center}.past-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;color:#6e8360;margin:15px 0 20px}.past-checkbox input{accent-color:#587d51;width:16px;height:16px}.past-extra-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.past-extra-fields .field-label{font-size:12px;line-height:1.7;margin-top:0}.past-extra-fields input{min-height:42px;font-size:13px}.past-extra-fields input[type=date]{padding:8px}
@media(max-width:1180px){.stats-actions{align-items:flex-start;flex-direction:column;gap:13px}.stats-kpis{gap:10px}.stats-kpi{padding:15px}.stats-kpi>span{font-size:12px}.stats-kpi p{font-size:11px}.stat-profile{padding:20px}.profile-heading{flex-wrap:wrap}.profile-title{margin-left:0;max-width:none;font-size:10px}.profile-heading>div{flex:1}.profile-metrics{gap:16px 10px}.profile-risk>span small{display:block;margin-left:0}.profile-main>div+div{padding-left:15px}}
@media(max-width:1000px){.stats-profiles{grid-template-columns:1fr}.profile-heading{flex-wrap:nowrap}.profile-title{margin-left:auto}.stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-kpi>strong{font-size:33px}.stats-storage-note{max-width:100%}.profile-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.sidebar .nav-item{flex-direction:column;gap:5px;padding:9px 2px;font-size:11px;min-width:0}.sidebar .nav-item svg{width:17px;height:17px}.stats-intro{padding:22px}.stats-intro h2{font-size:24px}.stats-intro p{font-size:13px}.stats-intro>svg{width:40px;height:40px;margin:0}.stats-intro .hero-label{font-size:8px;letter-spacing:.7px}.stats-actions{gap:13px}.stats-action-buttons{gap:7px;width:100%}.stats-action-buttons .button{font-size:12px;padding:9px 11px}.stats-storage-note{font-size:12px}.stats-kpis{gap:10px}.stats-kpi{padding:15px}.stats-kpi p{font-size:11px}.stats-duel{padding:21px}.duel-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.duel-heading h2{font-size:22px}.duel-heading .eyebrow{font-size:9px}.duel-heading .pill{font-size:11px}.duel-scores{grid-template-columns:1fr .9fr 1fr;margin:22px 0}.duel-scores strong{font-size:36px}.duel-middle span{font-size:10px!important}.duel-note{font-size:11px}.profile-heading h3{font-size:19px}.profile-title{font-size:9px;max-width:100px}.profile-metrics{grid-template-columns:1fr 1fr}.profile-main strong{font-size:34px}.profile-main>div+div strong{font-size:28px}.profile-metrics dt{font-size:12px}.profile-metrics dd{font-size:19px}.profile-risk{font-size:12px}.profile-risk>span small{display:inline;margin-left:4px}.profile-fun{font-size:11px}.profile-definition{font-size:10px}.stats-games-heading{align-items:flex-start;flex-direction:column;gap:12px}.stats-games-heading .select-wrap{width:100%;min-width:0;max-width:none}.stats-games-heading select{font-size:14px}.stat-game summary{padding:15px 13px;gap:9px}.stat-game-status{width:29px;height:33px}.stat-game-summary strong{font-size:12px}.stat-game-summary>span{font-size:11px}.stat-game-meta{font-size:10px}.stat-game-meta small{font-size:9px}.stat-game-details{padding:17px 13px}.stat-game-source{font-size:11px;line-height:1.7}.stat-final-scores>span{font-size:11px;padding:7px 9px}.stat-final-scores strong{font-size:13px}.stats-footnote{font-size:11px}.past-extra-fields{gap:10px}.past-extra-fields .field-label{font-size:11px}.past-player-head,.past-player-row{grid-template-columns:minmax(0,1fr) 82px;gap:10px}#past-game-dialog .dialog-header h2{font-size:21px}}
@media(max-width:370px){.stats-intro>svg{display:none}.stats-intro h2{font-size:22px}.profile-title{max-width:80px}.stat-game-meta{max-width:78px;white-space:normal}.profile-heading h3{max-width:125px}}
.profile-heading>div{min-width:0}.profile-heading h3{max-width:100%}.profile-title{flex-shrink:0;font-size:12px}.profile-metrics dt{font-size:14px}.profile-definition{font-size:12px;color:#809072}.profile-fun{font-size:12px}.stats-footnote{font-size:13px;color:#78896c}.stat-game-source{font-size:12px}.past-player-row input,.past-extra-fields input{font-size:16px}
@media(max-width:760px){.profile-title{font-size:11px}.profile-metrics dt{font-size:13px}.profile-definition{font-size:12px}.stat-game-summary strong{font-size:14px}.stat-game-meta{font-size:12px}.stat-game-meta small{font-size:11px}.stats-footnote{font-size:12px}.past-extra-fields .field-label{font-size:12px}.profile-fun{font-size:12px}}
.winner-banner>.winner-actions{display:flex;gap:9px;flex-wrap:wrap}.winner-actions .button{font-size:12px}
.account-backup{padding:24px 26px;margin:22px 0;background:#f8fbf2;border-color:#d9e6cb}.cloud-heading{display:flex;align-items:center;gap:13px}.cloud-heading h2{font-size:21px}.cloud-heading .section-icon{width:38px;height:38px;flex-shrink:0}.cloud-heading .section-icon svg{width:23px;height:23px}.cloud-heading .eyebrow{font-size:9px;margin:0 0 4px}.cloud-heading p{font-size:13px;color:#718667;margin-top:5px;overflow-wrap:anywhere}.cloud-account-badge{margin-left:auto;padding:5px 9px;background:#e8f0dd;border:1px solid #d9e6c7;color:#6c845d;border-radius:5px;font-size:12px}#cloud-status{font-size:14px;line-height:1.8;color:#57754a;margin-top:18px}#cloud-last-save{font-size:12px;color:#8c9c7c;margin-top:5px}.cloud-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.cloud-actions .button{font-size:13px;text-decoration:none}.cloud-explainer{font-size:12px;line-height:1.85;color:#8a9b79;margin-top:16px}.account-backup[data-phase="error"],.account-backup[data-phase="conflict"],.account-backup[data-phase="account-changed"]{background:#fcf7ed;border-color:#e9ddc6}.account-backup[data-phase="error"] #cloud-status,.account-backup[data-phase="conflict"] #cloud-status,.account-backup[data-phase="account-changed"] #cloud-status{color:#9b7955}#cloud-conflicts{margin-top:20px;border-top:1px solid #e5decf;padding-top:15px}.cloud-conflict{padding:16px;background:white;border:1px solid #e6e5d7;border-radius:7px;margin:10px 0}.cloud-conflict h3{font-size:16px}.cloud-conflict dl{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:13px 0 0}.cloud-conflict dt{font-size:12px;color:#91a080}.cloud-conflict dd{margin:4px 0 0;font-size:14px;color:#5f7951;line-height:1.8}.cloud-conflict p{font-size:12px;color:#9b8360;line-height:1.8;margin-top:10px}
@media(max-width:760px){.account-backup{padding:20px}.cloud-heading{align-items:flex-start;gap:10px}.cloud-heading h2{font-size:18px}.cloud-heading p{font-size:12px}.cloud-account-badge{font-size:10px;padding:4px 7px}.cloud-heading .section-icon{width:31px;height:34px}.cloud-heading .eyebrow{font-size:8px}.cloud-actions .button{font-size:12px;white-space:normal;text-align:center}#cloud-status{font-size:14px}.cloud-conflict dl{grid-template-columns:1fr;gap:12px}}
.email-auth-tabs{display:flex;gap:5px;background:#edf3e6;padding:4px;border-radius:7px;margin:20px 0}.email-auth-tabs button{flex:1;border:1px solid transparent;background:transparent;padding:10px;border-radius:5px;font-size:14px;color:#718567}.email-auth-tabs button[aria-pressed="true"]{background:white;border-color:#dce6d2;color:#315c48;font-weight:600}#email-account-form label{display:block}#email-account-form label .field-label{font-size:14px;margin:16px 0 8px}#email-account-form input{width:100%;padding:11px 13px;border:1px solid #dbe5d2;border-radius:6px;background:white;color:#385d43;font-size:16px;min-height:44px}.email-password-hint{font-size:12px;color:#8b9a7e;line-height:1.8;margin:12px 0}.email-account-notice{font-size:14px;color:#5c7d49;line-height:1.8;padding:12px;background:#edf6e2;border-radius:6px;margin:12px 0}#email-recovery-output{width:100%;resize:none;border:1px solid #d4e2c7;border-radius:7px;background:#f0f6e9;padding:15px;font:14px/1.7 monospace;color:#4e7043;overflow-wrap:anywhere;word-break:break-all}.email-code-actions{display:flex;gap:9px;flex-wrap:wrap}.email-code-actions .button{font-size:13px}.legacy-account-note{margin-top:17px;padding:16px 18px;background:#f4eedf;border:1px solid #e6d9bb;border-radius:7px}.legacy-account-note p{font-size:13px;line-height:1.8;color:#8a7553;margin-bottom:12px}.legacy-account-note .button{font-size:13px}#email-account-message{font-size:13px;line-height:1.8;color:#647f51;margin:12px 0}#cloud-signout{font-size:13px;padding:10px}
