/* The illustrated table is shared by Dou Dizhu and Run Fast; board games keep their layout. */
.ddz-table-brand,.ddz-table-mark,.card-center,.card-corner,#ddz-round-actions{display:none}
#game.landlord-game{padding-top:22px}.landlord-game .game-heading{margin-bottom:18px}.landlord-game .game-layout{display:block}.landlord-game .board-column{max-width:none}.landlord-game .board-top,.landlord-game .board-bottom,.landlord-game .status-panel,.landlord-game .players-panel{display:none}
.landlord-game #ddz-area{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;border:1px solid #ddc59d;background:#e6c184;box-shadow:0 12px 35px #72582e20;min-height:730px}
.landlord-game #ddz-area:before{content:"";position:absolute;z-index:-2;inset:0 0 auto;height:350px;background:#abcfd9 url('ddz-riverside.svg') center 47% / cover no-repeat}
.landlord-game #ddz-area:after{content:"";position:absolute;z-index:-1;inset:260px 9px -45px;border:9px solid #d8a752;border-radius:68px 68px 0 0;box-shadow:inset 0 0 0 2px #fce4ac,inset 0 15px 30px #b87d3026,0 -5px 0 #f5d396,0 0 15px #88613020;background:repeating-linear-gradient(1deg,#fff4c908 0px,#fff4c908 3px,#b8843510 4px,transparent 5px,transparent 13px),radial-gradient(ellipse at 50% 5%,#ffdfa0,#edc777 55%,#deb269)}
.landlord-game .card-table{position:relative;min-height:367px;padding:20px 24px 24px;border:0;border-radius:0;background:none;box-shadow:none;color:#674b27}
.landlord-game .ddz-table-brand{display:flex;justify-content:space-between;align-items:center;color:#346174;text-shadow:0 1px #fff7;font-size:12px;letter-spacing:1px}.landlord-game .ddz-table-brand b{font-size:23px;color:#b96927;text-shadow:0 2px #fff0ba;font-weight:850;letter-spacing:2px;margin-left:9px}.landlord-game #ddz-round{border:1px solid #ffffff80;border-radius:20px;padding:7px 12px;background:#fffc;color:#516c72;letter-spacing:0;font-size:12px}
.landlord-game .opponents{position:absolute;inset:116px 32px auto;display:flex;justify-content:space-between;gap:12px;pointer-events:none;z-index:2}.landlord-game .opponent{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:112px;max-width:31%;padding:0;border:0;border-radius:0;background:none;text-align:center;box-shadow:none;color:#4b4539}.landlord-game .opponent.active{background:none;border:0}.landlord-game .opponent.active:after{display:none}
.landlord-game .seat-portrait{position:relative;display:grid;place-items:center;width:76px;height:76px;border:3px solid #fff1c7;border-radius:18px;background:#e7dec9;box-shadow:0 3px 7px #674b3c35}.landlord-game .seat-avatar{display:block;width:100%;height:100%;border-radius:14px}.landlord-game .active .seat-portrait{outline:3px solid #fff1a2;box-shadow:0 0 0 6px #daa642b0,0 0 25px #fff5bd}.landlord-game .seat-placeholder{font-size:34px;font-weight:300;color:#a89166}.landlord-game .role-badge{position:absolute;right:-6px;bottom:-6px;width:auto;min-width:34px;height:auto;padding:3px 6px;border:1px solid #f5d895;border-radius:6px;background:#557b83;color:#fff8e8;font-size:10px;line-height:1.2;box-shadow:0 2px 3px #45321320}.landlord-game .role-badge.landlord{background:linear-gradient(#dc773f,#b14d29);color:#fff4c0}.landlord-game .role-badge.farmer{background:linear-gradient(#7fa298,#436f68)}
.landlord-game .opponent-info{margin-top:6px;min-width:0;max-width:100%}.landlord-game .opponent-info strong{display:block;font-size:13px;font-weight:700;color:#fffef2;line-height:1.5;text-shadow:0 1px 4px #284e58,0 1px #355469;overflow-wrap:anywhere}.landlord-game .opponent-detail{display:block;font-size:11px;color:#395b61;line-height:1.6;margin-top:2px}.landlord-game .active .opponent-detail{color:#8c471d;font-weight:700}.landlord-game .seat-card-count{position:absolute;top:31px;display:flex;align-items:center;gap:5px;color:#844718;text-shadow:0 1px #fff9;font-size:22px}.landlord-game .seat-left .seat-card-count{left:calc(100% + 8px)}.landlord-game .seat-right .seat-card-count{right:calc(100% + 8px);flex-direction:row-reverse}.landlord-game .seat-card-count i{display:block;width:21px;height:30px;background:url('ddz-card-back.svg') center/contain no-repeat;filter:drop-shadow(0 2px 2px #39565c40)}.landlord-game .seat-bubble{position:absolute;top:147px;white-space:nowrap;padding:5px 12px;border:1px solid #eed099;border-radius:11px;background:#fff9e8;color:#996123;font-size:16px;font-weight:750;box-shadow:0 3px 7px #77542514}
.landlord-game .table-middle{padding:10px 0 0;text-align:center;max-width:650px;margin:0 auto;position:relative}.landlord-game .bottom-label{font-size:10px;letter-spacing:3px;color:#496575;margin-bottom:6px}.landlord-game .bottom-cards{display:flex;justify-content:center;gap:6px;min-height:62px;margin:0}.landlord-game .bottom-cards .playing-card{width:43px;height:62px;min-height:0;padding:4px;border-radius:5px;box-shadow:0 3px 7px #29475130}.landlord-game .bottom-cards .card-rank{font-size:19px}.landlord-game .bottom-cards .card-suit{font-size:19px}.landlord-game .playing-card.card-back{background:url('ddz-card-back.svg') center/100% 100%;border:0;color:transparent;font-size:0}.landlord-game .table-notice{display:flex;flex-direction:column;gap:4px;margin:75px auto 0;color:#795426;max-width:94%;font-size:12px;line-height:1.5}.landlord-game .table-turn-title{font-size:21px;letter-spacing:1px;color:#82511d;text-shadow:0 1px #fff5cb;font-weight:800}.landlord-game .table-event{font-size:11px;color:#8c6a3d}.landlord-game .last-play{margin-top:10px;min-height:55px}.landlord-game .last-play-label{font-size:11px;color:#795b39;margin-bottom:5px}.landlord-game .public-cards{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;max-width:470px;margin:auto}.landlord-game .public-cards .playing-card{width:29px;height:42px;min-height:0;padding:3px;border-radius:3px}.landlord-game .public-cards .card-rank{font-size:16px}.landlord-game .public-cards .card-suit{font-size:15px}.landlord-game .bottom-cards .card-center,.landlord-game .public-cards .card-center,.landlord-game .bottom-cards .card-corner,.landlord-game .public-cards .card-corner{display:none}.landlord-game .free-lead,.landlord-game .pass-notice{font-size:12px;color:#86633b;margin:9px 0;line-height:1.6}.landlord-game .bid-history{color:#86633b;font-size:11px;margin:6px auto 0;max-width:390px;line-height:1.7}
.landlord-game .own-seat{position:absolute;left:30px;bottom:15px;text-align:left;margin:0;color:#785b34;max-width:190px;z-index:2}.landlord-game .own-player{display:flex;align-items:center;gap:10px}.landlord-game .own-player .seat-portrait{width:43px;height:43px;border-width:2px;border-radius:12px;flex-shrink:0}.landlord-game .own-player .seat-avatar{border-radius:9px}.landlord-game .own-player .role-badge{font-size:8px;min-width:25px;padding:2px 3px;right:-4px}.landlord-game .own-player .opponent-info{margin:0}.landlord-game .own-player .opponent-info strong{color:#72502e;text-shadow:0 1px #fff7;font-size:11px}.landlord-game .own-player .opponent-detail{color:#8c6a3d;font-size:10px}.landlord-game .ddz-table-mark{display:block;position:absolute;right:34px;bottom:14px;color:#ae813d80;text-align:right;pointer-events:none}.landlord-game .ddz-table-mark strong{display:block;letter-spacing:6px;font-size:26px;font-weight:850}.landlord-game .ddz-table-mark span{font-size:10px;letter-spacing:2px}
.landlord-game .hand-panel{position:relative;display:flex;flex-direction:column;align-items:stretch;margin:0;padding:0 35px 20px;border:0;border-radius:0;background:none;box-shadow:none;min-height:320px}.landlord-game .table-clock{order:0;align-self:center;display:flex;align-items:center;gap:10px;margin:0 0 13px;min-height:57px;color:#97682f}.landlord-game .clock-face{display:grid;place-items:center;width:58px;height:58px;border:4px solid #dfa446;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fffefa,#ffefc5);box-shadow:0 0 0 2px #fff0b4,inset 0 0 0 1px #bc802e,0 4px 7px #83572135;position:relative}.landlord-game .clock-face:before,.landlord-game .clock-face:after{content:"";position:absolute;top:-7px;width:18px;height:9px;border-radius:9px 9px 0 0;background:linear-gradient(#fff3c3,#df9d3b);border:1px solid #c88d3c}.landlord-game .clock-face:before{left:-5px;transform:rotate(-36deg)}.landlord-game .clock-face:after{right:-5px;transform:rotate(36deg)}.landlord-game .clock-face strong{font-size:29px;line-height:1;color:#9b561f;font-weight:800;font-variant-numeric:tabular-nums}.landlord-game .clock-label{font-size:11px;font-weight:700}.landlord-game .table-clock.urgent .clock-face{border-color:#d77545}.landlord-game .table-clock.urgent strong{color:#bd4929}
.landlord-game .ddz-actions{order:1;margin:0 0 15px;display:flex;justify-content:center;gap:14px;min-height:44px}.landlord-game .ddz-actions .button,.landlord-game #ready,.landlord-game #restart{min-width:104px;min-height:44px;padding:9px 21px;border:1px solid #c48b2c;border-radius:25px;font-weight:750;font-size:18px;color:#854a1b;text-shadow:0 1px #fff8;background:linear-gradient(#fff9c3 0%,#ffe88c 34%,#efb84c 65%,#dc9632);box-shadow:inset 0 2px #fff5c5,0 3px 0 #aa7128,0 5px 8px #77522626}.landlord-game .ddz-actions .button.secondary,.landlord-game .bid-button[data-score="0"]{background:linear-gradient(#c5f5ff,#60d5f0 35%,#2cadd5 65%,#238daf);color:#fff;border-color:#3599b4;text-shadow:0 1px #32778e;box-shadow:inset 0 2px #d0f9ff,0 3px 0 #24778e,0 5px 8px #47757c26}.landlord-game .ddz-actions .text-button{order:3;margin:0;color:#8a6537;min-width:66px;font-size:12px;padding:8px}.landlord-game .ddz-actions button:disabled,.landlord-game #ready:disabled,.landlord-game #restart:disabled{opacity:.54;filter:saturate(.7)}.landlord-game .ddz-actions button:hover:not(:disabled){filter:brightness(1.05)}.landlord-game #ready{order:1;align-self:center;width:auto;margin:25px 0 32px;min-width:200px}.landlord-game .hand-heading{order:2;display:flex;justify-content:space-between;gap:8px;width:min(100%,800px);margin:0 auto 6px;color:#8a6837;font-size:12px}.landlord-game .hand-heading strong{font-weight:600}.landlord-game .hand-heading strong span,.landlord-game .hand-heading>span{color:#8a6837;font-size:11px}.landlord-game .hand-heading>span{color:#427e89}
.landlord-game .hand{--hand-card-width:78px;--hand-card-height:112px;order:3;display:flex;flex-direction:column;align-items:center;gap:17px;margin:0 auto;padding:18px 0 0;width:min(100%,800px)}.landlord-game .hand-row{position:relative;display:grid;grid-template-columns:repeat(var(--count),minmax(0,1fr));width:min(100%,calc((var(--count) - 1)*55px + var(--hand-card-width)));padding-right:calc(var(--hand-card-width) - 55px);min-height:var(--hand-card-height)}
.landlord-game .playing-card{position:relative;display:block;background:linear-gradient(130deg,#fff,#fffdf5);border:1px solid #d5c9af;color:#243641;box-shadow:0 2px 4px #62492524;text-align:left;font-family:Georgia,'Times New Roman',serif;font-weight:700}.landlord-game .playing-card.red-card{color:#c93e39}.landlord-game .hand .playing-card{width:var(--hand-card-width);height:var(--hand-card-height);aspect-ratio:auto;min-height:0;border-radius:7px;padding:6px;opacity:1;filter:none;box-shadow:1px 3px 5px #77502132;transform:none;z-index:auto;transition:transform .14s,background .14s}.landlord-game .hand .playing-card:disabled{opacity:1;filter:none;cursor:default}.landlord-game .hand .playing-card.selected{transform:translateY(-14px);background:#effbff;outline:2px solid #229abf;outline-offset:0;z-index:auto;box-shadow:1px 3px 5px #3e829449}.landlord-game .hand .playing-card:focus-visible{outline:3px solid #209ac1;outline-offset:0;z-index:auto}.landlord-game .hand .playing-card:not(:disabled):active{transform:translateY(-7px)}.landlord-game .hand .card-rank{display:block;font-size:29px;line-height:1;font-weight:800;letter-spacing:-1px}.landlord-game .hand .card-suit{display:block;font-size:27px;line-height:1;margin-top:2px;text-align:left}.landlord-game .hand .card-center{display:block;position:absolute;right:9px;top:41px;font-size:40px;line-height:1;opacity:.9}.landlord-game .hand .card-corner{display:block;position:absolute;bottom:5px;right:5px;font-size:15px;writing-mode:vertical-rl;transform:rotate(180deg);line-height:1}.landlord-game .hand .joker .card-rank{font-family:inherit;font-size:15px;writing-mode:vertical-rl;letter-spacing:1px;line-height:1.1}.landlord-game .hand .joker .card-suit{font-size:17px}.landlord-game .hand .joker .card-center{font-size:43px;top:39px;right:8px}.landlord-game .empty-hand{padding:24px 0;color:#967545;font-size:14px;min-height:76px}.landlord-game .hand-help{order:6;color:#997441;font-size:11px;line-height:1.7;margin:14px auto 0;max-width:680px}.landlord-game #ddz-round-actions{display:block;order:1;max-width:470px;width:100%;margin:0 auto 14px}.landlord-game #ddz-round-actions:empty{display:none}.landlord-game #restart-panel{padding:14px 18px;background:#fff2c7c9;border:1px solid #c9954660;text-align:center;border-radius:15px}.landlord-game #restart-panel p{color:#876134;font-size:12px;margin-bottom:10px}.landlord-game #restart{font-size:16px;min-height:40px;min-width:160px;width:auto}.landlord-game #cancel-restart{display:block;color:#956b35;font-size:12px}
.landlord-game .game-sidebar{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-top:17px}.landlord-game #resign{width:auto;min-height:39px;font-size:13px;order:1;border-radius:9px}.landlord-game .rules-card{flex:1;order:0;margin:0;padding:11px 4px;border-top:0;min-width:180px}.landlord-game .rules-card summary{font-size:13px}.landlord-game #ddz-area[data-phase="waiting"] .hand-heading,.landlord-game #ddz-area[data-phase="waiting"] .hand{display:none}.landlord-game #ddz-area[data-phase="waiting"] .hand-panel{min-height:235px}.landlord-game #ddz-area[data-phase="waiting"]{min-height:605px}
@media(max-width:900px){.landlord-game .opponents{left:20px;right:20px}.landlord-game .table-middle{max-width:540px}.landlord-game .hand-panel{padding-left:22px;padding-right:22px}.landlord-game .hand{--hand-card-width:65px;--hand-card-height:96px}.landlord-game .hand .card-center{font-size:34px;right:5px}.landlord-game .hand-row{width:min(100%,calc((var(--count) - 1)*43px + var(--hand-card-width)));padding-right:22px}.landlord-game .hand .card-rank{font-size:27px}.landlord-game .hand .card-suit{font-size:25px}.landlord-game .own-seat{left:23px}.landlord-game .ddz-table-mark{right:23px}}
@media(max-width:700px){#game.landlord-game{padding-top:16px}.landlord-game .game-heading{margin-bottom:15px}.landlord-game #ddz-area{margin:0 -12px;border-radius:19px;min-height:685px}.landlord-game #ddz-area:before{height:265px;background-size:auto 370px;background-position:center top}.landlord-game #ddz-area:after{inset:208px 2px -35px;border-width:6px;border-radius:40px 40px 0 0}.landlord-game .card-table{min-height:330px;padding:16px 13px 14px}.landlord-game .ddz-table-brand{font-size:10px;letter-spacing:0}.landlord-game .ddz-table-brand b{font-size:20px;letter-spacing:1px;margin-left:5px}.landlord-game #ddz-round{padding:5px 7px;font-size:10px}.landlord-game .table-middle{padding-top:12px;max-width:none}.landlord-game .bottom-label{font-size:9px;margin-bottom:4px;letter-spacing:2px}.landlord-game .bottom-cards{min-height:54px;gap:4px}.landlord-game .bottom-cards .playing-card{width:37px;height:54px}.landlord-game .bottom-cards .card-rank,.landlord-game .bottom-cards .card-suit{font-size:17px}.landlord-game .opponents{inset:119px 11px auto}.landlord-game .opponent{width:82px;max-width:28%;gap:2px}.landlord-game .seat-portrait{width:59px;height:59px;border-radius:14px;border-width:2px}.landlord-game .seat-avatar{border-radius:11px}.landlord-game .opponent-info{margin-top:5px}.landlord-game .opponent-info strong{font-size:10px}.landlord-game .opponent-detail{font-size:10px}.landlord-game .role-badge{font-size:9px;padding:3px 4px;min-width:28px;right:-4px;bottom:-5px}.landlord-game .seat-card-count{top:20px;gap:3px;font-size:18px}.landlord-game .seat-left .seat-card-count{left:calc(100% + 1px)}.landlord-game .seat-right .seat-card-count{right:calc(100% + 1px)}.landlord-game .seat-card-count i{width:17px;height:25px}.landlord-game .seat-bubble{top:104px;font-size:12px;padding:3px 9px;border-radius:8px}.landlord-game .table-notice{margin-top:84px;max-width:94%;gap:3px}.landlord-game .table-turn-title{font-size:16px;letter-spacing:0}.landlord-game .table-event{font-size:10px}.landlord-game .last-play{margin-top:7px;min-height:46px;padding-bottom:27px}.landlord-game .last-play-label,.landlord-game .bid-history{font-size:10px}.landlord-game .bid-history{padding-bottom:34px;max-width:270px}.landlord-game .public-cards{max-width:290px;gap:2px}.landlord-game .public-cards .playing-card{width:25px;height:36px;padding:2px}.landlord-game .public-cards .card-rank{font-size:14px}.landlord-game .public-cards .card-suit{font-size:13px}.landlord-game .free-lead,.landlord-game .pass-notice{font-size:10px;margin:7px 0}.landlord-game .own-seat{left:16px;bottom:12px;max-width:165px}.landlord-game .own-player{gap:7px}.landlord-game .own-player .seat-portrait{width:34px;height:34px;border-radius:10px}.landlord-game .own-player .seat-avatar{border-radius:7px}.landlord-game .own-player .opponent-info strong{font-size:10px}.landlord-game .own-player .opponent-detail{font-size:9px}.landlord-game .ddz-table-mark{right:20px;bottom:11px}.landlord-game .ddz-table-mark strong{font-size:21px;letter-spacing:4px}.landlord-game .ddz-table-mark span{font-size:8px;letter-spacing:1px}.landlord-game .hand-panel{padding:0 15px 18px;min-height:330px}.landlord-game .table-clock{margin-bottom:12px;gap:8px;min-height:50px}.landlord-game .clock-face{width:50px;height:50px;border-width:3px}.landlord-game .clock-face strong{font-size:26px}.landlord-game .clock-label{font-size:10px}.landlord-game .ddz-actions{gap:10px;margin-bottom:15px;min-height:40px}.landlord-game .ddz-actions .button{min-width:66px;min-height:40px;padding:8px 13px;font-size:17px}.landlord-game .ddz-actions .text-button{font-size:11px;min-width:58px;padding:6px 0}.landlord-game .hand-heading{font-size:11px;margin-bottom:4px}.landlord-game .hand-heading strong span,.landlord-game .hand-heading>span{font-size:10px}.landlord-game .hand{--hand-card-width:54px;--hand-card-height:80px;gap:16px;padding-top:16px;width:100%}.landlord-game .hand-row{width:min(100%,calc((var(--count) - 1)*34px + var(--hand-card-width)));padding-right:calc(var(--hand-card-width) - (100% - var(--hand-card-width))/9);min-height:var(--hand-card-height)}.landlord-game .hand .playing-card{padding:4px;border-radius:5px}.landlord-game .hand .card-rank{font-size:23px;letter-spacing:-1px}.landlord-game .hand .card-suit{font-size:22px;margin-top:1px}.landlord-game .hand .card-center{top:35px;right:5px;font-size:29px}.landlord-game .hand .card-corner{font-size:11px;right:4px;bottom:4px}.landlord-game .hand .joker .card-rank{font-size:12px;letter-spacing:0}.landlord-game .hand .joker .card-suit{font-size:13px}.landlord-game .hand .joker .card-center{font-size:31px;top:34px;right:3px}.landlord-game .hand-help{font-size:10px;margin-top:11px;line-height:1.7}.landlord-game #ddz-round-actions{margin-bottom:10px}.landlord-game #restart-panel{padding:11px 12px}.landlord-game #restart-panel p{font-size:11px}.landlord-game #ddz-area[data-phase="waiting"]{min-height:510px}.landlord-game #ddz-area[data-phase="waiting"] .hand-panel{min-height:170px}.landlord-game #ready{margin:17px 0 28px;min-height:42px;font-size:17px}.landlord-game .game-sidebar{gap:10px;margin-top:12px}}
@media(max-width:360px){.landlord-game #ddz-area{margin:0 -8px}.landlord-game .hand-panel{padding-left:10px;padding-right:10px}.landlord-game .hand{--hand-card-width:48px;--hand-card-height:74px}.landlord-game .hand .card-rank{font-size:21px}.landlord-game .hand .card-suit{font-size:21px}.landlord-game .hand .card-center{font-size:25px;right:4px;top:33px}.landlord-game .ddz-actions{gap:7px}.landlord-game .ddz-actions .button{min-width:59px;padding:8px 11px;font-size:16px}.landlord-game .ddz-table-brand b{font-size:18px}.landlord-game #ddz-round{font-size:9px;padding:5px}.landlord-game .opponents{left:7px;right:7px}.landlord-game .opponent{width:71px}.landlord-game .seat-card-count{font-size:16px}.landlord-game .seat-card-count i{width:15px;height:23px}.landlord-game .table-turn-title{font-size:15px}.landlord-game .table-event{font-size:9px}.landlord-game .ddz-table-mark span{display:none}}
@media(prefers-reduced-motion:reduce){.landlord-game *{transition:none!important;animation:none!important}}
/* Reserve the last card's full width so every exposed edge stays inside its row. */
.landlord-game .hand-row{grid-template-columns:repeat(calc(var(--count) - 1),minmax(0,1fr)) var(--hand-card-width);padding-right:0}
.landlord-game .hand-row.single-row{grid-template-columns:var(--hand-card-width)}
.landlord-game .seat-card-count{width:max-content;white-space:nowrap}.landlord-game .seat-card-count i{flex-shrink:0}.landlord-game .seat-card-count strong{font:inherit;font-weight:800;line-height:1.2;overflow-wrap:normal;white-space:nowrap;color:inherit}
.landlord-game .bid-button[data-score="1"],.landlord-game .bid-button[data-score="2"]{background:linear-gradient(#fff9c3 0%,#ffe88c 34%,#efb84c 65%,#dc9632);color:#854a1b;border-color:#c48b2c;text-shadow:0 1px #fff8;box-shadow:inset 0 2px #fff5c5,0 3px 0 #aa7128,0 5px 8px #77522626}
@media(max-width:700px){body:has(#game.landlord-game:not([hidden])) .site-header{height:60px}body:has(#game.landlord-game:not([hidden])) .site-header .brand-mark{width:28px;height:28px}body:has(#game.landlord-game:not([hidden])) .site-header .brand>span:last-child{font-size:18px}body:has(#game.landlord-game:not([hidden])) .site-header .brand small{font-size:8px;margin-top:4px}.landlord-game .game-heading{margin-bottom:12px}.landlord-game .game-heading h1{margin-top:6px}}
@media(min-width:701px){.landlord-game #ddz-area:after{top:208px}.landlord-game .card-table{min-height:350px}}
/* A wide computer screen has room for one continuous fan of cards. */
@media(min-width:901px){.landlord-game .hand{--hand-card-width:70px;--hand-card-height:104px;display:grid;grid-template-columns:repeat(calc(var(--hand-count) - 1),minmax(0,1fr)) var(--hand-card-width);gap:0;width:min(100%,1000px);min-height:122px}.landlord-game .hand-row{display:contents}.landlord-game .hand.single-card-hand{display:flex}.landlord-game .hand-heading{width:min(100%,1000px)}.landlord-game .hand-panel{min-height:345px}.landlord-game .hand .card-center{right:5px;font-size:35px}.landlord-game .hand .joker .card-center{font-size:39px;right:4px}}
@media(max-width:700px){.landlord-game .last-play:has(.public-cards .playing-card:nth-child(11)){padding-bottom:50px}}
/* Run Fast shares the illustrated table; its public card counter replaces bottom cards. */
.landlord-game .card-counter{width:min(100%,520px);margin:0 auto;padding:7px 10px 5px;border:1px solid #f3e9cfa8;border-radius:11px;background:#fffdf1ed;box-shadow:0 3px 12px #38677620;color:#385b68;text-shadow:none}
.landlord-game .counter-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;line-height:15px}.landlord-game .counter-heading strong{font-weight:750;letter-spacing:.5px}.landlord-game #counter-total{font-size:10px;color:#8d6429;font-variant-numeric:tabular-nums}.landlord-game .counter-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));margin-top:4px;border:1px solid #d4e0db;border-radius:5px;overflow:hidden;background:#fffdf5}.landlord-game .counter-cell{display:flex;flex-direction:column;align-items:center;min-width:0;border-right:1px solid #d4e0db;line-height:1.3}.landlord-game .counter-cell:last-child{border-right:0}.landlord-game .counter-rank{display:block;align-self:stretch;background:#e8efeb;color:#456272;font:bold 13px/19px Georgia,'Times New Roman',serif}.landlord-game .counter-number{font-size:17px;line-height:21px;font-weight:800;color:#a4632d;font-variant-numeric:tabular-nums}.landlord-game .counter-cell.depleted .counter-number{color:#b0b9b5}.landlord-game .counter-cell.depleted .counter-rank,.landlord-game .counter-cell.pending{opacity:.55}.landlord-game .counter-note{font-size:9px;line-height:13px;margin:3px 0 0;color:#758680}
.runfast-game .card-table{min-height:365px}.runfast-game .role-badge.runner{background:linear-gradient(#70a89b,#397566)}.runfast-game .ledger-panel{margin-top:20px;border-color:#dec9a4;background:#fffdf5;box-shadow:0 5px 15px #846c3610}.runfast-game .ledger-panel>summary{background:#f7efdc;color:#755e39}.runfast-game .ledger-count{color:#987642}.runfast-game #play-actions .text-button{font-size:12px;min-width:65px}.runfast-game .ddz-table-mark span{letter-spacing:0}
@media(max-width:700px){.runfast-game .card-table{min-height:346px}.runfast-game .card-counter{padding:4px 5px 3px;border-radius:8px}.runfast-game .counter-heading{font-size:10px;line-height:13px}.runfast-game #counter-total{font-size:9px}.runfast-game .counter-grid{margin-top:3px}.runfast-game .counter-rank{font-size:11px;line-height:15px}.runfast-game .counter-number{font-size:14px;line-height:18px}.runfast-game .counter-note{font-size:8px;line-height:11px;margin-top:2px}.runfast-game .opponents{top:134px}.runfast-game .table-notice{margin-top:91px}.runfast-game .table-event{max-width:calc(100% - 142px);margin:auto}.runfast-game .ddz-actions{gap:8px}.runfast-game #play-actions .button{min-width:62px;padding:8px 11px}.runfast-game #play-actions .text-button{min-width:55px;font-size:11px}.runfast-game .ledger-panel{margin-top:16px}}
@media(max-width:360px){.runfast-game #play-actions{gap:6px}.runfast-game #play-actions .button{min-width:55px;padding:8px 9px}.runfast-game #play-actions .text-button{min-width:52px;font-size:10px}.runfast-game .counter-heading{font-size:9px}.runfast-game #counter-total{font-size:8px}.runfast-game .counter-rank{font-size:10px}.runfast-game .counter-note{font-size:8px;letter-spacing:-.2px}}
