@media (width<=811px),(width<=850px) and (height>=501px),(orientation:portrait){.app-shell[data-card-game=cribbage]{--cribbage-visible-height:min(100dvh, var(--app-shell-max-height));--cribbage-page-height:min(100lvh, var(--app-shell-max-height));--cribbage-browser-inset:max(0px, calc(var(--cribbage-page-height) - var(--cribbage-visible-height)));height:var(--cribbage-page-height);min-height:0;padding-top:calc(var(--narrow-top-bar-height) + env(safe-area-inset-top,0px) + 1px);padding-right:0;padding-bottom:calc(var(--narrow-action-bar-total) + var(--cribbage-browser-inset));align-content:stretch;padding-left:0;overflow:hidden}.app-shell[data-card-game=cribbage] .strategy-layout{grid-template-columns:minmax(0,1fr);width:100%;overflow:hidden}.app-shell[data-card-game=cribbage] .strategy-layout,.app-shell[data-card-game=cribbage] .card-table-column,.app-shell[data-card-game=cribbage] .card-table-stage{height:100%;min-height:0}.app-shell[data-card-game=cribbage] .card-table-column{margin-inline:0;padding-block:0}}.card-game-table[data-center-stage=cribbage-table] .card-game-card.is-center-action:after{content:none;display:none}.cribbage-full-bleed-surface{isolation:isolate;container-type:size}.cribbage-full-bleed-surface>.card-game-table-surface,.cribbage-full-bleed-surface>.card-game-table-surface:before{border-radius:0}.cribbage-full-bleed-surface .card-game-card.cribbage-spread-card:not(.is-pulsing-attention),.cribbage-full-bleed-surface .card-game-card.cribbage-spread-card.is-pulsing-attention{box-shadow:0 1px 1px #020e0729}.cribbage-full-bleed-surface .cribbage-spread-card.is-pulsing-attention:before,.cribbage-full-bleed-surface .cribbage-spread-card.is-center-action:after{display:none}.cribbage-spread-attention{z-index:96;box-sizing:border-box;opacity:0;pointer-events:none;animation:cribbage-spread-attention-reveal 1ms linear var(--cribbage-spread-attention-delay,0s) both, cribbage-spread-breathe 2.8s ease-in-out var(--cribbage-spread-attention-delay,0s) infinite;border:2px solid #f2c14ec7;border-radius:8px;position:absolute}@keyframes cribbage-spread-attention-reveal{0%{opacity:0}to{opacity:1}}@keyframes cribbage-spread-breathe{0%,to{border-color:#f2c14eb8;box-shadow:0 0 7px 1px #f2c14e3d}50%{border-color:#f2c14efa;box-shadow:0 0 0 1px #ffe18b57,0 0 15px 3px #f2c14e75}}@media (prefers-reduced-motion:reduce){.cribbage-spread-attention{opacity:1;border-color:#f2c14ee0;animation:none;box-shadow:0 0 10px 2px #f2c14e5c}}.cribbage-spread-prompt{z-index:1000;pointer-events:none;justify-content:center;display:flex;position:absolute}.cribbage-spread-prompt .card-table-prompt{width:max-content;max-width:min(100%,360px);margin:0}.cribbage-full-bleed-surface .cribbage-spread-card:focus-visible{outline-offset:-3px;outline:3px solid #f2c14e;z-index:9500!important}.cribbage-full-bleed-surface[data-cut-stage=drawing] .card-game-center-text[data-center-text-key=cut-label]{opacity:0;animation:.18s ease-out 1.08s forwards cribbage-cut-result-label}@keyframes cribbage-cut-result-label{to{opacity:1}}.cribbage-surface-prompt{z-index:1000;pointer-events:none;justify-content:center;align-items:center;display:flex}.cribbage-surface-prompt.has-inline-action{pointer-events:auto;gap:6px}.cribbage-surface-controls{z-index:1100;justify-content:center;align-items:center;display:flex}.cribbage-surface-controls.is-inline{flex:none;min-height:0}.cribbage-surface-controls.is-inline .card-game-action-pad{width:auto}.cribbage-full-bleed-surface .card-game-table-overlay,.cribbage-full-bleed-surface .card-game-settlement-layer{z-index:12000}.cribbage-full-bleed-surface .cribbage-settlement-layer.is-finished{-webkit-backdrop-filter:blur(3px)saturate(.82);backdrop-filter:blur(3px)saturate(.82);background:radial-gradient(circle at 50% 42%,#09271833,#04110bb3),#06170e42;padding:clamp(12px,2.2cqw,26px);overflow:hidden}@media (width<=620px){.cribbage-full-bleed-surface .cribbage-settlement-layer.is-finished{padding:8px}}.cribbage-review-workbench-stage>.cribbage-settlement-layer{position:absolute;inset:0}@media (width<=599px){.cribbage-full-bleed-surface>.card-game-table-surface,.cribbage-full-bleed-surface>.card-game-table-surface:before{border-radius:0!important}}.app-shell[data-card-game=cribbage]{--cribbage-human:#b44336;--cribbage-rival:#243b55;--cribbage-human-ink:#ffab97;--cribbage-rival-ink:#a3c8f2;--cribbage-hole:#3b2819;--cribbage-hole-rim:#ffecc06b;--cribbage-board-ink:#332215}.app-shell[data-card-game=cribbage] .card-game-compact-action{font-size:15px}.cribbage-full-bleed-surface .card-game-card.is-advised .card-game-card-front:after{content:"";z-index:2;mix-blend-mode:multiply;opacity:.54;pointer-events:none;background:linear-gradient(145deg,#ffe9a8 0%,#f3bd49 58%,#ffdc7b 100%);border-radius:5.5%/3.54%;position:absolute;inset:0;box-shadow:inset 0 0 0 2px #ffe08bbd,inset 0 0 18px #f4be4338}.cribbage-panel-tools{border-top:1px solid #ffefc91f;padding:12px 14px}.cribbage-panel-tools>p{color:#fff4da8c;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-weight:850}.cribbage-panel-tools>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.cribbage-panel-tools a{color:#fff6e0e6;background:#ffffff06;border:1px solid #ffefc924;border-radius:10px;align-items:center;gap:8px;padding:0 10px;text-decoration:none;display:flex}.cribbage-panel-tools a:hover{background:#ffffff0d;border-color:#ffe0a366}.cribbage-panel-tools a>b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.cribbage-panel-tool-icon{color:#d7a35d;flex:none;place-items:center;display:grid}.cribbage-panel-tool-icon svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.cribbage-panel-tool-icon circle{fill:currentColor;stroke:none}.cribbage-panel-tools a>.cribbage-panel-tool-icon circle[r="5"],.cribbage-panel-tools a>.cribbage-panel-tool-icon circle[r="10"]{fill:none;stroke:currentColor}.app-shell[data-card-game=cribbage][data-card-skin=modern]{--cribbage-human:#ff7c68;--cribbage-rival:#64d3df;--cribbage-human-ink:#ff9d8b;--cribbage-rival-ink:#7ee2ec;--cribbage-hole:#071a26;--cribbage-hole-rim:#89e0e661;--cribbage-celebrate:#8ff0e2;--cribbage-celebrate-glow:#8ff0e275;--cribbage-board-ink:#e6f5f5}.app-shell[data-card-game=cribbage] .card-table-column{--board-inset:0px;scrollbar-color:#ecd09959 transparent;row-gap:0}.app-shell[data-card-game=cribbage] .card-table-stage{align-self:stretch;height:100%;max-height:none}.app-shell[data-card-game=cribbage][data-card-skin=classic] .card-game-table-surface{background:linear-gradient(112deg,#ffe1a838,#0000 28%),repeating-linear-gradient(3deg,#0000 0 13px,#30160933 14px 15px),repeating-linear-gradient(92deg,#ffe2ae09 0 1px,#0000 1px 17px),radial-gradient(at 50% 36%,#91613b,#60391f 62%,#3f2518 100%);border-radius:22px;box-shadow:inset 0 0 0 1px #ffe7ba47,inset 0 0 0 3px #35190c6b,0 12px 30px #0c05024d}.app-shell[data-card-game=cribbage][data-card-skin=classic] .card-game-table-surface:before,.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-table-surface:before{content:"";pointer-events:none;border-radius:14px;position:absolute;inset:clamp(7px,1.1cqw,13px)}.app-shell[data-card-game=cribbage][data-card-skin=classic] .card-game-table-surface:before{background:radial-gradient(76% 70% at 50% 42%,#fff6d121,#0000 62%),repeating-linear-gradient(38deg,#0000 0 5px,#04180c09 5px 6px),repeating-linear-gradient(-38deg,#0000 0 5px,#04180c08 5px 6px),radial-gradient(at 50% 45%,#386d48,#235437 58%,#173925 100%);box-shadow:inset 0 0 0 1px #fff5d629,inset 0 14px 30px #07170d3d,inset 0 -24px 42px #04120a57,0 0 0 2px #25120999}.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-table-surface{background:linear-gradient(132deg,#7be6eb3d,#0000 23%),linear-gradient(145deg,#294552,#102837 54%,#091824);border-radius:22px;box-shadow:inset 0 0 0 1px #a6e8eb4d,0 18px 50px #00050d75}.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-table-surface:before{background:radial-gradient(circle at 50% 40%,#20949c33,#0000 46%),linear-gradient(120deg,#ffffff09,#0000 34%),repeating-linear-gradient(45deg,#0000 0 16px,#64d1da05 16px 17px),#0b2430;inset:clamp(5px,.7cqw,9px);box-shadow:inset 0 0 0 1px #97e0e42e,inset 0 0 70px #0007107a}.cribbage-equipment-layer{z-index:2;pointer-events:none;position:absolute;inset:0}.cribbage-stock-slot,.cribbage-cut-spread,.cribbage-play-zone,.cribbage-dealer-crib{box-sizing:border-box;position:absolute}.cribbage-stock-slot{z-index:5;filter:drop-shadow(0 5px 8px #020f084d)}.cribbage-stock-slot:before,.cribbage-stock-slot:after{content:"";z-index:-1;border:1px solid var(--card-back-stack-edge,#ecd6a0bf);background:var(--card-back-stack-fill,#1f3366);border-radius:5.5%/3.54%;position:absolute;inset:0}.cribbage-stock-slot:before{opacity:.72;transform:translate(-4px,3px)}.cribbage-stock-slot:after{opacity:.9;transform:translate(-2px,1.5px)}.cribbage-stock-slot>.card-game-card-back-art{z-index:1;position:absolute;inset:0}.cribbage-cut-spread{z-index:4;filter:drop-shadow(0 5px 8px #020f0847)}.cribbage-cut-spread>span{position:absolute;top:0}.cribbage-cut-spread .card-game-card-back-art{box-shadow:0 0 0 1px #fff8e2b8}.cribbage-play-zone{background:radial-gradient(#ffefbe11,#0000 69%),linear-gradient(90deg,#0000 5%,#fff4d30f 50%,#0000 95%);border-radius:38%/50%}.cribbage-play-zone:after{content:"";background:linear-gradient(90deg,#0000,#ffecbb24,#0000);height:1px;position:absolute;bottom:8%;left:8%;right:8%}.cribbage-dealer-crib{z-index:44;filter:drop-shadow(0 4px 7px #020e0752)}.cribbage-dealer-crib-card{display:block;position:absolute}.cribbage-surface-crib-label{color:#48270f;font-family:var(--font-app-serif), Georgia, serif;letter-spacing:.08em;white-space:nowrap;transform-origin:0;pointer-events:none;background:linear-gradient(#f4d393,#c9904e);border:1px solid #60311285;border-radius:4px 5px 4px 2px;padding:4px 8px 3px;font-size:11px;font-weight:820;line-height:1;position:absolute;overflow:hidden;transform:rotate(-7deg);box-shadow:0 2px 5px #020d0757}.cribbage-surface-crib-label.is-compact{padding:4px 7px 3px;font-size:11px}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight{opacity:1;outline-offset:-3px;border-radius:9px;outline:3px solid #0000;z-index:760!important}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-0{animation:.72s cubic-bezier(.22,.72,.28,1) both cribbage-score-glow-a}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-1{animation:.72s cubic-bezier(.22,.72,.28,1) both cribbage-score-glow-b}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight .card-game-card-front:after{content:"";z-index:2;mix-blend-mode:multiply;opacity:0;pointer-events:none;background:linear-gradient(145deg,#ffe39a 0%,#f2b83e 58%,#ffd978 100%);border-radius:5.5%/3.54%;position:absolute;inset:0}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-0 .card-game-card-front:after{animation:.72s cubic-bezier(.22,.72,.28,1) both cribbage-score-face-gold-a}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-1 .card-game-card-front:after{animation:.72s cubic-bezier(.22,.72,.28,1) both cribbage-score-face-gold-b}@keyframes cribbage-score-glow-a{0%,to{filter:sepia(0)saturate()brightness()drop-shadow(0 0 #f4c96400)drop-shadow(0 2px #e6b03c00);outline-color:#f4c96400}32%,55%{filter:sepia(.22)saturate(1.4)brightness(1.1)drop-shadow(0 0 8px #ffd774eb)drop-shadow(0 4px 13px #e6b03ca3);outline-color:#ffd774f5}}@keyframes cribbage-score-glow-b{0%,to{filter:sepia(0)saturate()brightness()drop-shadow(0 0 #f4c96400)drop-shadow(0 2px #e6b03c00);outline-color:#f4c96400}32%,55%{filter:sepia(.22)saturate(1.4)brightness(1.1)drop-shadow(0 0 8px #ffd774eb)drop-shadow(0 4px 13px #e6b03ca3);outline-color:#ffd774f5}}@keyframes cribbage-score-face-gold-a{0%,to{opacity:0}32%,55%{opacity:.48}}@keyframes cribbage-score-face-gold-b{0%,to{opacity:0}32%,55%{opacity:.48}}.cribbage-score-feedback{z-index:12400;pointer-events:none;max-width:min(330px,100% - 24px);transform:translate(-50%,-50%)}.cribbage-score-feedback-inner{border:2px solid var(--cribbage-score-ink,#ffecb37a);color:var(--cribbage-score-ink,#fff4cf);text-align:center;background:#14331df0;border-radius:16px;justify-items:center;gap:2px;padding:7px 14px;display:grid;box-shadow:0 8px 22px #020f0857}.cribbage-score-feedback.is-entering .cribbage-score-feedback-inner{animation:.28s cubic-bezier(.2,.78,.24,1) both cribbage-score-feedback-enter}.cribbage-score-feedback.is-exiting .cribbage-score-feedback-inner{animation:.22s cubic-bezier(.4,0,.7,.2) both cribbage-score-feedback-exit}.cribbage-celebrate-layer.is-exiting .cribbage-celebrate-stop{opacity:0;pointer-events:none;transition:opacity .22s ease-out}.cribbage-score-feedback.is-actor-0{--cribbage-score-ink:var(--cribbage-human-ink,#ffab97)}.cribbage-score-feedback.is-actor-1{--cribbage-score-ink:var(--cribbage-rival-ink,#a3c8f2)}.cribbage-score-feedback strong{color:var(--cribbage-score-ink,#ffd57d);font-family:var(--font-app-mono), ui-monospace, monospace;font-variant-numeric:tabular-nums;font-size:clamp(25px,4vw,38px);line-height:.95}.cribbage-score-feedback span{font-size:clamp(12px,1.8vw,15px);font-weight:850;line-height:1.2}.cribbage-score-feedback.is-summary .cribbage-score-feedback-inner{border-radius:10px;width:max-content;max-width:100%;padding:10px 16px}.cribbage-score-feedback.is-summary span{font-size:clamp(14px,2.2vw,16px)}.cribbage-score-feedback.is-zero{color:#fff4cfc7}.cribbage-score-feedback[data-celebrate]{width:max-content}.cribbage-score-feedback[data-celebrate] .cribbage-score-feedback-inner{border-color:var(--cribbage-celebrate,#ffd57d);box-shadow:0 8px 22px #020f0857, 0 0 0 1px var(--cribbage-celebrate-glow,#ffd57d80), 0 0 26px var(--cribbage-celebrate-glow,#ffd57d80)}.cribbage-score-feedback[data-celebrate] span{color:var(--cribbage-celebrate,#ffd57d);letter-spacing:.09em;text-transform:uppercase;text-shadow:0 0 12px var(--cribbage-celebrate-glow,#ffd57d80);font-style:normal;font-weight:900}.cribbage-score-feedback[data-celebrate=soft]{transform:translate(-50%,-50%)scale(1.08)}.cribbage-score-feedback[data-celebrate=soft] span{font-size:clamp(10px,1.4vw,12px)}.cribbage-score-feedback[data-celebrate=bright]{transform:translate(-50%,-50%)scale(1.2)}.cribbage-score-feedback[data-celebrate=bright] span{font-size:clamp(11px,1.6vw,14px)}.cribbage-score-feedback[data-celebrate=bright] .cribbage-score-feedback-inner,.cribbage-score-feedback[data-celebrate=pause] .cribbage-score-feedback-inner{background:radial-gradient(120% 140% at 50% 0,#ffd57d29,#0000 62%),#14331df5;border-width:3px}.cribbage-score-feedback[data-celebrate=pause]{transform:translate(-50%,-50%)scale(1.36)}.cribbage-score-feedback[data-celebrate=pause] span{font-size:clamp(12px,1.9vw,16px)}.cribbage-score-sparks{pointer-events:none;border-radius:50%;width:4px;height:4px;position:absolute;inset:50% auto auto 50%}.cribbage-score-sparks:before,.cribbage-score-sparks:after{content:"";background:var(--cribbage-celebrate,#ffd57d);box-shadow:46px -20px 0 var(--cribbage-celebrate,#ffd57d), -46px -20px 0 var(--cribbage-celebrate,#ffd57d), 30px -40px 0 var(--cribbage-celebrate,#ffd57d), -30px -40px 0 var(--cribbage-celebrate,#ffd57d), 62px 6px 0 var(--cribbage-celebrate,#ffd57d), -62px 6px 0 var(--cribbage-celebrate,#ffd57d);border-radius:50%;animation:.62s cubic-bezier(.16,.9,.3,1) both cribbage-spark-out;position:absolute;inset:0}.cribbage-score-sparks:after{animation-delay:.12s;rotate:34deg;scale:.72}.cribbage-score-feedback[data-celebrate=soft] .cribbage-score-sparks:after{display:none}.cribbage-celebrate-layer{z-index:12460;justify-items:center;gap:28px;display:grid;transform:translate(-50%,-50%)}.cribbage-celebrate-layer .cribbage-score-feedback{position:static}.cribbage-celebrate-layer .cribbage-score-feedback[data-celebrate]{transform:scale(1.36)}.cribbage-celebrate-stop{z-index:12460;gap:10px;animation:.26s cubic-bezier(.2,.78,.24,1) .14s both cribbage-celebrate-rise;display:flex}.cribbage-celebrate-stop>button{min-height:38px;font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;padding:0 18px;font-size:13px;font-weight:850}.cribbage-celebrate-share{border:2px solid var(--cribbage-celebrate,#ffd57d);background:var(--cribbage-celebrate,#ffd57d);color:#17301c}.cribbage-celebrate-continue{border:2px solid var(--cribbage-celebrate-glow,#ffd57d80);color:var(--cribbage-celebrate,#ffd57d);background:#081f12db}.cribbage-celebrate-share:focus-visible,.cribbage-celebrate-continue:focus-visible{outline:3px solid var(--cribbage-celebrate,#ffd57d);outline-offset:2px}.cribbage-celebrate-continue:hover{border-color:var(--cribbage-celebrate,#ffd57d)}@keyframes cribbage-celebrate-rise{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}@media (prefers-reduced-motion:reduce){.cribbage-score-sparks{display:none}.cribbage-celebrate-stop{animation:none}}@keyframes cribbage-spark-out{0%{opacity:0;transform:scale(.2)}35%{opacity:1}to{opacity:0;transform:scale(1.5)}}.cribbage-score-skip{z-index:12450;color:#fff4dae0;min-height:36px;font:inherit;cursor:pointer;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#081f12d1;border:1px solid #fff0c94d;border-radius:999px;padding:0 12px;font-size:12px;font-weight:800}.cribbage-score-skip:hover,.cribbage-score-skip:focus-visible{color:#fff3c9;border-color:#ffd77db8}@keyframes cribbage-score-feedback-enter{0%{opacity:0;transform:translateY(5px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes cribbage-score-feedback-exit{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-3px)scale(.97)}}@media (prefers-reduced-motion:reduce){.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-0,.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight.is-score-glow-1{filter:sepia(.18)saturate(1.32)brightness(1.08)drop-shadow(0 0 7px #ffd774d1);outline-color:#ffd774f5;animation:none}.cribbage-full-bleed-surface .card-game-card.is-cribbage-score-highlight .card-game-card-front:after{opacity:.38;animation:none}.cribbage-score-feedback-inner{animation-duration:1ms}}.cribbage-settlement-layer .card-hand-settlement{animation:.36s cubic-bezier(.2,.82,.22,1) both cribbage-settlement-enter}.cribbage-full-bleed-surface .card-game-card.is-cribbage-inactive-play{pointer-events:none;animation:.26s ease-out both cribbage-pegging-retire}.cribbage-full-bleed-surface .card-game-card.is-cribbage-inactive-play.is-cribbage-score-highlight{opacity:1}@keyframes cribbage-pegging-retire{0%{opacity:1;filter:none}to{opacity:.48;filter:grayscale(.82)brightness(.72)}}@keyframes cribbage-settlement-enter{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:none}}.cribbage-settlement-layer.is-finished{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#05150c9e;grid-template-columns:minmax(0,min(480px,100%));justify-content:center;gap:clamp(16px,3vw,38px);padding:22px}.cribbage-settlement-layer.is-finished:empty{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:0}.cribbage-full-bleed-surface .cribbage-settlement-layer.is-finished:has(>.cribbage-review.is-overview){-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;grid-template-columns:minmax(0,1fr);place-items:stretch stretch;gap:0;padding:0}.cribbage-settlement-layer.is-finished:has(>.cribbage-review.is-overview){-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;grid-template-columns:minmax(0,1fr);place-items:stretch stretch;gap:0;padding:0}@media (width<=599px){.cribbage-settlement-layer.is-finished{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);align-content:center;gap:10px;padding:10px}}@media (prefers-reduced-motion:reduce){.cribbage-settlement-layer .card-hand-settlement,.cribbage-full-bleed-surface .card-game-card.is-cribbage-inactive-play{animation-duration:1ms;animation-delay:0s}}.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=starter-label],.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=crib-label]{z-index:60;color:#fff9e7e6;font-family:var(--font-app-serif), Georgia, serif;letter-spacing:.035em;background:#071c0f8a;border:1px solid #fff5d529;border-radius:999px;padding:3px 8px;font-size:clamp(10px,1.55cqw,13px);font-weight:700;box-shadow:0 2px 6px #020e0733}.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=running-count]{z-index:70;color:#ffe7a3;min-height:24px;font-family:var(--font-app-mono), monospace;letter-spacing:.08em;background:#0a2314ad;border:1px solid #ffe19e40;border-left:3px solid #f2c153cc;border-radius:7px;padding:4px 9px;font-size:clamp(10px,1.55cqw,13px);font-weight:800;box-shadow:0 2px 6px #020f0833}.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=cut-label],.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=stage-label]{letter-spacing:.01em;padding-block:0;font-size:clamp(17px,2.2cqw,19px);font-weight:800;line-height:1.1}.app-shell[data-card-game=cribbage][data-card-skin=modern] .cribbage-play-zone{background:radial-gradient(#2aa2aa1a,#0000 68%),linear-gradient(90deg,#0000 5%,#69d6dd11 50%,#0000 95%)}.app-shell[data-card-game=cribbage][data-card-skin=modern] .cribbage-play-zone:after{background:linear-gradient(90deg,#0000,#97e6e929,#0000)}.app-shell[data-card-game=cribbage][data-card-skin=modern] .cribbage-surface-crib-label{color:#def8f7;background:linear-gradient(#1b5964,#0c3542);border-color:#78dde340}.app-shell[data-card-game=cribbage] .card-table-prompt{color:#fff1c5;background:#0e2b19b8;border:1px solid #ffeebc2b;border-radius:7px;padding:4px 10px;font-size:15px;font-weight:720;line-height:1.3;box-shadow:0 2px 8px #03110938}.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action{--cribbage-action-glow-rgb:242 193 78;z-index:0;color:#ffe1a5;min-width:62px;min-height:44px;box-shadow:none;isolation:isolate;background:0 0;border:0;border-radius:9px;padding:4px 12px;position:relative}.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action.is-accent:not(:disabled):before{animation:2.6s ease-in-out infinite cribbage-action-breathe}@keyframes cribbage-action-breathe{0%,to{border-color:rgb(var(--cribbage-action-glow-rgb) / .62);box-shadow:0 2px 8px #0311094d, 0 0 5px 0 rgb(var(--cribbage-action-glow-rgb) / .1), inset 0 1px #fff7dc14}50%{border-color:rgb(var(--cribbage-action-glow-rgb) / .92);box-shadow:0 2px 9px #03110952, 0 0 12px 2px rgb(var(--cribbage-action-glow-rgb) / .3), inset 0 1px #fff7dc1f}}@media (prefers-reduced-motion:reduce){.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action.is-accent:not(:disabled):before{border-color:rgb(var(--cribbage-action-glow-rgb) / .8);box-shadow:0 2px 8px #0311094d, 0 0 8px 1px rgb(var(--cribbage-action-glow-rgb) / .2), inset 0 1px #fff7dc1a;animation:none}}.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#264e33fa,#153722fa);border:1px solid #e3b7709e;border-radius:7px;position:absolute;inset:3px 0;box-shadow:0 2px 8px #0311094d,inset 0 1px #fff7dc14}.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action:hover:not(:disabled){color:#fff0c9;box-shadow:none;background:0 0;border:0}.app-shell[data-card-game=cribbage] .cribbage-surface-controls.is-inline .card-game-compact-action:hover:not(:disabled):before{background:linear-gradient(#2d5b3bfc,#193f27fc);border-color:#f4cd87d1;box-shadow:0 3px 9px #03110957,inset 0 1px #fff7dc1a}.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-table-prompt{color:#ddf7f6;background:#041823bd;border-color:#68dae138}.app-shell[data-card-game=cribbage][data-card-skin=modern] .cribbage-surface-controls.is-inline .card-game-compact-action{--cribbage-action-glow-rgb:104 218 225;color:#ddf7f6;background:0 0}.app-shell[data-card-game=cribbage][data-card-skin=modern] .cribbage-surface-controls.is-inline .card-game-compact-action:before{background:linear-gradient(#0a3443fa,#042331fa);border-color:#68dae175}.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-center-text[data-center-text-key=starter-label],.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-center-text[data-center-text-key=crib-label],.app-shell[data-card-game=cribbage][data-card-skin=modern] .card-game-center-text[data-center-text-key=running-count]{color:#d7f4f4;background:#041621c7;border-color:#6ad8df47;box-shadow:0 4px 14px #00060d66}@media (width<=811px),(width<=850px) and (height>=501px),(orientation:portrait){[data-play-route-root]:has(.app-shell[data-card-game=cribbage]){--narrow-action-bar-total:0px}.app-shell[data-card-game=cribbage] .card-game-table-surface{border-radius:15px}.app-shell[data-card-game=cribbage] .card-game-table-surface:before{border-radius:11px;inset:5px}.app-shell[data-card-game=cribbage] .card-table-prompt{overflow-wrap:anywhere;white-space:normal;width:max-content;min-width:0;max-width:min(100%,360px);padding:5px 12px;font-size:17px;line-height:1.25}.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=starter-label],.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=crib-label],.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=running-count]{font-size:14px}.app-shell[data-card-game=cribbage] .card-game-center-text[data-center-text-key=running-count]{font-size:16px}.app-shell[data-card-game=cribbage] .card-seat-badge{font-size:17px;line-height:1.25}.app-shell[data-card-game=cribbage] .card-game-action-pad button{min-height:44px;font-size:16px}.app-shell[data-card-game=cribbage] .control-panel-close,.app-shell[data-card-game=cribbage] .primary-button,.app-shell[data-card-game=cribbage] .master-hint-button{min-width:44px;font-size:16px}.app-shell[data-card-game=cribbage] .control-panel-close,.app-shell[data-card-game=cribbage] .master-hint-button,.app-shell[data-card-game=cribbage] .primary-button:where(:not(.game-actions *,.game-panel-prompt-slot *,.sidebar-action)){min-height:44px}}[data-card-back-theme=red-coin]{--card-back-full:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 139' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='f' cx='.5' cy='.5' r='.72'%3E%3Cstop offset='0' stop-color='%23c53a30'/%3E%3Cstop offset='.6' stop-color='%23a52c26'/%3E%3Cstop offset='1' stop-color='%237d1d1c'/%3E%3C/radialGradient%3E%3CclipPath id='c'%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2'/%3E%3C/clipPath%3E%3Cpattern id='p' patternUnits='userSpaceOnUse' x='50' y='69.5' width='10' height='10'%3E%3Cg fill='none' stroke='%23e2b85c' stroke-width='0.6' opacity='0.5'%3E%3Ccircle cx='0' cy='0' r='7.07'/%3E%3Ccircle cx='10' cy='0' r='7.07'/%3E%3Ccircle cx='0' cy='10' r='7.07'/%3E%3Ccircle cx='10' cy='10' r='7.07'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='139' rx='5.5' ry='4.92' fill='%23fcfaf4'/%3E%3Crect x='.5' y='.5' width='99' height='138' rx='5.5' ry='4.92' fill='none' stroke='rgba(110,25,24,.55)'/%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2' fill='url(%23f)'/%3E%3Crect width='100' height='139' fill='url(%23p)' clip-path='url(%23c)'/%3E%3Crect x='8' y='8' width='84' height='123' rx='1.6' fill='none' stroke='%23e2b85c' stroke-width='0.9'/%3E%3Crect x='9.4' y='9.4' width='81.2' height='120.2' rx='1.6' fill='none' stroke='%23e2b85c' stroke-width='0.4' opacity='0.7'/%3E%3Ccircle cx='50' cy='69.5' r='18' fill='%238f2320' stroke='%23e2b85c' stroke-width='0.9'/%3E%3Ccircle cx='50' cy='69.5' r='14.2' fill='%23e2b85c'/%3E%3Cg fill='none' stroke='%239a6a1d' stroke-width='.6'%3E%3Ccircle cx='50' cy='69.5' r='12.4'/%3E%3Crect x='43.8' y='63.3' width='12.4' height='12.4'/%3E%3C/g%3E%3Crect x='45.4' y='64.9' width='9.2' height='9.2' fill='%238f2320'/%3E%3C/svg%3E");--card-back-small:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 139' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='f' cx='.5' cy='.5' r='.72'%3E%3Cstop offset='0' stop-color='%23c53a30'/%3E%3Cstop offset='.6' stop-color='%23a52c26'/%3E%3Cstop offset='1' stop-color='%237d1d1c'/%3E%3C/radialGradient%3E%3CclipPath id='c'%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2'/%3E%3C/clipPath%3E%3Cpattern id='p' patternUnits='userSpaceOnUse' x='50' y='69.5' width='20' height='20'%3E%3Cg fill='none' stroke='%23e2b85c' stroke-width='1.6' opacity='0.6'%3E%3Ccircle cx='0' cy='0' r='14.14'/%3E%3Ccircle cx='20' cy='0' r='14.14'/%3E%3Ccircle cx='0' cy='20' r='14.14'/%3E%3Ccircle cx='20' cy='20' r='14.14'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='139' rx='5.5' ry='4.92' fill='%23fcfaf4'/%3E%3Crect x='.5' y='.5' width='99' height='138' rx='5.5' ry='4.92' fill='none' stroke='rgba(110,25,24,.55)'/%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2' fill='url(%23f)'/%3E%3Crect width='100' height='139' fill='url(%23p)' clip-path='url(%23c)'/%3E%3Crect x='8.6' y='8.6' width='82.8' height='121.8' rx='1.6' fill='none' stroke='%23e2b85c' stroke-width='2.2'/%3E%3Ccircle cx='50' cy='69.5' r='22.5' fill='%238f2320' stroke='%23e2b85c' stroke-width='2.4'/%3E%3Ccircle cx='50' cy='69.5' r='19' fill='%23e2b85c'/%3E%3Crect x='44' y='63.5' width='12' height='12' fill='%238f2320'/%3E%3C/svg%3E")}[data-card-back-theme=night-compass]{--card-back-full:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 139' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='f' cx='.5' cy='.5' r='.72'%3E%3Cstop offset='0' stop-color='%233a3483'/%3E%3Cstop offset='.55' stop-color='%2325205a'/%3E%3Cstop offset='1' stop-color='%23141236'/%3E%3C/radialGradient%3E%3CclipPath id='c'%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2'/%3E%3C/clipPath%3E%3C/defs%3E%3Crect width='100' height='139' rx='5.5' ry='4.92' fill='%23fcfaf4'/%3E%3Crect x='.5' y='.5' width='99' height='138' rx='5.5' ry='4.92' fill='none' stroke='rgba(20,18,54,.6)'/%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2' fill='url(%23f)'/%3E%3Cg clip-path='url(%23c)'%3E%3Cg fill='%23e8c977' opacity='.85'%3E%3Cpolygon points='18,18.2 18.36,19.64 19.8,20 18.36,20.36 18,21.8 17.64,20.36 16.2,20 17.64,19.64'/%3E%3Cpolygon points='31,31.9 31.22,32.78 32.1,33 31.22,33.22 31,34.1 30.78,33.22 29.9,33 30.78,32.78'/%3E%3Cpolygon points='80,22.6 80.28,23.72 81.4,24 80.28,24.28 80,25.4 79.72,24.28 78.6,24 79.72,23.72'/%3E%3Cpolygon points='70,39 70.2,39.8 71,40 70.2,40.2 70,41 69.8,40.2 69,40 69.8,39.8'/%3E%3Cpolygon points='15,50.9 15.22,51.78 16.1,52 15.22,52.22 15,53.1 14.78,52.22 13.9,52 14.78,51.78'/%3E%3Cpolygon points='86,56.4 86.32,57.68 87.6,58 86.32,58.32 86,59.6 85.68,58.32 84.4,58 85.68,57.68'/%3E%3Cpolygon points='26,43.2 26.16,43.84 26.8,44 26.16,44.16 26,44.8 25.84,44.16 25.2,44 25.84,43.84'/%3E%3Cpolygon points='60,17.1 60.18,17.82 60.9,18 60.18,18.18 60,18.9 59.82,18.18 59.1,18 59.82,17.82'/%3E%3Cpolygon points='44,27.3 44.14,27.86 44.7,28 44.14,28.14 44,28.7 43.86,28.14 43.3,28 43.86,27.86'/%3E%3Cpolygon points='83,40.3 83.14,40.86 83.7,41 83.14,41.14 83,41.7 82.86,41.14 82.3,41 82.86,40.86'/%3E%3Cg transform='rotate(180 50 69.5)'%3E%3Cpolygon points='18,18.2 18.36,19.64 19.8,20 18.36,20.36 18,21.8 17.64,20.36 16.2,20 17.64,19.64'/%3E%3Cpolygon points='31,31.9 31.22,32.78 32.1,33 31.22,33.22 31,34.1 30.78,33.22 29.9,33 30.78,32.78'/%3E%3Cpolygon points='80,22.6 80.28,23.72 81.4,24 80.28,24.28 80,25.4 79.72,24.28 78.6,24 79.72,23.72'/%3E%3Cpolygon points='70,39 70.2,39.8 71,40 70.2,40.2 70,41 69.8,40.2 69,40 69.8,39.8'/%3E%3Cpolygon points='15,50.9 15.22,51.78 16.1,52 15.22,52.22 15,53.1 14.78,52.22 13.9,52 14.78,51.78'/%3E%3Cpolygon points='86,56.4 86.32,57.68 87.6,58 86.32,58.32 86,59.6 85.68,58.32 84.4,58 85.68,57.68'/%3E%3Cpolygon points='26,43.2 26.16,43.84 26.8,44 26.16,44.16 26,44.8 25.84,44.16 25.2,44 25.84,43.84'/%3E%3Cpolygon points='60,17.1 60.18,17.82 60.9,18 60.18,18.18 60,18.9 59.82,18.18 59.1,18 59.82,17.82'/%3E%3Cpolygon points='44,27.3 44.14,27.86 44.7,28 44.14,28.14 44,28.7 43.86,28.14 43.3,28 43.86,27.86'/%3E%3Cpolygon points='83,40.3 83.14,40.86 83.7,41 83.14,41.14 83,41.7 82.86,41.14 82.3,41 82.86,40.86'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23e8c977' opacity='.6'%3E%3Ccircle cx='22' cy='30' r='.55'/%3E%3Ccircle cx='37' cy='15' r='.55'/%3E%3Ccircle cx='75' cy='32' r='.55'/%3E%3Ccircle cx='90' cy='47' r='.55'/%3E%3Ccircle cx='12' cy='40' r='.55'/%3E%3Ccircle cx='55' cy='25' r='.55'/%3E%3Ccircle cx='65' cy='13' r='.55'/%3E%3Ccircle cx='30' cy='58' r='.55'/%3E%3Cg transform='rotate(180 50 69.5)'%3E%3Ccircle cx='22' cy='30' r='.55'/%3E%3Ccircle cx='37' cy='15' r='.55'/%3E%3Ccircle cx='75' cy='32' r='.55'/%3E%3Ccircle cx='90' cy='47' r='.55'/%3E%3Ccircle cx='12' cy='40' r='.55'/%3E%3Ccircle cx='55' cy='25' r='.55'/%3E%3Ccircle cx='65' cy='13' r='.55'/%3E%3Ccircle cx='30' cy='58' r='.55'/%3E%3C/g%3E%3C/g%3E%3Cg fill='none' stroke='%23e8c977'%3E%3Ccircle cx='50' cy='69.5' r='38' stroke-width='.4' opacity='.3'/%3E%3Ccircle cx='50' cy='69.5' r='31' stroke-width='.5' opacity='.45'/%3E%3Ccircle cx='50' cy='69.5' r='19' stroke-width='.8' opacity='.9'/%3E%3C/g%3E%3Cg stroke='%23e8c977' stroke-width='.45' opacity='.55'%3E%3Cline x1='69' y1='69.5' x2='81' y2='69.5'/%3E%3Cline x1='69.4' y1='77.54' x2='78.64' y2='81.36'/%3E%3Cline x1='63.44' y1='82.94' x2='71.92' y2='91.42'/%3E%3Cline x1='58.04' y1='88.9' x2='61.86' y2='98.14'/%3E%3Cline x1='50' y1='88.5' x2='50' y2='100.5'/%3E%3Cline x1='41.96' y1='88.9' x2='38.14' y2='98.14'/%3E%3Cline x1='36.56' y1='82.94' x2='28.08' y2='91.42'/%3E%3Cline x1='30.6' y1='77.54' x2='21.36' y2='81.36'/%3E%3Cline x1='31' y1='69.5' x2='19' y2='69.5'/%3E%3Cline x1='30.6' y1='61.46' x2='21.36' y2='57.64'/%3E%3Cline x1='36.56' y1='56.06' x2='28.08' y2='47.58'/%3E%3Cline x1='41.96' y1='50.1' x2='38.14' y2='40.86'/%3E%3Cline x1='50' y1='50.5' x2='50' y2='38.5'/%3E%3Cline x1='58.04' y1='50.1' x2='61.86' y2='40.86'/%3E%3Cline x1='63.44' y1='56.06' x2='71.92' y2='47.58'/%3E%3Cline x1='69.4' y1='61.46' x2='78.64' y2='57.64'/%3E%3C/g%3E%3C/g%3E%3Crect x='7.8' y='7.8' width='84.4' height='123.4' rx='1.6' fill='none' stroke='%23e8c977' stroke-width='0.8' opacity='0.85'/%3E%3Cpolygon points='62.02,57.48 54.2,69.5 62.02,81.52 50,73.7 37.98,81.52 45.8,69.5 37.98,57.48 50,65.3' fill='%23c9a956' opacity='.85'/%3E%3Cpolygon points='50,45.5 53.25,66.25 74,69.5 53.25,72.75 50,93.5 46.75,72.75 26,69.5 46.75,66.25' fill='%23e8c977'/%3E%3Ccircle cx='50' cy='69.5' r='2.2' fill='%2325205a'/%3E%3C/svg%3E");--card-back-small:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 139' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='f' cx='.5' cy='.5' r='.72'%3E%3Cstop offset='0' stop-color='%233a3483'/%3E%3Cstop offset='.55' stop-color='%2325205a'/%3E%3Cstop offset='1' stop-color='%23141236'/%3E%3C/radialGradient%3E%3CclipPath id='c'%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2'/%3E%3C/clipPath%3E%3C/defs%3E%3Crect width='100' height='139' rx='5.5' ry='4.92' fill='%23fcfaf4'/%3E%3Crect x='.5' y='.5' width='99' height='138' rx='5.5' ry='4.92' fill='none' stroke='rgba(20,18,54,.6)'/%3E%3Crect x='5.3' y='5.3' width='89.4' height='128.4' rx='2.2' fill='url(%23f)'/%3E%3Cg clip-path='url(%23c)'%3E%3Cg fill='%23e8c977' opacity='.85'%3E%3Cpolygon points='20,18 20.79,21.21 24,22 20.79,22.79 20,26 19.21,22.79 16,22 19.21,21.21'/%3E%3Cpolygon points='80,22.8 80.63,25.37 83.2,26 80.63,26.63 80,29.2 79.37,26.63 76.8,26 79.37,25.37'/%3E%3Cpolygon points='16,49.4 16.51,51.49 18.6,52 16.51,52.51 16,54.6 15.49,52.51 13.4,52 15.49,51.49'/%3E%3Cpolygon points='84,53 84.59,55.41 87,56 84.59,56.59 84,59 83.41,56.59 81,56 83.41,55.41'/%3E%3Cg transform='rotate(180 50 69.5)'%3E%3Cpolygon points='20,18 20.79,21.21 24,22 20.79,22.79 20,26 19.21,22.79 16,22 19.21,21.21'/%3E%3Cpolygon points='80,22.8 80.63,25.37 83.2,26 80.63,26.63 80,29.2 79.37,26.63 76.8,26 79.37,25.37'/%3E%3Cpolygon points='16,49.4 16.51,51.49 18.6,52 16.51,52.51 16,54.6 15.49,52.51 13.4,52 15.49,51.49'/%3E%3Cpolygon points='84,53 84.59,55.41 87,56 84.59,56.59 84,59 83.41,56.59 81,56 83.41,55.41'/%3E%3C/g%3E%3C/g%3E%3Cg fill='none' stroke='%23e8c977'%3E%3Ccircle cx='50' cy='69.5' r='30' stroke-width='2' opacity='.7'/%3E%3C/g%3E%3C/g%3E%3Crect x='8.4' y='8.4' width='83.2' height='122.2' rx='1.6' fill='none' stroke='%23e8c977' stroke-width='2.2' opacity='0.85'/%3E%3Cpolygon points='50,42.5 55.66,63.84 77,69.5 55.66,75.16 50,96.5 44.34,75.16 23,69.5 44.34,63.84' fill='%23e8c977'/%3E%3Ccircle cx='50' cy='69.5' r='3.5' fill='%2325205a'/%3E%3C/svg%3E")}
