/* SoulShive — page-wide readability & responsive refinements.
   Internal file name is a release identifier; public branding remains SoulShive.com.
   Loaded on shared-header pages and stand-alone server listings. */
:root{--ss-readable:16px;--ss-caption:14px;--ss-tap:44px;--ss-ink:#eef4ff;--ss-muted:#a9b9d0}
html{font-size:16px;-webkit-text-size-adjust:100%}
body.ss26-page{font-size:16px;line-height:1.6}
body.ss26-page :is(p,li,dd,dt,td,th,summary,figcaption,label){line-height:1.55}
body.ss26-page :is(small,.small,.muted){font-size:14px;line-height:1.5}
body.ss26-page :is(input,select,textarea){font-size:16px!important;min-height:44px}
body.ss26-page textarea{min-height:110px}
body.ss26-page :is(button,[type="submit"],.btn){font-size:14px!important;line-height:1.4!important;min-height:44px;height:auto;padding:10px 14px}
body.ss26-page :is(.btn,button,a,input,textarea,select):focus-visible{outline:3px solid #58d9ff!important;outline-offset:3px}
body.ss26-page .ss26-page-masthead h1{font-size:clamp(27px,3.6vw,43px);line-height:1.12}
body.ss26-page .ss26-page-masthead-copy p{font-size:15px!important;line-height:1.5!important}
body.ss26-page .ss26-content-wrap{min-width:0}
body.ss26-page :is(.card,.panel,.box,fieldset){min-width:0;overflow-wrap:anywhere}
body.ss26-page :is(.badge,.chip){line-height:1.4;padding-block:5px;white-space:normal}
body.ss26-page :is(td,th){font-size:14px!important;overflow-wrap:anywhere}
body.ss26-page :is(table){font-size:14px}
body.ss26-page :is(.card,.panel,.box) :is(h2,h3){line-height:1.25}
body.ss26-page :is(.card,.panel,.box) p{line-height:1.6}
body.ss26-page .ss26-newsletter form{display:flex;gap:0}
body.ss26-page .ss26-newsletter input{min-width:0;flex:1;font-size:14px!important;min-height:44px}
body.ss26-page .ss26-newsletter button{min-width:44px;min-height:44px}
body.ss26-page .ss26-footer-grid :is(h4,a,p),body.ss26-page .ss26-footer-bottom :is(span,a){font-size:14px!important;line-height:1.6!important}
body.ss26-page .ss26-footer-grid{gap:20px;grid-template-columns:minmax(180px,1.6fr) repeat(4,minmax(130px,1fr))}
body.ss26-page .ss26-footer-grid>div{min-width:0}
body.ss26-page .ss26-footer-grid a{display:inline-block;min-height:30px;padding-block:5px}
body.ss26-page .ss26-footer-brand img{max-width:100%;height:auto}
body.ss26-page .ss26-footer-partner-row a{display:inline-flex;align-items:center;min-height:44px;padding:7px 12px}

/* Shared navigation: switch to a spacious burger menu before text collides. */
@media(max-width:1199px){
 .ss26-site-header .ss26-header-inner{min-height:65px;height:auto;padding-block:8px;flex-wrap:nowrap}
 .ss26-site-header .ss26-burger{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;margin-left:auto;border-radius:9px;border:1px solid #344568;background:#0b1425;color:#fff}
 .ss26-site-header .ss26-mainnav{display:none;position:absolute;top:100%;left:12px;right:12px;z-index:1300;height:auto;max-height:calc(100dvh - 85px);overflow-y:auto;background:#091427;border:1px solid #30466c;border-radius:14px;padding:10px;box-shadow:0 18px 45px rgba(0,0,0,.48);flex-direction:column;align-items:stretch}
 .ss26-site-header.open .ss26-mainnav{display:flex}
 .ss26-site-header .ss26-mainnav>a{height:auto!important;min-height:44px;white-space:normal;padding:11px 14px!important;font-size:14px!important}
 .ss26-site-header .ss26-mobile-account{display:block!important;border-top:1px solid #243553;margin-top:8px;padding-top:8px}
 .ss26-site-header .ss26-mobile-account>a{display:flex!important;min-height:44px;align-items:center;padding:10px 14px!important;font-size:14px!important}
 .ss26-site-header .ss26-account-actions .ss26-mini-btn{display:none!important}
 .ss26-site-header .ss26-account-actions .ss26-user{display:none!important}
 .ss26-site-header .ss26-account-actions .ss26-add-btn{min-height:44px!important;font-size:14px!important;padding:9px 12px!important}
}
@media(max-width:680px){
 body.ss26-page .wrap{width:calc(100% - 24px)!important}
 .ss26-site-header .ss26-header-inner{gap:7px}
 .ss26-site-header .ss26-account-actions{gap:5px}
 .ss26-site-header .ss26-account-actions .ss26-add-btn{font-size:14px!important;white-space:normal;max-width:122px;text-align:center}
 body.ss26-page .ss26-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.ss26-page .ss26-footer-brand{grid-column:1/-1}
 body.ss26-page .ss26-footer-bottom{flex-wrap:wrap;gap:10px}
}
@media(max-width:390px){
 body.ss26-page .ss26-footer-grid{grid-template-columns:1fr 1fr}
 .ss26-site-header .ss26-brand{flex-basis:56px!important;min-width:56px!important}
}

/* Profile */
.ssp26 .ssp-btn,.ssp26 .ssp-tab,.ssp26 .ssp-server-actions a{min-height:44px!important;height:auto!important;padding:10px 12px!important;line-height:1.45!important;white-space:normal!important}
.ssp26 :is(.ssp-status,.ssp-role,.ssp-sub,.ssp-founder,.ssp-verified,.ssp-badge){line-height:1.5!important;white-space:normal!important}
.ssp26 :is(.ssp-mini-stat,.ssp-stat,.ssp-server-card){min-height:0!important;overflow-wrap:anywhere}
.ssp26 .ssp-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.ssp26 .ssp-mini-stat{padding:10px 8px}
.ssp26 .ssp-side{position:static!important}
.ssp26 .ssp-server-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.ssp26 .ssp-shell{grid-template-columns:1fr!important}.ssp26 .ssp-topstats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:570px){.ssp26 .ssp-server-grid{grid-template-columns:1fr!important}.ssp26 .ssp-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ssp26 .ssp-mini-stat:last-child:nth-child(odd){grid-column:1/-1}.ssp26 .ssp-server-actions{grid-template-columns:1fr 1fr!important}}

/* Server Info — preserve detail and readable cards even on narrow widths. */
.sv26 .sv-hero-grid{grid-template-columns:minmax(110px,140px) minmax(240px,1fr) minmax(290px,390px)!important;gap:14px!important}
.sv26 .sv-owner{grid-column:1/-1;display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}
.sv26 .sv-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.sv26 :is(.sv-pill,.sv-action,.sv-join,.sv-vote,.sv-ranges button,.sv-tabs a){min-height:44px!important;height:auto!important;line-height:1.4!important;padding:10px 12px!important;white-space:normal!important}
.sv26 .sv-trust-mini{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))!important;gap:7px!important}
.sv26 .sv-trustbar{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:9px!important}
.sv26 .sv-trustbrand{grid-column:auto!important}
.sv26 .sv-mini4,.sv26 .sv-health{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))!important}
.sv26 .sv-details td,.sv26 .sv-table th,.sv26 .sv-table td{font-size:14px!important;line-height:1.5!important;padding:10px 8px!important}
.sv26 .sv-details td{word-break:break-word}
.sv26 .sv-reviewrow p,.sv26 .sv-muted,.sv26 .sv-sim small{font-size:14px!important;line-height:1.5!important}
.sv26 .sv-sim a{grid-template-columns:60px minmax(0,1fr) auto!important;gap:10px!important;min-height:60px}
.sv26 :is(.sv-card,.sv-body,.sv-trust,.sv-owner,.sv-trustbar){min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.sv26 .sv-hero-grid{grid-template-columns:minmax(90px,130px) minmax(0,1fr)!important}.sv26 .sv-trust,.sv26 .sv-owner{grid-column:1/-1}}
@media(max-width:680px){.sv26 .sv-hero-grid,.sv26 .sv-grid{grid-template-columns:1fr!important}.sv26 .sv-game{display:none!important}.sv26 .sv-trust,.sv26 .sv-owner{grid-column:auto!important}.sv26 .sv-trust-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sv26 .sv-joinrow{grid-template-columns:44px minmax(0,1fr)}.sv26 .sv-facts{gap:10px!important}}

/* Forms / Community / Marketplace / News */
.as26 .as26-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important}
.as26 :is(.as26-btn,.as26-submit,.as26-title p,.as26-benefit span){line-height:1.55!important}
.as26 :is(button,.as26-btn,input,select,textarea){font-size:15px!important;min-height:44px!important;height:auto!important}
.ssbx :is(.ssbx-btn,.ssbx-submit,.ssbx-dur,.ssbx-form input,.ssbx-form select){min-height:44px!important;height:auto!important;padding:10px 12px!important;line-height:1.4!important}
.ssbx .ssbx-hero h1{font-size:clamp(37px,5vw,64px)!important;line-height:1.08!important}
.ssc1 .ssc1-btn{min-height:44px!important;height:auto!important;padding:10px 15px!important}
.ssc1 .ssc1-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.ssnews26 :is(.ssnews26-card,.ssnews26-hero,.ssnews26-side),.ssna26 :is(.ssna26-body,.ssna26-side){min-width:0;overflow-wrap:anywhere}
.m26 :is(.m26-btn,.m26-action,button,input,select,textarea){min-height:44px!important;font-size:14px!important;line-height:1.4!important}
@media(max-width:950px){.as26 .as26-grid{grid-template-columns:1fr!important}.ssnews26 .ssnews26-layout,.ssna26 .ssna26-pagegrid{grid-template-columns:1fr!important}}
@media(max-width:600px){.ssc1 .ssc1-stats{grid-template-columns:1fr 1fr!important}.ssnews26,.ssna26{padding-inline:0!important}.ssbx .ssbx-hero-in{padding:30px 18px!important}}

/* Standalone Master Server and Server List */
body .ms-page,body .sl-page{font-size:16px;line-height:1.55;min-width:0}
.ms-page :is(.ms-head,.ms-game,.ms-mapstat,.ms-stat),.sl-page :is(.sl-feature,.sl-server,.sl-stat){min-width:0;overflow-wrap:anywhere}
.ms-page :is(.ms-btn,.ms-search,.ms-auth a),.sl-page :is(.sl-tab,.sl-filtergrid input,.sl-filtergrid select,.sl-join){font-size:14px!important;min-height:44px!important;height:auto!important;line-height:1.4!important;padding:10px 12px!important}
.ms-page .ms-topstats,.sl-page .sl-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
.ms-page .ms-games{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
.ms-page .ms-mapbody{grid-template-columns:minmax(150px,1fr) minmax(0,3fr)!important}
.sl-page .sl-filtergrid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}
.sl-page .sl-filtertabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.sl-page .sl-featured{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
@media(max-width:800px){.ms-page .ms-mapbody{grid-template-columns:1fr!important}.sl-page .sl-featured{grid-template-columns:1fr!important}}
@media(max-width:520px){.ms-page .ms-games,.ms-page .ms-topstats,.sl-page .sl-stats{grid-template-columns:1fr 1fr!important}.sl-page .sl-filtergrid{grid-template-columns:1fr!important}}

/* New Server Drop standalone */
body.ss27-latest{font-size:16px;line-height:1.6}
body.ss27-latest :is(.btn,.chip){font-size:14px!important;line-height:1.4!important;min-height:44px;height:auto;padding:10px 13px}
body.ss27-latest :is(.game,.meta b,.meta span,.sharebox span,.footer,.k){font-size:14px!important;line-height:1.5!important}
body.ss27-latest .srv{min-height:240px}
body.ss27-latest .map{height:120px}
body.ss27-latest .meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
body.ss27-latest .actions{flex-wrap:wrap}
body.ss27-latest .actions>a{flex:1 1 160px}
@media(max-width:750px){body.ss27-latest .grid{grid-template-columns:1fr!important}body.ss27-latest .top{height:auto;min-height:65px;padding:9px 0}body.ss27-latest .topin{flex-wrap:wrap}}

/* Admin dashboard: avoid crushing tables and form actions on phones. */
body.ss26-page-admin .ss26-content-wrap{min-width:0;max-width:100%!important}
body.ss26-page-admin :is(.bw-table-wrap,.ss27-table-scroll){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;border-radius:12px}
body.ss26-page-admin .ss27-table-scroll table{min-width:670px;width:max-content;max-width:none}
body.ss26-page-admin :is(td,th,label,small,.small,.bw-mini,.bw-meta,.bw-quote){font-size:14px!important;line-height:1.5!important}
body.ss26-page-admin :is(.btn,button,select,input,textarea){font-size:14px!important;min-height:44px;line-height:1.45!important}
body.ss26-page-admin .bw-table td,body.ss26-page-admin .bw-table th{padding:10px!important;vertical-align:top}
body.ss26-page-admin .bw-edit-grid,body.ss26-page-admin .bw-manual-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
@media(max-width:700px){body.ss26-page-admin .ss26-content-wrap{width:calc(100% - 18px)!important}body.ss26-page-admin .bw-head{flex-wrap:wrap;gap:12px!important}}

/* Real game count replaces public member totals in Master Server. */
.ms-page .ms-avatars .ms-games-count{width:auto!important;min-width:90px!important;height:auto!important;min-height:44px!important;padding:9px 12px!important;border-radius:12px!important;white-space:nowrap;font-size:14px!important}

/* Standalone directory navigation: the same readable controls as shared pages. */
.ssg-header .ssg-nav>a,.ssg-header .ssg-more>button,.ssg-header .ssg-more-menu a,
.ssg-header .ssg-mobile-account a,.ssg-header .ssg-small,.ssg-header .ssg-add,
.ssg-header .ssg-user strong,.ssg-header .ssg-search input{font-size:14px!important;line-height:1.4!important}
.ssg-header .ssg-search input{min-height:44px!important}
.ssg-header .ssg-search{height:auto;min-height:44px}
.ssg-header .ssg-small,.ssg-header .ssg-add,.ssg-header .ssg-icon{height:auto!important;min-height:44px!important;padding:9px 12px!important}
.ssg-header .ssg-icon{min-width:44px!important}
.ssg-header .ssg-user{min-height:44px;height:auto}
@media(max-width:1199px){
 .ssg-header,.ssg-header .ssg-inner{height:auto!important;min-height:64px!important}
 .ssg-header .ssg-inner{gap:9px;flex-wrap:nowrap;padding-block:7px}
 .ssg-header .ssg-burger{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;margin-left:auto;border:1px solid #34496e;border-radius:9px;background:#091326;color:#fff}
 .ssg-header .ssg-nav{display:none!important;position:absolute;top:100%;left:8px;right:8px;height:auto!important;max-height:calc(100dvh - 80px);overflow-y:auto;flex-direction:column;padding:10px;background:#060b16;border:1px solid #30446b;border-radius:12px;box-shadow:0 25px 55px rgba(0,0,0,.55);z-index:2000}
 .ssg-header.open .ssg-nav{display:flex!important}
 .ssg-header .ssg-nav>a,.ssg-header .ssg-more>button{height:auto!important;min-height:44px!important;padding:10px 12px!important;white-space:normal!important;border-bottom:0}
 .ssg-header .ssg-more{width:100%}
 .ssg-header .ssg-more-menu{display:grid!important;position:static;box-shadow:none}
 .ssg-header .ssg-more>button{display:none!important}
 .ssg-header .ssg-mobile-account{display:block!important;border-top:1px solid #1c2a45;padding-top:9px;margin-top:6px}
 .ssg-header .ssg-mobile-account a{display:flex!important;align-items:center;min-height:44px!important;padding:10px 12px!important}
 .ssg-header .ssg-search,.ssg-header .ssg-actions .ssg-small,.ssg-header .ssg-actions .ssg-user,.ssg-header .ssg-actions .ssg-icon{display:none!important}
}
@media(max-width:600px){
 .ssg-header .ssg-brand{width:132px!important;flex-basis:132px!important;min-width:132px!important}
 .ssg-header .ssg-brand img{width:130px!important;max-width:130px!important;object-fit:contain!important}
 .ssg-header .ssg-add{max-width:108px;white-space:normal!important;text-align:center;padding-inline:8px!important}
 .ssg-header .ssg-actions{min-width:0}
}

/* SoulShive 2027 — acțiuni lizibile în profil pentru proprietari */
.ss26-page-profile .ssp-server-actions{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;gap:9px!important}
.ss26-page-profile .ssp-server-actions a{min-height:44px!important;height:auto!important;padding:10px 12px!important;line-height:1.4!important}
