:root{color-scheme:light;--raillet-blue:#266bff;--home-edge:clamp(20px,2.8vw,48px);--entry-width:clamp(88px,14vw,224px)}
*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;background:#fff}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.raillet-home{position:relative;width:100%;height:100svh;min-height:320px;overflow:hidden}
.raillet-entry{position:absolute;top:max(var(--home-edge),env(safe-area-inset-top));width:var(--entry-width);min-height:52px;display:block;border-radius:8px;touch-action:manipulation}
.raillet-entry[data-raillet-system=plarail]{left:max(var(--home-edge),env(safe-area-inset-left))}
.raillet-entry[data-raillet-system=nscale]{right:max(var(--home-edge),env(safe-area-inset-right))}
.raillet-entry img{display:block;width:100%;height:auto;aspect-ratio:250/148}
.raillet-entry:focus-visible{outline:3px solid #8db2ff;outline-offset:10px}
.raillet-entry-label{position:absolute;left:0;right:0;top:calc(100% + 12px);font-size:12px;letter-spacing:.12em;text-align:center;color:var(--raillet-blue);opacity:0;transition:opacity .15s}
.raillet-entry:hover .raillet-entry-label,.raillet-entry:focus-visible .raillet-entry-label{opacity:1}
.raillet-wordmark{position:absolute;left:12px;right:12px;bottom:max(18px,env(safe-area-inset-bottom));margin:0}
.raillet-wordmark img{display:block;width:100%;height:auto;max-height:58svh;object-fit:contain;object-position:center bottom}
.raillet-home[aria-busy=true]{pointer-events:none}
noscript{position:fixed;left:20px;bottom:8px;font-size:12px;color:#708098}
@media(max-width:600px){.raillet-wordmark{left:4px;right:4px;bottom:max(28px,env(safe-area-inset-bottom))}.raillet-entry-label{opacity:1;font-size:10px;letter-spacing:.08em}}
@media(prefers-reduced-motion:reduce){.raillet-entry-label{transition:none}}
