.mandicot-screen.mandicot-result{grid-template-rows:var(--match-header-height) minmax(0,1fr) auto;gap:16px;--result-color: var(--paper)}.mandicot-result[data-outcome=human]{--result-color: var(--mint)}.mandicot-result[data-outcome=jev]{--result-color: var(--orange)}.mandicot-result-body{min-height:0;display:flex;flex-direction:column;justify-content:safe center;align-items:center;gap:20px;text-align:center;overflow-y:auto;scrollbar-width:thin}.mandicot-result-eyebrow{font-size:13px;letter-spacing:2px;color:#b3c4a1}.mandicot-result-body h2{margin:0;font-family:var(--pixel);font-size:clamp(25px,3vw,38px);font-weight:400;line-height:1.65;color:var(--result-color);text-shadow:4px 5px #08131170}.mandicot-result-body h2:focus{outline:none}.mandicot-captures{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(700px,100%);gap:50px}.mandicot-capture{min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px}.mandicot-capture-label{color:var(--mint);font-size:16px;letter-spacing:1px}.mandicot-capture-label strong{font-family:var(--pixel);font-size:28px;font-weight:400;margin-left:8px}.mandicot-capture.is-jev .mandicot-capture-label{color:var(--orange)}.mandicot-capture-fan{--capture-card-width: 112px;--capture-card-step: 40px;--capture-padding: 58px;--capture-spread: min(max(0px, calc((var(--capture-count) - 1) * var(--capture-card-step))), max(0px, calc(100cqw - var(--capture-card-width) - var(--capture-padding))));container-type:size;position:relative;flex-shrink:0;height:198px;width:min(290px,100%)}.mandicot-capture-fan img{position:absolute;width:var(--capture-card-width);height:calc(var(--capture-card-width) * 1.5);left:calc(50% + var(--capture-offset) * var(--capture-spread));bottom:9px;transform:translate(-50%) rotate(var(--capture-rotation));transform-origin:50% 100%;image-rendering:pixelated;z-index:var(--capture-layer);filter:drop-shadow(4px 5px 0 #0006)}.mandicot-no-tens{display:grid;place-items:center;height:100%;color:#a6b798;font-size:14px}.mandicot-capture-caption{font-size:12px;color:#9caf90;letter-spacing:1px}.mandicot-result-reason{margin:0;max-width:760px;font-size:18px;line-height:1.6;color:#d3debf}.mandicot-result-secondary{margin:0;font-size:16px;line-height:1.6;color:#b2c2a2}.mandicot-result-secondary strong{font-weight:400;color:var(--paper);margin-left:8px}.mandicot-result-warning{margin:0;max-width:760px;color:#ecc4a0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.mandicot-result-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:20px;margin-top:7px}.mandicot-result-actions button{min-height:48px;padding:12px 22px;border:1px solid #b4cb91;background:#345039;color:var(--paper);font-family:var(--pixel);font-size:12px;line-height:1.7}.mandicot-result-actions .is-secondary{background:none;border-color:#526947;color:#c1cfac;font-family:Courier New,monospace;font-size:14px}.mandicot-result-actions button:hover:not(:disabled){border-color:var(--paper);background:#456344}.mandicot-result-actions button:disabled{opacity:.5}.mandicot-result-footer{min-height:20px;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px;font-size:11px;line-height:1.5;color:#a1b28f}.mandicot-result-details{text-align:right}.mandicot-result-details summary{cursor:pointer;padding:4px 0;font-size:12px;color:#b2c1a1}.mandicot-result-details summary:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.mandicot-result-details p{margin:8px 0 0;font-size:12px;line-height:1.6}@media(max-width:600px){.mandicot-screen.mandicot-result{grid-template-rows:var(--match-header-height) minmax(0,1fr) auto;gap:12px}.mandicot-result-body{gap:16px}.mandicot-result-body h2{font-size:clamp(22px,6.2vw,25px)}.mandicot-result-eyebrow{font-size:11px}.mandicot-captures{gap:16px}.mandicot-capture{gap:10px}.mandicot-capture-label{font-size:13px}.mandicot-capture-label strong{font-size:23px}.mandicot-capture-fan{--capture-card-width: 83px;--capture-card-step: 30px;--capture-padding: 46px;height:153px}.mandicot-capture-caption{font-size:10px;letter-spacing:.4px}.mandicot-result-reason{font-size:16px}.mandicot-result-secondary{font-size:14px}.mandicot-result-actions{gap:12px}.mandicot-result-actions button{font-size:11px;padding:12px 18px}.mandicot-result-actions .is-secondary{font-size:13px}.mandicot-result-footer{font-size:10px}}@media(max-height:650px)and (min-height:501px){.mandicot-result-body{gap:8px}.mandicot-result-body h2{font-size:20px;line-height:1.5}.mandicot-capture-fan{--capture-card-width: 76px;--capture-card-step: 28px;height:128px}.mandicot-result-reason{font-size:14px}.mandicot-result-secondary{font-size:13px}.mandicot-result-actions{margin-top:0;gap:10px}.mandicot-result-actions button{min-height:44px;font-size:10px;padding:10px 15px}}@media(max-height:500px){.mandicot-screen.mandicot-result{grid-template-rows:var(--match-header-height) minmax(0,1fr) auto;gap:8px}.mandicot-result-body{gap:7px}.mandicot-result-body h2{font-size:20px;line-height:1.4}.mandicot-result-eyebrow{display:none}.mandicot-captures{width:min(520px,100%);gap:24px}.mandicot-capture{gap:5px}.mandicot-capture-label{font-size:12px}.mandicot-capture-label strong{font-size:18px}.mandicot-capture-fan{--capture-card-width: 60px;--capture-card-step: 25px;height:108px}.mandicot-capture-caption{display:none}.mandicot-result-reason{font-size:13px;line-height:1.4}.mandicot-result-secondary,.mandicot-result-warning{font-size:12px}.mandicot-result-actions{gap:12px;margin-top:0}.mandicot-result-actions button{min-height:36px;padding:7px 16px;font-size:10px}.mandicot-result-actions .is-secondary{font-size:12px}.mandicot-result-footer{font-size:10px}.mandicot-result-details p{line-height:1.3;font-size:10px}}.mandicot-screen,.uno-screen{--match-header-height: 54px}.match-header{width:min(1080px,100%);margin-inline:auto;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px}.match-header h1{margin:0;color:var(--paper);font-family:var(--pixel);font-size:clamp(13px,2vw,22px);font-weight:400;line-height:1.6;text-align:center}.match-header>.match-header-button{justify-self:start}.match-header-actions{justify-self:end;display:flex;align-items:center;gap:10px}.match-key{min-height:44px;min-width:44px;border:0;border-top:2px solid #ffffff25;border-radius:8px;padding:10px 18px;background:#354c49;color:var(--paper);box-shadow:0 6px #091417;font-family:Courier New,monospace;font-size:18px;font-weight:700;line-height:1.3;cursor:pointer}.match-key.is-mint{background:var(--mint);color:#243629;box-shadow:0 6px #536d43}.match-key.is-orange{background:var(--orange);color:#202b27;box-shadow:0 6px #90482f}.match-header-button,.match-header .sound-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid transparent;border-radius:3px;background:transparent;color:#9eb18f;box-shadow:none}.match-header .sound-button{position:static}.match-header-button svg,.match-header .sound-button svg{width:20px;height:20px}.match-header-button:hover,.match-header .sound-button:hover{border-color:#7c94674d;background:#b7d69a08;color:var(--mint)}.match-back-trigger:hover{border-color:#b3876a55;background:#f0755007;color:var(--orange)}.match-header-button:focus-visible,.match-header .sound-button:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.match-key:hover:not(:disabled){filter:brightness(1.12)}.match-key:focus-visible{outline:3px solid var(--orange);outline-offset:4px}.match-key:disabled{opacity:.45;cursor:default}.match-menu-dialog{position:fixed;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto;border:3px solid #7d958c;border-radius:14px;background:#304744;color:var(--paper);box-shadow:0 8px #091417,0 18px 60px #0008}.match-menu-dialog::backdrop{background:#081114c9}.match-menu-dialog h2{margin:0 0 20px;font-family:var(--pixel);font-size:clamp(13px,3vw,22px);font-weight:400;line-height:1.6;text-align:center;overflow-wrap:anywhere}.match-menu-actions{display:grid;gap:16px;padding-bottom:6px}.match-menu-actions .match-key{width:100%;min-height:52px;font-size:22px}@media(max-width:600px){.match-header{gap:4px}.match-header h1{min-width:0;font-size:clamp(10px,3vw,13px);overflow-wrap:anywhere}.match-header-actions{gap:0}.match-menu-dialog{padding:18px}.match-menu-actions .match-key{font-size:18px}}@media(max-height:500px)and (min-width:601px){.mandicot-screen,.uno-screen{--match-header-height: 50px}.match-header h1{font-size:14px}}.draw-decision-dock{width:min(340px,100%);justify-self:center;padding:2px 4px 5px}.draw-decision-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:6px}.draw-decision-actions button{min-width:0;min-height:50px;padding:10px 12px;border:0;border-radius:7px;font:11px/1.5 var(--pixel);color:var(--paper);box-shadow:0 5px #081a18,inset 0 2px #ffffff30;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.draw-decision-play{background:#629bb5}.draw-decision-pass{background:#bc6a46}.draw-decision-arrow{font:19px/1 Courier New,monospace}.draw-decision-actions button:not(:disabled):hover{filter:brightness(1.12)}.draw-decision-actions button:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.draw-decision-actions button:disabled{background:#35483f;color:#a2b3a2;cursor:not-allowed}.draw-decision-dock p{margin:5px 0 0;text-align:center;color:var(--muted);font:10px/1.5 Courier New,monospace}@media(max-width:600px){.draw-decision-actions{gap:10px}.draw-decision-actions button{font-size:9px;padding-inline:8px}.draw-decision-dock p{font-size:9px}}@media(max-height:650px){.draw-decision-actions button{min-height:44px;padding-block:6px;font-size:9px}.draw-decision-dock{padding-block:0 3px}.draw-decision-dock p{margin-top:2px;font-size:9px}}.mandicot-screen{position:relative;height:100%;min-height:0;max-width:1080px;margin:auto;display:grid;grid-template-rows:var(--match-header-height) 92px minmax(0,1fr) 320px 20px;gap:10px}.mandicot-scores{display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);align-items:center;gap:18px;padding:10px 20px;background:#122a2480}.mandicot-player{display:flex;justify-content:center;align-items:center;gap:20px}.mandicot-player strong{display:block;font-size:17px;font-weight:400;letter-spacing:1px}.mandicot-player small{display:block;font-size:13px;line-height:1.5;color:#a9b89d}.mandicot-player>b{display:flex;align-items:center;gap:10px;font-family:var(--pixel);font-size:30px;line-height:1.5;font-weight:400;color:var(--mint)}.mandicot-player>b small{font-family:Courier New,monospace;font-size:13px}.mandicot-player.is-jev>b{color:var(--orange)}.mandicot-round{display:grid;justify-items:center;gap:7px;font-size:14px;color:var(--paper)}.mandicot-round>span+span{color:var(--mint)}.mandicot-round b{font-size:22px;color:var(--paper)}.mandicot-table{min-height:0;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.mandicot-table:before{content:"";position:absolute;inset:4% 8%;border-radius:50%;background:radial-gradient(ellipse,#56734d25,transparent 70%);pointer-events:none}.mandicot-status{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;text-align:center}.mandicot-status p{margin:0;font-family:var(--pixel);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.mandicot-status button{min-height:36px;border:1px solid #849d69;background:#233b32;color:var(--paper);padding:8px 14px;font-size:13px}.mandicot-mode{color:#a5b496;text-align:center;font-size:11px;line-height:1.5;letter-spacing:.6px}.mandicot-hand{--hand-card-width: 140px;--hand-step: 56px;--hand-arc-height: 20px;--hand-lift: 32px;--hand-bottom: 26px;--hand-spread-padding: 70px;container-type:size;display:grid;grid-template-rows:minmax(0,1fr);min-height:0;isolation:isolate}.mandicot-hand[data-paged=true]{grid-template-rows:minmax(0,1fr) 34px}.mandicot-fan{--fan-spread: min(680px, calc(var(--fan-span-count) * var(--hand-step)), max(0px, calc(100cqw - var(--hand-card-width) - var(--hand-spread-padding))));position:relative;min-height:0}.mandicot-card{position:absolute;left:calc(50% + var(--fan-offset) * var(--fan-spread));bottom:calc(var(--hand-bottom) - var(--fan-drop) * var(--hand-arc-height));width:var(--hand-card-width);height:calc(var(--hand-card-width) * 1.5);padding:0;border:2px solid #ece5c8;border-radius:7px;background:#e7dfc2;overflow:hidden;cursor:pointer;transform:translate(-50%) rotate(var(--fan-rotation));transform-origin:50% 100%;z-index:var(--fan-layer);box-shadow:0 4px 12px #0008;transition:transform .15s ease-out,border-color .15s ease-out}.mandicot-card img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.mandicot-card strong{position:absolute;left:2px;top:2px;display:flex;flex-direction:column;align-items:center;padding:2px 3px;background:#f4ebcf;color:#24362c;font-size:20px;line-height:1.05;pointer-events:none}.mandicot-card strong.is-red{color:#b84040}.mandicot-card:disabled{cursor:default}.mandicot-card.is-illegal{border-color:#8b897a}.mandicot-card.is-selected{transform:translate(-50%) translateY(calc(-1 * var(--hand-lift))) rotate(var(--fan-rotation));border-color:var(--orange);z-index:20;box-shadow:0 7px 18px #000b}.mandicot-card:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.mandicot-hand[data-spreading=true] .mandicot-card{pointer-events:none;transition:none}.mandicot-hand-actions,.mandicot-hand-pages{display:flex;align-items:center;justify-content:center;gap:12px}.mandicot-hand-pages{font-size:10px;color:var(--mint);gap:8px}.mandicot-hand-actions button{font-family:var(--pixel);font-size:9px;padding:8px 12px;border:1px solid #8ca675;color:var(--paper);background:#233b32}.mandicot-hand-actions button:disabled{opacity:.45}.mandicot-dialog button{min-height:44px;padding:10px 16px;border:1px solid #8ca675;color:var(--paper);background:#233b32;font-size:14px}.mandicot-dialog button:disabled{opacity:.45}.mandicot-dialog{position:fixed;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid #94ad76;background:#192b29;color:var(--paper);box-shadow:0 0 80px #0009;overflow:auto}.mandicot-dialog::backdrop{background:#081114bb}.mandicot-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.mandicot-dialog h2{margin:0;font-family:var(--pixel);font-size:17px;line-height:1.6;color:var(--mint);font-weight:400}.mandicot-dialog p{font-size:16px;line-height:1.7}.mandicot-dialog-heading button{padding:0;width:44px;font-size:24px;border:0;background:none}.mandicot-dialog-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px;font-size:14px}.mandicot-dialog .is-destructive{color:#ffc39e;border-color:#b8775d;background:#50352b}.mandicot-history{list-style:none;margin:0;padding:0;display:grid;gap:14px}.mandicot-history li{border-bottom:1px solid #61784b55;padding-bottom:12px;font-size:15px;line-height:1.6}.mandicot-history strong,.mandicot-history span{display:block}.mandicot-history strong{font-size:14px;color:var(--mint);font-weight:400}@media(max-width:600px){.mandicot-screen{grid-template-rows:var(--match-header-height) 94px minmax(0,1fr) 252px 18px;gap:7px}.mandicot-scores{grid-template-columns:minmax(0,1fr) 98px minmax(0,1fr);gap:8px;padding:8px 5px}.mandicot-player{flex-direction:column;gap:2px;text-align:center}.mandicot-player.is-jev{flex-direction:column-reverse}.mandicot-player strong{font-size:13px}.mandicot-player small{font-size:11px}.mandicot-player>b{font-size:23px;gap:5px}.mandicot-player>b small{font-size:10px}.mandicot-round{font-size:12px;gap:6px}.mandicot-round b{font-size:18px}.mandicot-status p,.mandicot-mode{font-size:10px}.mandicot-hand{--hand-card-width: 106px;--hand-arc-height: 16px;--hand-lift: 24px;--hand-bottom: 24px;--hand-spread-padding: 46px}.mandicot-card strong{font-size:17px}.mandicot-dialog{padding:18px}.mandicot-dialog h2,.mandicot-history li{font-size:14px}}@media(max-height:650px)and (min-height:501px){.mandicot-screen{grid-template-rows:var(--match-header-height) 80px minmax(0,1fr) 190px 18px;gap:5px}.mandicot-hand{--hand-card-width: 82px;--hand-arc-height: 10px;--hand-lift: 14px;--hand-bottom: 14px;--hand-spread-padding: 40px}.mandicot-card strong{font-size:14px}.mandicot-status p{font-size:10px}}@media(max-height:500px){.mandicot-screen{grid-template-rows:var(--match-header-height) 56px minmax(0,1fr) 142px 14px;gap:4px}.mandicot-scores{padding:4px 8px}.mandicot-player{gap:10px}.mandicot-player strong{font-size:12px}.mandicot-player small,.mandicot-player>b small{font-size:11px}.mandicot-player>b{font-size:20px}.mandicot-round{font-size:11px;gap:3px}.mandicot-round b{font-size:16px}.mandicot-table{gap:4px}.mandicot-status p{font-size:9px}.mandicot-status button{min-height:28px;padding:4px 10px;font-size:11px}.mandicot-mode{font-size:9px}.mandicot-hand{--hand-card-width: 66px;--hand-arc-height: 8px;--hand-lift: 10px;--hand-bottom: 12px;--hand-spread-padding: 40px}.mandicot-hand[data-paged=true]{grid-template-rows:minmax(0,1fr) 24px}.mandicot-card strong{font-size:12px}.mandicot-hand-actions button{font-size:7px;padding:5px 9px}}@media(prefers-reduced-motion:reduce){.mandicot-card{transition:none}}.mandicot-draw-preview{grid-template-rows:var(--match-header-height) 92px minmax(0,1fr) 320px 58px}.mandicot-draw-preview .mandicot-round{font-size:11px}.mandicot-draw-preview .mandicot-round span+span{font-size:9px;color:#efba47}.mandicot-draw-preview .mandicot-status p{font-size:10px}.draw-preview-stage{min-height:0;position:relative;display:flex;align-items:center;container-type:size;padding:5px 16px}.draw-preview-plays{min-width:0;min-height:0;width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;gap:clamp(24px,6vw,80px)}.draw-preview-stock{position:absolute;right:12px;top:50%;transform:translateY(-50%)}.draw-preview-overlay-anchor{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:min(260px,max(120px,calc(100cqh - 16px)));aspect-ratio:2 / 3;pointer-events:none}.draw-preview-middle,.draw-preview-stock{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--mint);font-size:10px}.draw-preview-center,.draw-preview-deck{height:min(230px,max(66px,calc(100cqh - 28px)));aspect-ratio:2 / 3;min-width:44px;position:relative}.draw-preview-center{display:grid;place-items:center;border:1px dashed #7a946544;background:#233b3215}.draw-preview-center>span{font-size:9px;color:var(--muted)}.draw-preview-center img,.draw-preview-deck img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.draw-preview-deck{border:0;background:none;padding:0;isolation:isolate}.draw-preview-deck img{position:relative;z-index:2;filter:drop-shadow(3px 4px 0 #08131780)}.draw-preview-deck:before,.draw-preview-deck:after{content:"";position:absolute;inset:0;background:#25353c;border:2px solid #ece5c8;border-radius:7px;transform:translate(5px,3px) rotate(3deg);z-index:0}.draw-preview-deck:after{transform:translate(9px,6px) rotate(5deg);z-index:-1}.draw-preview-deck:disabled{opacity:.5}.draw-preview-deck:not(:disabled):hover{filter:brightness(1.12)}.draw-preview-reserved{visibility:hidden;pointer-events:none}.draw-preview-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;font-size:9px;color:var(--muted)}.draw-preview-controls button{min-width:58px;min-height:44px;padding:8px 14px;border:1px solid var(--line);background:#172b25;font-size:11px}.draw-preview-controls button[aria-pressed=true]{border-color:var(--mint);color:var(--mint)}.draw-preview-controls button:disabled{opacity:.5}.draw-preview-controls small{color:#b7a37b;font-size:8px;letter-spacing:.5px}.draw-preview-menu-note{font:11px/1.6 Courier New,monospace;color:var(--muted);text-align:center}.mandicot-card-flight{position:fixed;top:0;left:0;z-index:30;visibility:hidden;pointer-events:none;perspective:1000px;transform-origin:center}.mandicot-flight-faces{width:100%;height:100%;position:relative;transform-style:preserve-3d}.mandicot-flight-faces img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:hidden;image-rendering:pixelated;filter:drop-shadow(4px 5px 0 #08131780)}.mandicot-flight-front{transform:rotateY(180deg)}@media(max-width:900px){.draw-preview-stage{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-inline:0}.draw-preview-plays{gap:12px}.draw-preview-stock{position:static;transform:none}.draw-preview-center,.draw-preview-deck{height:min(190px,max(66px,calc((100cqw - 48px)/2)),max(66px,calc(100cqh - 28px)))}}@media(max-width:600px){.mandicot-draw-preview{grid-template-rows:var(--match-header-height) 94px minmax(0,1fr) 252px 64px;gap:7px}.draw-preview-middle,.draw-preview-stock,.mandicot-draw-preview .mandicot-round{font-size:9px}.mandicot-draw-preview .mandicot-round span+span{font-size:7px}.draw-preview-controls{gap:4px 10px}.draw-preview-controls small{flex-basis:100%;text-align:center}}@media(max-height:650px){.mandicot-draw-preview{grid-template-rows:var(--match-header-height) 62px minmax(0,1fr) 164px 64px;gap:5px}.mandicot-draw-preview .mandicot-hand{--hand-card-width: 74px;--hand-lift: 14px;--hand-bottom: 14px;--hand-arc-height: 10px}.mandicot-draw-preview .mandicot-player strong{font-size:11px}.mandicot-draw-preview .mandicot-player small{font-size:9px}.mandicot-draw-preview .mandicot-player>b{font-size:19px}.mandicot-draw-preview .mandicot-status p{font-size:8px}.draw-preview-stage{padding-block:2px}}@media(max-height:500px)and (min-width:601px){.mandicot-draw-preview{grid-template-rows:var(--match-header-height) 40px minmax(0,1fr) 90px 44px;gap:4px}.mandicot-draw-preview .mandicot-hand{--hand-card-width: 48px;--hand-lift: 6px;--hand-bottom: 6px;--hand-arc-height: 4px}.draw-preview-middle,.draw-preview-stock{font-size:8px;gap:4px}.draw-preview-plays{gap:32px}.draw-preview-controls button{min-height:44px}}.mandicot-live-table{--status-lane-height: 44px;--pages-lane-height: 34px;--draw-lane-height: 80px;grid-template-rows:var(--match-header-height) 92px minmax(0,1fr) 400px 20px}.mandicot-live-table .mandicot-table{grid-template-rows:var(--status-lane-height) minmax(0,1fr)}.mandicot-live-table .mandicot-status{min-height:0;overflow:auto}.mandicot-live-table .mandicot-hand,.mandicot-live-table .mandicot-hand[data-paged=true]{--hand-bottom: 38px;grid-template-rows:minmax(0,1fr) var(--pages-lane-height) var(--draw-lane-height)}.mandicot-live-table .mandicot-fan{grid-column:1;grid-row:1}.mandicot-live-table .mandicot-hand-actions{grid-column:1;grid-row:2;min-height:0}.mandicot-live-table .mandicot-hand>.draw-decision-dock{grid-column:1;grid-row:3;align-self:start}.mandicot-live-table .draw-preview-deck:disabled{opacity:.7;cursor:not-allowed}.mandicot-live-table .draw-preview-stock>span{font-size:8px;color:#b7a37b}.mandicot-live-table .draw-decision-status{visibility:hidden}@media(max-width:600px)and (min-height:651px){.mandicot-live-table{grid-template-rows:var(--match-header-height) 94px minmax(0,1fr) 332px 18px}.mandicot-live-table .mandicot-hand{--hand-bottom: 36px}}@media(max-height:650px)and (min-height:501px){.mandicot-live-table{--status-lane-height: 32px;--draw-lane-height: 66px;grid-template-rows:var(--match-header-height) 62px minmax(0,1fr) 230px 18px}.mandicot-live-table .mandicot-hand{--hand-card-width: 74px;--hand-lift: 14px;--hand-bottom: 26px;--hand-arc-height: 10px}.mandicot-live-table .mandicot-player strong{font-size:11px}.mandicot-live-table .mandicot-player small{font-size:9px}.mandicot-live-table .mandicot-player>b{font-size:19px}}@media(max-height:500px){.mandicot-live-table{--status-lane-height: 20px;--pages-lane-height: 24px;--draw-lane-height: 50px;grid-template-rows:var(--match-header-height) 40px minmax(0,1fr) 156px 14px}.mandicot-live-table .mandicot-hand{--hand-card-width: 48px;--hand-lift: 6px;--hand-bottom: 18px;--hand-arc-height: 4px}}@media(max-height:650px){.mandicot-live-table .draw-decision-dock p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media(max-height:420px)and (min-width:601px){.mandicot-live-table{--match-header-height: 44px;grid-template-rows:var(--match-header-height) 28px minmax(0,1fr) 156px 14px}.mandicot-live-table .mandicot-scores{padding-block:0}.mandicot-live-table .mandicot-player strong{font-size:10px}.mandicot-live-table .mandicot-player small{font-size:8px}.mandicot-live-table .mandicot-player>b{font-size:16px;line-height:1.3}.mandicot-live-table .mandicot-round{font-size:9px;gap:2px}.mandicot-live-table .mandicot-round b{font-size:12px}.mandicot-live-table .mandicot-hand{--hand-card-width: 44px}}.uno-screen{height:100%;min-height:0;display:grid;grid-template-rows:var(--match-header-height) 24px minmax(0,1fr) 40px 300px;gap:10px;padding:8px 14px}.uno-preview-banner{display:flex;align-items:center;justify-content:center;gap:14px;color:#efba47;font-size:10px;letter-spacing:1px}.uno-preview-banner span{color:var(--muted);font-size:9px}.uno-table{min-height:0;display:grid;grid-template-rows:minmax(86px,30%) minmax(0,1fr);border:1px solid #b7d69a20;background:radial-gradient(ellipse at center,#36584550,transparent 75%)}.uno-opponent{display:grid;justify-items:center;align-content:center;gap:5px;overflow:hidden}.uno-player-label{display:flex;align-items:center;gap:12px;font-family:var(--pixel);font-size:12px;color:var(--paper)}.uno-player-label small,.uno-player-label span{font:9px Courier New,monospace;color:var(--muted)}.uno-opponent-hand{display:flex;justify-content:center;padding-right:24px}.uno-opponent-hand img{width:35px;margin-right:-13px;image-rendering:pixelated}.uno-count{color:var(--muted);font-size:8px;letter-spacing:1px}.uno-piles{min-height:0;display:flex;align-items:center;justify-content:center;gap:clamp(18px,4vw,46px);padding:10px}.uno-draw,.uno-discard{height:min(100%,230px);aspect-ratio:2 / 3;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0 0 20px;position:relative}.uno-draw{background:transparent;border:0;transition:transform .12s ease}.uno-draw:not(:disabled):hover{transform:translateY(-5px)}.uno-draw:disabled{opacity:.55}.uno-piles img{height:100%;width:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(4px 6px 0 #08131780)}.uno-draw span,.uno-discard span{position:absolute;bottom:0;font-size:9px;letter-spacing:2px;color:var(--muted)}.uno-active-color{display:grid;gap:10px;width:130px;padding:14px 12px;border-left:4px solid var(--uno-color);background:#08131740}.uno-active-color small{font-size:8px;color:var(--muted)}.uno-active-color strong{color:var(--uno-color);font-size:15px;text-transform:uppercase}.color-red{--uno-color: #ef623f}.color-blue{--uno-color: #8b9bc5}.color-green{--uno-color: #82bd8e}.color-yellow{--uno-color: #efba47}.uno-message{display:grid;place-items:center;padding:0 12px;text-align:center;font-size:11px;line-height:1.5;color:var(--mint)}.uno-player{--hand-card-width: 140px;--hand-step: 56px;--hand-arc-height: 20px;--hand-lift: 32px;--hand-bottom: 26px;--hand-spread-padding: 70px;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 22px;container-type:size;isolation:isolate}.uno-player>.uno-player-label{justify-content:center;font:9px Courier New,monospace;letter-spacing:1px;color:var(--muted);gap:6px}.uno-player-label span{margin-left:14px;letter-spacing:1px}.uno-hand-viewport{min-width:0;min-height:0;overflow:visible;touch-action:manipulation}.uno-hand{height:100%;--fan-spread: min(680px, calc(var(--fan-span-count) * var(--hand-step)), max(0px, calc(100cqw - var(--hand-card-width) - var(--hand-spread-padding))));position:relative;min-height:0}.uno-card{position:absolute;left:calc(50% + var(--fan-offset) * var(--fan-spread));bottom:calc(var(--hand-bottom) - var(--fan-drop) * var(--hand-arc-height));width:var(--hand-card-width);height:calc(var(--hand-card-width) * 1.5);padding:0;background:transparent;border:0;border-radius:7px;transform:translate(-50%) rotate(var(--fan-rotation));transform-origin:50% 100%;z-index:var(--fan-layer);transition:transform .15s ease-out}.uno-card img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 8px #0008)}.uno-card:not(:disabled):is(:hover,:focus-visible){transform:translate(-50%) translateY(calc(-1 * var(--hand-lift))) rotate(var(--fan-rotation));z-index:calc(var(--fan-count, 14) + 1)}.uno-card:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.uno-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:var(--muted);font-size:12px}@media(prefers-reduced-motion:reduce){.uno-card{transition:none}}.uno-color-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#18252a;color:var(--paper);border:2px solid var(--line);padding:24px;text-align:center}.uno-color-dialog::backdrop{background:#081317d9}.uno-color-dialog h2{font:14px var(--pixel);line-height:1.8}.uno-color-dialog p,.uno-menu-note{font:11px/1.6 Courier New,monospace;color:var(--muted)}.uno-color-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.uno-color-option{min-height:52px;border:2px solid var(--uno-color);background:#081317;color:var(--uno-color);font-weight:700;text-transform:uppercase}.uno-menu-note{max-width:330px;text-align:center;margin:8px auto}@media(max-width:600px){.uno-screen{padding:4px 0;gap:8px;grid-template-rows:var(--match-header-height) 28px minmax(0,1fr) 50px 250px}.uno-preview-banner{gap:8px;font-size:9px}.uno-preview-banner span{font-size:8px;letter-spacing:0}.uno-table{grid-template-rows:minmax(80px,30%) minmax(0,1fr)}.uno-piles{flex-wrap:wrap;gap:16px;padding:8px 12px 46px;position:relative}.uno-draw,.uno-discard{max-height:190px}.uno-active-color{position:absolute;bottom:5px;width:auto;display:flex;gap:8px;align-items:center;padding:6px 10px}.uno-active-color strong{font-size:11px}.uno-message{font-size:10px}.uno-player-label span{display:none}.uno-player{--hand-card-width: 100px;--hand-arc-height: 16px;--hand-lift: 22px;--hand-bottom: 22px;--hand-spread-padding: 46px}}@media(max-height:650px)and (min-height:551px)and (min-width:601px){.uno-screen{grid-template-rows:var(--match-header-height) 24px minmax(0,1fr) 40px 190px;gap:6px}.uno-player{--hand-card-width: 90px;--hand-arc-height: 10px;--hand-lift: 14px;--hand-bottom: 14px}}@media(max-width:600px)and (max-height:650px){.uno-screen{grid-template-rows:var(--match-header-height) 24px minmax(0,1fr) 40px 200px;gap:6px}.uno-table{grid-template-rows:76px minmax(0,1fr)}.uno-opponent-hand img{width:24px;margin-right:-9px}.uno-piles{padding-top:6px;padding-bottom:32px}.uno-active-color{bottom:3px;padding-block:4px}.uno-player{--hand-card-width: 82px;--hand-arc-height: 10px;--hand-lift: 14px;--hand-bottom: 14px}}@media(max-height:550px)and (min-width:601px){.uno-screen{grid-template-rows:var(--match-header-height) 20px minmax(0,1fr) 28px 135px;gap:4px}.uno-table{grid-template-rows:none;grid-template-columns:1fr 2fr}.uno-opponent-hand img{width:27px;margin-right:-11px}.uno-piles{flex-wrap:nowrap;padding:4px 10px 18px;gap:18px}.uno-active-color{position:static;display:grid;gap:6px;width:100px}.uno-player{--hand-card-width: 66px;--hand-arc-height: 8px;--hand-lift: 10px;--hand-bottom: 12px;--hand-spread-padding: 40px;grid-template-rows:minmax(0,1fr) 18px}.uno-message,.uno-preview-banner{font-size:8px}.uno-player-label{font-size:9px}}@media(max-width:600px),(max-height:550px){.uno-player{--hand-spread-padding: calc(var(--hand-card-width) * .75 + 16px)}}.uno-screen.uno-result-screen{grid-template-rows:var(--match-header-height) 26px minmax(0,1fr);gap:10px}.uno-result-body{width:min(740px,100%);min-height:0;overflow-y:auto;margin-inline:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:16px;padding:20px 12px;text-align:center;background:radial-gradient(ellipse at center,#36584535,transparent 70%)}.uno-result-eyebrow{font:11px Courier New,monospace;letter-spacing:2px;color:var(--muted)}.uno-result-body h2{margin:0;font:clamp(22px,4.8vw,42px)/1.5 var(--pixel);color:var(--mint)}.uno-result-body h2:focus{outline:none}.uno-result-body[data-winner=jev] h2{color:#efba47}.uno-result-finisher{margin:6px 0 8px;width:140px;transform:rotate(-7deg)}.uno-result-finisher img{width:100%;display:block;image-rendering:pixelated;filter:drop-shadow(5px 7px 0 #08131780)}.uno-result-finisher figcaption{margin-top:12px;font:10px Courier New,monospace;letter-spacing:1px;color:#efba47;white-space:nowrap}.uno-result-stats{display:flex;justify-content:center;gap:44px}.uno-result-stats>div{display:grid;gap:10px}.uno-result-stats strong{font:28px/1.3 var(--pixel);color:var(--paper)}.uno-result-stats span{font:10px Courier New,monospace;letter-spacing:.7px;color:var(--muted)}.uno-result-caption{margin:0;font:12px/1.5 Courier New,monospace;color:var(--muted)}.uno-result-actions{width:min(380px,100%);display:grid;gap:10px}.uno-result-actions button{min-height:48px;padding:12px 18px;border:1px solid #789f88;border-radius:5px;background:#29453e;color:var(--paper);font:12px Courier New,monospace}.uno-result-actions .is-primary{background:#efba47;border-color:#efba47;color:#17272a;font-weight:700}.uno-result-actions button:disabled{opacity:.5;cursor:not-allowed}.uno-result-actions button:focus-visible{outline:3px solid var(--mint);outline-offset:4px}.uno-result-error{margin:0;font:12px/1.5 Courier New,monospace;color:#efba47}@media(max-height:700px){.uno-result-body{gap:10px;padding-block:10px}.uno-result-finisher{width:96px;margin-block:3px}.uno-result-stats strong{font-size:22px}.uno-result-body h2{font-size:26px}}@media(max-height:550px)and (min-width:601px){.uno-result-body{display:grid;grid-template-columns:100px minmax(0,1fr) minmax(0,1fr);align-content:center;align-items:center;gap:9px 22px;padding:10px 14px}.uno-result-eyebrow{grid-column:2 / 4}.uno-result-body h2{grid-column:2 / 4;font-size:26px}.uno-result-finisher{grid-column:1;grid-row:1 / 5;width:90px}.uno-result-stats{grid-column:2;gap:20px}.uno-result-stats span{font-size:9px}.uno-result-actions{grid-column:3;grid-row:3}.uno-result-caption,.uno-result-error{grid-column:2 / 4;font-size:10px}}@media(max-height:700px)and (max-width:600px){.uno-result-body{gap:8px;padding-block:6px}.uno-result-finisher{width:80px}.uno-result-finisher figcaption{font-size:9px;margin-top:8px}.uno-result-stats>div{gap:6px}.uno-result-stats strong{font-size:20px}.uno-result-caption{font-size:10px}.uno-result-actions{gap:8px}.uno-result-actions button{min-height:42px;padding:9px 12px}}.uno-game-screen{position:relative;--uno-controls-height: 44px;--uno-player-height: 360px;--uno-label-height: 22px;--uno-hint-height: 30px;--uno-draw-height: 80px;grid-template-rows:var(--match-header-height) 26px minmax(0,1fr) var(--uno-controls-height) var(--uno-player-height);gap:8px}.uno-game-loading{height:100%;display:grid;grid-template-rows:var(--match-header-height) minmax(0,1fr);gap:20px}.uno-game-loading>div{align-self:center;text-align:center;padding:20px}.uno-game-loading h2{font:20px/1.6 var(--pixel)}.uno-game-loading p{font:14px/1.6 Courier New,monospace}.uno-game-loading a{color:var(--mint)}.uno-game-controls{min-height:0;display:grid;grid-template-rows:minmax(0,1fr);text-align:center;font:13px/1.5 Courier New,monospace}.uno-status-lane{min-height:0;overflow:auto}.uno-game-controls p{margin:0 auto 3px;max-width:660px}.uno-command-lane{width:min(340px,100%);height:48px;min-height:0;display:flex;justify-content:safe center;align-items:center;gap:8px;padding:2px;overflow-x:auto;overflow-y:hidden}.uno-command-lane>*{flex-shrink:0}.uno-command-lane .match-key{font-size:11px;min-height:44px;padding:7px 11px;white-space:nowrap}.uno-game-history{max-height:50dvh;overflow-y:auto;text-align:left;font:12px/1.6 Courier New,monospace}.uno-game-screen .uno-draw:disabled{opacity:1}.uno-game-screen .uno-preview-banner{font-size:11px;letter-spacing:.3px}.uno-game-screen .uno-count,.uno-game-screen .uno-player-label small{font-size:12px}.uno-game-screen .uno-table{border:0;background:none;grid-template-rows:76px minmax(0,1fr)}.uno-game-screen .uno-discard span{display:none}.uno-game-screen .uno-piles{--pile-space-height: 56px;--pile-stock-caption-height: 28px;--pile-card-width: min(140px, 28cqw, max(30px, calc((100cqh - var(--pile-space-height)) * 2 / 3)));--pile-stock-width: clamp(44px, calc((100cqh - var(--pile-space-height)) * 2 / 3), 64px);position:relative;container-type:size;display:block;width:min(520px,100%);justify-self:center}.uno-game-screen .uno-draw,.uno-game-screen .uno-discard{position:absolute;min-width:0;height:auto;max-height:none;aspect-ratio:auto}.uno-game-screen .uno-draw{width:var(--pile-stock-width);min-width:44px;min-height:44px;right:18px;bottom:8px;padding-bottom:var(--pile-stock-caption-height);isolation:isolate}.uno-game-screen .uno-draw span{white-space:nowrap;letter-spacing:.3px;z-index:3}.uno-game-screen .uno-discard{width:var(--pile-card-width);left:50%;top:50%;transform:translate(-50%,-50%);padding:0}.uno-game-screen .uno-piles img{height:auto;width:100%;aspect-ratio:2 / 3}.uno-game-screen .uno-draw img{position:relative;z-index:2}.uno-game-screen .uno-draw:before,.uno-game-screen .uno-draw:after{content:"";position:absolute;top:0;left:50%;width:100%;aspect-ratio:2 / 3;background:#25353c;border:2px solid #ece5c8;border-radius:7px;transform:translate(-50%) translate(5px,3px) rotate(3deg);z-index:0;pointer-events:none}.uno-game-screen .uno-draw:after{transform:translate(-50%) translate(9px,6px) rotate(5deg);z-index:-1}.uno-game-screen .uno-draw-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--pile-card-width);aspect-ratio:2 / 3;pointer-events:none}.uno-game-screen .uno-active-color{position:absolute;left:50%;top:calc(50% + var(--pile-card-width) * .75 + 18px);transform:translate(-50%);display:flex;align-items:center;gap:6px;width:auto;padding:0;border:0;background:none;color:var(--uno-color, var(--paper));font:700 11px/1.2 Courier New,monospace}.uno-game-screen .uno-active-color>span{width:9px;height:9px;background:currentColor;border-radius:50%}.uno-game-screen .uno-card[data-arriving=true]{visibility:hidden}.uno-game-screen .uno-player[data-spreading=true] .uno-card{pointer-events:none;transition:none}.uno-card-flight{position:fixed;top:0;left:0;z-index:30;visibility:hidden;pointer-events:none;perspective:1000px;transform-origin:center}.uno-flight-faces{width:100%;height:100%;position:relative;transform-style:preserve-3d}.uno-flight-faces img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:hidden;image-rendering:pixelated;filter:drop-shadow(4px 5px 0 #08131780)}.uno-flight-front{transform:rotateY(180deg)}.uno-game-screen .uno-player{grid-template-rows:minmax(0,1fr) var(--uno-label-height) var(--uno-hint-height) var(--uno-draw-height)}.uno-game-screen .uno-hand-viewport{grid-column:1;grid-row:1}.uno-game-screen .uno-player>.uno-player-label{grid-column:1;grid-row:2}.uno-primary-lane,.uno-hint-lane,.uno-draw-lane{min-height:0;display:grid;justify-items:center;align-content:start}.uno-hint-lane{grid-column:1;grid-row:3}.uno-primary-lane,.uno-draw-lane{grid-column:1;grid-row:4}.uno-draw-lane>.draw-decision-dock{width:min(340px,100%)}.uno-draw-lane:empty{pointer-events:none}.uno-call-dock{width:min(340px,100%);padding-inline:4px}.uno-call-dock .draw-decision-actions{grid-template-columns:minmax(0,1fr);padding-bottom:0}.uno-call-button{background:#629bb5}.uno-call-button[aria-pressed=true]:not(:disabled){background:#729663}.uno-call-hint{width:min(340px,100%);margin:0;text-align:center;color:var(--muted);font:10px/1.5 Courier New,monospace}.uno-hand-hint{display:block;color:var(--muted);font:10px/1.4 Courier New,monospace}@media(min-width:601px){.uno-primary-lane{width:min(180px,calc((100% - 20px) / 3));justify-self:start;margin-left:max(0px,calc((100% - 560px)/2))}.uno-draw-lane{width:min(360px,calc((100% - 20px) * 2 / 3));justify-self:end;margin-right:max(0px,calc((100% - 560px)/2))}.uno-call-dock{width:100%}.uno-game-screen .uno-player:has(.uno-primary-lane button) .uno-draw-lane>.draw-decision-dock{width:100%}.uno-game-screen .uno-player:not(:has(.uno-primary-lane button)) .uno-draw-lane{justify-self:center;margin-right:0}.uno-game-screen .uno-player:not(:has(.uno-draw-lane button)) .uno-primary-lane{justify-self:center;margin-left:0;width:min(340px,100%)}}@media(max-height:650px){.uno-game-screen{--uno-player-height: 240px;--uno-draw-height: 50px;gap:5px}.uno-game-screen .uno-player{--hand-card-width: 82px;--hand-arc-height: 6px;--hand-lift: 8px;--hand-bottom: 10px}.uno-game-screen .uno-piles{--pile-stock-caption-height: 24px}.uno-game-screen .draw-decision-dock p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}@media(max-width:600px){.app:has(.uno-game-screen){padding:max(4px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.uno-game-screen{--uno-player-height: clamp(198px, calc(50dvh - 142px) , 280px);--uno-hint-height: 20px;--uno-draw-height: 66px;grid-template-rows:var(--match-header-height) 18px minmax(0,1fr) var(--uno-controls-height) var(--uno-player-height);gap:6px}.uno-game-controls{font-size:12px}.uno-game-screen .uno-preview-banner{flex-direction:row;gap:8px;font-size:9px}.uno-game-screen .uno-player{--hand-card-width: clamp(60px, calc((100cqh - var(--uno-label-height) - var(--uno-hint-height) - var(--uno-draw-height) - 24px) * 2 / 3), 96px);--hand-step: 64px;--hand-bottom: 32px;--hand-arc-height: 18px;--hand-lift: 8px;grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.uno-game-screen .uno-hand-viewport,.uno-game-screen .uno-player>.uno-player-label,.uno-game-screen .uno-hint-lane{grid-column:1 / -1}.uno-game-screen .uno-primary-lane{grid-column:1;width:100%}.uno-game-screen .uno-draw-lane{grid-column:2;width:100%}.uno-game-screen .uno-player:not(:has(.uno-draw-lane button)) .uno-primary-lane,.uno-game-screen .uno-player:not(:has(.uno-primary-lane button)) .uno-draw-lane{grid-column:1 / -1;justify-self:center;width:min(340px,100%)}.uno-game-screen .uno-call-dock,.uno-game-screen .uno-draw-lane>.draw-decision-dock{width:100%}.uno-game-screen .uno-player:has(.uno-call-dock) .draw-decision-arrow{display:none}}@media(max-width:600px)and (max-height:760px){.uno-game-screen{--match-header-height: 44px;--uno-controls-height: 40px;--uno-label-height: 18px;--uno-hint-height: 16px;--uno-draw-height: 50px;gap:4px}.uno-game-screen .uno-player{--hand-bottom: 20px;--hand-arc-height: 14px;--hand-lift: 6px}.uno-game-screen .draw-decision-dock p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.uno-game-screen .uno-table{grid-template-rows:48px minmax(0,1fr)}.uno-game-screen .uno-opponent-hand img{width:20px;margin-right:-7px}}@media(max-height:550px)and (min-width:601px){.app:has(.uno-game-screen){padding:max(4px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.uno-game-screen{--match-header-height: 44px;--uno-controls-height: 36px;--uno-label-height: 18px;--uno-hint-height: 16px;--uno-draw-height: 50px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:var(--match-header-height) 14px minmax(0,1fr) var(--uno-controls-height);gap:4px 12px;padding-block:0}.uno-game-screen>.match-header,.uno-game-screen>.uno-preview-banner{grid-column:1 / -1}.uno-game-screen>.uno-table{grid-column:1;grid-row:3;grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr)}.uno-game-screen .uno-opponent{grid-column:1;grid-row:1}.uno-game-screen .uno-piles{grid-column:1;grid-row:2}.uno-game-screen>.uno-player{grid-column:2;grid-row:3;--hand-card-width: clamp(44px, calc((100cqh - var(--uno-label-height) - var(--uno-hint-height) - var(--uno-draw-height) - 32px) * 2 / 3), 84px);--hand-step: 56px;--hand-bottom: 24px;--hand-arc-height: 16px;--hand-lift: 8px}.uno-game-screen>.uno-game-controls{grid-column:1 / -1;grid-row:4}}.app.about-app{max-width:960px}.about-page{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:var(--line) transparent;padding:0 clamp(8px,3vw,32px) 32px;line-height:1.75;font-size:17px}.about-page a{color:var(--mint);text-underline-offset:5px;overflow-wrap:anywhere}.about-page a:hover{color:var(--orange)}.about-page a:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.about-page h1,.about-page h2{font-family:var(--pixel);font-weight:400;line-height:1.8}.about-page h1{font-size:clamp(24px,4vw,32px);margin:12px 0}.about-page h2{font-size:clamp(15px,2.4vw,20px)}.about-back{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}.about-models{padding:12px 0 24px}.about-models ul{padding-left:24px}.about-models li{margin:8px 0}.about-licences{border-top:1px solid var(--line);padding:24px 0}.about-links{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:12px}.about-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}.about-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.about-profile{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}@media(max-width:600px){.about-page{font-size:16px}.about-links{flex-direction:column;align-items:flex-start;gap:4px}}@font-face{font-family:Pixel;src:url(/fonts/pixel.ttf) format("truetype");font-display:swap}:root{font-family:Courier New,monospace;color:#f9f0da;background:#10191d;font-synthesis:none;--paper: #f9f0da;--orange: #f07550;--mint: #b7d69a;--muted: #98a692;--line: #42543e;--pixel: Pixel, "Courier New", monospace}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline:3px solid var(--mint);outline-offset:5px}::selection{background:var(--orange);color:#10191d}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 45% 35%,#47634d22,transparent 65%),radial-gradient(ellipse at 92% 85%,#78453418,transparent 55%),linear-gradient(130deg,#172126,#0b1419)}body:after{content:"";position:fixed;inset:0;z-index:10;pointer-events:none;background:repeating-linear-gradient(transparent 0 3px,#000 3px 4px);opacity:.055}.app{width:100%;max-width:1280px;height:100dvh;margin:auto}.app>*{min-width:0}.sound-button{background:none;border:1px solid var(--line);padding:9px 13px;font-size:9px;letter-spacing:1px}.sound-button span{color:var(--orange);margin-right:7px;font-size:17px}.crt-display{min-height:0;height:100%}.lobby-screen{height:100%;min-height:0;display:grid;grid-template-rows:120px minmax(0,1fr) 104px;gap:16px}.lobby-hint{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font-family:var(--pixel);font-size:clamp(14px,1.2vw,16px);line-height:1.6}.lobby-hint small{font:14px/1.5 Courier New,monospace;color:var(--muted);letter-spacing:.3px}.selection-heading{text-align:center;align-self:center}.game-library{min-height:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:clamp(20px,5vw,72px);container-type:size}.cover-frame{position:relative;width:100%;min-height:0;display:flex;flex-direction:column;gap:14px}.selection-heading h1{font-family:var(--pixel);font-size:clamp(21px,3vw,35px);font-weight:400;line-height:1.7;margin:10px 0 9px;letter-spacing:-1px;text-shadow:3px 4px #0005}.selection-heading h1 span{color:var(--orange);text-shadow:3px 4px #8f422b70}.library-game{width:min(320px,28vw,calc((100cqh - 88px)*.75));min-width:0;background:none;border:0;padding:0;display:block;text-align:left;transition:transform .14s ease}.library-game:is(:hover,:focus-visible):not(:disabled){transform:translateY(-5px)}.library-game:focus-visible{outline:3px solid var(--mint);outline-offset:8px}.library-game:is(:hover,:focus-visible):not(:disabled) .game-cover{box-shadow:8px 12px #08131790,0 0 32px #afd88518}.game-cover{position:relative;aspect-ratio:3 / 4;width:100%;overflow:hidden;isolation:isolate;container-type:inline-size;color:#202c2b;box-shadow:7px 9px #08131780}.lobby-screen .mandicot-cover{background:#e38559}.lobby-screen .uno-cover{background:#e8c562}.poster-title{position:absolute;z-index:2;left:8%;top:6%;font:clamp(18px,11cqw,36px)/1.45 var(--pixel);letter-spacing:-1px}.poster-title>span{display:block}.poster-number{position:absolute;left:5%;top:39%;color:#642c1818;font:900 68cqw/1 system-ui,sans-serif}.uno-cover .poster-number{top:31%;color:#2e4a4424;font-size:51cqw;letter-spacing:-.08em}.poster-card{position:absolute;width:63%;height:auto;image-rendering:pixelated;filter:drop-shadow(6px 9px 1px #0005)}.poster-ten{left:44%;top:30%;transform:rotate(20deg)}.poster-side{width:57%;left:37%;top:32%;transform:rotate(-9deg);opacity:.35}.poster-wild{width:73%;left:22%;top:23%;transform:rotate(-14deg)}.cover-caption{display:flex;flex-direction:column;align-items:flex-start;gap:7px;color:var(--paper);font:14px/1.5 Courier New,monospace}.cover-caption strong{font:600 clamp(14px,1.4vw,18px)/1.4 system-ui,sans-serif}.cover-caption>span{color:#b8c5af}@media(max-height:760px){.app{padding-top:8px;grid-template-rows:43px minmax(0,1fr) 24px;gap:10px}.selection-heading h1{font-size:28px;margin:7px 0}}@media(max-width:760px){.app{padding:8px 19px 12px;grid-template-rows:48px minmax(0,1fr) 26px;gap:13px}.sound-button{font-size:8px;padding:7px 9px}.selection-heading h1{font-size:clamp(17px,4.5vw,26px);max-width:330px;margin:10px auto;line-height:1.9}}@media(max-height:620px){.app{grid-template-rows:36px minmax(0,1fr) 20px;gap:8px;padding-top:5px;padding-bottom:8px}.selection-heading h1{font-size:20px;margin:5px 0;line-height:1.6;max-width:none}}@media(max-width:360px){.app{padding-left:13px;padding-right:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.app{position:relative;padding:25px 42px 36px;grid-template-rows:minmax(0,1fr);gap:0}.sound-button{position:fixed;top:16px;right:22px;z-index:4;width:34px;height:34px;padding:0;display:grid;place-items:center;border:0;background:transparent}.sound-button span{margin:0;font-size:24px}.about-link{position:fixed;right:23px;bottom:5px;min-height:44px;display:inline-flex;align-items:center;padding:0 8px;font-size:14px;color:#aeb9a6;text-decoration:none;z-index:4}.about-link:hover{color:var(--orange)}.about-link:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.mode-indicator{font:14px/1.5 Courier New,monospace;color:#c9bc9e;letter-spacing:.4px;white-space:nowrap}@media(max-width:760px){.app{padding:23px 19px 36px}.sound-button{top:10px;right:12px}.about-link{right:8px;bottom:2px}}@media(max-height:620px){.app{padding-top:15px;padding-bottom:30px}.selection-heading h1{font-size:20px}}@media(max-width:760px)and (max-height:620px){.selection-heading h1{font-size:18px}}.sound-button{color:#a6b792}.sound-button:hover{color:var(--orange)}@media(max-width:760px){.lobby-screen{grid-template-rows:110px minmax(0,1fr) 104px}.library-game{width:min(260px,calc((100vw - 58px)/2),calc((100cqh - 88px)*.75))}.game-library{gap:20px}.cover-caption{gap:5px}}@media(max-height:620px){.lobby-screen{grid-template-rows:73px minmax(0,1fr) 96px}}@media(max-height:500px)and (min-width:601px){.lobby-screen{grid-template-rows:44px minmax(0,1fr) 92px;gap:8px}.game-library{gap:28px}.library-game{width:min(310px,calc((100vw - 80px)/2));--poster-width: min(110px, calc((100cqh - 16px)*.75) )}.cover-frame{display:grid;grid-template-columns:var(--poster-width) minmax(0,1fr);gap:12px;align-items:center}.cover-caption{gap:5px}}@media(prefers-reduced-motion:reduce){.library-game:is(:hover,:focus-visible):not(:disabled){transform:none}}
