/* Integration adapters for existing server forms. Loaded only by account.layout. */
[hidden]{display:none!important}a{color:#bdddfb}a:focus-visible{outline:2px solid #83e6ff;outline-offset:4px}
.external-portal .site-shell{min-height:100vh;min-height:100svh}.external-portal .site-footer{margin-block-start:auto;position:static}
.portal-start .portal-main{flex:0 0 auto}.portal-start .beta-info{padding:8px 11px}.start-beta-announcement{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:12px;line-height:1.5}.beta-info strong{font-size:18px}.start-beta-announcement>bdi{white-space:nowrap}
.rs-sprachwahl{margin:0;max-width:100%;min-width:0}.rs-sprachwahl-zeile{display:flex;gap:6px;align-items:stretch;max-width:100%}.rs-sprachwahl select{max-width:220px;min-height:42px;padding:8px;color:#e9f0fb;background:#0c1425;border:1px solid #56627c;border-radius:9px}.rs-sprachwahl .rs-flag-choice{min-width:170px;max-width:230px;min-height:42px;border:1px solid #56627c;border-radius:10px;color:#e9f0fb;background:rgba(10,15,29,.94);font-size:14px;box-shadow:none}.rs-flag-choice img,.rs-flag-list img{object-fit:contain}.rs-flag-list{z-index:10000;background:#0c1425;color:#e9f0fb;border-color:#697a9b}.rs-flag-list [aria-selected=true],.rs-flag-list .is-active{background:#23364e;color:#fff}.portal-language-save{min-width:38px;border:1px solid #687997;border-radius:8px;color:#dceeff;background:#142139}.rs-sprachwahl>[data-language-status]{font-size:12px;max-width:220px}
.portal-existing-content{display:grid;gap:20px;min-width:0}.portal-existing-content>*{min-width:0}.portal-existing-content>p{margin:0}.portal-existing-content .entry-form{display:grid;gap:15px;min-width:0}.entry-field,.field{display:grid;gap:8px;min-width:0;color:#e9f0fb;font-size:14px;font-weight:500}.entry-field input:not([type=checkbox]),.entry-field select,.entry-field textarea,.portal-existing-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.portal-existing-content select,.portal-existing-content textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #78839e;border-radius:8px;color:#f1f6ff;background:#0b1525;font:inherit}.entry-field small,.entry-fineprint,.lobby-hint,.portal-existing-content small{font-weight:400;color:#b0bdd4;font-size:12px;line-height:1.55}.entry-field textarea{min-height:110px;resize:vertical}.entry-check{display:flex;align-items:flex-start;gap:11px;font-size:13px;line-height:1.6;min-width:0}.entry-check input[type=checkbox]{flex:0 0 auto;width:19px;height:19px;margin:2px 0 0;accent-color:#9bdcf2}.entry-check>span{min-width:0;overflow-wrap:anywhere}.entry-form .entry-check a{color:#c8e9ff}.entry-notice,.entry-advice{margin:0 0 16px;line-height:1.6;font-size:14px}.entry-notice{padding:13px 16px;border-inline-start:2px solid #8fe8ff;border-radius:4px;background:#16263c;color:#e1edff}.entry-notice.error,[role=alert]{border-color:#ed9cab}.entry-notice p:last-child{margin-bottom:0}.entry-notice ul{margin:0;padding-inline-start:20px}.entry-notice.warning{border-color:#e8c585}.entry-notice.success{border-color:#99debb}.registration-empty-field{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.portal-start #loginForm{display:block}.portal-start #loginForm .entry-field{margin-block-end:20px;font-size:17px}.portal-start #loginForm .entry-field:last-of-type{margin-block-end:0}.portal-start .field-input{width:100%;background:transparent;border:0;min-height:53px}.portal-start .entry-submit{width:100%}.portal-start .entry-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-block-start:17px;font-size:15px}.portal-start .entry-links a{color:#bdddfb}.portal-start .entry-links a:hover{color:#edb4ff}
.rs-button,.secondary-button,.portal-existing-content button:not(.rs-flag-choice):not(.portal-language-save){display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;max-width:100%;padding:11px 18px;border:1px solid #7185a4;border-radius:9px;color:#e4efff;background:linear-gradient(120deg,#17283f,#0c1729 75%,#21172e);font:inherit;font-size:14px;line-height:1.45;text-decoration:none;white-space:normal;text-align:center;overflow-wrap:anywhere}.rs-button:hover,.secondary-button:hover{border-color:#9cdcf2;background:#1b2d46}.rs-button:disabled,button:disabled{opacity:.5;cursor:default}.portal-existing-content .primary-button{border:2px solid transparent;background:linear-gradient(140deg,#0f1a2b,#0a101c 65%,#21112c) padding-box,linear-gradient(105deg,#78e6ff,#a9caed 48%,#e98cff) border-box}
.portal-existing-content .entry-links,.lobby-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.portal-existing-content .lobby-panel,.portal-existing-content .commerce-document,.portal-existing-content .moderation-panel,.portal-existing-content .legal-paper{min-width:0;padding:25px;border:1px solid #627396;border-radius:16px;background:linear-gradient(115deg,#101a2c,#090f1e 73%,#160f25);color:#dfe9fb;box-shadow:0 12px 34px rgba(0,0,0,.2)}.portal-existing-content .lobby-panel h2{margin:0 0 12px;font-size:22px;line-height:1.3}.portal-existing-content .lobby-panel p{font-size:14px;line-height:1.6}.portal-existing-content .wallet-amount{font-size:27px;font-weight:600}.portal-existing-content dl{min-width:0}.portal-existing-content dd{margin-inline-start:0;overflow-wrap:anywhere}.portal-existing-content table{display:block;max-width:100%;overflow-x:auto}.portal-existing-content pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.portal-existing-content p,.portal-existing-content li{overflow-wrap:anywhere}
.portal-existing-content .portal-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.portal-fold>summary{min-height:52px;padding:14px 18px;color:#e1edff;font-size:15px;font-weight:500}.portal-fold-body{padding:0 18px 20px}.portal-fold-body form{margin:0}.portal-fold-body>*:last-child{margin-bottom:0}.community-grid{display:grid;grid-template-columns:1fr;gap:20px}.external-portal .community-panel{border:1px solid #5b7092;border-radius:12px;background:#0b1425;min-width:0;box-shadow:none}.external-portal .community-disclosure>summary{min-height:52px;padding:14px 18px;background:transparent;font-size:15px;color:#e1edff}.external-portal .community-disclosure>summary .disclosure-number,.external-portal .community-disclosure>summary .disclosure-toggle{display:none}.external-portal .community-disclosure>summary:before{content:'▸';margin-inline-end:8px}.external-portal .community-disclosure[open]>summary:before{content:'▾'}.external-portal .community-disclosure-content{padding:0 18px 20px}.external-portal .vote-provider{background:#101d30;border-color:#4e6485}.external-portal .vote-provider p{color:#bdcce4}.external-portal .account-email-status{margin:0}.external-portal .account-email-status form{margin-top:12px}
.portal-existing-content .universe-card form{margin-block-start:auto}.portal-existing-content .universe-card form>.rs-button{width:100%}.portal-existing-content .universe-card .lobby-world-age{font-size:12px;color:#aebfd9}.portal-existing-content .universe-card .universe-state{font-size:11px}.portal-existing-content .lobby-world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-existing-content .lobby-world-info header{display:flex;justify-content:space-between;gap:12px}.portal-action-grid--wallet{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-action-grid--legal{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-action-grid a{color:#dfedff}.portal-action-grid .portal-action-icon{flex:0 0 28px}.portal-panel>.portal-panel-intro{margin-top:0}
.withdraw-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.withdraw-form>.entry-field:nth-of-type(n+3),.withdraw-form>.withdraw-actions{grid-column:1/-1}.withdraw-actions,.commerce-document>p:last-child{display:flex;gap:12px;flex-wrap:wrap}.withdraw-actions>*{flex:1 1 160px}.portal-existing-content .commerce-document>form:not(.withdraw-form){margin-top:18px}.portal-existing-content .commerce-document .rs-button,.portal-existing-content .commerce-document>p>a,.portal-existing-content .commerce-document>a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:11px 18px;border:1px solid #7185a4;border-radius:9px;background:linear-gradient(120deg,#17283f,#0c1729 75%,#21172e);text-decoration:none;font-size:14px}
.public-vote-buttons a.public-vote-button{display:grid;width:100%;margin:0;border-radius:8px;text-decoration:none}.public-voting .support-banner{display:flex;flex-direction:column;align-items:center;gap:8px}.public-voting .support-banner img{display:block;max-width:100%;height:auto}.site-footer .source-attribution,.site-footer details{font-size:11px;max-width:100%}.site-footer .source-attribution a{font-size:inherit}.site-footer .footer-contact{color:#c6d5eb;font-size:13px;text-decoration:none}.site-footer .footer-links{flex-wrap:wrap}.site-footer>details{margin-inline:auto}.gallery-selectors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.gallery-selectors a{display:block;padding:7px 4px;border:1px solid #546787;border-radius:5px;font-size:11px;text-align:center;text-decoration:none}.gallery-selectors [aria-current=true]{background:#233b56;border-color:#9adff1}.gallery-pair [data-gallery-panel]{display:block}.image-dialog{max-width:min(96vw,1800px);max-height:94vh;overflow:auto}.image-dialog>img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto}.portal-existing-content .rs-wiki{width:100%;max-width:100%;background:#0d1729;border-color:#627396}
@media(max-width:800px){.portal-existing-content .portal-settings,.portal-existing-content .lobby-world-grid{grid-template-columns:1fr}.portal-existing-content .lobby-panel,.portal-existing-content .commerce-document,.portal-existing-content .moderation-panel,.portal-existing-content .legal-paper{padding:20px}.portal-page-tools .rs-flag-choice{min-width:145px;max-width:190px}.portal-action-grid--legal{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.site-shell{width:calc(100% - 28px)}.portal-existing-content .lobby-panel,.portal-existing-content .commerce-document,.portal-existing-content .moderation-panel,.portal-existing-content .legal-paper{padding:16px}.portal-existing-content .portal-action-grid,.withdraw-form{grid-template-columns:1fr}.withdraw-form>*{grid-column:1}.portal-page-tools .rs-flag-choice{max-width:210px}.portal-start .beta-info strong{font-size:15px}.portal-existing-content .entry-field{font-size:14px}.gallery-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}}

.portal-start .entry-field .input-shell>.field-input{padding:12px 18px;min-height:53px;border:0;border-radius:8px;background:transparent;font-size:17px}.portal-start .entry-field .password-shell>.field-input{padding-inline-end:54px}.portal-start .input-shell>.field-input:focus-visible{outline:0}.portal-js .portal-language-save{display:none}.portal-existing-content.portal-panel>.commerce-document,.portal-existing-content.portal-panel>.moderation-panel{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}body[data-entry-view=register] .portal-page-main,body[data-entry-view=recover] .portal-page-main,body[data-entry-view=reset] .portal-page-main{max-width:650px}.portal-existing-content.portal-panel .entry-submit{font-size:17px;min-height:52px}.portal-existing-content .legal-index{padding:0;list-style:none}.portal-existing-content .legal-index>li{min-width:0;display:flex;flex-direction:column;gap:7px}.portal-existing-content .legal-index a{display:flex;width:100%;min-height:76px;align-items:center;justify-content:center;border:1px solid #647898;border-radius:11px;background:linear-gradient(125deg,#16263d,#0c1729 75%,#1b152d);padding:17px 18px;text-align:center;text-decoration:none}.portal-existing-content .legal-index small{display:block}.external-portal{background:#030712 url("assets/nebula-background.webp") center center/cover fixed no-repeat}.portal-existing-content .rs-time-status{font-size:12px}.site-footer .rs-time-status{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;font-size:11px;background:none;border:0;padding:0}

.portal-existing-content .lobby-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portal-existing-content .lobby-package-grid .lobby-panel{margin:0;padding:20px}.portal-existing-content .lobby-reference{overflow-wrap:anywhere}.portal-existing-content .lobby-table{width:100%;border-collapse:collapse;font-size:13px}.lobby-table th,.lobby-table td{padding:10px;text-align:start;border-bottom:1px solid #435372}.portal-existing-content .lobby-scroll{overflow-x:auto;max-width:100%}.portal-existing-content .commerce-document form{display:grid;gap:14px}.portal-existing-content .commerce-document dl{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:9px 18px}.commerce-document dd{margin:0;overflow-wrap:anywhere}.portal-existing-content .community-panel{margin:0;padding:0;background:#0b1425;box-shadow:none}.portal-existing-content .community-panel>summary{padding:17px;font-size:14px;list-style:none}.community-panel>summary::-webkit-details-marker{display:none}.portal-existing-content .community-grid{gap:20px}.portal-existing-content .community-disclosure-content{padding:0 20px 20px}.portal-existing-content .community-panel summary .disclosure-number,.portal-existing-content .community-panel summary .disclosure-toggle{display:none}.portal-existing-content .community-panel summary:before{content:'▸';margin-inline-end:8px}.portal-existing-content .community-panel[open] summary:before{content:'▾'}.portal-error{text-align:center}.portal-error .error-code{font-size:38px;margin:0}.portal-existing-content .rs-security-check{background:transparent;border:0;color:inherit;max-width:100%}.portal-existing-content .rs-security-check h1{font-size:22px}.image-dialog .image-scroll{max-width:90vw;max-height:75vh;overflow:auto}.image-dialog .image-scroll img{max-width:none;width:auto;height:auto;display:block}.image-dialog .full-size-link{font-size:13px}.portal-about .portal-page-main{max-width:900px}.portal-about .portal-page-brand h1{font-size:26px}.portal-about .game-info-copy{font-size:16px;line-height:1.7}.portal-about .static-languages{position:relative;padding:10px 14px;background:#0b1425;border:1px solid #667592;border-radius:9px;font-size:14px}.portal-about .static-languages nav{position:absolute;inset-inline-end:0;top:100%;width:240px;max-height:60vh;overflow:auto;z-index:5;background:#101c30;border:1px solid #6b819c;padding:8px;display:grid;gap:4px}.portal-about .static-languages a{padding:7px;text-decoration:none}.portal-about .static-languages img{width:22px;height:16px;vertical-align:middle;margin-inline-end:7px}.portal-about .game-info-button{display:inline-flex;padding:12px 20px;background:#182b44;border:1px solid #6b819c;border-radius:9px;text-decoration:none}
@media(max-width:650px){.portal-existing-content .lobby-package-grid{grid-template-columns:1fr}.portal-existing-content .commerce-document dl{grid-template-columns:1fr}.portal-existing-content .commerce-document dd{margin-block-end:8px}.portal-about .portal-page-brand h1{font-size:22px}}

.gallery-skin{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}.gallery-skin h3,.gallery-screens{grid-column:1/-1}.gallery-skin h3{font-size:14px;margin:0 0 8px}.gallery-skin label{font-size:11px;padding:8px 3px;min-width:0;border:1px solid #596c8b;border-radius:6px;background:#111d32;text-align:center;cursor:pointer;overflow-wrap:anywhere}.gallery-radio:checked+label{border-color:#9adff1;background:#223b55}.gallery-radio:focus-visible+label{outline:2px solid #bceeff;outline-offset:3px}.gallery-screens{min-width:0}.gallery-screens figure{display:none!important;margin:6px 0 0}.gallery-screens img{display:block;width:100%;height:auto;border-radius:8px}.gallery-screens figcaption{font-size:12px;margin-top:6px;color:#d9e7fc}.gallery-radio[value=galaxy]:checked~.gallery-screens [data-gallery-panel=galaxy]{display:block!important}.gallery-radio[value=supplies]:checked~.gallery-screens [data-gallery-panel=supplies]{display:block!important}.gallery-radio[value=overview]:checked~.gallery-screens [data-gallery-panel=overview]{display:block!important}.gallery-radio[value=highscore]:checked~.gallery-screens [data-gallery-panel=highscore]{display:block!important}
@media(max-width:650px){.gallery-pair{grid-template-columns:1fr}.gallery-skin label{font-size:11px}}

.external-portal .rs-wiki .wiki-quick td,.external-portal .rs-wiki .wiki-quick th{white-space:normal;overflow-wrap:anywhere}.external-portal .rs-wiki .wiki-quick bdi{white-space:normal;overflow-wrap:anywhere}

@media(max-width:1000px){.portal-page-brand h1{min-block-size:2.5em;display:grid;align-content:center}}
.wallet-new-order{margin-block:12px 18px}

.public-vote-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media(max-width:620px){.portal-start .topbar{flex-direction:column;align-items:stretch;gap:10px}.portal-start .topbar .header-controls{align-self:flex-end;max-width:100%;min-width:0}.portal-start .beta-info{max-width:none;width:100%}.portal-start .rs-sprachwahl-zeile{max-width:100%}.portal-start .rs-sprachwahl select{min-width:0}}
@media(max-width:360px){.public-vote-buttons{grid-template-columns:minmax(0,1fr)}}

.external-portal:not(.portal-js) .password-toggle,.external-portal:not(.portal-js) [data-copy-referral]{display:none}.external-portal:not(.portal-js) .password-shell>.field-input{padding-inline-end:12px}
