@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0wkzw~je483f-.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.08e28id.o-okb.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-geist-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.table{display:table}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-full{min-height:100%}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.overflow-hidden{overflow:hidden}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--background:#fff;--foreground:#171717}@media (prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#ededed}}body{color:#fff;background:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif}.app{background:#000;width:100%;height:100%;display:flex;overflow:hidden}.sidebar{background:#1c1c1e;border-right:1px solid #2c2c2e;flex-direction:column;width:300px;min-height:0;display:flex}.sidebar-header{box-sizing:border-box;border-bottom:1px solid #2c2c2e;justify-content:space-between;align-items:center;height:60px;padding:20px;display:flex}.logo h1{color:#fff;font-size:18px;font-weight:500}.sidebar-game-nav{border-bottom:1px solid #2c2c2e;align-items:center;gap:8px;padding:0 20px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;display:flex}.sidebar-game-nav a{color:#30d158;text-decoration:none}.sidebar-game-nav a:hover{text-decoration:underline}.sidebar-game-nav a.is-active,.chat-game-nav a.is-active{color:#fff;font-weight:600;text-decoration:none}.sidebar-game-nav-sep{color:#48484a}.close-sidebar{color:#8e8e93;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px;display:none}.close-sidebar:hover{color:#fff;background:#3a3a3c}.user-settings{flex:1;padding:20px}.sidebar-section{border-bottom:1px solid #2c2c2e;flex-direction:column;flex:1;min-height:0;padding:12px 12px 0;display:flex}.sidebar-section-header{color:#8e8e93;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:600;display:flex}.text-button{color:#007aff;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 6px;font-size:13px}.text-button:hover{background:#007aff26}.room-list{flex:1;margin:0;padding:0;list-style:none;overflow-y:auto}.room-list li{align-items:center;gap:4px;margin-bottom:4px;display:flex}.room-list-item{color:#fff;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;align-items:center;gap:4px;padding:10px 12px;font-size:14px;transition:background .15s;display:flex}.room-list-item:hover{background:#2c2c2e}.room-list-item.active{color:#fff;background:#007aff}.room-hash{color:#8e8e93;font-weight:600}.room-list-item.active .room-hash{color:#fffc}.room-list-remove{color:#8e8e93;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;width:28px;height:28px;font-size:18px;line-height:1}.room-list-remove:hover{color:#ff6b6b;background:#3a3a3c}.room-list-empty{color:#8e8e93;padding:12px;font-size:13px}.sidebar-user{border-bottom:1px solid #2c2c2e;padding:16px 20px}.sidebar-user-label{color:#8e8e93;margin-bottom:4px;font-size:12px}.sidebar-user-name{text-align:left;color:#fff;cursor:pointer;background:0 0;border:none;width:100%;margin-bottom:8px;padding:0;font-size:16px;font-weight:600;display:block}.sidebar-user-name:hover{color:#007aff;text-underline-offset:3px;text-decoration:underline}.entry-username-row{background:#2c2c2e;border-radius:8px;align-items:center;gap:8px;margin-bottom:20px;padding:10px 12px;display:flex}.entry-username-label{color:#8e8e93;font-size:13px}.entry-username-value{color:#fff;flex:1;font-size:15px;font-weight:600}.entry-change-name{flex-shrink:0}.modal-actions{gap:10px;display:flex}.modal-secondary{color:#fff;cursor:pointer;background:0 0;border:1px solid #3a3a3c;border-radius:10px;flex:1;padding:12px;font-size:15px;font-weight:500}.modal-secondary:hover{background:#2c2c2e}.modal-submit-inline{flex:1}.sidebar-members{color:#8e8e93;margin-bottom:12px;font-size:12px;line-height:1.4}.leave-button{color:#ff6b6b;cursor:pointer;background:0 0;border:1px solid #3a3a3c;border-radius:8px;width:100%;padding:8px 12px;font-size:13px}.leave-button:hover{background:#ff3b301a;border-color:#ff3b30}.modal-overlay{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000bf;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:#1c1c1e;border:1px solid #2c2c2e;border-radius:16px;width:100%;max-width:400px;padding:28px 24px 24px;box-shadow:0 24px 48px #00000080}.modal-title{color:#fff;margin-bottom:8px;font-size:22px;font-weight:600}.modal-desc{color:#8e8e93;margin-bottom:24px;font-size:14px;line-height:1.5}.modal-form .setting-group:last-of-type{margin-bottom:16px}.modal-error{color:#ff6b6b;background:#ff3b301f;border-radius:8px;margin-bottom:16px;padding:10px 12px;font-size:13px;line-height:1.4}.modal-submit{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:10px;width:100%;padding:12px;font-size:15px;font-weight:600}.modal-submit:hover:not(:disabled){background:#0056cc}.modal-submit:disabled{opacity:.6;cursor:not-allowed}.setting-group{margin-bottom:20px}.setting-group label{color:#8e8e93;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.setting-input{color:#fff;background:#2c2c2e;border:1px solid #3a3a3c;border-radius:8px;width:100%;padding:10px 14px;font-size:14px}.setting-input:focus{border-color:#007aff;outline:none;box-shadow:0 0 0 3px #007aff1a}.reconnect-button{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:8px;width:100%;padding:10px 14px;font-size:14px;font-weight:500}.reconnect-button:hover{background:#0056cc}.connection-status{box-sizing:border-box;border-top:1px solid #2c2c2e;align-items:center;height:60px;padding:20px;display:flex}.status-indicator{align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.status-dot{border-radius:50%;width:8px;height:8px}.status-indicator.connected .status-dot{background-color:#30d158}.status-indicator.connecting .status-dot{background-color:#facc15;animation:1.5s infinite pulse}.status-indicator.disconnected .status-dot,.status-indicator.idle .status-dot{background-color:#ff3b30}.status-indicator.connected{color:#30d158}.status-indicator.connecting{color:#facc15}.status-indicator.disconnected,.status-indicator.idle{color:#9ca3af}.status-indicator.idle .status-dot{background-color:#9ca3af}.status-indicator.error{color:#ff3b30}.status-indicator.error .status-dot{background-color:#ff3b30}.error-hint{color:#ff6b6b;margin-top:12px;font-size:12px;line-height:1.4}.dev-hint{color:#8e8e93;margin-top:8px;font-size:11px;line-height:1.4}@keyframes pulse{50%{opacity:.5}}.chat-container{background:#000;flex-direction:column;flex:1;display:flex}.chat-header{background:#1c1c1e;border-bottom:1px solid #2c2c2e;align-items:center;gap:12px;padding:12px 20px;display:flex}.menu-button{color:#8e8e93;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px;display:none}.room-info{flex:1;min-width:0}.room-info h2{color:#fff;margin-bottom:2px;font-size:16px;font-weight:600}.room-info p{color:#8e8e93;font-size:12px}.chat-game-nav{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;display:flex}.chat-game-nav a{color:#30d158;white-space:nowrap;text-decoration:none}.chat-game-nav a:hover{text-decoration:underline}.chat-game-nav-sep{color:#48484a}.messages-container{flex:1;position:relative;overflow-y:auto}.new-messages-banner{z-index:2;pointer-events:none;justify-content:center;margin-top:-44px;display:flex;position:sticky;bottom:12px}.new-messages-banner button{pointer-events:auto;color:#fff;cursor:pointer;background:#0a84ff;border:none;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:500;transition:background .15s,transform .15s;box-shadow:0 4px 12px #00000059}.new-messages-banner button:hover{background:#409cff}.new-messages-banner button:active{transform:scale(.98)}.notify-permission-button{color:#aeaeb2;cursor:pointer;background:0 0;border:1px solid #48484a;border-radius:8px;width:100%;margin-top:8px;padding:6px 10px;font-size:12px}.notify-permission-button:hover{color:#f2f2f7;background:#2c2c2e}.messages{min-height:100%;padding:16px 20px}.history-load-more{justify-content:center;padding:4px 0 12px;display:flex}.history-load-more-button{color:#aeaeb2;cursor:pointer;background:#2c2c2e;border:1px solid #48484a;border-radius:999px;padding:6px 16px;font-size:13px;transition:background .15s,color .15s}.history-load-more-button:hover:not(:disabled){color:#f2f2f7;background:#3a3a3c}.history-load-more-button:disabled{opacity:.6;cursor:default}.message-wrapper{align-items:flex-end;margin-bottom:12px;display:flex}.message-wrapper.own{flex-direction:row-reverse}.message-avatar{flex-shrink:0;margin-right:12px}.message-wrapper.own .message-avatar{margin-left:12px;margin-right:0}.avatar{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:flex}.avatar-spacer{width:32px;margin-right:12px}.message-content{flex-direction:column;max-width:70%;display:flex}.message-wrapper.own .message-content{align-items:flex-end}.message-sender{color:#64748b;margin-bottom:4px;margin-left:4px;font-size:12px;font-weight:600}.message-bubble{word-wrap:break-word;border-radius:16px;padding:10px 14px}.message-bubble.other{color:#fff;background:#2c2c2e;border-bottom-left-radius:4px}.message-bubble.own{color:#fff;background:#007aff;border-bottom-right-radius:4px}.message-bubble.pending{opacity:.75}.message-bubble.failed{border:1px solid #ff3b30;background:#3a2c2e!important}.send-error{color:#ff6b6b;background:#ff3b301f;border-radius:8px;width:100%;margin-bottom:8px;padding:8px 12px;font-size:12px;line-height:1.4}.reconnect-hint{color:#ffc107;background:#ffc1071f;border-radius:8px;width:100%;margin-bottom:8px;padding:8px 12px;font-size:12px;line-height:1.4}.message-text{margin-bottom:3px;font-size:15px;line-height:1.3}.message-time{opacity:.5;font-size:11px}.empty-state{text-align:center;color:#8e8e93;flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.empty-icon{margin-bottom:16px;font-size:48px}.empty-state h3{color:#fff;margin-bottom:8px;font-size:18px;font-weight:600}.input-container{box-sizing:border-box;background:#1c1c1e;border-top:1px solid #2c2c2e;flex-direction:column;justify-content:center;gap:8px;min-height:60px;padding:12px 20px;display:flex}.input-wrapper{background:#2c2c2e;border:1px solid #3a3a3c;border-radius:20px;align-items:center;gap:8px;width:100%;padding:6px 6px 6px 16px;display:flex}.input-wrapper:focus-within{border-color:#007aff}.message-input{color:#fff;background:0 0;border:none;outline:none;flex:1;font-size:15px}.send-button{color:#fff;cursor:pointer;background:#007aff;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.send-button:disabled{cursor:not-allowed;background:#3a3a3c}@media (max-width:768px){.sidebar{z-index:10;width:100%;transition:transform .3s;position:absolute;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.close-sidebar,.menu-button{display:block}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
.chat-game-shell{background:#000;width:100%;height:100%;overflow:hidden}.chat-game-shell--game-standalone .chat-game-shell__scroll{height:100%;min-height:100%;display:block;overflow:hidden}.chat-game-shell__game--standalone{border-left:none;flex:none;width:100%;height:100%;min-height:100%;overflow:hidden auto}.chat-game-shell--game-standalone .chat-game-shell__game .wuziqi-body{height:100%;min-height:100%}.chat-game-shell__scroll{height:100%;min-height:0;display:flex;overflow:hidden}.chat-game-shell__chat{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.chat-game-shell--with-game .chat-game-shell__chat{flex:50%}.chat-game-shell__game{isolation:isolate;border-left:1px solid #2c2c2e;flex:50%;min-width:0;min-height:0;scroll-margin-top:8px;position:relative;overflow:hidden auto;container:game-panel/size}.chat-game-shell__divider{z-index:30;pointer-events:none;flex:0 0 0;align-self:stretch;width:0;position:relative;overflow:visible}.chat-game-shell__divider-buttons{pointer-events:auto;z-index:200;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#2c2c2e 0%,#1c1c1e 100%);border:1px solid #636366a6;border-radius:8px;align-items:center;gap:0;padding:2px;transition:box-shadow .22s,border-color .22s,transform .22s;display:flex;position:absolute;top:52px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000080,inset 0 1px #ffffff0f}.chat-game-shell__divider-buttons:hover{border-color:#8e8e93d9;transform:translate(-50%)translateY(-1px);box-shadow:0 6px 22px #0000008c,0 0 0 1px #0a84ff1f,inset 0 1px #ffffff14}.chat-game-shell--with-game.chat-game-shell--game-only .chat-game-shell__divider-buttons{left:0;right:auto;transform:translate(-50%)}.chat-game-shell--with-game.chat-game-shell--game-only .chat-game-shell__divider-buttons:hover{transform:translate(-50%)translateY(-1px)}.chat-game-shell--with-game.chat-game-shell--chat-only .chat-game-shell__divider-buttons{left:auto;right:0;transform:translate(50%)}.chat-game-shell--with-game.chat-game-shell--chat-only .chat-game-shell__divider-buttons:hover{transform:translate(50%)translateY(-1px)}@media (min-width:901px){.chat-game-shell--with-game .chat-game-shell__divider-buttons{position:fixed}.chat-game-shell--with-game:not(.chat-game-shell--game-only):not(.chat-game-shell--chat-only) .chat-game-shell__divider-buttons{left:50%;right:auto;transform:translate(-50%)}.chat-game-shell--with-game:not(.chat-game-shell--game-only):not(.chat-game-shell--chat-only) .chat-game-shell__divider-buttons:hover{transform:translate(-50%)translateY(-1px)}}.chat-game-shell__panel-toggle{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:background .18s,box-shadow .18s,transform .12s;display:flex}.chat-game-shell__panel-toggle--left{border-top-right-radius:0;border-bottom-right-radius:0}.chat-game-shell__panel-toggle--right{border-left:1px solid #48484acc;border-top-left-radius:0;border-bottom-left-radius:0}.chat-game-shell__panel-toggle:hover{background:#3a3a3cf2;box-shadow:0 0 12px #0a84ff33}.chat-game-shell__panel-toggle:active{box-shadow:none;transform:scale(.92)}.chat-game-shell__panel-toggle.is-active{background:linear-gradient(#0a84ff 0%,#06c 100%);box-shadow:inset 0 1px #fff3,0 0 14px #0a84ff73}.chat-game-shell__panel-toggle.is-active:hover{background:linear-gradient(#409cff 0%,#0a84ff 100%);box-shadow:inset 0 1px #ffffff40,0 0 18px #0a84ff8c}.chat-game-shell__new-msg-hint{pointer-events:auto;top:92px;left:max(12px, env(safe-area-inset-left,0px));z-index:201;box-sizing:border-box;color:#64b5ff;white-space:nowrap;text-align:center;cursor:pointer;background:#0a84ff2e;border:1px solid #0a84ff73;border-radius:999px;flex-shrink:0;width:max-content;max-width:min(220px,100vw - 24px);padding:5px 12px;font-size:11px;font-weight:500;line-height:1.35;transition:background .18s,color .18s,transform .18s,box-shadow .18s;animation:2s ease-in-out infinite chat-shell-hint-pulse;display:block;position:fixed;box-shadow:0 2px 10px #00000059}.chat-game-shell__new-msg-hint:hover{color:#fff;background:#0a84ff52;border-color:#0a84ffb3;animation:none;transform:translateY(-1px);box-shadow:0 4px 14px #0a84ff40}@keyframes chat-shell-hint-pulse{0%,to{opacity:1}50%{opacity:.82}}.chat-game-shell__panel-toggle.is-active .chat-game-shell__chevron{border-color:#fff}.chat-game-shell__chevron{border-bottom:1.5px solid #aeaeb2;border-right:1.5px solid #aeaeb2;width:6px;height:6px;transition:border-color .18s;display:block}.chat-game-shell__panel-toggle:hover .chat-game-shell__chevron{border-color:#f2f2f7}.chat-game-shell__chevron--left{margin-left:2px;transform:rotate(135deg)}.chat-game-shell__chevron--right{margin-right:2px;transform:rotate(-45deg)}.chat-game-shell--game-only .chat-game-shell__chat{opacity:0;pointer-events:none;overflow:hidden;flex:0 0 0!important;width:0!important;min-width:0!important}.chat-game-shell--game-only .chat-game-shell__game{border-left:none;flex:100%!important}.chat-game-shell--chat-only .chat-game-shell__game{opacity:0;pointer-events:none;overflow:hidden;flex:0 0 0!important;width:0!important;min-width:0!important}.chat-game-shell--chat-only .chat-game-shell__chat{flex:100%!important}.chat-game-shell--with-game .chat-game-shell__chat .app{position:relative}.chat-game-shell--with-game .chat-game-shell__chat .sidebar{z-index:12;width:min(240px,88%);max-width:240px;transition:transform .3s;position:absolute;inset:0 auto 0 0;transform:translate(-100%);box-shadow:4px 0 24px #00000059}.chat-game-shell--with-game .chat-game-shell__chat .sidebar.open{transform:translate(0)}.chat-game-shell--with-game .chat-game-shell__chat .menu-button,.chat-game-shell--with-game .chat-game-shell__chat .close-sidebar{display:block}.chat-game-shell--with-game .wuziqi-body{box-sizing:border-box;gap:10px;padding:8px 10px 12px}.chat-game-shell--with-game .wuziqi-body .panel,.chat-game-shell--with-game .wuziqi-body .board-section{width:100%;max-width:100%}.chat-game-shell--with-game .wuziqi-body .board-container{width:min(100cqw - 20px,100cqh - 200px,520px);max-width:100%}.chat-game-shell--with-game .wuziqi-body .board-footer{flex-wrap:wrap;width:100%;max-width:100%}.chat-game-shell--with-game .sandtetris-body{box-sizing:border-box;gap:6px;min-height:100%;padding:4px 10px 12px}.chat-game-shell--with-game .sandtetris-body .panel,.chat-game-shell--with-game .sandtetris-body .game{width:100%;max-width:100%}.chat-game-shell--with-game .sandtetris-body{--board-max-width:340px;--board-aspect-ratio:320 / 560}.chat-game-shell--with-game .sandtetris-body #board{width:100%;height:100%}.chat-game-shell--with-game .sandtetris-body .board-shell{width:min(var(--board-max-width), 100cqw - 24px);max-height:calc(100cqh - 120px);aspect-ratio:var(--board-aspect-ratio)}.chat-game-shell--with-game .sandtetris-body .board-column{width:min(var(--board-max-width), 100cqw - 24px);max-width:100%}@container game-panel (max-width:560px){.sandtetris-body .game{width:min(var(--board-max-width,340px), 100%);grid-template-columns:1fr;justify-items:center}.sandtetris-body .side{width:min(var(--board-max-width,340px), 100%);max-width:100%}.sandtetris-body .board-stage-header{display:flex}.sandtetris-body .card--next-desktop,.sandtetris-body .card--control-desktop{display:none}.sandtetris-body .card--control-mobile{display:block}}@container game-panel (max-width:360px){.wuziqi-body .board-container{max-width:100%}.wuziqi-body .turn-hint-main{font-size:14px}.wuziqi-body .turn-hint-last{font-size:13px}}.chat-game-shell--with-game .chat-game-shell__scroll{flex-direction:row}@media (max-width:900px){.chat-game-shell--with-game .chat-game-shell__scroll{flex-direction:column;overflow:hidden auto}.chat-game-shell--with-game .chat-game-shell__chat{border-bottom:1px solid #2c2c2e;flex:none;height:min(52vh,560px);min-height:280px;max-height:70vh}.chat-game-shell--with-game .chat-game-shell__game{border-left:none;flex:none;min-height:min(48vh,520px);container-type:inline-size}.chat-game-shell--with-game .chat-game-shell__divider{flex:0 0 0;order:0;width:100%;height:0}.chat-game-shell--with-game .chat-game-shell__divider-buttons{position:absolute;top:14px;left:50%;right:auto;transform:translate(-50%)}.chat-game-shell--with-game .chat-game-shell__divider-buttons:hover{transform:translate(-50%)translateY(-1px)}.chat-game-shell--with-game.chat-game-shell--game-only .chat-game-shell__divider-buttons{left:50%;transform:translate(-50%)}.chat-game-shell--with-game .chat-game-shell__new-msg-hint{max-width:min(220px,100vw - 32px);position:absolute;top:54px;left:50%;right:auto;transform:translate(-50%)}.chat-game-shell--with-game .chat-game-shell__new-msg-hint:hover{transform:translate(-50%)translateY(-1px)}.chat-game-shell--with-game .chat-game-shell__divider{overflow:visible}.chat-game-shell--with-game.chat-game-shell--game-only .chat-game-shell__scroll{overflow-x:visible}.chat-game-shell--game-only .chat-game-shell__chat{border-bottom:none;flex:0 0 0!important;height:0!important;min-height:0!important;max-height:0!important}.chat-game-shell--game-only .chat-game-shell__game{min-height:min(100%,100vh);flex:auto!important}.chat-game-shell--chat-only .chat-game-shell__game{flex:0 0 0!important;height:0!important;min-height:0!important}.chat-game-shell--chat-only .chat-game-shell__chat{flex:auto!important;height:auto!important;max-height:none!important}.chat-game-shell--with-game .wuziqi-body .board-container{width:min(100cqw - 16px,100vw - 32px);max-width:100%}}.sidebar-game-nav-item,.chat-game-nav-item{align-items:center;gap:8px;display:inline-flex}.chat-game-shell--with-game .chat-game-shell__game .wuziqi-body:before,.chat-game-shell--with-game .chat-game-shell__game .xiangqi-body:before,.chat-game-shell--with-game .chat-game-shell__game .doudizhu-body:before,.chat-game-shell--with-game .chat-game-shell__game .sandtetris-body:before,.chat-game-shell--with-game .chat-game-shell__game .wuziqi-body.game-theme-has-bg:after,.chat-game-shell--with-game .chat-game-shell__game .xiangqi-body.game-theme-has-bg:after,.chat-game-shell--with-game .chat-game-shell__game .doudizhu-body.game-theme-has-bg:after,.chat-game-shell--with-game .chat-game-shell__game .sandtetris-body.game-theme-has-bg:after{position:absolute}.chat-game-shell--game-standalone .chat-game-shell__game .wuziqi-body:before,.chat-game-shell--game-standalone .chat-game-shell__game .wuziqi-body.game-theme-has-bg:after,.chat-game-shell--game-standalone .chat-game-shell__game .sandtetris-body:before,.chat-game-shell--game-standalone .chat-game-shell__game .sandtetris-body.game-theme-has-bg:after{position:fixed}.chat-game-shell--with-game .chat-game-shell__game .wuziqi-body{min-height:100%}.chat-game-shell__game .game-theme-controls,.chat-game-shell__game .game-result-overlay,.chat-game-shell__game .undo-dialog{position:absolute}
