.venue #gameDoor {position:absolute;right:clamp(18px,4vw,68px);top:21%;width:clamp(165px,18vw,240px);padding:0;overflow:hidden;text-align:left;background:#201713;border:1px solid #9f8061;border-radius:10px;box-shadow:0 7px 30px #09040480}
#gameDoor .door-picture {display:block;height:clamp(42px,8vh,82px);background:url("/media/rooms/game-tables.webp") center 60%/cover}
#gameDoor .door-label {display:block;padding:10px 13px 12px;color:#fff3dd;font:500 1.28rem/1.12 var(--ser)}
#gameDoor small {display:block;font:500 .8rem/1.4 var(--sans);color:#dfc4a7;margin-top:3px}
.venue:has(.room-panel:not([hidden])) #gameDoor {visibility:hidden}
.venue .room-panel[data-panel=games] {width:min(860px,94vw);padding:clamp(16px,2.5vw,30px);max-height:88dvh;background:linear-gradient(135deg,#2a1a1b,#160f12 76%);border-color:#8c705a;box-shadow:0 18px 100px #100808db}
.room-panel[data-panel=games] header {align-items:center;margin-bottom:13px}
.room-panel[data-panel=games] header h3 {margin:3px 0 0}
.gt-gallery {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gt-invite {position:relative;min-width:0;min-height:clamp(252px,30vw,334px);display:flex;align-items:end;isolation:isolate;overflow:hidden;border:1px solid #8e7058;border-radius:9px;background:#31211d}
.gt-photo {position:absolute;inset:0;z-index:-2;background-image:url("/media/rooms/game-tables.webp");background-size:auto 100%;background-repeat:no-repeat}
.gt-invite.dominoes .gt-photo {background-position:5% center}
.gt-invite.spades .gt-photo {background-position:94% center}
.gt-invite:after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#110b0c00 21%,#100b0b3b 36%,#140c0ce6 75%,#100b0b 100%)}
.gt-info {width:100%;padding:clamp(15px,2vw,24px)}
.gt-info h4 {font:400 clamp(30px,3.2vw,48px)/1.05 var(--ser);margin:0;color:#fff3e2;letter-spacing:-.035em}
.room-panel p.gt-meta {font-size:.9rem;margin:5px 0 14px;color:#e8d3bf}
.gt-invite-actions,.gt-turn-controls {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.venue .gt-gold,.venue .gt-quiet,.venue .gt-back,.venue .gt-sound {min-height:38px;padding:7px 14px;font:650 .875rem/1.25 var(--sans)}
.venue .gt-gold {background:#ead0a4;color:#271912;border-color:#ead0a4}.venue .gt-gold:hover{background:#ffe5b8}
.venue .gt-quiet,.venue .gt-sound {background:#281d20;border-color:#927b69}
.gt-music {border-top:1px solid #6e5448;margin-top:18px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e9d6c3;font-size:.9rem}
.gt-music>span:before {content:"♪";color:#e9ba85;margin-right:9px;font-size:1.05rem}
.gt-rail {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.gt-rail .gt-mode {flex:1;color:#e3c7ad;font-size:.85rem}
.venue .gt-back {background:transparent;border:0;padding:6px 2px;color:#f4dfc4}
.gt-felt {border:6px solid #5a3d2a;border-radius:24px;padding:12px clamp(10px,2vw,22px);box-shadow:inset 0 0 0 1px #c5a06a7a,inset 0 0 38px #08070677,0 4px 8px #09060977}
.gt-felt.spades {background:radial-gradient(ellipse at 45% 50%,#35584a,#17392e 62%,#15271f)}
.gt-felt.dominoes {background:repeating-linear-gradient(4deg,#643e2a11 0 3px,#452c250a 3px 9px),radial-gradient(ellipse at 40% 20%,#744b35,#4a3026 68%,#37231f)}
.gt-seats {display:flex;justify-content:center;flex-wrap:wrap;gap:5px}
.gt-seat {color:#eee2ce;background:#191612ad;border:1px solid #ae947251;border-radius:24px;padding:3px 8px;font-size:.78rem}
.gt-seat.gt-turn {border-color:#e2c399;background:#f3dec1;color:#31221c}
.gt-mat-caption,.gt-felt-empty {text-align:center;color:#efddc8;font:500 .8rem/1.45 var(--sans)}
.gt-chain,.gt-trick {min-height:110px;padding:13px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px}
.gt-trick {gap:clamp(8px,3vw,30px);min-height:125px}
.gt-slot {display:grid;justify-items:center;gap:4px}.gt-slot small{font:500 .75rem/1.15 var(--sans);color:#e4dabf}
.gt-card,.gt-card-ghost {display:inline-flex;width:44px;height:60px;border:1px solid #b49e83;border-radius:5px;box-sizing:border-box}
.gt-card {flex-direction:column;align-items:flex-start;justify-content:space-between;padding:4px 6px;background:linear-gradient(145deg,#fff5df,#e8d8bc);color:#162022;box-shadow:0 3px 5px #0d0a0980;font:700 1.07rem/1 Georgia,serif}
.gt-card.red {color:#952e3c}.gt-card i{align-self:flex-end;font-size:1.55rem;font-style:normal}.gt-card-ghost{border:1px dashed #c3b49275;color:#c8b69570;align-items:center;justify-content:center;font-size:1.55rem}
.gt-tile {display:inline-flex;align-items:center;justify-content:center;gap:2px;width:49px;height:26px;border:1px solid #b19877;border-radius:5px;padding:3px;background:linear-gradient(155deg,#fff6df,#e7d1af);box-shadow:0 2px 3px #170e0ca3;vertical-align:middle}
.gt-half {display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:1px;width:50%;height:100%}
.gt-half+.gt-half{border-left:1px solid #bda78c;padding-left:2px}.gt-half i{display:block;margin:auto;height:4px;width:4px}.gt-half .pip{background:#211a16;border-radius:100%}
.gt-statusbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin:12px 0 8px;min-height:28px}
.room-panel .gt-status {margin:0;color:#f8e5cb;font-size:.96rem}
.gt-bid {background:#302321;color:#fff2dd;padding:8px;border:1px solid #94765f;border-radius:6px;font:inherit}
.gt-hand {margin:8px 0 12px}.gt-hand-title {font:600 .84rem/1.3 var(--sans);color:#dfc6ac;margin:0 0 8px}
.gt-pieces{display:flex;flex-wrap:wrap;gap:5px}.venue button.gt-piece{min-height:0;min-width:0;border:0;border-radius:5px;background:none;padding:0;line-height:0}
.gt-piece .gt-card {width:44px;height:58px}.gt-piece .gt-tile {width:60px;height:34px}
.gt-piece:disabled {opacity:.64;cursor:default}.gt-piece:enabled:hover,.gt-piece.chosen{outline:2px solid #ecbd86;outline-offset:2px;transform:translateY(-2px)}
.gt-score {font-size:.82rem;color:#e3c7ab;margin-top:10px}.gt-rules {margin:8px 0 0;font-size:.82rem;color:#cdb6a4}
.gt-rules summary {cursor:pointer;display:list-item;font:600 .84rem/1.4 var(--sans)}
.room-panel .gt-rules p {margin:6px 0 0}
@media(max-width:620px){
 .venue #gameDoor{top:15%;right:14px;width:158px}#gameDoor .door-picture{height:43px}
 .gt-gallery{grid-template-columns:1fr;gap:10px}.gt-invite{min-height:168px}.gt-photo {background-size:200% auto}
 .gt-invite.dominoes .gt-photo{background-position:left 60%}.gt-invite.spades .gt-photo{background-position:right 65%}
 .gt-invite:after{background:linear-gradient(90deg,#150d0cea,#160e0c99 56%,#0f090934)}
 .gt-info{padding:16px}.room-panel p.gt-meta{margin:3px 0 11px}.gt-info h4{font-size:31px}
 .gt-music{margin-top:12px}.gt-piece .gt-card{width:37px;height:50px}
 .gt-pieces{gap:4px}.gt-score,.gt-mat-caption{font-size:.78rem}
}
@media(max-height:540px) and (orientation:landscape){
 .venue #gameDoor{top:20%;width:150px}#gameDoor .door-picture{display:none}
 .gt-invite{min-height:190px}.venue .room-panel[data-panel=games]{max-height:96dvh}
}
@media(min-width:740px){.gt-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.gt-invite-actions .gt-gold,.gt-invite-actions .gt-quiet{padding-inline:10px}.gt-info{padding:14px}}
@media(min-width:621px) and (max-width:739px){.gt-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.gt-info{padding:10px}}
.gt-invite.checkers .gt-photo{overflow:hidden;background:radial-gradient(ellipse at 90% 19%,#68442a,#291916 70%)}
.ck-mini,.ck-grid{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);aspect-ratio:1;background:#4a3325;border:5px solid #694529}
.ck-mini{position:absolute;width:124%;top:-10%;left:8%;transform:perspective(390px) rotateX(36deg) rotateZ(-17deg);box-shadow:0 5px 1px #29170e,0 8px 24px #100908}
.ck-mini>span,.ck-square{display:grid;place-items:center}
.gt-felt.checkers{background:radial-gradient(at 40% 0,#584337,#2b211c);padding:10px}
.ck-grid{margin:10px auto 0;width:min(100%,320px);border-radius:3px;box-shadow:0 4px 16px #09060580}
.ck-square,.venue button.ck-square{border:0;border-radius:0;padding:0;min-height:0;min-width:0;aspect-ratio:1}
.ck-light,.venue button.ck-light{background:#d5b88b}.ck-dark,.venue button.ck-dark{background:#70513e}
.ck-disc{display:grid;place-items:center;border-radius:50%;width:77%;height:77%;border:2px solid var(--edge);background:radial-gradient(ellipse at 35% 20%,var(--glint),var(--tone) 75%);box-shadow:inset 0 0 0 2px var(--tone),inset 0 0 0 3px var(--edge),0 2px 2px #170c0bb3}
.ck-red{--edge:#e29278;--tone:#8d2d29;--glint:#c86553}.ck-black{--edge:#8c8582;--tone:#201f22;--glint:#59565c}
.ck-crown{color:#ffe2a8;font-size:1.1rem;line-height:1}
.venue button.ck-selected,.venue button.ck-square:focus-visible{outline:3px solid #ffd78d;outline-offset:-3px;z-index:1}
.venue button.ck-legal .ck-disc{box-shadow:0 0 0 2px #ffdd9b,0 3px 4px #20100b}
.ck-destination:after{content:"";width:28%;height:28%;border-radius:50%;background:#ffda94;box-shadow:0 0 0 3px #382c20}
@media(max-width:620px){.ck-mini{width:68%;top:-15%;left:39%}}

.gt-invite-actions { align-items: stretch; flex-direction: column; }
.venue .gt-watch { align-self: flex-start; padding: 5px 0; background: none; border: 0; color: #f1d9b8; font: 600 .9rem/1.4 var(--sans); text-decoration: underline; }
@media(max-width:620px) {
  .gt-invite-actions { flex-direction: row; align-items: center; }
  .gt-invite-actions .gt-watch { align-self: center; }
}
