/* Sino de resultados: cores semânticas sobre a identidade Lobbito. */
.an-root { position: relative; }
.topbar:has(.an-bell[aria-expanded="true"]) { z-index: 50; }
.an-root [hidden] { display: none !important; }
.an-bell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); cursor: pointer; }
.an-bell:hover, .an-bell[aria-expanded="true"] { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
.an-bell.has-new { color: var(--orange); }
.an-bell svg, .an-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.an-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; display: grid; place-items: center; padding-inline: 3px; background: var(--orange); color: var(--bg); font: 800 10px var(--font); border-radius: 9px; }
.an-panel { position: absolute; z-index: 60; right: 0; top: calc(100% + 12px); width: 390px; max-width: calc(100vw - 24px); max-height: min(620px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 18px 60px #0009; overflow: hidden; }
.an-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.an-head h2 { margin: 0; font: 800 12px var(--font); }.an-head > span { color: var(--muted); font-size: 9px; }
.an-list { list-style: none; padding: 0; margin: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.an-list > li + li { border-top: 1px solid var(--line); }
.an-item { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 18px 16px; border: 0; text-align: left; font: inherit; color: var(--text); background: transparent; cursor: pointer; }
.an-item:hover { background: #ffffff06; }.an-item:focus-visible, .an-bell:focus-visible, .an-panel a:focus-visible, .an-retry:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.an-icon { display: grid; place-items: center; width: 36px; height: 36px; color: #ff8a8a; border: 1px solid #ff8a8a44; background: #ff8a8a0a; }
.an-item.win .an-icon { color: #8ce7a9; background: #8ce7a90a; border-color: #8ce7a944; }.an-item.annulled .an-icon { color: var(--muted); border-color: var(--line-strong); }
.an-copy { display: flex; flex-direction: column; min-width: 0; gap: 5px; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.an-copy > strong { color: #ff8a8a; font-size: 12px; text-transform: uppercase; }.an-item.win .an-copy > strong { color: #8ce7a9; }.an-item.annulled .an-copy > strong { color: var(--muted); }
.an-copy > small { color: var(--muted); font-size: 10px; }.an-copy time { margin-top: 2px; color: var(--muted); font: 9px var(--mono); }
.an-mmr { align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 102px; }
.an-mmr > b { font: 800 25px var(--display); }.an-mmr > small { color: var(--muted); text-align: right; font: 9px var(--mono); }.an-mmr .up { color: #8ce7a9; }.an-mmr .down { color: #ff8a8a; }.an-mmr .neutral { color: var(--muted); }
.an-panel footer { border-top: 1px solid var(--line); background: var(--surface-soft); flex-shrink: 0; }
.an-panel footer a { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px; color: var(--text); font-size: 10px; text-decoration: none; }.an-panel footer a:hover { color: var(--orange); }
.an-empty { padding: 28px 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.an-feedback:empty { display: none; }.an-feedback { padding: 12px 16px; color: var(--muted); font-size: 11px; }.an-retry { min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--orange); font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 600px) { .an-panel { position: fixed; top: var(--an-top, 116px); left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100dvh - var(--an-top, 116px) - 12px); }.an-item { padding: 16px 12px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr) auto; }.an-icon { width: 32px; height: 32px; }.an-mmr { max-width: 88px; } }
