/* One landscape canvas, including mobile browsers without orientation locking. */
html.on-pdk-table{--pdk-width:max(100vw,100vh);--pdk-height:min(100vw,100vh);overflow:hidden}
@supports(width:100dvw){html.on-pdk-table{--pdk-width:max(100dvw,100dvh);--pdk-height:min(100dvw,100dvh)}}
html.on-pdk-table body{background:#0c5360;overflow:hidden;overscroll-behavior:none}
.pdk-scene{--pdk-card-height:clamp(84px,calc(var(--pdk-height)*.26),168px);--pdk-card-width:calc(var(--pdk-card-height)*.7143);--pdk-step:min(64px,calc((var(--pdk-width)*.87 - var(--pdk-card-width))/15));--pdk-lift:clamp(15px,calc(var(--pdk-height)*.048),26px);position:fixed;inset:0;width:var(--pdk-width);height:var(--pdk-height);max-width:none;box-sizing:border-box;color:#fff9e7;background:#137f83 url('./pdk-assets/table-courtyard.svg') center/100% 100% no-repeat;overflow:hidden;isolation:isolate;font-family:system-ui,-apple-system,'PingFang SC',sans-serif}
.pdk-scene button{border:1px solid #cde7d24d;border-radius:5px;padding:5px 12px;background:linear-gradient(#346d72,#214a58);color:#fff9e8;cursor:pointer;font:600 13px/1.15 system-ui,sans-serif;touch-action:manipulation;min-height:30px;white-space:nowrap;box-shadow:0 2px 3px #072f3940;text-shadow:0 1px 2px #163b4155}
.pdk-scene button[hidden]{display:none!important}.pdk-scene button:disabled{opacity:.48;cursor:default}.pdk-scene button:focus-visible{outline:2px solid #fff0b0;outline-offset:3px}.pdk-scene button.primary-button{background:linear-gradient(#ffd57c 0%,#edb348 49%,#db9132 51%,#f8c35e 100%);border-color:#ffe4a0;color:#fffaf0;text-shadow:0 1px 2px #966127;font-weight:800;box-shadow:inset 0 1px 2px #fff2b8,0 3px 0 #8c662b,0 4px 7px #103f4250}
.pdk-top{position:absolute;top:max(7px,env(safe-area-inset-top));left:max(16px,calc(var(--pdk-width)*.043));right:max(14px,calc(var(--pdk-width)*.035));height:34px;display:flex;align-items:flex-start;gap:7px;z-index:5}.pdk-top button{min-height:29px;padding:4px 8px;font-size:11px}.pdk-top .pdk-menu-button{font-size:23px;font-weight:400;line-height:23px;padding:1px 7px;background:linear-gradient(#51777b,#253f4f);border-color:#c4e5df69}.pdk-room-meta{display:grid;gap:2px;min-width:98px;padding:3px 8px;background:#173e4e8f;border-radius:3px;text-shadow:0 1px 2px #16373b}.pdk-room-meta b{font-size:11px;font-weight:600}.pdk-room-meta span{font-size:11px;color:#eee9b2}.pdk-game-badge{font-size:12px;font-weight:700;text-shadow:0 1px 3px #163c47;padding-top:3px;color:#e4f3e6}.pdk-game-badge small{display:block;font-size:11px;color:#d9e4c7;margin-top:2px;font-weight:400}.pdk-top-actions{margin-left:auto;display:flex;gap:6px;align-items:center}.pdk-top .table-sound-entry{display:flex;gap:0;align-items:center;padding:4px 6px}.pdk-top .table-sound-entry svg{width:18px;height:18px}.pdk-top .table-sound-entry span{display:none}
.pdk-table-label{position:absolute;left:12%;top:50%;font:italic 800 clamp(17px,calc(var(--pdk-height)*.047),30px)/1.2 system-ui,sans-serif;color:#064f6169;letter-spacing:2px;transform:skewX(-8deg);text-shadow:0 1px #6fc3b41a;pointer-events:none}.pdk-table-label span{display:block;font-size:9px;letter-spacing:1px;margin-top:4px;font-style:normal;font-weight:500}
.pdk-stage{position:absolute;inset:0;pointer-events:none}.pdk-stage button{pointer-events:auto}.pdk-opponents{position:absolute;right:17.5%;top:12px;z-index:6}.pdk-person{position:relative;display:flex;align-items:center;gap:6px;min-width:0;box-sizing:border-box}.pdk-avatar{position:relative;width:clamp(35px,calc(var(--pdk-height)*.115),67px);height:clamp(35px,calc(var(--pdk-height)*.115),67px);flex-shrink:0;border:2px solid #c5bb86;border-radius:4px;background:linear-gradient(#c1d1bd,#548b81);display:grid;place-items:center;box-shadow:0 2px 4px #103a4e6b}.pdk-avatar>img,.pdk-avatar>.avatar-initials{width:100%;height:100%;object-fit:cover;overflow:hidden;border-radius:2px}.pdk-avatar .avatar-placeholder{font-size:18px}.pdk-person.is-actor .pdk-avatar{border-color:#fff3ac;box-shadow:0 0 0 1px #e7b949,0 0 12px #fff29c80}.pdk-owner{position:absolute;right:-6px;bottom:-6px;width:16px;height:16px;border-radius:5px;background:linear-gradient(#ffb289,#d65137);border:1px solid #ffe1b2;color:#fff6db;font:600 10px/15px system-ui;text-align:center;box-shadow:0 1px 2px #67482b80}.pdk-person>div{display:grid;gap:2px;min-width:0}.pdk-person b{font-size:11px;font-weight:500;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 2px #17444b}.pdk-person strong{font:600 11px/1.4 system-ui;color:#fff1b5;font-variant-numeric:tabular-nums}.pdk-person strong small{font-size:11px;color:#d8e6d4;margin-left:2px}.pdk-opponents .pdk-person{flex-direction:column;gap:2px;min-width:65px;max-width:90px}.pdk-opponents .pdk-person>div{text-align:center;max-width:90px;background:#194c5c80;border-radius:0 0 3px 3px;padding:1px 6px}.pdk-opponents .pdk-person b{max-width:86px;font-size:11px}.pdk-opponents strong small{display:none}.pdk-count{position:absolute;right:calc(100% + 8px);top:1px;display:grid;place-items:center;min-width:25px;height:35px;border:1px solid #e5edff;border-radius:3px;color:#fff;background:repeating-linear-gradient(45deg,#679fd4 0 2px,#7daedd 2px 4px);box-shadow:inset 0 0 0 2px #d4e8f7,0 2px 3px #21465850;padding:2px;box-sizing:border-box}.pdk-count em{font:600 18px/1.1 system-ui;font-style:normal;text-shadow:0 1px 1px #3c69a6}.pdk-count small{font-size:11px;line-height:9px}.pdk-count.is-low{background:linear-gradient(#eda359,#ce572f);border-color:#fff3b1}.pdk-report{position:absolute;left:100%;top:8px;margin-left:6px;font-size:12px;font-weight:800;color:#fff0b1;white-space:nowrap;text-shadow:0 1px 2px #a3541e,0 0 8px #d48b45}.pdk-offline{font-size:11px;color:#e5c6a6;position:absolute;top:100%;margin-top:3px}.pdk-seat-state{font-size:11px;color:#f0e4cc;margin-top:3px;text-shadow:0 1px 2px #25474f}.pdk-seat-state.is-ready{color:#e6ffb8}.pdk-empty{display:grid;justify-items:center;gap:4px;font-size:11px;color:#deead1}.pdk-empty>span{width:40px;height:40px;border:1px dashed #c8e3cf80;border-radius:4px;font-size:26px;text-align:center;line-height:36px;background:#164b5850}.pdk-empty button{font-size:11px;min-height:24px;padding:3px 6px}
.pdk-play-area{position:absolute;left:50%;transform:translateX(-50%);width:65%;display:flex;align-items:center;justify-content:center;min-height:35px;pointer-events:none}.pdk-play-opponent{top:13%}.pdk-play-self{top:40%}.pdk-played-cards{--pdk-played-width:clamp(35px,calc(var(--pdk-height)*.13),85px);display:flex;justify-content:center;padding-right:calc(var(--pdk-played-width)*.37);max-width:100%;box-sizing:border-box;filter:drop-shadow(0 3px 2px #0c525b40)}.pdk-played-cards .playing-card{width:var(--pdk-played-width);height:calc(var(--pdk-played-width)*1.4);flex:0 0 var(--pdk-played-width);margin-right:calc(var(--pdk-played-width)*-.37);min-width:0;padding:0;border-radius:3px}.pdk-pattern-label{position:absolute;bottom:0;left:50%;transform:translate(-50%,25%);font-size:clamp(16px,calc(var(--pdk-height)*.052),30px);font-weight:900;letter-spacing:2px;color:#fff7b7;white-space:nowrap;text-shadow:0 2px #9e681f,1px 0 #b98939,-1px 0 #b98939,0 0 6px #f9bc53;opacity:.95}.pdk-pattern-label[data-pattern=bomb]{color:#fff0a1;text-shadow:0 2px #a33c15,0 0 10px #ffad43}.pdk-pass-label{font-size:clamp(19px,calc(var(--pdk-height)*.058),34px);font-weight:700;color:#f9f5da;text-shadow:0 2px 3px #2e625e,0 0 6px #e7e7a950;letter-spacing:2px}.pdk-lead-label{position:absolute;left:50%;top:31%;transform:translateX(-50%);font-size:14px;color:#f9f2c8;text-shadow:0 2px 2px #1d6770;margin:0}.pdk-scene[data-phase=complete] .pdk-play-area{opacity:.12}.pdk-play-area.is-new .pdk-played-cards{animation:pdk-card-land .28s cubic-bezier(.2,.9,.3,1)}.pdk-play-self.is-new .pdk-played-cards{animation-name:pdk-card-lift}.pdk-play-area.is-new .pdk-pattern-label,.pdk-play-area.is-new .pdk-pass-label{animation:pdk-label-pop .45s ease-out}
.pdk-hand-dock{position:absolute;bottom:max(33px,calc(var(--pdk-height)*.08));left:0;right:0;height:var(--pdk-card-height);z-index:4}.pdk-hand{display:flex;justify-content:flex-start;width:max-content;max-width:90%;height:var(--pdk-card-height);margin:0 auto;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;filter:drop-shadow(0 3px 3px #103f4e55)}.pdk-scene button.pdk-card{position:relative;display:block;flex:0 0 var(--pdk-card-width);width:var(--pdk-card-width);height:var(--pdk-card-height);margin-right:calc(var(--pdk-step) - var(--pdk-card-width));padding:0;border:0;border-radius:3px;overflow:visible;background:none;min-height:0;touch-action:none;transition:transform .11s cubic-bezier(.2,.8,.3,1);box-shadow:none;user-select:none;-webkit-user-select:none}.pdk-scene button.pdk-card:last-child{margin-right:0}.pdk-card .playing-card{width:100%;height:100%;min-width:0;margin:0;padding:0;display:block;box-sizing:border-box;border-radius:3px;box-shadow:-1px 0 1px #385b6070}.pdk-card .classic-card-art{pointer-events:none;-webkit-user-drag:none}.pdk-scene button.pdk-card:disabled{opacity:1}.pdk-card.is-selected{transform:translateY(calc(-1*var(--pdk-lift)))}.pdk-card.is-selected:after{content:'';position:absolute;inset:0;border:1px solid #a9d9ef;background:#75c7ef25;border-radius:3px;pointer-events:none}.pdk-scene.is-dealing .pdk-card{animation:pdk-dealt .45s both;animation-delay:calc(var(--card-index)*.024s)}
.pdk-controls{position:absolute;left:50%;bottom:calc(100% + var(--pdk-height)*.075);transform:translateX(-50%);display:grid;justify-items:center;min-width:260px;max-width:90%;z-index:6}.pdk-action-buttons,.pdk-ready-buttons{display:flex;align-items:center;justify-content:center;gap:14px}.pdk-action-buttons button,.pdk-ready-buttons>button:first-child{min-width:clamp(95px,calc(var(--pdk-width)*.135),160px);height:clamp(34px,calc(var(--pdk-height)*.092),55px);font-size:clamp(15px,calc(var(--pdk-height)*.043),24px);border-radius:5px;letter-spacing:1px}.pdk-scene button.pdk-hint-button{background:linear-gradient(#73e290 0%,#43c96b 49%,#26b553 51%,#51ce77 100%);border-color:#baf5a7;box-shadow:inset 0 1px 2px #e9ffd5,0 3px 0 #29865a,0 4px 6px #0f586250;color:#ffffe9;text-shadow:0 1px 2px #3c9857}.pdk-scene button.pdk-pass-button{background:linear-gradient(#81ced8,#419fb5);border-color:#c5f1f1;box-shadow:inset 0 1px 1px #ecffff,0 3px 0 #27718c}.pdk-action-buttons .pdk-turn{min-width:30px;margin:0 -4px;text-align:center;font:700 clamp(23px,calc(var(--pdk-height)*.067),36px)/1.1 system-ui;color:#fffdf0;text-shadow:0 2px 3px #245a6b;font-variant-numeric:tabular-nums}.pdk-turn.is-urgent{color:#ffe1a0!important;animation:pdk-urgent .8s infinite alternate}.pdk-scene:not(.pdk-my-turn) .pdk-action-buttons>button{visibility:hidden;pointer-events:none}.pdk-scene:not(.pdk-my-turn) .pdk-action-buttons .pdk-turn{position:absolute;bottom:calc(var(--pdk-height)*.16);left:50%;transform:translateX(-50%)}.pdk-ready-buttons{gap:16px}.pdk-ready-buttons button[data-action=auto-ready]{background:#1e68716b;border:1px solid #a4d4ca70;font-size:11px;min-height:30px}.pdk-ready-clock{position:absolute;bottom:calc(100% + 9px);font-size:12px;white-space:nowrap;text-shadow:0 1px 2px #155763;color:#ffefb0}.pdk-scene button.pdk-clear-button{position:absolute;left:calc(100% + 12px);top:5px;min-height:25px;font-size:11px;padding:5px 7px;background:#195b67a6;border-color:#a6d0c767;letter-spacing:0}.pdk-clear-button:disabled{visibility:hidden}.pdk-selection{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);margin:0;white-space:nowrap;font-size:11px;line-height:14px;text-align:center;color:#e4efe1;text-shadow:0 1px 2px #135767;max-width:calc(var(--pdk-width)*.82);overflow:hidden;text-overflow:ellipsis}.pdk-selection.has-selection{color:#fff6be}.pdk-selection.is-invalid{color:#ffe6a3}.pdk-scene:not(.pdk-my-turn) .pdk-selection:not(.has-selection){opacity:0}.pdk-sync{position:absolute;bottom:0;left:10%;right:10%;font-size:11px;color:#ffdf9c;text-align:center;margin:0;background:#164c58e8;border-radius:4px;padding:4px}.pdk-me-bar{position:absolute;left:max(16px,calc(var(--pdk-width)*.05));bottom:5px;z-index:7}.pdk-self{gap:8px}.pdk-self .pdk-avatar{width:31px;height:31px}.pdk-self>div{display:flex;align-items:center;gap:12px;background:#16455780;border-radius:3px;padding:3px 9px}.pdk-self b{font-size:11px;max-width:135px}.pdk-self strong{font-size:12px;min-width:50px;text-align:center}.pdk-self strong small,.pdk-self .pdk-count,.pdk-self .pdk-seat-state{display:none}.pdk-self .pdk-report{top:-19px;left:0;margin:0;font-size:11px}.pdk-self .pdk-offline{position:static;margin:0}.pdk-watching{font-size:11px;color:#f2e8bd;margin:0 0 5px;text-shadow:0 1px 2px #104251}.pdk-footer{position:absolute;right:max(16px,calc(var(--pdk-width)*.045));bottom:6px;display:flex;align-items:center;gap:6px;z-index:6}.pdk-footer button{font-size:11px;min-height:23px;padding:3px 8px;background:#194f5b91;border-color:#bfd8cc44;box-shadow:none}.pdk-finish-note{position:absolute;top:35px;left:50%;transform:translateX(-50%);margin:0;padding:3px 10px;border-radius:3px;font-size:11px;color:#ffedb8;background:#284e547d;white-space:nowrap;z-index:7}
.pdk-round-result{position:absolute;left:50%;top:22%;transform:translateX(-50%);width:290px;max-width:55%;border:1px solid #e8d59a;border-radius:10px;background:linear-gradient(#174f5de8,#153c50f2);box-shadow:0 6px 20px #12394770;padding:10px 16px;box-sizing:border-box;pointer-events:auto;z-index:9}.pdk-round-result header{display:grid;text-align:center;gap:1px;margin-bottom:8px}.pdk-round-result header small{font-size:11px;color:#dedbb7}.pdk-round-result header>b{font-size:22px;color:#ffdfa0;letter-spacing:3px;text-shadow:0 2px 2px #714f2c}.pdk-round-result>div{display:grid;gap:5px}.pdk-round-result>div>span{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.pdk-round-result>div b{font-weight:500;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdk-round-result strong.win{color:#ffe29b}.pdk-round-result strong.loss{color:#bcdde8}.pdk-round-result>button{display:block;margin:9px auto 0;font-size:11px;min-height:23px;padding:3px 9px}
.pdk-effect-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:12}.pdk-motion{position:absolute;left:50%;top:36%;width:270px;height:150px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}.pdk-motion>b{position:relative;font-size:38px;font-weight:900;color:#fff3ad;letter-spacing:5px;text-shadow:0 3px #a2601c,0 0 12px #ffc75f;white-space:nowrap}.pdk-combo-motion{width:460px;max-width:70%;height:85px;gap:22px;animation:pdk-combo-sweep 1.1s both;background:radial-gradient(ellipse,#fff9ad77,transparent 66%)}.pdk-combo-motion i{font-size:36px;font-style:normal;color:#fffbc5;filter:drop-shadow(0 0 6px #ffe682)}.pdk-combo-motion:before{content:'';position:absolute;left:0;right:0;top:48%;height:3px;background:linear-gradient(90deg,transparent,#feffd2,transparent);box-shadow:0 0 9px #fff9a6}.pdk-bomb-motion{top:39%;width:260px;height:240px;animation:pdk-bomb-fade 1.6s both}.pdk-bomb-object{position:absolute;width:130px;height:130px;animation:pdk-bomb-drop .65s both}.pdk-bomb-object svg{width:100%;height:100%;filter:drop-shadow(0 5px 9px #74522b70)}.pdk-bomb-motion>b{margin-top:120px;animation:pdk-label-pop .4s .4s both}.pdk-explosion{position:absolute;width:220px;height:220px;background:radial-gradient(circle,#ffffdc 0 9%,#fff9a0 13%,#ffc550aa 26%,#ff9c3d66 42%,transparent 66%);border-radius:50%;animation:pdk-explode 1.1s .35s both}.pdk-bomb-motion>i{position:absolute;width:7px;height:30px;border-radius:50%;background:linear-gradient(#fffde0,#ffca63,transparent);box-shadow:0 0 9px #fff9ae;transform:rotate(calc(var(--spark)*30deg)) translateY(-50px);animation:pdk-spark .9s .4s both}.pdk-plane-motion{width:100%;max-width:none;height:120px;animation:pdk-plane-fly 1.5s both}.pdk-plane-motion>span{width:230px;filter:drop-shadow(-35px 4px 9px #f4f8c480)}.pdk-plane-motion>b{position:absolute;top:85%;font-size:30px}.pdk-shutdown-motion{top:34%;animation:pdk-bomb-fade 1.6s both}.pdk-gate{position:relative;width:145px;height:140px;display:flex;justify-content:space-evenly;padding:8px 10px;background:linear-gradient(90deg,#8196a1,#c9d3c9 18%,#596c7b 42%,#a8bec1 76%,#516575);border-radius:4px;border:5px solid #8093a1;box-shadow:inset 0 0 0 5px #d1dbd5,0 5px 12px #173b54;box-sizing:border-box;animation:pdk-gate-drop .7s both}.pdk-gate i{width:7px;background:linear-gradient(90deg,#576a75,#e3e7d7,#8b9f9f);box-shadow:3px 0 4px #21455666}.pdk-gate>b{position:absolute;top:40%;font-size:35px;font-weight:900;color:#fff3b4;text-shadow:0 2px #9a6f24,0 0 8px #ffd466;letter-spacing:3px}.pdk-win-motion{animation:pdk-label-pop .6s both;top:30%;background:radial-gradient(ellipse,#ffe69866,transparent 68%);width:360px;height:200px}.pdk-deal-motion{top:27%;gap:0;animation:pdk-bomb-fade .95s both}.pdk-deal-motion i{position:absolute;width:45px;height:64px;background:repeating-linear-gradient(45deg,#3c83ba 0 3px,#7baed1 3px 6px);border:3px solid #f0f5d7;border-radius:4px;transform:rotate(-14deg);box-shadow:0 3px 4px #19425560}.pdk-deal-motion i:nth-child(2){transform:rotate(0);margin-left:25px}.pdk-deal-motion i:nth-child(3){transform:rotate(14deg);margin-left:50px}.pdk-deal-motion b{font-size:15px;top:65px;letter-spacing:3px}
@keyframes pdk-card-land{from{opacity:.1;transform:translate(50px,-30px) scale(.78)}to{opacity:1;transform:none}}@keyframes pdk-card-lift{from{opacity:.2;transform:translateY(45px) scale(1.08)}to{opacity:1;transform:none}}@keyframes pdk-label-pop{0%{opacity:0;scale:.5}65%{opacity:1;scale:1.1}100%{opacity:1;scale:1}}@keyframes pdk-dealt{from{opacity:0;translate:0 -90px;rotate:-9deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes pdk-urgent{to{filter:drop-shadow(0 0 5px #ffb363);scale:1.08}}@keyframes pdk-combo-sweep{0%{opacity:0;translate:-120px 0;scale:.75}30%,70%{opacity:1;translate:0 0;scale:1}100%{opacity:0;translate:100px 0;scale:1.1}}@keyframes pdk-bomb-drop{0%{opacity:0;translate:130px -150px;rotate:60deg;scale:.45}65%{opacity:1;translate:0 0;rotate:0deg;scale:1}100%{opacity:1;translate:0 4px;rotate:-5deg;scale:.9}}@keyframes pdk-bomb-fade{0%{opacity:0}12%,80%{opacity:1}100%{opacity:0}}@keyframes pdk-explode{0%{opacity:0;scale:.1}30%{opacity:1;scale:1.6}100%{opacity:0;scale:2.4}}@keyframes pdk-spark{0%{opacity:0;transform:rotate(calc(var(--spark)*30deg)) translateY(-35px) scale(.4)}30%{opacity:1}100%{opacity:0;transform:rotate(calc(var(--spark)*30deg)) translateY(-220px) scale(.6)}}@keyframes pdk-plane-fly{0%{opacity:0;translate:-65% 0}30%,65%{opacity:1;translate:0 0}100%{opacity:0;translate:65% -10px}}@keyframes pdk-gate-drop{0%{translate:0 -190px}60%{translate:0 6px}80%{translate:0 -8px}100%{translate:0 0}}
html.on-pdk-table .modal-backdrop{width:var(--pdk-width);height:var(--pdk-height);box-sizing:border-box;align-items:center;justify-content:center;padding:10px 14px}.on-pdk-table .live-modal{width:min(660px,calc(var(--pdk-width) - 40px));max-height:calc(var(--pdk-height) - 20px);border-radius:14px;padding:16px 24px;box-sizing:border-box}.on-pdk-table .live-modal h2{font-size:20px}.on-pdk-table .nn-menu{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(orientation:portrait){.pdk-scene,html.on-pdk-table .modal-backdrop{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%) rotate(90deg)}html.on-pdk-table #toast-root .toast{left:calc(100% - env(safe-area-inset-right, 0px) - 8px);top:50%;transform:translate(-50%,-50%) rotate(90deg) translateY(50%);max-width:calc(var(--pdk-width) - 40px);animation:none}}
@media(max-height:350px) and (orientation:landscape),(max-width:350px) and (orientation:portrait){.pdk-scene{--pdk-card-height:calc(var(--pdk-height)*.30)}.pdk-top{top:5px}.pdk-top .pdk-game-badge{font-size:11px}.pdk-game-badge small{font-size:11px}.pdk-opponents{top:7px;right:18%}.pdk-opponents .pdk-avatar{width:31px;height:31px}.pdk-opponents .pdk-person b{font-size:11px}.pdk-opponents .pdk-person strong{font-size:11px}.pdk-count{min-width:22px;height:29px;right:calc(100% + 4px)}.pdk-count em{font-size:16px}.pdk-report{font-size:11px;margin-left:3px}.pdk-hand-dock{bottom:29px}.pdk-controls{bottom:calc(100% + var(--pdk-height)*.08)}.pdk-action-buttons{gap:10px}.pdk-action-buttons button{min-width:91px;height:31px;font-size:15px}.pdk-selection{font-size:11px;top:calc(100% + 5px)}.pdk-self .pdk-avatar{width:25px;height:25px}.pdk-me-bar{bottom:3px}.pdk-self b{font-size:11px;max-width:100px}.pdk-self strong{font-size:11px}.pdk-footer{bottom:5px;gap:4px}.pdk-footer button{padding:2px 6px;font-size:11px;min-height:21px}.pdk-round-result{top:19%;padding:7px 12px;width:260px}.pdk-round-result header>b{font-size:19px}.pdk-round-result header{margin-bottom:5px}.pdk-round-result>button{margin-top:6px}.pdk-played-cards{--pdk-played-width:calc(var(--pdk-height)*.12)}}
@media(prefers-reduced-motion:reduce){.pdk-scene *{animation:none!important;transition:none!important}}.reduce-motion .pdk-scene *{animation:none!important;transition:none!important}
.game-choice.pdk{background:#173d35;border:1px solid #548b68;border-radius:18px;color:#fff3d7}.game-choice.pdk .game-art{background:radial-gradient(ellipse at 50% 30%,#548d57,#285637 75%)}.game-choice.pdk .art-pdk{display:block;width:100%;height:100%;object-fit:contain}.game-choice.pdk .game-choice-copy b{color:#fff3d7}.game-choice.pdk .game-choice-copy small{color:#d7e8d3;font-weight:500}.game-choice.pdk>svg{color:#ffe1a0}
.pdk-create .form-section{padding:20px;background:var(--surface);border-radius:16px}.pdk-create .account-hint{line-height:1.7}.pdk-create .tw-rule-toggles{grid-template-columns:1fr}.pdk-rules p{line-height:1.85;font-size:14px}.pdk-hand-results article{padding:12px 0;border-bottom:1px solid #879a922e}.pdk-hand-results header{display:flex;justify-content:space-between;gap:10px}.pdk-hand-results p,.pdk-hand-results small{font-size:12px;line-height:1.7}.pdk-replay-cards{display:flex;flex-wrap:wrap;gap:3px;padding:6px 0}.pdk-replay-cards .playing-card{width:39px;height:55px;min-width:0}.pdk-replay{margin-top:18px}.pdk-replay li{margin-bottom:12px;font-size:12px}.pdk-history-nav{display:flex;gap:12px;align-items:center;justify-content:center;margin:20px 0}.pdk-history-nav button{border:1px solid #7c9b8d66;border-radius:7px;padding:9px;background:transparent;color:inherit}.pdk-history-nav button:disabled{opacity:.4}.game-choices{padding-bottom:80px}
.pdk-menu-button svg{display:block}.pdk-scene[data-phase=complete] .pdk-round-result{top:15%;padding:6px 12px}.pdk-scene[data-phase=complete] .pdk-round-result header{display:flex;justify-content:center;align-items:baseline;gap:8px;margin-bottom:4px}.pdk-scene[data-phase=complete] .pdk-round-result header>b{font-size:18px;line-height:22px}.pdk-scene[data-phase=complete] .pdk-round-result>div{gap:3px}.pdk-scene[data-phase=complete] .pdk-round-result>div>span{line-height:17px}.pdk-scene[data-phase=complete] .pdk-round-result>button{min-height:20px;margin-top:5px;padding:2px 8px;line-height:14px}.pdk-scene[data-phase=complete] .pdk-controls{bottom:calc(100% + var(--pdk-height)*.02)}.pdk-scene[data-phase=complete] .pdk-ready-clock{bottom:auto;top:calc(100% + 5px);font-size:11px}.pdk-scene[data-phase=complete] .pdk-selection{display:none}
.pdk-vector-card .card-face{padding:0!important;background:#faf8f1;border:0;border-radius:4px;box-shadow:none}.pdk-vector-card .classic-card-art{image-rendering:auto;filter:none}.pdk-card .pdk-vector-card{box-shadow:-1px 0 1px #294a4c45}.pdk-hand{filter:none}.pdk-played-cards{filter:drop-shadow(0 2px 1px #164e5030)}
.pdk-chat-bubble{position:absolute;right:calc(100% + 12px);top:46px;max-width:170px;width:max-content;padding:8px 11px;border:1px solid #d5ddd0;border-radius:9px;background:#f4f5e9;color:#293c38;font-size:12px;line-height:1.5;text-shadow:none;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 6px #183f4540;z-index:15}.pdk-chat-bubble:after{content:'';position:absolute;left:100%;top:12px;border:5px solid transparent;border-left-color:#f4f5e9}.pdk-self .pdk-chat-bubble{right:auto;left:0;top:auto;bottom:calc(100% + 10px);max-width:220px}.pdk-self .pdk-chat-bubble:after{top:100%;left:14px;border-left-color:transparent;border-top-color:#f4f5e9}
.on-pdk-table .live-modal:has(.pdk-chat-dialog){width:min(650px,calc(var(--pdk-width) - 40px));padding:13px 20px;overflow:auto}.pdk-chat-dialog .chat-dialog-head{padding:0 28px 10px 0;margin:0;font-size:17px}.pdk-phrase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pdk-phrase-grid button{border:1px solid #51716b;border-radius:7px;background:#243f43;color:#eef1df;min-height:34px;padding:6px 9px;font-size:12px;text-align:left;cursor:pointer}.pdk-phrase-grid button:active{background:#42665c}.pdk-chat-history{margin-top:10px;font-size:12px;color:#c2d3c5}.pdk-chat-history summary{cursor:pointer}.pdk-chat-history .live-chat-log{max-height:110px;margin-top:8px}.pdk-chat-dialog .chat-compose{position:static;display:flex;gap:7px;margin:8px 0 0;padding:0;background:transparent}.pdk-chat-dialog .chat-compose input{flex:1;min-width:0;padding:7px 10px;font-size:12px}.pdk-chat-dialog .chat-compose button{min-height:32px;min-width:55px;border:1px solid #96b5a5;border-radius:7px;background:#37685e;color:#f4f5e9}
.on-pdk-table .live-modal .pdk-chat-dialog .pdk-phrase-grid button{height:34px;min-height:34px;box-sizing:border-box}.on-pdk-table .live-modal .pdk-chat-dialog .chat-compose button,.on-pdk-table .live-modal .pdk-chat-dialog .chat-compose input{height:36px;min-height:36px;box-sizing:border-box}.on-pdk-table .live-modal .pdk-chat-dialog .chat-compose input{font-size:16px;padding:6px 10px}

.pdk-action-buttons button[aria-disabled="true"] { opacity: .55; cursor: default; }

/* Final pass: report stamp, low-count pulse and calmer pot feedback. */
.pdk-report-motion{top:31%;animation:pdk-report-stamp 1.15s cubic-bezier(.2,.8,.3,1) both}
.pdk-report-motion>b{font-size:32px;letter-spacing:8px;color:#fff3b4;text-shadow:0 2px #9c5d1d,0 0 14px #ffcf6d}
.pdk-count.is-low{animation:pdk-count-throb 1s ease-in-out infinite alternate}
@keyframes pdk-report-stamp{0%{opacity:0;scale:1.8;filter:blur(2px)}18%{opacity:1;scale:1;filter:blur(0)}72%{opacity:1}100%{opacity:0;scale:.94;translate:0 -10px}}
@keyframes pdk-count-throb{to{box-shadow:inset 0 0 0 2px #d4e8f7,0 0 12px #ffd27d99;scale:1.06}}

/* Small life: the acting avatar breathes, turn buttons step in, results pop. */
.pdk-person.is-actor .pdk-avatar{animation:pdk-actor-breathe 1.1s ease-in-out infinite alternate}
@keyframes pdk-actor-breathe{from{box-shadow:0 0 0 1px #e7b94970,0 0 10px #fff29c55}to{box-shadow:0 0 0 3px #f5c96eaa,0 0 18px #fff29c88}}
.pdk-scene.pdk-my-turn .pdk-action-buttons>button:not([hidden]){animation:pdk-btn-in .26s cubic-bezier(.2,.9,.3,1) both}
.pdk-scene.pdk-my-turn .pdk-action-buttons>button:nth-of-type(2){animation-delay:.05s}
.pdk-scene.pdk-my-turn .pdk-action-buttons>button:nth-of-type(3){animation-delay:.1s}
@keyframes pdk-btn-in{from{opacity:.25;translate:0 8px;scale:.94}to{opacity:1;translate:0 0;scale:1}}
.pdk-round-result{animation:pdk-result-in .42s cubic-bezier(.2,.8,.3,1) both}
@keyframes pdk-result-in{from{opacity:0;scale:.92}to{opacity:1;scale:1}}
