/* Standalone community entrance. Native GameCMS forms remain intact. */
body.cs27-entry-page{margin:0!important;min-height:100vh;background:#151819!important;color:#f4f5f6;font-family:Arial,sans-serif}
.entry-header,.entry-footer{max-width:1360px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.entry-header img{width:200px;height:auto;display:block}.entry-header>span{color:#929394;font-size:10px;letter-spacing:2px;font-weight:700}
body.cs27-entry-page #cs27-guest-entry{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(380px,.85fr);max-width:1280px;width:calc(100% - 80px);margin:12px auto 0;min-height:710px;border:1px solid #3b4042;border-radius:22px;overflow:hidden;background:#202324}
.entry-story{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:52px 48px;overflow:hidden;background:#1e2223}
.entry-story::before{content:"";position:absolute;inset:0;z-index:-2;background:url('/templates/cs27Reg/img/hero-sas-316.webp') 64% center/cover no-repeat;opacity:.76}
.entry-story::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#171a1bed 0%,#191c1d80 70%),linear-gradient(0deg,#181b1c 0%,transparent 55%,#181b1c88 100%)}
.entry-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2px;color:#d7d8d9;font-weight:700}.entry-eyebrow>span{width:6px;height:6px;background:#ff7442;border-radius:50%;box-shadow:0 0 0 4px #ff744217}
body.cs27-entry-page #entry-title{font-family:Arial,sans-serif;font-size:clamp(42px,4.3vw,64px)!important;line-height:1.06!important;font-weight:800;letter-spacing:-2.5px;text-transform:none;margin:52px 0 24px;color:#f2f3f4}
#entry-title em{color:#ff7543;font-style:normal}.entry-lead{font-size:15px;line-height:1.8;color:#c3c4c5;margin:0;max-width:400px}
.entry-modes{display:flex;gap:10px;margin-top:34px}.entry-modes>span{display:flex;gap:16px;align-items:center;border:1px solid #8b8c8d44;background:#292d2e6b;border-radius:6px;padding:12px 16px;color:#ff895c;font:10px monospace;letter-spacing:1px}.entry-modes b{color:#e7e8e9;font:700 12px Arial,sans-serif;letter-spacing:1px}
.entry-story-bottom{margin-top:auto;padding-top:72px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.entry-coordinates{font:10px monospace;letter-spacing:1px;color:#939495}.entry-story-bottom p{font-size:12px;line-height:1.6;color:#aaabac;text-align:right;margin:0}.entry-story-bottom strong{color:#e1e2e3;font-weight:400}
.entry-access{padding:42px 36px 28px;border-left:1px solid #3b4042;background:linear-gradient(155deg,#262a2b,#202324 75%)}
.entry-access-heading>span{font-size:9px;letter-spacing:1.6px;color:#ff946c;font-weight:700}.entry-access-heading h2{font-family:Arial,sans-serif;font-size:27px!important;font-weight:700;letter-spacing:-.8px;text-transform:none;margin:12px 0 10px}.entry-access-heading>p{font-size:12px;line-height:1.6;color:#aeafb0;margin:0 0 25px}
.cs27-entry-tabs{display:flex;gap:4px;background:#191c1d;border:1px solid #3b4042;border-radius:8px;padding:4px;margin-bottom:24px}
body.cs27-entry-page #cs27-guest-entry .cs27-entry-tabs button{flex:1;border:0;border-radius:5px;padding:11px 5px;font:600 13px Arial,sans-serif;background:transparent;color:#a3a4a5;cursor:pointer;box-shadow:none}
body.cs27-entry-page #cs27-guest-entry .cs27-entry-tabs button[aria-selected="true"]{background:#34393b;color:#fff;box-shadow:0 1px 3px #0003}
#cs27-guest-entry [hidden]{display:none!important}
body.cs27-entry-page #cs27-guest-entry .flex_authorization_page{display:block;width:100%;margin:0;padding:0;min-height:0}
body.cs27-entry-page #cs27-guest-entry .block.authorization{display:block;width:100%;max-width:none;padding:0;margin:0;background:none;border:0;box-shadow:none}
#cs27-guest-entry .authorization_welcome{display:none!important}
body.cs27-entry-page #cs27-guest-entry .login_place{display:flex;flex-direction:column;gap:12px;margin:0 0 18px;padding:0}
body.cs27-entry-page #cs27-guest-entry .input_login{display:flex;align-items:center;position:relative;gap:12px;margin:0;padding:0 14px;background:#1c2021;border:1px solid #454b4d;border-radius:7px;min-width:0}
body.cs27-entry-page #cs27-guest-entry .input_login>i{position:static;display:block;margin:0;padding:0;flex:0 0 auto;width:auto;height:auto;border:0;border-radius:0;background:none;box-shadow:none;color:#909192;font-size:18px;line-height:1}
body.cs27-entry-page #cs27-guest-entry .form_control_auth{width:100%;min-width:0;height:48px;min-height:48px;padding:10px 0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0;color:#f4f5f6;font:13px Arial,sans-serif;box-shadow:none!important;outline:none}
body.cs27-entry-page #cs27-guest-entry .form_control_auth::placeholder{color:#999a9b}
#cs27-guest-entry .input_login:focus-within{outline:2px solid #db8359;outline-offset:1px}
body.cs27-entry-page #cs27-guest-entry .block_auth_push{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:0}
body.cs27-entry-page #cs27-guest-entry .row{margin:0!important}body.cs27-entry-page #cs27-guest-entry .col-12{padding:0!important}
body.cs27-entry-page #cs27-guest-entry .login_account_btn{display:block;width:100%;min-height:48px;margin:0;padding:12px!important;border:1px solid #ff8551!important;border-radius:7px;background:#ff6a32!important;color:#fff!important;font:700 14px Arial,sans-serif;cursor:pointer;box-shadow:0 5px 18px #f65f2017}
body.cs27-entry-page #cs27-guest-entry .login_account_btn:hover{background:#ff7b48!important}
#cs27-guest-entry a.small{font:12px Arial,sans-serif;text-align:right;color:#b9babb;margin:0}
#cs27-guest-entry .line_social{display:none!important}
body.cs27-entry-page #cs27-guest-entry .second_welcome{display:block;margin:10px 0 0;text-align:center;font:11px Arial,sans-serif;color:#8c8d8e}
body.cs27-entry-page #cs27-guest-entry .button_social{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0}
body.cs27-entry-page #cs27-guest-entry .button_social a{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:42px;margin:0;padding:10px;border:1px solid #494a4b;border-radius:7px;background:#2c2d2e;color:#cccdce;font:12px Arial,sans-serif;cursor:pointer}
body.cs27-entry-page #cs27-guest-entry .button_social a:hover{border-color:#8e8f90;background:#3a3b3c}
#cs27-guest-entry .custom_checkbox_reg,#cs27-guest-entry .privacy-policy{margin:12px 0 16px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;font-size:11px;line-height:1.55}
#cs27-guest-entry .text_sf_reg{font:11px/1.55 Arial,sans-serif;color:#adaeaf}#cs27-guest-entry .text_sf_reg a{color:#dcddde}
#cs27-guest-entry .registration>.block_auth_push{margin-top:18px!important}
.cs27-entry-note{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;font:10px/1.5 Arial,sans-serif;color:#919293;margin:24px 0 14px}
.cs27-entry-legal{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.cs27-entry-legal a{font:10px/1.5 Arial,sans-serif;color:#8c8d8e}
.entry-footer{font:9px Arial,sans-serif;color:#727374;letter-spacing:1.5px;padding-top:24px;padding-bottom:24px}
#cs27-guest-entry button:focus-visible,#cs27-guest-entry a:focus-visible{outline:2px solid #ffac88;outline-offset:3px}
@media(min-width:1600px){body.cs27-entry-page #cs27-guest-entry{margin-top:32px}}
@media(max-width:1000px){body.cs27-entry-page #cs27-guest-entry{width:calc(100% - 40px);grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}.entry-story{padding:40px 28px}.entry-access{padding:34px 24px}.entry-story-bottom{display:block}.entry-story-bottom p{text-align:left;margin-top:16px}.entry-header,.entry-footer{padding-left:24px;padding-right:24px}body.cs27-entry-page #entry-title{font-size:44px!important;letter-spacing:-1.7px}.entry-modes{flex-wrap:wrap}}
@media(max-width:760px){.entry-header{padding:24px 20px}.entry-header img{width:168px}.entry-header>span{font-size:8px;max-width:100px;line-height:1.7;text-align:right;letter-spacing:1px}body.cs27-entry-page #cs27-guest-entry{grid-template-columns:1fr;width:calc(100% - 32px);margin:0 16px;min-height:0;border-radius:16px}.entry-story{padding:28px 24px 26px}.entry-story::before{background-position:64% 38%}.entry-story::after{background:linear-gradient(90deg,#171a1bf0,#171a1b75)}.entry-eyebrow{font-size:8px;letter-spacing:1.5px}body.cs27-entry-page #entry-title{font-size:40px!important;line-height:1.08!important;margin:22px 0 12px}.entry-lead{font-size:12px;line-height:1.6}.entry-modes{margin-top:22px}.entry-modes>span{padding:8px 12px}.entry-modes b{font-size:10px}.entry-story-bottom{display:none}.entry-access{padding:28px 22px;border-left:0;border-top:1px solid #3b4042}.entry-access-heading h2{font-size:24px!important}.entry-access-heading>span{font-size:8px;letter-spacing:1.2px}.entry-access-heading>p{font-size:11px;margin-bottom:20px}.entry-footer{padding:20px;display:block;text-align:center;font-size:8px;line-height:1.8}.entry-footer>span{display:block}}
@media(max-width:359px){.entry-access{padding:24px 16px}.entry-story{padding:24px 18px}body.cs27-entry-page #entry-title{font-size:35px!important}.entry-access-heading h2{font-size:21px!important}}

html:has(>body.cs27-entry-page){height:auto!important;min-height:100%;overflow-x:hidden;overflow-y:auto}
body.cs27-entry-page{height:auto!important;max-height:none!important;overflow:visible!important}

body.cs27-entry-page .entry-header .cs27-legacy-brand{display:block;width:200px}
#entry-live-servers{display:grid;gap:10px;margin-top:28px}
.entry-server{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #61626366;border-radius:9px;background:#202425d9;backdrop-filter:blur(4px)}
.entry-server>img{width:38px;height:38px;object-fit:contain;flex-shrink:0}
.entry-server-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.entry-server-info>strong{font:700 13px Arial,sans-serif;letter-spacing:1px;color:#f2f3f4}.entry-server-name{font:11px/1.4 Arial,sans-serif;color:#b4b5b6;overflow-wrap:anywhere}.entry-server-map{font:11px/1.4 Arial,sans-serif;color:#d8d9da;overflow-wrap:anywhere}
.entry-server-connect{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.entry-server-count{color:#c8c9ca;font:700 12px Arial,sans-serif;white-space:nowrap}.entry-server-connect a{display:flex;gap:10px;align-items:center;background:#ff6a32;border:1px solid #ff8856;border-radius:5px;color:#fff;padding:7px 11px;font:700 11px Arial,sans-serif}.entry-server-connect a:hover{background:#ff804e}
#entry-servers-status{font:11px/1.5 Arial,sans-serif;color:#bebfc0;margin:8px 0 0}#entry-servers-status:empty{display:none}
.entry-back{display:block;margin:24px 0 0;color:#cbcccd;font:13px Arial,sans-serif}.entry-back:hover{color:#ff976b}.entry-recovery-message,#result3{font:14px/1.7 Arial,sans-serif;color:#e5e6e7;overflow-wrap:anywhere;margin-top:16px}
#cs27-recovery-panel .g-recaptcha{margin:16px 0;max-width:100%;overflow:auto}
@media(max-width:760px){body.cs27-entry-page .entry-header .cs27-legacy-brand{width:168px}.entry-server{padding:11px;gap:9px}.entry-server>img{width:30px;height:30px}.entry-server-name{font-size:10px}.entry-story-bottom{display:none}}
@media(max-width:359px){.entry-server{padding:10px 8px;gap:7px}.entry-server>img{width:24px;height:28px}.entry-server-connect a{padding:7px 8px}.entry-server-info>strong{font-size:11px}}

/* Approved variant 2: explicit server numbers and address/copy controls. */
#entry-live-servers{container-type:inline-size}
.entry-server{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:14px;background:#222627;border-color:#41484a;backdrop-filter:none}
.entry-server>img{width:36px;height:44px}
.entry-server-info{gap:6px}.entry-server-info>strong{font-size:14px;letter-spacing:.5px}.entry-server-number{color:#ff804e;margin-right:5px}
.entry-server-name{font-size:10px;color:#9fa0a1}
.entry-server-address{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.entry-server-address code{display:block;padding:7px 8px;background:#191c1d;border:1px solid #41484a;border-radius:5px;color:#f4f5f6;font:600 13px/1.3 monospace;white-space:nowrap}
#cs27-guest-entry .entry-server-copy{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 8px;min-height:33px;border:1px solid #4b5355;border-radius:5px;background:#25292a;color:#e3e4e5;font:11px/1.3 Arial,sans-serif;cursor:pointer;box-shadow:none;letter-spacing:0;text-transform:none}
#cs27-guest-entry .entry-server-copy:hover{border-color:#ff8656;color:#fff;background:#2e2f30}
.entry-server-copy svg{flex-shrink:0}.entry-server-copy[data-copied]{border-color:#8bbe95!important;color:#d8d9da!important}
.entry-server-connect{align-self:stretch;justify-content:space-between;gap:12px}.entry-server-count::before{content:'';display:inline-block;width:5px;height:5px;background:#90cc9a;border-radius:50%;margin-right:5px}
.entry-server-connect a{justify-content:center;min-height:33px;padding:8px 12px}
#entry-copy-status{font:11px/1.5 Arial,sans-serif;color:#d1d2d3;margin:8px 0 0}#entry-copy-status:empty{display:none}
@container(max-width:440px){.entry-server{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:12px}.entry-server>img{width:28px;height:38px;align-self:start}.entry-server-connect{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.entry-server-info>strong{font-size:13px}.entry-server-address code{font-size:12px;padding:7px 6px}}
@media(max-width:359px){.entry-server{padding:10px 8px;gap:7px}.entry-server-address code{font-size:11px}.entry-server-info>strong{font-size:12px}}

/* Neutral entrance palette, matching the main site. */
.entry-story::before{filter:saturate(.3)}

/* 3.27.7: two server cards, followed by the client download choices. */
body.cs27-entry-page #entry-live-servers {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;margin-top:24px;
}
body.cs27-entry-page #entry-live-servers .entry-server {
 box-sizing:border-box;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto auto auto 1fr;
 align-items:center;gap:8px 10px;width:100%;min-width:0;padding:14px;
 border:1px solid #41484a;border-radius:12px;background:#222627;
}
body.cs27-entry-page #entry-live-servers .entry-server > img {grid-column:1;grid-row:1 / span 2;align-self:center;width:32px;height:38px;object-fit:contain}
body.cs27-entry-page #entry-live-servers .entry-server-info {display:contents}
body.cs27-entry-page #entry-live-servers .entry-server-info > strong {grid-column:2;grid-row:1;min-width:0;font:700 13px/1.4 Arial,sans-serif;letter-spacing:.4px}
body.cs27-entry-page #entry-live-servers .entry-server-name {grid-column:2;grid-row:2;min-width:0;font:400 10px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
body.cs27-entry-page #entry-live-servers .entry-server-address {grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:stretch;gap:6px;margin-top:4px;min-width:0}
body.cs27-entry-page #entry-live-servers .entry-server-address code {box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;padding:7px 4px;font:600 11px/1.4 monospace;white-space:nowrap;border-radius:7px}
body.cs27-entry-page #cs27-guest-entry #entry-live-servers .entry-server-copy {box-sizing:border-box;width:34px;min-height:34px;padding:0;border-radius:7px}
body.cs27-entry-page #entry-live-servers .entry-server-copy > span {display:none}
body.cs27-entry-page #entry-live-servers .entry-server-map {grid-column:1 / -1;grid-row:4;min-width:0;font:400 11px/1.5 Arial,sans-serif;color:#b5bec2;overflow-wrap:anywhere}
body.cs27-entry-page #entry-live-servers .entry-server-connect {grid-column:1 / -1;grid-row:5;display:flex;flex-direction:row;align-items:center;align-self:end;justify-content:space-between;gap:8px;min-width:0;margin-top:2px}
body.cs27-entry-page #entry-live-servers .entry-server-connect a {box-sizing:border-box;min-height:36px;padding:8px 12px;border-radius:7px;font:700 11px/1.4 Arial,sans-serif;text-decoration:none}
body.cs27-entry-page #entry-live-servers .entry-server-count {font:600 11px/1.4 Arial,sans-serif}

body.cs27-entry-page #cs27-guest-entry .entry-downloads {box-sizing:border-box;min-width:0;margin:16px 0 0;padding:16px;background:#202425;border:1px solid #41484a;border-radius:12px}
body.cs27-entry-page #cs27-guest-entry .entry-downloads-heading {display:block;margin:0 0 12px;color:#edf0f1;font:600 13px/1.4 Arial,sans-serif}
body.cs27-entry-page #cs27-guest-entry .entry-download-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
body.cs27-entry-page #cs27-guest-entry .entry-download-link {
 box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:62px;padding:12px;
 border:1px solid #545d61;border-radius:8px;background:#2b3133;color:#edf0f1;text-decoration:none;
 transition:background-color .15s ease,border-color .15s ease;
}
body.cs27-entry-page #cs27-guest-entry .entry-download-link > svg {display:block;flex:0 0 20px;width:20px;height:20px;color:#ffb08b}
body.cs27-entry-page #cs27-guest-entry .entry-download-link > span {display:flex;flex-direction:column;gap:4px;min-width:0}
body.cs27-entry-page #cs27-guest-entry .entry-download-link strong {color:inherit;font:600 12px/1.4 Arial,sans-serif;overflow-wrap:break-word}
body.cs27-entry-page #cs27-guest-entry .entry-download-link small {color:#b5bec2;font:400 10px/1.4 Arial,sans-serif}
body.cs27-entry-page #cs27-guest-entry .entry-download-link:hover {background:#353d40;border-color:#a27058}
body.cs27-entry-page #cs27-guest-entry .entry-download-primary {background:#ff6a32;border-color:#ff8856;color:#fff}
body.cs27-entry-page #cs27-guest-entry .entry-download-primary > svg,body.cs27-entry-page #cs27-guest-entry .entry-download-primary small {color:#fff}
body.cs27-entry-page #cs27-guest-entry .entry-download-primary:hover {background:#ed5a26;border-color:#ffad89}
body.cs27-entry-page #cs27-guest-entry .entry-download-link:focus-visible {outline:2px solid #ffb08b;outline-offset:3px}
body.cs27-entry-page #cs27-guest-entry .entry-story-bottom {padding-top:32px}

/* Keep both cards usable before the old two-column entrance becomes too narrow. */
@media(min-width:761px) and (max-width:1100px) {
 body.cs27-entry-page #cs27-guest-entry {grid-template-columns:minmax(0,1fr);max-width:800px;min-height:0}
 body.cs27-entry-page #cs27-guest-entry .entry-access {border-left:0;border-top:1px solid #3b4042}
}
@media(max-width:560px) {
 body.cs27-entry-page #entry-live-servers {grid-template-columns:minmax(0,1fr)}
 body.cs27-entry-page #cs27-guest-entry .entry-download-actions {grid-template-columns:minmax(0,1fr)}
 body.cs27-entry-page #cs27-guest-entry .entry-downloads {padding:12px}
 body.cs27-entry-page #cs27-guest-entry .entry-download-link {min-height:58px}
}
@media(prefers-reduced-motion:reduce) {body.cs27-entry-page #cs27-guest-entry .entry-download-link {transition:none}}
