/* Patrol Scans Lite layer: components and accessibility only; never changes timer engine */
html.ps-theme body.mode-normal #record{display:none!important}
html.ps-theme #record[hidden],#record[hidden]{display:none!important}
html.ps-theme #rcmBetaTheme,html.ps-theme #r23Setting8,#r23Setting8[hidden]{display:none!important}
html.ps-theme #psThemeLibrary,#psThemeLibrary{border:1px solid #ad873b!important;border-radius:12px;margin:10px 0;background:linear-gradient(135deg,#051328,#122c4d);color:#f4f5f8}
#psThemeLibrary>summary{color:#ffdf5f!important;cursor:pointer;font-weight:800;padding:12px}
#psThemeLibrary .r23-category-body{padding:12px}
#psThemeLibrary .ps-theme-help{font-size:13px;line-height:1.5}
.ps-theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}
.ps-theme-option{background:#07172f;color:#fff;border:2px solid #415a7f;border-radius:10px;padding:10px;display:grid;gap:5px;justify-items:center;cursor:pointer}
.ps-theme-option[aria-pressed="true"]{border-color:#ffce47;box-shadow:0 0 0 1px #a6801c}
.ps-theme-preview{width:100%;height:42px;border-radius:6px;border:1px solid #6a89aa;display:block;background:linear-gradient(#061c3b,#174775)}
.ps-theme-preview.patrol-scans{background-image:linear-gradient(135deg,rgba(0,0,0,.45),rgba(15,34,62,.7)),url("themes/patrol-scans/texture.svg");border-color:#eac453}
.ps-theme-preview.classic{background:linear-gradient(135deg,#121212,#660e21)}
.ps-theme-preview.pip-green{background:linear-gradient(135deg,#000,#1b4f26)}
.ps-theme-selected{color:#ffdc50}
#psStartupSplash{position:fixed;inset:0;z-index:2147483640;background-color:#080809;background-image:radial-gradient(ellipse at center,rgba(27,27,29,.44),rgba(0,0,0,.85) 78%),linear-gradient(45deg,#111113 25%,transparent 25%),linear-gradient(-45deg,#111113 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#111113 75%),linear-gradient(-45deg,transparent 75%,#111113 75%);background-size:cover,16px 16px,16px 16px,16px 16px,16px 16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:25px;padding:18px;box-sizing:border-box}
#psStartupSplash img{width:min(70vmin,430px);height:auto;max-height:75dvh;object-fit:contain;filter:drop-shadow(0 0 14px rgba(255,202,70,.21))}
#psStartupSplash button{border-radius:9px;background:#0c2344;border:1px solid #f1c948;color:#fff;padding:11px 22px;font-size:14px;cursor:pointer}
#history .log-action-switch,#history .log-action-buttons,#history .log-entry-editor,#history [id*="export" i],#history [id*="backup" i],#history [id*="restore" i]{display:none!important}
#history #rows td:nth-child(1){font-weight:650}
#history .table-wrap table{width:100%}
#history .table-wrap th,#history .table-wrap td{white-space:normal;overflow-wrap:anywhere}
#history #logUserFilter{display:none}
#settings #r23Setting8{display:none!important}
html.ps-theme .rcm-web-header .rcm-web-brand{border-radius:9px}
html.ps-theme .rcm-web-header .rcm-web-identity{flex-shrink:1;min-width:0}
html.ps-theme .rcm-web-nav button{min-width:0}
@media(max-width:450px){html.ps-theme #rcmWebFusionHeader .rcm-web-identity{flex:1;min-width:0}html.ps-theme .rcm-web-date{font-size:10px!important}html.ps-theme .rcm-web-support-button{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){#psStartupSplash img{animation:none!important}html.ps-theme .clock::before{transition:none!important}}

/* v1.0.7: display only the original live Last Check readout. Its hidden data
   source remains in the DOM to keep the existing update observer and settings. */
html.rcm-web-fusion body #lastCheckSummary{display:none!important}
html.rcm-web-fusion #alarmClockFrame #betaLastCheck,
html.rcm-web-fusion #alarmClockFrame .display-slot.big-slot #betaLastCheck{
 font:800 clamp(19px,3.3vw,25px)/1.15 system-ui,sans-serif!important;
 text-align:center!important;color:#f5f8ff!important;
 max-width:100%!important;width:100%!important;
 margin:5px auto!important;padding:0 6px!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
html.rcm-web-fusion #alarmClockFrame #betaLastCheck b{
 color:#31ef89!important;
 font:900 clamp(25px,5vw,38px)/1.1 system-ui,sans-serif!important;
 text-shadow:0 2px 4px #001c12!important;
}
html.rcm-web-fusion #alarmClockFrame #betaLastCheck[hidden]{display:none!important}
/* Welcome popup: show the three requested feature checks, including on phones. */
html.rcm-web-fusion #rcmWebWelcomeDialog .rcm-welcome-perks{
 grid-template-columns:minmax(0,1fr)!important;gap:5px!important;
 width:100%!important;padding:8px 0!important;
}
html.rcm-web-fusion #rcmWebWelcomeDialog .rcm-welcome-perks span{
 white-space:normal!important;justify-content:flex-start!important;
 text-align:left!important;line-height:1.3!important;
 padding:5px 10px!important;font-size:clamp(11px,2.5vw,13px)!important;
}
html.rcm-web-fusion #rcmWebWelcomeDialog .rcm-welcome-perks span b{
 color:#ffe35c!important;font-size:18px!important;flex:0 0 20px!important;
}
