:root{--home-background:#111c38;--home-wallpaper:radial-gradient(ellipse at 15% 10%,#365697a8,transparent 55%),radial-gradient(ellipse at 90% 70%,#70498175,transparent 58%),linear-gradient(145deg,#121b34,#1c2c50 42%,#171b3b 80%,#0d2130);--home-ink:#f3f8ff;--home-muted:#d0e4ff;--home-label-plate:#13233cc9;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#050c48;background:var(--home-background,#93daf9);font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden;background-color:var(--home-background,#91d9f8);background-image:var(--home-wallpaper,url('background.1bc575bbd18b4d12.webp'));background-position:center;background-size:cover;background-attachment:fixed}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #083beb;outline-offset:3px}button:disabled{cursor:default;opacity:.5}button{color:inherit}img{display:block;object-fit:cover;-webkit-user-drag:none}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}
#displayStage{height:100dvh;display:flex;justify-content:center}.sg-screen{--screen-width:min(100vw,960px);--icon-cap:196px;--heading-size:clamp(26px,calc(var(--screen-width) * .067),48px);--label-size:clamp(11px,calc(var(--screen-width) * .0295),23px);--page-pad:clamp(16px,calc(var(--screen-width) * 0.044),42px);--gap:clamp(9px,calc(var(--screen-width) * 0.034),28px);--icon-size:min(var(--icon-cap),calc((var(--screen-width) - 2*var(--page-pad) - 3*var(--gap))/4));--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);container-type:inline-size;width:100%;max-width:960px;height:100%;position:relative;display:flex;flex-direction:column;gap:clamp(6px,calc(var(--screen-width) * .019),15px);padding:calc(var(--safe-top) + 6px) 0 calc(var(--safe-bottom) + 12px);background:transparent;isolation:isolate}
.sg-header{padding:0 var(--page-pad);height:clamp(40px,calc(var(--screen-width) * 0.075),64px);flex:none;display:grid;grid-template-columns:48px 1fr 48px;align-items:center}.sg-logo{justify-self:center;border:0;background:transparent;color:white;padding:0;font-size:clamp(23px,calc(var(--screen-width) * 0.058),46px);font-weight:900;letter-spacing:-.045em;white-space:nowrap;filter:drop-shadow(0 4px 4px #19447455);line-height:1.15}.sg-logo span{background:linear-gradient(90deg,#91ffdb,#00eff7);background-clip:text;-webkit-text-fill-color:transparent}.circle-button{border:1px solid #ffffffb0;background:linear-gradient(135deg,#356e9b88,#234c8680);color:white;display:grid;place-items:center;width:clamp(34px,calc(var(--screen-width) * 0.084),56px);height:clamp(34px,calc(var(--screen-width) * 0.084),56px);border-radius:50%;box-shadow:0 4px 14px #21508524;padding:0}.sg-header .circle-button:last-child{justify-self:end}.circle-button svg{width:52%;height:52%}.profile-button{border:0;background:none;box-shadow:0 4px 12px #2b39944a}.profile-button img{width:100%;height:100%;border-radius:50%}
.sg-banner{margin:0 calc(var(--page-pad) - 4px);height:clamp(64px,calc(var(--screen-width) * 0.15),128px);flex:none;border:0;border-radius:clamp(16px,calc(var(--screen-width) * 0.038),30px);background:linear-gradient(110deg,#234c78c9,#244975bb 75%,#7960c6bb);color:white;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(14px,calc(var(--screen-width) * 0.04),32px);text-decoration:none;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff22}.banner-copy{display:grid;gap:4px;min-width:0}.banner-kind{font-size:clamp(11px,calc(var(--screen-width) * 0.027),18px);font-weight:650;opacity:.93}.banner-title{font-size:clamp(20px,calc(var(--screen-width) * 0.053),40px);font-weight:900;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner-image{width:clamp(48px,calc(var(--screen-width) * 0.12),108px);height:clamp(48px,calc(var(--screen-width) * 0.12),108px);flex:none;border-radius:14px;transform:rotate(-5deg);box-shadow:0 5px 12px #06194644;margin-left:12px}
.sg-toolbar{position:relative;margin:0 var(--page-pad);height:clamp(46px,calc(var(--screen-width) * .12),78px);display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;flex:none}.sg-toolbar>.circle-button:last-of-type{justify-self:end}.tier-buttons{display:flex;align-items:center;justify-content:center;gap:clamp(8px,calc(var(--screen-width) * 0.028),22px)}.tier-button{height:clamp(30px,calc(var(--screen-width) * 0.077),50px);width:clamp(30px,calc(var(--screen-width) * 0.077),50px);flex:none;font-size:clamp(15px,calc(var(--screen-width) * 0.038),28px);font-weight:800;border:1px solid #ffffffe8;background:linear-gradient(140deg,var(--tier-tint),#26395499);color:white;border-radius:50%;padding:0;box-shadow:0 3px 9px #132e7933;transition:width .2s,height .2s,background .2s}.tier-button[aria-pressed=true]{width:clamp(40px,calc(var(--screen-width) * 0.104),70px);height:clamp(40px,calc(var(--screen-width) * 0.104),70px);font-size:clamp(24px,calc(var(--screen-width) * 0.063),42px);color:var(--tier-ink);background:var(--tier-fill);box-shadow:0 0 18px color-mix(in srgb,var(--tier-glow) 70%,transparent),inset 0 0 0 2px #ffffff80,0 0 0 1px white}.search-box{position:absolute;right:0;top:2px;bottom:2px;width:48px;display:flex;align-items:center;gap:10px;opacity:0;visibility:hidden;pointer-events:none;border-radius:40px;background:#ecfaffed;box-shadow:0 4px 20px #18559522;transition:width .23s,opacity .16s;z-index:3;overflow:hidden;padding:4px}.sg-toolbar.searching .search-box{width:100%;opacity:1;visibility:visible;pointer-events:auto}.sg-toolbar.searching>.circle-button,.sg-toolbar.searching>.tier-buttons{visibility:hidden;pointer-events:none}.search-box .circle-button{width:36px;height:36px;flex:none;background:#4681b995;font-size:24px}.search-box input{min-width:0;width:100%;border:0;background:transparent;font-size:16px;color:#07114e;outline-offset:0;padding:8px 0}.search-box>svg{flex:none;margin-right:9px;color:#2b507c}
.game-viewport{position:relative;min-height:0;flex:1;overflow:hidden}.games-page{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#4477a044 transparent;padding:0 var(--page-pad) 18px;overscroll-behavior:contain}.tier-heading{font-size:var(--heading-size);font-weight:900;line-height:1;margin:0 0 clamp(10px,calc(var(--screen-width) * 0.026),20px);letter-spacing:-.05em}.games-grid{display:grid;grid-template-columns:repeat(4,var(--icon-size));justify-content:center;column-gap:var(--gap);row-gap:clamp(14px,calc(var(--screen-width) * 0.038),30px)}.game-link{text-decoration:none;color:#030a42;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.app-image{width:var(--icon-size);height:var(--icon-size);border-radius:calc(var(--icon-size) * .225);box-shadow:0 4px 10px #184d8640;flex:none}.game-title{width:100%;font-size:var(--label-size);font-weight:750;text-align:center;line-height:1.22;word-break:keep-all;overflow-wrap:anywhere;min-height:2.44em}.games-grid.is-list{justify-content:stretch;grid-template-columns:1fr;gap:12px}.is-list .game-link{flex-direction:row;align-items:center;gap:16px;background:#f6fdff4d;padding:8px;border-radius:16px}.is-list .game-title{text-align:left;font-size:clamp(15px,calc(var(--screen-width) * 0.037),24px);min-height:0}.game-description{display:none}.is-list .game-description{display:block;font-size:12px;color:#203b63;font-weight:450;margin-top:6px}.empty-result{font-size:15px;text-align:center;padding:30px 0;color:#294973}
.sg-dock{flex:none;align-self:center;width:calc(100% - 2*var(--page-pad) + 16px);padding:8px;display:grid;grid-template-columns:repeat(4,var(--icon-size));justify-content:center;gap:var(--gap);border:1px solid #ffffffe0;border-radius:clamp(20px,calc(var(--screen-width) * 0.05),38px);background:linear-gradient(135deg,#ffffff6b,#ffffff38);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 8px 24px #3170a540,inset 0 1px 1px #fff7}.favorite-slot{position:relative;width:var(--icon-size);height:var(--icon-size)}.favorite-slot>a{display:block}.favorite-empty{width:100%;height:100%;border-radius:calc(var(--icon-size) * .225);border:1px solid #fff9;background:#ffffff25;color:#6487b180;font-size:clamp(32px,calc(var(--screen-width) * 0.09),68px);font-weight:300;padding:0}
.page-in-right{animation:in-right .24s ease both}.page-out-left{animation:out-left .24s ease both}.page-in-left{animation:in-left .24s ease both}.page-out-right{animation:out-right .24s ease both}@keyframes in-right{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes out-left{to{transform:translateX(-100%)}}@keyframes in-left{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes out-right{to{transform:translateX(100%)}}
.hub-loading{position:fixed;inset:0;display:grid;place-content:center;background:#c9edfb;z-index:80;text-align:center}.hub-loading strong{font-size:28px;color:#105987}.hub-loading p{font-size:14px}.hub-loading button{border:0;border-radius:20px;padding:12px;background:#4778ad;color:white}
dialog{border:1px solid #fff;border-radius:24px;padding:22px;background:#edfbfff5;color:#06134a;width:min(92vw,460px);max-height:min(80dvh,720px);box-shadow:0 16px 50px #093a7755}dialog::backdrop{background:#10326366;backdrop-filter:blur(5px)}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}dialog h2{font-size:20px;margin:0}dialog header button{width:36px;height:36px;border:0;border-radius:50%;background:#5e88b126;font-size:24px}dialog button.action{padding:12px;border:0;border-radius:12px;background:#32699a;color:white;margin:5px 0;width:100%}dialog button.secondary{background:#d2eafa;color:#183f6b}dialog label{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:44px;font-size:14px}dialog input[type=search]{width:100%;padding:10px;border:1px solid #adcde0;border-radius:12px;background:white;font-size:16px}dialog p{font-size:13px;line-height:1.6}dialog a{color:#164a78}.picker-list{display:grid;gap:8px;max-height:45dvh;overflow:auto;margin-top:12px}.picker-game{display:flex;gap:12px;align-items:center;width:100%;padding:8px;border:0;border-radius:12px;text-align:left;background:#ffffffaf;font-weight:650}.picker-game img{width:44px;height:44px;border-radius:10px}.profile-photo{width:90px;height:90px;border-radius:50%;margin:0 auto 18px}.upload-label{justify-content:center;background:#32699a;color:white;border-radius:12px;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#153b71eb;color:white;padding:10px 18px;border-radius:20px;max-width:90vw;text-align:center;font-size:13px;z-index:100;pointer-events:none}
.developer-panel{position:fixed;right:12px;top:12px;z-index:60;width:min(320px,94vw);padding:16px;background:#ecfbffef;backdrop-filter:blur(16px);border:1px solid white;border-radius:18px;box-shadow:0 8px 35px #183f7555;font-size:13px}.developer-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.developer-panel header button{border:0;background:transparent;font-size:22px}.developer-panel label{display:grid;gap:6px;margin:10px 0}.developer-panel select{font-size:14px;padding:9px;border:1px solid #bbdce9;border-radius:9px;background:white;width:100%}.preview-mode{overflow:auto}.preview-mode #displayStage{height:auto;min-height:100dvh;align-items:flex-start;padding:80px 20px 20px;gap:24px;width:max-content;min-width:100vw}.device-preview{flex:none}.device-preview>p{margin:0 0 10px;text-align:center;color:#11316b;font-size:13px;font-weight:650}.phone-frame{width:var(--phone-width);height:var(--phone-height);border-radius:30px;overflow:hidden;box-shadow:0 10px 40px #12416a55;background:#bbebfc;display:flex;flex-direction:column;outline:1px solid #ffffff8c}.phone-frame .sg-screen{background-color:var(--home-background,#93dafa);background-image:var(--home-wallpaper,url('background.1bc575bbd18b4d12.webp'));background-position:center;background-size:cover;min-height:0;max-width:none;flex:1}.browser-top,.browser-bottom{flex:none;background:#e8f4fbe6;color:#304969;text-align:center;display:grid;place-items:center;line-height:1.3;overflow:hidden;font-size:12px}.browser-top{height:var(--browser-top)}.browser-bottom{height:var(--browser-bottom)}.browser-top span{background:#ffffffa8;border-radius:12px;padding:6px 16px}.browser-bottom span{font-size:20px;letter-spacing:24px;margin-left:24px}.device-preview.app .sg-screen{--safe-top:var(--app-safe-top);--safe-bottom:var(--app-safe-bottom)}.device-preview.web .sg-screen{--safe-top:0px;--safe-bottom:0px}
.sg-screen.compact{gap:6px;padding-bottom:calc(var(--safe-bottom) + 8px)}.compact .sg-header{height:36px}.compact .sg-banner{height:54px}.compact .sg-toolbar{height:44px}.compact .sg-dock{padding:6px;width:calc(100% - 2*var(--page-pad) + 12px)}dialog select{border:1px solid #adcde0;background:white;border-radius:10px;padding:8px;font-size:14px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}body.motion-off *,body.motion-off *::before,body.motion-off *::after{animation:none!important;transition:none!important}
.preview-mode #displayStage{padding-right:360px}
.compact .sg-header .circle-button,.compact .sg-toolbar>.circle-button{width:34px;height:34px}.compact .sg-logo{font-size:23px}.compact .sg-banner{padding:6px 14px}.compact .banner-kind{font-size:11px}.compact .banner-title{font-size:20px}.compact .banner-image{width:42px;height:42px;border-radius:10px}.compact .tier-button{width:30px;height:30px;font-size:15px}.compact .tier-button[aria-pressed=true]{width:40px;height:40px;font-size:24px}.compact .tier-heading{font-size:26px}.compact .game-title{font-size:11px}.compact .is-list .game-title{font-size:15px}.compact .favorite-empty{font-size:32px;line-height:1}
.tier-heading,.game-link{color:var(--home-ink,#050c48)}.game-description,.empty-result{color:var(--home-muted,#294973)}
body[data-color-mode=dark] .sg-logo{filter:drop-shadow(0 3px 5px #061329aa)}
body[data-theme=custom] .game-title,body[data-theme=custom] .tier-heading{background:var(--home-label-plate);border-radius:6px}
body[data-theme=custom] .tier-heading{width:max-content;min-width:1em;text-align:center}
.theme-settings{border:0;padding:0;margin:18px 0 8px;min-width:0}.theme-settings legend{font-size:14px;font-weight:700;margin-bottom:10px;padding:0}
.theme-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.theme-choice{border:2px solid transparent;background:#e0eef480;border-radius:12px;padding:4px;display:grid;gap:5px;min-width:0;color:#17385d;font-size:11px;font-weight:650;text-align:center;line-height:1.3;position:relative}
.theme-choice[aria-pressed=true]{border-color:#267aaf;background:#e8faff;box-shadow:0 0 0 1px #fff}
.theme-choice[aria-pressed=true]::after{content:'✓';position:absolute;right:5px;top:5px;width:17px;height:17px;border-radius:50%;background:#267aaf;color:white;font-size:11px;display:grid;place-items:center}
.theme-swatch{width:100%;height:48px;border-radius:7px;background-size:cover;background-position:center;display:grid;place-items:center;color:#577faa;font-size:26px;font-weight:300}
dialog .background-upload{justify-content:center;min-height:42px;font-weight:650;font-size:13px}
.background-status{font-size:12px;line-height:1.4;color:#446883;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:8px 0;min-height:17px}
.background-remove{padding:7px 0;margin-top:4px;border:0;background:transparent;color:#45627e;font-size:12px;text-decoration:underline;text-underline-offset:3px}
dialog .theme-hint{font-size:11px;color:#536d83;line-height:1.5;margin:7px 0 0}
.custom-contrast{margin-bottom:4px}
body[data-color-mode=dark] .favorite-empty{color:#d6eaff99}
.device-preview>p{color:var(--home-ink,#11316b)}.theme-choice{word-break:keep-all}
.sg-toolbar>.tier-heading{grid-column:1;margin:0;align-self:center;font-size:var(--heading-size)}.sg-toolbar>.tier-buttons{grid-column:2;justify-self:center}.sg-toolbar>[data-action=search]{grid-column:3}
.sg-toolbar,.game-viewport{touch-action:pan-y}.game-link,.favorite-slot{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.search-heading{font-size:18px;margin:0 0 12px;color:var(--home-ink,#050c48)}
.hub-loading progress{width:240px;max-width:80vw;height:8px;accent-color:#1f7cb2;margin:0 auto 18px}.hub-loading p{max-width:320px;line-height:1.6;padding:0 18px}
.personal-tier-settings{padding:0;border:0;margin:18px 0 8px;min-width:0}.personal-tier-settings legend{font-size:14px;font-weight:700;padding:0}.personal-tier-settings p{font-size:12px;color:#446883}
.tier-destinations{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tier-destinations button{border:1px solid #98bfd9;background:#d7edfb;color:#173b64;border-radius:15px;min-height:62px;font-size:26px;font-weight:800;padding:6px}.tier-destinations small{display:block;font-size:11px}
.tier-position{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.compact .sg-toolbar>.tier-heading{font-size:26px}
.google-login{display:flex;justify-content:center;align-items:center;gap:13px;width:100%;min-height:50px;border:1px solid #b6cfe1;border-radius:14px;background:white;color:#173557;font-weight:650;font-size:15px;margin:10px 0}
.google-mark{font-family:Arial,sans-serif;font-size:23px;font-weight:800;color:#4285f4}.account-status{color:#456783;font-size:13px;text-align:center;line-height:1.5}
.suggestions-entry{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;margin:22px 0 0;padding:15px;border:1px solid #bbd4e6;border-radius:14px;background:#e0f2fc;color:#183f6b;text-align:left;cursor:pointer}.suggestions-entry span{font-size:16px;font-weight:750}.suggestions-entry small{font-size:12px;color:#547086}.suggestions-intro{margin:0 0 10px;color:#456783}.suggestions-form{padding-bottom:14px;border-bottom:1px solid #c5dcea}.suggestions-form label{font-weight:700;min-height:32px}.suggestions-form textarea{display:block;width:100%;resize:vertical;min-height:84px;max-height:150px;padding:11px;border:1px solid #b5cfe1;border-radius:12px;font:inherit;font-size:16px;color:#173557;background:#fff}.suggestions-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.suggestions-form-bottom button.action{width:86px;min-height:44px}.suggestions-count,.suggestions-quota{font-size:11px;color:#547086}.suggestions-status{margin:4px 0 0;min-height:20px;color:#315b7a}.suggestions-list{max-height:30dvh;overflow:auto;overscroll-behavior:contain}.suggestion-comment{padding:14px 0;border-bottom:1px solid #d0e0eb}.suggestion-comment>div{display:flex;gap:10px;justify-content:space-between;align-items:center}.suggestion-comment strong{font-size:12px}.suggestion-comment time{font-size:10px;color:#587489;white-space:nowrap}.suggestion-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:#173557}.suggestions-empty{color:#547086;text-align:center;padding:12px}.suggestions-more{display:block;margin:12px auto 0;border:0;background:transparent;color:#32699a;min-height:40px;font:inherit;font-size:13px;cursor:pointer}.suggestions-more[hidden]{display:none}.suggestions-board button:disabled{opacity:.5;cursor:default}#hubDialog.suggestions-dialog{max-height:90dvh}
.custom-swatch img{width:100%;height:48px;border-radius:7px;object-fit:cover}
.sg-dock{border-color:#ffffff94;background:linear-gradient(155deg,#ffffff3d,#eaf5fc24);backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);box-shadow:0 8px 28px #0a233f21,inset 0 1px 0 #ffffff99,inset 0 -1px 0 #ffffff21}
.favorite-empty{background:#ffffff14;border-color:#ffffff70}
body[data-color-mode=dark] .sg-dock{border-color:#d2e1f440;background:linear-gradient(155deg,#3e4c635c,#1d2a3d47);box-shadow:0 8px 28px #020b1b38,inset 0 1px 0 #ffffff26,inset 0 -1px 0 #ffffff0a}
body[data-color-mode=dark] .favorite-empty{background:#ffffff0a;border-color:#d2e1f43d}
.sg-toolbar,.sg-toolbar button,.game-viewport,.games-page,.game-link,.game-link img{touch-action:pan-y pinch-zoom}
.sg-toolbar>.tier-heading{display:flex;align-items:center;justify-content:flex-start;margin:0;line-height:1}
.tier-medal{width:29px;height:34px;flex:none;fill:none;stroke:none;filter:drop-shadow(0 2px 2px #14213d35)}
.tier-medal .medal-ribbon{fill:#5684b8;stroke:#dcecff;stroke-width:.8}
.game-launching{position:fixed;inset:0;z-index:110;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#e0f2fced;color:#163c68;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);text-align:center}
.game-launching>img{width:80px;height:80px;border-radius:23px;box-shadow:0 6px 25px #173f7730}
.game-launching strong{font-size:22px}.game-launching p{font-size:14px;margin:0;max-width:280px;line-height:1.6}
.game-launching progress{width:240px;max-width:80vw;height:8px;accent-color:#427db2}
.game-launching button{margin-top:20px;border:1px solid #7395b54d;border-radius:20px;padding:10px 20px;background:#ffffff70;color:inherit;font-size:13px}
.launch-spinner{width:24px;height:24px;border:3px solid #35628f30;border-top-color:#35628f;border-radius:50%;animation:launch-spin .8s linear infinite}
body[data-color-mode=dark] .game-launching{background:#17253bed;color:#e9f6ff}
@keyframes launch-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.launch-spinner{animation:none}}
.arranging .game-viewport{transform:scale(.94);opacity:.6;pointer-events:none;transform-origin:center center}
.arranging .games-page[aria-hidden=true]{display:none}
.arranging .sg-header,.arranging .sg-banner,.arranging .sg-toolbar{opacity:.55;pointer-events:none}
.arranging .game-link.drag-source{outline:1.5px dashed #668fb6a6;outline-offset:3px;border-radius:18px}
.arranging .drag-source img,.arranging .drag-source .game-title{opacity:.12}
.arranging .game-link:not(.drag-source) img{animation:arrange-wiggle .32s ease-in-out infinite alternate;transform-origin:center 65%}
.arranging .game-link:nth-child(even) img{animation-delay:-.22s}
.arranging,.arranging *{touch-action:none!important}
.arrange-ghost{position:fixed;pointer-events:none;z-index:180;transform:scale(1.12) rotate(-3deg);filter:drop-shadow(0 12px 14px #13264766);will-change:left,top}
.arrange-ghost img{width:100%;height:100%;border-radius:23%;box-shadow:0 0 0 1px #ffffff80}
.arrange-bar{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;line-height:1.3;color:var(--home-ink,#173b64);flex:none;padding:0 16px;min-height:26px}
.arrange-bar button{padding:5px 11px;border:1px solid #ffffffa0;border-radius:20px;background:#f3faff80;color:inherit;font-size:11px;flex:none}
.arranging .game-viewport{min-height:80px}
.arranging .favorite-drop-target{outline:2px solid #bcefff;outline-offset:3px;border-radius:calc(var(--icon-size) * .225);box-shadow:0 0 16px #64d8ff80}
@keyframes arrange-wiggle{from{transform:rotate(-1deg)}to{transform:rotate(1deg)}}
body.search-layout-locked{position:fixed;inset:0;overflow:hidden}
body.search-layout-locked:not(.preview-mode) #displayStage{height:var(--search-stage-height)}
.sg-screen[data-layout]:not([data-layout=mobile]){--page-pad:20px;--label-size:16px;--gap:24px;max-width:1440px;padding:24px 36px;gap:22px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:64px 106px 66px minmax(0,1fr) auto;grid-template-areas:'header' 'banner' 'toolbar' 'games' 'dock'}
.sg-screen[data-layout]:not([data-layout=mobile]) .sg-header{grid-area:header;height:64px;padding:0;grid-template-columns:48px 1fr 48px}
.sg-screen[data-layout]:not([data-layout=mobile]) .sg-logo{font-size:38px}
.sg-screen[data-layout]:not([data-layout=mobile]) .circle-button{width:46px;height:46px}
.sg-screen[data-layout]:not([data-layout=mobile]) .sg-banner{grid-area:banner;height:auto;margin:0;padding:20px 24px;border-radius:24px}
.sg-screen[data-layout]:not([data-layout=mobile]) .banner-kind{font-size:13px}
.sg-screen[data-layout]:not([data-layout=mobile]) .banner-title{font-size:30px}
.sg-screen[data-layout]:not([data-layout=mobile]) .banner-image{width:78px;height:78px}
.sg-screen[data-layout]:not([data-layout=mobile]) .sg-toolbar{grid-area:toolbar;height:100%;margin:0;grid-template-columns:48px minmax(0,1fr) 48px}
.tier-button{position:relative;isolation:isolate;background:var(--tier-fill);color:var(--tier-ink);border:1px solid var(--tier-edge);box-shadow:inset 0 1px 1px #ffffff70,0 3px 7px #10253c30;text-shadow:var(--tier-text-shadow,none);transition:width .2s,height .2s,box-shadow .2s,filter .2s}
.tier-button::before{content:"";position:absolute;inset:3px;border:1px solid var(--tier-edge);border-radius:50%;opacity:.65;pointer-events:none}
.tier-button[aria-pressed=true]{background:var(--tier-fill);color:var(--tier-ink);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--tier-edge),0 5px 16px #10253c35,inset 0 1px 2px #ffffff90}
.tier-button[data-rank=S]{--tier-fill:radial-gradient(ellipse at 30% 18%,#a9f4ff 0%,#3abfea 28%,#0875c5 65%,#06438b 100%);--tier-ink:#fff;--tier-edge:#8ce9ff;--tier-text-shadow:0 1px 3px #053e79}
.tier-button[data-rank=S]::before{border-width:2px;clip-path:polygon(0 0,70% 0,100% 30%,100% 100%,30% 100%,0 70%)}
.tier-button[data-rank=A]{--tier-fill:linear-gradient(145deg,#fff0b1 4%,#f9cb53 44%,#da9621 100%);--tier-ink:#64400c;--tier-edge:#ffe8a2;--tier-text-shadow:0 1px #fff4c380}
.tier-button[data-rank=B]{--tier-fill:linear-gradient(145deg,#fff 5%,#f0f4f8 43%,#b8c7d5 100%);--tier-ink:#374d63;--tier-edge:#f8fcff;--tier-text-shadow:0 1px #ffffffa0}
.tier-button[data-rank=F]{--tier-fill:linear-gradient(145deg,#687380,#404b59);--tier-ink:#edf1f6;--tier-edge:#8a96a4}
.tier-button[data-rank=F]::before{border-style:dashed;opacity:.5}
.game-viewport.is-paging{overflow:hidden;user-select:none;-webkit-user-select:none}
.is-paging .games-page{animation:none!important;will-change:transform;pointer-events:none}
.arrange-menu{position:fixed;z-index:181;padding:4px 0;border:1px solid #ffffff30;border-radius:17px;background:#24364be8;color:#fff;box-shadow:0 12px 35px #07142555;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);overflow:hidden}
.arrange-menu button{display:flex;align-items:center;gap:12px;width:100%;height:45px;border:0;border-bottom:1px solid #ffffff16;background:transparent;color:inherit;padding:0 14px;font-size:15px;text-align:left}
.arrange-menu button:last-child{border-bottom:0}.arrange-menu button:hover,.arrange-menu button:focus-visible{background:#ffffff22}.arrange-menu button>span:nth-child(3){margin-left:auto;opacity:.7}
.menu-tier{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:13px;font-weight:800;color:#20384d;background:#e8f1f7}.menu-tier[data-rank=S]{background:#269ed9;color:#fff}.menu-tier[data-rank=A]{background:#edbf51;color:#604108}.menu-tier[data-rank=F]{background:#64717f;color:#fff}
.context-open .game-viewport{transform:none;opacity:.45;filter:blur(1.5px)}.context-open .game-link:not(.drag-source) img{animation:none}.context-open .arrange-bar{position:absolute;right:12px;bottom:8px;z-index:180}.context-open .arrange-bar [role=status]{display:none}
.favorite-context .game-viewport,.favorite-context .sg-header,.favorite-context .sg-banner,.favorite-context .sg-toolbar{opacity:.45;filter:blur(1.5px)}.favorite-context-icon{position:fixed;z-index:180;pointer-events:none;transform:scale(1.08);filter:drop-shadow(0 10px 15px #13264766)}.favorite-context-icon img{width:100%;height:100%;border-radius:23%}.arrange-menu .menu-remove{color:#ff8585}
.background-upload[hidden]{display:none!important}
.sg-screen[data-layout]:not([data-layout=mobile]) .tier-buttons{gap:16px}
.sg-screen[data-layout]:not([data-layout=mobile]) .tier-button{width:40px;height:40px;font-size:21px}
.sg-screen[data-layout]:not([data-layout=mobile]) .tier-button[aria-pressed=true]{width:54px;height:54px;font-size:30px}
.sg-screen[data-layout]:not([data-layout=mobile]) .game-viewport{grid-area:games;min-height:0;min-width:0}
.sg-screen[data-layout]:not([data-layout=mobile]) .games-page{padding:4px 20px 8px}
.sg-screen[data-layout]:not([data-layout=mobile]) .games-grid:not(.is-list){grid-template-columns:repeat(var(--grid-columns,4),var(--icon-size));justify-content:space-evenly;gap:var(--grid-gap,24px) 20px}
.sg-screen[data-layout]:not([data-layout=mobile]) .game-link{gap:8px}
.sg-screen[data-layout]:not([data-layout=mobile]) .game-title{font-size:16px}
.sg-screen[data-layout]:not([data-layout=mobile]) .sg-dock{grid-area:dock;width:max-content;justify-self:center;align-self:start;padding:12px;gap:24px;grid-template-columns:repeat(4,var(--icon-size));border-radius:26px}
.sg-screen.wide-rail{--rail-width:332px;grid-template-columns:var(--rail-width) minmax(0,1fr)!important;grid-template-rows:64px 58px 130px minmax(0,1fr)!important;grid-template-areas:'header header' 'banner toolbar' 'banner games' 'dock games'!important;column-gap:36px!important}
.sg-screen[data-layout=tablet].wide-rail{--rail-width:276px;padding:18px 24px;column-gap:24px!important;grid-template-rows:52px 54px 110px minmax(0,1fr)!important;row-gap:16px}
.sg-screen.wide-rail .sg-banner{position:relative;align-items:flex-start;overflow:hidden;padding:22px}
.sg-screen.wide-rail .banner-title{font-size:28px}
.sg-screen.wide-rail .banner-image{position:absolute;right:22px;bottom:16px;width:88px;height:88px}
.sg-screen.wide-rail .sg-dock{grid-template-columns:repeat(2,var(--icon-size))!important;gap:16px!important;width:100%;justify-self:stretch;justify-content:center;padding:13px}
.sg-screen.wide-rail .sg-dock::before{content:'즐겨찾기';grid-column:1/-1;font-size:13px;font-weight:700;color:var(--home-ink);padding:1px 4px 3px}
.sg-screen[data-layout]:not([data-layout=mobile]) .arrange-bar{position:absolute;bottom:0;left:36px;right:36px;min-height:24px;font-size:11px}
.sg-screen.wide-rail .arrange-bar{right:auto;width:var(--rail-width);left:36px;bottom:8px}
.sg-screen[data-layout=tablet].wide-rail .arrange-bar{left:24px}
.sg-screen[data-edge=left] .game-viewport{box-shadow:inset 12px 0 18px -10px #fff}
.sg-screen[data-edge=right] .game-viewport{box-shadow:inset -12px 0 18px -10px #fff}
.sg-toolbar>.tier-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.game-link:focus-visible,.favorite-slot>a:focus-visible{outline:none}
.game-link:focus-visible .app-image,.favorite-slot>a:focus-visible .app-image{box-shadow:0 0 0 2px #ffffffcc,0 0 0 4px #ffffff38,0 4px 10px #184d8640}
.arrange-menu button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #ffffff50}
.favorite-menu{padding:0}
.favorite-menu button:focus-visible{box-shadow:none}
.games-page:not(:has(.is-list)){overflow-y:hidden;overflow-x:hidden}
.games-grid:not(.is-list){row-gap:var(--fit-row-gap,12px)!important}
.games-grid:not(.is-list) .game-link{gap:var(--fit-item-gap,6px)}
.games-grid:not(.is-list) .game-title{font-size:var(--fit-label-size,var(--label-size));height:2.44em;min-height:2.44em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.favorite-empty{display:grid;place-items:center;font-size:min(68px,calc(var(--icon-size)*.55));line-height:1}
.sg-screen[data-layout=mobile] .games-page:not(:has(.is-list)){padding-bottom:4px}
.sg-screen[data-layout=mobile].arranging:not(.context-open) .arrange-bar{position:absolute;top:calc(var(--safe-top) + 8px);right:var(--page-pad);bottom:auto;z-index:10;width:max-content;padding:0}
.sg-screen[data-layout=mobile].arranging:not(.context-open) .arrange-bar [role=status]{display:none}
.sg-screen[data-layout=mobile] .games-grid:not(.is-list){transform:translateY(var(--grid-offset-y,0px))}
.genre-button{grid-column:1;grid-row:1;font-size:12px;font-weight:750}.genre-active{background:#357bb4!important;color:white!important}
.tier-buttons{gap:clamp(5px,1.6vw,12px)}
.tier-button[data-rank=U]{font-size:11px!important;--tier-edge:#8b9bb0;background:linear-gradient(150deg,#73849d,#36465e);color:#fff}
.tier-button[data-rank=U][aria-pressed=true]{font-size:13px!important}
.game-link{position:relative}.is-planned .app-image,.picker-game.is-planned img{filter:grayscale(1) saturate(0);opacity:.68}
.is-disabled .app-image,.picker-game.is-disabled img{filter:grayscale(.65);opacity:.78}
.is-disabled{cursor:default}
.planned-label{position:absolute;left:50%;top:calc(var(--icon-size) - 20px);transform:translateX(-50%);padding:2px 5px;border-radius:6px;background:#122132d9;color:#fff;font-size:9px;white-space:nowrap;pointer-events:none}
.is-list .planned-label{top:auto;bottom:5px;left:34px}
.genre-picker{display:grid;gap:8px}.genre-picker button{padding:12px 16px;border:1px solid #829bb655;border-radius:14px;background:#7189a51a;color:inherit;font:inherit;text-align:left;cursor:pointer}.genre-picker span{float:right;opacity:.65}
.catalog-pagination{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;font-size:12px;background:#22395ccc;border-radius:20px;color:white;padding:2px 8px}
.catalog-pagination button{border:0;background:none;color:inherit;font-size:22px;min-width:28px;cursor:pointer}.catalog-pagination button:disabled{opacity:.25}.has-catalog-pages{padding-bottom:32px}
#hubDialog.folder-dialog{width:min(380px,92vw);max-height:90dvh;padding:22px;background:linear-gradient(145deg,#425379ee,#293553f5);color:#fff;border:1px solid #bdc8e06b;border-radius:30px;box-shadow:0 25px 90px #0006;backdrop-filter:blur(18px)}#hubDialog.folder-dialog::backdrop{background:#101b3c75;backdrop-filter:blur(8px)}#hubDialog.folder-dialog header{margin-bottom:22px}#hubDialog.folder-dialog h2{color:#fff;font-size:25px}#hubDialog.folder-dialog header button{color:#fff;background:#ffffff15;border-radius:50%}.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px;min-height:220px;align-content:start;padding:2px 0 16px}.folder-game{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;color:#fff;font:inherit;cursor:pointer;min-width:0;touch-action:manipulation}.folder-game img{display:block;width:min(21vw,82px);height:min(21vw,82px);object-fit:cover;border-radius:23%}.folder-game span{font-size:12px;font-weight:700;line-height:1.35;text-align:center;word-break:keep-all}.folder-game:focus-visible{outline:2px solid #c9edff;outline-offset:5px;border-radius:15px}.folder-game:active{opacity:.8}@media(prefers-reduced-motion:no-preference){.folder-dialog[open] .folder-grid{animation:folder-open .17s ease-out}@keyframes folder-open{from{opacity:.5;transform:scale(.95)}to{opacity:1;transform:scale(1)}}}
.profile-app-actions{display:grid;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid #829dad44}.profile-app-actions button{width:100%}.profile-summary{display:grid;gap:5px;padding:14px;border-radius:14px;background:#51bed515;margin:8px 0 14px}.profile-summary>strong{font-size:20px}.profile-summary>span{font-size:12px;opacity:.7}.profile-summary>b{font-size:25px}.profile-playtimes h3{font-size:15px;margin:12px 0}.profile-playtimes>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #829dad33;font-size:14px}.profile-playtimes>small{display:block;font-size:11px;opacity:.65;margin:12px 0}.profile-playtimes>p{font-size:13px;opacity:.75}.profile-signout{display:block;border:0;background:none;padding:9px 0;font-size:12px;opacity:.7}
#hubDialog.settings-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
#hubDialog.settings-dialog>header{flex:none;margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #adcde080}
.hub-settings-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:12px;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#32699a #edfbff}
.hub-settings-body::-webkit-scrollbar{width:10px}
.hub-settings-body::-webkit-scrollbar-track{background:#edfbff;border-radius:8px}
.hub-settings-body::-webkit-scrollbar-thumb{background:#32699a;border-radius:8px;min-height:44px}
.hub-settings-body::-webkit-scrollbar-thumb:hover{background:#32699a}
.hub-settings-body::-webkit-scrollbar-corner{background:transparent}
.profile-menu{display:grid;gap:11px;padding:2px 0}
.profile-menu>button{display:flex;align-items:center;gap:13px;width:100%;min-height:82px;padding:14px;border:1px solid #c3d8e7;border-radius:16px;background:#f9fdff;color:#163858;text-align:left;box-shadow:0 3px 0 #b7cfdf55;touch-action:manipulation}
.profile-menu>button:active{transform:translateY(2px);box-shadow:0 1px 0 #b7cfdf55}
.profile-menu-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#dcebf9;color:#32699a}.profile-menu-icon svg{width:24px;height:24px}
.profile-menu>button:nth-child(2) .profile-menu-icon{background:#ddf1e9;color:#3e806a}.profile-menu>button:nth-child(3) .profile-menu-icon{background:#ebe5f8;color:#79639f}
.profile-menu-copy{display:grid;gap:5px;min-width:0;flex:1}.profile-menu-copy strong{font-size:16px;font-weight:750}.profile-menu-copy small{font-size:11px;color:#668098;line-height:1.45;word-break:keep-all}
.profile-menu-arrow{font-size:25px;color:#8da5b8;flex:none}
#hubDialog>header:has(.profile-back){gap:10px}#hubDialog>header:has(.profile-back) h2{flex:1}#hubDialog .profile-back{font-size:29px;flex:none}.profile-records-intro{color:#52728c}
@media(max-width:350px){.profile-menu>button{gap:10px;padding:12px}.profile-menu-icon{flex-basis:36px;height:38px}.profile-menu-copy strong{font-size:15px}.profile-menu-copy small{font-size:10px}}
.nickname-form{padding-bottom:14px;margin-bottom:8px;border-bottom:1px solid #adcde080}.nickname-form>label{font-weight:750;min-height:32px}.nickname-form>div{display:flex;gap:8px}.nickname-form input{min-width:0;width:100%;min-height:44px;border:1px solid #adcde0;border-radius:11px;background:#fff;color:#183f6b;padding:9px 11px;font:inherit;font-size:16px}.nickname-form button{flex:none;border:0;border-radius:11px;background:#32699a;color:white;padding:0 16px;font-weight:700}.nickname-form small{display:block;margin-top:7px;font-size:11px;color:#58758d}.nickname-form #nicknameStatus{margin:7px 0 0;color:#28735b}.nickname-form #nicknameStatus[data-error=true]{color:#b43c45}
#hubDialog .reset-icons{display:inline-flex;align-items:center;gap:4px;width:auto;min-height:36px;margin:16px 0 0;padding:6px 0;border:0;border-radius:4px;background:transparent;color:#647e91;font:inherit;font-size:11px;font-weight:500}#hubDialog .reset-icons:hover{color:#32699a}#hubDialog .reset-icons:active{opacity:.7}#hubDialog .reset-icons>span{font-size:15px;line-height:1}
.reset-note{color:#647a8e}.reset-actions{display:flex;gap:9px}#iconResetDialog .reset-actions .danger{background:#b83f4d;color:white}
#iconResetDialog{width:min(88vw,350px);max-height:85dvh;overflow-y:auto;padding:20px;box-shadow:0 20px 60px #09213c66}#iconResetDialog h2{font-size:18px}#iconResetDialog::backdrop{background:#0c20336b;backdrop-filter:blur(3px)}
.hub-settings-footer{flex:none;margin-top:12px;padding-top:9px;border-top:1px solid #adcde080}.hub-settings-footer .action{margin:0}
.nickname-form.is-saved input{background:#e2e9ee;color:#687b8b;border-color:#ccd7df;cursor:default}
.language-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;margin-bottom:10px;border-bottom:1px solid #adcde080}.language-setting label{font-weight:750}.language-setting select{max-width:65%;min-height:42px;color:#183f6b}
#hubDialog.settings-dialog{width:min(calc(92vw - 12px),448px);max-height:min(84dvh,750px);transform:translateX(-6px)}