/* Approved Observo gameplay art. UI state remains live HTML. */
body.gameplay{--play-h:clamp(72px,calc((100svh - 340px)/4.3),112px);--play-gap:7px;background:#211f1c;color:#efdec5}
body.gameplay::before{background:#211f1c url('./assets/gameplay-background.webp') center/100% 100% no-repeat;opacity:1}
body.gameplay main{max-width:540px;padding:0 12px max(12px,env(safe-area-inset-bottom));min-height:100svh}
body.gameplay #game{display:flex;flex-direction:column}
body.gameplay header{position:absolute;right:max(12px,calc((100vw - 516px)/2));top:max(10px,env(safe-area-inset-top));height:44px;width:44px;padding:0;z-index:5}
body.gameplay header .logo,body.gameplay #settingsButton,body.gameplay .roombar{display:none}
body.gameplay #rulesButton{width:44px;height:44px;padding:0;border:0;border-radius:0;background:url('./assets/ui/icon-settings.svg') center/100% 100% no-repeat;display:grid;place-items:center}
body.gameplay .gameScenery{order:0;height:clamp(60px,10svh,90px);margin:0;background:none;flex:none;pointer-events:none}
body.gameplay #players{order:1;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:4px;margin:0 0 5px;padding:0}
body.gameplay .player{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 24px;grid-template-rows:22px 14px;gap:0 4px;padding:8px 7px;min-height:54px;border:0;border-radius:0;background:url('./assets/waiting-paper-card.webp') center/100% 100% no-repeat;color:#302a25;box-shadow:none}
body.gameplay .playerAvatar{grid-row:1/3;display:block;width:32px;height:32px;object-fit:cover;border:1px solid #7e6752;border-radius:50%;font-size:0}
body.gameplay .player strong{grid-column:2;grid-row:1;font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
body.gameplay .player .dots{grid-column:2;grid-row:2;font-size:9px;letter-spacing:1px;color:#71343d;line-height:14px}
body.gameplay .playerScore{grid-column:3;grid-row:1/3;position:static;display:grid;place-items:center;background:#71343d url('./assets/ui/paper-grain.svg');color:#efdec5;border:1px solid #ceb491;border-radius:2px;font-size:24px;line-height:30px;min-width:0}
.roundMarker{font:14px/1.2 var(--app-font);text-align:center;white-space:nowrap;padding:10px 2px;color:#302a25;background:url('./assets/approved/secondary-button-frame.svg') center/100% 100% no-repeat}
body.gameplay #roundClock{order:2;position:relative;display:flex;flex-direction:column-reverse;align-items:center;height:48px;gap:3px;margin:0 0 3px}
body.gameplay #timer{min-width:102px;min-height:36px;display:grid;place-items:center;padding:3px 16px;font:25px/1 var(--app-font);color:#efdec5;background:url('./assets/observo-paper-controls-v1.webp') 50% 85.38%/120.376% 487.619% no-repeat;clip-path:polygon(5% 1%,95% 1%,100% 17%,98% 85%,94% 99%,6% 99%,0 83%,1% 15%);border:0;border-radius:0}
body.gameplay #timer::before,body.gameplay #timer::after{content:none}
body.gameplay .progress{position:static;width:90px;height:2px;background:#d4bb962b;flex:none}
body.gameplay .progress i{height:2px;background:#c29c86}
body.gameplay #phasebar{display:none!important}
body.gameplay #table{order:3;position:relative;isolation:isolate;padding:16px 20px 14px;margin:0;transform:perspective(1400px) rotateX(4deg);transform-origin:50% 0}
body.gameplay #table::before{content:'';position:absolute;inset:0 -4px;z-index:-1;background:url('./assets/gameplay-table.webp') center/100% 100% no-repeat;pointer-events:none}
body.gameplay #showdown{min-height:94px;margin:0 0 10px;display:flex;flex-direction:column;justify-content:center}
body.gameplay #publicCards{margin:0}
body.gameplay .communityGroup{width:auto;margin:0}
body.gameplay .communityHead{font-size:12px;line-height:16px;color:#e8d4b6;text-align:center;margin:0 0 6px}
body.gameplay #communityHint{display:none}
body.gameplay .community{display:flex;justify-content:center;gap:9px;padding:0;border:0;background:none;border-radius:0;box-shadow:none;transform:none}
body.gameplay .community .card{--card-h:60px;width:43px;height:60px}
body.gameplay #board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--play-gap);width:min(100%,calc(var(--play-h)*20/7 + var(--play-gap)*3));margin:0 auto;padding:0;transform:none;--card-h:var(--play-h);perspective:1000px;background:none;border:0}
body.gameplay #board::before,body.gameplay #board::after{content:none}
body.gameplay .card{--card-h:var(--play-h);position:relative;width:100%;height:var(--card-h);aspect-ratio:5/7;overflow:hidden;isolation:isolate;border:1px solid #a58b6c;border-radius:5px;background:#e6cfab url('./assets/ui/paper-grain.svg');box-shadow:0 2px 2px #0e0c0a70;color:#292522;transform:none}
body.gameplay .card.red{color:#82363c}
body.gameplay .card .corner{position:absolute;top:4%;left:7%;font:clamp(13px,calc(var(--card-h)*.21),24px)/.9 var(--app-font);letter-spacing:-.5px;z-index:2;display:flex;flex-direction:column;align-items:center}
body.gameplay .card .corner small,body.gameplay .card:has(.pips) .corner small{display:block;font-size:.68em;line-height:1.1;margin-top:2px;color:inherit}
body.gameplay .card .bottomCorner{top:auto;left:auto;bottom:4%;right:7%;transform:rotate(180deg)}
body.gameplay .card .pips{position:absolute;inset:22% 30%;display:block}
body.gameplay .card .pip{font:calc(var(--card-h)*.145)/1 var(--app-font);font-style:normal;left:calc(var(--x)*1%);top:calc(var(--y)*1%);transform:translate(-50%,-50%)}
body.gameplay .card .pip.inverted{transform:translate(-50%,-50%) rotate(180deg)}
body.gameplay .card .miniSuit{display:none}
body.gameplay .card .aceSuit{position:absolute;display:grid;place-items:center;inset:14% 18%;font:calc(var(--card-h)*.56)/1 var(--app-font);text-shadow:none}
.aceTarget{position:absolute;width:19%;aspect-ratio:1;border:1.5px solid #e6cfab;border-radius:50%;box-shadow:0 0 0 1px currentColor,0 0 0 2px #e6cfab;background:currentColor;top:44%;left:40.5%}
.courtArt{position:absolute;inset:10% 12%;width:76%;height:80%;overflow:hidden;mix-blend-mode:multiply}
.courtArt.red{filter:sepia(.2)}
body.gameplay .card.cover,body.gameplay .reviewBack{background:#643239 url('./assets/gameplay-deck.webp') 96.68% 92.97%/460.12% 225.11% no-repeat;border:1px solid #d0b48e;border-radius:5px;box-shadow:0 2px 2px #0e0c0a70}
body.gameplay .card.cover::before,body.gameplay .card.cover::after{content:none}
body.gameplay .card.cover small,body.gameplay .reviewBack .position{position:absolute;left:4px;top:3px;padding:1px 3px;font:10px/1.2 var(--app-font);color:#f2e1c5;background:#422127c9;border-radius:2px}
body.gameplay .card.cover{opacity:1;transition:transform 140ms cubic-bezier(.23,1,.32,1),outline-color 140ms cubic-bezier(.23,1,.32,1)}
body.gameplay .card.cover.chosen{transform:translateY(-3px);outline:2px solid #efd4ac;outline-offset:2px;box-shadow:0 0 0 4px #71343d}
body.gameplay .card.cover:focus-visible{outline:3px solid #e4c59c;outline-offset:2px}
body.gameplay .card.cover:active:not(:disabled){transform:translateY(-1px) scale(.97)}
body.gameplay #pickControls{text-align:center;margin-top:10px;min-height:20px}
body.gameplay #pickHint{font:12px/1.4 var(--app-font);margin:0 0 8px;color:#e3cfb4}
body.gameplay #pickHint:empty{display:none}
body.gameplay #lock,body.gameplay #nextRound{display:block;width:min(100%,250px);min-height:44px;margin:0 auto;padding:8px 16px;background:url('./assets/observo-paper-controls-v1.webp') 50% 85.38%/120.376% 487.619% no-repeat;border:0;border-radius:5px;color:#f1ddc3;box-shadow:none;font:18px var(--app-font)}
body.gameplay #lock:disabled{opacity:.6}
body.gameplay #finished{order:4}
body.gameplay .reviewCard{width:100%;height:var(--play-h);aspect-ratio:5/7}
body.gameplay .reviewInner,body.gameplay .reviewFront,body.gameplay .reviewBack{width:100%;height:100%}
body.gameplay .reviewFront .position{display:none}
body.gameplay .reviewLegend{font-size:9px;gap:8px;margin:0 0 8px}
body.gameplay .reviewing #showdown{min-height:0}
body.gameplay.reviewing{--play-h:clamp(64px,calc((100svh - 370px)/4.5),96px)}
body.gameplay .winningHand{background:none;border:0;padding:4px 0;margin:auto;gap:4px;max-width:100%}
body.gameplay .winningHand .card{--card-h:54px;width:39px}
body.gameplay .losingHand .card{--card-h:32px;width:23px}
body.gameplay .drawCommunity .card{--card-h:46px;width:33px}
body.gameplay .drawHands .card{--card-h:36px;width:26px}
body.gameplay .outcome{margin:0 0 5px;gap:5px}
body.gameplay .outcome strong{font-size:22px}
body.gameplay .outcomeNote{display:none}
body.gameplay .winningMeta,body.gameplay .losingHand{font-size:10px;margin:3px 0}
body.gameplay .sourceTag{font-size:7px}
body.gameplay .marks{font-size:7px;bottom:3px;gap:2px}
body.gameplay .endDock{padding:8px 12px max(12px,env(safe-area-inset-bottom));background:#211f1c}
body.gameplay .endDock button{font-size:18px;min-height:44px}
@media(hover:hover) and (pointer:fine){body.gameplay .card.cover:hover:not(:disabled){transform:translateY(-2px)}}
@media(max-height:740px){body.gameplay .gameScenery{height:55px}body.gameplay #showdown{min-height:78px;margin-bottom:8px}body.gameplay .community .card{--card-h:48px;width:34px;height:48px}body.gameplay #table{padding-top:12px;padding-bottom:10px}body.gameplay #roundClock{height:43px}body.gameplay #pickControls{margin-top:8px}body.gameplay .player{padding:6px;min-height:48px;grid-template-columns:26px minmax(0,1fr) 20px}body.gameplay .playerAvatar{width:26px;height:26px}body.gameplay .player strong{font-size:12px}body.gameplay #players{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr)}.roundMarker{font-size:12px}}
@media(min-width:760px){body.gameplay main{max-width:570px}body.gameplay::before{background-size:auto 100%;background-color:#211f1c}body.gameplay header{right:max(16px,calc((100vw - 546px)/2))}}
@media(prefers-reduced-motion:reduce){body.gameplay #table{transform:none}body.gameplay .card.cover{transition:none}}
body.reduceMotion.gameplay #table{transform:none}
/* Fit portrait cards inside the narrower rear rail of the perspective table. */
body.gameplay{--play-h:min(clamp(72px,calc((100svh - 340px)/4.3),112px),calc((100vw - 121px)*7/20))}
body.gameplay #table{padding-left:38px;padding-right:38px}
body.gameplay .player{background-image:url('./assets/gameplay-components.webp');background-size:229.25% 682.67%;background-position:9.24% 55.49%;background-repeat:no-repeat}
body.gameplay.reviewing #showdown{min-height:0}
body.gameplay .reviewBack::before,body.gameplay .reviewBack::after{content:none}
body.gameplay .reviewFront .bottomCorner{display:flex}
body.gameplay .reviewLegend{flex-wrap:wrap}

body.gameplay .communityGroup{display:flex;flex-direction:column;align-items:center;gap:0}
body.gameplay .communityHead{width:auto}
body.gameplay .card.cover small{bottom:auto;right:auto}
body.gameplay #table{padding-bottom:24px}
body.gameplay .card .corner{font-size:clamp(13px,calc(var(--card-h)*.19),22px)}
body.gameplay .card .pips{inset:25% 33%}
body.gameplay .card .pip{font-size:calc(var(--card-h)*.135)}
@media(max-height:740px){body.gameplay #table{padding-bottom:20px}}
body.gameplay .matchDialog h2{font-style:normal}
body.gameplay .matchDialog .primary,body.gameplay .endDock .primary{background:url('./assets/observo-paper-controls-v1.webp') 50% 85.38%/120.376% 487.619% no-repeat;color:#f1ddc3;border:0;box-shadow:none;border-radius:4px;clip-path:none}
body.gameplay .matchDialog .primary::before,body.gameplay .endDock .primary::before{content:none}
/* The approved raster includes transparent padding and a deep wooden foot. */
body.gameplay #table::before{background-size:100% calc(100% + 60px);background-position:center -16px}
body.gameplay .outcome strong{font-style:normal}
body.gameplay .roundMarker{background-image:url('./assets/gameplay-components.webp');background-size:544.68% 1024%;background-position:37.16% 75.43%;background-repeat:no-repeat}
body.gameplay #timer{background-image:url('./assets/gameplay-components.webp');background-size:830.27% 1113.04%;background-position:60.70% 75.00%}
body.gameplay.reviewing{--play-h:min(clamp(64px,calc((100svh - 370px)/4.5),96px),calc((100vw - 121px)*7/20))}
@media(max-height:740px){body.gameplay:not(.reviewing){--play-h:clamp(68px,calc((100svh - 365px)/4.3),90px)}}
@media(min-width:760px){body.gameplay:not(.reviewing){--play-h:clamp(72px,calc((100svh - 370px)/4.3),108px)}}
body.gameplay .gameProps{position:fixed;inset:auto 0 0;z-index:-1;height:80px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}
body.gameplay .gameProps svg{width:105px;height:80px;overflow:hidden;opacity:.7}
body.gameplay .gameProps svg:last-child{width:85px}

/* One physical plane: the table rail, shared tray and every card share projection. */
body.gameplay{--play-h:clamp(68px,calc((100svh - 335px)/5.4),105px);--pick-accent:#688da9}
body.gameplay.redSeat{--pick-accent:#ad5360}
body.gameplay main{max-width:570px;padding-left:4px;padding-right:4px}
body.gameplay .gameScenery{height:65px}
body.gameplay #players{margin-left:8px;margin-right:8px}
body.gameplay #table{width:calc(100% - 34px);margin:0 auto;padding:14px 12px 18px;transform:perspective(1100px) rotateX(10deg);transform-origin:50% 0;overflow:visible}
body.gameplay #table::before{inset:0;background:#272522 url('./assets/gameplay-table.webp') center/350% 350% no-repeat;border:5px double #c1b298;border-radius:12px;box-shadow:0 5px 0 #4b3930,0 9px 0 #211c18}
body.gameplay #showdown{position:relative;box-sizing:border-box;height:80px;min-height:80px;margin:0 2px 12px;padding:6px;border:2px double #b9ad98;border-radius:10px;background:none}
body.gameplay #publicCards{width:100%}
body.gameplay .communityHead{display:none}
body.gameplay .communityGroup{padding:0;transform:none}
body.gameplay .community{gap:10px}
body.gameplay .community .card{--card-h:60px;width:calc(60px * 5/7);height:60px}
body.gameplay #board{width:min(100%,calc(var(--play-h)*20/7 + var(--play-gap)*3));perspective:none}
body.gameplay .courtArt{mix-blend-mode:normal;filter:none}
/* Monochrome ink backs; the selection frame is a separate colored layer. */
body.gameplay .card.cover,body.gameplay .reviewBack{background:#ddd8ce;border:1px solid #aaa69c;isolation:isolate}
body.gameplay .card.cover::after,body.gameplay .reviewBack::after{content:'';display:block;position:absolute;inset:0;z-index:-1;background:url('./assets/gameplay-deck.webp') 96.68% 92.97%/460.12% 225.11% no-repeat;filter:grayscale(1);border:0;border-radius:inherit;pointer-events:none}
body.gameplay .card.cover::before,body.gameplay .reviewBack::before{content:none;display:none}
body.gameplay .card.cover.chosen{outline:3px solid var(--pick-accent);outline-offset:2px;box-shadow:0 0 0 5px color-mix(in srgb,var(--pick-accent) 35%,transparent);transform:translateY(-2px)}
body.gameplay .card.cover small,body.gameplay .reviewBack .position{display:none}
body.gameplay .pickedMine .reviewFront{outline-color:var(--pick-accent)}
body.gameplay .pickedTheirs .reviewFront{outline-color:#ad5360}
body.gameplay.redSeat .pickedTheirs .reviewFront{outline-color:#688da9}
body.gameplay #settlement,body.gameplay .losingHand{display:none!important}
body.gameplay.reviewing #table{margin-top:30px}
body.gameplay.reviewing #showdown{min-height:80px;height:80px}
body.gameplay #result{position:absolute;top:-46px;left:0;right:0;margin:0;min-height:26px;justify-content:center}
body.gameplay #result .roundBadge{display:none}
body.gameplay .reviewLegend{margin-bottom:8px}
body.gameplay.reviewing{--play-h:clamp(64px,calc((100svh - 355px)/4.9),100px)}
@media(max-height:740px){body.gameplay .gameScenery{height:45px}body.gameplay:not(.reviewing){--play-h:clamp(64px,calc((100svh - 335px)/4.9),90px)}body.gameplay #table{padding:12px 10px 16px}body.gameplay #showdown,body.gameplay.reviewing #showdown{height:66px;min-height:66px;margin-bottom:10px;padding:5px}body.gameplay .community .card{--card-h:50px;width:calc(50px * 5/7);height:50px}body.gameplay.reviewing{--play-h:clamp(62px,calc((100svh - 340px)/4.9),86px)}}
@media(min-width:760px){body.gameplay:not(.reviewing){--play-h:clamp(72px,calc((100svh - 345px)/5.4),108px)}}
@media(prefers-reduced-motion:reduce){body.gameplay #table{transform:perspective(1100px) rotateX(10deg)}}
body.gameplay.reduceMotion #table{transform:perspective(1100px) rotateX(10deg)}

body.gameplay .marks .mine{background:var(--pick-accent);color:#fff}
body.gameplay .marks .theirs{background:#ad5360;color:#fff}
body.gameplay.redSeat .marks .theirs{background:#688da9}
body.gameplay .reviewLegend .mine{color:var(--pick-accent)}
body.gameplay .reviewLegend .theirs{color:#ad5360}
body.gameplay.redSeat .reviewLegend .theirs{color:#688da9}

/* Approved 52-card study v3: same 5:7 faces with clean paper and clear indices. */
body.gameplay .card:not(.cover){background:#f7edcf;color:#24231f;border-color:#b6a88e}
body.gameplay .card.red:not(.cover){color:#79252b}
body.gameplay .card:not(.cover)::before{content:'';position:absolute;inset:3%;border:1px solid #84786399;border-radius:3px;pointer-events:none}
body.gameplay .card .corner{font-size:calc(var(--card-h)*26/168);line-height:.9;letter-spacing:0;top:4.76%;left:7.5%}
body.gameplay .card:has(.pips) .corner{font-size:calc(var(--card-h)*29/168)}
body.gameplay .card .corner small,body.gameplay .card:has(.pips) .corner small{font-size:calc(var(--card-h)*23/168);line-height:1;margin-top:calc(var(--card-h)*3/168)}
body.gameplay .card .bottomCorner{top:auto;left:auto;bottom:4.76%;right:7.5%}
body.gameplay .card .pips{inset:25% 32%}
body.gameplay .card .pip{font-size:calc(var(--card-h)*26/168)}
body.gameplay .card .aceSuit{font-size:calc(var(--card-h)*88/168)}
body.gameplay .aceTarget{border-color:#f7edcf;box-shadow:0 0 0 1px currentColor,0 0 0 2px #f7edcf}
body.gameplay .courtArt{inset:23% auto auto 18.5%;width:63%;height:54%}

/* Clear timer and seat-colored card surfaces, without selection halos. */
body.gameplay,body.gameplay.reviewing{--play-h:clamp(68px,calc((100svh - 350px)/5.4),105px)}
body.gameplay #roundClock{height:60px;flex-direction:column;gap:7px;margin-bottom:3px;padding:0 16px}
body.gameplay .progress{width:100%;height:8px;overflow:hidden;border:1px solid #a99b8380;border-radius:2px;background:#171715}
body.gameplay .progress i{height:100%;background:#cfb98f;transform-origin:left center;transition:transform 100ms linear}
body.gameplay #roundClock.urgent .progress i{background:#bd6870}
body.gameplay #timer{font-size:22px;min-height:30px;min-width:90px}
body.gameplay .card.cover.chosen{outline:0;box-shadow:0 2px 2px #0e0c0a70;transform:none;border-color:#aaa69c}
body.gameplay .card.cover.chosen::before{content:'';display:block;position:absolute;inset:0;background:var(--pick-accent);opacity:.8;mix-blend-mode:color;z-index:1;pointer-events:none;border:0}
body.gameplay .card.cover:focus-visible{outline:2px solid #f4e5c8;outline-offset:2px}
body.gameplay .card.cover.chosen:active{transform:scale(.98)}
/* Comparison occupies the same table; a hidden board preserves its geometry. */
body.gameplay.reviewing #table{margin-top:0;min-height:calc(var(--play-h)*4 + 180px)}
body.gameplay.reviewing #showdown{position:static}
body.gameplay.reviewing #board,body.gameplay.reviewing #publicCards{pointer-events:none}
body.gameplay .reviewInner{animation-duration:260ms}
body.gameplay .unselectedReview .reviewBack{position:static;transform:none}
body.gameplay #reviewLegend{display:none!important}
body.gameplay.reviewing #settlement{display:flex!important;position:absolute;inset:20px 10px;z-index:4;flex-direction:column;align-items:center;justify-content:center;gap:25px;opacity:0;pointer-events:none;color:#efdec5}
body.gameplay .comparisonOutcome{font:30px/1.1 var(--app-font);margin:0;text-align:center;color:#efdec5}
body.gameplay .comparisonHand{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px}
body.gameplay .comparisonMeta{display:flex;flex-direction:column;gap:4px;text-align:center;max-width:100%}
body.gameplay .comparisonMeta span{font:14px/1.2 var(--app-font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px;color:#cabb9f}
body.gameplay .comparisonMeta strong{font:22px/1.2 var(--app-font);color:#f7edcf}
body.gameplay .comparisonCards{display:flex;justify-content:center;gap:5px;width:100%}
body.gameplay .showcaseCard{width:calc((100% - 20px)/5);max-width:62px;aspect-ratio:5/7;--card-h:clamp(65px,calc((100vw - 94px)*7/25),87px)}
body.gameplay .showcaseCard .card{width:100%;height:100%}
body.gameplay .ownedCard.seat0 .card:not(.cover){background:#d4e1e6}
body.gameplay .ownedCard.seat1 .card:not(.cover){background:#e8c8c4}
body.gameplay .subduedHand{gap:8px;opacity:.58}
body.gameplay .subduedHand .comparisonMeta strong{font-size:18px}
body.gameplay .subduedHand .comparisonCards{filter:grayscale(1);transform:scale(.9)}
body.gameplay .subduedHand .showcaseCard{max-width:44px;--card-h:61.6px}
body.gameplay .subduedHand .comparisonMeta span{color:#e0d4c1}
body.gameplay.reviewSettled #showdown{border-color:transparent}
body.gameplay.reviewSettled #settlement{animation:comparisonArrive 140ms cubic-bezier(.23,1,.32,1) both}
@keyframes comparisonArrive{from{opacity:.65}to{opacity:1}}
#cardFlights{position:fixed;inset:0;z-index:30;pointer-events:none}
.flightCard{position:fixed;transform-origin:0 0;pointer-events:none}
body.gameplay .flightCard .card{height:100%;width:100%;box-shadow:0 3px 5px #0005}
@media(max-height:740px){body.gameplay,body.gameplay.reviewing,body.gameplay:not(.reviewing){--play-h:clamp(62px,calc((100svh - 350px)/4.9),90px)}body.gameplay #roundClock{height:54px;gap:5px}body.gameplay.reviewing #settlement{gap:18px;inset:14px 9px}.comparisonOutcome{font-size:26px}body.gameplay .comparisonMeta strong{font-size:20px}body.gameplay .showcaseCard{--card-h:clamp(65px,calc((100vw - 90px)*7/25),87px)}}
@media(min-width:760px){body.gameplay,body.gameplay.reviewing,body.gameplay:not(.reviewing){--play-h:clamp(72px,calc((100svh - 360px)/5.4),108px)}}
@media(prefers-reduced-motion:reduce){body.gameplay .reviewInner{animation:none;transform:none}body.gameplay.reviewSettled #settlement{animation:none}body.gameplay .progress i{transition:none}}
body.gameplay.reduceMotion .reviewInner{animation:none;transform:none}
body.gameplay.reduceMotion.reviewSettled #settlement{animation:none}

body.gameplay .showcaseCard .card,body.gameplay .flightCard .card{--card-h:inherit}
body.gameplay .card.cover.chosen::before{transform:none;padding:0;border-radius:inherit;width:auto;height:auto}

/* Compact clock frees vertical room while all phases keep one table geometry. */
body.gameplay,body.gameplay.reviewing,body.gameplay:not(.reviewing){--play-h:clamp(70px,calc((100svh - 300px)/5.5),108px);--public-h:74px;--tray-h:96px;--summary-h:150px}
body.gameplay #roundClock{height:34px;flex-direction:row;align-items:center;gap:10px;padding:0 16px}
body.gameplay .progress{flex:1;width:auto;height:8px}
body.gameplay #timer{flex:none;min-width:70px;min-height:28px;font-size:19px;padding:3px 10px}
body.gameplay #showdown{height:var(--tray-h);min-height:var(--tray-h);padding:6px;margin-bottom:12px}
body.gameplay .community .card{--card-h:var(--public-h);width:calc(var(--public-h)*5/7);height:var(--public-h)}
body.gameplay #pickHint{display:none}
body.gameplay #pickControls{min-height:44px;margin-top:10px}
body.gameplay .card.cover,body.gameplay .card.cover:hover:not(:disabled),body.gameplay .card.cover:active:not(:disabled),body.gameplay .card.cover.chosen:active{transform:none}
body.gameplay.reviewing #table{min-height:0}
body.gameplay.reviewing #showdown{position:relative;height:var(--summary-h);min-height:var(--summary-h)}
body.gameplay.reviewSettled #showdown{border-color:#b9ad98}
body.gameplay.reviewing #board{opacity:1!important}
body.gameplay.reviewing #settlement{inset:5px;gap:3px;justify-content:center}
body.gameplay .comparisonOutcome{font-size:20px;line-height:20px;margin:0}
body.gameplay .comparisonHand{gap:2px}
body.gameplay .comparisonMeta{flex-direction:row;align-items:baseline;justify-content:center;gap:7px}
body.gameplay .comparisonMeta span{font-size:12px;line-height:16px;max-width:135px}
body.gameplay .comparisonMeta strong{font-size:14px;line-height:16px}
body.gameplay .comparisonCards{gap:6px}
body.gameplay .showcaseCard{width:calc(64px*5/7);height:64px;max-width:none;flex:none;--card-h:64px}
body.gameplay .subduedHand{flex-direction:row;justify-content:center;gap:10px;opacity:.64}
body.gameplay .subduedHand .comparisonMeta{flex-direction:column;gap:0;align-items:flex-end}
body.gameplay .subduedHand .comparisonMeta span{font-size:11px;line-height:14px}
body.gameplay .subduedHand .comparisonMeta strong{font-size:12px;line-height:14px}
body.gameplay .subduedHand .comparisonCards{width:auto;transform:none;gap:4px}
body.gameplay .subduedHand .showcaseCard{width:calc(32px*5/7);height:32px;--card-h:32px;max-width:none}
body.gameplay .tiedPlayers{display:flex;width:100%;gap:12px}
body.gameplay .tiedHand{flex:1;min-width:0}
body.gameplay .tiedHand .comparisonMeta{gap:4px}
body.gameplay .tiedHand .comparisonMeta span{max-width:75px}
body.gameplay .tiedHand .comparisonMeta strong{font-size:12px}
body.gameplay .tiedHand .showcaseCard{width:calc(34px*5/7);height:34px;--card-h:34px}
body.gameplay .drawShared .showcaseCard{width:calc(54px*5/7);height:54px;--card-h:54px}
body.gameplay .boardSeat0 .reviewFront{background:#d4e1e6}
body.gameplay .boardSeat1 .reviewFront{background:#e8c8c4}
body.gameplay .boardPickMarkers{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);display:flex;gap:3px}
body.gameplay .roundWinner{filter:brightness(1.08);box-shadow:0 0 9px #e1c6a255}
body.gameplay .roundWinnerCrown{position:absolute;top:-10px;left:17px;width:25px;height:22px;display:grid;place-items:center;z-index:3;background:#43362d;border:1px solid #cfbea3;border-radius:4px;transform:rotate(-7deg)}
body.gameplay .roundWinnerCrown img{width:16px;height:16px;filter:invert(.9);object-fit:contain}
@media(max-height:740px){body.gameplay,body.gameplay.reviewing,body.gameplay:not(.reviewing){--play-h:clamp(62px,calc((100svh - 310px)/4.9),95px);--public-h:62px;--tray-h:80px;--summary-h:132px}body.gameplay #roundClock{height:32px}body.gameplay #showdown{margin-bottom:10px;padding:5px}body.gameplay #pickControls{margin-top:8px}body.gameplay.reviewing #settlement{inset:5px;gap:3px}body.gameplay .comparisonOutcome{font-size:18px;line-height:18px}body.gameplay .comparisonMeta span,body.gameplay .comparisonMeta strong{line-height:14px}body.gameplay .comparisonMeta strong{font-size:13px}body.gameplay .showcaseCard{width:calc(54px*5/7);height:54px;--card-h:54px}body.gameplay .subduedHand .showcaseCard{width:20px;height:28px;--card-h:28px}body.gameplay .subduedHand .comparisonMeta span,body.gameplay .subduedHand .comparisonMeta strong{line-height:13px}body.gameplay .tiedHand .showcaseCard{width:calc(28px*5/7);height:28px;--card-h:28px}body.gameplay .drawShared .showcaseCard{width:calc(48px*5/7);height:48px;--card-h:48px}}
@media(min-width:760px){body.gameplay,body.gameplay.reviewing,body.gameplay:not(.reviewing){--play-h:clamp(72px,calc((100svh - 315px)/5.5),108px)}}

/* Local round review: one seven-card row, with a shared + winning-hand frame. */
body.gameplay #timer{min-width:38px;width:38px;padding:3px 2px;font-size:17px;background-size:100% 100%}
body.gameplay .player.seat0 .playerScore{background:#46657c!important;color:#f7edcf}
body.gameplay .player.seat1 .playerScore{background:#843e49!important;color:#f7edcf}
body.gameplay .player.seat0 .playerAvatar{border:2px solid #688da9;border-radius:50%}
body.gameplay .player.seat1 .playerAvatar{border:2px solid #ad5360;border-radius:50%}
body.gameplay.reviewing #showdown{height:96px;min-height:96px;border:0;padding:0;margin-bottom:10px}
body.gameplay.reviewing #settlement{container-type:inline-size;inset:0;display:flex!important;flex-direction:row;align-items:stretch;justify-content:center;gap:8px;pointer-events:none}
body.gameplay #settlement .comparisonHand{--compare-w:min(42px,calc((100cqw - 44px)/7));width:auto;flex:none;min-width:0;gap:5px;padding:6px 4px;border:1px solid #a29782;border-radius:7px;justify-content:center;box-sizing:border-box}
body.gameplay #settlement .compactLoser{background:#363634;color:#d2c8b8;opacity:.8}
body.gameplay #settlement .combinedWinner{background:#293e49;border-color:#e0cfad;box-shadow:inset 0 0 0 2px #b9ab8c45}
body.gameplay #settlement .combinedWinner.seat1{background:#4b2c33}
body.gameplay #settlement .isDraw{background:#343632;border-color:#b6aa91;opacity:1;box-shadow:none}
body.gameplay #settlement .comparisonMeta{height:16px;min-height:16px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3px;white-space:nowrap;max-width:100%;overflow:hidden}
body.gameplay #settlement .comparisonMeta span,body.gameplay #settlement .comparisonMeta strong{font:11px/16px var(--app-font);color:inherit;max-width:none;text-overflow:ellipsis;overflow:hidden}
body.gameplay #settlement .compactLoser .comparisonMeta{gap:2px;max-width:calc(var(--compare-w)*2 + 4px)}
body.gameplay #settlement .compactLoser .comparisonMeta span{flex:0 1 auto}
body.gameplay #settlement .compactLoser .comparisonMeta strong{font-size:9px;flex:none}
body.gameplay #settlement .comparisonMeta img{width:13px;height:13px;object-fit:contain;filter:invert(.9);flex:none}
body.gameplay #settlement .comparisonCards{gap:4px;width:auto;transform:none;filter:none}
body.gameplay #settlement .showcaseCard{width:var(--compare-w);height:calc(var(--compare-w)*7/5);--card-h:calc(var(--compare-w)*7/5);aspect-ratio:5/7;max-width:none;flex:none}
body.gameplay #settlement .combinedWinner .showcaseCard:nth-child(4){margin-left:0}
body.gameplay .reviewContinue{display:block;margin:0 auto 8px;min-height:32px;padding:4px 12px;background:transparent;border:0;color:#dfd0b6;font:12px/20px var(--app-font);touch-action:manipulation}
body.gameplay .reviewContinue:disabled{opacity:.75}
.roundDialog{position:fixed;overflow:visible;width:min(300px,80vw);padding:35px 20px 24px;border:2px solid #bba98d;border-radius:9px;background:#302b27 url('./assets/waiting-paper-card.webp') center/100% 100%;color:#292721;text-align:center;font-family:var(--app-font);box-shadow:0 15px 60px #0008;cursor:pointer}
.roundDialog::backdrop{background:#15141288}
.roundDialog h2{position:relative;font:38px/1.1 var(--app-font);margin:0 0 12px}
.roundDialog p{position:relative;font:14px/1.3 var(--app-font);margin:0;opacity:.8}
.roundDialog[open]{animation:roundVictoryEnter 220ms cubic-bezier(.16,1,.3,1) both}
#roundConfetti{position:absolute;inset:0;pointer-events:none}
#roundConfetti i{position:absolute;left:50%;top:45%;width:7px;height:10px;background:var(--tone);animation:paperBurst 650ms cubic-bezier(.12,.7,.25,1) var(--lag) both}
#roundConfetti i:nth-child(3n){width:8px;height:8px;clip-path:polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%)}
#roundConfetti i:nth-child(3n + 1){width:6px;height:6px}
.nextCountdown{position:fixed;inset:0;z-index:100;background:#171614c9;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#eedfc5;font-family:var(--app-font);pointer-events:none}
.nextCountdown span{font-size:20px}.nextCountdown strong{font-size:90px;font-weight:400;font-variant-numeric:tabular-nums}
@keyframes paperBurst{0%{opacity:0;transform:translate(0,0) rotate(0)}15%{opacity:1}75%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@keyframes roundVictoryEnter{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.roundDialog[open],#roundConfetti i{animation:none}#roundConfetti{display:none}}
body.reduceMotion .roundDialog[open]{animation:none}body.reduceMotion #roundConfetti{display:none}
/* A compact ink-paper timer, without scaling the whole component atlas. */
body.gameplay #timer{background:#653b43;box-shadow:inset 0 0 0 1px #d0bda1;min-width:42px;width:42px;font-size:16px}
body.gameplay.reviewing #table{touch-action:manipulation}

/* Continue uses the same paper CTA and position as Confirm picks. */
body.gameplay #nextRound{margin:0 auto;min-height:44px;font-size:16px;line-height:20px;white-space:normal}
body.gameplay #nextRound:disabled{opacity:.6}
body.gameplay .roundWait{width:min(340px,calc(100% - 32px));min-height:210px;margin:45px auto 0;padding:52px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:url('./assets/waiting-paper-card.webp') center/100% 100% no-repeat;color:#332c26;text-align:center}
body.gameplay .roundWait h2{margin:0;font:22px/1.3 var(--app-font)}
body.gameplay .roundWait img{width:32px;height:32px;object-fit:contain}

/* Approved dark ink victory plaque: real text, one-shot paper fragments. */
.roundDialog{width:min(340px,86vw);min-height:190px;padding:27px 24px 25px;border:0;border-image:none;border-radius:0;background:transparent;color:#ebdcc1;box-shadow:none;isolation:isolate;overflow:visible}
.roundDialog::before{content:none}
.roundInkFrame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;filter:drop-shadow(0 8px 14px #0007)}
.roundInkStar{display:block;color:#d1c2a3;font-size:23px;line-height:28px;margin:0 0 10px}
.roundDialog h2{font:46px/1.1 var(--app-font);margin:0 0 15px;color:#ebdcc1}
.roundDialog p{font:15px/1.2 var(--app-font);opacity:.9;color:#d6c5a7}
.roundDialog[open]{animation:inkPlaqueEnter 240ms cubic-bezier(.23,1,.32,1) both}
.roundDialog::backdrop{background:#10100fc2}
#roundConfetti{z-index:2}
#roundConfetti i,#roundConfetti i:nth-child(3n),#roundConfetti i:nth-child(3n + 1){left:var(--side);top:var(--top);width:var(--size);height:calc(var(--size)*1.35);background:var(--tone);clip-path:polygon(22% 0,100% 12%,78% 100%,0 85%);animation:inkPaperScatter 1050ms cubic-bezier(.23,1,.32,1) var(--lag) both}
#roundConfetti .inkSpark{clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)!important;width:calc(var(--size)*1.7)!important;height:calc(var(--size)*1.7)!important}
@keyframes inkPlaqueEnter{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes inkPaperScatter{0%{opacity:0;transform:translate(0,0) rotate(0)}12%{opacity:1}45%{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--r))}100%{opacity:0;transform:translate(calc(var(--x)*1.15),var(--fall)) rotate(calc(var(--r)*1.8))}}
/* The old atlas contains a red ribbon: use the neutral paper beneath both seats. */
body.gameplay .player{background:url('./assets/waiting-paper-card.webp') center/100% 100% no-repeat}
body.gameplay .player.seat0{--seat-ink:#46657c}
body.gameplay .player.seat1{--seat-ink:#843e49}
body.gameplay .player .playerScore{position:relative;isolation:isolate;min-height:36px;border:1px solid #c9b797;background:var(--seat-ink)!important;border-radius:0}
body.gameplay .player .playerScore::after{content:'';position:absolute;top:100%;left:-1px;right:-1px;height:7px;background:var(--seat-ink);clip-path:polygon(0 0,100% 0,100% 100%,50% 65%,0 100%);z-index:-1;pointer-events:none}
body.gameplay .player.seat0 .dots{color:#46657c}
body.gameplay .player.seat1 .dots{color:#843e49}
@media(prefers-reduced-motion:reduce){.roundDialog[open]{animation:inkPlaqueFade 140ms linear both}#roundConfetti{display:none}}
body.reduceMotion .roundDialog[open]{animation:inkPlaqueFade 140ms linear both}
@keyframes inkPlaqueFade{from{opacity:0}to{opacity:1}}

/* A shared pick belongs to both seats, with a crisp equal split. */
body.gameplay .boardBoth .reviewFront{background:linear-gradient(90deg,#d4e1e6 0%,#d4e1e6 50%,#e8c8c4 50%,#e8c8c4 100%)}
body.gameplay .boardBoth .boardPickMarkers{gap:4px}
/* Reserved tabletop footer: decoration cannot cover a card or action. */
body.gameplay .tableDecor{height:42px;margin-top:10px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none;user-select:none}
body.gameplay .tableDecor svg{display:block;width:62px;height:42px;overflow:hidden;opacity:.88;flex:none}
body.gameplay .tableDecor svg:last-child{width:55px;height:46px}
body.gameplay .gameProps{display:none}

/* Props belong to the screen edge, not a reserved row on the tabletop. */
body.gameplay .tableDecor{display:none}
body.gameplay .gameProps{display:flex;position:fixed;inset:auto 0 max(0px,env(safe-area-inset-bottom));height:54px;z-index:6;justify-content:space-between;align-items:flex-end;pointer-events:none;user-select:none}
body.gameplay .gameProps svg{width:76px;height:54px;opacity:.9;overflow:hidden;pointer-events:none;transform:translateX(-15px)}
body.gameplay .gameProps svg:last-child{width:66px;height:54px;transform:translateX(13px)}
/* On narrow phones the cards almost reach the edges: keep decoration below them. */
@media(max-width:759px){body.gameplay .gameProps{height:50px}body.gameplay .gameProps svg{width:76px;height:50px;transform:translateX(-18px)}body.gameplay .gameProps svg:last-child{width:66px;height:50px;transform:translateX(16px)}}
body.gameplay:has(#roundWait:not([hidden])) .gameProps{visibility:hidden}
.gameProps{display:none}
body.gameplay .gameProps{display:flex;overflow:hidden}
/* Larger screen-edge props; the existing grid-clearance guard remains active. */
body.gameplay .gameProps{height:84px}
body.gameplay .gameProps svg{width:122px;height:84px;transform:translateX(-24px)}
body.gameplay .gameProps svg:last-child{width:108px;height:84px;transform:translateX(22px)}
@media(max-width:759px){body.gameplay .gameProps{height:76px}body.gameplay .gameProps svg{width:112px;height:76px;transform:translateX(-28px)}body.gameplay .gameProps svg:last-child{width:100px;height:76px;transform:translateX(24px)}}

/* Approved C: small O wax seals replace ownership dots. */
body.gameplay .boardPickMarkers{bottom:3px;gap:2px;z-index:3;line-height:0}
body.gameplay .pickSeal{--wax:#46657c;--wax-dark:#263f50;--wax-light:#9ab0bc;display:block;width:18px;height:18px;flex:none;overflow:visible;background:none;border:0;box-shadow:none;filter:drop-shadow(0 1px 1px #17141266)}
body.gameplay .pickSeal.sealRed{--wax:#843e49;--wax-dark:#512b33;--wax-light:#c49294}
body.gameplay .pickSeal .sealWax{fill:var(--wax);stroke:var(--wax-dark);stroke-width:1.5}
body.gameplay .pickSeal .sealRim{fill:none;stroke:var(--wax-light);stroke-width:1;opacity:.8}
body.gameplay .pickSeal .sealInner{fill:none;stroke:var(--wax-dark);stroke-width:1.2}
body.gameplay .pickSeal text{font:25px Georgia,serif;fill:var(--wax-light);stroke:var(--wax-dark);stroke-width:.35;paint-order:stroke fill}
body.gameplay .pickSeal .sealDot{fill:var(--wax-light)}
body.gameplay .selectedSeal{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);z-index:3;pointer-events:none;line-height:0}
body.gameplay .boardBoth .pickSeal{width:16px;height:16px}
@media(max-height:740px){body.gameplay .pickSeal{width:16px;height:16px}body.gameplay .boardBoth .pickSeal{width:14px;height:14px}}
/* Ownership SVGs inherit seat classes, but never the former dot's square fill. */
body.gameplay .boardPickMarkers .pickSeal{background:transparent;box-shadow:none;border-radius:0}
/* Dialog containers need no browser focus ring; interactive buttons keep keyboard focus. */
body.gameplay #roundDialog,body.gameplay #matchDialog{outline:none}
body.gameplay #matchHome{display:block;width:100%;min-height:48px;margin:10px 0 0;font:18px/1.3 var(--app-font);background:url('./assets/ui/button-secondary.svg') center/100% 100% no-repeat;color:#302a25;border:0;border-radius:0;box-shadow:none}
body.gameplay #matchDialog{padding-top:48px}
#matchClose.resultClose{position:absolute;top:8px;right:8px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:url('./assets/ui/icon-settings.svg') center/100% 100% no-repeat;color:#302a25;font:28px/1 var(--app-font);box-shadow:none}
/* Reveal remains on the table: brief notice, then uninterrupted review. */
.roundNotice{position:fixed;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:12;display:flex;align-items:center;justify-content:center;gap:12px;max-width:calc(100vw - 100px);min-height:44px;padding:10px 22px;color:#ead9be;background:#302b27 url('./assets/ui/paper-grain.svg');border:1px solid #a49278;box-shadow:0 3px 12px #0005;pointer-events:none;white-space:nowrap;font:16px/1.3 var(--app-font)}
.roundNotice[hidden]{display:none}.roundNotice:not([hidden]){animation:roundNoticeEnter 180ms ease-out both}.roundNotice strong{font-weight:500}.roundNotice span{font-size:12px;opacity:.8}
@keyframes roundNoticeEnter{from{opacity:0;translate:0 -6px}to{opacity:1;translate:0 0}}
body.gameplay.winnerSpotlight .roundWinner{filter:drop-shadow(0 0 6px #ebdcc180)}
body.gameplay.winnerSpotlight .combinedWinner:not(.isDraw){box-shadow:inset 0 0 22px #ebdcc12b;filter:brightness(1.12)}
body.gameplay .roundWinner,body.gameplay .combinedWinner{transition:filter 260ms ease-out,box-shadow 260ms ease-out}
@media(prefers-reduced-motion:reduce){.roundNotice:not([hidden]){animation:none}body.gameplay .roundWinner,body.gameplay .combinedWinner{transition:none}}
body.reduceMotion .roundNotice{animation:none}
body.gameplay:not(.winnerSpotlight):not(.ended) .roundWinnerCrown{opacity:0}
@keyframes roundNoticeEnter{from{translate:0 -6px}to{translate:0 0}}
body.gameplay:not(.winnerSpotlight):not(.ended) .roundWinner{filter:none;box-shadow:none}
/* Waiting for the other player is a state of the existing CTA, never a new page. */
body.gameplay #nextRound.waitingOpponent{opacity:.7;cursor:default}
body.gameplay #nextRound.waitingOpponent::after{content:' · · ·';letter-spacing:2px;font-size:14px}
body.gameplay #roundWait{display:none!important}
body.gameplay #matchDialog.matchResultOverlay{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;width:100%;max-width:none;min-height:100dvh;max-height:none;margin:0;padding:64px 24px max(36px,env(safe-area-inset-bottom));overflow:auto;background:#171614d9;border:0;border-image:none;border-radius:0;box-shadow:none;color:#eedfc5;outline:0;text-align:center}
body.gameplay #matchDialog.matchResultOverlay[hidden]{display:none}
.matchResultOverlay::before{content:none!important}
body.gameplay #matchDialog.matchResultOverlay h2{font:clamp(48px,15vw,82px)/1.1 var(--app-font);margin:0;color:#eedfc5;outline:none;text-shadow:0 3px 16px #0005;animation:matchResultWords 260ms ease-out both}
.matchActions{width:min(100%,340px);display:flex;flex-direction:column;gap:10px}
body.gameplay .matchActions #matchRematch,body.gameplay .matchActions #matchHome{display:block;min-height:52px;width:100%;margin:0;font:18px/1.3 var(--app-font)}
body.gameplay .matchActions #matchRematch{background:url('./assets/ui/button-primary.svg') center/100% 100% no-repeat;color:#efdec5;border:0;border-radius:0;box-shadow:none}
body.gameplay .matchActions #viewBoard{min-height:44px;color:#d6c5a7;font-size:14px}
body.gameplay #matchClose{top:max(16px,env(safe-area-inset-top));right:16px}
@keyframes matchResultWords{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){body.gameplay #matchDialog.matchResultOverlay h2{animation:none}}
body.reduceMotion #matchDialog.matchResultOverlay h2{animation:none}
