/* R138: pixel intro and a theme-safe access screen. */
html[data-theme] body dialog.cpu-pixel-intro{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#001123!important;color:#effaff!important;box-shadow:none!important;opacity:1;transition:opacity .7s ease;z-index:2147483647}
.cpu-pixel-intro::backdrop{background:#001123;transition:background .7s ease}.cpu-pixel-intro.closing{opacity:0!important;pointer-events:none}.cpu-pixel-intro.closing::backdrop{background:#00112300}
.cpu-intro-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;background:#001123}
.cpu-pixel-intro[data-layout=landscape] .cpu-intro-video{object-fit:contain}
.cpu-intro-controls{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));display:flex;align-items:center;gap:9px;z-index:2}
html[data-theme] .cpu-intro-controls button{display:grid;place-items:center;min-height:44px;max-width:none;cursor:pointer;box-shadow:none;color:#ecfbff;background:#001b2bcc;border:1px solid #538a9d;border-radius:0;padding:5px}
html[data-theme] .cpu-intro-controls [data-pixel-skip]{width:148px;min-width:0;background:transparent;border:0;padding:0}.cpu-intro-controls img{display:block;width:148px;height:40px;image-rendering:pixelated}.cpu-intro-controls [data-intro-mute]{width:35px;min-width:35px;font:700 20px monospace}
.cpu-intro-gate{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:min(300px,calc(100vw - 36px));padding:22px 19px;background:#001b2bef;border:2px solid #518498;box-shadow:6px 6px 0 #000b;color:#effaff;font:14px/1.5 NunitoStudent,system-ui,sans-serif;text-align:center}
.cpu-intro-gate[hidden]{display:none}.cpu-intro-gate>img{image-rendering:pixelated;margin-bottom:12px}.cpu-intro-gate strong{font:700 17px/1.4 monospace;letter-spacing:1px}.cpu-intro-gate p{font-size:12px;color:#c4e2e7;margin:8px 0 15px}
html[data-theme] .cpu-intro-gate button{width:100%;min-height:44px;padding:9px 10px;margin:4px 0;border:1px solid #8cc8d4;border-radius:0;background:#cceef2;color:#092532;font:800 13px/1.4 NunitoStudent,system-ui,sans-serif;box-shadow:3px 3px 0 #ed344c}
html[data-theme] .cpu-intro-gate [data-intro-enter]{background:transparent;color:#d9edf2;border-color:#476e7a;box-shadow:none;font-size:12px;min-height:37px}
.cpu-pixel-intro button:focus-visible{outline:3px solid #ffe0ad;outline-offset:3px}
html[data-pwa] body.access-view .workspace-rail{display:none!important}html[data-pwa] body.access-view #app{margin:0!important;width:100%!important;max-width:none!important;padding:0!important}
html[data-theme] body.access-view #app #main-content{padding:calc(24px + env(safe-area-inset-top,0px)) 22px calc(24px + env(safe-area-inset-bottom,0px))!important;max-width:none!important;min-height:100dvh}
html[data-theme] body.access-view #app .access-screen{box-sizing:border-box;max-width:420px!important;width:100%!important;margin:0 auto!important;padding:0!important;color:var(--ink);background:transparent}
.cpu-entry-brand{text-align:center;margin:10px 0 24px}.cpu-entry-marks{display:flex;align-items:center;justify-content:center;gap:23px;margin-bottom:22px}.cpu-entry-mark{display:grid;place-items:center;width:92px;height:92px;clip-path:polygon(8px 0,calc(100% - 8px) 0,calc(100% - 8px) 6px,100% 6px,100% calc(100% - 6px),calc(100% - 8px) calc(100% - 6px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 6px),0 calc(100% - 6px),0 6px,8px 6px)}
.cpu-entry-mark.is-konoha{background:#ece0f1}.cpu-entry-mark.is-reactor{background:#e3f0ed}.cpu-entry-mark img{display:block;width:80px;height:80px;image-rendering:pixelated}.cpu-entry-mark-divider{width:1px;height:35px;background:var(--line)}
html[data-theme] body #app .cpu-entry-name{font-size:26px!important;color:var(--ink)!important;margin:0 0 11px!important;line-height:1!important;padding:0!important;letter-spacing:0!important}
.cpu-entry-name svg{display:block;width:min(278px,100%);height:auto;margin:auto;overflow:visible}.cpu-entry-cite{margin:0;color:var(--ink);font-size:10px;font-weight:850;letter-spacing:2.4px;line-height:1.5}.cpu-entry-version{display:block;color:var(--muted);font-size:9px;font-weight:650;margin-top:7px;line-height:1.5}
.cpu-entry-name svg,.cpu-entry-name svg rect{stroke:none!important;stroke-width:0!important}.cpu-entry-name svg rect{fill:currentColor!important}
html[data-theme] body #app .cpu-entry-quote{margin:0!important;padding:22px 16px!important;border:1px solid var(--line)!important;border-radius:12px;background:var(--panel)!important;color:var(--ink)!important;text-align:center}
html[data-theme] body #app .cpu-entry-quote p{font-size:21px!important;font-weight:650!important;line-height:1.55!important;margin:0!important;color:var(--ink)!important;letter-spacing:-.35px}.cpu-entry-quote strong{font-weight:850}
html[data-theme] body #app .access-screen .welcome-copy{font-size:13px!important;line-height:1.75!important;text-align:center;color:var(--muted)!important;margin:21px 0 23px!important}
html[data-theme] body #app .access-screen .access-choices{display:grid!important;gap:11px!important;margin:0!important}
html[data-theme] body #app .access-screen :is(.access-choices>.primary,.access-choices>.secondary,#cloud-form>.primary){min-height:50px!important;padding:12px 16px!important;margin:0!important;border-radius:11px!important;font-size:15px!important;font-weight:850!important;line-height:1.4!important;width:100%!important;max-width:none!important}
html[data-theme] body #app .access-screen :is(.access-choices>.primary,#cloud-form>.primary){background:var(--brand)!important;color:var(--cpu-entry-button-ink,#fff)!important;-webkit-text-fill-color:var(--cpu-entry-button-ink,#fff)!important;border-color:var(--brand)!important;box-shadow:none!important}
html[data-theme] body #app .access-screen .access-choices>.secondary{background:var(--field)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important}
html[data-theme] body #app .access-screen .access-choices>.access-guest{min-height:34px!important;padding:7px!important;font-size:12px!important;background:transparent!important;color:var(--muted)!important;border:0!important;margin:2px 0 0!important;box-shadow:none!important;max-width:none!important}
html[data-theme] body #app .access-screen .access-note{display:block;text-align:center;font-size:10px!important;line-height:1.7!important;color:var(--muted)!important;margin:23px 0 0!important;padding:0!important}
html[data-theme] body #app .access-screen>.back{font-size:12px;min-height:34px;margin-bottom:8px}.access-screen .cloud-card{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body #app .access-screen .cloud-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 20px}.access-screen .cloud-tabs button{min-height:42px;font-size:13px;padding:9px;border-radius:9px}
html[data-theme] body #app .access-screen #cloud-form label{font-size:12px;line-height:1.5;margin:0 0 7px;display:block}html[data-theme] body #app .access-screen #cloud-form input{min-height:46px;font-size:16px;border-radius:9px;background:var(--field);color:var(--ink);padding:10px 12px;margin-bottom:15px}html[data-theme] body #app .access-screen #cloud-form>.primary{margin-top:5px!important}
@media(max-width:350px){html[data-theme] body.access-view #app #main-content{padding-left:17px!important;padding-right:17px!important}.cpu-entry-brand{margin-bottom:20px}.cpu-entry-marks{gap:18px;margin-bottom:20px}.cpu-entry-mark{width:80px;height:80px}.cpu-entry-mark img{width:70px;height:70px}html[data-theme] body #app .cpu-entry-quote p{font-size:19px!important}.cpu-entry-name svg{width:250px}}
