/* Additive visual revision. Load after tavern-art.css. Original DOM/handlers retained. */
body[data-page=tavern]{background-color:#102637;background-image:linear-gradient(180deg,#0b1e3266 0,#102738a8 21%,#10283bcc 48%,#10263755 78%,#102637 100%),url('/assets/tavern-art/hall-v1.webp');background-position:center top;background-size:100% 100dvh,100% 85dvh;background-repeat:no-repeat;background-attachment:fixed}
body[data-page=tavern] .topnav{height:42px;background:transparent}
.lobby-controls{background:linear-gradient(180deg,#0b1c2a33,transparent);backdrop-filter:none}
.tavern-intro{min-height:102px;padding:18px 12px 16px}
.tavern-intro h1{font-family:'Microsoft YaHei','PingFang SC',sans-serif;font-weight:700;letter-spacing:.12em;font-size:36px}
.tavern-actions .btn{font-size:16px;letter-spacing:.08em;min-height:45px}
.tavern-toolbar{padding-bottom:8px}.tavern-toolbar .btn{background:#22374788;border-color:#d4b57770}
#lobbyStatus{font-size:11px;color:#9fb6c6;margin-top:8px}
.lobby-layout{gap:20px}.lobby-layout.social-collapsed{grid-template-columns:minmax(0,1fr)}
.tavern-floor{gap:18px 22px;min-height:350px;max-height:calc(100dvh - 225px);padding:14px 10px 28px;align-items:start}
.tavern-table{flex:0 1 calc((100% - 44px)/3);width:auto;max-width:470px;min-width:275px;padding-bottom:8px;--table-glow:#edc58b}
.table-titlebar{min-height:56px;padding:8px 22px 0;z-index:1;justify-content:center}
.table-titlebar h3{font-family:'Microsoft YaHei','PingFang SC',sans-serif;font-size:21px;font-weight:700;letter-spacing:.07em;line-height:1.4;color:#f6e7cf}
.table-titlebar .table-id{font-size:10px;letter-spacing:.06em;color:#c1cbd1}
.table-titlebar:before{inset:-5px -5px -25px;background:linear-gradient(90deg,#10263688,transparent 60%),url('/assets/art/journey-hero-v1.webp') center 48%/cover;mask-image:radial-gradient(ellipse 70% 55% at 50% 45%,#000 24%,#0009 58%,transparent 85%);opacity:.7;z-index:-1}
.tavern-table[data-rule=dnd5e] .table-titlebar:before{background-image:linear-gradient(90deg,#10263699,transparent 60%),url('/assets/art/dnd-citadel-v3.webp')}
.table-titlebar:after{left:8px;top:14px;height:30px;background:#b5e8f6;box-shadow:0 0 9px #63d9ff}
.tavern-table[data-rule=dnd5e] .table-titlebar:after,.create-table .table-titlebar:after{background:#ffe3a7;box-shadow:0 0 9px #ffbb55}
.table-seating{width:84%;aspect-ratio:1.75;isolation:isolate;background:none;margin:-7px auto 0}
.table-seating:before{inset:0;width:100%;height:100%;border:0;border-radius:0;box-shadow:none;background:url('/assets/tavern-art/table-scene-v2.webp') center/100% 100% no-repeat;z-index:-1;filter:saturate(.8) brightness(.88)}
.table-top,.create-table .table-top{left:32%;top:33%;width:36%;height:25%;padding:0;background:none;border:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;gap:0}
.table-top p{font-size:clamp(14px,4.5cqw,20px);line-height:1.1;margin:0;color:#fff3d7;text-shadow:0 2px 4px #0b1119}
.table-top .table-rule{font-size:clamp(8px,2.5cqw,11px);line-height:1.2;color:#f2debc}
.table-top .table-availability{font-size:clamp(8px,2.5cqw,11px);line-height:1.2;color:#e6d3b2}
.table-seat,.table-seat[data-row=back],.table-seat[data-row=side],.table-seat[data-row=front],.table-seat.occupied{width:15%;height:26%;padding:0;background:none;border:0;box-shadow:none;filter:none;align-items:center;justify-content:start}
.table-seat[data-row=back]{--seat-y:23%!important}.table-seat[data-row=side]{--seat-y:47%!important}.table-seat[data-row=front]{--seat-y:73%!important}
.table-seat[style*="--seat-x: 87"],.table-seat[style*="--seat-x:87"]{--seat-x:83%!important}.table-seat[style*="--seat-x: 13"],.table-seat[style*="--seat-x:13"]{--seat-x:17%!important}
.table-seat .seat-account-avatar{width:78%;aspect-ratio:1;height:auto;background:linear-gradient(145deg,#334857dd,#142936ed);border:1px solid #e0c795aa;box-shadow:0 2px 6px #07131c99,inset 0 1px 3px #fff1cf22}
.table-seat.request-seat:hover,.table-seat.request-seat:focus-visible,.table-seat[href]:hover{background:none;box-shadow:none;filter:drop-shadow(0 0 7px #f9d69a)}
.table-seat.unavailable .seat-account-avatar.has-image:before{display:none}
.table-summary{font-size:10px;line-height:1.6;min-height:0;margin:-2px auto 6px;max-width:90%;color:#a9becb}
.table-actions{gap:8px}.table-actions .btn,.create-table>.btn{min-height:30px;padding:5px 11px;font-size:11px;background:#152e3f88;border-color:#bda47255;border-radius:18px}
.lobby-social{padding:14px 12px;background:linear-gradient(90deg,transparent,#10243377);border:0;border-left:1px solid #ad916e44;border-radius:0}
.social-section summary{font-family:'Microsoft YaHei','PingFang SC',sans-serif;font-size:19px;color:#efdcba}
.host-desk{margin-top:16px;background:linear-gradient(90deg,#20394c88,#18304044);border-color:#b19b6440;border-radius:20px;padding:12px 20px}
body[data-page=tavern] .site-footer{font-size:10px;color:#93abba}
@media(min-width:1181px){.lobby-layout:not(.social-collapsed){grid-template-columns:minmax(0,1fr) 260px}}
@media(min-width:1181px) and (max-width:1379px){.lobby-layout:not(.social-collapsed) .tavern-table{flex-basis:calc((100% - 22px)/2);max-width:390px}}
@media(max-width:1180px){.tavern-table{flex-basis:calc((100% - 22px)/2);max-width:430px}.lobby-layout:not(.social-collapsed){grid-template-columns:minmax(0,1fr) 230px}.lobby-layout:not(.social-collapsed) .tavern-table{flex-basis:100%;max-width:400px}}
@media(max-width:800px){.lobby-layout:not(.social-collapsed){grid-template-columns:minmax(0,1fr)}.lobby-layout:not(.social-collapsed) .tavern-table{flex-basis:calc((100% - 22px)/2)}.tavern-table{min-width:260px}.tavern-intro{min-height:94px}.lobby-controls{background:linear-gradient(180deg,#102333eb,#102333d9)}.tavern-floor{max-height:65dvh}.lobby-social{border-left:0;border-top:1px solid #ad916e44}}
@media(max-width:600px){.tavern-table,.lobby-layout:not(.social-collapsed) .tavern-table{flex-basis:100%;max-width:420px;min-width:0}.tavern-intro h1{font-size:28px}.tavern-actions .btn{font-size:12px;min-height:38px}.tavern-floor{padding-inline:0}.table-titlebar h3{font-size:20px}.table-summary{font-size:11px}.table-actions .btn{min-height:36px}.table-seat{min-width:44px}.table-seat .seat-account-avatar{min-width:36px}}
@media(max-width:540px){body[data-page=tavern]{background-size:100% 100dvh,auto 85dvh;background-position:center top,68% top}body[data-page=tavern] .topnav{height:auto;min-height:116px}.tavern-intro{min-height:112px}.tavern-intro h1{font-size:28px}.table-seat[data-row]{min-height:44px}}

.table-titlebar:before{mask-image:linear-gradient(90deg,transparent,#000 15%,#000 80%,transparent),linear-gradient(180deg,transparent,#000 20%,#000 55%,transparent);mask-composite:intersect}

/* Anonymous private tables expose no seat occupancy or room identifiers. */
.shadow-table .table-seating{filter:grayscale(1) brightness(.42);opacity:.8}.shadow-table .table-titlebar:before{background-image:none}.shadow-table .table-top{color:#bcc8d6}.shadow-table .table-titlebar:after{background:#7a899d;box-shadow:0 0 9px #526780}
