.dm-page .deal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.dm-page h1{margin:4px 0}.dm-page summary{cursor:pointer;font-weight:700}.dm-table{background:radial-gradient(at 50% 30%,#24595a,#102c32);border:1px solid #ffffff25;border-radius:24px;margin:16px 0;padding:18px;box-shadow:0 12px 30px #0002}.dm-players{grid-template-columns:repeat(var(--player-count),minmax(0,1fr));gap:8px;margin:0 0 10px;display:grid}.dm-players article{background:#152e34;border:1px solid #ffffff25;border-radius:11px;flex-direction:column;gap:5px;min-width:0;min-height:75px;padding:10px;display:flex}.dm-players strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.dm-players span{color:#f7dfa3;font-size:17px;font-weight:700}.dm-players .current{background:#30443c;box-shadow:0 0 0 2px #f1ce66}.dm-turn{text-align:center;font-size:20px;font-weight:700}.dm-ends{color:#b7d2d3;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px;display:flex}.dm-ends b{color:#f7dfa3;margin-left:6px;font-size:22px}.dm-chain{background:#0b242b70;border:1px solid #7da9a33a;border-radius:14px;flex-wrap:wrap;align-items:center;gap:5px;min-height:110px;max-height:320px;padding:15px;display:flex;overflow:auto}.dm-chain>p{color:#c1d8d8;text-align:center;width:100%;font-size:14px}.dm-tile{color:#142329;background:linear-gradient(140deg,#fff8df,#d7d2bd);border:2px solid #ddd3b9;border-radius:8px;align-items:center;width:100px;min-width:100px;height:50px;padding:4px;display:flex;box-shadow:2px 3px #0005;opacity:1!important}.dm-half{flex:1;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:2px;height:100%;padding:3px;display:grid}.dm-half+.dm-half{border-left:1px solid #776f5b70}.dm-half i{aspect-ratio:1;border-radius:50%;place-self:center;width:100%;max-width:9px;max-height:9px;display:block}.dm-hand .dm-tile{flex-direction:column;width:58px;min-width:58px;height:112px;padding:5px}.dm-hand .dm-half{width:100%}.dm-hand .dm-half+.dm-half{border-top:1px solid #776f5b70;border-left:0}.dm-hand .dm-tile:disabled{opacity:.5!important}.dm-hand .legal{cursor:pointer;border-color:#f3ce61;box-shadow:0 0 0 2px #f3ce6155,0 0 14px #f3ce6130}.dm-hand .selected{outline-offset:2px;outline:3px solid #fff;transform:translateY(-5px)}.dm-tile:focus-visible{outline-offset:3px;outline:3px solid #fff}.dm-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;display:flex}.dm-stock{color:#d0dbd1;align-items:center;gap:7px;font-size:14px;display:flex}.dm-hand-panel{border-top:1px solid #ffffff25;padding-top:15px}.dm-hand-panel h2{margin:0 0 6px;font-size:20px}.dm-hand-panel .subnote{margin:6px 0;font-size:13px}.dm-hand{flex-wrap:wrap;gap:12px;padding:14px 3px;display:flex}.dm-placement{background:#10282e;border:1px solid #edce7860;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.dm-chat{overflow-wrap:anywhere;max-height:230px;overflow:auto}.dm-result h2{color:#f1ce66}.dm-page .deal-actions input{min-width:0}@media (max-width:600px){.dm-table{border-radius:18px;padding:10px}.dm-status{padding:8px}.dm-players{gap:5px}.dm-players article{gap:4px;min-height:70px;padding:7px 5px}.dm-players strong{font-size:12px}.dm-players span{font-size:14px}.dm-players small{font-size:10px}.dm-turn{font-size:16px}.dm-board{padding:12px 0}.dm-chain{gap:4px;min-height:100px;max-height:220px;padding:10px}.dm-chain .dm-tile{border-radius:6px;width:76px;min-width:76px;height:39px;padding:2px}.dm-chain .dm-half{gap:1px;padding:3px}.dm-chain .dm-half i{max-width:6px;max-height:6px}.dm-hand{gap:10px}.dm-hand .dm-tile{width:49px;min-width:49px;height:96px}.dm-hand .dm-half i{max-width:7px;max-height:7px}.dm-page .deal-header{flex-wrap:wrap}.dm-page .deal-header h1{font-size:24px}.dm-placement .primary,.dm-controls .primary{padding:10px;font-size:13px}.dm-ends{font-size:11px}.dm-hand-panel h2{font-size:18px}}.dm-page{max-width:1040px}.dm-page button{min-height:44px}.dm-table{background:radial-gradient(at 50% 20%,#235b62,#112e38 75%);border:1px solid #558989;border-radius:28px;padding:20px;box-shadow:0 16px 45px #0004,inset 0 0 0 5px #0a232745}.dm-status{z-index:20;background:#102e38;border:1px solid #558989;border-radius:16px;padding:8px;position:sticky;top:8px;box-shadow:0 8px 20px #0005}.dm-players article{background:#0c2839;border-color:#507887;border-radius:15px;min-height:0;padding:12px}.dm-players strong,.dm-players span{font-size:16px}.dm-players span{color:#d0e9ec}.dm-players small{color:#ffd88a;font-size:14px}.dm-players .current{background:#284849;border-color:#edb865;box-shadow:inset 0 3px #edb865}.dm-players .out{opacity:.6}.dm-turn{color:#ffe0a4;padding:8px}.dm-board{padding:4px 0 12px}.dm-ends{gap:12px;margin-bottom:12px}.dm-end{color:#d8eaec;background:#143540;border:1px solid #62848c;border-radius:13px;align-items:center;gap:10px;padding:8px 12px;font-size:14px;display:flex;opacity:1!important;min-height:50px!important}.dm-end b{background:#fffaf0;border-radius:7px;min-width:30px;margin:0;padding:3px;font-size:26px;line-height:1}.dm-end small{font-size:14px;font-weight:700}.dm-end.available{background:#185a5b;border:2px solid #6eecdc;box-shadow:0 0 0 3px #6eecdc20}.dm-end:disabled{cursor:default}.dm-chain{background:#0d263280;border:1px solid #81b7bb3a;border-radius:20px;width:100%;min-height:140px;max-height:none;padding:0;display:block;position:relative;overflow:hidden;box-shadow:inset 0 2px 12px #0002}.dm-path{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.dm-path path{fill:none;stroke:#78b3b0;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.dm-chain-piece{height:42px;position:absolute;transform:translate(-50%,-50%)}.dm-chain-piece>div{width:100%;height:100%}.dm-chain .dm-tile{cursor:default;width:100%;min-width:0;height:42px;min-height:42px;padding:3px}.dm-chain>.dm-empty-chain{text-align:center;color:#c5dcdf;place-items:center;margin:0;padding:20px;font-size:16px;line-height:1.5;display:grid;position:absolute;inset:0}.dm-tile{background:linear-gradient(145deg,#fffdf5,#eee7d4);border:1px solid #fff7db;border-radius:10px;transition:transform .18s,box-shadow .18s,border-color .18s;box-shadow:0 3px #b4ae9d,0 7px 12px #0004}.dm-half{position:relative}.dm-half+.dm-half{border-color:#b3b5aa}.dm-half .dot{background:var(--pip-color);box-shadow:inset 0 1px 1px #0002}.dm-zero:after{content:"";border:2px solid #81929b;border-radius:50%;width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dm-hand-panel{border-color:#84b4b33a}.dm-hand-panel .subnote{font-size:16px;line-height:1.4}.dm-hand{justify-content:center;padding:15px 3px 18px}.dm-hand .dm-tile:disabled{filter:saturate(.65);opacity:.7!important}.dm-hand .legal{border:2px solid #81ebd8;box-shadow:0 3px #519b92,0 0 0 3px #81ebd820}.dm-hand .legal:hover{transform:translateY(-4px)}.dm-hand .selected{outline-offset:2px;border-color:#edb865;outline:3px solid #edb865;transform:translateY(-8px);box-shadow:0 8px 18px #0004}:is(.dm-tile:focus-visible,.dm-end:focus-visible){outline-offset:3px;outline:3px solid #fff}.dm-stock{color:#d1e4e6;background:#12313a;border-radius:12px;padding:9px 12px;font-size:16px}.dm-placement{background:#0d2934;border-color:#edb86580;border-radius:16px;justify-content:center}.dm-placement strong{color:#ffe0a4}.dm-arrived{animation:.35s ease-out dm-place}@keyframes dm-place{0%{opacity:0;transform:translate(-50%,-70%)scale(.88)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@media (max-width:600px){.dm-table{border-radius:22px;padding:12px 8px}.dm-status{padding:0 0 8px}.dm-players article{min-height:0;padding:8px 5px}.dm-players strong,.dm-players span,.dm-players small{font-size:14px}.dm-turn{padding:5px;font-size:18px}.dm-ends{gap:7px}.dm-end{flex-wrap:wrap;flex:1;justify-content:space-between;gap:7px;padding:7px}.dm-end span{max-width:100px}.dm-end small{width:100%}.dm-hand{gap:7px;padding-inline:0}.dm-hand .dm-tile{width:46px;min-width:46px;height:90px;padding:3px}.dm-half i{max-width:7px;max-height:7px}.dm-page .deal-header{gap:8px}.dm-page .deal-header h1{font-size:23px}.dm-page .deal-header .secondary{padding:9px}.dm-placement .primary,.dm-controls .primary{padding:10px;font-size:16px}.dm-status{padding:6px;top:6px}.dm-status .dm-players{margin-bottom:4px}.dm-status .dm-players article{padding:6px 5px}.dm-status .dm-turn{padding:3px}}@media (prefers-reduced-motion:reduce){.dm-arrived{animation:none}.dm-tile{transition:none}.dm-hand .legal:hover{transform:none}}.dm-page .dm-table{background:radial-gradient(at 45% 32%,#ffffff0b,#0000 65%) padding-box padding-box,repeating-linear-gradient(33deg,#ffffff03 0 1px,#00000004 1px 3px) padding-box padding-box,radial-gradient(at 50% 35%,#207348,#0c4d30 80%) padding-box padding-box,repeating-linear-gradient(3deg,#593621 0,#875a37 3px,#6b4329 7px,#946640 11px) border-box;border:12px solid #0000;border-radius:44px;padding:14px;position:relative;box-shadow:0 15px 30px #0005,inset 0 0 0 2px #b9965a,inset 0 0 0 5px #073b29,inset 0 7px 20px #0005,0 0 0 2px #38261c}.dm-table .dm-status{box-shadow:none;z-index:2;background:0 0;border:0;border-radius:0;padding:0;position:relative;top:auto}.dm-table .dm-players{gap:7px;margin-bottom:5px}.dm-table .dm-players article{background:#072d22e6;border:1px solid #76aa8870;border-radius:12px;flex-flow:wrap;align-items:center;gap:4px 8px;min-height:40px;padding:7px 10px;box-shadow:0 3px 6px #0002}.dm-table .dm-players strong{flex:1;min-width:0;font-size:14px}.dm-table .dm-players span{white-space:nowrap;color:#e8e1bd;font-size:12px}.dm-table .dm-players small{display:none}.dm-table .dm-players .current{background:#154431;border-color:#f0cc78;box-shadow:0 0 0 1px #f0cc78,inset 0 2px #f0cc7830}.dm-table .dm-turn{padding:4px 0;font-size:16px;line-height:1.3}.dm-table .dm-board{padding:5px 0 8px}.dm-table .dm-ends{gap:8px;margin-bottom:4px}.dm-table .dm-end{background:#073b2acc;border-color:#87a78a80;border-radius:10px;gap:7px;padding:5px 10px;font-size:12px;min-height:44px!important}.dm-table .dm-end b{background:#f5edda;min-width:28px;font-size:23px;color:#17251e!important}.dm-table .dm-end.available{background:#1a6244;border-color:#f0cc78;box-shadow:0 0 0 2px #f0cc7825}.dm-table .dm-end small{font-size:12px}.dm-table .dm-chain{min-height:280px;box-shadow:none;background:0 0;border:0;border-radius:16px;overflow:hidden}.dm-table .dm-path{width:auto;max-width:none;height:auto;max-height:none;bottom:auto;right:auto}.dm-table .dm-path path{stroke:#b6ca9545;stroke-width:3px}.dm-table .dm-empty-chain{color:#d7e8d3;max-width:440px;margin:auto;font-size:14px}.dm-table .dm-tile{background:linear-gradient(145deg,#fffef3,#e8dfc8);border:1px solid #d2c4a5;border-radius:7px;box-shadow:0 3px #a89a7e,0 5px 8px #0006,inset 0 1px #fff;opacity:1!important}.dm-table .dm-half .dot{background:#18231e;box-shadow:inset 0 1px 2px #0008,0 1px #fff8}.dm-table .dm-zero:after{display:none}.dm-table .dm-controls{gap:8px;margin:0 0 7px}.dm-table .dm-stock{background:#073b2ab0;border:1px solid #6f9a7770;border-radius:9px;padding:5px 9px;font-size:13px}.dm-table .dm-hand-panel{border-color:#c4d1a44d;padding-top:9px}.dm-table .dm-hand-panel h2{margin:0;font-size:16px}.dm-table .dm-hand-panel .subnote{color:#c8ddcc;margin:4px 0;font-size:12px}.dm-table .dm-hand{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bb9b60 #073b2a;touch-action:pan-x pan-y;flex-wrap:nowrap;justify-content:flex-start;gap:9px;padding:13px 5px 14px;overflow-x:auto}.dm-table .dm-hand .dm-tile{flex:0 0 58px;width:58px;min-width:58px;height:112px}.dm-table .dm-hand .dm-tile:disabled{filter:none;opacity:1!important}.dm-table .dm-hand .legal{border:2px solid #f0cc78;box-shadow:0 3px #a89a7e,0 0 0 2px #f0cc7840,0 6px 8px #0005}.dm-table .dm-hand .selected{border-color:#86e9d1;outline-color:#86e9d1;box-shadow:0 3px #7baf99,0 9px 14px #0005}.dm-table .dm-placement{background:#073b2ae6;border-color:#d4b46b70;border-radius:12px;gap:7px;padding:8px}.dm-page>.subnote{margin:8px 0;font-size:12px}.dm-page .deal-header .eyebrow{font-size:10px}.dm-page .deal-header h1{font-size:25px}@media (max-width:600px){.dm-page .dm-table{border-width:8px;border-radius:28px;margin:10px 0;padding:10px 7px}.dm-table .dm-players{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-table .dm-players article{gap:3px 5px;min-height:34px;padding:6px 7px}.dm-table .dm-players strong{font-size:12px}.dm-table .dm-players span{font-size:11px}.dm-table .dm-ends{gap:6px}.dm-table .dm-end{flex-wrap:wrap;flex:1;padding:5px 7px}.dm-table .dm-end span{max-width:none}.dm-table .dm-chain{min-height:320px}.dm-table .dm-hand .dm-tile{flex-basis:50px;width:50px;min-width:50px;height:98px}.dm-table .dm-hand{gap:8px}.dm-page .deal-header h1{font-size:22px}.dm-page .deal-header .secondary{min-height:44px;padding:8px}}@media (orientation:landscape) and (max-height:600px){.dm-page .dm-table{border-width:8px;border-radius:32px;margin:7px 0;padding:8px 12px}.dm-table .dm-players{grid-template-columns:repeat(var(--player-count),minmax(0,1fr))}.dm-table .dm-chain{min-height:180px}.dm-table .dm-hand .dm-tile{flex-basis:46px;width:46px;min-width:46px;height:90px}.dm-table .dm-hand{padding-block:11px}.dm-table .dm-turn{font-size:14px}}.dm-table .dm-hand{touch-action:auto;flex-wrap:wrap;justify-content:center;overflow-x:visible}.dm-table .dm-chain{min-height:220px}.dm-table .dm-chain-piece .dm-tile{border-radius:4px;width:100%;min-width:0;height:100%;padding:2px;box-shadow:0 2px #a89a7e,0 3px 4px #0005,inset 0 1px #fff;min-height:0!important}.dm-table .dm-chain .dm-half{gap:1px;min-width:0;padding:1px}.dm-table .dm-chain .dm-half i{max-width:7px;max-height:7px}.dm-table .dm-half.dm-open-left .dot{background:#168baa}.dm-table .dm-half.dm-open-right .dot{background:#bd6a19}.dm-table .dm-half.dm-open-left{background:#168baa18;border-radius:3px}.dm-table .dm-half.dm-open-right{background:#bd6a1918;border-radius:3px}.dm-table .dm-half.dm-open-available{background:#5de7b65c;border-radius:3px;box-shadow:inset 0 0 0 2px #168659}.dm-table .dm-half.dm-open-available .dot{background:#086b43}.dm-table .dm-open-left.dm-zero:after,.dm-table .dm-open-right.dm-zero:after{border-width:1px;border-color:#168baa;width:6px;height:6px;display:block}.dm-table .dm-open-right.dm-zero:after{border-color:#bd6a19}@media (orientation:landscape) and (max-height:600px){.dm-table .dm-chain{min-height:170px}}
