dialog.game-chat-dialog{border:1px solid var(--fh-border);background:var(--fh-surface);width:calc(100% - 40px);max-width:900px;max-height:calc(100dvh - 48px);color:var(--fh-ink);border-radius:20px;padding:0;overflow:hidden}.game-chat-dialog[open]{flex-direction:column;display:flex}.game-chat-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17203380}.game-chat-header{border-bottom:1px solid var(--fh-border);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:24px;padding:24px 28px;display:flex}.game-chat-eyebrow{letter-spacing:1.6px;text-transform:uppercase;color:var(--fh-primary);font-size:11px;font-weight:700}.game-chat-header h2{letter-spacing:-.5px;color:var(--fh-ink);margin:6px 0;font-size:23px;line-height:1.4}.game-chat-header h2 span{color:var(--fh-muted);letter-spacing:0;font-size:18px;font-weight:500}.game-chat-header p{color:var(--fh-muted);margin:4px 0 0;font-size:14px}.game-chat-dialog button{background:var(--fh-primary);min-height:42px;color:var(--fh-surface);border:1px solid var(--fh-primary);border-radius:9px;margin:0;padding:10px 16px;font-size:14px;font-weight:600}.game-chat-dialog button.quiet{background:var(--fh-surface);color:var(--fh-primary);border-color:var(--fh-primary)}.game-chat-dialog button:hover:not(:disabled){background:var(--fh-primary-light);color:var(--fh-ink)}.game-chat-dialog button:disabled{opacity:.45;cursor:not-allowed}.game-chat-dialog .chat-close{flex-shrink:0;width:42px;padding:4px;font-size:28px;line-height:1}.chat-participants{border-bottom:1px solid var(--fh-border);box-sizing:border-box;flex-shrink:0;align-items:baseline;gap:8px;max-height:84px;padding:8px 28px;font-size:12px;line-height:1.4;display:flex;overflow:auto}.chat-participants>strong{white-space:nowrap;color:var(--fh-muted)}.chat-participants ul{flex-wrap:wrap;gap:4px 6px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.chat-participants li{background:var(--fh-surface-soft);color:var(--fh-text);overflow-wrap:anywhere;border-radius:30px;max-width:100%;padding:2px 7px}.chat-host-label{text-transform:uppercase;margin-left:5px;font-size:9px;font-weight:700}.chat-history{background:var(--fh-surface-soft);overscroll-behavior:contain;flex:1;min-height:120px;padding:18px 28px;overflow-y:auto}.chat-tools{color:var(--fh-muted);justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;font-size:12px;display:flex}.chat-tools>details{max-width:100%;margin-left:auto;padding:4px}.chat-tools summary{cursor:pointer}.chat-tools input{max-width:100%}.chat-history-actions{flex-wrap:wrap;gap:8px;display:flex}.chat-tools button{min-height:34px;padding:6px 10px;font-size:12px}.game-chat-dialog a{color:var(--fh-text)}.game-chat-dialog .chat-messages{flex-direction:column;gap:14px;max-height:none;margin:0;padding:0;list-style:none;display:flex;overflow:visible}.game-chat-dialog .chat-message{background:var(--fh-surface);border:1px solid var(--fh-border);box-sizing:border-box;border-radius:14px;width:90%;margin:0;padding:16px 18px}.game-chat-dialog .chat-message.mine{background:var(--fh-primary-light);border-color:var(--fh-border);align-self:flex-end}.chat-message-meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;display:flex}.chat-message-meta time{color:var(--fh-muted);font-size:11px}.game-chat-dialog .chat-message p{color:var(--fh-ink);margin:10px 0 0;font-size:15px;line-height:1.6}.chat-message figure{padding-top:12px}.chat-message figcaption{margin-top:6px;font-size:12px}.chat-empty{text-align:center;color:var(--fh-muted);padding:36px 10px 48px;font-size:15px}.chat-empty strong{color:var(--fh-ink)}.chat-empty p{margin:8px 0;font-size:14px}.game-chat-dialog .chat-composer{border-top:1px solid var(--fh-border);background:var(--fh-surface);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;margin:0;padding:18px 28px;display:flex}.game-chat-dialog .chat-message-input{flex:1;min-width:120px;margin:0}.game-chat-dialog textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--fh-border);width:100%;min-height:64px;max-height:130px;font:inherit;color:var(--fh-ink);background:var(--fh-surface);border-radius:10px;margin:0;padding:12px 14px;font-size:14px;display:block}.chat-photo-picker{display:contents}.game-chat-dialog .chat-attach{place-items:center;width:44px;height:44px;padding:8px;display:grid}.chat-photo-picker input[hidden]{display:none}.chat-photo-picker>p{flex-basis:100%;order:2;margin:0;font-size:12px}.game-chat-dialog .chat-photo-preview{flex-basis:100%;order:3;align-items:center;gap:12px;display:flex}.game-chat-dialog .chat-photo-preview img{border-radius:8px;max-width:110px!important;max-height:72px!important}.chat-error{background:var(--fh-danger-light);color:var(--fh-danger-text);flex-shrink:0;margin:0;padding:12px 28px;font-size:14px}.chat-audience,.chat-loading{margin:0;padding:12px 28px;font-size:14px}.chat-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.game-chat-dialog :is(button,a,textarea,summary):focus-visible{outline:3px solid var(--fh-primary);outline-offset:3px}@media (width<=600px){dialog.game-chat-dialog{border-radius:16px;width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.game-chat-header{gap:12px;padding:18px}.game-chat-header h2{font-size:19px}.game-chat-header h2 span{font-size:14px}.chat-participants{max-height:96px;padding:8px 18px;display:block}.chat-participants ul{margin-top:4px}.chat-history{padding:14px 16px}.game-chat-dialog .chat-composer{gap:8px;padding:14px}.game-chat-dialog .chat-message{width:95%;padding:12px}.chat-tools{flex-wrap:wrap}.game-chat-dialog .chat-send{padding:10px 14px}.chat-empty{padding:24px 0}.chat-error{padding:12px 18px}}.game-chat-dialog .chat-send{flex:none;width:auto;margin:0}.game-chat-dialog .chat-attach{flex:0 0 44px}.game-chat-dialog textarea{font-weight:400}.chat-context-link{width:fit-content;margin-bottom:10px;font-size:13px;font-weight:600;text-decoration:none;display:block}.game-chat-dialog .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.game-chat-dialog .chat-new-messages{flex-shrink:0;align-self:center;margin:6px 0}.chat-read-error{color:var(--fh-danger-text);margin:0;padding:6px 28px;font-size:12px}.chat-team-details{background:var(--fh-surface);border:1px solid var(--fh-border);border-radius:20px;max-width:900px;margin:28px auto;padding:24px}.chat-team-details>button,.chat-team-details>a{margin-right:12px}@media (width<=600px){.game-chat-header{max-height:25dvh;overflow:auto}.chat-participants{max-height:min(96px,18dvh)}.chat-history{min-height:70px}.game-chat-dialog .chat-composer{max-height:35dvh;overflow:auto}.game-chat-dialog textarea{min-height:48px}.chat-context-link{margin-bottom:6px}.app-shell .game-chat-dialog .chat-composer{align-items:flex-end;gap:8px;max-height:35dvh;padding:10px 12px}.app-shell .game-chat-dialog .chat-message-input{flex:1 1 0;min-width:0;margin:0}.app-shell .game-chat-dialog .chat-message-input textarea{resize:none;height:44px;min-height:44px;max-height:112px;margin:0;padding:10px 12px;font-size:16px;line-height:22px;overflow-y:auto}.app-shell .game-chat-dialog :is(.chat-attach,.chat-send){flex-shrink:0;height:44px;min-height:44px;margin:0;line-height:22px}.app-shell .game-chat-dialog .chat-attach{width:44px;padding:10px}.app-shell .game-chat-dialog .chat-send{padding:10px 12px}}
