/* Measured reference: 1440px container, 240px menu, 24px gap, 2:1 hero, six cards. */
.sunball-shell>div:has(>#header){background:transparent!important}
.sunball-shell{background:radial-gradient(ellipse at 15% 400px,#d7edf580,transparent 45%),repeating-radial-gradient(ellipse at 90% 600px,#fff8 0 2px,transparent 3px 18px),linear-gradient(#eef6fa 0 950px,#f7f8fa 950px)!important}
.sunball-shell #header>.wrap,.sunball-shell #content,.sunball-shell #footer>.wrap{width:min(1392px,calc(100% - 48px))!important}
.sunball-shell #header{height:104px!important}.sunball-shell #header>.wrap{height:104px!important}
.sunball-shell #content{padding:28px 0 70px!important}.sunball-shell #content>.wrap{gap:24px!important}
.sunball-shell #content>.wrap>#topmenu{flex:0 0 240px!important;width:240px!important;min-height:650px;padding:24px 16px!important}
.sunball-shell #topmenu ul>li>a{height:40px!important;font-size:14px!important}
.sunball-shell #header .login a[href*="mod=join"]{display:inline-flex!important;background:#087ff5!important;color:#fff!important;order:2}
.sunball-shell #header .login a:last-of-type{background:transparent!important;color:#253347!important;box-shadow:none!important}
.sunball-shell #footer>.wrap{padding-left:0!important}.sunball-shell #footer{background:#f7f8fa!important}
.sl-lobby{display:flex;flex-direction:column;gap:32px;color:#162131;font-family:Arial,'Malgun Gothic',sans-serif}.sl-lobby *{box-sizing:border-box}.sl-lobby a{text-decoration:none;color:inherit}.sl-lobby h2{margin:0;font-size:21px;letter-spacing:-.7px;line-height:1.4}.sl-lobby p{margin:6px 0 0;color:#8d99a7;font-size:12px;line-height:1.7}.sl-hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px;height:280px}.sl-hero{position:relative;overflow:hidden;border-radius:16px;background:radial-gradient(circle at 80% 45%,#087ce8,#053572 48%,#071935);color:#fff!important;display:flex;align-items:center;padding:32px}.sl-hero-copy{position:relative;z-index:1}.sl-eyebrow{font-size:10px;letter-spacing:2px;color:#7fddff}.sl-hero strong{display:block;font-size:32px;line-height:1.35;letter-spacing:-1.6px;margin:14px 0}.sl-hero p{color:#c4deef;font-size:12px}.sl-hero-cta{display:inline-flex;gap:24px;align-items:center;margin-top:22px;background:#fff;color:#126dd0;padding:11px 17px;border-radius:8px;font-size:12px;font-weight:700}.sl-hero-orbit{position:absolute;width:310px;height:310px;right:-100px;top:-20px;border:1px solid #74dfff55;border-radius:50%;box-shadow:0 0 0 28px #7fe4ff0a,0 0 0 62px #7fe4ff0a,0 0 0 95px #7fe4ff08}.sl-hero-orbit span{position:absolute;top:70px;left:35px;width:140px;height:140px;background:radial-gradient(circle at 32% 27%,#fff9c4,#ffbc39 30%,#ff7a16 70%);border-radius:50%;box-shadow:0 0 80px #ffbb4055}.sl-hero-bottom{position:absolute;bottom:17px;right:20px;font-size:8px;letter-spacing:2px;color:#8cbbdb}.sl-hero-notes{display:grid;grid-template-rows:1fr 1fr;gap:16px}.sl-hero-notes>a,.sl-info-card{background:#fff;border:1px solid #e9edf1;border-radius:16px;padding:22px}.sl-tag{display:inline-block;background:#edf5ff;color:#2185f4;border-radius:5px;padding:3px 6px;font-size:9px;font-weight:700}.sl-hero-notes strong{display:block;font-size:15px;margin-top:9px;line-height:1.5}.sl-hero-notes small{display:block;margin-top:15px;font-size:11px;color:#18a276}.sl-hero-notes>a:last-child small{color:#ed8c34}.sl-result-band{position:relative;min-height:114px;display:flex;align-items:center;justify-content:center;border:3px solid #d6bd76;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#1e7ddb,#05295b 65%);box-shadow:inset 0 0 0 4px #b4ddff55,0 5px 16px #22496f17;color:white!important;text-align:center;margin-top:4px}.sl-band-label{position:absolute;top:-13px;background:#113e75;color:#ffe3a1;padding:5px 16px;border:1px solid #e2c071;border-radius:20px;font-size:12px;font-weight:700;letter-spacing:1px}.sl-result-band>div{display:flex;align-items:center;gap:18px}.sl-result-band strong{font-size:57px;color:#ffe28c;line-height:1}.sl-band-title{font-size:14px}.sl-result-band [data-sl-round]{font-size:12px;color:#bfd8f0}.sl-band-link{position:absolute;right:22px;bottom:15px;color:#c9e4fa;font-size:10px}.sl-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.sl-section-head>a,.sl-section-head>span{font-size:11px;color:#8692a0}.sl-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sl-shortcuts>a{position:relative;overflow:hidden;border-radius:12px;padding:18px 22px;background:linear-gradient(110deg,#edf8ff,#fff 55%,#c3e7fb);min-height:92px}.sl-shortcuts>a:nth-child(2){background:linear-gradient(110deg,#f0f8ff,#fff 55%,#d9ddff)}.sl-shortcuts>a:nth-child(3){background:linear-gradient(110deg,#edfafa,#fff 55%,#baeadc)}.sl-shortcuts small{font-size:9px;color:#7997aa;letter-spacing:1px}.sl-shortcuts strong{display:block;font-size:22px;margin-top:5px;position:relative;z-index:1}.sl-shortcuts i{position:absolute;right:12px;top:8px;font-size:64px;font-style:normal;color:#258ada66}.sl-round-grid,.sl-service-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.sl-round,.sl-service{display:block;min-width:0;background:#fff;border:1px solid #e7edf3;border-radius:14px;overflow:hidden;transition:transform .16s,box-shadow .16s}.sl-round:hover,.sl-service:hover{transform:translateY(-4px);box-shadow:0 10px 22px #23476a15}.sl-round-face{aspect-ratio:1;background:radial-gradient(circle at 50% 32%,#ffd4d4,#f66a87 70%,#bd375f);display:grid;place-items:center}.sl-round-face.is-even{background:radial-gradient(circle at 50% 32%,#c5f5ff,#2eaddd 70%,#2367a8)}.sl-round-face strong{display:grid;place-items:center;width:72%;height:72%;border-radius:50%;background:radial-gradient(circle at 28% 22%,#fff9,#ffffff15 42%,#0002);border:1px solid #fff8;box-shadow:0 8px 18px #15263d20;font-size:40px;color:#fff;text-shadow:0 2px 3px #0002}.sl-round>b,.sl-round>small{display:block;padding:8px 10px 0;font-size:12px}.sl-round>small{padding:4px 10px 12px;font-size:9px;color:#9ca5b0}.sl-art{position:relative;aspect-ratio:3/4;overflow:hidden;background:radial-gradient(circle at 60% 25%,#ffd86f,#f19a18 55%,#bd560d);color:white}.sl-art>span{position:absolute;top:14px;left:14px;font-size:10px;letter-spacing:2px;opacity:.65}.sl-art i{position:absolute;inset:10% -15% auto;text-align:center;font-size:120px;font-style:normal;text-shadow:0 10px 30px #ffffff44}.sl-art b{position:absolute;bottom:19px;left:8px;right:8px;text-align:center;font-size:13px;letter-spacing:1px}.sl-art-orb{background:radial-gradient(circle at 65% 20%,#79e5ff,#087bd3 55%,#173d8c)}.sl-art-history{background:linear-gradient(140deg,#84c6ff,#5969d5,#2b2c78)}.sl-art-wallet{background:linear-gradient(140deg,#61e4d1,#13a28b,#07625c)}.sl-art-network{background:linear-gradient(140deg,#d8a6ff,#9458d8,#462a91)}.sl-art-support{background:linear-gradient(140deg,#86c4ef,#246ba9,#193d69)}.sl-service-caption{padding:12px 10px}.sl-service-caption strong{font-size:12px}.sl-service-caption small{display:block;font-size:9px;color:#a0a9b4;margin-top:5px;line-height:1.5}.sl-bottom-grid{display:grid;grid-template-columns:3fr 2fr;gap:16px}.sl-info-card .sl-section-head h2{font-size:17px}.sl-info-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid #eef2f5;font-size:12px}.sl-info-row>b{margin-left:auto;color:#91a3b5}.sl-pastel{display:block;background:#eaf3ff;padding:14px;border-radius:10px;margin-top:9px}.sl-pastel:nth-of-type(2){background:#e2f9ed}.sl-pastel:nth-of-type(3){background:#fff1e6}.sl-pastel small{font-size:9px;color:#4c89c9}.sl-pastel strong{display:block;margin-top:5px;font-size:12px}.sl-lobby a:focus-visible{outline:3px solid #087ff5;outline-offset:4px}.sl-empty{grid-column:1/-1;padding:40px;background:white;border-radius:14px}
@media(max-width:1200px){.sunball-shell #content>.wrap>#topmenu{flex-basis:200px!important;width:200px!important}.sl-hero strong{font-size:26px}.sl-service-grid,.sl-round-grid{gap:10px}.sl-art i{font-size:90px}.sl-art b{font-size:10px}.sl-result-band>div{gap:10px}}
@media(max-width:980px){.sunball-shell #content>.wrap>#topmenu{width:248px!important;padding:110px 14px 24px!important;min-height:0}.sl-hero-grid{height:260px}.sunball-shell #content{padding-top:20px!important}}
@media(max-width:640px){.sl-lobby{gap:25px}.sl-hero-grid{height:auto;grid-template-columns:1fr}.sl-hero{min-height:270px;padding:24px}.sl-hero-notes{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:10px}.sl-hero-notes>a{padding:15px}.sl-hero-notes strong{font-size:12px}.sl-hero-notes small{font-size:10px}.sl-result-band{min-height:120px}.sl-result-band>div{flex-wrap:wrap;justify-content:center}.sl-result-band [data-sl-round]{flex-basis:100%;font-size:10px}.sl-result-band strong{font-size:38px}.sl-band-label{font-size:10px}.sl-band-link{display:none}.sl-shortcuts{gap:8px}.sl-shortcuts>a{padding:14px 10px;min-height:85px}.sl-shortcuts strong{font-size:14px}.sl-shortcuts small{font-size:7px}.sl-shortcuts i{font-size:44px;opacity:.4}.sl-round-grid,.sl-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sl-art i{font-size:96px}.sl-bottom-grid{grid-template-columns:1fr}.sl-section-head>span{display:none}.sl-lobby h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.sl-round,.sl-service{transition:none}}
/* Sticky elements share the page flow; the menu stops at the content boundary. */
.sunball-shell #header{position:sticky!important;top:0!important;z-index:110;background:rgba(255,255,255,.76)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
@media(min-width:981px){.sunball-shell #content>.wrap>#topmenu{position:sticky!important;top:128px!important;align-self:flex-start;min-height:0!important;max-height:calc(100dvh - 152px)!important;overflow-y:auto}}
.sunball-shell #rcontent [id]{scroll-margin-top:124px}
.sunball-shell #topmenu.sl-sidebar{box-shadow:0 4px 16px #0f1e3c19!important;border-color:#e9edf1!important;border-radius:16px!important}
.sunball-shell #content>.wrap>#topmenu.sl-sidebar{padding-left:10px!important;padding-right:10px!important}
.sunball-shell #topmenu.sl-sidebar>.wrap{width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box}
.sunball-shell #topmenu .sl-nav-group{margin:0 0 28px;padding:0}
.sunball-shell #topmenu .sl-nav-group h2{font-size:11px;font-weight:500;line-height:1.5;color:#929ba6;margin:0;padding:2px 12px 8px}
.sunball-shell #topmenu .sl-nav-group ul{display:flex!important;flex-direction:column;gap:0!important}
.sunball-shell #topmenu .sl-nav-group ul>li{height:40px!important;min-height:40px!important;flex:0 0 40px!important;line-height:normal!important;position:relative!important}
.sunball-shell #topmenu .sl-nav-group ul{height:auto!important;overflow:visible!important}
.sunball-shell #topmenu .sl-nav-link{display:flex!important;align-items:center;gap:12px!important;height:40px!important;padding:0 12px!important;border-radius:9px;font-size:14px!important;font-weight:400!important;color:#536479!important;white-space:nowrap}
.sunball-shell #topmenu .sl-nav-link svg{width:20px;height:20px;flex:none;color:#080d12}
.sunball-shell #topmenu .sl-nav-link.sl-nav-deposit{color:#087cff!important;font-weight:600!important}
.sunball-shell #topmenu .sl-nav-link.sl-nav-withdraw{color:#00a16a!important;font-weight:600!important}
.sunball-shell #topmenu .sl-nav-link small{font-size:9px;color:#a2aab4;margin-left:auto}
.sunball-shell #topmenu .sl-nav-link[aria-disabled]{cursor:default}
.sunball-shell #topmenu .sl-responsible{background:#f7f7f8;border-radius:12px;padding:16px;margin:6px 0 0}
.sunball-shell #topmenu .sl-responsible strong{font-size:12px;color:#60748a;font-weight:600}
.sunball-shell #topmenu .sl-responsible p{font-size:11px;color:#a1a8b2;line-height:1.75;margin:8px 0 0;word-break:keep-all}
@media(min-width:981px){.sunball-shell #content>.wrap>#topmenu.sl-sidebar{height:calc(100dvh - 152px)!important;min-height:0!important}}
.sunball-shell #topmenu .sl-account{padding:16px 10px 22px;margin-bottom:22px;border-bottom:1px solid #edf0f5}
.sunball-shell #topmenu .sl-account strong{font-size:13px;color:#24446b}
.sunball-shell #topmenu .sl-account p{font-size:11px;color:#8a97a9;line-height:1.7;margin:8px 0 14px}
.sunball-shell #topmenu .sl-account-actions{display:flex;gap:7px}
.sunball-shell #topmenu .sl-account-action{flex:1;text-align:center;padding:10px 4px;border-radius:8px;background:#edf5ff;color:#0875ff;font-size:12px;font-weight:700;text-decoration:none}
.sunball-shell #topmenu .sl-account-action:first-child{background:#0875ff;color:white}

/* Authenticated header actions; guest links retain their existing appearance. */
.sunball-shell #header .login a:is([href*="mod=mypage"],[href*="a=logout"]){min-height:42px;box-sizing:border-box;padding:10px 18px!important;border-radius:10px!important;font-size:13px!important;font-weight:700;line-height:20px;text-decoration:none!important;white-space:nowrap;transition:background-color .15s,border-color .15s,box-shadow .15s}
.sunball-shell #header .login a[href*="mod=mypage"]{background:#0875ef!important;border:1px solid #0875ef!important;color:#fff!important;box-shadow:0 4px 12px #0875ef26!important}
.sunball-shell #header .login a[href*="a=logout"]{background:#f4f7fb!important;border:1px solid #dce4ef!important;color:#40536d!important;box-shadow:none!important}
.sunball-shell #header .login a[href*="mod=mypage"]:hover{background:#0663ce!important;border-color:#0663ce!important}
.sunball-shell #header .login a[href*="a=logout"]:hover{background:#e8eff8!important;border-color:#bdcde2!important}
.sunball-shell #header .login a:is([href*="mod=mypage"],[href*="a=logout"]):focus-visible{outline:3px solid #75b6ff;outline-offset:3px}
@media(max-width:760px){.sunball-shell #header .login a:is([href*="mod=mypage"],[href*="a=logout"]){padding:9px 10px!important;font-size:12px!important;min-height:40px}}
@media(prefers-reduced-motion:reduce){.sunball-shell #header .login a:is([href*="mod=mypage"],[href*="a=logout"]){transition:none}}

/* Light-theme footer with readable contrast. */
.sunball-shell #footer{background:#f7f8fa!important;border-top:1px solid #dfe5ed!important;padding:32px 0!important;color:#64748b!important}
.sunball-shell #footer>.wrap{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;max-width:1392px;box-sizing:border-box;height:auto!important}
.sunball-shell #footer .slinks,.sunball-shell #footer .powered{position:static!important;float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;opacity:1!important;text-align:left!important}
.sunball-shell #footer .elink{color:#94a3b8!important;font-size:12px;line-height:2;word-break:keep-all}
.sunball-shell #footer .elink a{display:inline-block;color:#475569!important;font-size:13px!important;font-weight:600;line-height:2;text-decoration:none;padding:2px 0;margin-right:8px}
.sunball-shell #footer .elink a+a{margin-left:8px}
.sunball-shell #footer .elink a:hover{color:#0875ef!important;text-decoration:underline;text-underline-offset:4px}
.sunball-shell #footer .elink a:focus-visible{outline:2px solid #0875ef;outline-offset:3px;border-radius:3px}
.sunball-shell #footer .copyright{color:#64748b!important;font-size:12px!important;line-height:1.8;margin-top:14px!important;overflow-wrap:anywhere}
.sunball-shell #footer .powered,.sunball-shell #footer .powered .kimsq,.sunball-shell #footer .powered a{color:#64748b!important;font-size:12px!important;line-height:1.8;opacity:1!important}
.sunball-shell #footer>.wrap>.clear{display:none!important}
.sunball-shell #footer .wrap .slinks .elink a{color:#334155!important}
.sunball-shell #footer .wrap .slinks .elink a:hover{color:#0865ca!important}
.sunball-shell #footer>.wrap{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:16px 32px;flex-wrap:wrap}
.sunball-shell #footer .wrap .powered{margin-left:auto!important;text-align:right!important}
@media(max-width:760px){.sunball-shell #footer{padding:24px 0!important}.sunball-shell #footer>.wrap{width:calc(100% - 32px)!important}.sunball-shell #footer .elink a{font-size:12px!important;margin-right:4px}.sunball-shell #footer .elink a+a{margin-left:4px}}
