/* afpteam.net — the birthday screen (BIRTHDAY-BRIEF, 2026-11-10). Everything prefixed bday so it can neither touch nor be touched by a page.
   The look = the Sales page's RTI simulator (vault/site/assets/sales-ui.css #rti*), copied, not shared: RTI blue #0000AA, grey #C0C0C0 text,
   inverse = a grey block with blue text, the blinking block cursor, monospace, the scanlines. Blue, never green. */
html.bdayOn, html.bdayOn body{overflow:hidden!important}
#bdayPast{position:fixed;inset:0;z-index:2147483000;display:none;background:#0000AA;color:#C0C0C0;
  font-family:ui-monospace,"SF Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;font-weight:400;font-style:normal;
  letter-spacing:0;text-transform:none;text-align:left;line-height:1.45;cursor:default;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;outline:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#bdayPast *{box-sizing:border-box}
#bdayPast.on{display:flex;animation:bdayDim .5s ease-out}
@keyframes bdayDim{from{opacity:0}to{opacity:1}}
#bdayPast::after{content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:multiply;z-index:3;
  background:repeating-linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,0) 2px,rgba(0,0,0,.13) 3px)}
#bdayPast.bdayFlash{animation:bdayFlash .26s steps(2) 1}
@keyframes bdayFlash{50%{background:#C0C0C0}}
#bdayProbe{position:absolute;visibility:hidden;font-size:100px;white-space:pre}
.bdayTerm{white-space:pre}
.bdayTerm > div{height:1.45em}
.bdayInv{display:inline-block;background:#C0C0C0;color:#0000AA;white-space:pre}
.bdayCur{display:inline-block;width:1ch;background:#C0C0C0;animation:bdayBlink 1s steps(1) infinite}
@keyframes bdayBlink{50%{background:transparent}}
#bdayBody{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;max-width:100%}
#bdayBody.bdayBoot{align-self:flex-start;align-items:flex-start;padding:2.6em 1.6em 1.2em;margin-bottom:auto}
.bdayHead{margin-bottom:.9em}
.bdayArt{display:flex;flex-direction:column;align-items:center}
/* the cake's six layers, once it is cut open: a bright rainbow (Sam 2026-11-10 — the one thing on this screen RTI could not have done) */
.bdayBand{display:inline-block;white-space:pre}
.bdayB0{background:#FF3B30;color:#FF3B30}.bdayB1{background:#FF9F0A;color:#FF9F0A}.bdayB2{background:#FFE60A;color:#FFE60A}
.bdayB3{background:#30D158;color:#30D158}.bdayB4{background:#40C8FF;color:#40C8FF}.bdayB5{background:#DA6BFF;color:#DA6BFF}
.bdayAsk{margin-top:.9em;display:inline-flex;align-items:center;flex-wrap:nowrap}
.bdayPrompt{margin-top:.4em}
#bdayPast .bdayBtn{all:unset;box-sizing:border-box;font:inherit;color:inherit;white-space:pre;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;min-width:44px;padding:0 .35em;-webkit-tap-highlight-color:transparent}
#bdayPast .bdayYN{color:#0000AA}
#bdayPast .bdayYN:hover,#bdayPast .bdayYN:focus-visible{background:#0000AA;color:#C0C0C0}
#bdayPast #bdaySkip{position:absolute;top:max(.5em,env(safe-area-inset-top));right:max(.6em,env(safe-area-inset-right));z-index:4;font-size:max(14px,.8em);min-width:64px;color:#C0C0C0}
#bdayPast #bdaySkip:hover,#bdayPast #bdaySkip:focus-visible{background:#C0C0C0;color:#0000AA}
@media (pointer:coarse){#bdayPast .bdayKey{display:none}}
.bdayMsg{white-space:normal;text-align:center;max-width:min(94vw,36em);margin-top:1em;padding:0 .5em}
.bdayL1{font-size:1.9em;line-height:1.2;color:#FFFFFF;font-weight:700}
.bdayL2{font-size:1.2em;line-height:1.35;margin-top:.45em}
.bdayGo{margin-top:1.4em;font-size:max(14px,.85em);white-space:pre}
.bdayConfBox{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.bdayConf{position:absolute;top:-1.5em;font-size:1.25em;line-height:1;will-change:transform;
  animation:bdayFall var(--t,3s) cubic-bezier(.35,.1,.6,1) var(--d,0s) forwards}
.bdayConf.bdayStill{animation:none}
@keyframes bdayFall{to{transform:translate(var(--dx,0),calc(100vh + 3em)) rotate(var(--rot,360deg))}}
@media (prefers-reduced-motion: reduce){
  #bdayPast.on,#bdayPast.bdayFlash,.bdayCur{animation:none}
}
@media print{html.bdayOn #bdayPast{display:none!important}}
