
:root{font-family:ui-rounded,"Avenir Next",Avenir,"Segoe UI",sans-serif;color:#254536;background:#f6f3e8;font-synthesis:none;--green:#295c40;--purple:#8e69b5;--line:#dde3d2}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #e9b757;outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}.masthead{max-width:1200px;margin:auto;padding:23px 32px 20px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font:26px Georgia,serif;font-weight:bold}.brand i{font-weight:normal;color:#87996e}.brand small{display:block;font:9px system-ui;letter-spacing:2.5px;margin-top:7px}.brand-ball{display:grid;place-items:center;width:42px;height:42px;background:#d8e489;border-radius:50%;font:36px Georgia;color:#769851;transform:rotate(-30deg)}.header-right{display:flex;gap:10px;align-items:center}.grass-label{font-size:12px;margin-right:14px;color:#738063}.icon-button{width:44px;height:44px;border:1px solid #d4ddc9;border-radius:50%;background:transparent;font-size:19px}main{max-width:1200px;margin:auto;padding:0 30px}.game-shell{border-radius:24px;background:#fffef7;border:1px solid #dde1d1;overflow:hidden;box-shadow:0 14px 45px #35452908}.scoreboard{height:103px;display:flex;align-items:center;justify-content:space-between;padding:10px 38px;gap:16px}.score-person{display:flex;align-items:center;gap:17px;min-width:220px}.score-person.lies{justify-content:flex-end;text-align:right}.avatar{height:62px;width:62px;border-radius:50%;background:#e7eed7}.lies .avatar{background:#eee4f4}.player-name{display:block;font:23px Georgia,serif;font-weight:bold}.player-role{display:block;letter-spacing:1.7px;font-size:9px;color:#859278;margin-top:5px}.score-person output{font:800 54px/1 ui-rounded,"Avenir Next",sans-serif;color:#449467;min-width:65px;text-align:center}.score-person.lies output{color:#9b78b9}.score-center{text-align:center;white-space:nowrap}.match-label{display:block;letter-spacing:2px;font-size:9px;color:#8a947f}.score-center strong{display:block;font-size:13px;letter-spacing:3px;margin:5px 0}.score-center b{font-size:21px}.score-center>span:last-child{font-size:10px;color:#7e8b73}.court-wrap{height:min(62vw,680px);min-height:600px;position:relative;overflow:hidden;background:#8ead76;isolation:isolate}#court{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;outline-offset:-4px}.court-top{position:absolute;inset:18px 22px auto;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.serve-pill{font-size:12px;background:#fffdf0e8;box-shadow:0 2px 8px #264c2010;border-radius:40px;padding:9px 14px}.pause-button{pointer-events:auto;border:1px solid #ffffff75;background:#ffffffc9;border-radius:50%;width:44px;height:44px;font-size:18px}.instruction{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);border-radius:30px;background:#244b36e3;color:#fffdf1;font-size:13px;text-align:center;padding:11px 22px;max-width:85%;width:max-content;pointer-events:none}.far-hint{position:absolute;top:16px;left:50%;transform:translateX(-50%) rotate(180deg);color:#244b36;background:#fafbe7de;border-radius:20px;padding:7px 13px;font-size:12px;pointer-events:none}.court-message{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);font:700 32px Georgia;text-align:center;color:white;text-shadow:0 3px 10px #234b32;pointer-events:none;max-width:85%}.court-message:empty{display:none}.modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(450px,calc(100% - 32px));padding:27px 34px 23px;background:#fffdf5f5;border:1px solid #ffffff;border-radius:24px;box-shadow:0 15px 80px #193d3650;text-align:center;backdrop-filter:blur(10px)}.eyebrow{font-size:9px;letter-spacing:2px;color:#7c8e66;font-weight:700}.modal h1{font:40px/1.15 Georgia,serif;letter-spacing:-1px;margin:11px 0 9px}.modal h1 em{color:#60834b;font-weight:normal}.modal p{font-size:13px;line-height:1.6;color:#77836c;margin:8px 0 17px}.modal fieldset{border:0;padding:0;margin:16px 0}.modal legend{font-size:10px;letter-spacing:1px;color:#63765b;margin-bottom:8px;text-align:left;width:100%;font-weight:700}.segmented{display:flex;gap:7px}.segmented button{flex:1;border:1px solid var(--line);background:#fffef9;border-radius:11px;padding:10px 5px;font-size:13px}.segmented small{display:block;font-size:9px;color:#7b8a6c;margin-top:3px}.selected{background:#e8efdb!important;border-color:#91ac7b!important;box-shadow:inset 0 0 0 1px #91ac7b55}.character-choice{display:flex;gap:7px;align-items:center}.character-choice button{flex:1;border:1px solid var(--line);background:#fffef9;padding:8px;border-radius:9px;font-size:12px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.green{background:#65a477}.purple{background:#a586c4}.difficulty{display:flex;gap:7px}.difficulty button{flex:1;min-width:0;border:1px solid var(--line);background:#fffef9;border-radius:12px;padding:10px 3px}.difficulty button>span{display:block;font-size:10px;height:18px;color:#93a06a}.difficulty strong{display:block;font-size:11px}.difficulty small{display:block;font-size:9px;color:#879276;margin-top:5px}.modal .mode-description{font-size:11px;min-height:34px;line-height:1.5;margin:8px 0 13px}.primary{border:0;border-radius:12px;background:#295d40;color:#fffdf2;width:100%;padding:14px 18px;font-weight:600;font-size:14px}.primary:hover{background:#39754f}.primary span{float:right}.setup-footnote{display:block;font-size:9px;color:#97a087;margin-top:11px}.hidden{display:none!important}.compact{padding:36px}.compact h2,dialog h2{font:32px Georgia;line-height:1.2;margin:15px 0}.text-button{display:block;margin:15px auto 0;background:none;border:0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.game-footer{min-height:57px;display:flex;align-items:center;justify-content:space-between;padding:12px 25px;gap:15px;font-size:11px;color:#7a866e}.game-footer button{background:none;border:0;white-space:nowrap;font-size:11px}.game-footer button span{margin-left:8px}.page-footer{display:flex;justify-content:space-between;padding:22px 4px;font-size:10px;color:#99a18b}.page-footer span:last-child{font-size:8px;letter-spacing:1.8px}.loading{position:absolute;z-index:5;inset:0;display:grid;place-items:center;background:#eff2df;color:#516e40;font-size:14px;padding:30px;text-align:center}dialog{max-width:560px;width:calc(100% - 30px);max-height:85dvh;border:1px solid #dce2ce;border-radius:22px;background:#fffdf3;color:#314b37;padding:32px;box-shadow:0 15px 80px #193d3650}dialog::backdrop{background:#203c3666;backdrop-filter:blur(3px)}dialog dt{font-weight:700;font-size:13px;margin-top:19px}dialog dd{margin:6px 0;color:#718169;font-size:13px;line-height:1.6}dialog p{font-size:12px;line-height:1.6;color:#718169}.close-button{float:right;border:0;background:none;font-size:26px}.keyboard-help{font-size:11px!important}
@media(max-width:700px){.masthead{padding:15px 17px}.brand{font-size:21px}.brand-ball{width:33px;height:33px;font-size:29px}.brand small{font-size:7px}.grass-label{display:none}main{padding:0 10px}.game-shell{border-radius:18px}.scoreboard{height:84px;padding:8px 12px;gap:5px}.score-person{min-width:0;gap:7px}.avatar{width:39px;height:39px}.player-name{font-size:16px}.player-role{font-size:7px;letter-spacing:1px}.score-person output{font-size:39px;min-width:35px}.score-center .match-label{display:none}.score-center strong{font-size:10px;letter-spacing:1px}.score-center>span:last-child{font-size:8px}.court-wrap{height:calc(100dvh - 210px);min-height:560px;max-height:800px}.modal{padding:22px 24px}.modal h1{font-size:35px}.page-footer{padding:16px 4px}.page-footer span:last-child{display:none}.game-footer{padding:11px 14px;font-size:10px}.court-top{inset:12px 12px auto}.instruction{font-size:11px;padding:9px 15px}.serve-pill{font-size:10px}.court-message{font-size:25px}}
@media(max-height:850px) and (min-width:701px){.masthead{padding-top:10px;padding-bottom:10px}.scoreboard{height:75px}.court-wrap{height:calc(100dvh - 180px);min-height:340px}.setup{width:620px;padding:17px 25px;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.setup .eyebrow,.setup h1,.setup>p:first-of-type{grid-column:1}.setup .eyebrow{margin-top:12px}.setup h1{font-size:33px}.setup fieldset{margin:7px 0}.setup .segmented{grid-column:2;grid-row:1/3}.setup .character-choice{grid-column:2;grid-row:3}.setup .difficulty{grid-column:2;grid-row:4}.setup .mode-description{grid-column:1;grid-row:4}.setup .primary{grid-column:2;grid-row:5}.setup .setup-footnote{grid-column:1;grid-row:5}.page-footer{display:none}.game-footer{min-height:38px;padding:8px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* The garden is the game: edge-to-edge grass, with controls on the playing field. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#8fae77}
main{position:fixed;inset:0;max-width:none;padding:0}
.game-shell{position:absolute;inset:0;border:0;border-radius:0;box-shadow:none;background:none;overflow:hidden}
.court-wrap{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;max-height:none!important}
.scoreboard{position:absolute;z-index:2;top:env(safe-area-inset-top,0px);left:0;width:100%;height:100px;padding:16px 26px;pointer-events:none;background:linear-gradient(#54734c48,transparent)}
.score-person{background:#fffdf2ed;border:1px solid #ffffff7a;border-radius:24px;min-width:210px;padding:8px 17px;gap:12px;box-shadow:0 4px 20px #24452b10}
.score-person output{font-size:45px;min-width:47px}.avatar{width:48px;height:48px}.player-name{font-size:21px}.player-role{font-size:8px;letter-spacing:1px}
.score-center{color:#244b36;text-shadow:0 1px 0 #e6edcb99}.score-center .match-label{color:#395b36;font-size:10px}.score-center>span:last-child{color:#355534}.score-center strong{margin:3px 0}
.masthead{position:fixed;z-index:4;inset:auto 0 0;max-width:none;padding:0;pointer-events:none}.brand,.grass-label{display:none}
.header-right{position:absolute;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));gap:10px;pointer-events:auto}
.icon-button,.pause-button{width:46px;height:46px;border:1px solid #fffdf2c9;background:#fffdf2ed;box-shadow:0 3px 12px #24452b18;font-size:21px}
.court-top{inset:110px 20px auto}.serve-pill{font-size:11px;padding:8px 12px;background:#fffdf2da}
.pause-button{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:max(18px,env(safe-area-inset-left))}
.far-hint{top:84px;font-size:11px;padding:5px 12px;background:#fffdf2cf}
.instruction{bottom:26px;max-width:calc(100% - 260px);padding:10px 18px;font-size:12px;background:#244b36c9}
.game-footer,.page-footer{display:none}.modal{z-index:3;max-height:calc(100% - 32px);overflow:auto}.setup{box-shadow:0 16px 70px #193d3633}.court-message{z-index:1}
@media(max-width:700px){.scoreboard{height:84px;padding:12px 10px;gap:6px}.score-person{min-width:0;gap:6px;padding:6px 9px;border-radius:17px}.score-person output{font-size:34px;min-width:27px}.player-name{font-size:16px}.avatar{height:32px;width:32px}.player-role{font-size:6px;letter-spacing:.5px}.score-center .match-label{display:none}.score-center>span:last-child{font-size:8px}.score-center strong{font-size:9px;letter-spacing:.6px}.court-top{inset:94px 12px auto}.far-hint{top:78px;font-size:9px}.instruction{bottom:78px;max-width:90%;font-size:11px}.header-right{right:12px;bottom:16px}.pause-button{left:12px;bottom:16px}.modal{width:calc(100% - 32px)}}
@media(max-height:650px) and (min-width:701px){.scoreboard{height:82px;padding:8px 18px}.score-person{padding:5px 13px}.court-top{top:90px}.far-hint{top:75px}.instruction{bottom:20px}}


.icon-button.muted{opacity:.65;text-decoration:line-through}.icon-button[aria-pressed="true"]{background:#e5eeaa}
/* Keep the ceremony visible below the result card. */
#winner-panel{top:110px;transform:translateX(-50%);width:min(410px,calc(100% - 30px));padding:14px 24px;box-shadow:0 8px 30px #193d3620}
#winner-panel h2{font-size:28px;margin:5px 0}#winner-panel p{margin:4px 0 9px;font-size:12px}#winner-panel .text-button{margin:8px auto 0}#winner-panel .primary{padding:10px}
.instruction{max-width:calc(100% - 340px)}
@media(max-width:700px){.instruction{max-width:90%}#winner-panel{top:95px;padding:12px 18px}}
@media(max-height:650px) and (min-width:701px){#winner-panel{top:82px;padding:10px 18px;width:350px}#winner-panel .eyebrow{display:none}#winner-panel h2{font-size:23px}#winner-panel .text-button{display:inline-block;margin:8px 0 0}}
