.chat-main{max-width:960px;margin:auto}.chat-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.chat-heading h1{align-items:center;gap:10px;margin:8px 0;font-size:28px;line-height:1.3;display:flex}.chat-heading p{color:#a9b9c9;margin:6px 0;font-size:15px}.chat-heading .eyebrow{letter-spacing:.12em;font-size:12px}.chat-heading button{min-height:44px}.chat-room{min-width:0;position:relative}.chat-welcome{max-width:660px;margin:28px auto}.chat-welcome h1{font-size:28px}.chat-pinned{background:#28301d;border:1px solid #768d4c;border-radius:12px 12px 0 0;padding:14px 18px}.chat-pinned>div{color:#dcf1b4;flex-wrap:wrap;align-items:center;gap:9px;font-size:14px;display:flex}.chat-pinned>div>span{color:#b2c39c}.chat-pinned p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;margin:9px 0 0;font-size:16px;line-height:1.65;overflow:auto}.chat-log{overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:auto;background:linear-gradient(150deg,#102132,#0b1622);border:1px solid #34495b;border-radius:12px 12px 0 0;flex-direction:column;gap:10px;height:clamp(300px,52dvh,620px);padding:14px;scroll-margin-top:12px;display:flex;overflow:auto}.chat-pinned+.chat-log{border-top:0;border-radius:0}.chat-log:focus-visible{outline-offset:3px;outline:2px solid #c4df8a}.chat-empty{text-align:center;color:#bccad8;margin:auto;padding:24px;line-height:1.7}.chat-empty svg{color:#b8d782;margin:0 auto 12px}.chat-empty h2{font-size:21px}.chat-empty p{font-size:16px}.chat-message{flex-shrink:0;grid-template-columns:minmax(0,clamp(100px,28%,180px)) minmax(0,1fr);align-self:stretch;align-items:start;column-gap:12px;width:100%;min-width:0;max-width:100%;display:grid}.chat-identity{flex-wrap:wrap;align-content:flex-start;align-items:center;gap:4px 6px;min-width:0;margin:0;padding-top:5px;display:flex}.chat-identity-details>strong{overflow-wrap:anywhere;min-width:0;font-size:15px;line-height:1.5}.chat-message-content{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.chat-message-meta{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.chat-message-meta time{color:#99acbf;white-space:nowrap;font-size:12px;line-height:1.5}.chat-identity .member-titles{min-width:0;max-width:100%}.chat-identity .member-title{white-space:normal;overflow-wrap:anywhere;max-width:100%}.chat-body{white-space:pre-wrap;overflow-wrap:anywhere;color:#edf3fa;background:#203348;border:1px solid #3c5268;border-radius:3px 14px 14px;width:fit-content;max-width:100%;margin:0;padding:6px 10px;font-size:16px;line-height:1.5}.chat-message.is-mine .chat-body{background:#233f3c;border-color:#496b5b}.chat-message.is-admin .chat-identity{background:linear-gradient(110deg,#483718a8,#2b293ac2);border:1px solid #d8ae56;border-radius:10px;padding:4px 8px;box-shadow:0 0 15px #e5c06824}.chat-message.is-admin .chat-identity-details>strong{color:#ffe5a0}.chat-message.is-admin .chat-body{background:linear-gradient(120deg,#322b1e,#1d2d3a);border-color:#96804e}.chat-deleted{color:#9faebb;margin:0;padding:8px 0;font-size:14px;font-style:italic}.chat-message-actions{color:#abc0d1;margin-top:0;font-size:13px}.chat-message-actions summary{cursor:pointer;width:max-content;min-height:30px;line-height:30px}.chat-message-actions>div{background:#172a3d;border:1px solid #405465;border-radius:9px;flex-wrap:wrap;gap:4px;padding:5px;display:flex}.chat-message-actions button{min-height:40px;font-size:14px}.chat-jump{color:#1c2810;background:#cef084;margin:8px auto;display:block}.chat-composer{background:#142434;border:1px solid #34495b;border-top:0;border-radius:0 0 12px 12px;padding:12px}.chat-sender{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 6px;font-size:15px;display:flex}.chat-sender strong{overflow-wrap:anywhere}.chat-composer textarea{resize:vertical;color:#f4f7fa;background:#0c1a27;border:1px solid #50687b;border-radius:10px;width:100%;min-height:60px;max-height:200px;margin:0;padding:7px 11px;font-size:16px;line-height:1.4;display:block}.chat-composer textarea:focus{outline-offset:2px;outline:2px solid #b2d879}.chat-compose-tools{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.chat-compose-tools small{color:#b4c5d2;font-size:13px}.chat-compose-tools button{min-width:90px;min-height:44px}.chat-footnote{color:#99adbf;margin:8px 0 0;font-size:12px;line-height:1.65}.chat-moderation{background:#1d2633;border:1px solid #5b5663;border-radius:12px;margin-top:20px;padding:15px;font-size:14px}.chat-moderation summary{cursor:pointer;align-items:center;gap:8px;min-height:30px;font-size:16px;display:flex}.chat-moderation>div{border-top:1px solid #39495b;justify-content:space-between;align-items:center;gap:15px;margin-top:8px;padding:12px 0;display:flex}.chat-moderation small{color:#afbecc;overflow-wrap:anywhere;font-size:13px;display:block}.chat-dialog-preview{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #789757;max-height:180px;padding:8px 14px;line-height:1.65;overflow:auto}@media (max-width:760px){.chat-main{padding:16px 12px 28px!important}.chat-heading{align-items:center;margin-bottom:12px}.chat-heading h1{font-size:22px}.chat-heading h1 svg{width:22px;height:22px}.chat-heading p{font-size:13px}.chat-heading .eyebrow{letter-spacing:.06em;font-size:12px}.chat-log{gap:10px;height:clamp(270px,48dvh,560px);padding:10px 8px}.chat-message{grid-template-columns:minmax(0,30%) minmax(0,1fr);column-gap:8px}.chat-body{padding:5px 9px;font-size:14px;line-height:1.5}.chat-identity{gap:4px}.chat-identity-details>strong,.chat-sender{font-size:.75rem}.chat-room .member-title{gap:3px;padding:2px 5px;font-size:.6875rem;line-height:1.4}.chat-room .member-title svg{width:11px;height:11px}.chat-message.is-admin .chat-identity{padding:4px 6px}.chat-composer{padding:10px}.chat-pinned{padding:12px}.chat-pinned p{font-size:14px;line-height:1.55}.chat-pinned>div{font-size:13px}.chat-empty h2{font-size:18px}.chat-empty p{font-size:14px}.chat-heading>button{padding:8px 10px;font-size:13px}.chat-moderation summary{font-size:14px}.chat-compose-tools small{font-size:12px}.chat-moderation>div{align-items:flex-start}.chat-site .topbar>a{white-space:nowrap;font-size:14px}.chat-composer .hintbox{font-size:14px}}.chat-identity{flex-wrap:nowrap;align-items:center}.chat-identity-details{flex-direction:column;align-items:flex-start;gap:4px 6px;min-width:0;display:flex}.chat-room .ranking-avatar{flex:0 0 36px;width:36px;height:36px}.chat-pinned .ranking-avatar{flex-basis:28px;width:28px;height:28px}.chat-pinned>div>span{overflow-wrap:anywhere;min-width:0}@media (max-width:760px){.chat-message{grid-template-columns:minmax(130px,40%) minmax(0,1fr)}.chat-identity{flex-direction:row;gap:6px}.chat-room .chat-identity .ranking-avatar{flex-basis:34px;width:34px;height:34px}.chat-identity-details{gap:4px}}.chat-log>.chat-message{flex-direction:row;align-self:flex-start;align-items:flex-start;gap:9px;width:fit-content;max-width:94%;display:flex}.chat-log>.chat-message.is-mine{align-self:flex-end;max-width:88%}.chat-message>.ranking-avatar{flex-shrink:0;margin-top:2px}.chat-message>.chat-message-content{flex-direction:column;flex:0 auto;align-items:flex-start;gap:4px;min-width:0;max-width:100%;display:flex}.chat-message.is-mine>.chat-message-content{align-items:flex-end}.chat-author{flex-wrap:wrap;align-items:center;gap:3px 6px;min-width:0;max-width:100%;display:flex}.chat-author>.chat-profile-link{color:#bdccda;overflow-wrap:anywhere;font-size:12px;line-height:1.4}.chat-author .member-titles{gap:3px}.chat-author .member-title{white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:1px 4px;font-size:10px}.chat-message.is-admin .chat-author>.chat-profile-link{color:#ffe5a0}.chat-bubble-row{align-items:flex-end;gap:6px;min-width:0;max-width:100%;display:flex}.chat-message.is-mine .chat-bubble-row{flex-direction:row-reverse}.chat-bubble-row>time{color:#9aafc1;white-space:nowrap;flex-shrink:0;padding-bottom:3px;font-size:11px;line-height:1.3}.chat-message .chat-body{color:#172635;overflow-wrap:anywhere;white-space:pre-wrap;background:#f1f5f9;border:0;border-radius:3px 16px 16px;flex:0 auto;min-width:0;margin:0;padding:8px 12px;font-size:15px;line-height:1.5;position:relative;box-shadow:0 1px 2px #0002}.chat-message.is-admin .chat-body{color:#172635;background:#f1f5f9;border:0}.chat-message.is-mine .chat-body{color:#12301b;background:#87e586;border-radius:16px 3px 16px 16px}.chat-message .chat-deleted{overflow-wrap:anywhere;min-width:0}.chat-message .chat-message-actions{max-width:100%;margin-top:0}.chat-message .chat-message-actions summary{min-height:28px;font-size:11px;line-height:28px}.chat-message.is-mine .chat-message-actions{align-self:flex-end}.chat-message.is-mine .chat-message-actions>div{justify-content:flex-end}@media (max-width:760px){.chat-log>.chat-message{gap:7px;max-width:97%}.chat-log>.chat-message.is-mine{max-width:90%}.chat-message>.ranking-avatar{flex-basis:32px;width:32px;height:32px}.chat-message .chat-body{padding:7px 10px;font-size:14px}.chat-bubble-row{gap:5px}}.chat-profile-link{color:inherit;text-underline-offset:3px;overflow-wrap:anywhere;min-width:0;max-width:100%;text-decoration:underline}.chat-profile-link:hover{color:#cbf57a}.chat-profile-link:focus-visible{outline-offset:3px;border-radius:3px;outline:2px solid #cbf57a}.site .chat-heading .eyebrow{letter-spacing:.08em}
