html[data-prototype-notice-open=true]{overflow:hidden}
/* Namespaced notice styling must also work on the full-screen simulator's HUD skin. */
.prototype-notice-footer,.prototype-notice-dialog{box-sizing:border-box;font-family:Inter,system-ui,sans-serif;color:#293d39;text-align:left;letter-spacing:normal}
.prototype-notice-footer{position:relative;z-index:51;padding:28px max(20px,env(safe-area-inset-right)) 32px max(20px,env(safe-area-inset-left));background:#fff0d9;border-top:2px solid #bb6425;font-size:13px;line-height:1.65}
.prototype-notice-footer-inner{max-width:1000px;margin:0 auto}
.prototype-notice-footer h2{font-size:18px;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px;color:#703c1a}
.prototype-notice-footer p{margin:9px 0;max-width:none;color:#293d39;font-size:13px;line-height:1.65}
.prototype-notice-footer button{margin-top:9px;min-height:44px;padding:10px 16px;border:1px solid #8e623e;border-radius:12px;color:#573615;background:#fffaf2;font:650 13px/1.3 Inter,system-ui,sans-serif;cursor:pointer}
.prototype-notice-footer [hidden]{display:none!important}
/* A full-screen stage keeps its bottom controls; its header reopens the complete notice. */
body[data-prototype-fullscreen=true][data-prototype-enhanced=true]>.prototype-notice-footer{display:none}
.prototype-notice-dialog{width:min(660px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;margin:auto;border:2px solid #f5b632;border-radius:22px;background:#f7f7f0;box-shadow:0 28px 100px #061319aa,0 0 0 6px #ffc34218;overflow:hidden}
.prototype-notice-dialog[open]{display:flex;flex-direction:column}
.prototype-notice-dialog::backdrop{background:#07171fe8;backdrop-filter:blur(7px)}
.prototype-notice-heading{position:relative;display:flex;align-items:center;gap:20px;padding:30px 28px 24px;flex:none;background:radial-gradient(ellipse at 0 100%,#294650 0,transparent 70%),#132a34;color:#fff}
.prototype-notice-heading::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:repeating-linear-gradient(135deg,#ffc342 0 13px,#152a33 13px 26px)}
.prototype-notice-signal{display:flex;align-items:center;justify-content:center;flex:0 0 82px;width:82px;height:82px;border:1px solid #ffc34266;border-radius:22px;background:#ffc3420d;color:#ffc342;box-shadow:0 0 28px #ffc34212}
.prototype-notice-signal svg{width:58px;height:58px}
.prototype-notice-heading-copy{min-width:0}
.prototype-notice-kicker{font:800 10px/1.4 Inter,system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#ffd36d;margin:0 0 8px}
.prototype-notice-dialog h2{font:850 36px/1.04 Inter,system-ui,sans-serif;letter-spacing:-.045em;color:#fffdf2;margin:0}
.prototype-notice-dialog h2:focus{outline:none}
.prototype-notice-status{display:inline-block;margin:12px 0 0;padding:5px 9px;border:1px solid #e57459;border-radius:6px;background:#762d24;color:#fff2e6;font:750 10px/1.3 Inter,system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase}
.prototype-notice-content{padding:22px 28px;overflow:auto;overscroll-behavior:contain;min-height:0;font:14px/1.55 Inter,system-ui,sans-serif;color:#263f46;scrollbar-gutter:stable}
.prototype-notice-content p{font:inherit;color:inherit;margin:0 0 14px;max-width:none}
.prototype-notice-content p:last-child{margin-bottom:0}
.prototype-notice-content #prototype-notice-intro{font-size:15px;line-height:1.5;color:#17323c}
.prototype-notice-content ul{display:grid;gap:10px;margin:0 0 16px;padding:0;list-style:none}
.prototype-notice-content li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:14px;border:1px solid #ccd7d4;border-radius:12px;background:#fff;box-shadow:0 2px 0 #17323c05}
.prototype-notice-risk-icon{flex:0 0 24px;width:24px;height:24px;padding:7px;box-sizing:content-box;border-radius:10px;background:#fff1d2;color:#a94723}
.prototype-notice-risk-label{display:block;margin-bottom:3px;color:#15323c;font-size:12px;letter-spacing:.015em}
.prototype-notice-content .prototype-notice-research{padding:13px 14px;border-left:4px solid #c75e28;border-radius:0 10px 10px 0;background:#fff0d4;color:#503723}
.prototype-notice-content .prototype-notice-future{font-size:12px;line-height:1.6;color:#4b6067}
.prototype-notice-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;flex:none;padding:16px 28px;border-top:1px solid #35515b;background:#132a34}
.prototype-notice-actions button,.prototype-notice-actions a{display:flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;border-radius:12px;padding:11px 16px;font:700 13px/1.3 Inter,system-ui,sans-serif;text-decoration:none;letter-spacing:normal;text-transform:none;cursor:pointer}
.prototype-notice-actions button{gap:12px;border:1px solid #ffd66c;background:#ffc342;color:#142c35;box-shadow:0 3px 0 #987020}
.prototype-notice-actions button svg{width:19px;height:19px;flex:none}
.prototype-notice-actions a{border:1px solid #6f8993;background:#1c3641;color:#f1f6f5}
.prototype-notice-actions button:hover{background:#ffd363}.prototype-notice-actions a:hover{background:#2b4752}
.prototype-notice-footer button:focus-visible,.prototype-notice-dialog button:focus-visible,.prototype-notice-dialog a:focus-visible,.prototype-notice-content:focus-visible,.prototype-notice-reopen:focus-visible{outline:3px solid #147988;outline-offset:3px}
.prototype-notice-actions button:focus-visible,.prototype-notice-actions a:focus-visible{outline-color:#fffdf2}
.appnav .prototype-notice-reopen,#topbar .prototype-notice-reopen,.file-nav .prototype-notice-reopen{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #bc8a55;border-radius:50%;background:#fff0d9;color:#78441f;cursor:pointer}
.prototype-notice-reopen svg{width:22px;height:22px;pointer-events:none}
.prototype-notice-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:420px){.appnav .prototype-notice-reopen~.menu-toggle{padding-left:10px;padding-right:10px}.prototype-notice-heading{padding:24px 16px 18px;gap:12px}.prototype-notice-signal{flex-basis:50px;width:50px;height:58px;border-radius:14px}.prototype-notice-signal svg{width:38px;height:38px}.prototype-notice-dialog h2{font-size:27px}.prototype-notice-kicker{font-size:9px;letter-spacing:.08em}.prototype-notice-status{font-size:9px;margin-top:9px;padding:4px 6px}.prototype-notice-content{padding:16px;font-size:13px}.prototype-notice-content #prototype-notice-intro{font-size:14px}.prototype-notice-content li{padding:11px;gap:9px}.prototype-notice-risk-icon{width:20px;height:20px;flex-basis:20px;padding:5px}.prototype-notice-actions{padding:12px 16px 15px;justify-content:stretch;gap:8px}.prototype-notice-actions button,.prototype-notice-actions a{flex:1;padding:10px 8px;font-size:12px}.prototype-notice-actions button{gap:7px}}
@media(max-height:420px){.prototype-notice-heading{padding:18px 20px 12px;gap:14px}.prototype-notice-signal{flex-basis:48px;width:48px;height:48px;border-radius:12px}.prototype-notice-signal svg{width:36px;height:36px}.prototype-notice-dialog h2{font-size:22px}.prototype-notice-kicker{margin-bottom:4px;font-size:9px}.prototype-notice-status{margin-top:6px;padding:3px 6px;font-size:9px}.prototype-notice-content{padding-top:14px;padding-bottom:14px}.prototype-notice-actions{padding-top:10px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.prototype-notice-dialog::backdrop{backdrop-filter:none}}

@media(max-width:820px){#topbar:has(.prototype-notice-reopen){flex-wrap:nowrap;gap:8px}#topbar:has(.prototype-notice-reopen) h1{min-width:0;overflow:hidden;text-overflow:ellipsis}#topbar:has(.prototype-notice-reopen)>.hud-tag:not(a){display:none}}

@media(max-width:420px){#topbar:has(.prototype-notice-reopen)>.glyph,#topbar:has(.prototype-notice-reopen)>.spacer{display:none}#topbar:has(.prototype-notice-reopen) h1{flex:1 1 0}#topbar:has(.prototype-notice-reopen)>.hud-pill{flex:0 0 auto;padding-left:8px;padding-right:8px;font-size:10px}}
