@font-face{font-family:Cubic;src:url('/static/assets/fonts/Cubic_11.woff2') format('woff2');font-display:swap}
:root{--bg:#30241f;--ink:#f2dfb8;--muted:#c2a780;--line:#785b3b;--mint:#ecd19a;--forest:#92503f;--dark:#231b18;--white:#f1dfb9;--orange:#e7b766;--paper:#f2e0b9;--paper-ink:#573e2c;--paper-muted:#866747;--edge:#51372a;--gold:#d4a05a;font-family:Cubic,"Microsoft JhengHei",monospace;background:var(--bg);color:var(--ink);font-size:20px;line-height:1.5}
body{background:repeating-linear-gradient(0deg,#241b17 0 2px,transparent 2px 86px),#30241f;min-width:320px}button,input,select{border-radius:0;font-weight:400}button{transition:filter .12s,transform .12s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#eebc68;outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}h1,h2,h3,strong,b{font-weight:400}h2,h3{letter-spacing:0}input,select{background:#fff4d6;border:2px solid #a0845a;color:var(--paper-ink);font-size:18px;padding:10px 12px;min-height:43px}input::placeholder{color:#aa906c}label{font-size:17px;font-weight:400;letter-spacing:0;gap:6px}small{font-size:14px}canvas{image-rendering:pixelated}.app-shell{display:block;max-width:1420px;margin:auto;padding:0 38px}.workspace{margin:0;width:100%}.tavern-header{display:flex;align-items:center;gap:40px;min-height:103px;border-bottom:2px solid #6c4d34}.brand{font-size:28px;letter-spacing:1px;gap:13px;color:#f4dfb0;white-space:nowrap}.brand-icon{width:43px;height:43px;padding:0;background:#965e41;color:#ffe5ad;border:2px solid #d0a15e;border-radius:0;letter-spacing:0;display:grid;place-items:center;font-size:30px;box-shadow:4px 4px #171410}.brand small{font-size:10px;letter-spacing:1px;color:#bda17a;font-weight:400;margin-top:2px}.tavern-header nav{display:flex;gap:12px;margin-left:20px}.nav-item{width:auto;margin:0;padding:10px 15px;color:#c4a982;font-size:18px;white-space:nowrap;position:relative;border:2px solid transparent}.nav-item.active{background:#4e3829;border-color:#80603d;color:#f5d99f;box-shadow:0 3px #191511}.nav-item:hover{background:#493329}.header-welcome{margin-left:auto;font-size:14px;color:#ae906b;white-space:nowrap}.topbar{height:65px;margin:0;border:0}.breadcrumb{font-size:13px;color:#ac8c65}.breadcrumb strong{font-weight:400;color:#d8ba8b}.breadcrumb span{color:#705037;margin:0 12px}.header-meta{gap:18px}.status-pill{font-size:14px;color:#b6ca9b}.status-pill b{background:#bdce93;border-radius:0}.status-pill.offline{color:#eba27f}.version{font-size:11px;color:#a38660;letter-spacing:1px}.content-grid{padding:0;gap:28px;max-width:none;grid-template-columns:minmax(0,1fr) 268px}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:400;line-height:1.5}.eyebrow.muted{color:#b79a72}.primary{background:#92503f;color:#fff0c8;border:2px solid #59382a;box-shadow:0 4px #271b16,inset 0 0 0 1px #b16e50;padding:11px 18px;font-size:18px;font-weight:400;min-height:46px;gap:12px}.primary:hover:not(:disabled){background:#a15c45;box-shadow:0 4px #271b16,inset 0 0 0 1px #c27b57}.primary:active:not(:disabled),.outline:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #39271d}.primary>span{font-size:18px;margin-left:8px}.outline{border:2px solid #9a7c53;box-shadow:0 3px #4d3525;background:#f0ddb4;color:var(--paper-ink);padding:9px 13px;font-size:16px;font-weight:400;min-height:40px}.outline:hover:not(:disabled){background:#ffeec6}.text-button{font-size:16px;font-weight:400;color:#dcbd88;padding:8px 0}.text-button:hover{color:#ffdfa6}.tag{font-size:13px;letter-spacing:0;border-radius:0;background:#e4cd9c;color:#6e512f;padding:4px 8px;font-weight:400}.tag.light{font-size:10px;background:#e5cea4;color:#977448;letter-spacing:1px;font-weight:400}.tiny-dot{border-radius:0;background:#aabc85}.hero{display:block;min-height:334px;border:4px solid #8b6243;box-shadow:0 5px #1c1613,inset 0 0 0 2px #b59055;background:#3d2c24;border-radius:0;position:relative}.hero #tavern-banner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-copy{position:relative;padding:28px 25px;max-width:58%;z-index:2;background:linear-gradient(90deg,#34251c80,transparent)}.hero .eyebrow{font-size:11px;letter-spacing:1px;color:#dfc38b}.hero h1{font-size:38px;line-height:1.25;letter-spacing:0;color:#ffe8b9;font-weight:400;text-shadow:3px 3px #38231c;margin:15px 0 12px}.hero p{font-size:17px;color:#dec7a0;line-height:1.6}.hero .primary{margin-top:20px}.hero-scene{position:absolute;inset:auto 9% 37px auto;margin:0;width:220px;height:135px;overflow:visible;transform:none}.hero-scene canvas{top:auto;bottom:0;width:126px;height:126px;filter:drop-shadow(0 4px #211c1855)}.hero-friend{left:0}.hero-me{left:88px;bottom:10px!important}.scene-caption{position:absolute;right:12px;bottom:10px;width:auto;padding:2px 8px;border:2px solid #795438;background:#e9d2a2;color:#65482f;font-size:10px;letter-spacing:1px;z-index:3}.rooms-section{margin-top:32px}.section-heading h2{font-size:28px;letter-spacing:0}.section-heading .eyebrow{margin-bottom:3px;font-size:11px}.section-heading h2>span{font:16px Cubic,monospace;color:#b89a71;margin-left:10px}.room-toolbar{margin-top:14px;border-bottom:2px solid #715235}.tabs{gap:25px}.tab{font-size:17px;font-weight:400;color:#bfa179;padding:11px 0}.tab.active{color:#f7dba6;font-weight:400}.tab.active:after{background:#dbb36c;height:3px}.search{max-width:210px;gap:9px}.search>span{font-size:24px;color:#a88a61}.search input{font-size:15px;color:#e2c898;min-height:35px}.search input::placeholder{color:#a88a63}.directory-note{font-size:13px;line-height:1.7;color:#b39872;padding:12px 0}.directory-note.warning{color:#e3aa7c}.room-list{gap:13px;min-height:180px}.empty-rooms{background:#3e2e23;border:2px dashed #80613f;border-radius:0;padding:30px 16px;gap:9px}.empty-rooms .empty-mark{font-size:34px;color:#d6ad6d}.empty-rooms strong{font-size:21px;font-weight:400;color:#efd3a1}.empty-rooms p{font-size:15px;color:#b99c75}.empty-rooms .text-button{color:#e3bd7a}.room-row{padding:18px 20px;gap:16px;background:#f2dfb7;color:var(--paper-ink);border:3px solid #795737;box-shadow:0 4px #1d1713,inset 0 0 0 2px #dec18d;border-radius:0;min-height:109px}.room-number{background:#e2c794!important;color:#805d35!important;border:2px solid #bc9961;border-radius:0;width:44px;height:44px;font:20px Cubic,monospace}.room-info h3{font-size:20px;font-weight:400}.room-info p{font:13px Cubic,monospace;color:#92734f;gap:9px}.room-capacity{font:19px Cubic,monospace;color:#7e613c}.room-capacity small{font-size:14px;color:#9a7d55}.room-row .outline{padding:8px 12px;font-size:16px;min-height:37px}.howto{padding:20px 0;margin-top:24px;border-color:#705034;gap:14px}.howto-mark{border:2px solid #ad8952;border-radius:0;font:19px Cubic,monospace;color:#e3be7d;width:29px;height:29px}.howto strong{font-size:18px;font-weight:400}.howto p{font-size:14px;color:#b69a73;line-height:1.8}.howto .text-button{font-size:15px;margin-left:auto}.right-panel{gap:22px}.profile-card,.chat-card,.host-card{background:var(--paper);color:var(--paper-ink);border:3px solid #795737;border-radius:0;box-shadow:0 4px #1d1713,inset 0 0 0 2px #dec18d;padding:19px}.profile-card .eyebrow,.host-card .eyebrow{color:#94724c;font-size:11px;letter-spacing:1px}.profile-stage{height:174px;margin-top:8px}.profile-halo{border-radius:0;width:134px;height:134px;background:#e5cda0;box-shadow:4px 4px #d4b781;top:18px}.profile-stage canvas{width:170px;height:170px}.stage-plinth{background:#ae8b59;border-bottom:5px solid #785834;border-radius:0;width:112px;height:15px;bottom:8px}.stage-cross{color:#b88b47}.cross-one{left:4px;top:36px}.cross-two{right:2px;top:101px}.profile-name{font-size:24px;font-weight:400;margin-top:11px}.profile-team{font-size:14px;color:#947650;margin:4px 0 18px}.profile-card .outline{font-size:16px}.profile-foot{color:#a1845a;font-size:12px;margin-top:14px}.card-top h3,.chat-card h3{font-size:20px}.chat-dot{border-radius:0;width:7px;height:7px;background:#8b9e69}.chat-log{font-size:16px;height:220px;margin:14px 0;scrollbar-color:#b39b70 transparent;scrollbar-width:thin}.chat-welcome{font-size:15px;color:#997b55;line-height:1.8;padding:25px 2px}.chat-welcome span{font-size:13px;color:#ac926b}.chat-message{font-size:16px;margin:12px 0;line-height:1.6}.chat-message b{font-size:13px;font-weight:400;color:#99664a}.chat-system{font-size:13px;color:#a1855e;padding:5px 0}.chat-card form{border-color:#cdb587;padding-top:10px;gap:6px}.chat-card input{font-size:16px;color:#684b31;padding:7px 0;min-height:36px}.chat-card form button{background:#9a6244;color:#fff1ce;border-radius:0;width:32px;height:32px;border:2px solid #6a482e}.right-bottom{font:10px Cubic,monospace;color:#a98a62;letter-spacing:1px}.host-card h3{font-size:22px}.host-card p{font-size:14px;color:#8f704b}.host-card small{font-size:13px;color:#977b53}.host-card .primary{font-size:17px;min-height:42px}.host-card .text-button{color:#8d523b;font-size:15px}.page-footer{margin:28px 0 0;padding:20px 0;border-color:#6d4d33;font-size:12px;color:#a88b63;gap:12px}.mobile-settings{color:#d7b580}.game-heading{margin:0 0 18px;align-items:center}.game-heading h1{font-size:31px;letter-spacing:0;font-weight:400;margin-top:5px;overflow-wrap:anywhere}.game-heading p{font-size:16px;line-height:1.7;color:#c2a37b}.game-heading>.outline{font-size:15px;box-shadow:0 3px #211914}.game-meta{font-size:14px;gap:14px;color:#ad8f68;margin-bottom:20px}.game-meta #game-endpoint{font-family:Cubic,monospace}.game-meta .tag{background:#60442f;color:#efce96;border:1px solid #906a40}.action-panel{background:#f1dfb7;color:var(--paper-ink);border:3px solid #87633e;border-radius:0;box-shadow:0 4px #1d1713;padding:23px;min-height:128px;margin-top:24px}.action-heading h3{font-size:24px;letter-spacing:0}.action-panel p{font-size:17px;color:#8b6a45;line-height:1.7}.action-panel .text-button{color:#91583c;font-size:16px}.timer{font:19px Cubic,monospace;color:#8d693a}.timer.urgent{color:#b4573e}.action-form{gap:12px;margin-top:18px}.number-input{width:200px;font:28px Cubic,monospace;letter-spacing:7px;border:2px solid #af8c59;background:#fff5da;padding:10px;text-align:center}.action-form input[type=number]{width:67px;font:24px Cubic,monospace;padding:9px}.action-form .primary{font-size:17px}.history-heading{margin:30px 0 13px}.history-heading h2{font-size:23px}.history-heading>span{font:14px Cubic,monospace;color:#b79a71;letter-spacing:1px}.history-table{background:#f1dfb8;color:var(--paper-ink);border:3px solid #795737;border-radius:0;box-shadow:0 4px #1d1713}.empty-history{font-size:16px;color:#a0845c;padding:27px}.history-row{grid-template-columns:36px 1fr 65px 1.4fr;padding:16px;font-size:16px;gap:12px;border-color:#dac295}.history-row .history-turn{font-family:Cubic,monospace;color:#a28557}.history-guess{font:22px Cubic,monospace;color:#996246}.history-results{font-size:14px;color:#92704a}.history-event{font-size:14px;padding:12px 16px;background:#e7d2a9;color:#8f7049;border-color:#ceb07a}.ranking{background:#e9ca8c;color:#66452e;border:3px solid #91673b;border-radius:0;padding:23px}.ranking h2{font-size:26px}.ranking-row{font-size:18px;gap:14px}.ranking-row strong{font:23px Cubic,monospace;color:#925b36}.ranking-row small{color:#947044;font-size:14px}
/* The table stays fixed; player buttons and speech bubbles sit above the scenery. */
.table-room{border:4px solid #815d3b;box-shadow:0 5px #1d1713;background:#473024;color:#f1d7a4}.table-room-heading{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;background:#30231c;border-bottom:3px solid #785234;font-size:12px;letter-spacing:1px;color:#c5a16b}.table-room-heading span:last-child{letter-spacing:0;color:#d9b984}.tavern-stage{position:relative;background:repeating-linear-gradient(0deg,#38271f 0 2px,transparent 2px 26px),repeating-linear-gradient(90deg,#66462e 0 100px,#573b27 100px 103px);padding:40px 18px 17px;isolation:isolate}.tavern-stage:before{content:"";position:absolute;inset:0 0 auto;height:43%;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0 21px,#32251e 21px 24px),repeating-linear-gradient(90deg,#4c3327 0 59px,#39271f 59px 62px);border-bottom:8px solid #89603b}.wall-lamp{position:absolute;top:18px;width:12px;height:20px;background:#c28b43;border:3px solid #e7ba65;box-shadow:0 0 24px #f2b44c65,0 8px #34241a}.lamp-left{left:10%}.lamp-right{right:10%}.table-prop{position:absolute;left:14%;right:14%;top:46%;height:78px;background:repeating-linear-gradient(0deg,#9c6b3d 0 15px,#80512f 15px 18px);border:5px solid #c28b4c;box-shadow:0 9px #4c301f,0 13px #32241b;border-radius:2px;z-index:0;text-align:center;pointer-events:none}.table-prop span{position:relative;top:17px;font-size:17px;letter-spacing:3px;color:#e3bd7d;text-shadow:2px 2px #744c2e}.table-prop i{position:absolute;top:12px;width:12px;height:16px;background:#dfbc79;border:2px solid #efd39b;box-shadow:3px 2px #6a4329}.table-prop i:nth-child(2){left:10%}.table-prop i:nth-child(3){right:10%}.seats{position:relative;z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:67px 10px;margin:0}.seat{background:transparent!important;border:0;border-radius:0;box-shadow:none!important;min-height:188px;padding:0 2px 4px;overflow:visible;isolation:isolate}.seat:after{content:"";position:absolute;width:66px;height:12px;top:105px;left:calc(50% - 33px);z-index:-1;background:#8a5d35;border:2px solid #b28049;box-shadow:0 5px #3b291d}.seat-label{font-size:10px;color:#ba9865;top:0;left:4px;letter-spacing:0}.seat-status{font-size:11px;background:#3e2d23;border:1px solid #82613d;color:#c7b082;top:0;right:4px;line-height:1.5;border-radius:0;padding:1px 5px}.seat-avatar-button{display:block;margin:15px auto 0;padding:0;width:120px;height:110px;border:2px solid transparent;position:relative}.seat-avatar-button:hover:not(:disabled){background:#e9c17b12;transform:none;border-color:#bb945b}.seat canvas{width:112px;height:112px;margin:-5px auto 0;display:block;transform-origin:50% 90%}.seat h3{font-size:17px;color:#f3d9ac;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin:2px 0 0}.seat.me h3{color:#ffd987}.seat small{font-size:11px;color:#c8a77b;margin-top:2px}.seat-feedback{font:17px Cubic,monospace;color:#f6da9e;min-height:20px;margin-top:3px}.seat.current .seat-avatar-button{border-color:#edc479;box-shadow:0 0 14px #eab54b33}.seat.current .seat-status{color:#ffdfa4;border-color:#d1a15d}.seat.selected .seat-avatar-button{border-color:#eac476;background:#dfad4f18}.seat.selected h3:before{content:"▸ ";color:#f8ce7a}.seat.out canvas{filter:grayscale(.8);opacity:.65}.seat.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:none!important;min-height:188px;padding-top:20px;border:0;color:#b39871}.seat.empty>span{font-size:35px;color:#bf9b64}.seat.empty small{font-size:13px;white-space:normal}.seat.empty:after{opacity:.5}.seat.closed{opacity:.32}.seat.closed>span{font-size:22px}.seat-bubble{position:absolute;bottom:calc(100% - 23px);left:50%;transform:translateX(-50%);background:#fff1cf;color:#674831;border:2px solid #8f673e;box-shadow:3px 3px #281d1670;padding:7px 10px;width:max-content;max-width:190px;min-width:52px;font-size:15px;line-height:1.4;z-index:6;pointer-events:none;overflow-wrap:anywhere}.seat-bubble:after{content:"";position:absolute;left:calc(50% - 5px);bottom:-8px;width:8px;height:8px;background:#fff1cf;border-right:2px solid #8f673e;border-bottom:2px solid #8f673e;transform:rotate(45deg)}.bubble-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bubble-icon{display:block;width:23px;height:23px;margin:0 auto 4px;color:#a46a3e}.gesture-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle;image-rendering:pixelated}.emote-wave canvas{animation:gesture-wave .8s steps(4) 2}.emote-cheers canvas{animation:gesture-hop .6s steps(5) 2}.emote-clap canvas{animation:gesture-clap .3s steps(3) 4}.emote-think canvas{animation:gesture-think 1.3s steps(6)}.seat.receiving .seat-avatar-button{animation:received-gesture 1.2s steps(4)}.interaction-bar{background:#f0ddb3;color:var(--paper-ink);border-top:4px solid #795534;padding:16px 20px}.interaction-target{display:flex;gap:12px;align-items:center;font-size:16px;flex-wrap:wrap}.interaction-target>span{font-size:13px;color:#9c7b4e}.interaction-target strong{font-size:17px;overflow-wrap:anywhere}.interaction-target .text-button{font-size:13px;color:#a47146;padding:0;margin-left:auto}.interaction-actions{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}.gesture-button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:17px;background:#e6cca0;color:#7b5433;border:2px solid #b48a52;box-shadow:0 3px #c7a574;padding:8px 13px;flex:1;min-width:96px;white-space:nowrap}.gesture-button:hover:not(:disabled){background:#f9e4bc}.interaction-bar p{font-size:13px;color:#977349;margin-top:12px;line-height:1.7}.interaction-bar .cooling{color:#a3693e}
/* All dialogs use the same parchment as the profile and action panels. */
dialog{background:#f2e0b9;color:#573e2c;border:4px solid #8a663e;border-radius:0;padding:26px;box-shadow:0 8px #281c16,0 30px 90px #140e0bc0;width:min(580px,calc(100% - 32px));max-height:90vh}dialog::backdrop{background:#160f0bcc;backdrop-filter:none}.dialog-header{margin-bottom:22px}.dialog-header h2{font-size:28px;letter-spacing:0;font-weight:400;line-height:1.45}.dialog-header .eyebrow{font-size:11px;color:#9a7950}.icon-button{font-size:30px;color:#99734c;border-radius:0}.icon-button:hover{background:#dfc59a}.dialog-footer{border-color:#cbae78;gap:16px;margin-top:22px;padding-top:18px}.dialog-footer>span{font-size:13px;color:#9b7d54}.dialog-footer .primary{font-size:17px;padding:10px 15px}.form-note{background:#e8d0a4;color:#937047;border-radius:0;font-size:16px;line-height:1.8;padding:14px}.field-row{gap:15px}.field-row .team-field,.field-row .port-field{max-width:120px}.dialog-error{font-size:16px;border:2px solid #be8d60;background:#f8d8b5;color:#9c523b;border-radius:0}.wardrobe-dialog{width:min(880px,calc(100% - 32px))}.wardrobe-layout{grid-template-columns:245px 1fr;gap:26px}.wardrobe-preview{background:#d8b987;min-height:385px;border-radius:0;border:2px solid #b7935e;position:sticky;top:0}.wardrobe-preview canvas{width:230px;height:230px}.wardrobe-shadow{background:#b08a54;border-radius:0;width:115px;height:12px}.wardrobe-preview>span{font-size:14px;color:#8f6c43;letter-spacing:0}.wardrobe-preview button{font-size:15px;margin-top:15px}.wardrobe-tabs{gap:4px;border-color:#c7aa76;padding-bottom:10px}.wardrobe-tab{font-size:15px;padding:8px 4px;border-radius:0;color:#a18258}.wardrobe-tab.selected{background:#dec18c;color:#79512f;font-weight:400}.wardrobe-tab small{font:12px Cubic,monospace;color:#a17a47}.option-group{margin-top:18px}.option-group label{font-size:15px;color:#947044}.option-button{font-size:15px;border:2px solid #c8ad7b;padding:6px 10px;background:#f9eccd;min-height:34px}.option-button.selected{color:#795030;background:#e3c18b;border-color:#a6743d;box-shadow:0 0 0 1px #a6743d}.wardrobe-dialog .option-button:not(.color-button){font-size:15px;padding:7px 11px}.color-button{width:29px;height:29px;min-height:29px;padding:0;border:3px solid #fff1ce;border-radius:0;box-shadow:0 0 0 1px #bfa371}.color-button.selected{box-shadow:0 0 0 2px #946339}.wardrobe-note{font-size:14px;line-height:1.8;color:#9b7c53;border-color:#c8aa74}.toasts{bottom:22px;right:22px;max-width:min(440px,calc(100% - 32px))}.toast{font-size:17px;line-height:1.7;border:2px solid #ac844e;background:#f7e3b6;color:#805531;border-radius:0;box-shadow:4px 4px #21181490}.toast.error{background:#f8d8bc;color:#98533c;border-color:#bd8456}.credits-page{max-width:840px;margin:50px auto;padding:30px;background:#ead4a7;color:#63462e;border:4px solid #987044}.credits-page h1{font-size:36px;margin:30px 0}.credits-page h2{font-size:26px}.credits-page p{font-size:18px;color:#91704a;line-height:1.9}.credits-page a{color:#955c3c}
@keyframes gesture-wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}
@keyframes gesture-hop{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes gesture-clap{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.88) translateY(-3px)}}
@keyframes gesture-think{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}
@keyframes received-gesture{0%,100%{background:transparent}50%{background:#f4c46c45}}
.action-panel{margin:0 0 24px}.seat,.seat.empty{min-height:172px}.tavern-header .brand>span:last-child{display:block}
@media(min-width:1450px){.app-shell{padding:0 42px}.content-grid{grid-template-columns:minmax(0,1fr) 285px;gap:32px}.hero{min-height:355px}.hero h1{font-size:44px}.hero-copy{padding:30px}.hero-scene{transform:none}.profile-stage{height:185px}.profile-stage canvas{width:180px;height:180px}.profile-halo{width:142px;height:142px}}
@media(max-width:1100px){.app-shell{padding:0 26px}.tavern-header{gap:20px}.tavern-header nav{gap:5px;margin-left:auto}.header-welcome{display:none}.content-grid{grid-template-columns:minmax(0,1fr) 235px;gap:22px}.hero{min-height:347px}.hero-copy{max-width:75%;padding:25px 20px;background:linear-gradient(90deg,#35251bd9,#35251b00)}.hero h1{font-size:35px}.hero p{font-size:16px}.hero-scene{right:1%;bottom:32px;width:170px;height:120px}.hero-scene canvas{width:100px;height:100px}.hero-me{left:68px}.hero .eyebrow{font-size:9px}.profile-card,.chat-card,.host-card{padding:16px}.profile-stage canvas{width:160px;height:160px}.profile-stage{height:168px}.profile-team{font-size:12px}.profile-card .outline{font-size:14px}.room-row{padding:15px 13px;gap:11px}.room-info h3{font-size:18px}.room-info p{font-size:12px;gap:6px;flex-wrap:wrap}.room-row .outline{font-size:14px;padding:7px 9px}.room-capacity{display:block;font-size:17px}.room-number{width:36px;height:38px;font-size:17px}.howto .text-button{display:none}.game-heading h1{font-size:27px}.game-heading p{font-size:15px}.seats{gap:67px 5px}.tavern-stage{padding:40px 9px 17px}.seat h3{font-size:15px}.seat small{font-size:10px}.seat-avatar-button{width:104px}.seat canvas{width:106px;height:106px;margin-left:calc(50% - 53px)}.seat-label{font-size:9px;left:1px}.seat-status{font-size:10px;right:0}.gesture-button{font-size:15px;padding:8px 9px;min-width:90px}.interaction-actions{gap:7px}.history-row{font-size:15px;gap:8px;grid-template-columns:27px 1fr 58px 1.3fr}.history-results{font-size:13px}.table-prop span{font-size:15px}}
@media(max-width:800px){.app-shell{padding:0 22px}.tavern-header{min-height:91px}.brand{font-size:25px}.brand small{font-size:8px}.tavern-header nav{gap:4px}.nav-item{font-size:16px;padding:8px 10px}.topbar{height:62px}.content-grid{grid-template-columns:1fr;gap:28px}.hero{min-height:327px}.hero-copy{max-width:60%;padding:26px}.hero h1{font-size:38px}.hero .eyebrow{font-size:10px}.hero-scene{right:6%;width:200px;bottom:40px}.hero-scene canvas{width:120px;height:120px}.hero-me{left:84px}.right-panel{grid-template-columns:1fr 1fr;gap:20px;display:grid}.host-card{grid-column:1/-1;grid-row:1}.right-bottom{grid-column:1/-1}.profile-card{min-height:340px}.chat-card{min-height:340px}.chat-log{height:237px}.profile-stage{height:166px}.profile-stage canvas{width:164px;height:164px}.profile-name{font-size:23px}.profile-team{font-size:13px}.profile-card .outline{font-size:16px}.profile-foot{font-size:12px}.howto .text-button{display:block}.page-footer{margin:25px 0 0;font-size:11px}.page-footer>span:last-child{display:none}.seat h3{font-size:17px}.seat small{font-size:12px}.seat-status{font-size:11px}.seat-label{font-size:10px}.wardrobe-layout{grid-template-columns:200px 1fr;gap:18px}.wardrobe-preview canvas{width:195px;height:195px}.wardrobe-preview{min-height:350px}.wardrobe-tab{font-size:14px}.wardrobe-dialog .option-button:not(.color-button){font-size:14px}}
@media(max-width:520px){.app-shell{padding:0 14px}.tavern-header{flex-wrap:wrap;gap:12px;min-height:0;padding:20px 0 13px}.brand{font-size:25px;gap:12px}.brand small{font-size:9px}.brand-icon{width:37px;height:37px;font-size:27px}.tavern-header nav{width:100%;margin:0;gap:10px;justify-content:space-between}.nav-item{font-size:17px;flex:1;justify-content:center;padding:7px 8px}.topbar{margin:0;height:58px;gap:5px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 6px}.header-meta{gap:6px}.status-pill{font-size:11px}.header-meta .text-button{font-size:11px}.mobile-settings{display:none}.version{display:none}.content-grid{padding:0;gap:25px}.hero{min-height:410px}.hero-copy{max-width:100%;padding:21px 18px;background:linear-gradient(90deg,#35251bf2,#35251b00)}.hero h1{font-size:34px;margin:13px 0 12px}.hero p{font-size:16px}.hero .eyebrow{font-size:9px;letter-spacing:.7px}.hero .primary{margin-top:17px;font-size:17px;padding:10px 13px;gap:8px}.hero .primary>span{margin-left:4px}.hero-scene{right:5%;bottom:24px;height:110px;width:205px;transform:none;margin:0}.hero-scene canvas{width:105px;height:105px}.hero-me{left:88px;bottom:7px!important}.scene-caption{font-size:9px;right:7px;bottom:5px;padding:1px 5px}.hero #tavern-banner{object-position:80%}.rooms-section{margin-top:27px}.section-heading h2{font-size:26px}.section-heading .eyebrow{font-size:10px}.section-heading .text-button{font-size:15px}.room-toolbar{margin-top:13px;gap:10px}.tabs{gap:18px}.tab{font-size:16px}.search{max-width:125px;gap:4px}.search input{font-size:13px}.directory-note{font-size:12px}.room-row{gap:10px;padding:15px 11px;flex-wrap:wrap}.room-number{width:33px;height:36px;font-size:16px}.room-info{flex-basis:calc(100% - 60px)}.room-info h3{font-size:18px}.room-info p{font-size:12px;line-height:1.7}.room-capacity{display:block;margin-left:43px;font-size:17px}.room-row .outline{margin-left:auto;font-size:15px;padding:7px 13px}.howto{padding:18px 0;gap:12px}.howto strong{font-size:17px}.howto p{font-size:14px}.howto .text-button{display:none}.right-panel{gap:18px;grid-template-columns:1fr}.profile-card{min-height:0;display:grid;grid-template-columns:110px 1fr;column-gap:10px;text-align:left;padding:16px}.profile-card .card-top{grid-column:1/-1}.profile-stage{grid-row:2/6;grid-column:1;height:149px;margin-top:3px}.profile-stage canvas{width:145px;height:145px;margin-left:-15px}.profile-halo{width:100px;height:100px;top:25px}.stage-plinth{width:90px;bottom:10px}.stage-cross{display:none}.profile-name{grid-column:2;margin-top:23px;font-size:23px}.profile-team{grid-column:2;margin:3px 0 12px;font-size:12px}.profile-card .outline{grid-column:2;font-size:14px;padding:8px 5px;min-height:36px}.profile-foot{grid-column:2;font-size:11px;margin:10px 0 15px}.chat-card{min-height:0;padding:18px}.chat-log{height:240px}.chat-card input{font-size:17px}.host-card{grid-column:auto}.right-bottom{font-size:10px}.page-footer{font-size:11px;margin-top:23px}.game-heading{gap:10px}.game-heading h1{font-size:25px;margin-top:5px}.game-heading p{font-size:15px}.game-heading>.outline{font-size:13px;padding:8px;min-height:36px;white-space:nowrap}.game-meta{font-size:12px;gap:9px;margin-bottom:18px}.table-room{border-width:3px}.table-room-heading{font-size:10px;padding:10px;letter-spacing:.5px}.tavern-stage{padding:48px 5px 15px}.seats{gap:68px 3px}.seat{min-height:159px;padding:0 1px 3px}.seat-avatar-button{width:87px;height:99px;margin-top:18px}.seat canvas{width:100px;height:100px;margin-left:calc(50% - 50px);margin-top:-3px}.seat h3{font-size:13px;line-height:1.6}.seat small{font-size:9px}.seat-label{font-size:8px;left:3px;top:0}.seat-status{font-size:8px;right:1px;top:0;padding:1px 3px}.seat-feedback{font-size:14px;min-height:17px}.seat:after{width:54px;left:calc(50% - 27px);top:104px;height:10px}.seat.empty{min-height:159px;padding-top:25px}.seat.empty>span{font-size:29px}.seat.empty small{font-size:10px}.seat-bubble{font-size:13px;max-width:112px;padding:6px;bottom:calc(100% - 23px)}.bubble-icon{width:18px;height:18px}.table-prop{left:7%;right:7%;top:47%;height:64px;border-width:4px}.table-prop span{font-size:14px;letter-spacing:2px;top:12px}.table-prop i{top:10px;width:10px;height:13px}.interaction-bar{padding:14px 12px;border-width:3px}.interaction-target{gap:8px}.interaction-target>span{font-size:12px}.interaction-target strong{font-size:15px}.interaction-target .text-button{font-size:11px}.interaction-actions{gap:7px;display:grid;grid-template-columns:1fr 1fr;margin-top:12px}.gesture-button{font-size:17px;padding:8px 7px;min-width:0}.gesture-icon{width:18px;height:18px}.interaction-bar p{font-size:12px;margin-top:12px}.action-panel{padding:18px;margin-top:23px}.action-heading h3{font-size:21px;line-height:1.5}.action-panel p{font-size:16px}.timer{font-size:16px}.number-input{width:165px;font-size:26px}.action-form .primary{padding:10px 12px;font-size:15px}.action-form{gap:10px}.history-heading h2{font-size:22px}.history-heading>span{font-size:12px}.history-row{padding:13px 10px;gap:7px;grid-template-columns:22px minmax(0,1fr) 47px 1.3fr;font-size:13px;overflow-wrap:anywhere}.history-results{font-size:12px}.history-guess{font-size:18px}.empty-history{font-size:15px}.history-event{font-size:13px}.ranking{padding:18px}.ranking h2{font-size:23px}.ranking-row{font-size:15px;gap:10px}.ranking-row small{font-size:12px}dialog{padding:20px;border-width:3px}.dialog-header h2{font-size:25px}.dialog-header .eyebrow{font-size:10px}.dialog-header{margin-bottom:20px}.dialog-footer{gap:12px;flex-wrap:wrap}.dialog-footer>span{font-size:13px;flex:1}.dialog-footer .primary{font-size:16px;padding:10px 14px}.field-row{gap:10px}.field-row .team-field,.field-row .port-field{max-width:100px}.form-note{font-size:15px;padding:12px}label{font-size:16px}input,select{font-size:17px}.wardrobe-layout{grid-template-columns:1fr;gap:20px}.wardrobe-preview{position:relative;min-height:174px;display:grid;grid-template-columns:1fr 1fr;padding:10px}.wardrobe-preview canvas{grid-row:1/3;width:155px;height:155px;margin-top:0}.wardrobe-preview>span{font-size:13px;margin:20px 0 0;text-align:center}.wardrobe-preview button{font-size:14px;margin:0 0 20px}.wardrobe-tabs{gap:2px}.wardrobe-tab{font-size:13px;padding:8px 2px}.wardrobe-tab small{font-size:10px}.option-group label{font-size:14px}.wardrobe-dialog .option-button:not(.color-button){font-size:14px;padding:7px 8px}.wardrobe-note{font-size:13px}.wardrobe-option-page{min-height:200px}.color-button{width:27px;height:27px;min-height:27px}.credits-page{margin:25px 14px;padding:20px}.credits-page h1{font-size:29px}.credits-page p{font-size:17px}}
@media(max-width:520px){.howto{flex-wrap:wrap}.howto>div{flex:1;min-width:180px}.howto .text-button{display:block;margin-left:43px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
