.account-button{background:#222;color:#fff;border:0;border-radius:8px;padding:10px 17px;font-size:13px;font-weight:700;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:28px;border:1px solid #e9e9e9;border-radius:16px;color:#222;box-shadow:0 18px 80px #0002;font:14px var(--font-ui)}dialog::backdrop{background:#0005;backdrop-filter:blur(3px)}.account-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-head h2{margin:0;font-size:22px;letter-spacing:-.04em}.account-head button{border:0;background:#f6f6f6;border-radius:7px;width:32px;height:32px;font-size:25px;cursor:pointer;color:#777}.account-description{color:#888;font-size:12px;margin:14px 0 25px}.provider-buttons{display:grid;gap:10px}.provider-buttons a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border-radius:9px;font-weight:700;font-size:13px;border:1px solid #e7e7e7}.provider-google{background:#fff;color:#333}.provider-kakao{background:#fee500;color:#302822;border-color:#fee500!important}.provider-discord{background:#5865f2;color:#fff;border-color:#5865f2!important}.provider-naver{background:#03c75a;color:#fff;border-color:#03c75a!important}.provider-buttons a:hover{filter:brightness(.97)}.local-login{border-top:1px solid #eee;margin-top:25px;padding-top:19px}.local-login summary{color:#888;cursor:pointer;font-size:12px}.local-login form{display:grid;gap:13px;margin-top:17px}.local-login label{font-size:12px;color:#777;display:grid;gap:7px}.local-login input{width:100%;height:42px;border:1px solid #ddd;border-radius:7px;padding:8px 11px;font:inherit}.local-login button,.support-done{height:42px;border:0;border-radius:8px;background:#222;color:white;font-weight:700;cursor:pointer}.support-done{padding:0 20px;float:right}#supportDialog p{line-height:1.9;color:#777;margin:22px 0}#accountNotice{font-size:12px;line-height:1.7;margin-top:18px;color:#b52c28}#accountNotice:empty{display:none}.account-user{padding:20px 0;color:#555;line-height:1.8}.account-user strong{color:#222;font-size:17px}.account-logout{width:100%;background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px;color:#777;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e05252;outline-offset:3px}.modal-overlay.is-open{display:flex}.game-button[aria-disabled=true]{cursor:default}
@media(max-width:600px){.site-header{height:68px;padding:0 18px}.site-nav{gap:17px;font-size:12px}.site-header .brand img{width:80px}.account-button{max-width:108px;font-size:11px;padding:9px 11px}.hero{min-height:calc(100svh - 68px)}dialog{padding:23px}.account-head h2{font-size:20px}.headline{-webkit-text-stroke:1.2px #171717}}
/* The navigation stays white; only the content below it uses the Guremi scenery. */
.site-header{background:#fff;position:relative;z-index:2}
.hero{background:#e7b577 url('/assets/autumn-day-v2.webp') center center/cover no-repeat}
@media(max-width:600px){.hero{background-position:43% center}}
/* Balanced landing layout, preserving the supplied artwork. */
.site-header{height:76px;padding:0 max(24px,calc((100vw - 1240px)/2));gap:24px}
.site-header .brand img{width:98px;height:auto}
.site-nav{gap:28px;font-size:13px}
.site-nav>a{color:#484842;position:relative;padding:9px 0}
.site-nav>a:hover{color:#b92b20}
.account-button{min-height:38px;padding:9px 19px;border-radius:7px;font-size:12px;background:#292923}
.hero{min-height:calc(100svh - 76px);align-items:flex-start;padding:clamp(48px,8vh,90px) 24px clamp(170px,25vh,260px);background-position:center center}
.hero-inner{max-width:720px;display:flex;flex-direction:column;align-items:center;gap:25px}
.headline{font-size:clamp(18px,2vw,25px);line-height:1.5;letter-spacing:-.045em;font-weight:750;color:#fff;margin:0;-webkit-text-stroke:0;text-shadow:0 2px 7px #49251299}
.hero-logo{margin:0 0 5px}
.hero-logo img{width:220px;max-width:57vw;height:auto;filter:none}
.game-button{width:min(390px,86vw);margin:0;border:0;background:none;line-height:0;border-radius:2.6% / 6.6%;filter:drop-shadow(0 6px 8px #6e2e1633);transition:transform .18s ease,filter .18s ease}
.game-button>img{width:100%;height:auto;clip-path:inset(0 round 2.6% / 6.6%)}
.game-button:hover{transform:translateY(-3px);filter:drop-shadow(0 9px 11px #6e2e1640)}
.game-button:active{transform:translateY(0) scale(.985)}
.shine-window{top:20%;right:7%;bottom:11%;left:7%;border-radius:7px}
.modal{width:min(420px,calc(100vw - 36px));padding:30px;border-radius:15px;box-shadow:0 16px 60px #0002;border:1px solid #e7e7e2;text-align:left}
.modal h2{font-size:21px;line-height:1.5;margin:0 0 13px;letter-spacing:-.04em}
.modal p{font-size:13px;line-height:1.85;color:#777;margin:0 0 23px}
.modal .close-button{border-radius:7px;min-height:39px;padding:9px 22px;background:#292923;font-size:12px}
dialog{border-radius:15px;padding:28px}.account-head h2{font-size:21px}.provider-buttons a{min-height:44px}.account-head button{transition:background .15s}.account-head button:hover{background:#eee}
@media(min-width:1600px){.hero{padding-top:10vh}.hero-inner{gap:29px}.hero-logo img{width:245px}.game-button{width:420px}}
@media(max-width:600px){.site-header{height:66px;padding:0 18px;gap:15px}.site-header .brand img{width:77px}.site-nav{gap:17px;font-size:11px}.account-button{font-size:11px;padding:8px 12px;min-height:34px;max-width:100px}.hero{min-height:calc(100svh - 66px);padding:clamp(45px,8vh,75px) 20px 210px;background-position:43% center}.hero-inner{gap:22px}.headline{font-size:18px;line-height:1.5;word-break:keep-all;max-width:310px}.hero-logo{margin:0 0 3px}.hero-logo img{width:185px;max-width:56vw}.game-button{width:min(330px,86vw)}.modal{padding:25px}.modal h2{font-size:19px}dialog{padding:24px}.account-head h2{font-size:20px}}
@media(max-width:360px){.site-header{padding:0 14px}.site-header .brand img{width:70px}.site-nav{gap:13px}.headline{font-size:16px}.hero-logo img{width:163px}.hero-inner{gap:20px}}
@media(max-height:620px) and (min-width:601px){.hero{padding-top:28px;padding-bottom:90px}.hero-inner{gap:15px}.headline{font-size:19px}.hero-logo img{width:165px}.game-button{width:310px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.game-button{transition:none}.game-button:hover{transform:none}.shine-window::after{animation:none!important}}

.site-footer{padding:22px 20px;background:#fff;border-top:1px solid #eee;text-align:center;color:#777;font-size:12px;line-height:1.8}.site-footer p{margin:0;word-break:keep-all}

.hero{position:relative}.site-footer{position:absolute;inset:auto 0 0;padding:17px 20px;background:rgba(0,0,0,.48);border:0;color:#fff;font-size:12px;line-height:1.8;text-align:center}.site-footer p{margin:0;word-break:keep-all}@media(max-width:600px){.site-footer{padding:15px 20px;font-size:11px}}

.game-button{line-height:normal;border-radius:0;filter:drop-shadow(0 6px 8px #4b341b30)}
.jjo-start-frame{position:relative;display:block;padding-top:5.6%;width:100%}
.jjo-start-eye{position:absolute;top:0;width:11.6%;height:auto;z-index:1;pointer-events:none}.jjo-start-eye-left{left:0}.jjo-start-eye-right{right:0}
.jjo-start-nose{position:absolute;left:50%;top:23%;width:4.6%;height:auto;transform:translateX(-50%);z-index:2;pointer-events:none}
.jjo-start-body{display:block;padding:17px 5px 5px;border:2px solid #000;border-radius:0 0 11px 11px;background:#deaf56}
.jjo-start-caption{display:block;padding:14px 8px;border-radius:7px;background:#000b;color:#fff;font-size:clamp(23px,3.2vw,32px);font-weight:750;line-height:1.35;letter-spacing:-.04em;text-shadow:0 1px 2px #0007}
@media(max-width:600px){.jjo-start-body{padding-top:14px}.jjo-start-caption{font-size:26px;padding:13px 8px}}

.account-tabs{display:flex;gap:8px}.account-tabs button{flex:1;border:1px solid #e2e4dc;border-radius:8px;background:#f8f9f5;color:#7e8276;padding:10px 12px;font-size:12px;font-weight:700;cursor:pointer}.account-tabs button[aria-pressed=true]{background:#292923;border-color:#292923;color:white}.local-login form[hidden]{display:none}.local-login small{font-size:10px;line-height:1.7;color:#898d80;font-weight:400}.local-login{margin-top:20px}.local-login input{color:#282b23}.local-login{display:block}.local-login[hidden]{display:none}
