.dm-room{--dm-gold:#edc578;--dm-border:#e8bb69;--dm-panel:linear-gradient(135deg,#173e5b88,#061b30 65%);color:#fff8e8;min-height:100dvh;font-family:var(--font-nunito),Nunito,sans-serif;background-color:#031526;background-image:radial-gradient(at 50% 15%,#163b5b77,#0000 65%),repeating-linear-gradient(33deg,#ffffff02 0 1px,#0000 1px 4px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;padding:12px clamp(12px,2.2vw,36px) 24px}.dm-room .pc-header,.dm-scene-top,.dm-opponent,.dm-layout{max-width:1440px;margin-left:auto;margin-right:auto}.dm-room .pc-header{isolation:isolate;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-bottom:16px;display:grid;position:relative}.dm-room .pc-header:after{content:"";z-index:-1;background:linear-gradient(90deg,#0000,#a17539,#ffe3a0,#a17539,#0000);height:2px;position:absolute;bottom:0;left:0;right:0}.dm-room .pc-header>a{justify-self:start}.dm-room .pc-header>button:last-child{justify-self:end;margin:0}.dm-room .dm-marquee{background:linear-gradient(140deg,#153c58,#071b30);border:3px solid #e5b76b;border-radius:30px 30px 24px 24px;justify-items:center;width:clamp(220px,27vw,340px);min-width:0;padding:5px 22px 8px;display:grid;box-shadow:0 2px #fff0bb,inset 0 0 0 2px #071221,inset 0 0 0 3px #b89455,0 6px 9px #0009}.dm-title-art{object-fit:contain;filter:drop-shadow(0 3px 1px #0008);width:100%;height:95px;display:block}.dm-room .dm-marquee h1{font:700 clamp(17px,1.6vw,23px)/1.15 var(--font-nunito),Nunito,sans-serif;letter-spacing:.12em;color:#ffd784;text-shadow:0 2px #001220;margin:0}.dm-room button,.dm-room a.pc-button{border:2px solid var(--dm-border);color:#fff8e8;cursor:pointer;background:linear-gradient(#244763 0,#102c44 35%,#05192c 90%);border-radius:18px;min-height:48px;padding:10px 20px;font-weight:800;line-height:1.35;transition:background .12s;box-shadow:inset 0 2px #ffedbeaa,inset 0 0 0 2px #071c2e,inset 0 -2px #9a703c,0 3px #442e1c,0 5px 8px #0007}.dm-room button:hover:not(:disabled),.dm-room a.pc-button:hover{background:linear-gradient(#365d78,#102d46);transform:none}.dm-room button:disabled{opacity:.6;cursor:default}.dm-room button[hidden]{display:none}.dm-room button:focus-visible,.dm-room a:focus-visible,.dm-room .dm-board:focus-visible{outline-offset:4px;outline:3px solid #fff2c9}.dm-help-icon{color:#ffe1a0;border:2px solid #f1c879;border-radius:50%;place-items:center;width:23px;height:23px;margin-right:6px;display:inline-grid}.dm-scene-top{background:var(--dm-panel);border:1px solid #e8bb69;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:4px;display:flex;box-shadow:inset 0 1px #fff1bd44,0 3px 5px #0006}.dm-mode-picker{flex:0 auto;gap:2px;min-width:0;display:flex}.dm-room .dm-mode-picker button{white-space:nowrap;border:1px solid #6e8b9b;border-radius:14px;min-height:46px;padding:9px 18px;font-size:clamp(12px,1.4vw,19px);box-shadow:inset 0 1px #fff4,0 2px #0008}.dm-room .dm-mode-picker button[aria-pressed=true],.dm-room .dm-controls .pc-gold:not(:disabled),.dm-room button.dm-end-active{color:#19212a;background:linear-gradient(#fff1c5,#f6cf83 45%,#c89545);border-color:#ffe0a0;box-shadow:inset 0 2px #fff8e3,inset 0 0 0 2px #e3b568,0 3px #6f4d28,0 4px 7px #0008}.dm-scoreboard{justify-content:center;align-items:center;gap:0;min-width:0;padding:4px 10px;display:flex}.dm-scoreboard>div{white-space:nowrap;border-right:1px solid #cba461;align-items:center;gap:8px;padding:0 clamp(10px,1.4vw,22px);display:flex}.dm-scoreboard span{font-size:clamp(12px,1.2vw,17px)}.dm-scoreboard strong{font:800 clamp(23px,2.5vw,34px)/1.2 var(--font-nunito),Nunito,sans-serif;color:#ffd882;font-variant-numeric:tabular-nums}.dm-scoreboard>small{white-space:nowrap;padding-left:20px;font-size:13px}.dm-opponent{background:var(--dm-panel);border:1px solid #e8bb69;border-radius:22px;justify-content:center;align-items:center;gap:26px;min-height:95px;margin-bottom:14px;padding:12px 24px;display:flex;box-shadow:inset 0 1px #fff0c333,0 4px 8px #0005}.dm-opponent>div:first-child{flex-shrink:0;gap:4px;display:grid}.dm-opponent strong{font-size:18px}.dm-opponent>div:first-child>span{color:#b9cbd8;font-size:11px}.dm-hidden{justify-content:center;align-items:center;gap:10px;min-width:0;display:flex}.dm-hidden>span{filter:drop-shadow(0 4px 2px #000a);flex:0 105px;width:clamp(55px,7vw,105px);display:block}.dm-hidden>b{color:#f3cd84;white-space:nowrap;font-size:12px}.dm-layout{display:block}.dm-table{min-width:0;padding:0}.dm-playfield{background:radial-gradient(#18456b77,#0000 70%),repeating-linear-gradient(24deg,#ffffff03 0 1px,#0000 1px 3px),#08243e;border:5px solid #e5bc73;border-radius:28px;margin:0 0 20px;padding:18px 22px 10px;overflow:hidden;box-shadow:0 2px 0 2px #694524,0 4px 0 3px #e4b76a,0 8px 12px #0008,inset 0 0 0 2px #ffe4a2,inset 0 0 0 5px #031323,inset 0 0 0 6px #ad874c,inset 0 10px 22px #0006}.dm-turn{text-align:center;color:#fff8e6;text-shadow:0 2px #0008;min-height:32px;margin:0 auto 4px;font-size:clamp(15px,1.8vw,23px);font-weight:900;line-height:1.4}.dm-rule-note{text-align:center;color:#acc4d5;margin:3px 0 4px;font-size:10px;line-height:1.4}.dm-board{overscroll-behavior:contain;scrollbar-color:#bc965c #061a2c;scrollbar-width:thin;place-items:center;min-height:210px;max-height:390px;margin:0 0 10px;padding:12px 8px;scroll-padding:15px;display:grid;position:relative;overflow:auto}.dm-chain{filter:drop-shadow(0 5px 2px #0009);flex-shrink:0;width:min(100%,880px);height:auto;max-height:none;display:block;overflow:visible}.dm-board>.dm-chain{min-width:320px}.dm-tile-art{width:100%;height:auto;display:block;overflow:visible}.dm-empty{text-align:center;color:#dce4e6;justify-items:center;padding:15px 4px;display:grid}.dm-opening-art{filter:drop-shadow(0 5px 2px #0009);width:128px;margin-bottom:16px;display:block}.dm-empty strong{font-size:19px}.dm-empty p{margin:6px 0;font-size:12px}.dm-ends{justify-content:space-between;align-items:center;gap:12px;min-height:46px;display:flex}.dm-ends button{border-radius:28px;justify-content:center;align-items:center;gap:10px;min-width:145px;padding:8px 20px;font-size:16px;display:flex}.dm-ends button b{font-size:23px}.dm-room .dm-ends button:disabled{opacity:.7}.dm-selected-preview{text-align:center;color:#bbcfdd;min-height:15px;margin:9px 0 0;font-size:10px;line-height:1.5}.dm-player-rack{background:var(--dm-panel);border:1px solid #edc578;border-radius:22px;grid-template-columns:155px minmax(0,1fr);align-items:center;gap:14px;margin:0 0 18px;padding:16px 20px;display:grid;box-shadow:inset 0 1px #fff0bd33,0 5px 8px #0005}.dm-hand-heading{align-content:center;gap:10px;display:grid}.dm-hand-heading strong{font-size:17px}.dm-hand-heading label{color:#c5d3dc;align-items:center;gap:6px;font-size:10px;line-height:1.4;display:flex}.dm-hand-heading input{accent-color:#e6bd72;flex-shrink:0;width:18px;height:18px;margin:0}.dm-hand{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;min-width:0;min-height:75px;display:flex}.dm-room button.dm-tile{width:calc(14.2857% - 8.57143px);min-width:55px;max-width:150px;min-height:44px;box-shadow:none;touch-action:none;background:0 0;border:2px solid #0000;border-radius:12px;flex:0 calc(14.2857% - 8.57143px);padding:3px;display:block;position:relative}.dm-room button.dm-tile:disabled{opacity:1}.dm-room button.dm-tile:hover:not(:disabled){background:#ffffff0b;transform:none}.dm-room button.dm-tile.dm-selected{background:#e8bd6a11;border-color:#ffe5a0;box-shadow:0 0 0 2px #a77735,inset 0 0 0 1px #fff1c5}.dm-room .dm-rack-tile{filter:drop-shadow(0 4px 2px #0009);display:block}.dm-hand-vertical{display:none}.dm-playable-label{text-align:center;color:#ffe0a0;min-height:10px;font-size:8px;line-height:1;position:absolute;bottom:-11px;left:0;right:0}.dm-tile:not(.dm-selected) .dm-playable-label{font-size:0}.dm-room .dm-tile.dm-playable:after{content:"";background:#f5d58e;border-radius:50%;width:4px;height:4px;position:absolute;top:-6px;left:calc(50% - 2px)}.dm-controls.pc-toolbar{grid-template-columns:1.15fr 1fr 1fr 1fr;gap:16px;margin:0;display:grid}.dm-controls button{border-width:3px;border-radius:22px;justify-content:center;align-items:center;gap:15px;min-height:70px;padding:12px 16px;font-size:clamp(13px,1.5vw,20px);display:flex}.dm-control-icon{text-align:center;color:#ffda8b;filter:drop-shadow(0 2px #0008);flex-shrink:0;width:32px;height:32px;font-size:38px;line-height:28px;display:inline-block}.pc-gold .dm-control-icon{color:#18354b;filter:none}.dm-set-icon{font-size:37px}.dm-controls:has(button:not([hidden]):nth-child(2):not(:disabled)){grid-template-columns:repeat(5,1fr)}.dm-room .pc-notice{color:#c2d3df;min-height:17px;margin:13px 0 4px;font-size:11px;line-height:1.5}.dm-save-note{color:#91aabb;text-align:center;margin:7px 0 0;font-size:9px;line-height:1.5}@keyframes dm-arrive{0%{opacity:.3}to{opacity:1}}.dm-result{max-width:780px;margin:20px auto}.dm-result-heading{align-items:center;gap:15px;display:flex}.dm-result-heading h2{margin:4px 0}.dm-result-heading small{letter-spacing:.1em;font-size:10px}.dm-points{color:#ffda8b;margin-left:auto;font-size:30px}.dm-points small{text-align:center;font-size:10px;display:block}.dm-reveal{flex-wrap:wrap;gap:8px;margin-top:15px;display:flex}.dm-reveal>span:first-child{width:100%;font-size:12px}.dm-reveal svg{width:85px}.dm-four-ends{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dm-four-ends button{min-width:0;padding:7px 8px;font-size:12px}.dm-table-guide{color:#bfd0dd;text-align:center;margin:5px;font-size:10px;line-height:1.5}.dm-spinner-board{max-height:390px;padding:12px 8px;display:block}.dm-spinner-table{grid-template-rows:auto auto auto;grid-template-columns:220px 110px 220px;align-items:center;gap:18px 12px;width:574px;margin:auto;padding:8px 0;display:grid;position:relative}.dm-spinner-center{color:#ffdc91;grid-area:2/2;justify-items:center;gap:8px;display:grid}.dm-spinner-center>span{letter-spacing:.12em;font-size:9px;font-weight:900}.dm-spinner-center>div{width:58px;height:116px}.dm-spinner-center svg{width:58px;height:116px;transform:none}.dm-spinner-center>b{font-size:12px}.dm-spinner-arm{background:#071e3399;border:1px solid #bf9659;border-radius:12px;align-self:center;width:220px;overflow:hidden}.dm-spinner-arm header{background:#0c2d49;border-bottom:1px solid #b08b5144;justify-content:space-between;align-items:center;gap:10px;padding:7px 12px;font-size:12px;display:flex}.dm-spinner-arm header span{color:#d0dce6;font-size:10px}.dm-spinner-arm header strong{color:#ffda8b;place-items:center;min-width:26px;font-size:18px;display:inline-grid}.dm-spinner-arm>p{text-align:center;color:#c0d3e1;margin:18px;font-size:11px}.dm-spinner-arm .dm-chain{width:100%;padding:5px 0}.dm-arm-left{grid-area:2/1}.dm-arm-right{grid-area:2/3}.dm-arm-top{grid-area:1/1/auto/-1;justify-self:center}.dm-arm-bottom{grid-area:3/1/auto/-1;justify-self:center}.dm-spinner-explainer{background:#123f4c;border-left:3px solid #eabb63;border-radius:8px;padding:12px 15px;font-size:14px}.dm-set-choices{grid-template-columns:1fr 1fr;gap:15px;display:grid}.dm-set-choices button{text-align:left;gap:10px;min-width:0;display:grid}.dm-set-choices button[aria-pressed=true]{border-color:#ffdf98;box-shadow:0 0 0 2px #e6bd72}.dm-set-samples{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dm-set-choices small{line-height:1.5}.dm-drag-ghost{z-index:1000;pointer-events:none;filter:drop-shadow(0 7px 5px #0009);width:55px;position:fixed;transform:translate(-50%,-50%)}.dm-drag-ghost[hidden]{display:none}@media (width>=1700px){.dm-board{min-height:260px;max-height:440px}.dm-title-art{height:105px}}@media (width<=1100px){.dm-scene-top{flex-wrap:wrap;justify-content:center;gap:7px}.dm-mode-picker{flex:1;justify-content:center}.dm-mode-picker button{flex:1}.dm-scoreboard{flex:1;justify-content:center}.dm-scoreboard>div{padding:0 12px}.dm-scoreboard>small{padding-left:12px}.dm-room .dm-mode-picker button{padding:8px 12px}.dm-player-rack{grid-template-columns:120px 1fr;padding:14px}.dm-hand-heading strong{font-size:14px}.dm-controls button{gap:8px}.dm-hand{gap:7px}.dm-room button.dm-tile{flex-basis:calc(14.2857% - 6px);width:calc(14.2857% - 6px)}}@media (width<=700px){.dm-room{padding:10px 10px 20px}.dm-room .pc-header{grid-template-columns:70px minmax(0,1fr) 70px;gap:9px;margin-bottom:13px}.dm-room .dm-marquee{border-width:2px;border-radius:20px;justify-self:center;width:min(100%,245px);padding:5px 7px 7px}.dm-title-art{height:70px}.dm-room .dm-marquee h1{letter-spacing:.09em;font-size:16px}.dm-room .pc-header>a.pc-button,.dm-room .pc-header>button{border-radius:14px;min-width:65px;min-height:44px;padding:9px 8px;font-size:12px}.dm-help-icon{width:17px;height:17px;margin-right:2px;font-size:12px}.dm-scene-top{border-radius:16px;gap:8px;margin-bottom:10px;padding:5px 5px 8px}.dm-mode-picker{flex-basis:100%;width:100%}.dm-room .dm-mode-picker button{border-radius:11px;min-height:44px;padding:8px 6px;font-size:12px}.dm-scoreboard{flex-basis:100%;width:100%;padding:0}.dm-scoreboard>div{gap:6px;padding:0 11px}.dm-scoreboard span{font-size:11px}.dm-scoreboard strong{font-size:23px}.dm-scoreboard>small{padding-left:11px;font-size:10px}.dm-opponent{border-radius:16px;gap:12px;min-height:70px;margin-bottom:12px;padding:10px 12px}.dm-opponent strong{font-size:12px}.dm-opponent>div:first-child>span{font-size:9px}.dm-hidden{flex:1;gap:4px}.dm-hidden>span{flex:0 60px;width:calc(14.2857% - 3.42857px);min-width:0}.dm-hidden>b{font-size:9px}.dm-playfield{border-width:3px;border-radius:20px;margin-bottom:17px;padding:14px 11px 10px;box-shadow:0 2px 0 1px #694524,0 3px 0 2px #e4b76a,0 7px 9px #0008,inset 0 0 0 1px #ffe4a2,inset 0 0 0 3px #031323,inset 0 0 0 4px #ad874c}.dm-turn{min-height:22px;font-size:15px}.dm-rule-note{max-width:300px;margin:5px auto;font-size:9px}.dm-board{justify-items:start;min-height:180px;max-height:290px;margin-bottom:9px;padding:9px 2px}.dm-board>.dm-chain{align-self:start;width:100%;min-width:0}.dm-empty{justify-self:center}.dm-opening-art{width:110px}.dm-empty strong{font-size:16px}.dm-empty p{font-size:11px}.dm-ends{gap:8px}.dm-ends button{min-width:115px;min-height:44px;padding:7px 10px;font-size:12px}.dm-ends button b{font-size:20px}.dm-selected-preview{min-height:14px;margin:6px 0 0;font-size:9px}.dm-player-rack{border-radius:17px;grid-template-columns:1fr;gap:12px;margin-bottom:14px;padding:12px 10px 17px}.dm-hand-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;display:flex}.dm-hand-heading strong{font-size:13px}.dm-hand-heading label{font-size:9px}.dm-hand-heading input{width:17px;height:17px}.dm-hand{align-items:center;gap:6px;min-height:95px}.dm-room button.dm-tile{border-radius:9px;flex:0 0 calc(14.2857% - 6px);width:calc(14.2857% - 6px);min-width:36px;max-width:60px;min-height:86px;padding:2px 1px}.dm-room .dm-rack-tile{display:none}.dm-hand-vertical{filter:drop-shadow(0 3px 2px #0008);display:block}.dm-playable-label{font-size:7px;bottom:-9px}.dm-room .dm-tile.dm-playable:after{top:-4px}.dm-controls.pc-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dm-controls button{border-width:2px;border-radius:16px;gap:8px;min-height:56px;padding:10px 8px;font-size:13px}.dm-control-icon{width:25px;height:25px;font-size:30px;line-height:23px}.dm-controls:has(button:not([hidden]):nth-child(2):not(:disabled)){grid-template-columns:repeat(2,minmax(0,1fr))}.dm-room .pc-notice{margin-top:11px;font-size:10px}.dm-save-note{font-size:8px}.dm-four-ends{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-four-ends button{min-width:0;font-size:11px}.dm-spinner-table{margin:0}.dm-spinner-board{max-height:310px;padding:10px 5px}.dm-set-choices{gap:10px}.dm-set-choices button{padding:10px}.dm-result-heading h2{font-size:22px}}@media (width<=360px){.dm-room .pc-header{grid-template-columns:60px minmax(0,1fr) 60px;gap:5px}.dm-room .pc-header>a.pc-button,.dm-room .pc-header>button{min-width:58px;padding:8px 5px;font-size:11px}.dm-title-art{height:57px}.dm-room .dm-marquee h1{font-size:13px}.dm-opponent{flex-direction:column;gap:6px}.dm-opponent>div:first-child{align-items:center;gap:8px;display:flex}.dm-hidden{flex:0 auto;width:100%}.dm-scoreboard>div{padding:0 7px}.dm-room button.dm-tile{flex-basis:calc(14.2857% - 5.14286px);width:calc(14.2857% - 5.14286px);min-width:31px;min-height:75px}}@media (prefers-reduced-motion:reduce){.dm-room *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}body:has(.dm-room) .global-profile-link{vertical-align:middle;margin:0 16px 18px 24px;display:inline-flex;position:relative;bottom:auto;left:auto;right:auto}body:has(.dm-room) .global-settings-button{vertical-align:middle;margin:0 16px 18px 0;display:inline-flex;position:relative;bottom:auto;left:auto;right:auto}@media (width>=701px) and (height<=1000px){.dm-title-art{height:78px}.dm-room .dm-marquee{padding-top:3px;padding-bottom:6px}.dm-opponent{min-height:80px;padding-top:9px;padding-bottom:9px}.dm-board{min-height:175px}.dm-playfield{padding-top:14px;padding-bottom:8px}.dm-rule-note{margin-bottom:0}.dm-player-rack{padding-top:12px;padding-bottom:12px}.dm-controls button{min-height:62px}}@media (width>=701px){.dm-room .pc-header>a.pc-button,.dm-room .pc-header>button,.dm-controls button,.dm-ends button,.dm-opponent strong{font-family:Georgia,serif;font-weight:700}.dm-controls button{font-size:clamp(15px,1.7vw,23px)}.dm-turn{font-family:Georgia,serif;font-weight:700}.dm-opponent strong{font-size:20px}}body:has(.dm-room){background:#031526}@media (width<=700px){.dm-board{min-height:155px}.dm-room button.dm-tile{flex:0 0 calc(25% - 4.5px);width:calc(25% - 4.5px);min-width:44px;max-width:100px;min-height:48px;margin:2px 0 5px}.dm-room .dm-rack-tile{display:block}.dm-hand-vertical{display:none}.dm-hand{gap:6px;min-height:105px}.dm-room .dm-tile.dm-playable:after{top:-3px}}.dm-board{display:block}.dm-board>.dm-chain{margin:0 auto}.dm-board>.dm-empty{margin:auto}.dm-opponent{background:linear-gradient(110deg,#19465b,#0b253b 55%,#071c30);justify-content:space-between;gap:18px;padding:8px 20px}.dm-opponent>div.dm-opponent-identity:first-child{flex-shrink:0;align-items:center;gap:12px;display:flex}.dm-opponent-identity>div{gap:5px;display:grid}.dm-opponent-identity span{color:#bfd1da;font-size:11px}.dm-opponent-portrait{object-fit:contain;background:radial-gradient(#d6a84f55,#071d31);border:2px solid #d9b66e;border-radius:50%;width:62px;height:62px;box-shadow:0 3px 8px #0006}.dm-opponent .dm-banter{color:#ffe2a2;max-width:230px;margin:0;font-size:13px;font-style:italic;line-height:1.5}.dm-opponent .dm-hidden{flex:0 540px}.dm-hidden>span{max-width:75px}.dm-playfield{background:radial-gradient(at 45% 35%,#34626d44,#0000 75%),repeating-linear-gradient(0deg,#ffffff03 0 1px,#0000 1px 4px),repeating-linear-gradient(90deg,#00000008 0 1px,#0000 1px 4px),#0c293d}.dm-board{height:clamp(150px,100dvh - 720px,290px);min-height:160px;max-height:none;overflow:auto}.dm-board>.dm-chain{width:min(100%,790px)}.dm-spinner-board{height:clamp(190px,100dvh - 720px,290px)}.dm-room .dm-result{color:#fff4da;background:linear-gradient(135deg,#183e4d,#071d30);border:2px solid #e8c376;border-radius:22px;padding:20px;box-shadow:inset 0 0 0 3px #071b2c,0 8px 22px #0006}.dm-result-ribbon{text-align:center;letter-spacing:.18em;color:#f3cc83;border-bottom:1px solid #bc965c66;padding:0 0 14px;font-size:12px}.dm-zero-note:empty{display:none}.dm-zero-note{color:#f7d791;font-size:13px;line-height:1.6}.dm-result-heading{padding-top:12px}.dm-last-tile{animation:.25s ease-out dm-settle}@keyframes dm-settle{0%{opacity:.35;filter:brightness(1.5)}to{opacity:1;filter:brightness()}}.dm-room .dm-hand-heading strong{color:#ffe3a9}.dm-room .dm-tile.dm-playable:after{width:6px;height:6px;box-shadow:0 0 6px #edc57877}.dm-opponent[data-mood=thinking] .dm-opponent-portrait{border-color:#fff1c3}.dm-opponent[data-mood=applauding] .dm-opponent-portrait{box-shadow:0 0 14px #f0bf5d66}@media (width>=701px) and (height<=850px){.dm-room{padding-top:7px}.dm-room .pc-header{margin-bottom:10px}.dm-title-art{height:55px}.dm-room .dm-marquee h1{font-size:18px}.dm-scene-top{margin-bottom:10px}.dm-opponent{min-height:64px;margin-bottom:12px}.dm-opponent-portrait{width:48px;height:48px}.dm-playfield{margin-bottom:15px}.dm-player-rack{margin-bottom:12px;padding:8px 16px}.dm-controls button{min-height:54px}.dm-room .pc-notice{margin-top:8px}}@media (width<=700px){.dm-opponent{grid-template-columns:1fr 1fr;gap:8px;padding:10px;display:grid}.dm-opponent .dm-opponent-identity{gap:8px}.dm-opponent-portrait{width:44px;height:44px}.dm-opponent-identity span{font-size:9px}.dm-opponent .dm-banter{text-align:right;font-size:10px}.dm-opponent .dm-hidden{grid-column:1/-1;gap:6px;width:100%}.dm-hidden>span{max-width:48px}.dm-board{height:190px;min-height:190px}.dm-spinner-board{height:240px}.dm-room .dm-result{padding:14px}.dm-result-heading h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.dm-last-tile{animation:none}}.dm-room{padding-top:8px;padding-bottom:12px}.dm-room .pc-header{gap:12px;margin-bottom:10px}.dm-room .dm-marquee{border-radius:18px;align-items:center;gap:12px;width:auto;padding:5px 20px;display:flex}.dm-room .dm-title-art{width:125px;height:58px}.dm-room .dm-marquee h1{letter-spacing:.1em;font-size:18px}.dm-room .dm-scene-top{margin-bottom:9px}.dm-room .dm-opponent{gap:18px;min-height:58px;margin-bottom:10px;padding:7px 16px}.dm-room .dm-opponent-portrait{width:44px;height:44px}.dm-room .dm-opponent strong{font-size:14px}.dm-room .dm-hidden>span{max-width:58px}.dm-room .dm-banter{font-size:11px}.dm-room .dm-view-bar{flex-shrink:0;align-items:center;gap:10px;margin:0 0 5px;display:flex}.dm-room .dm-view-bar>button{border-radius:11px;min-height:44px;padding:6px 14px;font-size:12px}.dm-view-bar>span{color:#c8d6df;font-size:10px}.dm-end-locations{gap:5px;margin-left:auto;display:flex}.dm-room .dm-end-locations button{border-width:1px;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-width:55px;min-height:44px;padding:4px 9px;font-size:10px;display:flex;box-shadow:inset 0 1px #ffedbe55,0 2px #0005}.dm-end-locations b{color:#ffe09c;font-size:17px}.dm-room .dm-board{touch-action:pan-x pan-y;place-items:center;min-height:160px;max-height:none;padding:8px;display:grid;overflow:auto}.dm-room .dm-board.dm-fit-view{overflow:hidden}.dm-canvas-slot{flex:none;max-width:none;position:relative}.dm-canvas{transform-origin:0 0;position:absolute;top:0;left:0}.dm-room .dm-canvas>.dm-chain{width:100%;min-width:0;max-width:none;height:auto}.dm-room .dm-spinner-table{margin:0}.dm-room .dm-canvas .dm-chain{filter:drop-shadow(0 3px 1px #0008)}.dm-room .dm-playfield{margin-bottom:12px;padding:10px 13px 7px}.dm-room .dm-turn{min-height:27px;font-size:19px}.dm-room .dm-rule-note{margin:0 0 5px}.dm-room .dm-selected-preview{color:#e2d1ac;min-height:17px;margin-top:5px;font-size:11px}.dm-room .dm-table-guide{display:none}.dm-room .dm-player-rack{gap:10px;margin-bottom:10px;padding:10px 14px}.dm-room .dm-controls button{border-width:2px;border-radius:13px;gap:8px;min-height:48px;padding:6px 12px;font-size:14px}.dm-room .dm-control-icon{width:24px;height:24px;font-size:28px;line-height:22px}.dm-room .pc-notice{margin:7px 0 0}.dm-room .dm-save-note{margin-top:3px}body:has(.dm-room) .global-profile-link{display:none}body:has(.dm-room) .global-settings-button{z-index:5;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;display:grid;position:absolute;inset:20px 120px auto auto}body:has(.dm-room) .global-settings-button>span{display:none}@media (width>=701px){.dm-room:not(.dm-round-finished){flex-direction:column;height:100svh;min-height:650px;display:flex;overflow:hidden}.dm-room .pc-header,.dm-room .dm-scene-top,.dm-room .dm-opponent,.dm-room .dm-layout{width:100%}.dm-room:not(.dm-round-finished) .dm-layout{flex:1;min-height:0;display:flex}.dm-room:not(.dm-round-finished) .dm-table,.dm-room:not(.dm-round-finished) .dm-playfield{flex-direction:column;flex:1;min-height:0;display:flex}.dm-room:not(.dm-round-finished) .dm-board{flex:1;min-height:0}.dm-room .dm-rule-note,.dm-room .dm-turn,.dm-room .dm-ends,.dm-room .dm-selected-preview,.dm-room .dm-player-rack,.dm-room .dm-wood-footer,.dm-room .pc-notice,.dm-room .dm-save-note{flex-shrink:0}}@media (width<=700px){.dm-room{padding:6px 7px 10px}.dm-room .pc-header{grid-template-columns:55px minmax(0,1fr) 55px;gap:6px;margin-bottom:7px;padding-right:46px}.dm-room .dm-marquee{border-radius:13px;justify-self:center;gap:0;width:100%;max-width:200px;padding:2px 5px;display:grid}.dm-room .dm-title-art{width:95px;height:40px}.dm-room .dm-marquee h1{letter-spacing:.08em;font-size:11px}.dm-room .pc-header>a.pc-button,.dm-room .pc-header>button{min-width:44px;min-height:44px;padding:6px;font-size:11px}.dm-help-icon{display:none}.dm-room .dm-scene-top{gap:3px;margin-bottom:6px;padding:3px}.dm-room .dm-mode-picker button{min-height:44px;padding:6px 4px;font-size:11px}.dm-room .dm-scoreboard{padding:2px}.dm-room .dm-scoreboard>div{gap:5px;padding:0 9px}.dm-room .dm-scoreboard strong{font-size:18px}.dm-room .dm-scoreboard span,.dm-room .dm-scoreboard>small{font-size:9px}.dm-room .dm-opponent{flex-direction:row;gap:9px;min-height:44px;margin-bottom:7px;padding:5px 9px}.dm-room .dm-opponent-identity{flex:none}.dm-room .dm-opponent-portrait{width:34px;height:34px}.dm-room .dm-opponent strong{font-size:11px}.dm-room .dm-opponent-identity>div>span,.dm-room .dm-banter{display:none}.dm-room .dm-hidden{flex:1;gap:3px;width:auto}.dm-room .dm-hidden>span{max-width:37px}.dm-room .dm-playfield{margin-bottom:10px;padding:8px 8px 7px}.dm-room .dm-turn{min-height:21px;margin-bottom:2px;font-size:14px}.dm-room .dm-rule-note{display:none}.dm-room .dm-view-bar{flex-wrap:wrap;gap:5px;margin-bottom:3px}.dm-room .dm-view-bar>span{display:none}.dm-room .dm-view-bar>button{padding:4px 9px;font-size:10px}.dm-room .dm-end-locations{flex:1;justify-content:flex-end;gap:4px}.dm-room .dm-end-locations button{gap:4px;min-width:45px;padding:4px 6px;font-size:9px}.dm-room .dm-end-locations b{font-size:15px}.dm-room .dm-view-bar:has(.dm-end-locations button:nth-child(3))>.dm-end-locations{flex-basis:100%;justify-content:space-between}.dm-room .dm-view-bar:has(.dm-end-locations button:nth-child(3))>.dm-end-locations button{flex:1}.dm-room .dm-board{height:clamp(210px,40svh,390px);min-height:0;margin-bottom:5px}.dm-room .dm-ends{gap:6px}.dm-room .dm-ends button{flex:1;min-width:0;min-height:44px;padding:6px;font-size:11px}.dm-room .dm-four-ends{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-room .dm-selected-preview{font-size:10px;line-height:1.4}.dm-room .dm-player-rack{gap:9px;padding:8px 8px 12px}.dm-room .dm-hand{scrollbar-color:#cda665 #072335;overscroll-behavior-x:contain;flex-wrap:nowrap;justify-content:flex-start;min-height:88px;padding:4px 3px 10px;overflow-x:auto}.dm-room button.dm-tile{flex:0 0 46px;width:46px;min-width:46px;max-width:none;min-height:88px}.dm-room .dm-hand-heading label{min-height:24px}.dm-room .dm-controls.pc-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dm-room .dm-controls button{min-height:44px;padding:6px;font-size:11px}.dm-room .dm-control-icon{width:20px;height:20px;font-size:24px}.dm-room .dm-scoreboard>small{padding-left:8px}.dm-room .dm-selected-preview{min-height:28px}body:has(.dm-room) .global-settings-button{width:40px;min-width:40px;height:44px;min-height:44px;top:16px;right:8px}}@media (prefers-reduced-motion:reduce){.dm-room *{transition:none!important;animation:none!important}}.reduce-motion .dm-room *{transition:none!important;animation:none!important}.dm-rack-scroll-note{display:none}body:has(.dm-room) .global-settings-button{color:#fff2d1;background:linear-gradient(#244763,#071b30);border:1px solid #edc578;border-radius:12px;right:150px;box-shadow:inset 0 1px #ffedbe66,0 2px #5d4325}@media (width<=700px){.dm-room:not(.dm-round-finished){flex-direction:column;height:100svh;min-height:650px;display:flex;overflow:hidden}.dm-room .dm-opponent{display:flex}.dm-room .pc-header,.dm-room .dm-scene-top,.dm-room .dm-opponent{flex-shrink:0}.dm-room:not(.dm-round-finished) .dm-layout{flex:1;min-height:0;display:flex}.dm-room:not(.dm-round-finished) .dm-table,.dm-room:not(.dm-round-finished) .dm-playfield{flex-direction:column;flex:1;min-height:0;display:flex}.dm-room:not(.dm-round-finished) .dm-board{flex:1;height:auto;min-height:0}.dm-room .dm-view-bar,.dm-room .dm-turn,.dm-room .dm-ends,.dm-room .dm-selected-preview,.dm-room .dm-player-rack,.dm-room .dm-wood-footer,.dm-room .pc-notice,.dm-room .dm-save-note{flex-shrink:0}.dm-room .dm-rack-scroll-note{color:#cbbd9e;margin-top:-4px;font-size:9px;display:block}.dm-room .dm-player-rack{gap:5px}.dm-room .dm-hand{min-height:81px;padding-bottom:6px}.dm-room button.dm-tile{flex-basis:44px;width:44px;min-width:44px;min-height:80px}.dm-room .dm-opponent-identity{gap:5px}.dm-room .dm-hidden{margin-left:auto}.dm-room .dm-opponent-portrait{width:30px;height:30px}.dm-room .dm-hidden>span{max-width:26px}.dm-room .dm-opponent{gap:5px;min-height:39px;padding:4px 7px}.dm-room .dm-selected-preview{min-height:15px}.dm-room .pc-notice{min-height:12px;margin-top:5px;font-size:9px;line-height:1.3}.dm-room .dm-save-note{font-size:8px;line-height:1.2}body:has(.dm-room) .global-settings-button{top:16px;right:8px}.dm-room.dm-page .pc-header{grid-template-columns:48px minmax(0,1fr) 48px;gap:5px;width:100%;padding-right:46px;display:grid}.dm-room.dm-page .dm-rack-tile{display:none}.dm-room.dm-page .dm-hand-vertical{width:100%;height:auto;display:block}.dm-room.dm-page .dm-hand-heading{margin-bottom:0}.dm-room.dm-page .dm-opponent{justify-content:space-between;padding-left:7px;display:flex}.dm-room.dm-page .dm-hidden{width:auto}.dm-room.dm-page .dm-hidden>span{flex:0 26px}.dm-room.dm-page .dm-hidden .dm-tile-art{width:100%}}.dm-end-menu{z-index:6;margin-left:auto;position:relative}.dm-end-menu>summary{cursor:pointer;background:#102e43;border:1px solid #cda764;border-radius:11px;place-items:center;min-width:88px;min-height:44px;padding:6px 13px;font-size:12px;font-weight:700;list-style:none;display:grid}.dm-end-menu>summary::-webkit-details-marker{display:none}.dm-end-menu>summary:after{content:" ▾"}.dm-end-menu .dm-end-locations{white-space:nowrap;z-index:7;background:#08243e;border:1px solid #edc578;border-radius:12px;padding:7px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 6px 15px #0008}.dm-end-menu:not(:has(button)){display:none}@media (width<=700px){.dm-room .dm-view-bar:has(.dm-end-locations button:nth-child(3)) .dm-end-locations{flex-basis:auto}.dm-room .dm-end-menu>summary{min-width:80px;font-size:10px}.dm-room .dm-four-ends{grid-template-columns:repeat(4,minmax(0,1fr))}.dm-room .dm-four-ends button{gap:4px;padding:3px;font-size:10px}.dm-room .dm-four-ends button b{font-size:17px}.dm-room.dm-page .dm-hand{box-sizing:border-box;height:90px;min-height:90px;padding:3px 3px 6px}.dm-room .dm-view-bar{flex-wrap:nowrap}.dm-room .dm-empty{padding:5px 0}.dm-room .dm-opening-art{width:95px;margin-bottom:7px}.dm-room .dm-empty p{display:none}.dm-room .dm-player-rack{margin-bottom:7px}}.dm-room .dm-board.dm-close-view{place-items:start}.dm-result-link{text-align:center;color:#ffe1a1;background:#102e43;border:1px solid #cda764;border-radius:10px;min-height:44px;margin-top:6px;padding:11px;font-size:13px;font-weight:800;display:block}@media (width<=700px){.dm-room.dm-page .dm-hand{overflow-y:hidden}.dm-room .dm-playable-label{display:none}.dm-room .dm-tile.dm-playable:after{top:-2px}}.dm-room .dm-board{box-sizing:border-box;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%}.dm-room .dm-canvas-slot{justify-self:start}.dm-room .dm-fit-view .dm-canvas-slot{justify-self:center}.dm-room.dm-round-finished .dm-board{height:clamp(240px,43svh,440px);min-height:0}.dm-room .dm-result{color:#fff6e3;outline-offset:3px;box-sizing:border-box;background:linear-gradient(125deg,#193d50,#071e31 70%);border:2px solid #e6bd74;border-radius:22px;grid-template-columns:minmax(180px,28%) minmax(0,1fr);align-items:center;gap:24px;width:100%;max-width:1060px;margin:8px auto 22px;padding:20px 26px;scroll-margin-top:12px;display:grid;box-shadow:inset 0 0 0 3px #fff1c51a,0 7px 20px #0005}.dm-result-portrait{isolation:isolate;background:radial-gradient(at 50% 70%,#e7bd6855,#0000 68%);border-radius:50% 50% 24px 24px;align-self:center;min-width:0;padding:14px 0 0;position:relative;overflow:hidden}.dm-result-portrait:after{content:"";background:linear-gradient(90deg,#0000,#edc578,#0000);height:2px;position:absolute;bottom:0;left:8%;right:8%}.dm-result-portrait img{z-index:1;object-fit:contain;object-position:bottom;width:100%;height:auto;max-height:260px;animation:.5s ease-out both dm-result-enter;display:block;position:relative}.dm-result-portrait i{border:1px solid #f6d48566;border-radius:50%;position:absolute;inset:8%;transform:rotate(-20deg)}.dm-result-copy{min-width:0}.dm-result-copy .dm-result-ribbon{letter-spacing:.13em;color:#f4d58e;margin-bottom:10px;font-size:11px;font-weight:800}.dm-room .dm-result-heading h2{color:#fff2ce;font:600 clamp(23px,2.6vw,34px)/1.15 Fredoka,Nunito,sans-serif}.dm-room .dm-result p{color:#e5e5da;margin:10px 0;font-size:14px;line-height:1.5}.dm-room .dm-result .dm-zero-note:empty{display:none}.dm-room .dm-result .dm-points{text-align:center;white-space:nowrap;background:#061928;border:1px solid #dfbb70;border-radius:13px;min-width:68px;padding:9px 12px}.dm-room .dm-points small{letter-spacing:0;color:#efe2c1;font:800 11px/1.4 Nunito,sans-serif}.dm-room .dm-result .pc-toolbar{flex-wrap:wrap;gap:9px;margin-top:14px;display:flex}.dm-room .dm-result .pc-toolbar>*{justify-content:center;align-items:center;min-height:44px;padding:9px 14px;font-size:13px;display:inline-flex}.dm-room .dm-reveal{border-top:1px solid #e8bb6944;gap:6px;margin-top:16px;padding-top:12px}.dm-room .dm-reveal svg{width:68px;height:34px}.dm-room .dm-reveal>span:first-child{color:#d9c6a5;font-size:11px}.dm-result[data-outcome=win] .dm-result-portrait{background:radial-gradient(at 50% 70%,#ffce6880,#0000 70%)}.dm-result[data-outcome=tie] .dm-result-portrait{background:radial-gradient(at 50% 70%,#9ac8df66,#0000 70%)}@keyframes dm-result-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){.dm-room .dm-result{border-radius:17px;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:5px auto 15px;padding:14px 12px}.dm-result-portrait{align-self:start;margin-top:7px}.dm-result-portrait img{max-height:145px}.dm-room .dm-result-heading{flex-wrap:wrap;align-items:flex-start;gap:8px}.dm-room .dm-result-heading h2{font-size:22px}.dm-room .dm-result-heading small{font-size:9px}.dm-room .dm-result .dm-points{min-width:58px;margin-left:0;padding:4px 9px;font-size:25px}.dm-room .dm-result p{margin:8px 0;font-size:12px}.dm-result-copy .dm-result-ribbon{letter-spacing:.07em;font-size:9px}.dm-room .dm-result .pc-toolbar{gap:7px}.dm-room .dm-result .pc-toolbar>*{width:100%;padding:8px;font-size:12px}.dm-room .dm-reveal svg{width:53px;height:27px}.dm-room .dm-result .dm-reveal{margin-left:-102px}.dm-room .dm-result .dm-reveal>span:first-child{font-size:10px}.dm-room .dm-result:focus-visible{outline:2px solid #ffe4a2}}@media (prefers-reduced-motion:reduce){.dm-result-portrait img{animation:none}}.reduce-motion .dm-result-portrait img{animation:none}@media (width<=700px){.dm-room .dm-result{align-items:start;row-gap:9px}.dm-result-copy{display:contents}.dm-room .dm-result-portrait{grid-area:1/1/span 2;margin:0}.dm-room .dm-result-copy>*{grid-column:1/-1}.dm-room .dm-result-copy>.dm-result-ribbon,.dm-room .dm-result-copy>.dm-result-heading{grid-column:2}.dm-room .dm-result-copy>.dm-result-ribbon{margin:0}.dm-room .dm-result p{margin:3px 0}.dm-room .dm-result .pc-toolbar{grid-template-columns:1fr 1fr;margin-top:4px;display:grid}.dm-room .dm-result .pc-toolbar>.pc-gold{grid-column:1/-1}.dm-room .dm-result .dm-reveal{margin-top:4px;margin-left:0}.dm-room .dm-result-heading h2{margin-top:0}}
