/* Bienvenida: una invitación visual a los tres juegos. */
html{scroll-behavior:smooth}.welcome-hero{max-width:1660px;margin:0 auto;padding:45px 40px 35px;display:grid;grid-template-columns:1fr 1.15fr;gap:20px;align-items:center;min-height:410px;border:0;background:transparent;box-shadow:none}.welcome-kicker{display:inline-block;font-size:11px;font-weight:800;letter-spacing:2px;color:#f3d788;border:1px solid #d5c38155;border-radius:30px;padding:9px 14px;background:#123a4499}.welcome-copy h1{font-size:clamp(35px,4vw,65px);line-height:1.06;letter-spacing:-2px;margin:20px 0;color:#fff6db;text-shadow:0 4px 0 #062630}.welcome-copy p{max-width:530px;font-size:16px;line-height:1.7;color:#d6e8df;margin-bottom:24px}.welcome-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.welcome-actions a{text-decoration:none;font-size:14px;font-weight:800}.welcome-primary{display:inline-flex;align-items:center;gap:25px;background:linear-gradient(#f5d785,#e4b546);border-radius:13px;color:#193e43;padding:15px 22px;box-shadow:0 5px 0 #a77928,0 14px 28px #0003}.welcome-primary:hover{filter:brightness(1.07);transform:translateY(-2px)}.welcome-primary span{font-size:24px}.welcome-secondary{color:#d6ece6;padding:14px 0;border-bottom:1px solid #b9cec377}.welcome-tags{display:flex;gap:15px;flex-wrap:wrap;color:#b7d2cc;margin-top:26px;font-size:11px}.welcome-art{position:relative;min-width:0}.welcome-art>img{display:block;width:100%;height:370px;object-fit:cover;border-radius:30px;box-shadow:0 20px 55px #00151d80;border:1px solid #d3c18855}.floating-tag{position:absolute;bottom:22px;left:-15px;transform:rotate(-3deg);background:#fff4d3;color:#1a5960;border:2px solid #dabb65;border-radius:11px;padding:11px 17px;box-shadow:0 6px 0 #183e42;font-weight:800;font-size:14px}body:not(.playing) main{padding-top:8px}#nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:transparent;border:0;padding:0;box-shadow:none;margin-bottom:26px}#nav button[data-game]{padding:0;display:flex;align-items:stretch;overflow:hidden;text-align:left;border:2px solid #d5ca9d;border-radius:19px;background:#fff9e8;box-shadow:0 6px 0 #0b2b34,0 12px 23px #0003;color:#174b52;transition:transform .18s,border-color .18s}#nav button[data-game]:hover{transform:translateY(-5px);border-color:#f0ce6b}#nav button[data-game].active{background:#fff3c5!important;color:#174b52!important;border-color:#f4ca67;box-shadow:0 0 0 3px #e8bf4c33,0 6px 0 #0b2b34}.choice-art{display:flex;align-items:center;justify-content:center;min-width:100px;width:35%;padding:14px;position:relative;overflow:hidden}.choice-art img{display:block;width:100%;height:145px;object-fit:contain;filter:drop-shadow(0 7px 5px #1c283a55);transform:rotate(-7deg)}.five-choice{background:radial-gradient(ellipse,#f9ce7d,#d8932b)}.casino-choice{background:radial-gradient(ellipse,#e8999b,#b93f5d)}.dama-choice{background:radial-gradient(ellipse,#b6b3f6,#7773bf)}.choice-copy{display:flex;flex-direction:column;justify-content:center;padding:18px 16px;min-width:0}.choice-copy small{font-size:8px;letter-spacing:1.1px;color:#5d827e;font-weight:800}.choice-copy strong{font-size:clamp(17px,1.8vw,25px);margin:8px 0}.choice-copy>span{font-size:11px;line-height:1.6;font-weight:400;color:#56767a}.choice-copy b{font-size:12px;margin-top:12px;color:#0a7478}#catalogBtn{grid-column:1/-1;justify-self:center;background:#123d4599;color:#e2e9cd;border:1px solid #93b1a555;border-radius:30px;padding:10px 20px;min-height:38px;font-size:12px;box-shadow:none}.hero-card{margin-top:0;grid-template-columns:120px minmax(0,1fr);padding:20px}.hero-card .game-portrait{height:135px;padding:6px}.hero-card h2{font-size:25px;margin:10px 0}.hero-card .pill{font-size:10px}.form h2{color:#19565b}.form fieldset{background:#fffef5;border-color:#c3d5c9}.form legend{color:#276f70}.form label{color:#2d535d}.playing>header,.playing main>#nav{display:none}
/* Une seule scène tient dans la fenêtre: le statut est annoncé sans barre visuelle. */
body.playing{height:100dvh;overflow:hidden;overscroll-behavior:none}body.playing main{width:100%;height:100dvh;max-width:none;margin:0;padding:6px;overflow:hidden}body.playing #app{height:100%;min-height:0}body.playing #alert:not(:empty){position:fixed;z-index:100;max-width:min(90vw,600px);font-size:12px}.playing .student-game{height:100%;min-height:0;max-height:100%;max-width:none;padding:9px 13px 10px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:4px;overflow:hidden;position:relative}.student-game #status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}.student-game[data-over=true] #status{clip:auto!important;clip-path:none!important;width:max-content!important;max-width:90%!important;height:auto!important;white-space:normal!important;padding:12px 25px!important;left:50%;bottom:20px;transform:translateX(-50%);z-index:30;background:#fff0ab!important;border:2px solid #d9b450!important;box-shadow:0 10px 35px #001b2b99;border-radius:14px;color:#245843;font-size:18px!important}.student-game .game-toolbar{min-height:40px;padding:0;gap:12px}.student-game .game-toolbar h2{font-size:22px;line-height:1.1;margin:2px 0}.student-game .mini-brand{font-size:8px}.student-game .toolbar-actions button{min-height:36px;padding:7px 11px;font-size:12px}.student-game .match-info{margin:0;min-height:16px;line-height:16px;font-size:10px}.student-game .play-arena,.student-game .play-arena:has(.game-damas),.student-game .play-arena:has(.game-casinos){height:100%;min-height:0;max-height:100%;width:100%;max-width:none;margin:0;display:grid;grid-template-columns:var(--side-width,230px) minmax(0,1fr) var(--side-width,230px);grid-template-rows:minmax(0,1fr);gap:22px;align-items:start;overflow:hidden}.student-game .play-arena .student-stage{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;height:100%;max-height:100%;margin:0;padding:0;gap:0;overflow:hidden}.student-game .board-zone{width:100%;height:100%;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;padding:4px 5px 10px}.student-game .board.original-five{width:var(--surface-width,450px);height:var(--surface-height,580px);max-width:100%;max-height:100%;min-width:0;flex:none;margin:0;aspect-ratio:17/22;border-width:6px;gap:2px;padding:2px;box-shadow:0 5px 0 #58391b,0 10px 14px #00131d66}.student-game .legacy-five{width:var(--surface-width);height:var(--surface-height);margin:0;max-height:100%;max-width:100%;min-width:0}.student-game .damas-original-wrap{width:var(--surface-width,570px);height:var(--surface-height,600px);max-width:100%;max-height:100%;margin:0;flex:none;min-height:0}.student-game .damas-source{height:100%;width:100%;object-fit:contain;outline-width:4px}.student-game .damas-original-wrap .checker-board{width:91.74%;height:90.62%;left:5.72%;top:1.42%;aspect-ratio:auto;min-width:0;margin:0;border:0}.student-game .player-side{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;gap:10px;padding:4px 0 7px;overflow:hidden;grid-row:1}.student-game .left-side{grid-column:1}.student-game .right-side{grid-column:3}.student-game .player-side .player-badge{flex:1;min-height:0;height:100%;max-height:100%;width:100%;display:flex;flex-direction:column;padding:0 9px 9px;border-radius:15px;overflow:hidden;text-align:center}.student-game .player-turn-label{flex:none;font-size:12px;padding:7px 5px;margin:0 -9px 6px;line-height:1.2;min-height:28px}.student-game .player-turn-label.waiting-label{font-size:9px}.student-game .player-side .player-avatar{width:34px;height:34px;font-size:18px;border-width:2px;margin:0 auto 4px;flex:none;position:static}.student-game .player-side .player-badge strong{font-size:15px;line-height:1.2;margin:0 0 3px;flex:none}.student-game .player-side .player-badge small{font-size:9px;line-height:1.5;flex:none}.student-game .seat-pocket{flex:1;display:flex;flex-direction:column;min-height:0;margin:7px -1px 0;padding-top:7px;overflow:hidden}.student-game .seat-pocket .hand-zone,.student-game .seat-pocket .casino-hand-zone{height:100%;min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden}.student-game .seat-pocket .your-hand{display:flex;flex-direction:column;flex:1;min-height:0;gap:5px;overflow:hidden}.student-game .seat-pocket .hand-title{display:flex;align-items:center;justify-content:space-between;flex:none;margin:0;gap:5px}.student-game .seat-pocket .hand-title h3{font-size:11px;margin:0;line-height:1.2}.student-game .seat-pocket .hand-title span{font-size:9px}.student-game .seat-pocket .hand-zone .hand,.student-game .seat-pocket .casino-hand-zone .hand,.student-game .opponent-hand{flex:1;display:grid;min-height:0;max-height:100%;grid-template-columns:repeat(var(--hand-cols,3),minmax(0,1fr));grid-template-rows:repeat(var(--hand-rows,3),minmax(0,1fr));gap:7px;padding:2px 2px 6px;margin:0;overflow:hidden;align-items:center;justify-items:center}.student-game .seat-pocket .hand-zone .hand button,.student-game .seat-pocket .casino-hand-zone .hand button,.student-game .card-back{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;width:auto;height:100%;aspect-ratio:240/340;margin:0;padding:0;flex:none;border-radius:5px;box-shadow:0 2px 0 #947342,0 4px 7px #001b2822;justify-self:center;align-self:center}.student-game .card-back{display:flex;align-items:center;justify-content:center}.student-game .seat-pocket .hand img{display:block;width:100%;height:100%;object-fit:contain}.student-game .seat-pocket .inspect-card{flex:none;margin:3px 0 0;min-height:30px;padding:5px;font-size:10px;line-height:1.2}.student-game .seat-pocket .step-hint{flex:none;font-size:11px;line-height:1.35;margin:5px 0;min-height:0}.student-game .seat-pocket .secondary-action{flex:none;min-height:33px;padding:5px;font-size:10px;line-height:1.2}.student-game .private-hand-note{flex:none;font-size:9px;margin:4px 0 0}.student-game .seat-pocket .hidden-hand{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 6px;overflow:hidden}.student-game .seat-pocket .hidden-hand p{font-size:12px;line-height:1.5;margin:0 0 12px}.student-game .seat-pocket .hidden-hand button{min-height:38px;font-size:12px;padding:7px}.student-game .seat-pocket .casino-hand-zone .actions{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0 0}.student-game .seat-pocket .casino-hand-zone .actions label{font-size:10px;min-width:0}.student-game .seat-pocket .casino-hand-zone .actions input,.student-game .seat-pocket .casino-hand-zone .actions select{font-size:11px;min-height:34px;padding:6px;margin:3px 0 0;max-width:100%;min-width:0}.student-game .seat-pocket .casino-hand-zone .actions button{font-size:10px;min-height:36px;padding:6px;line-height:1.2}.student-game .casino-table-zone{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.student-game .casino-table-zone>h3{font-size:14px;margin:0 0 4px;flex:none}.student-game .casino-table-zone>.hint{font-size:11px;margin:0 0 7px;flex:none}.student-game .table-cards{height:auto;min-height:0;max-height:none;flex:1;margin:0 0 9px;overflow:auto;align-content:center;justify-content:center;border-width:9px;padding:18px;gap:15px}.student-game .table-cards button{width:clamp(65px,8vw,130px);flex-basis:clamp(65px,8vw,130px);max-height:95%;min-height:0;aspect-ratio:240/340;height:auto}.student-game .seat-pocket .dama-task{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.student-game .seat-pocket .dama-task .note{font-size:13px;line-height:1.6;padding:10px;display:block;overflow:hidden}.student-game .seat-pocket .dama-task .hint{font-size:12px;line-height:1.6}.student-game .remaining-pieces{font-size:12px}.student-game[data-count="4"] .player-side .player-avatar,.student-game[data-count="3"] .player-side .player-avatar{display:none}.student-game[data-count="4"] .player-turn-label,.student-game[data-count="3"] .player-turn-label{padding:5px;min-height:23px;font-size:10px;margin-bottom:4px}.student-game[data-count="4"] .player-side .player-badge strong,.student-game[data-count="3"] .player-side .player-badge strong{font-size:13px}.student-game[data-count="4"] .seat-pocket,.student-game[data-count="3"] .seat-pocket{margin-top:4px;padding-top:4px}.student-game[data-count="4"] .seat-pocket .step-hint,.student-game[data-count="3"] .seat-pocket .step-hint{font-size:9px}.student-game[data-count="4"] .seat-pocket .hand-title,.student-game[data-count="3"] .seat-pocket .hand-title{display:none}.student-game[data-count="4"] .seat-pocket .inspect-card,.student-game[data-count="3"] .seat-pocket .inspect-card{min-height:25px;font-size:9px}.playing .waiting-note{position:absolute;top:5px;left:50%;transform:translateX(-50%);z-index:2;margin:0;font-size:10px;background:#103d46cc;padding:4px 10px;border-radius:10px}.playing html:fullscreen .student-game{min-height:0}html:fullscreen .playing main{height:100dvh}.student-game .seat-pocket .hand button:hover:enabled{transform:none}.student-game .board.original-five button:hover:enabled{transform:none}
@media(max-width:1000px){.welcome-hero{padding:30px 24px;min-height:350px;gap:15px}.welcome-art>img{height:310px}.welcome-copy h1{font-size:42px}.welcome-copy p{font-size:14px}.welcome-tags{gap:10px;font-size:10px}.choice-art{min-width:80px;padding:10px}.choice-copy{padding:14px 12px}.choice-art img{height:120px}.choice-copy small{font-size:7px}.choice-copy>span{font-size:10px}.student-game .play-arena,.student-game .play-arena:has(.game-damas),.student-game .play-arena:has(.game-casinos){gap:12px}.student-game .player-side .player-badge{padding-left:7px;padding-right:7px}.student-game .player-turn-label{margin-left:-7px;margin-right:-7px}.student-game .seat-pocket .hand-title h3{font-size:10px}.student-game .seat-pocket .hand-zone .hand,.student-game .seat-pocket .casino-hand-zone .hand,.student-game .opponent-hand{gap:5px}.student-game .seat-pocket .step-hint{font-size:10px}}
@media(max-width:700px){.welcome-hero{grid-template-columns:1fr;padding:24px 18px 20px;gap:22px}.welcome-copy h1{font-size:42px;letter-spacing:-1.3px;margin:15px 0}.welcome-copy p{font-size:14px;line-height:1.65}.welcome-kicker{font-size:8px;letter-spacing:1px}.welcome-art>img{height:230px;border-radius:20px}.floating-tag{left:10px;bottom:12px;font-size:12px;padding:8px 12px}.welcome-tags{margin-top:20px;gap:10px;font-size:10px}.welcome-actions{gap:15px}.welcome-actions a{font-size:12px}.welcome-primary{padding:12px 16px;gap:14px}#nav{grid-template-columns:1fr;gap:13px;margin-bottom:20px}#nav button[data-game]{min-height:115px}.choice-art{width:32%;min-width:95px;padding:10px}.choice-art img{height:110px}.choice-copy{padding:14px 16px}.choice-copy strong{font-size:23px;margin:6px 0}.choice-copy small{font-size:8px}.choice-copy>span{font-size:11px}.choice-copy b{margin-top:8px}#catalogBtn{font-size:11px;padding:10px 14px}.hero-card{grid-template-columns:85px minmax(0,1fr);gap:14px;padding:15px}.hero-card .game-portrait{height:110px}.hero-card h2{font-size:22px}.hero-card p{font-size:12px}.hero-card .bar button{font-size:11px}.playing main{padding:3px!important}.playing .student-game{padding:7px 8px 8px;border-radius:12px;gap:3px}.student-game .game-toolbar{min-height:36px;gap:6px}.student-game .game-toolbar h2{font-size:17px}.student-game .toolbar-actions{gap:4px}.student-game .toolbar-actions button{min-height:34px;padding:5px 8px;font-size:11px}.student-game .toolbar-actions .fullscreen-btn{font-size:21px;padding:3px 9px}.student-game .mini-brand{font-size:7px}.student-game .match-info{font-size:9px;min-height:14px;line-height:14px}.student-game[data-phone=true] .play-arena,.student-game[data-phone=true] .play-arena:has(.game-damas),.student-game[data-phone=true] .play-arena:has(.game-casinos){grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) var(--mobile-panels-height,250px);gap:10px 12px}.student-game[data-phone=true] .play-arena .student-stage{grid-column:1/-1;grid-row:1}.student-game[data-phone=true] .player-side{grid-row:2;height:100%;padding:0 0 3px;gap:7px}.student-game[data-phone=true] .left-side{grid-column:1}.student-game[data-phone=true] .right-side{grid-column:2}.student-game .player-side .player-badge{border-left:1px solid #c7b87c;padding:0 6px 6px;border-radius:11px}.student-game .player-turn-label{font-size:10px;padding:5px 4px;min-height:23px;line-height:1.2;margin:0 -6px 4px}.student-game .player-turn-label.waiting-label{font-size:8px}.student-game .player-side .player-avatar{display:none}.student-game .player-side .player-badge strong{font-size:13px;line-height:1.15;margin-bottom:2px}.student-game .player-side .player-badge small{font-size:8px;line-height:1.3}.student-game .seat-pocket{padding-top:4px;margin:4px 0 0}.student-game .seat-pocket .hand-title{display:none}.student-game .seat-pocket .hand-zone .hand,.student-game .seat-pocket .casino-hand-zone .hand,.student-game .opponent-hand{gap:4px;padding:2px 1px 4px}.student-game .seat-pocket .step-hint{font-size:9px;line-height:1.25;margin:4px 0}.student-game .seat-pocket .inspect-card{min-height:26px;font-size:9px;padding:4px;margin-top:2px}.student-game .seat-pocket .secondary-action{min-height:28px;padding:4px;font-size:9px}.student-game .seat-pocket .hidden-hand{padding:6px 4px}.student-game .seat-pocket .hidden-hand p{font-size:10px;line-height:1.4;margin-bottom:7px}.student-game .seat-pocket .hidden-hand button{font-size:10px;min-height:31px;padding:6px}.student-game .seat-pocket .casino-hand-zone .actions{gap:4px;margin-top:4px}.student-game .seat-pocket .casino-hand-zone .actions label{font-size:8px}.student-game .seat-pocket .casino-hand-zone .actions input,.student-game .seat-pocket .casino-hand-zone .actions select{font-size:9px;min-height:27px;padding:4px;margin-top:2px}.student-game .seat-pocket .casino-hand-zone .actions button{min-height:29px;padding:4px;font-size:9px}.student-game .card-back{border-width:2px}.student-game .card-back:before{inset:3px}.student-game .card-back>span{font-size:13px}.student-game .private-hand-note{font-size:8px;margin:2px 0}.student-game .seat-pocket .dama-task .note{font-size:10px;padding:5px;line-height:1.4}.student-game .seat-pocket .dama-task .note h3{font-size:11px;margin-bottom:4px}.student-game .seat-pocket .dama-task input{min-height:29px;margin:4px 0;font-size:16px;padding:4px}.student-game .seat-pocket .dama-task button{min-height:29px;font-size:9px;padding:4px}.student-game .seat-pocket .dama-task .hint{font-size:10px;line-height:1.5}.student-game .board-zone{padding:3px 5px 7px}.student-game .board.original-five{border-width:4px;gap:1px;padding:1px}.student-game .table-cards{min-height:0;border-width:6px;padding:13px;gap:10px;margin-bottom:6px}.student-game .table-cards button{width:clamp(54px,17vw,85px);flex-basis:clamp(54px,17vw,85px)}.student-game .casino-table-zone>h3{font-size:11px}.student-game .casino-table-zone>.hint{font-size:9px;margin-bottom:5px}.student-game .remaining-pieces{font-size:10px}}
@media(max-height:550px) and (orientation:landscape){.playing .student-game{padding:5px 10px 6px;gap:2px}.student-game .game-toolbar{min-height:29px}.student-game .game-toolbar h2{font-size:16px}.student-game .mini-brand{display:none}.student-game .toolbar-actions button{min-height:28px;font-size:10px;padding:4px 9px}.student-game .match-info{font-size:9px;min-height:12px;line-height:12px}.student-game .player-side .player-avatar{display:none}.student-game .player-turn-label{min-height:21px;font-size:10px;margin-bottom:3px;padding:4px}.student-game .player-side .player-badge strong{font-size:12px}.student-game .player-side .player-badge small{font-size:8px;line-height:1.25}.student-game .seat-pocket{margin-top:4px;padding-top:4px}.student-game .seat-pocket .hand-title{display:none}.student-game .seat-pocket .hand-zone .hand,.student-game .seat-pocket .casino-hand-zone .hand,.student-game .opponent-hand{gap:4px}.student-game .seat-pocket .inspect-card{min-height:23px;font-size:9px;padding:3px}.student-game .seat-pocket .step-hint{font-size:9px;line-height:1.2;margin:3px 0}.student-game .seat-pocket .secondary-action{min-height:26px;font-size:9px;padding:3px}.student-game .seat-pocket .casino-hand-zone .actions input,.student-game .seat-pocket .casino-hand-zone .actions select{min-height:26px;font-size:9px;padding:4px}.student-game .seat-pocket .casino-hand-zone .actions button{min-height:27px;font-size:9px;padding:4px}.student-game .seat-pocket .casino-hand-zone .actions label{font-size:8px}.student-game .seat-pocket .hidden-hand p{font-size:10px;margin:0 0 7px}.student-game .seat-pocket .hidden-hand button{min-height:30px;font-size:10px}.student-game .seat-pocket .dama-task .note{font-size:11px;padding:6px}.student-game .seat-pocket .dama-task input{min-height:32px;font-size:18px;margin:5px 0;padding:5px}.student-game .seat-pocket .dama-task button{min-height:32px;font-size:10px}.student-game .seat-pocket .dama-task .note h3{font-size:12px;margin-bottom:5px}.student-game .board.original-five{border-width:4px;gap:1px;padding:1px}.student-game .table-cards{min-height:0;border-width:6px;padding:10px;gap:10px;margin-bottom:6px}.student-game .table-cards button{width:65px;flex-basis:65px}.student-game .casino-table-zone>h3{font-size:11px}.student-game .casino-table-zone>.hint{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.welcome-primary,#nav button[data-game]{transition:none}}

.student-game .seat-pocket .hand-zone .hand button,.student-game .seat-pocket .casino-hand-zone .hand button{background:transparent;box-shadow:none;border:0}.student-game .seat-pocket .hand img{filter:drop-shadow(0 2px 2px #00263044)}.student-game .card-back{width:100%;height:100%;aspect-ratio:auto;max-width:100%;border:0;border-radius:0;box-shadow:none;background:url('assets/card-back.svg') center/contain no-repeat;filter:drop-shadow(0 2px 2px #00263044)}.student-game .card-back:before,.student-game .card-back>span{display:none}.student-game .table-cards{display:grid;grid-template-columns:repeat(var(--table-cols,2),minmax(0,1fr));grid-template-rows:repeat(var(--table-rows,2),minmax(0,1fr));overflow:hidden;align-items:center;justify-items:center}.student-game .table-cards button{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;aspect-ratio:auto;flex:none;background:transparent;box-shadow:none;border:0;transform:none!important}.student-game .table-cards button img{object-fit:contain;filter:drop-shadow(0 3px 4px #170b1599)}
html:fullscreen body.playing .student-game{min-height:0;height:100%}@media(max-height:550px) and (orientation:landscape){.student-game[data-count="4"] .player-side .player-badge:not(.current),.student-game[data-count="3"] .player-side .player-badge:not(.current){flex:0 0 73px;height:73px;padding-bottom:4px}.student-game[data-count="4"] .player-side .player-badge small,.student-game[data-count="3"] .player-side .player-badge small{display:none}.student-game[data-count="4"] .player-side .player-badge:not(.current) .private-hand-note,.student-game[data-count="3"] .player-side .player-badge:not(.current) .private-hand-note{display:none}.student-game[data-count="4"] .player-side .player-badge:not(.current) .seat-pocket,.student-game[data-count="3"] .player-side .player-badge:not(.current) .seat-pocket{border:0;margin-top:2px;padding-top:0}.student-game[data-count="4"] .player-side .player-badge:not(.current) .opponent-hand,.student-game[data-count="3"] .player-side .player-badge:not(.current) .opponent-hand{padding:0;gap:3px}.student-game[data-count="4"] .seat-pocket .step-hint,.student-game[data-count="3"] .seat-pocket .step-hint{display:none}.student-game[data-count="4"] .player-side .player-badge.current,.student-game[data-count="3"] .player-side .player-badge.current{flex:1;min-height:0}.student-game[data-count="4"] .player-turn-label,.student-game[data-count="3"] .player-turn-label{padding:3px 4px;min-height:19px;font-size:9px;margin-bottom:2px}}
@media(max-height:850px) and (min-width:701px){.student-game[data-count="4"] .player-side:has(.current) .player-badge:not(.current),.student-game[data-count="3"] .player-side:has(.current) .player-badge:not(.current){flex:0 0 90px;height:90px}.student-game[data-count="4"] .player-side:has(.current) .player-badge.current,.student-game[data-count="3"] .player-side:has(.current) .player-badge.current{flex:1;min-height:0}.student-game[data-count="4"] .player-side .player-badge small:first-of-type,.student-game[data-count="3"] .player-side .player-badge small:first-of-type{display:none}.student-game[data-count="4"] .player-side:has(.current) .player-badge:not(.current) .private-hand-note,.student-game[data-count="3"] .player-side:has(.current) .player-badge:not(.current) .private-hand-note{display:none}.student-game[data-count="4"] .player-side:has(.current) .player-badge:not(.current) .seat-pocket,.student-game[data-count="3"] .player-side:has(.current) .player-badge:not(.current) .seat-pocket{margin-top:2px;padding-top:0;border:0}}@media(max-height:550px) and (orientation:landscape){.student-game[data-count="4"] .player-side:has(.current) .player-badge:not(.current),.student-game[data-count="3"] .player-side:has(.current) .player-badge:not(.current){height:53px;flex-basis:53px}.student-game[data-count="4"] .seat-pocket .casino-hand-zone .actions label,.student-game[data-count="3"] .seat-pocket .casino-hand-zone .actions label{font-size:0}.student-game[data-count="4"] .seat-pocket .casino-hand-zone .actions input,.student-game[data-count="4"] .seat-pocket .casino-hand-zone .actions select,.student-game[data-count="3"] .seat-pocket .casino-hand-zone .actions input,.student-game[data-count="3"] .seat-pocket .casino-hand-zone .actions select{font-size:9px}.student-game[data-count="4"] .seat-pocket .casino-hand-zone .actions,.student-game[data-count="3"] .seat-pocket .casino-hand-zone .actions{gap:3px}}
