/* Full-viewport play surface; all chat, audio and settings remain inside it. */
.gc-immersive[data-table-skin=royal]:before{background:repeating-linear-gradient(93deg,#9c681e 0,#e8bb50 2px,#d5a03f 13px,#a77728 17px,#dfae45 24px)}.gc-immersive[data-table-skin=royal]:after{background:linear-gradient(90deg,#28150bbc,transparent 10%,transparent 90%,#28150bbc),radial-gradient(ellipse at center,#e4b94322,transparent 65%)}.gc-immersive[data-table-skin=royal] .gr-toolbar,.gc-immersive[data-table-skin=royal] .gr-chat-dock{border-color:#f6d67b}.gc-immersive[data-table-skin=royal] .gc-board-player{border-color:#f4d277;background:linear-gradient(140deg,#784c1f,#291a17)}.lp-local-game{z-index:90}.lp-local-game .gc-table-scene{height:100%}.lp-local-game .gr-player-spot{padding:6px}.lp-local-game .gr-player-name{font-size:11px}.lp-local-game .gc-avatar{border:2px solid var(--player-color);border-radius:50%;width:39px;height:39px;background:#174445}.lp-local-game .gr-yard{display:flex;gap:4px}.lp-local-game .gr-yard-pawn{background:radial-gradient(at 30% 20%,#fff9,var(--player-color) 45%,#412b28);border:1px solid #f7e1af;border-radius:50%;width:23px;height:23px;min-height:23px!important;padding:0;color:#fff3b8;box-shadow:0 2px 1px #1e170f}.lp-local-game .gr-yard-pawn:not(:disabled){outline:2px solid #fff0ae;box-shadow:0 0 9px #f9ff90;cursor:pointer}.lp-local-game .gr-yard-pawn:disabled{opacity:1}.lp-local-new{position:absolute;bottom:1%;left:50%;transform:translateX(-50%);z-index:4}
.gc-room-page{margin:0;background:#20140f;color:#fff2dc;font-family:Tahoma,"Segoe UI",sans-serif}.gc-room-page *{box-sizing:border-box}.gc-room-page a{color:#ffd990}.gc-room-page .gc-skip{position:fixed;top:-100px}.gc-room-page .gc-skip:focus{top:8px;z-index:120}.gc-room-app,.gc-room-main{min-height:100vh}.gc-immersive{--game-vh:100vh;position:fixed;inset:0;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:var(--game-vh);height:100dvh;max-height:var(--game-vh,100dvh);overflow:hidden;direction:rtl;background:#542e21;color:#fff5e7;isolation:isolate}.gc-immersive:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(93deg,#4f2a1e 0,#804c32 2px,#75432c 13px,#603724 17px,#714329 24px),linear-gradient(#9b6643,#49281d)}.gc-immersive:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#1b100bbc 0,transparent 12%,transparent 88%,#1b100bbc),linear-gradient(#0c100d66,transparent 28%,transparent 72%,#170d0970)}.gc-immersive[data-room-skin=aurora]:after{background:linear-gradient(125deg,#284d7260,transparent 45%,#65438055)}.gc-immersive[data-room-skin=sunset]:after{background:linear-gradient(125deg,#d2703538,transparent 45%,#85334255)}.gc-immersive button,.gc-immersive input,.gc-immersive select,.gc-immersive textarea{font:inherit}.gc-immersive button{cursor:pointer}.gc-immersive button:disabled{opacity:.48;cursor:not-allowed}.gc-immersive button:focus-visible,.gc-immersive input:focus-visible,.gc-immersive select:focus-visible,.gc-immersive textarea:focus-visible{outline:3px solid #ffe1a0;outline-offset:3px}.gc-immersive [hidden]{display:none!important}
.gr-toolbar{padding:calc(7px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-left)) 8px max(10px,env(safe-area-inset-right));display:grid;grid-template-columns:40px minmax(40px,1fr) auto;align-items:center;gap:8px;min-height:57px;background:linear-gradient(#273939,#18292a);border-bottom:3px solid #be8850;box-shadow:0 4px 9px #160b0877;z-index:8}.gr-toolbar nav{display:flex;gap:4px;align-items:center;direction:rtl}.gr-tool{display:inline-grid;place-items:center;width:40px;height:40px;min-height:40px;padding:8px;border:1px solid #f9d59a22;border-radius:11px;background:#14252699;color:#ffd78e;box-shadow:inset 0 1px #fff2;cursor:pointer}.gr-tool:hover{background:#40554a;color:#fff0c2}.gr-tool .gc-icon{display:block;width:23px;height:23px;stroke-width:1.9;filter:drop-shadow(0 2px 1px #0008)}.gr-room-title{min-width:0;display:block;text-align:right;white-space:nowrap;overflow:hidden}.gr-room-title b{display:block;overflow:hidden;text-overflow:ellipsis;color:#f9e5c3;font-size:12px}.gr-room-title small{display:block;color:#b7c1ab;font-size:8px;margin-top:4px}.gr-arena{position:relative;min-width:0;min-height:0;overflow:hidden}.gr-chat-dock{display:flex;align-items:center;gap:8px;min-height:53px;padding:5px max(10px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#1b2928ee;border-top:2px solid #b78450;box-shadow:0 -5px 18px #190e0955;z-index:8}.gr-chat-dock .gr-tool{width:37px;height:37px;min-height:37px}.gr-chat-dock p{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#f1e0c1;margin:0}.gr-dock-reaction{border:0;background:#fff1;border-radius:50%;width:32px;height:32px;font-size:18px!important}.gr-dock-reaction:hover{background:#ffe0aa33}
.gr-gold,.gr-outline{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 15px;border-radius:11px;font-weight:bold;font-size:11px!important;white-space:normal}.gr-gold{background:linear-gradient(#ffe6a5,#dfaa57);border:1px solid #f8d99b;color:#4d2d1c;box-shadow:0 3px 0 #8c5b2d,0 5px 11px #26120955}.gr-outline{background:#30251fbf;border:1px solid #e2ba7b66;color:#f8e3bd;box-shadow:0 2px 0 #281913}.gr-gold:active,.gr-outline:active{transform:translateY(2px);box-shadow:none}
.gc-waiting-room{height:100%;max-width:760px;margin:auto;padding:clamp(16px,3vh,32px) clamp(18px,4vw,38px);overflow:auto;background:#74c4b5 url('../games/lobby-pattern.svg') repeat;color:#173e34;border-left:5px solid #b78c5e;border-right:5px solid #b78c5e;box-shadow:0 0 35px #1b110c88}.gr-lobby-heading{text-align:center}.gr-lobby-heading .gc-eyebrow{display:block;color:#236e5b;font-size:10px;font-weight:bold}.gr-lobby-heading h1{font-size:clamp(17px,2.5vw,24px);margin:9px 0;color:#174d40}.gr-lobby-heading p{font-size:11px;min-height:18px;line-height:1.9;margin:6px auto 12px;color:#265e50}.gr-lobby-facts{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.gr-lobby-facts span{font-size:9px;color:#21594b;border:1px solid #e8f9de88;background:#e4fae988;border-radius:20px;padding:6px 10px}.gc-lobby-seats{display:grid;gap:clamp(9px,1.7vh,16px);margin:clamp(15px,2.8vh,26px) 0}.gc-lobby-seat{display:flex;align-items:center;gap:12px;min-height:63px;padding:7px 12px;border:1px solid #fff7;border-radius:12px 32px 32px 12px;color:#fff;background-color:var(--seat-color);background:linear-gradient(100deg,color-mix(in srgb,var(--seat-color),#352b27 31%),color-mix(in srgb,var(--seat-color),#292d28 40%));box-shadow:0 4px 0 #346e5c26,0 7px 12px #1b514023}.gc-lobby-seat.empty{background:#dda32f;color:#fff7dd;border:1px dashed #fff7c8cc;cursor:pointer}.gc-lobby-seat.empty:disabled{opacity:.62}.gc-lobby-copy{flex:1;min-width:0;text-align:right}.gc-lobby-copy b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc-lobby-copy small{display:block;font-size:9px;line-height:1.8;color:#fffe}.gc-lobby-seat .gc-empty-avatar{width:46px;height:46px;display:grid;place-items:center;flex:none;font-size:24px;border:1px dashed #fff9;border-radius:50%}.gc-ready-badge{font-size:23px;font-weight:bold;color:#ffe7ad}.gc-ready-badge.ready{color:#a8ffd3}.gc-player-level,.gc-seat-number{display:grid;place-items:center;min-width:34px;min-height:28px;padding:4px 6px;border-radius:6px;background:#fffbeadd;color:#365147;font-size:9px;white-space:nowrap}.gr-lobby-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.gr-lobby-note{text-align:center;color:#275e4d;font-size:10px;line-height:1.9;margin:12px 0 0}
.gc-table-scene{position:absolute;inset:0}.gr-turn-banner{position:absolute;z-index:4;top:clamp(8px,2vh,18px);left:50%;transform:translateX(-50%);max-width:55%;min-width:min(180px,52%);text-align:center;background:#352116b8;border:1px solid #c6946566;border-radius:12px;padding:8px 10px;color:#ffdda0;box-shadow:0 4px 10px #1c100933}.gr-turn-banner b,.gr-turn-banner small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gr-turn-banner b{font-size:11px}.gr-turn-banner span{display:block;font-size:12px;font-weight:bold;margin:4px 0}.gr-turn-banner small{font-size:8px;color:#e7cab1}.gc-board-stage{position:absolute;left:50%;top:50%;width:min(90vw,calc(var(--game-vh) - 200px),690px);aspect-ratio:1;transform:translate(-50%,-50%);direction:ltr}.gc-board-stage>svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 9px 0 #311910) drop-shadow(0 15px 13px #160b0788);touch-action:manipulation}.gc-board-portraits,.gc-board-effects{position:absolute;inset:0;pointer-events:none}.gc-board-portraits{inset:0;z-index:4}.gc-board-player{position:absolute;display:flex;flex-direction:column;align-items:center;gap:4px;max-width:25%;width:100px;pointer-events:auto;color:#fff2d7;--seat-color:#ddd}.gc-board-player[data-board-seat="0"]{left:1.5%;top:2.5%}.gc-board-player[data-board-seat="1"]{right:1.5%;top:2.5%}.gc-board-player[data-board-seat="2"]{right:1.5%;bottom:9%}.gc-board-player[data-board-seat="3"]{left:1.5%;bottom:9%}.gc-avatar-wrap{position:relative;display:inline-flex;flex:none;width:58px;height:58px;border-radius:50%;isolation:isolate}.gc-avatar-wrap>.gc-avatar{display:grid;place-items:center;width:100%;height:100%;border:3px solid var(--seat-color,#d2a462);border-radius:50%;background:linear-gradient(#e2c28c,#916a47);overflow:hidden;font-size:36px;box-shadow:0 3px 0 #392117,0 6px 10px #120a08aa}.gc-avatar img{width:100%;height:100%;object-fit:cover;display:block}.gc-avatar-wrap.is-speaking:before{content:'';position:absolute;inset:-7px;border:3px solid #9fffaf;border-radius:50%;box-shadow:0 0 14px #6cff8fa9;animation:gr-speaking 1.15s ease-in-out infinite}.gc-board-player.active .gc-avatar-wrap:after{content:'';position:absolute;inset:-7px;border:2px solid #ffe5a0;border-radius:50%;box-shadow:0 0 16px var(--seat-color);animation:gr-glow 1.5s infinite}.gc-seat-mic{position:absolute;right:-5px;bottom:-3px;z-index:3;display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:5px;border:2px solid #efe0c1;border-radius:50%;background:#354139;color:#eee;box-shadow:0 2px 5px #140b06}.gc-seat-mic svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.gc-seat-mic.is-on{background:#16a86f;color:white}.gc-seat-mic.is-on .mic-slash{display:none}.gc-avatar-small{width:37px;height:37px}.gc-avatar-small>.gc-avatar{font-size:23px;border-width:2px}.gc-avatar-small .gc-seat-mic{width:24px;height:24px;min-height:24px;right:-7px;bottom:-5px;padding:4px}.gc-avatar-small .gc-seat-mic svg{width:12px;height:12px}.gc-board-player-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:10px;background:#332218cc;color:#fff1d2;border:1px solid #d1a37766;padding:4px 8px;border-radius:18px;line-height:1.4}.gc-player-badges{font-size:9px;color:#fff2a5;text-shadow:0 1px 2px #170a06;white-space:nowrap}.gc-finished-count{font-size:9px;color:#ffe5a6}.gc-board-player.left{opacity:.55}.gc-board-player.empty .gc-avatar-wrap>.gc-avatar{background:#3d2b20c9;border-style:dashed;opacity:.7;font-size:22px}.gc-home-pawns{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;width:82px;direction:ltr}.gc-home-pawn{display:grid;place-items:center;width:24px;height:24px;min-height:24px;border:1px solid #f5d7a3;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff,var(--seat-color) 34%,var(--seat-color) 60%,#74432d);color:#5b3924;font-size:8px!important;box-shadow:0 2px 1px #352114;line-height:1;padding:0}.gc-home-pawn.available{cursor:pointer;box-shadow:0 0 0 2px #fff8b1,0 0 13px #fffab0;animation:gr-glow 1.1s infinite}.gc-home-pawn.used{opacity:.16;pointer-events:none}.gc-home-pawn:disabled{opacity:.7}.gc-home-pawn.used:disabled{opacity:.16}.gc-speech-bubble{position:absolute;top:30%;left:90%;min-width:42px;max-width:145px;width:max-content;padding:8px 10px;border-radius:12px;background:#fff2ddef;border:1px solid #ddbd8a;color:#4b2a1b;font-size:10px;overflow-wrap:anywhere;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s;box-shadow:0 4px 8px #160b0866;pointer-events:none;z-index:8}.gc-board-player[data-board-seat="1"] .gc-speech-bubble,.gc-board-player[data-board-seat="2"] .gc-speech-bubble{left:auto;right:90%}.gc-speech-bubble.visible{opacity:1;transform:none}
.gc-center-die{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;padding:0;background:transparent;border:0;border-radius:17px;opacity:1!important}.gc-center-die.my-turn{filter:drop-shadow(0 0 11px #acff85)}.gc-center-die:active{transform:translate(-50%,-50%) scale(.94)}.dice-stage{display:block;width:43px;height:43px;perspective:550px}.dice-cube{--dice-x:0deg;--dice-y:0deg;display:block;position:relative;width:43px;height:43px;transform-style:preserve-3d;transform:rotateX(var(--dice-x)) rotateY(var(--dice-y));transition:transform .7s cubic-bezier(.2,.7,.2,1)}.dice-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fffefa,#ded6c9);border:1px solid #e2d4b7;border-radius:9px;color:#383335;font-size:47px;font-style:normal;line-height:1;backface-visibility:hidden;box-shadow:inset 0 0 6px #a39882}.face-1{transform:translateZ(21.5px)}.face-2{transform:rotateY(90deg) translateZ(21.5px)}.face-3{transform:rotateX(90deg) translateZ(21.5px)}.face-4{transform:rotateX(-90deg) translateZ(21.5px)}.face-5{transform:rotateY(-90deg) translateZ(21.5px)}.face-6{transform:rotateY(180deg) translateZ(21.5px)}.dice-cube.rolling{animation:gr-dice .85s cubic-bezier(.2,.6,.2,1)}.dice-gold .dice-face{background:linear-gradient(135deg,#ffe985,#e4a625);color:#78430b}.dice-crystal .dice-face{background:linear-gradient(135deg,#dffcff,#73c4eb);color:#315b7d}.ludo-pawn.can-move{cursor:pointer;filter:drop-shadow(0 0 4px #fff7ac) drop-shadow(0 0 6px #fffad2)}.gc-immersive.game-busy .gc-board-stage{pointer-events:none}.gr-bottom-actions{position:absolute;z-index:5;bottom:7px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:7px;max-width:70%;flex-wrap:wrap}.gr-bottom-actions button{min-height:35px;padding:7px 11px;font-size:10px!important}.gr-bottom-actions label{display:flex;align-items:center;gap:5px;font-size:9px;background:#32271c;padding:5px;border-radius:9px}.gr-bottom-actions select{color:#ffe0ad;background:#352318;border:1px solid #c49b6f;border-radius:7px;padding:5px}.gc-move-ring{position:absolute;width:38px;height:38px;border:3px solid #fff1a2;border-radius:50%;transform:translate(-50%,-50%);animation:gr-ring .9s both;box-shadow:0 0 15px #ffbc70}.gc-move-ring.capture{border-color:#ff7562;box-shadow:0 0 20px #ff7562}.gc-move-ring.win{border-color:#a7ffbe}.gc-win-spark{position:absolute;left:50%;top:50%;color:var(--spark-color);font-size:18px;font-style:normal;animation:gr-confetti 1.25s both}.gr-result{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:min(80%,370px);text-align:center;padding:28px 18px;border:2px solid #f0c887;border-radius:22px;background:linear-gradient(#68452c,#30231c);box-shadow:0 0 0 100vmax #180d0bc9,0 15px 30px #100803aa;color:#ffefcf}.gr-result-star{font-size:55px;color:#ffdb8a;text-shadow:0 0 20px #fbdc72}.gr-result h2{font-size:20px;margin:10px 0}.gr-result p{font-size:11px;line-height:2;color:#e5d3b9}
.gr-dialog{width:min(94vw,530px);max-height:min(86vh,720px);max-height:min(86dvh,720px);padding:0;border:1px solid #d3ab73;border-radius:20px;background:#2d211d;color:#fff4e1;box-shadow:0 20px 70px #080302c9;direction:rtl}.gr-dialog::backdrop{background:#110b09ba;backdrop-filter:blur(3px)}.gr-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px 20px;border-bottom:1px solid #c6a07740;background:#3d2b24;position:sticky;top:0;z-index:3}.gr-dialog h2{margin:0;font-size:16px}.gr-dialog>header button{width:33px;height:33px;min-height:33px;border:1px solid #d8b48450;border-radius:50%;font-size:25px;color:#fce4c6;background:#ffffff0c;line-height:1}.gr-dialog-content{padding:18px 20px 22px;max-height:calc(min(86dvh,720px) - 70px);overflow:auto;overscroll-behavior:contain;font-size:12px;line-height:2}.gr-dialog-content p,.gr-dialog-content li{overflow-wrap:anywhere}.gr-dialog-content ul{padding-right:19px}.gr-dialog-content li{margin-bottom:8px}.gr-muted{color:#c8b7a2;font-size:10px;line-height:2}.gr-dialog label{display:grid;gap:6px;font-size:11px}.gr-dialog input:not([type=checkbox]):not([type=hidden]):not([type=range]),.gr-dialog select,.gr-dialog textarea{width:100%;min-width:0;max-width:100%;padding:11px;border:1px solid #b3926e;border-radius:9px;background:#1f1916;color:#fff1df}.gr-dialog textarea{min-height:74px;resize:vertical}.gr-dialog input[type=range]{accent-color:#eab95d;max-width:100%}.gr-dialog form[data-game-chat]{display:flex;gap:8px}.gr-dialog form[data-game-chat] input{flex:1}.game-messages{max-height:min(43vh,330px);overflow:auto;overscroll-behavior:contain}.game-messages p{padding:8px;border-bottom:1px solid #b8987833;overflow-wrap:anywhere;line-height:1.8;font-size:11px}.gc-room-reactions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.gc-room-reactions button{border:1px solid #e5bd8a40;border-radius:20px;padding:6px 9px;background:#ffffff0a;color:#ffead2;font-size:11px}.game-member{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #c39a7240}.game-member>div{min-width:0;flex:1}.game-member strong,.game-member small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-member small{font-size:9px;color:#c3aa8f}.game-member>button{padding:5px 8px;font-size:9px;border:1px solid #b88a68;border-radius:8px;background:#4a2a27;color:#f5ddc7}.gr-member-tools{display:flex;gap:5px;flex-wrap:wrap}.gr-member-tools button{padding:4px 7px;border:1px solid #b08f65;border-radius:7px;background:#493328;color:#fbe4c4;font-size:9px}.gr-volume-row{display:grid;grid-template-columns:minmax(65px,1fr) minmax(80px,2fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #b8916736}.gr-volume-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gr-volume-row button{font-size:10px}.gr-setting-actions{display:flex;flex-wrap:wrap;gap:7px}.gr-setting-actions button{min-height:36px}.game-voice button{margin:3px}.gc-room-builder{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}.gc-room-builder>label{min-width:0;display:grid;gap:7px}.gc-room-builder .gc-builder-wide{grid-column:1/-1}.gc-room-builder .gc-builder-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gc-room-builder .gc-option{display:flex;align-items:flex-start;gap:8px;padding:9px;border:1px solid #a8825a55;border-radius:10px;line-height:1.8}.gc-room-builder .gc-option input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#e4b45f}.gc-create-rule-note{font-size:10px;line-height:2;color:#c9b7a0}.gc-room-builder [role=alert]{color:#ffbcb6}.gc-toast{position:fixed;z-index:120;bottom:72px;left:50%;transform:translateX(-50%);max-width:85vw;background:#2d211d;color:#fff0d5;border:1px solid #e2b87a;border-radius:12px;padding:12px 18px;box-shadow:0 8px 30px #0008;font-size:11px;line-height:1.8}.gc-toast.error{border-color:#f08478}
.gc-room-main>.gc-join-panel{width:min(95%,500px);margin:6vh auto;min-width:0}.gc-room-main>.gc-join-panel form{display:grid;gap:14px}.gc-room-main>.gc-join-panel label{display:grid;gap:7px}.gc-room-main>.gc-join-panel input,.gc-room-main>.gc-join-panel select{min-width:0;width:100%}
@keyframes gr-glow{50%{filter:brightness(1.18);box-shadow:0 0 20px #d5ff9b}}@keyframes gr-speaking{50%{transform:scale(1.06);opacity:.6}}@keyframes gr-dice{0%{transform:translateY(-12px) rotateX(0) rotateY(0)}55%{transform:translateY(-26px) rotateX(540deg) rotateY(480deg)}100%{transform:translateY(0) rotateX(var(--dice-x)) rotateY(var(--dice-y))}}@keyframes gr-ring{from{opacity:1;transform:translate(-50%,-50%) scale(.5)}to{opacity:0;transform:translate(-50%,-50%) scale(2)}}@keyframes gr-confetti{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}20%{opacity:1}100%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(130deg)}}
.gc-immersive[data-effects=off] *{animation:none!important;transition:none!important}.gc-immersive[data-effects=off] .gc-board-effects{display:none}
@media(max-width:600px){.gr-toolbar{grid-template-columns:34px minmax(40px,1fr) auto;gap:5px;padding-left:7px;padding-right:7px;min-height:53px}.gr-toolbar nav{gap:1px}.gr-toolbar .gr-tool{width:33px;height:36px;min-height:36px;padding:6px}.gr-toolbar .gr-tool .gc-icon{width:20px;height:20px}.gr-room-title b{font-size:10px}.gr-room-title small{font-size:7px}.gr-chat-dock{min-height:47px;padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.gr-chat-dock .gr-tool{width:33px;height:33px;min-height:33px}.gr-dock-reaction{width:28px;height:28px;font-size:16px!important}.gc-waiting-room{padding:15px 15px 18px;border-left-width:3px;border-right-width:3px}.gr-lobby-heading h1{font-size:17px;margin:6px 0}.gr-lobby-heading p{font-size:10px;margin:4px auto 8px}.gr-lobby-facts span{font-size:8px;padding:5px 7px}.gc-lobby-seats{gap:9px;margin:15px 0}.gc-lobby-seat{min-height:57px;padding:5px 9px;gap:9px}.gc-lobby-copy b{font-size:11px}.gc-lobby-copy small{font-size:8px}.gc-lobby-seat .gc-avatar-wrap{width:46px;height:46px}.gc-lobby-seat .gc-avatar{font-size:28px}.gc-lobby-seat .gc-empty-avatar{width:43px;height:43px}.gc-player-level,.gc-seat-number{min-width:28px;font-size:8px}.gr-lobby-actions{gap:7px}.gr-lobby-actions button{min-height:37px;font-size:10px!important;padding:7px 11px}.gr-lobby-note{font-size:9px;margin:9px 0}.gr-turn-banner{top:8px;min-width:45%;max-width:55%;padding:6px 8px}.gr-turn-banner b,.gr-turn-banner span{font-size:10px}.gr-turn-banner small{font-size:7px}.gc-board-stage{width:min(92vw,calc(var(--game-vh) - 185px),570px)}.gc-board-player{width:70px}.gc-avatar-wrap{width:46px;height:46px}.gc-avatar-wrap>.gc-avatar{font-size:28px;border-width:2px}.gc-seat-mic{width:25px;height:25px;min-height:25px;padding:4px;right:-7px}.gc-board-player-name{font-size:8px;padding:3px 6px}.gc-player-badges,.gc-finished-count{font-size:8px}.gc-home-pawns{width:70px;gap:2px}.gc-home-pawn{width:20px;height:20px;min-height:20px;font-size:7px!important}.gc-board-player[data-board-seat="2"],.gc-board-player[data-board-seat="3"]{bottom:8%}.gc-speech-bubble{font-size:9px;max-width:100px;padding:6px 8px}.gc-center-die{width:44px;height:44px}.dice-stage,.dice-cube{width:31px;height:31px}.dice-face{font-size:35px;border-radius:7px}.face-1{transform:translateZ(15.5px)}.face-2{transform:rotateY(90deg) translateZ(15.5px)}.face-3{transform:rotateX(90deg) translateZ(15.5px)}.face-4{transform:rotateX(-90deg) translateZ(15.5px)}.face-5{transform:rotateY(-90deg) translateZ(15.5px)}.face-6{transform:rotateY(180deg) translateZ(15.5px)}.gr-bottom-actions{max-width:65%;bottom:4px;gap:4px}.gr-bottom-actions button{min-height:31px;padding:5px 8px;font-size:9px!important}.gr-dialog-content{padding:15px 15px 20px}.gr-dialog h2{font-size:14px}.gc-room-builder{gap:9px}.gc-room-builder .gc-builder-options{grid-template-columns:1fr}.gc-room-builder .gc-option{padding:7px}.gc-room-builder .gc-option span{font-size:10px}}
@media(max-width:355px){.gr-toolbar .gr-tool{width:29px;padding:5px}.gr-toolbar nav{gap:0}.gr-toolbar{grid-template-columns:29px minmax(35px,1fr) auto}.gr-toolbar .gr-tool .gc-icon{width:18px;height:18px}.gr-room-title small{display:none}.gc-board-player{width:59px}.gc-home-pawns{width:59px}.gc-home-pawn{width:18px;height:18px;min-height:18px}.gc-board-stage{width:min(93vw,calc(var(--game-vh) - 170px))}.gc-player-level{display:none}}
@media(max-height:520px) and (orientation:landscape){.gr-toolbar{min-height:44px;padding-top:3px;padding-bottom:3px}.gr-toolbar .gr-tool{height:34px;min-height:34px}.gr-chat-dock{min-height:38px}.gc-board-stage{width:min(75vw,calc(var(--game-vh) - 115px),430px)}.gc-lobby-seats{grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}.gc-lobby-seat{min-height:48px}.gc-lobby-seat .gc-avatar-wrap{width:38px;height:38px}.gc-waiting-room{padding-top:9px}.gr-lobby-heading h1{font-size:14px}.gr-lobby-heading p{margin:3px}.gr-lobby-facts span{padding:3px 6px}.gc-board-player[data-board-seat="0"],.gc-board-player[data-board-seat="1"]{top:2%}.gc-board-player[data-board-seat="2"],.gc-board-player[data-board-seat="3"]{bottom:4%}.gc-avatar-wrap{width:39px;height:39px}.gc-home-pawns{width:82px}.gc-home-pawn{width:19px;height:19px;min-height:19px}}
@media(prefers-reduced-motion:reduce){.gc-immersive *{animation:none!important;transition:none!important}.gc-immersive .gc-board-effects{display:none}}
/* Empty seats retain their four distinct player colors. */
.gc-lobby-seat.empty{background:linear-gradient(100deg,color-mix(in srgb,var(--seat-color),#443526 28%),color-mix(in srgb,var(--seat-color),#463220 12%))}
.gr-result-star{animation:gr-result-bounce 1.1s ease-out both}
@keyframes gr-result-bounce{0%{transform:scale(.6) rotate(-18deg);opacity:0}60%{transform:scale(1.15) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.gr-result-star{animation:none}}
@media (max-height:500px) and (orientation:landscape){
 .gc-board-player{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;width:128px;max-width:23%;gap:1px 3px;align-items:center}
 .gc-board-player .gc-avatar-wrap{grid-column:1;grid-row:1 / span 2;justify-self:center}
 .gc-board-player-name,.gc-player-badges{grid-column:2;max-width:100%;font-size:8px}
 .gc-home-pawns{grid-column:1 / -1;width:100%;flex-wrap:nowrap;gap:3px;margin-top:2px}
 .gc-home-pawn{width:25px;height:25px;min-height:25px}
 .gc-finished-count,.gr-player-clock{grid-column:1 / -1}
}

.lp-local-game .gc-home-pawns{width:100px}.lp-local-game .gc-avatar-wrap{width:48px;height:48px}.lp-local-game .gc-avatar-wrap>.gc-avatar{width:100%;height:100%;font-size:30px}.lp-local-game .gc-home-pawn:disabled{opacity:1}.lp-local-game .gc-home-pawn.finished{background:#bd8e35}.lp-local-game .gr-toolbar{grid-template-columns:40px minmax(0,1fr) 40px}

.gc-immersive .gc-home-pawn{min-height:24px!important;width:24px;height:24px;min-width:24px;padding:0}.gc-immersive .dice-pip{position:absolute;width:6px;height:6px;border-radius:50%;background:#3c332c;box-shadow:inset 0 1px 1px #0009,0 1px 0 #fff7;transform:translate(-50%,-50%)}.dice-pip.pip-0,.dice-pip.pip-3,.dice-pip.pip-6{left:24%}.dice-pip.pip-1,.dice-pip.pip-4,.dice-pip.pip-7{left:50%}.dice-pip.pip-2,.dice-pip.pip-5,.dice-pip.pip-8{left:76%}.dice-pip.pip-0,.dice-pip.pip-1,.dice-pip.pip-2{top:24%}.dice-pip.pip-3,.dice-pip.pip-4,.dice-pip.pip-5{top:50%}.dice-pip.pip-6,.dice-pip.pip-7,.dice-pip.pip-8{top:76%}.dice-gold .dice-pip{background:#70420d}.dice-crystal .dice-pip{background:#2a4c63}
.gc-immersive[data-table-skin=royal]:before{background:linear-gradient(90deg,#936120 0,#f2d172 2%,#9d6b24 4%,transparent 5%,transparent 95%,#9d6b24 96%,#f2d172 98%,#936120 100%),repeating-linear-gradient(93deg,#4f2a1e 0,#804c32 2px,#75432c 13px,#603724 17px,#714329 24px)}.gc-immersive[data-table-skin=royal] .gc-board-player{background:none;border:0}.gc-immersive[data-table-skin=royal] .gc-board-player-name{border-color:#d6af5b;background:linear-gradient(#744421,#382116)}.gc-immersive[data-table-skin=royal] .gc-avatar-wrap>.gc-avatar{box-shadow:0 0 0 2px #c49b48,0 4px 5px #2a180e}
