.dm-shell{--board-ratio:1}.dm-shell .shell__board{width:min(100cqw,760px);height:100cqh}.dm-board{background:var(--paper);border:1.5px solid var(--rule);border-radius:var(--radius);flex-direction:column;width:100%;height:100%;margin:0 auto;display:flex;position:relative;overflow:hidden}.dm-info{border-bottom:1px solid var(--rule);color:var(--ink-soft);flex:none;justify-content:space-between;gap:8px;margin:0;padding:3px 8px;font-size:.8125rem;display:flex}.dm-table{background-color:color-mix(in srgb, var(--paper) 92%, var(--ink) 8%);flex:1 1 0;min-height:0;position:relative}.dm-table__svg{width:100%;height:100%;display:block}.dm-face{fill:var(--paper);stroke:var(--ink);stroke-width:.06px}.dm-face--spinner{fill:var(--marker);stroke-width:.1px}.dm-divider{stroke:var(--ink);stroke-width:.07px;stroke-linecap:round}.dm-pip{fill:var(--ink)}.dm-placed.is-last .dm-face{stroke-width:.11px;stroke:var(--o)}.dm-placed.is-last.is-last .dm-face--spinner{stroke:var(--o)}.dm-spot{cursor:pointer;outline:none}.dm-spot__hit{fill:#0000}.dm-spot__mark{fill:color-mix(in srgb, var(--marker) 45%, transparent);stroke:var(--x);stroke-width:.09px;stroke-dasharray:.25 .16}.dm-spot:focus-visible .dm-spot__mark,.dm-spot.is-hover .dm-spot__mark,.dm-spot:hover .dm-spot__mark{fill:var(--marker);stroke-width:.13px}.dm-spot__gain{font:700 .7px var(--font-sans,sans-serif);fill:var(--x);pointer-events:none}.dm-hand{--dm-tile-w:clamp(30px, 100cqw / 9.2, 56px);min-height:calc(var(--dm-tile-w) * 2 + 18px);border-top:1.5px solid var(--rule);background:var(--paper);flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:4px;padding:8px 6px;display:flex}.dm-tile{appearance:none;width:var(--dm-tile-w);height:calc(var(--dm-tile-w) * 2);cursor:pointer;opacity:.42;touch-action:none;background:0 0;border:none;flex:none;padding:0;transition:transform .12s,opacity .12s}.dm-tile.is-playable{opacity:1}.dm-tile.is-selected{transform:translateY(-6px)}.dm-tile.is-selected .dm-face{fill:var(--marker);stroke-width:.1px}.dm-tile.is-playable .dm-face{stroke-width:.1px}.dm-tile:focus-visible{outline:3px solid var(--x);outline-offset:1px;border-radius:4px}.dm-tile[aria-disabled=true]{cursor:not-allowed}.dm-tile__svg{width:100%;height:100%;display:block}.dm-ghost{z-index:40;pointer-events:none;filter:drop-shadow(0 4px 6px #00000040);width:44px;height:88px;position:fixed;transform:translate(-50%,-60%)}.dm-strip{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:4px}.dm-chip{padding:3px 6px 3px 5px}.dm-name__short{display:none}@media (max-width:639px),(max-height:500px){.dm-strip--3 .shell-chip__mark,.dm-strip--4 .shell-chip__mark{display:none}.dm-strip--3 .dm-name__full,.dm-strip--4 .dm-name__full{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.dm-strip--3 .dm-name__short,.dm-strip--4 .dm-name__short{display:inline}.dm-strip--3 .shell-chip__who,.dm-strip--4 .shell-chip__who{width:100%}.dm-strip--3 .shell-chip__name,.dm-strip--4 .shell-chip__name{font-size:.875rem}.dm-strip--3 .shell-chip__detail,.dm-strip--4 .shell-chip__detail{padding-inline-end:26px}.dm-strip--3 .shell-chip__score,.dm-strip--4 .shell-chip__score{inset-inline-end:6px;font-size:1.05rem;position:absolute;bottom:2px}}.dm-back{width:22px;height:12px;stroke:var(--ink-soft);stroke-width:1px;fill:none}.dm-status{--dm-status-scale:1;position:relative}.dm-status[data-fit=small]{--dm-status-scale:.88}.dm-status[data-fit=smaller]{--dm-status-scale:.78}.dm-status[data-fit=smallest],.dm-status[data-fit=grow]{--dm-status-scale:.7}.dm-status__lines{display:block}.dm-status.is-thinking:after{inset-block-end:1px;margin:0;position:absolute;left:50%;transform:translate(-50%)}.dm-status__event{font-size:max(.75rem, .9375rem * var(--dm-status-scale));color:var(--ink-soft)}.dm-status__now{font-size:max(.75rem, 1.05rem * var(--dm-status-scale));font-weight:700}.dm-summary{background:var(--paper);border-top:1.5px solid var(--rule);flex:none;max-height:56%;padding:8px 12px;overflow:auto}.dm-summary h3{font-family:var(--font-hand);margin:0 0 6px;font-size:1.15rem}.dm-summary__table{border-collapse:collapse;width:100%;font-size:.875rem}.dm-summary__table th{text-align:start;width:26%;padding:3px 4px 3px 0;font-weight:700}.dm-summary__table td{vertical-align:middle;padding:3px 4px}.dm-summary__table tr.is-winner th{background:var(--highlight-win)}.dm-summary__pips{text-align:end;white-space:nowrap}.dm-summary__hand{flex-wrap:wrap;gap:2px;display:flex}.dm-minitile{width:15px;height:30px;display:inline-block}.dm-minitile svg{width:100%;height:100%;display:block}.dm-summary__gain{margin:8px 0 0;font-weight:700}.dm-summary__note{color:var(--ink-soft);margin:4px 0 0}.dm-summary .btn{margin-top:10px}.dm-field__note{color:var(--ink-soft);margin:6px 0 0;font-size:.875rem}.dm-check{align-items:center;gap:8px;min-height:44px;display:flex}.dm-record{gap:4px;margin:0 0 10px;padding:0;list-style:none;display:grid}.dm-record li{justify-content:space-between;gap:8px;display:flex}@media (max-width:699px) and (min-height:501px){.dm-shell:has(#result[open]) .shell__stage{place-items:start center}:is(.dm-shell:has(#result[open]) .shell__board,.dm-shell:has(#result[open]) .dm-board){height:auto}.dm-shell:has(#result[open]) .dm-hand{display:none}.dm-shell:has(#result[open]) .dm-table{height:max(130px, calc(100svh - var(--site-header-h) - var(--site-offer-h,0px) - var(--shell-title-h) - 156px - var(--dm-dialog-room,370px)));flex:none}}body:has(.dm--online) .online-toasts .online-note--away{display:none}.dm-table-note{z-index:2;border:1.5px solid var(--ink);background:var(--paper);text-align:center;border-radius:4px;margin:0;padding:4px 8px;font-size:.875rem;position:absolute;inset:6px 6px auto}.dm--online .dm-board{max-width:720px;height:min(66svh,620px);min-height:360px}.dm-room-note{text-align:center;margin:8px 0 0;font-size:.875rem}.dm-room-actions{justify-content:center;margin:8px 0;display:flex}.dm-room-actions .shell-btn{min-width:140px;min-height:48px}@container (min-width:600px) and (min-height:480px){.dm-hand{--dm-tile-w:clamp(32px, 100cqw / 13, 56px)}}@media (prefers-reduced-motion:reduce){.dm-tile{transition:none}}
