/* The native dialog's top layer keeps the notice above every page component. */
.al-betting-notice-open { overflow: hidden; }

.al-betting-notice {
    width: min(640px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--al-border-strong);
    border-radius: var(--al-radius-xl);
    background: var(--al-surface);
    color: var(--al-text);
    font-family: var(--al-font-sans);
    box-shadow: 0 32px 100px rgba(2, 6, 23, .3);
}
.al-betting-notice:not([open]) { display: none; }
.al-betting-notice[open] { display: flex; flex-direction: column; }
.al-betting-notice::backdrop { background: rgba(15, 23, 42, .72); backdrop-filter: blur(6px); }
.al-betting-notice__header {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: var(--al-space-4);
    padding: var(--al-space-5) var(--al-space-7);
    border-bottom: 1px solid var(--al-border);
    background: var(--al-surface-soft);
}
.al-betting-notice__brand { font-size: var(--al-text-lg); font-weight: 700; letter-spacing: -.03em; }
.al-betting-notice__brand > span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; letter-spacing: .13em; color: var(--al-muted); }
.al-betting-notice__body { padding: var(--al-space-7) var(--al-space-8); overflow-y: auto; overscroll-behavior: contain; }
.al-betting-notice__status { display: flex; align-items: center; gap: var(--al-space-4); margin-bottom: var(--al-space-6); font-size: var(--al-text-md); font-weight: 700; color: var(--al-warning); }
.al-betting-notice__status > span > span { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.al-betting-notice__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #ecd9ae; border-radius: var(--al-radius-lg); background: var(--al-warning-soft); }
.al-betting-notice__icon svg { width: 27px; height: 27px; }
.al-betting-notice h2 { margin: 0 0 var(--al-space-4); font-family: inherit; font-size: clamp(1.875rem, 5.5vw, 2.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; color: var(--al-text); }
.al-betting-notice h2:focus { outline: none; }
.al-betting-notice__body > p { margin: 0; font-size: var(--al-text-md); line-height: 1.65; color: #475569; }
.al-betting-notice__body > .al-betting-notice__source { margin-top: var(--al-space-5); padding-top: var(--al-space-5); border-top: 1px solid var(--al-border); font-size: var(--al-text-xs); line-height: 1.7; text-align: center; color: #64748b; }
.al-betting-notice-fallback { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; overflow-y: auto; padding: 16px; background: rgba(15, 23, 42, .96); color: var(--al-text); }
.al-betting-notice-fallback > div { width: min(640px, 100%); padding: var(--al-space-7); border-radius: var(--al-radius-xl); background: var(--al-surface); }
.al-betting-notice-fallback strong { display: block; margin-bottom: var(--al-space-4); font-size: var(--al-text-2xl); line-height: 1.2; }
@media (max-width: 480px) {
    .al-betting-notice__header { padding: var(--al-space-4) var(--al-space-5); }
    .al-betting-notice__body { padding: var(--al-space-6); }
    .al-betting-notice__status { margin-bottom: var(--al-space-5); }
}
@media (prefers-reduced-motion: no-preference) {
    .al-betting-notice[open] { animation: al-betting-notice-enter 180ms ease-out; }
    @keyframes al-betting-notice-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
