/* CS27 home refresh. New layout is scoped to the home page. */
body[data-template="cs27Reg"] .cs27-home-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:142px;margin:0 0 20px;padding:24px 28px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(90deg,#191d1ff5 45%,#191d1fa8),url('../img/hero-sas-316.webp') center 38%/cover;color:#f4f5f5}
.cs27-home-intro .cs27-eyebrow{display:block;margin-bottom:8px;color:#ff784e;font-size:13px;font-weight:800;letter-spacing:1.5px}
body[data-template="cs27Reg"] .cs27-home-intro h1{margin:0 0 8px;font-size:clamp(25px,3vw,38px);line-height:1.15;font-weight:800;text-transform:none}
.cs27-home-intro p{margin:0;max-width:650px;color:#bfc5c7;font-size:16px;line-height:1.5}
.cs27-home-intro .cs27-intro-link{flex-shrink:0;color:#fff;padding:12px 18px;border:1px solid #ff6b3c66;border-radius:10px;background:#ff572817;font-weight:700}
body[data-template="cs27Reg"] .cs27-home-servers{display:block!important;width:100%;min-width:0;margin:0 0 24px;padding:22px;border:1px solid #ff653c40;border-radius:18px;background:#202426;scroll-margin-top:16px}
.cs27-home-servers .cs27-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}
body[data-template="cs27Reg"] .cs27-home-servers h2{margin:0;font-size:24px;line-height:1.3;text-transform:none}
.cs27-home-servers .cs27-section-head p{margin:0;color:#b3bcc0;font-size:15px}
body[data-template="cs27Reg"] .cs27-home-servers #servers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;height:auto!important;width:100%;min-width:0}
body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-card{display:block;width:100%;min-width:0;min-height:0;height:auto;margin:0;padding:18px;border:1px solid #ffffff1c;border-radius:14px;background:linear-gradient(135deg,#2b3032,#232729);box-sizing:border-box}
.cs27-home-servers .cs27-server-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.cs27-home-servers .cs27-server-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#ff64341a;color:#ff875e;font-size:24px}
.cs27-home-servers .cs27-server-title{min-width:0}
body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-title h3{margin:0 0 5px;color:#fff;font-size:18px;line-height:1.35;overflow-wrap:anywhere}
.cs27-home-servers .cs27-server-title>span{font-size:14px;color:#adb9bf;overflow-wrap:anywhere}
.cs27-home-servers .cs27-server-details{position:static;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;margin:0 0 14px;padding:10px;border:1px solid #ffffff0c;border-radius:10px;background:#191e20;color:#e8ecee;text-align:left}
.cs27-home-servers .cs27-map-thumb{display:block;flex:0 0 48px;width:48px;height:42px;border-radius:8px;background-size:cover;background-position:center}
.cs27-home-servers .cs27-map-caption{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}
.cs27-home-servers .cs27-map-caption small,.cs27-home-servers .cs27-server-population>small{font-size:12px;color:#b4c0c6}
.cs27-home-servers .cs27-map-caption strong{font-size:15px;overflow-wrap:anywhere}
.cs27-home-servers .cs27-server-population{display:flex;flex-direction:column;flex-shrink:0;text-align:right;gap:3px}
.cs27-home-servers .cs27-server-population strong{font-size:19px;color:#fff}
.cs27-home-servers .cs27-server-population strong small{font-size:13px;color:#b4c0c6}
.cs27-home-servers .cs27-server-meter{height:4px;margin-bottom:16px;background:#3c4345;border-radius:4px;overflow:hidden}
.cs27-home-servers .cs27-server-meter>span{display:block;height:100%;background:#ff6331}
.cs27-home-servers .cs27-server-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-play,body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-copy{position:static;display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 15px;margin:0;border:1px solid #ff784b;border-radius:10px;background:#ff5a28;color:#fff;font-size:15px;font-weight:750;line-height:1.25;text-decoration:none;cursor:pointer}
body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-copy{background:#30383b;border-color:#576167;color:#f4f5f5;font-size:14px}
.cs27-home-servers .cs27-server-play:hover{filter:brightness(1.1)}
.cs27-home-servers .cs27-server-copy:hover{background:#414a4e}
.cs27-server-fallback p{margin:0 0 16px;min-height:40px;color:#b4c0c6;font-size:14px;line-height:1.5}
.cs27-connect-help{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff14}
.cs27-connect-help>a{font-size:15px;font-weight:700;color:#ff936f;text-decoration:underline;text-underline-offset:3px}
.cs27-connect-help details{max-width:720px;color:#c4cccf;font-size:14px;line-height:1.55}
.cs27-connect-help summary{cursor:pointer;min-height:36px;display:list-item;align-content:center}
.cs27-connect-help details p{margin:8px 0}
.cs27-connect-help code{white-space:normal;overflow-wrap:anywhere;color:#ffe1d6;background:#151a1c;padding:3px 6px;border-radius:5px}
body[data-template="cs27Reg"] .row.cs27-dashboard.cs27-home-dashboard{grid-template-columns:minmax(0,1fr) 310px;gap:22px;margin:0}
body[data-template="cs27Reg"] .cs27-home-dashboard>.cs27-main{grid-column:1;grid-row:1;min-width:0}
body[data-template="cs27Reg"] .cs27-home-dashboard>.cs27-rail{display:block!important;grid-column:2;grid-row:1;min-width:0}
.cs27-home-dashboard .cs27-rail .online_us_all{margin-top:0!important}
.cs27-home-dashboard .cs27-rail .navigation_profile{margin-top:0}
body[data-template="cs27Reg"] .cs27-home-extras{grid-column:1/-1;grid-row:2;padding:22px;border:1px solid #ffffff14;border-radius:16px;background:#1e2224}
.cs27-home-extras h2{margin:0 0 18px;font-size:23px;text-transform:none}
.cs27-home-extras-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cs27-home-extra{display:flex;flex-direction:column;gap:8px;min-height:124px;padding:18px;border:1px solid #ffffff14;border-radius:12px;background:#292e30;color:#fff}
.cs27-home-extra strong{font-size:18px;color:#fff}
.cs27-home-extra span{font-size:15px;line-height:1.5;color:#bec8cc}
.cs27-home-extra small{margin-top:auto;font-size:14px;color:#ff936f;font-weight:700}
.cs27-home-extra:hover{border-color:#ff794c80;background:#303638}
.cs27-chat-status{margin:10px 0;padding:10px 12px;border:1px solid #ff805250;border-radius:8px;background:#322923;color:#ffe4d8;font-size:14px}
.cs27-chat-status button{margin-left:10px;min-height:36px;border:1px solid #a47b68;border-radius:6px;background:#46342b;color:#fff;cursor:pointer}
#send_button[aria-disabled="true"]{opacity:.55;pointer-events:none}
.cs27-server-copy:focus-visible,.cs27-server-play:focus-visible,.cs27-home-extra:focus-visible,.cs27-connect-help a:focus-visible{outline:3px solid #ffb18d;outline-offset:3px}
@media(max-width:991px){
 body[data-template="cs27Reg"] .row.cs27-dashboard.cs27-home-dashboard{grid-template-columns:1fr}
 body[data-template="cs27Reg"] .cs27-home-dashboard>.cs27-main{grid-column:1;grid-row:1}
 body[data-template="cs27Reg"] .cs27-home-dashboard>.cs27-rail{grid-column:1;grid-row:2;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
 body[data-template="cs27Reg"] .cs27-home-extras{grid-row:3}
 .cs27-home-intro .cs27-intro-link{display:none}
}
@media(max-width:767px){
 body[data-template="cs27Reg"] .cs27-home-intro{min-height:0;padding:18px;margin:0 0 14px;gap:0;border-radius:14px}
 body[data-template="cs27Reg"] .cs27-home-intro h1{font-size:27px;line-height:1.18}
 .cs27-home-intro p{font-size:15px}
 body[data-template="cs27Reg"] .cs27-home-servers{padding:14px;margin-bottom:18px;border-radius:14px}
 .cs27-home-servers .cs27-section-head{display:block;margin-bottom:14px}
 body[data-template="cs27Reg"] .cs27-home-servers h2{font-size:22px}
 .cs27-home-servers .cs27-section-head p{margin-top:5px;font-size:14px}
 body[data-template="cs27Reg"] .cs27-home-servers #servers{grid-template-columns:1fr}
 body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-card{padding:14px}
 body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-title h3{font-size:17px}
 .cs27-home-servers .cs27-server-heading{gap:9px;margin-bottom:12px}
 .cs27-home-servers .cs27-server-actions{grid-template-columns:minmax(0,1fr) auto}
 body[data-template="cs27Reg"] .cs27-home-servers .cs27-server-copy{padding:10px;font-size:13px}
 .cs27-home-servers .cs27-map-thumb{flex-basis:38px;width:38px;height:38px}
 .cs27-home-servers .cs27-server-details{gap:8px;padding:8px}
 .cs27-home-servers .cs27-map-caption strong{font-size:14px}
 body[data-template="cs27Reg"] .cs27-home-dashboard>.cs27-rail{display:block!important}
 body[data-template="cs27Reg"] .cs27-home-extras{padding:16px}
 .cs27-home-extras-grid{grid-template-columns:1fr}
 .cs27-home-extra{min-height:110px}
 .cs27-connect-help{align-items:stretch;flex-direction:column}
 body[data-template="cs27Reg"] .cs27-home-dashboard .auth-to-write .d-none{display:block!important}
 body[data-template="cs27Reg"] .cs27-home-dashboard .cs27-chat{padding:12px}
 body[data-template="cs27Reg"] .cs27-home-dashboard .heading_block_chat{flex-wrap:wrap;gap:10px}
 body[data-template="cs27Reg"] .cs27-home-dashboard .double_btns_chat{flex-wrap:wrap}
 body[data-template="cs27Reg"] .cs27-home-dashboard .btn_heading_rules{font-size:14px}
 body[data-template="cs27Reg"] .cs27-home-dashboard .chat_date{font-size:12px}
 body[data-template="cs27Reg"] .cs27-home-dashboard .text_chat{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
 body[data-template="cs27Reg"] .cs27-home-dashboard .message_global{min-width:0}
}
