.announcement-dialog { width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:hidden; }
.announcement-dialog>.menu-dialog-content { display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 80px); }
.announcement-header { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;margin-bottom:18px; }
.announcement-header .end-turn-confirmation-kicker { margin:0; }
.announcement-dialog #announcement-close { flex-shrink:0;min-height:38px;padding:8px 12px;font-size:11px;font-weight:700;letter-spacing:.04em; }
.announcement-body { min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable; }
.announcement-dialog #announcement-title { overflow-wrap:anywhere; }
.announcement-dialog #announcement-message { margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#d5e6f1; }
.announcement-dialog #announcement-time { margin:12px 0;color:#b5d9f1;font-size:13px;line-height:1.5; }
.announcement-dialog #announcement-warning { margin:14px 0;padding:12px;border-left:2px solid #dfb268;background:#48381c44;color:#f0d8b1;font-size:13px;line-height:1.5; }
.announcement-dialog #announcement-error { margin:10px 0;color:#ffaaa6;font-size:12px; }
.announcement-dialog #announcement-error:empty { display:none; }
.announcement-dialog #announcement-close { border-color:#658aa2;background:#142d40;color:#e4f2fa; }
.announcement-dialog [hidden] { display:none; }
.game-actions #game-notifications { width:40px;min-height:36px;padding:7px;align-self:flex-end; }
#game-notifications svg { width:20px;height:20px;fill:none;stroke:var(--control-accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
#game-notifications[data-unread=true]::before { content:'';position:absolute;right:4px;top:4px;width:6px;height:6px;border-radius:50%;background:#f0c46c;box-shadow:0 0 5px #e9b24f77; }
#menu-announcements[data-unread=true]::after { content:' •';color:#f0c46c; }
.announcement-status { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none; }
.personal-notification{border-top:1px solid #4e7b9355;padding:12px 0;color:#d5e6f1}
.personal-notification[data-unread=true]{border-left:2px solid #71bde9;padding-left:10px}
.personal-notification p{margin:0 0 6px;overflow-wrap:anywhere;line-height:1.5}
.personal-notification time{display:block;font-size:11px;color:#93b3c8}
.personal-notification button{margin-top:10px;padding:10px 12px;border:1px solid #659ab9;background:#142d40;font-size:12px;letter-spacing:.04em;color:#e4f2fa}
.message-tabs{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}.message-tabs button{flex:1;padding:10px 12px;border:1px solid #466a82;border-radius:4px;background:#0e2132;color:#a5c6da;font:inherit;font-size:11px;font-weight:700;letter-spacing:.05em;cursor:pointer}.message-tabs button[aria-selected=true]{background:#1b4662;color:#eef8ff;border-color:#7fc7ef}.message-tabs button:focus-visible,.menu-notifications:focus-visible{outline:2px solid #8bd6ff;outline-offset:3px}.menu-notifications{position:relative;min-width:40px}.menu-notifications svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;vertical-align:middle}.menu-notifications[data-unread=true]::after{content:"";position:absolute;right:5px;top:4px;width:7px;height:7px;background:#f0c46c;border-radius:50%}.announcement-dialog .personal-notification:first-child{border-top:0}
