.jev-guide{display:flex;align-items:center;gap:12px;min-height:86px;margin:14px 0 8px;font:14px/1.6 system-ui,sans-serif}.jev-guide img{width:66px;height:66px;object-fit:contain;flex-shrink:0;animation:jev-bounce 2.6s ease-in-out infinite;transform-origin:center bottom}.jev-guide p{margin:0;padding:12px 16px;background:#fff1c9;border-radius:17px 17px 17px 3px;animation:jev-talk 2.6s ease-in-out infinite}.jev-guide[data-state=working] img{animation-duration:.8s}.draw-entry #select{min-height:58px;background:#314c43;color:#fffdf1;border:0;border-radius:16px;font-weight:700;font-size:17px;box-shadow:0 5px 14px #314c4320}.experiment-note{text-align:center;font:12px/1.8 system-ui,sans-serif;color:#677568;margin:10px 0 18px}.experiment-note small{font-size:11px}.number-stage .balls li{font-family:'Trebuchet MS',Arial,sans-serif;font-weight:700}.number-stage .note-idle{font-family:'Malgun Gothic',system-ui,sans-serif;letter-spacing:-.6px;font-size:16px}.number-stage .stage-message:before{content:'';display:inline-block;background:url('../media/jev-box-icon.png') center/contain no-repeat;width:32px;height:32px;vertical-align:middle;margin-right:7px;border-radius:0;animation:none}.number-stage .stage-message{line-height:1.7}.login-highlight{outline:2px solid #acbb8e;outline-offset:6px;border-radius:8px}#save-hope{min-height:48px;border-radius:12px}#save-hope:before{content:'';display:inline-block;width:30px;height:30px;background:url('../media/jev-box-icon.png') center/contain no-repeat;vertical-align:middle}
.mobile-topbar{display:none}
@keyframes jev-bounce{0%,100%{transform:translateY(0) scale(1.08,.92)}15%{transform:translateY(-4px) scale(.95,1.06)}45%{transform:translateY(-14px) rotate(-5deg)}80%{transform:translateY(0) scale(1.1,.9)}}
@keyframes jev-talk{45%{transform:translateY(-3px)}}
@media(max-width:600px){body{padding:16px}h1{font-size:30px;margin:14px 0 8px}main>p:not(.small){font:14px/1.7 system-ui,sans-serif}.sheet{padding:18px;margin:20px 0;border-radius:18px;box-shadow:3px 5px 0 #b8cbd5}#game-title{font:19px 'Malgun Gothic',system-ui,sans-serif;margin:10px 0}.eyebrow{margin:4px 0}.jev-guide{margin:8px 0}.number-stage{margin:18px 0}.number-stage .number-film video{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border:0;border-radius:0}.number-stage .note-space{height:154px}.login-actions{gap:8px}fieldset{margin:14px 0}fieldset label{font-size:12px;padding:8px}.number-stage .balls li{font-size:30px}#select{scroll-margin-top:16px}}
@media(prefers-reduced-motion:reduce){.jev-guide *{animation:none!important}}

@media(max-width:600px){
 .mobile-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;margin:-18px -20px 18px;padding:13px 20px;background:#e6f2faf2;border-bottom:1px solid #c8d7dd;backdrop-filter:blur(8px);font:15px/1.3 'Malgun Gothic',system-ui,sans-serif}
 .mobile-topbar strong{color:#314c43;font:700 20px/1 Georgia,serif;letter-spacing:.08em}
 .desktop-return{display:none}
 body{padding:18px 20px}
 .page-brand{margin:20px 0 26px}
 .page-brand h1{font-size:42px;line-height:.9;margin:0}
 .page-brand__label{margin-top:12px;font-size:12px}
 .page-brand__intro{max-width:310px;font-size:14px;line-height:1.65}
 .game-sheet{padding:0;margin:0;background:transparent;border:0;box-shadow:none}
 .game-sheet>.eyebrow{display:none}
 #game-title{font:22px 'Malgun Gothic',system-ui,sans-serif;letter-spacing:-1px;margin:0 0 10px}
 .draw-entry #select{min-height:62px}
 .number-stage{margin:20px 0;border-radius:22px}
}



/* Approved ALMOST mobile UX: readable 2x2 choices, paired providers, clear identity and type. */
@media(max-width:600px){
 main>p.small:first-child{font-size:15px;line-height:1.5;margin:0 0 18px}
 .page-brand h1{color:#314c43;font-size:48px}
 .page-brand__label{font-size:14px}
 .page-brand__intro{font-size:16px;line-height:1.7;max-width:none}
 .game-sheet>.eyebrow{display:inline-block;margin:0 0 12px;padding:6px 10px;background:#314c43;color:#fffdf1;border-radius:999px;font-size:12px;letter-spacing:.12em}
 fieldset[aria-label="JEV 선택 기준"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
 fieldset[aria-label="JEV 선택 기준"] label{min-height:56px;font-size:16px;line-height:1.4;padding:11px 12px;width:100%;justify-content:flex-start}
 fieldset[aria-label="JEV 선택 기준"] input{width:20px;height:20px;flex:0 0 20px;margin:0}
 .draw-entry #select{min-height:64px;font-size:18px;padding:12px 16px;line-height:1.35}
 .jev-guide{align-items:center;gap:10px;margin:10px 0 12px}
 .jev-guide img{width:60px;height:60px}
 .jev-guide p{font-size:17px;line-height:1.5;padding:13px 15px}
 #login-panel{margin:20px 0 14px;padding:14px;background:#fffef899;border:1px solid #c8cdb7;border-radius:16px}
 #login-panel>.small{font-size:16px;line-height:1.55;margin:0 0 12px}
 .login-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 4px;width:100%;align-items:center}
 .login-actions>div,.login-actions>a,.login-actions>button{width:100%;min-width:0;min-height:48px}
 #google-signin{width:100%;max-width:100%;overflow:hidden}
 #google-signin iframe{display:block;width:100%!important;max-width:100%!important;margin:0 auto}
 .login-actions>.provider-image{width:100%;min-height:48px}
 .login-actions>.provider-image img{width:100%;height:48px;object-fit:contain}
 #logout{grid-column:1/-1;width:auto;min-height:38px;justify-self:end;padding:6px 12px!important;font-size:14px!important}
 #membership-settings{width:100%;min-height:52px;margin:10px 0 18px;font-size:16px}
 .experiment-note{font-size:15px;line-height:1.65;margin:12px 0 18px}
 .experiment-note small{font-size:14px}
 .game-notice,.game-notice summary,.status,#summary,#meta,main nav.small{font-size:15px;line-height:1.7}
}
