.backgammon-lines{position:absolute;inset:25px;display:flex;align-items:stretch;justify-content:center;gap:4px;border:7px solid white;border-radius:24px;background:rgba(255,255,255,.35);box-shadow:0 20px 40px rgba(37,99,235,.15);transform:rotate(5deg)}.backgammon-lines i{width:0;height:0;border-left:17px solid transparent;border-right:17px solid transparent;border-top:120px solid rgba(37,99,235,.68)}.backgammon-lines i:nth-child(2n){border-top-color:rgba(255,255,255,.9)}.ludo-board{border:8px solid white;border-radius:clamp(20px,4vw,40px);background:white;box-shadow:var(--shadow-md)}.dice-area{display:flex;align-items:center;gap:18px}.dice{width:78px;height:78px;flex:0 0 78px;padding:13px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);place-items:center;border:1px solid #eee5e9;border-radius:22px;background:white;box-shadow:0 14px 28px rgba(70,30,47,.15),inset 0 2px white}.dice i{width:10px;height:10px;border-radius:50%;background:var(--ink);opacity:0;transform:scale(.2);transition:.15s}.dice i.show{opacity:1;transform:scale(1)}.dice.rolling{animation:dice-roll .38s var(--ease)}.dice-area .button{flex:1}@media (max-width:700px){.ludo-board{border-width:4px;border-radius:22px}.dice{width:66px;height:66px;flex-basis:66px;padding:11px;border-radius:18px}}.dice-button,.dice-static{width:96px;flex:0 0 96px;display:grid;place-items:center;gap:3px;border:0;background:transparent;color:var(--muted-ink)}.dice-button{min-height:105px;padding:2px;border-radius:20px}.dice-button:not(:disabled):hover .dice-cube{transform:rotateX(-17deg) rotateY(-24deg) translateY(-4px) scale(1.04)}.dice-button:focus-visible{outline:3px solid rgba(225,29,72,.35)}.dice-button:disabled{opacity:.58}.dice-button small{font-size:8px;font-weight:800}.dice-scene{width:78px;height:78px;display:block;perspective:480px}.dice-cube{position:relative;width:66px;height:66px;margin:8px auto 0;display:block;transform-style:preserve-3d;transform:rotateX(-17deg) rotateY(-21deg);transition:transform .22s var(--ease)}.dice-face,.dice-side,.dice-top{position:absolute;display:grid;place-items:center;border:1px solid #e8dde2;background:linear-gradient(145deg,#fff,#f4ecef);box-shadow:inset 0 2px rgba(255,255,255,.9);backface-visibility:hidden}.dice-face{inset:0;padding:11px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);border-radius:18px;transform:translateZ(12px);box-shadow:0 18px 27px rgba(59,25,41,.22),inset 0 2px white}.dice-face i{width:9px;height:9px;border-radius:50%;background:#25132e;opacity:0;transform:scale(.25)}.dice-face i.show{opacity:1;transform:scale(1)}.dice-top{right:0;left:0;top:-12px;height:24px;grid-template-columns:repeat(3,7px);gap:6px;border-radius:12px 12px 5px 5px;transform:rotateX(90deg)}.dice-side{top:0;right:-12px;width:24px;height:66px;gap:11px;border-radius:5px 12px 12px 5px;transform:rotateY(90deg)}.dice-side i,.dice-top i{width:6px;height:6px;border-radius:50%;background:#e11d48}.dice-scene.rolling .dice-cube{animation:dice-cube-roll .42s cubic-bezier(.2,.8,.2,1)}@media (max-width:700px){.dice-area{gap:8px}.dice-button{width:88px;flex-basis:88px}.dice-scene{transform:scale(.88)}.dice-button small{margin-top:-4px}}.backgammon-page{--nard-wood:#5f3028;--nard-wood-dark:#311714;--nard-felt:#173f3b;--nard-coral:#d8684c;--nard-sand:#d9b77d}.backgammon-intro{position:relative;overflow:hidden}.backgammon-intro:after{content:"";position:absolute;z-index:-1;width:260px;height:260px;top:-130px;left:3%;border-radius:50%;background:radial-gradient(circle,rgba(216,104,76,.15),transparent 68%)}.backgammon-feature-pills{margin-top:14px;display:flex;flex-wrap:wrap;gap:7px}.backgammon-feature-pills span{min-height:34px;padding:7px 10px;display:flex;align-items:center;gap:6px;border:1px solid rgba(95,48,40,.1);border-radius:999px;background:rgba(255,255,255,.7);color:#71382f;font-size:10px;font-weight:850;box-shadow:0 6px 18px rgba(95,48,40,.07)}.backgammon-feature-pills svg{width:15px}.backgammon-layout{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}.backgammon-board-shell{min-width:0;padding:7px;overflow:hidden;border-radius:26px;background:linear-gradient(145deg,#7d483c,#44221d);box-shadow:0 24px 48px rgba(67,29,24,.22),inset 0 1px rgba(255,255,255,.2)}.backgammon-table{aspect-ratio:1.42;grid-template-columns:minmax(0,1fr) 27px;direction:ltr;border:2px solid #2b1412;border-radius:19px;background:#41201b;box-shadow:inset 0 0 0 2px rgba(255,255,255,.07),0 12px 28px rgba(20,8,7,.3);transform:perspective(1000px) rotateX(1.8deg);transform-origin:center bottom}.backgammon-board,.backgammon-table{position:relative;min-width:0;display:grid}.backgammon-board{height:100%;grid-column:1;grid-row:1;grid-template-rows:1fr 1fr;overflow:hidden;border-radius:16px 5px 5px 16px;background:radial-gradient(circle at 45% 35%,#245b54,#12332f 72%),repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 5px);box-shadow:inset 0 0 24px rgba(0,0,0,.42)}.backgammon-board:after{content:"";position:absolute;z-index:0;inset:50% 0 auto;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent)}.backgammon-half{position:relative;z-index:2;min-width:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) .72fr repeat(6,minmax(0,1fr))}.backgammon-point{position:relative;min-width:0;padding:0;display:block;overflow:visible;border:0;background:transparent;color:rgba(255,255,255,.48);cursor:pointer}.backgammon-point:nth-child(7){grid-column:8}.backgammon-point:nth-child(8){grid-column:9}.backgammon-point:nth-child(9){grid-column:10}.backgammon-point:nth-child(10){grid-column:11}.backgammon-point:nth-child(11){grid-column:12}.backgammon-point:nth-child(12){grid-column:13}.backgammon-point:before{content:"";position:absolute;z-index:0;inset:0 7%;opacity:.94;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2));transition:filter .18s ease,opacity .18s ease}.backgammon-point.top:before{clip-path:polygon(0 0,100% 0,50% 88%)}.backgammon-point.bottom:before{clip-path:polygon(50% 12%,100% 100%,0 100%)}.backgammon-point.point-dark:before{background:linear-gradient(90deg,#a94737,#d96b4d 55%,#91392f)}.backgammon-point.point-light:before{background:linear-gradient(90deg,#b58d58,#e4c48a 55%,#9e774b)}.backgammon-point:focus-visible{outline:3px solid #f7d775;outline-offset:-3px;z-index:12}.backgammon-point.legal-source:before{filter:drop-shadow(0 0 5px rgba(255,230,145,.8)) brightness(1.12)}.backgammon-point.legal-source .backgammon-checker:last-of-type{animation:checker-ready .9s ease-in-out infinite alternate}.backgammon-point.legal-target:after{content:"";position:absolute;z-index:8;left:50%;width:clamp(13px,3.7vw,28px);aspect-ratio:1;border:2px solid #fff1a8;border-radius:50%;background:rgba(255,225,120,.32);box-shadow:0 0 0 4px rgba(255,229,139,.12),0 0 16px rgba(255,219,104,.62);transform:translateX(-50%);animation:target-pulse .9s ease-in-out infinite alternate}.backgammon-point.top.legal-target:after{top:17%}.backgammon-point.bottom.legal-target:after{bottom:17%}.backgammon-point.selected:before{filter:drop-shadow(0 0 8px #fff0a9) brightness(1.2)}.backgammon-checker{position:relative;width:92%;aspect-ratio:1;flex:0 0 auto;border-radius:50%;box-shadow:0 5px 7px rgba(0,0,0,.38),inset 0 3px 3px rgba(255,255,255,.52),inset 0 -4px 6px rgba(0,0,0,.28);transform:translateZ(10px)}.backgammon-checker+.backgammon-checker,.bottom .backgammon-checker+.backgammon-checker{margin-top:-7%}.backgammon-checker:after{content:"";position:absolute;inset:16%;border:1px solid rgba(255,255,255,.2);border-radius:50%;box-shadow:inset 0 1px rgba(255,255,255,.28)}.backgammon-checker.moved{animation:checker-land .52s cubic-bezier(.18,.84,.3,1.25)}.backgammon-bar{position:absolute;z-index:9;top:0;bottom:0;left:calc(50% - 2.7%);width:5.4%;padding:4px 1px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-inline:1px solid rgba(23,8,7,.5);background:linear-gradient(90deg,#351815,#6b382f 48%,#301512);box-shadow:0 0 11px rgba(0,0,0,.35),inset 1px 0 rgba(255,255,255,.08)}.bar-stack .backgammon-checker{width:92%}.bar-stack .backgammon-checker+.backgammon-checker{margin-top:-24%}.backgammon-sidebar{display:grid;gap:10px}.backgammon-turn-card{display:grid;gap:12px}.backgammon-dice{min-height:64px;padding:10px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:18px;background:linear-gradient(145deg,#f5eee5,#eadbcc);box-shadow:inset 0 2px 6px rgba(82,49,36,.1);direction:ltr}.backgammon-dice.double{gap:5px}.backgammon-die{width:44px;aspect-ratio:1;padding:7px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);border:1px solid #d9c8b6;border-radius:12px;background:linear-gradient(145deg,#fffefb,#e8dacc);box-shadow:0 9px 13px rgba(76,44,32,.2),inset 0 2px white;transform:rotate(-3deg)}.backgammon-die:nth-child(2n){transform:rotate(4deg)}.backgammon-die i{width:5px;height:5px;place-self:center;border-radius:50%;background:#2d1717;opacity:0}.backgammon-die i.show{opacity:1}.backgammon-die.rolling{animation:nard-dice-roll .52s cubic-bezier(.2,.8,.2,1) infinite}.backgammon-dice.double .backgammon-die{width:36px;padding:6px;border-radius:10px}.backgammon-score{padding:14px;display:grid;gap:8px}.backgammon-score h3{margin:0 0 2px;font-size:13px}.backgammon-online-players span,.backgammon-score>div{min-height:44px;padding:7px 9px;display:flex;align-items:center;gap:8px;border-radius:13px;background:var(--surface-muted)}.backgammon-score span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800}.backgammon-score b{margin-right:auto;font-size:10px}.backgammon-online-players .checker-swatch,.backgammon-score .checker-swatch{width:22px;height:22px;flex-basis:22px}.backgammon-online-players{display:grid;gap:6px}.backgammon-online-players span{position:relative}.backgammon-online-players span.active{box-shadow:inset 0 0 0 2px #e3b64e}.backgammon-online-players small{margin-right:auto;color:var(--muted-ink);font-size:8px}@media (min-width:760px){.backgammon-board-shell{padding:12px;border-radius:34px}.backgammon-table{grid-template-columns:minmax(0,1fr) 42px;border-radius:25px}.backgammon-board{border-radius:21px 6px 6px 21px}.backgammon-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.backgammon-die{width:50px}.backgammon-dice.double .backgammon-die{width:42px}}@media (min-width:1100px){.backgammon-layout{grid-template-columns:minmax(0,1fr) 330px;gap:22px}.backgammon-board-shell{padding:15px}.backgammon-table{grid-template-columns:minmax(0,1fr) 50px;aspect-ratio:1.55}.backgammon-feature-pills span{font-size:11px}.backgammon-checker+.backgammon-checker{margin-top:-10%}}@media (max-width:420px){.backgammon-board-shell{padding:5px;margin-inline:-1px}.backgammon-table{grid-template-columns:minmax(0,1fr) 24px;aspect-ratio:1.34}.backgammon-point:before{inset-inline:4%}.backgammon-dice{min-height:58px}.backgammon-die{width:40px}.backgammon-dice.double .backgammon-die{width:34px}.backgammon-feature-pills{gap:5px}}.ludo-board-shell{position:relative;padding:clamp(13px,2.2vw,25px);overflow:visible;perspective:1400px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(252,242,246,.88));box-shadow:0 30px 70px rgba(76,35,53,.13),inset 0 1px rgba(255,255,255,.96)}.ludo-board-shell:after{content:"";position:absolute;z-index:-1;right:8%;bottom:1.5%;left:8%;height:10%;border-radius:50%;background:rgba(70,31,49,.24);filter:blur(24px);transform:rotateX(70deg)}.ludo-board{isolation:isolate;width:100%;max-width:720px;aspect-ratio:1;margin-inline:auto;display:grid;grid-template-columns:repeat(15,1fr);grid-template-rows:repeat(15,1fr);gap:1px;overflow:hidden;direction:ltr;border:clamp(6px,1vw,11px) solid #fff;border-radius:clamp(24px,4vw,42px);background:#cdbfc6;box-shadow:0 5px 0 #ded2d8,0 11px 0 #c8b8c0,0 28px 45px rgba(63,28,45,.22),inset 0 2px rgba(255,255,255,.95);transform:rotateX(3.2deg) translateY(-2px);transform-origin:center bottom}.ludo-board,.ludo-board .board-cell{position:relative;transform-style:preserve-3d}.ludo-board .board-cell{min-width:0;min-height:0;border:0}.ludo-board .board-cell.home{background-size:100% 100%;box-shadow:inset 0 1px rgba(255,255,255,.74),inset 0 -2px rgba(93,53,72,.045)}.ludo-board .red-home{background:linear-gradient(145deg,#ffe8ed,#ffdce4)}.ludo-board .blue-home{background:linear-gradient(145deg,#e4f0ff,#d3e5fb)}.ludo-board .yellow-home{background:linear-gradient(145deg,#fff7d7,#fff0b9)}.ludo-board .green-home{background:linear-gradient(145deg,#dffbed,#c9f4df)}.ludo-board .board-cell.void{background:linear-gradient(150deg,#f9f5f7,#eee7eb);box-shadow:inset 0 1px rgba(255,255,255,.85)}.ludo-board .board-cell.path{z-index:2;border:1px solid #cbbdc4;background:linear-gradient(145deg,#fff 0 42%,#f1eaee 100%);box-shadow:inset 1px 1px rgba(255,255,255,.95),inset -1px -2px rgba(91,56,74,.12),0 2px 3px rgba(64,35,50,.12);transform:translateZ(5px)}.ludo-board .board-cell.home-path.red,.ludo-board .board-cell.path.start.red{border-color:#e64061;background:linear-gradient(145deg,#ff8ca0,#e93c60)}.ludo-board .board-cell.home-path.blue,.ludo-board .board-cell.path.start.blue{border-color:#357cdf;background:linear-gradient(145deg,#7eb8ff,#3e83e7)}.ludo-board .board-cell.home-path.yellow,.ludo-board .board-cell.path.start.yellow{border-color:#d79800;background:linear-gradient(145deg,#ffd553,#f5ad0d)}.ludo-board .board-cell.home-path.green,.ludo-board .board-cell.path.start.green{border-color:#149c70;background:linear-gradient(145deg,#5fe0b0,#21b783)}.ludo-board .board-cell.path.start{z-index:4;box-shadow:inset 1px 1px rgba(255,255,255,.62),inset -2px -3px rgba(63,25,43,.18),0 3px 6px rgba(56,27,42,.2);transform:translateZ(8px)}.ludo-board .board-cell.home-base{z-index:1}.ludo-board .board-cell.home-base:before{content:"";position:absolute;z-index:1;inset:-28%;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(255,255,255,.36);box-shadow:0 8px 15px rgba(69,36,52,.11),inset 0 4px 7px rgba(255,255,255,.72),inset 0 -4px 7px rgba(74,37,55,.08)}.ludo-board .board-cell.home-base:after{content:"";position:absolute;z-index:2;inset:-8%;border-radius:50%;background:rgba(255,255,255,.46);box-shadow:inset 0 2px rgba(255,255,255,.9)}.ludo-board .board-cell.center{z-index:3;background:linear-gradient(145deg,#f5eff2,#e7dde2);transform:translateZ(4px)}.ludo-board .board-center-mark{position:absolute;z-index:8;inset:40% 40%;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:2px solid rgba(255,255,255,.9);border-radius:11px;box-shadow:0 8px 13px rgba(58,28,43,.22),inset 0 2px rgba(255,255,255,.5);transform:translateZ(12px) rotate(45deg) scale(.78)}.ludo-board .board-center-mark span:first-child{background:linear-gradient(145deg,#ff8ca0,#e93c60)}.ludo-board .board-center-mark span:nth-child(2){background:linear-gradient(145deg,#7eb8ff,#3e83e7)}.ludo-board .board-center-mark span:nth-child(3){background:linear-gradient(145deg,#5fe0b0,#21b783)}.ludo-board .board-center-mark span:nth-child(4){background:linear-gradient(145deg,#ffd553,#f5ad0d)}@media (max-width:700px){.ludo-board-shell{padding:8px;border-radius:27px;perspective:900px}.ludo-board{gap:.5px;border-width:5px;border-radius:24px;box-shadow:0 3px 0 #ded2d8,0 7px 0 #c8b8c0,0 18px 30px rgba(63,28,45,.19);transform:rotateX(2deg) translateY(-1px)}.ludo-board .board-cell.path{border-width:.5px}}html[data-theme=dark] .ludo-board-shell{background:linear-gradient(145deg,rgba(41,34,43,.96),rgba(25,21,28,.94));box-shadow:0 30px 70px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.08)}html:has(.game-rail-page .backgammon-board-shell),html:has(.game-rail-page .backgammon-board-shell) body,html:has(.game-rail-page .ludo-board-shell),html:has(.game-rail-page .ludo-board-shell) body{background:#050611}.game-rail-page:has(.backgammon-board-shell),.game-rail-page:has(.ludo-board-shell){--game-night:#070918;--game-panel:#101329;--game-panel-raised:#171a33;--game-line:#303653;--game-text:#f7f7fb;--game-muted:#9da3bd;--game-coral:#ff315f;--game-cyan:#2ea8ff;--game-violet:#8b5cf6;position:relative;color:var(--game-text)}.game-rail-page:has(.backgammon-board-shell) .eyebrow,.game-rail-page:has(.ludo-board-shell) .eyebrow{border-color:#383d59;background:#15172c;color:#d9ddf0}.backgammon-redesign-shell,.ludo-redesign-shell{color:var(--game-text)}.backgammon-redesign-shell .glass-card,.ludo-redesign-shell .glass-card{border:1px solid var(--game-line);background:var(--game-panel);color:var(--game-text);box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035)}.backgammon-redesign-shell :is(.turn-player small,.backgammon-score span),.ludo-redesign-shell :is(.turn-player small,.player-row small){color:var(--game-muted)}.backgammon-redesign-shell .text-button,.ludo-redesign-shell .text-button{border:1px solid #353a59;background:#191c34;color:#dfe3f6}.backgammon-redesign-shell .turn-status,.ludo-redesign-shell .turn-status{border:1px solid #2c3150;background:#0b0e20;color:#c5c9dc}.backgammon-redesign-shell .button-primary,.ludo-redesign-shell .button-primary{border:1px solid #ff6b8c;background:var(--game-coral);color:#fff;box-shadow:0 0 0 4px rgba(255,49,95,.12),0 12px 30px rgba(255,49,95,.3)}.backgammon-redesign-shell .button-primary:hover:not(:disabled),.ludo-redesign-shell .button-primary:hover:not(:disabled){background:#ff4b73;box-shadow:0 0 0 5px rgba(255,49,95,.15),0 14px 34px rgba(255,49,95,.38)}.backgammon-redesign-shell .button-primary:focus-visible,.ludo-redesign-shell .button-primary:focus-visible{outline:3px solid #fff;outline-offset:3px}.ludo-redesign-shell .ludo-board-shell{padding:clamp(12px,1.8vw,22px);overflow:visible;border-color:#343958;border-radius:30px;background:#0c1024!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 28px 70px rgba(0,0,0,.46),0 0 36px rgba(46,168,255,.09),inset 0 1px rgba(255,255,255,.07)}.ludo-redesign-shell .ludo-board-shell:after{background:rgba(0,0,0,.5)}.ludo-redesign-shell .ludo-board{gap:1px;max-width:760px;border-color:#885a32;border-width:clamp(7px,.8vw,12px);border-radius:26px;background:#26140f;box-shadow:0 4px 0 #5a351f,0 9px 0 #2c190f,0 26px 50px rgba(0,0,0,.5),inset 0 2px rgba(255,228,184,.3);transform:perspective(1200px) rotateX(2deg)}.ludo-redesign-shell .ludo-board .board-cell.home{box-shadow:inset 0 1px rgba(255,255,255,.18),inset 0 -1px rgba(0,0,0,.16)}.ludo-redesign-shell .ludo-board .red-home{background:#ea6a86}.ludo-redesign-shell .ludo-board .blue-home{background:#6fa0ea}.ludo-redesign-shell .ludo-board .yellow-home{background:#f5cb66}.ludo-redesign-shell .ludo-board .green-home{background:#66b99b}.ludo-redesign-shell .ludo-board .board-cell.center,.ludo-redesign-shell .ludo-board .board-cell.void{background:#f0ede8}.ludo-redesign-shell .ludo-board .board-cell.path{border:1px solid #bbb6b2;background:#f8f6f0;box-shadow:inset 1px 1px rgba(255,255,255,.9),inset -1px -2px rgba(38,34,42,.12),0 2px 3px rgba(0,0,0,.18)}.ludo-redesign-shell .ludo-board .board-cell.home-path.red,.ludo-redesign-shell .ludo-board .board-cell.path.start.red{border-color:#ff6684;background:#e7234b}.ludo-redesign-shell .ludo-board .board-cell.home-path.blue,.ludo-redesign-shell .ludo-board .board-cell.path.start.blue{border-color:#69aeff;background:#1473ef}.ludo-redesign-shell .ludo-board .board-cell.home-path.yellow,.ludo-redesign-shell .ludo-board .board-cell.path.start.yellow{border-color:#ffd45c;background:#f7b916}.ludo-redesign-shell .ludo-board .board-cell.home-path.green,.ludo-redesign-shell .ludo-board .board-cell.path.start.green{border-color:#4cdda4;background:#08a96c}.ludo-redesign-shell .ludo-board .board-cell.home-base:after,.ludo-redesign-shell .ludo-board .board-cell.home-base:before{display:none}.ludo-redesign-shell .ludo-board .board-center-mark{border-color:#fff;border-radius:7px;box-shadow:0 7px 18px rgba(0,0,0,.34)}.ludo-redesign-shell .ludo-board .board-center-mark span:first-child{background:#e7234b}.ludo-redesign-shell .ludo-board .board-center-mark span:nth-child(2){background:#1473ef}.ludo-redesign-shell .ludo-board .board-center-mark span:nth-child(3){background:#08a96c}.ludo-redesign-shell .ludo-board .board-center-mark span:nth-child(4){background:#f7b916}.ludo-redesign-shell .board-surface-shine{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.ludo-redesign-shell .ludo-turn-card{border-color:#3b4163}.ludo-redesign-shell .ludo-turn-card.turn-red{box-shadow:0 0 0 1px rgba(255,49,95,.55),0 16px 38px rgba(255,49,95,.15)}.ludo-redesign-shell .ludo-turn-card.turn-blue{box-shadow:0 0 0 1px rgba(46,168,255,.55),0 16px 38px rgba(46,168,255,.15)}.ludo-redesign-shell .ludo-turn-card.turn-yellow{box-shadow:0 0 0 1px rgba(247,185,22,.55),0 16px 38px rgba(247,185,22,.14)}.ludo-redesign-shell .ludo-turn-card.turn-green{box-shadow:0 0 0 1px rgba(8,169,108,.55),0 16px 38px rgba(8,169,108,.14)}.ludo-redesign-shell .ludo-players-inline{padding-top:14px;border-top:1px solid var(--game-line)}.ludo-redesign-shell .ludo-players-inline h3{margin:0 0 8px;font-size:13px;color:var(--game-muted)}.ludo-redesign-shell .dice{border-color:#434966;background:#f8f6f2;box-shadow:0 12px 28px rgba(0,0,0,.34),0 0 24px rgba(255,49,95,.13),inset 0 2px #fff}.ludo-redesign-shell .dice i{background:#131527}.ludo-redesign-shell .players-list{border-radius:22px}.ludo-redesign-shell .player-row{margin-top:4px;border:1px solid transparent;background:#0d1022}.ludo-redesign-shell .player-row.active{border-color:#465071;background:#1a1e38}@media (max-width:700px){.ludo-redesign-shell .turn-card{padding:12px 14px;gap:6px;display:flex;flex-wrap:wrap}.ludo-redesign-shell .ludo-turn-card.turn-red{box-shadow:0 0 0 1px rgba(255,49,95,.55),0 4px 14px rgba(255,49,95,.12)}.ludo-redesign-shell .ludo-turn-card.turn-blue{box-shadow:0 0 0 1px rgba(46,168,255,.55),0 4px 14px rgba(46,168,255,.12)}.ludo-redesign-shell .ludo-turn-card.turn-yellow{box-shadow:0 0 0 1px rgba(247,185,22,.55),0 4px 14px rgba(247,185,22,.11)}.ludo-redesign-shell .ludo-turn-card.turn-green{box-shadow:0 0 0 1px rgba(8,169,108,.55),0 4px 14px rgba(8,169,108,.11)}.ludo-redesign-shell .turn-head{flex:1 1 55%}.ludo-redesign-shell .turn-player b{font-size:14px}.ludo-redesign-shell .turn-card .turn-countdown{flex:1 1 100%;margin-top:0}.ludo-redesign-shell .turn-card .turn-countdown>div{gap:4px;font-size:10px}.ludo-redesign-shell .turn-card .turn-countdown>div span{display:none}.ludo-redesign-shell .turn-card .turn-countdown>div b{margin-right:0}.ludo-redesign-shell .turn-card .turn-countdown>i{height:3px;margin-top:3px}.ludo-redesign-shell .turn-card .turn-status{flex:1 1 100%;min-height:0;padding:6px 10px;font-size:11px;line-height:1.4}.ludo-redesign-shell .turn-card .dice-area{flex:1 1 100%;gap:10px}.ludo-redesign-shell .turn-card .dice{width:46px;height:46px;flex-basis:46px;padding:7px;border-radius:14px}.ludo-redesign-shell .turn-card .dice i{width:6px;height:6px}.ludo-redesign-shell .turn-card .dice-area .button{min-height:40px}.ludo-redesign-shell .turn-card .ludo-players-inline{flex:1 1 100%;padding-top:10px}.ludo-redesign-shell .turn-card .ludo-players-inline .player-row{min-height:44px}.ludo-redesign-shell.play-layout .game-sidebar{max-height:248px}}.backgammon-page:has(.backgammon-board-shell) .backgammon-feature-pills span{border-color:#383d5a;background:#15182c;color:#ccd1e6;box-shadow:none}.backgammon-redesign-shell .backgammon-board-shell{background:#2b1812!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.backgammon-redesign-shell .backgammon-board-shell:has(.backgammon-3d-host){background:radial-gradient(circle at 50% 45%,#ab583a 0,#5a3a35 35%,#1a1520 65%,#051222 100%)!important}.backgammon-redesign-shell .backgammon-stage{min-width:0;padding:clamp(10px,1.25vw,16px);display:grid;gap:9px;overflow:visible;border-color:#775033;border-radius:28px;box-shadow:0 28px 70px rgba(0,0,0,.48),0 0 34px rgba(46,168,255,.08),0 0 28px rgba(255,49,95,.07),inset 0 1px rgba(255,226,181,.18)}.backgammon-redesign-shell .backgammon-player-strip{width:min(62%,520px);min-height:48px;margin-inline:auto;padding:7px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #393e59;border-radius:15px;background:#101327;color:var(--game-text);box-shadow:0 10px 22px rgba(0,0,0,.24)}.backgammon-redesign-shell .backgammon-player-strip.active{border-color:#d8b55e;box-shadow:0 0 0 1px rgba(216,181,94,.28),0 0 22px rgba(216,181,94,.14)}.backgammon-redesign-shell .backgammon-player-strip>span{display:flex;align-items:center;gap:9px}.backgammon-redesign-shell .backgammon-player-strip .checker-swatch{width:27px;height:27px;flex-basis:27px}.backgammon-redesign-shell .backgammon-player-strip small{color:var(--game-muted);font-size:10px;font-weight:750}.backgammon-redesign-shell .backgammon-player-strip.active small{color:#f5d981}.backgammon-redesign-shell .backgammon-table{border-color:#120a08;border-radius:21px;background:#26130f;box-shadow:inset 0 0 0 2px rgba(255,225,182,.09),0 16px 34px rgba(0,0,0,.42);transform:perspective(1200px) rotateX(1deg)}.backgammon-redesign-shell .backgammon-board{background:#07413c;box-shadow:inset 0 0 28px rgba(0,0,0,.46)}.backgammon-redesign-shell .backgammon-point.point-dark:before{background:#c55c43}.backgammon-redesign-shell .backgammon-point.point-light:before{background:#d8b675}.backgammon-redesign-shell .backgammon-point:disabled,.backgammon-redesign-shell .bar-stack:disabled,.backgammon-redesign-shell .off-slot:disabled{opacity:.7}.backgammon-redesign-shell .backgammon-bar{border-color:#1a0d0a;background:#512b20;box-shadow:0 0 12px rgba(0,0,0,.48),inset 1px 0 rgba(255,228,190,.1)}.backgammon-redesign-shell .bear-off-rail{background:#26130f}.backgammon-redesign-shell .off-slot{border-color:#6a4530;background:#120d13;color:#f7eadc}.backgammon-redesign-shell .backgammon-dice{min-height:82px;border:1px solid #2e3556;background:#090d20;box-shadow:inset 0 1px rgba(255,255,255,.04),0 0 24px rgba(46,168,255,.11)}.backgammon-redesign-shell .backgammon-die{border-color:#ded7ca;background:#f7f3ea;box-shadow:0 9px 16px rgba(0,0,0,.4),inset 0 2px #fff}.backgammon-redesign-shell .backgammon-die i{background:#12131c}.backgammon-redesign-shell .backgammon-score{border-radius:20px}.backgammon-redesign-shell .backgammon-score>div{border:1px solid #2d3250;background:#0c0f22}.backgammon-redesign-shell .backgammon-score b{color:#eef1ff}.backgammon-redesign-shell .backgammon-difficulty{width:100%;padding:10px;display:grid;gap:8px;border:1px solid #3d3a52;border-radius:15px;background:#101327;box-shadow:inset 0 1px rgba(255,255,255,.05)}.backgammon-redesign-shell .backgammon-difficulty-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f1e8dc}.backgammon-redesign-shell .backgammon-difficulty-label span{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:850}.backgammon-redesign-shell .backgammon-difficulty-label svg{color:#e6b66a}.backgammon-redesign-shell .backgammon-difficulty-label small{color:var(--game-muted);font-size:9px;font-weight:700}.backgammon-redesign-shell .backgammon-difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.backgammon-redesign-shell .backgammon-difficulty-options button{min-width:0;min-height:38px;padding:5px 4px;display:grid;place-items:center;gap:1px;border:1px solid #393f5e;border-radius:10px;background:#171b31;color:#c8cbe0;font:inherit;cursor:pointer}.backgammon-redesign-shell .backgammon-difficulty-options button b{font-size:10px}.backgammon-redesign-shell .backgammon-difficulty-options button small{color:#9298b2;font-size:8px}.backgammon-redesign-shell .backgammon-difficulty-options button:hover{border-color:#ca8c5e;color:#fff3df}.backgammon-redesign-shell .backgammon-difficulty-options button.active{border-color:#e0a66d;background:linear-gradient(135deg,#8f3c2c,#c96646);color:#fff8ed;box-shadow:0 0 0 2px rgba(224,166,109,.13),0 7px 16px rgba(0,0,0,.22)}.backgammon-redesign-shell .backgammon-difficulty-options button.active small{color:#ffe0bb}.backgammon-redesign-shell .backgammon-difficulty-options button:focus-visible{outline:2px solid #fff2cc;outline-offset:2px}@media (min-width:981px){.backgammon-redesign-shell .game-sidebar,.ludo-redesign-shell .game-sidebar{gap:12px}.backgammon-redesign-shell .turn-card,.ludo-redesign-shell .turn-card{padding:18px;gap:14px}}@media (max-width:980px){.backgammon-redesign-shell,.ludo-redesign-shell{gap:14px}.backgammon-redesign-shell .game-sidebar,.ludo-redesign-shell .game-sidebar{grid-template-columns:1fr 1fr}.backgammon-redesign-shell .game-sidebar>:first-child,.ludo-redesign-shell .game-sidebar>:first-child{grid-column:1/-1}}@media (max-width:700px){.backgammon-redesign-shell .backgammon-stage,.ludo-redesign-shell .ludo-board-shell{padding:7px;border-radius:20px}.ludo-redesign-shell .ludo-board{gap:.5px;border-width:5px;border-radius:18px;transform:none}.backgammon-redesign-shell .game-sidebar,.ludo-redesign-shell .game-sidebar{grid-template-columns:1fr}.ludo-redesign-shell .players-list{padding:12px}.ludo-redesign-shell .player-row{min-height:48px}.backgammon-redesign-shell .backgammon-player-strip{width:100%;min-height:42px;padding:6px 9px}.backgammon-redesign-shell .backgammon-player-strip small{font-size:8px}.backgammon-redesign-shell .backgammon-table{transform:none}.backgammon-redesign-shell .backgammon-dice{min-height:68px}.backgammon-redesign-shell .backgammon-turn-card{padding:12px 14px;gap:8px}.backgammon-redesign-shell .backgammon-turn-card .turn-countdown{margin-top:0}.backgammon-redesign-shell .backgammon-turn-card .turn-countdown>div{gap:4px;font-size:10px}.backgammon-redesign-shell .backgammon-turn-card .turn-countdown>div span{display:none}.backgammon-redesign-shell .backgammon-turn-card .turn-countdown>div b{margin-right:0}.backgammon-redesign-shell .backgammon-turn-card .turn-countdown>i{height:3px;margin-top:3px}.backgammon-redesign-shell .backgammon-turn-card .turn-status{min-height:0;padding:6px 10px;font-size:11px;line-height:1.4}.backgammon-redesign-shell .backgammon-turn-card .backgammon-dice{min-height:46px;padding:6px;gap:6px}.backgammon-redesign-shell .backgammon-turn-card .backgammon-die{width:34px;height:34px}.backgammon-redesign-shell .backgammon-turn-card .button-wide{min-height:40px}.backgammon-redesign-shell .backgammon-online-players{gap:4px}.backgammon-redesign-shell .backgammon-online-players span{min-height:34px;padding:5px 8px}.backgammon-redesign-shell .game-sidebar{max-height:224px}.backgammon-redesign-shell.online-backgammon-layout .game-sidebar{max-height:330px}}@media (prefers-reduced-motion:reduce){.backgammon-redesign-shell *,.ludo-redesign-shell *{scroll-behavior:auto!important}}@supports (height:1svh){@media (max-width:700px){body:has(.ludo-board-shell){--ludo-sheet-offset:max(10px,env(safe-area-inset-bottom,0px));--ludo-free:calc(100svh - 76px - env(safe-area-inset-top, 0px) - var(--ludo-sheet-offset));--ludo-board:min(calc(100vw - 36px),calc(var(--ludo-free) - 190px))}body:has(.ludo-board-shell) .ludo-board-shell{width:var(--ludo-board);max-width:100%;margin-inline:auto}body:has(.ludo-board-shell) .ludo-redesign-shell .game-sidebar{max-height:min(46vh,calc(var(--ludo-free) - var(--ludo-board) - 12px))}}}@supports (height:1svh){@media (max-width:700px){body:has(.backgammon-layout:not(.online-backgammon-layout)){--bg-ratio:1.42;--bg-sheet-offset:max(10px,env(safe-area-inset-bottom,0px));--bg-free:calc(100svh - 76px - env(safe-area-inset-top, 0px) - var(--bg-sheet-offset));--bg-shell-chrome:117px;--bg-table-h:min(calc((100vw - 50px) / var(--bg-ratio)),max(200px,calc(var(--bg-free) - var(--bg-shell-chrome) - 165px - 12px)))}}@media (max-width:420px){body:has(.backgammon-layout:not(.online-backgammon-layout)){--bg-ratio:1.34}}@media (max-width:700px){.backgammon-layout:not(.online-backgammon-layout) .backgammon-table{width:100%;max-width:calc(var(--bg-table-h) * var(--bg-ratio));margin-inline:auto}body:has(.backgammon-layout:not(.online-backgammon-layout)) .backgammon-redesign-shell .game-sidebar{max-height:min(46vh,calc(var(--bg-free) - var(--bg-shell-chrome) - var(--bg-table-h) - 12px))}.backgammon-layout:not(.online-backgammon-layout) .game-sidebar .turn-head{display:none}.backgammon-layout:not(.online-backgammon-layout) .game-sidebar>:first-child{position:static}}}@supports (height:1svh){@media (max-width:700px){body:has(.online-backgammon-layout){--bgo-ratio:1.42;--bgo-offset:max(10px,env(safe-area-inset-bottom,0px));--bgo-free:calc(100svh - 76px - env(safe-area-inset-top, 0px) - var(--bgo-offset));--bgo-table-h:min(calc((100vw - 46px) / var(--bgo-ratio)),max(200px,calc(var(--bgo-free) - 12px - 200px - 12px)))}}@media (max-width:420px){body:has(.online-backgammon-layout){--bgo-ratio:1.34}}@media (max-width:700px){.online-backgammon-layout .backgammon-table{width:100%;max-width:calc(var(--bgo-table-h) * var(--bgo-ratio));margin-inline:auto}body:has(.online-backgammon-layout) .backgammon-redesign-shell.online-backgammon-layout .game-sidebar{max-height:min(46vh,calc(var(--bgo-free) - 12px - var(--bgo-table-h) - 12px))}}}.backgammon-3d-host{position:relative;width:100%;aspect-ratio:1.5;border-radius:18px;overflow:hidden;background:transparent;box-shadow:inset 0 1px rgba(255,226,181,.08)}.backgammon-3d-host canvas{display:block;outline:0;touch-action:none}.backgammon-3d-loading:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,226,181,.05) 50%,transparent 70%);background-size:200% 100%;animation:backgammon-3d-shimmer 1.4s linear infinite}@keyframes backgammon-3d-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.backgammon-3d-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;font-family:inherit;font-size:11px;font-weight:900;line-height:1;box-shadow:0 3px 8px rgba(0,0,0,.5);white-space:nowrap}.backgammon-3d-count.ivory{background:#f3e8d4;color:#2a1a10}.backgammon-3d-count.ebony{background:#1f181c;color:#f3e8d4;border:1px solid #6a5a60}.backgammon-layout:has(.backgammon-3d-host) .backgammon-dice{display:none}.backgammon-redesign-shell .backgammon-online-stage,.backgammon-redesign-shell .backgammon-stage{position:relative}.backgammon-layout.game-table:has(.backgammon-3d-host){background:#050611}.backgammon-layout:has(.backgammon-3d-host)>.backgammon-stage,.backgammon-layout:has(.backgammon-3d-host)>div{flex:1 1 auto;height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr)}.backgammon-layout:has(.backgammon-3d-host)>div>.backgammon-board-shell{height:100%}.backgammon-redesign-shell .backgammon-board-shell:has(.backgammon-3d-host){min-height:0;margin:0;padding:6px;border-radius:18px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px}.backgammon-board-shell:has(.backgammon-3d-host) .backgammon-3d-host{aspect-ratio:auto;height:auto;min-height:0;align-self:stretch;grid-row:2;grid-column:1/-1;border-radius:14px}.backgammon-board-shell:has(.backgammon-3d-host){grid-template-columns:calc(var(--bar-start) - 20px) auto auto minmax(0,1fr) calc(var(--bar-end) - 20px)}.backgammon-board-shell:has(.backgammon-3d-host)>.backgammon-player-strip{grid-row:1}.backgammon-board-shell:has(.backgammon-3d-host)>:is(.top,.backgammon-online-strip:nth-child(1 of .backgammon-online-strip)){grid-column:2}.backgammon-board-shell:has(.backgammon-3d-host)>:is(.bottom,.backgammon-online-strip:nth-child(2 of .backgammon-online-strip)){grid-column:3}.backgammon-board-shell:has(.backgammon-3d-host) .backgammon-player-strip{width:auto;min-width:0;max-width:230px;min-height:0;margin:0;padding:5px 10px;gap:10px;overflow:hidden}.backgammon-board-shell:has(.backgammon-3d-host) .backgammon-player-strip>span{min-width:0}.backgammon-board-shell:has(.backgammon-3d-host) .backgammon-player-strip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backgammon-board-shell:has(.backgammon-3d-host) .backgammon-player-strip small{white-space:nowrap}.backgammon-board-shell:has(.backgammon-3d-host)>.table-status{grid-row:1;grid-column:4}.backgammon-online-strip{display:none}.backgammon-online-stage:has(.backgammon-3d-host)>.backgammon-online-strip{display:flex}.backgammon-strip-score{flex:none;padding:2px 8px;border-radius:999px;background:#ffffff12;color:#f5e6c8;font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.ludo-3d-host{position:relative;width:100%;aspect-ratio:1.12;min-height:0;max-height:calc(100svh - 180px);overflow:hidden;border-radius:18px;background:radial-gradient(circle at 10% 18%,#f1ddc333,transparent 24%),radial-gradient(circle at 91% 78%,#8795b326,transparent 26%),radial-gradient(circle at 91% 12%,#fff0d833,transparent 22%),linear-gradient(128deg,#beb4a8,#dbd0bf 48%,#ede3d2);box-shadow:none}.ludo-3d-host canvas{display:block;outline:0;touch-action:none}.ludo-redesign-shell .ludo-board-shell:has(.ludo-3d-host){display:grid;grid-template-rows:34px minmax(0,1fr);gap:8px;padding:8px;min-width:0}.ludo-redesign-shell .ludo-board-shell:has(:is(.ludo-3d-host,.ludo-curtain)){perspective:none;transform:none}.ludo-redesign-shell .ludo-opponent-card button{width:auto;min-width:62px;white-space:nowrap}.ludo-table-topbar{display:none}.ludo-board-shell:has(.ludo-3d-host) .ludo-table-topbar{display:flex;gap:6px;height:34px;min-width:0}.ludo-seat-chips,.ludo-seat-chips>span{flex:0 1 auto;display:flex;gap:5px;min-width:0}.ludo-seat-chips>span{align-items:center;justify-content:center;padding:4px 7px;border:1px solid #363d5c;border-radius:10px;background:#13182e;color:#c9cce0;font-size:11px}.ludo-seat-chips>span.active{border-color:#e2b16b;color:#fff2dc;background:#25233b}.ludo-seat-chips b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ludo-seat-chips .color-dot{width:9px;height:9px;flex:0 0 9px}.ludo-seat-chips em{flex:none;color:#e9d7b3;font-style:normal;font-weight:900}.ludo-table-topbar>.table-status{flex:1 1 0;font-size:11px;line-height:1.4}.ludo-3d-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border:1px solid #f5dfb6;border-radius:999px;color:#fff3dd;background:#202944;font-size:12px;font-weight:800;box-shadow:0 2px 8px #18213a66}.ludo-keyboard-moves{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ludo-keyboard-moves:focus-within{position:relative;width:190px;height:auto;clip-path:none;display:grid;gap:4px;background:#1c2447;padding:8px;border-radius:8px}.ludo-keyboard-moves button{padding:8px;color:#fff;background:#303b63;border:1px solid #eee1c5}.ludo-redesign-shell.game-table:has(.ludo-3d-host){background:#050611}body:has(.ludo-3d-host) .ludo-redesign-shell .ludo-board-shell:has(.ludo-3d-host){position:relative;flex:1 1 0;width:auto;max-width:none;height:100%;min-height:0;min-width:0;margin:0;padding:5px;border-radius:16px;transform:none;display:grid;grid-template-rows:34px minmax(0,1fr);gap:5px;align-content:stretch}body:has(.ludo-3d-host) .ludo-board-shell .ludo-3d-host{height:100%;width:100%;max-height:none;aspect-ratio:auto;min-height:0;border-radius:12px}.ludo-board-shell:has(.ludo-3d-host) .ludo-table-topbar{padding-inline:calc(var(--bar-start) - 13px) calc(var(--bar-end) - 13px)}.ludo-curtain{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#1c2447,#070918 65%);color:#fff3de;opacity:1;transition:opacity .32s ease}.ludo-curtain.lifting{opacity:0;pointer-events:none}.ludo-curtain-card{display:grid;justify-items:center;gap:8px;text-align:center}.ludo-curtain-card b{font-size:16px}.ludo-curtain-card small{font-size:11px;color:#a9b2d1}.ludo-curtain-dice{display:flex;gap:10px;margin-bottom:8px}.ludo-curtain-dice i{width:26px;height:26px;border-radius:7px;background:#f7ecd3;box-shadow:inset 0 -3px #2b356040,0 8px 18px #0006;animation:ludo-curtain-bounce 1.1s ease-in-out infinite}.ludo-curtain-dice i:last-child{animation-delay:.18s;background:#ee334c}@keyframes ludo-curtain-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-14px) rotate(90deg)}}@media (prefers-reduced-motion:reduce){.ludo-curtain-dice i{animation:none}}