/* Patrol Scans Tactical Black v2.6 — polished white-to-silver lettering.
   Scope is intentional: no changes to other themes, timer logic or logs. */

/* Top stays pure white for the first third; lower strokes taper to chrome. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal {
 --ps-v26-silver:linear-gradient(to bottom,
  #fff 0%,#fff 32%,#f1f1f1 43%,#dedede 58%,#c6c6c6 78%,#b5b5b5 100%);
}

/* The User housing should show the SAME carbon fiber as its surrounding
   frame, not a conspicuous extra black rectangle. Keep its slim gold rim. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame>.top>.user-mini {
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
 border-color:rgba(226,184,85,.78)!important;
 box-shadow:inset 0 1px 0 rgba(255,232,157,.13),0 2px 7px rgba(0,0,0,.13)!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame>.top>.user-mini>.ps-gold-rim {
 padding:1.1px!important;
}
/* Prevent the native select's own background from looking like a black pill.
   Options still open normally with an opaque dropdown surface. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #quickUser {
 background-color:transparent!important;
 border:0!important;
 box-shadow:none!important;
 font-weight:900!important;
 color:#e6e6e6!important;
 text-shadow:0 2px 2px rgba(0,0,0,.8)!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #quickUser option{
 background:#171719!important;
 color:#f3f3f3!important;
 -webkit-text-fill-color:#f3f3f3!important;
}
/* Small USER label: true white peak and an embossed silver base. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame>.top>.user-mini>.label{
 background:var(--ps-v26-silver)!important;
 -webkit-background-clip:text!important;
 background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 color:transparent!important;
 font-weight:900!important;
 letter-spacing:.16em!important;
 text-shadow:0 2px 3px rgba(0,0,0,.42)!important;
}
/* Current Time caption keeps its real gold underline and becomes silver.
   Apply the gradient only to glyphs; do NOT clip the element's bottom border. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #clock>.label{
 background-image:var(--ps-v26-silver)!important;
 background-repeat:no-repeat!important;
 -webkit-background-clip:text!important;
 background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 color:transparent!important;
 font-weight:900!important;
 border-bottom:2px solid #e0b347!important;
 border-image:linear-gradient(90deg,#745017 0%,#ffefae 28%,#f1be43 65%,#67430c 100%) 1!important;
 text-shadow:0 2px 4px rgba(0,0,0,.45)!important;
}
/* ONE live Last Check node. Parent caption uses chrome; nested actual
   timestamp remains vibrant red even in browsers with inherited text fill. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck:not([hidden]){
 background-image:var(--ps-v26-silver)!important;
 background-clip:text!important;
 -webkit-background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 color:transparent!important;
 text-shadow:0 2px 4px rgba(0,0,0,.58)!important;
 isolation:isolate;
}
/* Restore the plaque independently with an underlaid pseudo-element because
   background-clip:text is only for lettering and would erase panel fill. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck:not([hidden])::before{
 content:"";position:absolute;inset:0;z-index:-1;
 border-radius:inherit;
 background:linear-gradient(180deg,rgba(25,25,27,.96),rgba(2,2,4,.96));
 box-shadow:inset 0 1px 1px rgba(255,231,160,.19);
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck:not([hidden]){
 position:relative!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck b{
 background:none!important;
 color:#ff4054!important;
 -webkit-text-fill-color:#ff4054!important;
 font-weight:950!important;
 text-shadow:0 1px 5px rgba(20,0,8,.82),0 0 5px rgba(255,48,75,.28)!important;
}
/* The menu's large selected username gets a bright silver color fallback.
   The native <select> remains readable and fully usable cross-browser. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #quickUser{
 color:#e7e7e7!important;
 -webkit-text-fill-color:#e7e7e7!important;
 text-shadow:0 1px 0 rgba(255,255,255,.22),0 3px 6px rgba(0,0,0,.72)!important;
}
@media(prefers-contrast:more){
 html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame>.top>.user-mini>.label,
 html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #clock>.label,
 html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck:not([hidden]){
  background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
}

/* Reference PNG's condensed two-metal wordmark, but using real live text.
   PATROL is chrome silver; SCANS remains glossy warm gold. */
html.rcm-web-fusion.ps-theme.ps-tactical #rcmWebWelcomeDialog #rcmWebWelcomeTitle{
 font-family:Impact,"Arial Narrow","Franklin Gothic Condensed",sans-serif!important;
 font-weight:900!important;
 letter-spacing:-.028em!important;
 white-space:nowrap!important;
 text-shadow:0 2px 4px #000b!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical #rcmWebWelcomeDialog .ps-wordmark-patrol{
 background:linear-gradient(180deg,#ffffff 0%,#fff 29%,#e6e8eb 51%,#c6c9cf 77%,#aeb3bd 100%)!important;
 -webkit-background-clip:text!important;
 background-clip:text!important;
 -webkit-text-fill-color:transparent!important;
 color:#e6e8eb!important;
 font-style:normal!important;
 filter:drop-shadow(1px 2px 1px #0008);
}
html.rcm-web-fusion.ps-theme.ps-tactical #rcmWebWelcomeDialog #rcmWebWelcomeTitle em{
 color:#f7cc33!important;-webkit-text-fill-color:#f7cc33!important;
 font-style:normal!important;
 text-shadow:0 -1px 1px #ffeca5,1px 2px 0 #a77412,2px 4px 2px #3d2c0c,0 5px 8px #000a!important;
}

/* v2.6 welcome: replace the 2.8 KB blurred JPEG-like asset with a 900px
   photo of security equipment (no baked title and no round badge).
   The live text remains HTML so it stays crisp and accessible. */
html.rcm-web-fusion.ps-theme.ps-tactical #rcmWebWelcomeDialog .rcm-welcome-hero {
  background-image:
    linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.64) 15%,rgba(0,0,0,.08) 59%),
    linear-gradient(90deg,rgba(25,7,5,.11),rgba(3,10,30,.08)),
    url("assets/patrol-security-hero-hq.avif"),
    var(--ps-tv2-carbon)!important;
  background-size:cover,cover,cover,var(--ps-tv2-carbon-size)!important;
  background-position:center,center,center,var(--ps-tv2-carbon-position)!important;
  background-repeat:no-repeat,no-repeat,no-repeat,repeat!important;
}

/* The responsive engine nests some headings inside generated wrappers.
   Descendant selectors ensure both labels keep their silver gradient across
   portrait, fullscreen and desktop reflows. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame .user-mini .label,
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #clock .label {
  background-image:var(--ps-v26-silver)!important;
  background-repeat:no-repeat!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}

/* Keep the backing dark. A background-clip on the entire plaque made the
   caption disappear in Chromium. Apply silver only to the actual caption span. */
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck:not([hidden]){
 background:linear-gradient(180deg,rgba(28,29,31,.95),rgba(2,2,4,.98))!important;
 background-clip:border-box!important;
 -webkit-background-clip:border-box!important;
 color:#e9ecf1!important;
 -webkit-text-fill-color:#e9ecf1!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck::before{
 display:none!important;
}
html.rcm-web-fusion.ps-theme.ps-tactical body.mode-normal #alarmClockFrame #betaLastCheck .ps-last-check-caption{
 background:var(--ps-v26-silver)!important;
 background-repeat:no-repeat!important;
 -webkit-background-clip:text!important;
 background-clip:text!important;
 color:transparent!important;
 -webkit-text-fill-color:transparent!important;
 font-weight:900!important;
}
