/* Kahwa unified game UI - mobile-first */
:root{--kahwa-bg:#061514;--kahwa-card:#10201B;--kahwa-surface:#132824;--kahwa-text:#FFFFFF;--kahwa-muted:#91A39D;--kahwa-accent:#19D9A0;--kahwa-domino:#43E0BE;--kahwa-tawla:#E0A83F;--kahwa-chess:#D4A0E8;--kahwa-cards:#F0A0C0;--kahwa-red:#FF4D4F;--kahwa-blue:#4A90E2;--kahwa-orange:#FF9F43;}
@media (prefers-color-scheme: light) {
  :root{--kahwa-bg:#f3f4f8;--kahwa-card:#ffffff;--kahwa-surface:#e8e9ed;--kahwa-text:#111;--kahwa-muted:#555;--kahwa-accent:#19D9A0;}
}
.kahwa-board{background:linear-gradient(135deg,var(--kahwa-bg),#07100D);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px;user-select:none;touch-action:manipulation;}
.dark .kahwa-board{background:var(--kahwa-bg);}
.light .kahwa-board{background:#f3f4f8;}
.kahwa-hand{display:flex;gap:8px;overflow-x:auto;padding:10px 0;}
.kahwa-tile{width:56px;height:78px;border-radius:10px;background:#fdf6e3;border:2px solid #222;box-shadow:0 2px 6px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;font-family:system-ui;font-size:20px;font-weight:900;color:#111;flex-shrink:0;cursor:pointer;transition:transform .1s,box-shadow .1s;}
.kahwa-tile:hover{transform:translateY(-4px);box-shadow:0 6px 12px rgba(0,0,0,.35);}
.kahwa-tile.selected{outline:3px solid var(--kahwa-accent);outline-offset:2px;}
.kahwa-tile.dragging{opacity:.7;transform:scale(1.08);}
.kahwa-drop-zone{position:absolute;border:2px dashed var(--kahwa-accent);border-radius:12px;background:rgba(25,217,160,.1);pointer-events:none;z-index:10;}
.kahwa-drop-zone.visible{pointer-events:auto;}
.kahwa-status{font-size:13px;color:var(--kahwa-muted);padding:8px 0;min-height:24px;}
.kahwa-btn{border:0;border-radius:10px;padding:10px 16px;color:#fff;font-weight:700;font-size:14px;cursor:pointer;transition:opacity .15s;opacity:1;}
.kahwa-btn:disabled{opacity:.5;cursor:wait;}
.kahwa-btn.loading::after{content:"⌛";animation:spin 1s linear infinite;display:inline-block;margin-right:6px;}
@keyframes spin{to{transform:rotate(360deg);}}
.kahwa-btn.success{background:linear-gradient(135deg,#19D9A0,#43E0BE);}
.kahwa-btn.error{background:#FF4D4F;}
.kahwa-btn.primary{background:linear-gradient(135deg,#19D9A0,#43E0BE);}
.kahwa-btn.accent{background:#10201B;border:1px solid var(--kahwa-accent);color:#fff;}
.kahwa-overlay{position:fixed;inset:0;background:rgba(6,21,20,.75);z-index:60;display:grid;place-items:center;padding:20px;}
.kahwa-overlay-card{background:var(--kahwa-card);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:24px;max-width:420px;width:100%;text-align:center;box-shadow:0 20px 40px rgba(0,0,0,.35);}
.kahwa-overlay h2{margin:0 0 10px;font-size:22px;color:#fff;}
.kahwa-overlay p{color:var(--kahwa-muted);margin:0 0 16px;}
@media (max-width:760px){
  .kahwa-board{padding:8px;border-radius:12px;}
  .kahwa-tile{width:48px;height:66px;font-size:16px;}
}

/* Domino single-table experience */
body.domino-active .play-stage{padding:0;background:transparent;border:0}
body.domino-active .play-stage>.table-head,body.domino-active .play-stage>.scoreboard,body.domino-active .play-stage>.game-table,body.domino-active .play-stage>.table-controls{display:none!important}
body.domino-active #kahwa-game-stage{width:100%;margin:0}
.domino-table{position:relative;min-height:clamp(560px,78vh,900px);overflow:hidden;border:10px solid #654126;border-radius:38px;background:radial-gradient(circle at 50% 45%,#177b57,#075137 72%);box-shadow:inset 0 0 55px #032b20,0 16px 35px #0008;color:#fff;touch-action:pan-y}
.dom-topbar{position:absolute;z-index:5;top:12px;right:16px;left:16px;display:flex;justify-content:space-between;align-items:center}
.dom-topbar span{color:#7fffd4}.dom-topbar button{width:42px;height:42px;border:1px solid #ffffff45;border-radius:50%;background:#041e18cc;color:#fff;font-size:26px}
.dom-player{position:absolute;z-index:3;top:65px;left:50%;transform:translateX(-50%);text-align:center;background:#041e18dd;border:1px solid #ffffff30;border-radius:16px;padding:8px 14px;min-width:145px}
.dom-player b{display:block}.dom-player small{color:#a9c8bd}.dom-backs{display:flex;justify-content:center;margin-top:5px}.dom-backs i{width:17px;height:30px;margin-right:-8px;border:1px solid #d8b86c;border-radius:4px;background:repeating-linear-gradient(45deg,#092b37 0 3px,#d8b86c 3px 4px)}
.dom-chain{direction:ltr;position:absolute;top:43%;left:9%;right:9%;display:flex;gap:5px;align-items:center;justify-content:center;overflow-x:auto;padding:22px 10px;min-height:115px}
.dom-empty{color:#d5eee6}.dom-tile{direction:ltr;position:relative;width:86px;height:48px;flex:0 0 auto;display:flex;flex-direction:row;padding:3px;border:2px solid #28231d;border-radius:9px;background:#f4ead4;color:#111;box-shadow:0 4px 9px #0008}
.dom-tile>span{position:relative;display:block;flex:1}.dom-tile em{width:2px;height:auto;background:#25211c}.dom-tile.is-double{width:48px;height:86px;flex-direction:column}.dom-tile.is-double em{width:auto;height:2px}.dom-pips{position:absolute;inset:3px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);place-items:center}.dom-pips i{width:7px;height:7px;border-radius:50%;background:#151515}
.dom-pips.p1 i:nth-child(1){grid-area:2/2}.dom-pips.p2 i:nth-child(1){grid-area:1/1}.dom-pips.p2 i:nth-child(2){grid-area:3/3}.dom-pips.p3 i:nth-child(1){grid-area:1/1}.dom-pips.p3 i:nth-child(2){grid-area:2/2}.dom-pips.p3 i:nth-child(3){grid-area:3/3}.dom-pips.p4 i:nth-child(1){grid-area:1/1}.dom-pips.p4 i:nth-child(2){grid-area:1/3}.dom-pips.p4 i:nth-child(3){grid-area:3/1}.dom-pips.p4 i:nth-child(4){grid-area:3/3}.dom-pips.p5 i:nth-child(1){grid-area:1/1}.dom-pips.p5 i:nth-child(2){grid-area:1/3}.dom-pips.p5 i:nth-child(3){grid-area:2/2}.dom-pips.p5 i:nth-child(4){grid-area:3/1}.dom-pips.p5 i:nth-child(5){grid-area:3/3}.dom-pips.p6 i:nth-child(1){grid-area:1/1}.dom-pips.p6 i:nth-child(2){grid-area:2/1}.dom-pips.p6 i:nth-child(3){grid-area:3/1}.dom-pips.p6 i:nth-child(4){grid-area:1/3}.dom-pips.p6 i:nth-child(5){grid-area:2/3}.dom-pips.p6 i:nth-child(6){grid-area:3/3}
.dom-self{position:absolute;z-index:4;right:3%;bottom:18px;left:3%;text-align:center}.dom-self small{display:block;margin-bottom:5px;color:#d6eee6}.dom-hand{display:flex;direction:ltr;justify-content:center;gap:7px;overflow-x:auto;padding:10px}
.hand-tile{cursor:pointer;transition:.18s}.hand-tile.is-legal{outline:3px solid #22e5af;transform:translateY(-7px)}.hand-tile:active{transform:translateY(-12px) scale(1.05)}
.dom-chain-drop{display:none;position:absolute;z-index:6;top:41%;width:75px;height:125px;border:3px dashed #51f5c5;border-radius:15px;background:#003c2caa;place-items:center}.drag-active .dom-chain-drop{display:grid}.dom-chain-drop.left{left:1%}.dom-chain-drop.right{right:1%}
.dom-side-choice{position:absolute;z-index:8;top:58%;left:50%;transform:translateX(-50%);padding:10px;background:#041e18;border-radius:14px}.dom-side-choice button,.dom-tools button{margin:4px;padding:10px 15px;border:1px solid #45dcb2;border-radius:10px;background:#0b3b2e;color:#fff}
.dom-tools{position:absolute;z-index:9;top:58px;right:12px;background:#041e18ed;padding:6px;border-radius:12px}.dom-notice{position:absolute;z-index:7;bottom:135px;left:50%;transform:translateX(-50%);margin:0;padding:6px 14px;border-radius:18px;background:#041e18cc}.dom-notice.good{color:#62f7c9}.dom-notice.bad{color:#ff9aa0}
@media(max-width:700px){body.domino-active .game-toolbar{display:none}.domino-table{min-height:calc(100vh - 20px);border-width:7px;border-radius:25px}.dom-tile{width:74px;height:42px}.dom-tile.is-double{width:42px;height:74px}.dom-pips i{width:6px;height:6px}.dom-chain{left:3%;right:3%}.dom-hand{justify-content:flex-start}}

.dom-score{position:absolute;z-index:6;top:120px;right:14px;width:150px;padding:9px;border:1px solid #ffffff35;border-radius:14px;background:#041e18d9}.dom-score>small{display:block;color:#9bd9c6;margin-bottom:6px}.dom-score>div{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-top:1px solid #ffffff18}.dom-score strong{color:#55f2c3;font-size:18px}
.dom-round-end{position:absolute;z-index:12;top:27%;left:50%;transform:translate(-50%,-50%);display:grid;gap:5px;min-width:220px;padding:16px 22px;text-align:center;border:2px solid #e0b84e;border-radius:18px;background:#041e18f2;box-shadow:0 12px 35px #000}.dom-round-end b{font-size:20px;color:#ffe39a}.dom-round-end strong{font-size:24px;color:#55f2c3}
@media(max-width:700px){.dom-score{top:60px;right:8px;width:120px;font-size:11px}.dom-round-end{top:31%}}

/* Domino top HUD and grab-to-pan chain */
.dom-hud{position:absolute;z-index:8;top:58px;right:14px;left:14px;display:flex;direction:rtl;align-items:flex-start;justify-content:center;pointer-events:none}
.dom-scores{pointer-events:auto;text-align:center}.dom-scores>small{display:block;color:#b7e7d8;margin-bottom:5px}.dom-scores>div{display:flex;justify-content:center;gap:6px;direction:rtl}
.dom-score-card,.dom-stock{box-sizing:border-box;width:92px;height:72px;display:grid;place-items:center;align-content:center;padding:5px;border:1px solid #ffffff35;border-radius:13px;background:#041e18e8;color:#fff}
.dom-score-card b,.dom-stock b{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.dom-score-card strong,.dom-stock strong{color:#55f2c3;font-size:20px;line-height:20px}.dom-score-card small,.dom-stock small{color:#9bd9c6;font-size:10px}
.dom-stock{position:absolute;left:0;top:20px;pointer-events:auto;cursor:pointer}.dom-stock:not(:disabled){border-color:#55f2c3;box-shadow:0 0 0 2px #55f2c344}.dom-stock:disabled{opacity:.62}
.dom-player{top:158px}.dom-player.pos-1{top:42%;left:85px}.dom-player.pos-2{top:42%;left:auto;right:85px;transform:translateX(50%)}.dom-chain{cursor:grab;scrollbar-width:none;touch-action:none;justify-content:flex-start}.dom-chain::-webkit-scrollbar{display:none}.dom-chain.is-panning{cursor:grabbing}.dom-chain>.dom-empty{margin:auto}
@media(max-width:700px){.dom-hud{top:52px;right:7px;left:7px}.dom-score-card,.dom-stock{width:70px;height:62px}.dom-score-card b,.dom-stock b{max-width:62px;font-size:10px}.dom-score-card strong,.dom-stock strong{font-size:17px}.dom-stock{top:18px}.dom-player{top:135px}.dom-player.pos-1{top:39%;left:55px}.dom-player.pos-2{top:39%;right:55px}.dom-chain{top:45%}}

.game-voice{position:fixed;z-index:80;left:50%;bottom:12px;transform:translateX(-50%);display:flex;direction:rtl;align-items:center;gap:6px;max-width:calc(100vw - 18px);padding:7px 9px;border:1px solid #ffffff30;border-radius:18px;background:#041e18ee;box-shadow:0 8px 25px #0008;color:#fff}.game-voice button{border:1px solid #47d9b1;border-radius:12px;background:#0a3b2d;color:#fff;padding:8px 11px;font-weight:700}.game-voice [data-vjoin]{background:#0e9f75}.game-voice [data-vleave]{border-color:#ff7777;background:#682b2b}.game-voice span{white-space:nowrap;color:#8ff0d3;font-size:12px}.game-voice small{position:absolute;right:8px;bottom:100%;max-width:250px;padding:4px 8px;border-radius:8px;background:#041e18;color:#8ff0d3}.game-voice small:empty{display:none}.game-voice small.bad{color:#ff9da1}
@media(max-width:600px){.game-voice{bottom:6px;gap:3px;padding:5px}.game-voice button{padding:7px;font-size:11px}.game-voice span{font-size:10px}}

body.native-game-fullscreen{overflow:hidden}body.native-game-fullscreen #kahwa-game-stage{position:fixed!important;z-index:70;inset:0;width:100vw;height:100vh;background:#061514}body.native-game-fullscreen .domino-table{box-sizing:border-box;width:100%;height:100%;min-height:100vh;border-radius:0}

/* Compact collapsible game voice dock */
.game-voice{left:12px;right:auto;bottom:12px;transform:none;border-radius:16px;padding:5px;gap:4px}
.game-voice>[data-vtoggle]{width:34px;height:34px;padding:0;border-radius:50%;font-size:16px}
.game-voice>[data-vcontrols]{display:flex;align-items:center;gap:3px}
.game-voice>[data-vcontrols] button{width:34px;height:34px;padding:0;border-radius:50%;font-size:15px}
.game-voice>[data-vcontrols] span{min-width:20px;text-align:center;font-size:10px}
.game-voice.is-collapsed>[data-vcontrols]{display:none}.game-voice.is-collapsed{border-radius:50%;padding:3px}
@media(max-width:600px){.game-voice{left:6px;bottom:6px}.game-voice>[data-vtoggle],.game-voice>[data-vcontrols] button{width:31px;height:31px}}

/* Top game and voice control row */
body.domino-active .game-voice{top:76px;bottom:auto;left:12px;right:auto}
.voice-room-controls{display:flex;gap:3px}.voice-room-controls button{width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important}
.voice-room-controls [data-start-room]{background:#087c5d!important;border-color:#55f2c3!important}.voice-room-controls [data-close-room]{background:#702d2d!important;border-color:#ff8d8d!important}
body.native-game-fullscreen .game-voice{top:7px}
@media(max-width:700px){body.domino-active .game-voice{top:7px;left:6px}}

/* Phone landscape: prevent top controls, scores and player cards overlapping */
@media (max-height:650px) and (orientation:landscape){
 body.domino-active .game-voice{top:5px;left:5px;padding:3px;gap:2px}
 .game-voice>[data-vtoggle],.game-voice>[data-vcontrols] button,.voice-room-controls button{width:27px!important;height:27px!important;font-size:12px!important}
 .game-voice>[data-vcontrols]{gap:2px}.game-voice>[data-vcontrols] span{font-size:8px;min-width:14px}
 .dom-hud{top:42px;right:8px;left:8px}.dom-scores>small{font-size:10px;margin-bottom:2px}.dom-score-card,.dom-stock{width:64px;height:52px;padding:3px;border-radius:10px}.dom-score-card b,.dom-stock b{max-width:58px;font-size:9px}.dom-score-card strong,.dom-stock strong{font-size:15px;line-height:15px}.dom-stock{top:13px}
 .dom-player.pos-0{top:29%;right:10px;left:auto;transform:none;min-width:105px;max-width:120px;padding:5px 7px}.dom-player.pos-0 b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dom-player.pos-0 small{font-size:9px}.dom-player.pos-0 .dom-backs i{width:12px;height:22px}
 .dom-topbar{top:7px;right:10px}.dom-topbar span{font-size:11px}.dom-chain{top:43%;min-height:92px}.dom-self{bottom:4px}.dom-self small{font-size:10px;margin-bottom:0}.dom-hand{padding:5px}
 .dom-notice{bottom:92px;font-size:10px}
}

/* Tawla runtime = the preserved Canva original (kahwa-tawla-v2.js +
   tawla-fast-2d.css + tawla-canva-exact.css). No .tawla-* board rules
   may live here: past overrides distorted the original board. Only
   voice/chat dock positioning remains. */
@media (max-width:900px){
 body.tawla-active .game-voice{top:3px!important;left:3px!important;transform:scale(.82);transform-origin:top left}
 body.tawla-active .chat-popup,body.tawla-active [data-chat-popup]{position:fixed!important;z-index:90!important;right:5px!important;bottom:5px!important;max-width:min(280px,75vw)!important;max-height:42dvh!important;overflow:auto!important}
}

/* Server-backed chess room */
body.chess-active .play-stage>.table-head,body.chess-active .play-stage>.scoreboard,body.chess-active .play-stage>.game-table,body.chess-active .play-stage>.table-controls{display:none!important}
.chess-table{max-width:1050px;margin:auto;padding:12px;border:8px solid #38251b;border-radius:22px;background:linear-gradient(145deg,#18130f,#302219);color:#fff;box-shadow:0 15px 35px #0009}
.chess-table>header,.chess-players{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.chess-players>div{flex:1;padding:7px 10px;border:1px solid #ffffff25;border-radius:10px;background:#0d0b0acc}.chess-players small{float:left;color:#d4a0e8}
.chess-layout{display:grid;grid-template-columns:minmax(280px,680px) minmax(170px,1fr);gap:12px}.chess-board{display:grid;grid-template-columns:repeat(8,1fr);border:5px solid #5b3b29;direction:ltr}.chess-square{position:relative;display:grid;place-items:center;aspect-ratio:1;border:0;padding:0;cursor:default}.chess-square.light{background:#ead9bd}.chess-square.dark{background:#805b43}.chess-square:not(:disabled){cursor:pointer}.chess-square span{font-size:clamp(24px,6vw,58px);line-height:1;text-shadow:0 2px 2px #0008}.chess-square small{position:absolute;left:2px;bottom:1px;font-size:8px;color:#25170f99}.chess-square.selected{box-shadow:inset 0 0 0 5px #f6c95d}.chess-square.target:after{content:"";position:absolute;width:28%;aspect-ratio:1;border-radius:50%;background:#1bd79bbb;box-shadow:0 0 9px #1bd79b}.chess-captured{min-height:24px;padding:3px 6px;background:#0b090899;color:#e7d5bc}.chess-layout aside{padding:10px;border:1px solid #ffffff20;border-radius:12px;background:#0c0a09cc}.chess-layout aside h3{margin:0 0 7px}.chess-layout ol{min-height:220px;max-height:470px;overflow:auto;margin:0;padding-right:25px}.chess-layout li{padding:4px;border-bottom:1px solid #ffffff12}.chess-layout [data-resign]{width:100%;margin-top:8px;padding:9px;border:1px solid #ff8a8a;border-radius:9px;background:#6d2020;color:#fff;font-weight:800}.chess-notice{margin:8px 0 0;text-align:center;color:#d4a0e8}.chess-notice.bad{color:#ff8f8f}
@media(max-width:700px){.chess-table{padding:5px;border-width:5px;border-radius:10px}.chess-layout{grid-template-columns:1fr}.chess-layout aside{display:grid;grid-template-columns:1fr auto;gap:5px}.chess-layout aside h3,.chess-layout aside ol{display:none}.chess-layout [data-resign]{margin:0;width:auto}.chess-players{font-size:10px}.chess-square span{font-size:clamp(25px,10vw,44px)}}

/* Server-backed groups and runs card game */
body.cards-active .play-stage>.table-head,body.cards-active .play-stage>.scoreboard,body.cards-active .play-stage>.game-table,body.cards-active .play-stage>.table-controls{display:none!important}.rummy-table{max-width:1120px;margin:auto;padding:12px;border:9px solid #633b21;border-radius:24px;background:radial-gradient(circle,#087158,#033b2d);color:#fff8df;box-shadow:inset 0 0 35px #001d16,0 14px 35px #0008}.rummy-table>header{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.rummy-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px}.rummy-player{display:flex;justify-content:space-between;padding:7px;border:1px solid #ffffff24;border-radius:10px;background:#001f17aa}.rummy-player.active{background:#f6c95d;color:#16382b}.rummy-layout{display:grid;grid-template-columns:1fr 220px;gap:10px;margin-top:10px}.rummy-layout main,.rummy-layout aside{padding:10px;border:1px solid #ffffff20;border-radius:14px;background:#001b14a8}.rummy-piles{display:flex;justify-content:center;gap:28px;min-height:110px}.rummy-piles>button{position:relative;display:grid;place-items:center;width:78px;height:108px;border:2px solid #fff4cf;border-radius:10px;background:transparent;color:#fff}.rummy-piles>button>small{position:absolute;top:100%;margin-top:3px;white-space:nowrap}.rummy-back{background:repeating-linear-gradient(45deg,#e9bb4e 0 3px,#b54936 3px 6px)!important}.rummy-back>b{font-size:23px;text-shadow:0 2px 3px #000}.rummy-melds{display:flex;gap:7px;min-height:88px;margin:18px 0 8px;overflow-x:auto}.rummy-meld{flex:0 0 auto;padding:5px;border-radius:9px;background:#00291ec7}.rummy-meld>div{display:flex}.rummy-hand{display:flex;align-items:end;min-height:120px;padding:18px 5px 3px;overflow-x:auto}.rummy-card{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;width:68px;height:98px;margin-left:-12px;border:2px solid #eadfbe;border-radius:9px;background:#fffdf5;color:#18241e;box-shadow:0 4px 8px #0006;transition:transform .14s}.rummy-card.red{color:#bd2e31}.rummy-card b{font-size:19px}.rummy-card i{font-size:29px;font-style:normal}.rummy-card.selected{transform:translateY(-14px);outline:3px solid #f6c95d}.rummy-meld .rummy-card,.rummy-piles .rummy-card{width:55px;height:78px;margin-left:-16px}.rummy-actions{display:flex;gap:7px;justify-content:center;margin-top:8px}.rummy-actions button{padding:9px 14px;border:1px solid #f6c95d;border-radius:9px;background:#124e3c;color:#fff;font-weight:800}.cards-notice{text-align:center;color:#f6c95d}.cards-notice.bad{color:#ff9696}
@media(max-width:700px){.rummy-table{padding:5px;border-width:5px;border-radius:10px}.rummy-layout{grid-template-columns:1fr}.rummy-layout aside{display:none}.rummy-card{width:58px;height:84px}.rummy-piles{min-height:95px}.rummy-piles>button{width:62px;height:86px}.rummy-player{font-size:10px}}
.dom-chain.dom-snake{display:block;overflow:hidden;padding:6px;cursor:default;touch-action:pan-y;justify-content:flex-start}
.dom-snake-view{margin:0 auto;overflow:hidden}
.dom-snake-board{position:relative;margin:0 auto;transform-origin:top left}
.dom-snake-board .dom-tile{position:absolute;flex:none;margin:0}
.dom-snake-board .dom-pips i{width:var(--pip,7px);height:var(--pip,7px)}
.dom-snake>.dom-empty{display:block;text-align:center;margin-top:30px}
.dom-snake-board .dom-tile.is-double.is-flat{flex-direction:row}
.dom-snake-board .dom-tile.is-double.is-flat em{width:2px;height:auto}
