.entry-screen{min-height:100vh;background:#f5f8fb;color:#173a57;font:16px/1.6 "Yu Gothic",Meiryo,sans-serif}
body:has(.entry-screen){margin:0}
.entry-screen .entry-head{display:flex;align-items:center;gap:12px;margin:0;padding:12px max(16px,calc((100% - 1100px)/2));background:linear-gradient(110deg,#205879,#092f4d);color:white;border-bottom:3px solid #80c9e8}
.entry-head img{width:44px;height:44px;flex:none;border-radius:10px}
.entry-head strong,.entry-head span{display:block;line-height:1.35}
.entry-head strong{font-size:19px;letter-spacing:.08em}
.entry-panel{box-sizing:border-box;width:min(448px,calc(100% - 32px));margin:32px auto;padding:22px;background:white;border:1px solid #d7e3eb;border-radius:12px}
.entry-panel h1{display:flex;align-items:center;gap:10px;font-size:20px;margin:0}
.entry-panel .app-version{font-size:12px;color:#526d80}
.entry-panel p{margin:8px 0 16px;line-height:1.6}
.entry-panel button{display:block;width:100%;min-height:48px;margin-top:10px}
.entry-panel .primary{background:#135478;color:white}
.entry-panel .primary:hover{background:#0b415f}
.entry-check{text-align:center;padding:28px 12px 24px}
.entry-mascot{display:block;margin:auto;width:104px;height:104px;image-rendering:pixelated;object-fit:cover;object-position:0 0}
@media (prefers-reduced-motion:no-preference){
  .entry-mascot{animation:entry-wave 1.536s step-end infinite}
}
@keyframes entry-wave{
  0%,100%{object-position:0 0}
  12.5%,37.5%,62.5%,87.5%{object-position:-104px 0}
  25%,75%{object-position:-208px 0}
  50%{object-position:-312px 0}
}
.entry-panel .entry-status{display:flex;align-items:center;justify-content:center;gap:9px;margin:14px 0 0}
.entry-status>span{width:17px;height:17px;box-sizing:border-box;border:2px solid #d5e2ea;border-top-color:#21648c;border-right-color:#21648c;border-radius:50%;animation:entry-turn 1s linear infinite}
@keyframes entry-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.entry-status>span{animation:none}}

.entry-screen [hidden]{display:none!important}.entry-panel>.entry-check{padding:4px 0 0}.entry-screen .entry-head img{margin:0;object-fit:contain}.entry-panel button{font:inherit;cursor:pointer;border-radius:8px}.entry-panel .entry-primary{background:#135478;color:white;border:0}.entry-screen .entry-head strong,.entry-screen .entry-head span{color:white}
