.custom-observer-dialog { width: min(36rem, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; overflow: hidden; }
.custom-observer-dialog[open] { display: flex; flex-direction: column; }
.custom-observer-heading, .custom-observer-controls { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; }
.custom-observer-heading h2 { min-width: 0; overflow-wrap: anywhere; }
.custom-observer-heading > button { flex: none; width: 44px; min-height: 44px; }
.custom-observer-controls { flex-wrap: wrap; padding-top: 0; padding-bottom: 12px; }
.custom-observer-controls > button { min-height: 44px; }
.custom-observer-controls > :last-child { margin-left: auto; }
.custom-observer-body { min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; padding: 0 16px 16px; scroll-padding: 12px; }
.custom-observer-body:focus-visible { outline-offset: -4px; }
.custom-observer-body p { margin: 0 0 10px; overflow-wrap: anywhere; }
.custom-observer-error { color: var(--error); }
.custom-observer-error + button { min-height: 44px; margin-bottom: 12px; }
.custom-observer-players { margin: 0; padding: 0; list-style: none; }
.custom-observer-players > li { border-top: 1px solid var(--line); }
.custom-observer-player { display: grid; gap: 3px; width: 100%; min-height: 52px; padding: 10px 4px; border-radius: 0; text-align: left; overflow-wrap: anywhere; }
.custom-observer-player strong { font-size: .9375rem; font-weight: 600; }
.custom-observer-detail h3 { margin: 0 0 6px; font-size: 1rem; overflow-wrap: anywhere; }
.custom-observer-detail h3:focus-visible { outline-offset: 0; }
.custom-observer-detail h4 { margin: 14px 0 8px; font-size: .8125rem; font-weight: 600; }
.custom-observer-body .custom-observer-updated { font-size: .6875rem; }
.custom-observer-guesses { gap: 4px; }
.custom-observer-guesses .guess-row { min-height: 36px; padding: 6px 8px; border: 1px solid var(--line); }
