/* Approved natural moon + navy event band. Web Cosmic only; no state/DOM changes. */
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] :is(#round,#phone-faithful .mini-header .round){
 --moon-size:95px;--moon-label:14px;--moon-value:32px;
 width:var(--moon-size)!important;height:var(--moon-size)!important;min-width:var(--moon-size)!important;flex:none!important;padding:0!important;border:0!important;border-image:none!important;border-radius:50%!important;background:none!important;box-shadow:none!important;isolation:isolate;overflow:visible!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;color:#fff3df!important;font:var(--moon-label)/1.15 Georgia,serif!important;text-shadow:0 1px 4px #000,0 0 8px #000;
}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] :is(#round,#phone-faithful .mini-header .round)::before{
 content:'';position:absolute;inset:0;border-radius:50%;background:url(visuals/welcome/cosmos.webp?v=detail1) 51.1% 10.2% / 1762% auto no-repeat;filter:grayscale(.8) brightness(1.6);box-shadow:0 0 14px #a9d9ee33;z-index:-2;pointer-events:none;
}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] :is(#round,#phone-faithful .mini-header .round)::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse,#07121d88,transparent 85%);border-radius:50%;z-index:-1;pointer-events:none}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #round small{font:var(--moon-label)/1.15 Georgia,serif!important;color:#fff3df!important;text-shadow:inherit}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] :is(#round .round-value,#phone-faithful .mini-header .round strong){display:flex;align-items:center;justify-content:center;gap:3px;font:400 var(--moon-value)/1.2 "Times New Roman",serif!important;font-variant-numeric:lining-nums tabular-nums!important;color:#fff3df!important;text-shadow:inherit}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] :is(#round .round-value,#phone-faithful .mini-header .round strong) span{font:inherit!important;font-variant-numeric:lining-nums tabular-nums!important;color:inherit!important;line-height:inherit!important;display:inline-block;min-width:1ch;text-align:center}
@media(min-width:951px){
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] header::after{background:linear-gradient(100deg,#142431f5,#172b3cf5)!important;border-color:#a5874e99!important;box-shadow:0 4px 12px #0004;backdrop-filter:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #desktop-event-ribbon .event-current{background:transparent!important;color:#f8edda!important;border:0!important;box-shadow:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #desktop-event-ribbon :is(.event-ribbon-copy,.event-ribbon-copy strong,.event-ribbon-effect,.event-ribbon-delta,.current-event-label){color:#f8edda!important;opacity:1!important;text-shadow:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #desktop-event-ribbon .event-ribbon-effect{color:#e3dcca!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #desktop-event-ribbon .event-current>img{opacity:1!important;filter:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] :is(#desktop-phase,#desktop-phase #phase,#desktop-phase .online-compact-state){background:transparent!important;color:#f8edda!important;border-color:transparent!important;box-shadow:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] :is(#online-toolbar-open,#desktop-event-ribbon .event-next-link){background:#243c4b!important;color:#f8edda!important;border:1px solid #9d895d!important;box-shadow:none!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] :is(#online-toolbar-open,#desktop-event-ribbon .event-next-link):is(:hover,:focus-visible){background:#355568!important;color:#fff3df!important;border-color:#d4b77b!important}
}
@media(min-width:951px) and (max-width:1250px){html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #round{--moon-size:80px;--moon-label:12px;--moon-value:27px}}
/* Keep the current phone header budget; the moon replaces its rectangular counter. */
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mini-header .round{position:relative!important;--moon-size:44px;--moon-label:11px;--moon-value:17px;margin:0!important}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row{background:linear-gradient(100deg,#142431f5,#172b3cf5)!important;color:#f8edda!important;border-block:1px solid #a5874e66;box-shadow:none!important}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row .event{background:transparent!important;color:#f8edda!important;border:0!important;box-shadow:none!important}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row :is(.event span,.event-cost){color:#f8edda!important;opacity:1!important}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row .mobile-next-event{background:#243c4b!important;color:#f8edda!important;border-color:#9d895d!important;box-shadow:none!important}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row :is(.event,.mobile-next-event):is(:hover,:focus-visible){background:#355568!important;color:#fff3df!important}
/* Short landscape headers use a lunar marker beside the full-size readable count. */
@media(orientation:landscape) and (max-height:600px){
 html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mini-header .round{--moon-size:24px;--moon-label:11px;--moon-value:14px;width:auto!important;min-width:96px!important;height:24px!important;padding-left:28px!important;flex-direction:row!important;gap:4px!important;border-radius:0!important}
 html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mini-header .round::before,html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mini-header .round::after{inset:0 auto auto 0;width:24px;height:24px}
}
/* Separate the real status band from player cards and reserve its full height. */
@media(min-width:951px){
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic]{--cosmic-status-top:156px;--cosmic-header-height:220px;grid-template-rows:var(--cosmic-header-height) minmax(0,1fr)!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic]>header{height:var(--cosmic-header-height)!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic]>header::after{top:var(--cosmic-status-top)!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] :is(#desktop-event-ribbon:not([hidden]),#desktop-phase){top:var(--cosmic-status-top)!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #online-toolbar-open{top:calc(var(--cosmic-status-top) + 7px)!important}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #desktop-event-ribbon .event-empty{grid-template-columns:minmax(0,1fr)!important;width:100%;height:var(--status-height);padding:6px 8px!important;color:#f8edda!important}
}
@media(min-width:951px) and (max-width:1250px){
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic]{--cosmic-header-height:244px}
 html[data-ui-runtime=web] body.desktop-play.faithful-target[data-board-background=cosmic] #online-toolbar-open{top:calc(var(--cosmic-status-top) + 19px)!important}
}
html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] #phone-faithful .mobile-event-row .event:disabled{opacity:1!important;color:#f8edda!important;cursor:default}

html[data-ui-runtime=web] body.faithful-target[data-board-background=cosmic] .async-deadline{color:#ffdfa5!important}
