/* RCM_APP_28.1.3.50.7 — canonical single-Enter Front Door. */
.rcm-home-page{min-height:calc(100dvh - var(--rcm-global-footer-height,38px));display:flex;justify-content:center;box-sizing:border-box}
.rcm-home-card{width:min(calc(100vw - 30px),430px);position:relative;margin:clamp(5px,1.4dvh,10px) auto 12px;padding:clamp(9px,1.8dvh,14px) clamp(10px,3vw,16px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:clamp(7px,1.4dvh,10px);border:2px solid #334155;border-radius:18px;background:#0b1220;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.rcm-home-slogan{margin:0;color:#dbeafe;font-size:clamp(15px,4vw,19px);font-style:italic;font-weight:800;text-align:center;padding:0 clamp(46px,12vw,52px)}
.rcm-home-share-qr-button{position:absolute;top:clamp(7px,1.2dvh,8px);right:clamp(7px,2vw,8px);width:clamp(42px,11vw,46px);height:clamp(42px,11vw,46px);padding:3px;box-sizing:border-box;border:2px solid #64748b;border-radius:10px;background:#f8fafc;cursor:pointer;z-index:2}
.rcm-home-share-qr-button img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
.rcm-home-share-qr-button:hover,.rcm-home-share-qr-button:focus-visible{border-color:#60a5fa;box-shadow:0 0 0 2px rgba(96,165,250,.22)}
.rcm-home-message-marquee{width:100%;margin-top:clamp(10px,3vw,14px);overflow:hidden;white-space:nowrap;color:#facc15;font-size:clamp(30px,8vw,36px);font-weight:950;line-height:1.2;text-align:center;min-height:44px}      /* 28.8.24.14: twice the size, and lower so the QR code (upper right, always there to share) never covers it */
.rcm-home-message-track{display:flex;width:max-content;gap:50px;animation:rcm-home-message-scroll 12s linear infinite}
.rcm-home-message-copy{display:inline-block;min-width:max-content}
@keyframes rcm-home-message-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 25px))}}
@media(prefers-reduced-motion:reduce){.rcm-home-message-track{animation:none}.rcm-home-message-copy[aria-hidden="true"]{display:none}}
.rcm-home-entrance{min-width:132px;min-height:clamp(38px,6dvh,44px);padding:8px 18px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #22c55e;border-radius:10px;background:#15803d;color:#fff;font-size:16px;font-weight:950;text-decoration:none}
.rcm-home-actions{width:100%;display:grid;gap:0}
.rcm-home-actions-primary{grid-template-columns:1fr;border-radius:10px;animation:rcm-home-icon-glow 1.8s ease-in-out infinite}      /* 28.8.24.14: one button, its own line, a glowing border the whole time the page is up */
@keyframes rcm-home-icon-glow{0%,100%{box-shadow:0 0 6px 1px rgba(167,139,250,.55)}50%{box-shadow:0 0 18px 5px rgba(196,181,253,.95)}}
@media(prefers-reduced-motion:reduce){.rcm-home-actions-primary{animation:none;box-shadow:0 0 14px 3px rgba(196,181,253,.85)}}
.rcm-home-actions .entity-action-btn{min-width:0;min-height:clamp(42px,6.5dvh,48px);padding:clamp(6px,1.2dvh,8px) 6px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:10px;font-size:clamp(16px,4.4vw,18px);font-weight:900;text-align:center;white-space:nowrap}
.rcm-home-install-button,.rcm-home-install-button:visited{background:#7c3aed;border-color:#a78bfa;color:#fff}
.rcm-home-install-button.is-installed{background:#166534;border-color:#4ade80}
/* 28.8.24.14: the web address, plain selectable text, to burn the .app into memory. */
.rcm-home-url{margin:-2px 0 0;color:#f8fafc;font-size:clamp(17px,4.8vw,20px);font-weight:900;letter-spacing:.02em;text-align:center;user-select:text;-webkit-user-select:text;word-break:break-all}
/* RCM_APP_28.8.17: the security guy above Enter, about the size of the logo. */
.rcm-home-welcome-guy-link{width:min(32vw,124px);display:block;overflow:hidden;border-radius:10px;border:2px solid #facc15;background:#000}
.rcm-home-welcome-guy{width:100%;height:auto;display:block}
.rcm-home-logo-link{width:min(48vw,190px);display:block;overflow:hidden;border-radius:10px;background:#000}
.rcm-home-logo{width:100%;height:auto;display:block}
.rcm-home-notice{width:100%;flex:1 1 0;min-height:min(220px,31dvh);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;box-sizing:border-box;padding:10px 12px 14px;border:3px solid #0ea5e9;border-radius:2px;background:#0d1726;color:#dbeafe;scrollbar-width:thin;scrollbar-color:#38bdf8 #0f172a}
.rcm-home-notice::-webkit-scrollbar{width:8px}.rcm-home-notice::-webkit-scrollbar-track{background:#0f172a}.rcm-home-notice::-webkit-scrollbar-thumb{background:#38bdf8;border-radius:999px}
.rcm-home-notice-tagline{margin:0 0 10px;color:#f59e0b;font-size:clamp(16px,4.2vw,19px);font-style:italic;font-weight:950;line-height:1.18;text-align:center;text-wrap:balance}
.rcm-home-notice h2{position:sticky;top:-10px;z-index:1;margin:0 -12px 7px;padding:2px 12px 7px;background:#0d1726;color:#38bdf8;font-size:16px;font-weight:900;text-align:center}
.rcm-home-status-line{margin:0 0 9px;padding:5px 7px;border:1px solid #334155;border-radius:7px;background:#111827;color:#fff;font-size:12px;font-weight:850;line-height:1.2;text-align:center}
.rcm-home-notice-copy p{margin:0 0 9px;color:#dbeafe;font-size:clamp(12.5px,3.2vw,13px);font-weight:550;line-height:1.38}.rcm-home-notice-copy p:last-child{margin-bottom:0}
/* 28.8.24.14 (Luis, Oct-18): one small button at the very bottom of the card, just above the footer: thin red Log Out, green Log In / Create Account. */
.rcm-home-account-row{width:100%;display:flex;justify-content:center}
.rcm-home-account,.rcm-home-account:visited{min-height:26px;padding:3px 16px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:8px;font-size:12px;font-weight:900;text-decoration:none}
.rcm-home-account.is-logout{border:1px solid #ef4444;background:#7f1d1d;color:#fecaca}
.rcm-home-account.is-login{border:1px solid #22c55e;background:#166534;color:#dcfce7}
