/* Reference: cg51.com access portal. Scoped to the public welcome route. */
html[data-welcome],html[data-welcome] body { min-height:100%;height:auto;overflow:auto;background:#040002;color-scheme:dark; }
html[data-welcome] #app { display:block;min-height:100dvh;height:auto;overflow:visible; }
.welcome { --entry-accent:#ff4886;--entry-muted:#aaa1a7;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;padding:20px 0 28px;background:#040002;color:#fff;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.5;overflow-x:clip; }
.welcome:lang(en) { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.welcome * { box-sizing:border-box;font-weight:400; }
.welcome a { color:inherit;text-decoration:none; }
.welcome button { font:inherit;cursor:pointer;color:inherit;appearance:none; }
.welcome .app-icon { display:inline-block;font-style:normal;font-size:22px;line-height:1;flex:none; }
.welcome-logo { position:relative;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:450px;height:255px;text-align:center; }
.welcome-brand-image { display:block;width:112px;height:112px;object-fit:contain; }
.welcome h1 { margin:11px 0 0;font-size:30px;line-height:1.25;letter-spacing:3px; }
.welcome-brand-name { margin:4px 0 0;color:#f0dce6;font-size:12px;letter-spacing:2.4px; }
.welcome-tagline { margin:10px 0 0;color:var(--entry-muted);font-size:14px; }
.welcome-language { position:absolute;top:0;right:21px;display:flex;align-items:center;gap:6px;min-height:44px;padding:7px 10px;background:#140b10;border-radius:99px;color:#e4a1bb!important;font-size:14px!important; }
.welcome-language .app-icon { font-size:16px; }
.welcome-content { width:100%;max-width:418px;padding:0 10px; }
.welcome-entries { display:grid;gap:12px;margin-top:18px; }
.welcome a.welcome-entry { display:flex;flex-direction:column;justify-content:center;min-height:67px;padding:12px 14px;background:#1b0b13;border-radius:10px; }
.welcome a.welcome-entry:nth-child(2),.welcome a.welcome-entry:nth-child(3) { background:#130c10; }
.welcome a.welcome-entry:nth-child(4) { background:#121014; }
.welcome-entry-title { display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:16px;line-height:1.3; }
.welcome-badge { padding:3px 7px;color:#ff85ad;background:#3a1022;border-radius:5px;font-size:12px;line-height:1.35; }
.welcome-badge.alternative { color:#72e6b7;background:#11271e; }
.welcome-badge.android { color:#c5b2ff;background:#241d37; }
.welcome-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px; }
.welcome a.welcome-action { min-height:49px;padding:12px 7px;display:flex;align-items:center;justify-content:center;gap:8px;background:#181416;border-radius:10px;font-size:14px;text-align:center; }
.welcome-save { display:flex;width:100%;min-height:82px;margin-top:14px;padding:16px 14px;align-items:center;justify-content:space-between;gap:12px;background:#170c12;border-radius:10px;text-align:left;scroll-margin-top:16px; }
.welcome-save-title,.welcome-save-copy { display:block; }
.welcome-save-title { font-size:14px; }
.welcome-save-copy { margin-top:3px;color:#e6a5bf;font-size:13px; }
.welcome-save>.app-icon { color:#e6a5bf; }
.welcome-shortcuts { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:28px 0 34px; }
.welcome-shortcuts a { min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;text-align:center; }
.welcome-shortcut-icon { display:grid;place-items:center;width:42px;height:42px;background:#181216;border-radius:50%; }
.welcome-shortcut-icon .app-icon { font-size:24px; }
.welcome-footer { color:var(--entry-muted);font-size:13px;line-height:1.7;text-align:center; }
.welcome-footer p { margin:0; }
.welcome-footer p:first-child { color:#ded8dc; }
.welcome-footer .welcome-copyright { margin-top:8px;color:#978c94; }
.welcome-footer a { color:#ff85ad;text-decoration:underline;text-underline-offset:3px; }
.welcome a:focus-visible,.welcome button:focus-visible { background:#46172d; }
.welcome-shortcuts a:focus-visible { border-radius:12px; }
@media(hover:hover) { .welcome-entry,.welcome-action,.welcome-save,.welcome-shortcuts a,.welcome-language { transition:transform 120ms ease,background-color 120ms ease; } .welcome a.welcome-entry:hover,.welcome a.welcome-action:hover,.welcome-save:hover,.welcome-language:hover { background:#2a1420;transform:translateY(-1px); } .welcome-shortcuts a:hover { transform:translateY(-2px);color:#ff9abd; } }
.welcome a:active,.welcome button:active { transform:scale(.99); }
@media(max-width:800px) { .welcome { justify-content:flex-start;padding-top:10px; } }
@media(max-width:420px) { .welcome-logo { height:245px; } .welcome h1 { font-size:28px; } .welcome-language { right:16px; } }
@media(prefers-reduced-motion:reduce) { .welcome * { transition:none!important;scroll-behavior:auto!important; } .welcome a:active,.welcome button:active,.welcome a:hover,.welcome button:hover { transform:none!important; } }
