:root{--blue:#66b8e8;--cyan:#9bd8f5;--orange:#4a9fd1;--line:#b9dced;--bg:#eef9ff;--text:#17354a}*{box-sizing:border-box}body{margin:0;font:12px Arial,Helvetica,sans-serif;background:#f5fbff;color:var(--text)}a{color:#287fb4;text-decoration:none}a:hover{text-decoration:underline}.top{background:#66b8e8;color:white}.topbar{max-width:980px;margin:auto;min-height:62px;display:flex;align-items:center;gap:20px;padding:8px 12px}.brand{font-size:30px;font-weight:bold;color:#fff;letter-spacing:-2px}.top nav{margin-left:auto;display:flex;gap:12px;flex-wrap:wrap}.top nav a{color:#fff;font-weight:bold}.search{display:flex;gap:4px;flex:1;max-width:340px}.search input{width:100%;padding:6px;border:1px solid #111}.search button,.btn{background:#e6e6e6;border:1px solid #555;padding:5px 10px;font-weight:bold;cursor:pointer}.subnav{background:#9bd8f5;color:white;text-align:center;padding:6px}.subnav a{color:#fff;font-weight:bold;padding:0 14px;border-right:1px solid #cde}.subnav a:last-child{border:0}.page{max-width:980px;margin:15px auto;padding:0 10px;min-height:70vh}.grid{display:grid;grid-template-columns:300px 1fr;gap:14px}.box{border:1px solid var(--line);margin-bottom:12px;background:white}.box h2,.box h3{margin:0;background:#78c4ec;color:#fff;font-size:14px;padding:5px 7px}.box .orange{background:#4a9fd1}.box .body{padding:9px}.profile-card .name{font-size:20px;font-weight:bold;margin-bottom:8px}.avatar{width:150px;height:150px;object-fit:cover;border:1px solid #777;background:#eee}.tiny-avatar{width:70px;height:70px;object-fit:cover;border:1px solid #999;background:#eee}.contact-grid{display:grid;grid-template-columns:1fr 1fr;border:2px solid #78c4ec}.contact-grid a{padding:5px 8px;border-bottom:1px solid #ccc}.section-title{font-size:14px;font-weight:bold;color:#287fb4;background:#e3f5ff;padding:5px;margin:8px 0}.friends-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center}.friend img{width:80px;height:80px;object-fit:cover}.friend b{display:block}.details td{padding:3px 6px;vertical-align:top}.details td:first-child{font-weight:bold;color:#287fb4;width:125px}.comment{display:grid;grid-template-columns:110px 1fr;gap:10px;border-bottom:1px solid #ddd;padding:10px 0}.comment-author{text-align:center}.forms label{display:block;font-weight:bold;margin:8px 0 3px}.forms input,.forms textarea,.forms select{width:100%;padding:7px;border:1px solid #999}.forms textarea{min-height:100px}.row{display:flex;gap:8px;align-items:center}.btn-primary{background:#4aa7dc;color:#fff;border-color:#001f5b}.btn-danger{background:#b60000;color:#fff}.flash{background:#fff8c6;border:1px solid #e7cf4b;padding:9px;margin-bottom:12px}.hero{background:#dff4ff;border:1px solid #9bd4ef;padding:25px;text-align:center}.hero h1{font-size:30px;color:#287fb4;margin:0 0 8px}.card-list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.person{text-align:center;border:1px solid #ccc;padding:8px}.person img{width:100%;aspect-ratio:1;object-fit:cover}.mail-row,.bulletin-row{padding:8px;border-bottom:1px solid #ccc}.mail-row.unread{font-weight:bold;background:#e9f7ff}.status{font-weight:bold;color:#d00}.profile-custom{overflow:hidden}.profile-custom img{max-width:100%}footer{text-align:center;background:#e6f6ff;border-top:1px solid #b9dced;padding:18px;color:#666}@media(max-width:700px){.topbar{flex-wrap:wrap}.brand{font-size:26px}.search{order:3;flex-basis:100%;max-width:none}.top nav{gap:7px}.grid{grid-template-columns:1fr}.card-list{grid-template-columns:repeat(2,1fr)}.friends-grid{grid-template-columns:repeat(2,1fr)}.subnav a{padding:0 6px}.comment{grid-template-columns:80px 1fr}.avatar{width:130px;height:130px}}
/* Phase 1.3 classic-profile extras */
.online-now{color:#199447;font-weight:bold;font-size:11px;white-space:nowrap}.contact-button{display:block;width:100%;border:0;border-bottom:1px solid #ccc;text-align:left;background:#fff;color:#287fb4;padding:5px 8px;font:12px Arial,Helvetica,sans-serif;font-weight:normal}.contact-button:hover{text-decoration:underline}.contact-item{padding:5px 8px;border-bottom:1px solid #ccc}.profile-card{background:#fff;border:1px solid #b9dced;padding:9px;margin-bottom:12px}
/* Phase 1.5 community pages */
.community-list{display:grid;gap:10px}.community-card{border:1px solid #b9dced;background:#f8fdff;padding:10px}.community-card h3{margin:-10px -10px 8px;background:#dff4ff;color:#287fb4;padding:7px;font-size:14px}.community-card h3 a{color:#287fb4}.community-card p{margin:6px 0}

/* SplashSpace Phase 1.6: profile color consistency */
.box h2.profile-blue,
.box h2.orange {
  background:#9bd8f5 !important;
  color:#174d70 !important;
  border-color:#66b8e8 !important;
}
.profile-page .box h2 {
  background:#9bd8f5;
  color:#174d70;
}

/* SplashSpace Phase 1.7 - classic profile customization */
.profile-page{padding:10px;border:1px solid #b9dced;background-color:#f5fbff;background-size:auto}
.profile-page .box,.profile-page .profile-card{background:rgba(255,255,255,.96)}
.profile-page .box h2,.profile-page .box h3{background:var(--profile-head,#9bd8f5)!important;color:var(--profile-head-text,#174d70)!important;border-color:var(--profile-border,#66b8e8)!important}
.profile-page .section-title{background:var(--profile-soft,#e3f5ff);color:var(--profile-link,#287fb4)}
.profile-page a{color:var(--profile-link,#287fb4)}
.profile-theme-baby_blue{--profile-head:#9bd8f5;--profile-head-text:#174d70;--profile-border:#66b8e8;--profile-soft:#e3f5ff;--profile-link:#287fb4}
.profile-theme-classic_blue{--profile-head:#6698cb;--profile-head-text:#fff;--profile-border:#336699;--profile-soft:#dbe8f5;--profile-link:#003399}
.profile-theme-midnight{--profile-head:#243b64;--profile-head-text:#fff;--profile-border:#152746;--profile-soft:#dce6f5;--profile-link:#244f8f}
.profile-theme-pink{--profile-head:#efb9d2;--profile-head-text:#71344f;--profile-border:#dc91b3;--profile-soft:#fbe7f0;--profile-link:#a84873}
.profile-theme-purple{--profile-head:#c9b9ef;--profile-head-text:#4c3976;--profile-border:#a18ed3;--profile-soft:#eee9fb;--profile-link:#6650a4}
.profile-theme-green{--profile-head:#b8dfc5;--profile-head-text:#295c3b;--profile-border:#83c59a;--profile-soft:#e5f5ea;--profile-link:#31744a}
.profile-bg-plain{background-image:none}
.profile-bg-clouds{background-image:radial-gradient(circle at 20% 25%,rgba(255,255,255,.95) 0 35px,transparent 36px),radial-gradient(circle at 28% 25%,rgba(255,255,255,.85) 0 28px,transparent 29px),linear-gradient(#dff4ff,#f7fcff)}
.profile-bg-stars{background-color:#eaf5ff;background-image:radial-gradient(#6faed5 1px,transparent 1px);background-size:18px 18px}
.profile-bg-checker{background-color:#f4fbff;background-image:linear-gradient(45deg,#dcefff 25%,transparent 25%),linear-gradient(-45deg,#dcefff 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dcefff 75%),linear-gradient(-45deg,transparent 75%,#dcefff 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
.profile-bg-dots{background-color:#f6fcff;background-image:radial-gradient(#9bd8f5 2px,transparent 2px);background-size:20px 20px}
.profile-player{border:1px solid var(--profile-border,#66b8e8);background:#fff;padding:8px}
.profile-player audio{width:100%;max-width:460px}
.profile-player small{display:block;margin-top:4px;color:#666}
.profile-customizer{border:1px solid #b9dced;background:#f6fcff;padding:10px;margin:12px 0}
.profile-customizer h3{margin:-10px -10px 10px;padding:6px 8px;background:#9bd8f5;color:#174d70}
.forms .check-row{display:flex;gap:7px;align-items:center;font-weight:normal}
.forms .check-row input{width:auto}

/* SplashSpace Phase 1.8 - activity/status feed */
.status-post{border:1px solid #b9dced;background:#fff;margin:0 0 12px;padding:10px}
.status-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dcecf5;padding-bottom:7px}
.status-head a{display:flex;align-items:center;gap:7px}
.status-avatar{width:38px;height:38px;object-fit:cover;border:1px solid #8dbbd5}
.status-body{font-size:13px;padding:10px 2px;line-height:1.45}
.status-actions{display:flex;align-items:center;gap:10px;border-top:1px solid #e4f0f7;padding-top:7px;color:#5d7180}
.status-actions form{display:inline}
.link-button{border:0;background:none;color:#287fb4;padding:0;cursor:pointer;font:inherit;text-decoration:underline}
.status-comment{margin:7px 0 0 46px;background:#eef9ff;border:1px solid #d4ebf7;padding:6px}
.status-comment-form{display:flex;gap:5px;margin:8px 0 0 46px}
.status-comment-form input{flex:1;padding:6px;border:1px solid #9db8c8}
.profile-status{padding:8px 0;border-bottom:1px solid #dbeaf2}
.profile-status:last-child{border-bottom:0}
.profile-status small{display:block;color:#6a7b87;margin-top:4px}
@media(max-width:700px){.status-comment,.status-comment-form{margin-left:0}}

/* SplashSpace Phase 2.1 - profile restoration and blue consistency */
.profile-page .profile-card{
  display:block!important;
  background:#fff!important;
  border:2px solid var(--profile-border,#66b8e8)!important;
  padding:10px!important;
  margin-bottom:12px!important;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.profile-page .details{
  width:100%;
  border-collapse:collapse;
}
.profile-page .details td{
  border-bottom:1px solid #dbeaf2;
  padding:6px 7px;
}
.profile-page .details td:first-child{
  background:var(--profile-soft,#e3f5ff)!important;
  color:var(--profile-link,#287fb4)!important;
  font-weight:bold!important;
  width:125px;
}
.profile-page .section-title{
  background:var(--profile-soft,#e3f5ff)!important;
  color:var(--profile-link,#287fb4)!important;
  border-left:4px solid var(--profile-border,#66b8e8)!important;
}
.profile-page .custom-welcome h2{
  background:var(--profile-head,#9bd8f5)!important;
  color:var(--profile-head-text,#174d70)!important;
}
.profile-page.layout-wide .grid{grid-template-columns:260px minmax(0,1fr)}
.profile-page.layout-compact .grid{grid-template-columns:240px minmax(0,1fr);gap:8px}
.profile-page.layout-compact .box{margin-bottom:8px}
@media(max-width:700px){
  .profile-page.layout-wide .grid,.profile-page.layout-compact .grid{grid-template-columns:1fr}
}

/* SplashSpace Phase 2.2 - classic profile identity header */
.profile-page .profile-card{
  padding:0!important;
  overflow:hidden;
}
.profile-page .profile-card-title{
  margin:0;
  padding:6px 8px;
  background:var(--profile-head,#9bd8f5)!important;
  color:var(--profile-head-text,#174d70)!important;
  border-bottom:1px solid var(--profile-border,#66b8e8);
  font-size:14px;
  font-weight:bold;
}
.profile-page .profile-card-body{
  padding:10px;
  background:#fff;
}
.profile-page .profile-card-welcome{
  margin:0 0 10px;
  padding:7px 9px;
  background:var(--profile-soft,#e3f5ff);
  color:var(--profile-link,#287fb4);
  border:1px solid var(--profile-border,#66b8e8);
}
.profile-page .profile-card .name{
  color:var(--profile-link,#287fb4);
}

/* SplashSpace Phase 2.3 - screenshot-style profile dashboard card */
.profile-dashboard-card{
  border:1px solid #9fc8e3;
  background:#fff;
  margin-bottom:12px;
}
.profile-dashboard-title{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px;
  background:#6ea6d3;
  color:#fff;
  font-size:14px;
  font-weight:bold;
}
.profile-dashboard-title a{
  color:#fff!important;
  font-weight:normal;
}
.profile-dashboard-body{
  text-align:center;
  padding:10px 12px 0;
}
.profile-dashboard-avatar{
  width:150px;
  height:150px;
  object-fit:cover;
  display:block;
  margin:0 auto 12px;
  border:1px solid #7f8a92;
  background:#e3e3e3;
}
.profile-dashboard-welcome{
  font-weight:bold;
  font-size:13px;
  color:#111;
  margin:4px 0 10px;
}
.profile-dashboard-message{
  max-width:520px;
  margin:0 auto 10px;
  color:#334b5c;
}
.profile-dashboard-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.profile-dashboard-actions a{
  color:#1e6fa6!important;
}
.profile-dashboard-stats{
  border-top:1px solid #d7dde2;
  padding:10px 4px;
  text-align:left;
  max-width:520px;
  margin:0 auto;
}
.profile-dashboard-stats>div{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:12px;
  padding:4px 0;
}
.profile-dashboard-stats b{
  color:#111;
}
.profile-dashboard-headline{
  font-style:italic;
  margin:2px auto 8px;
  max-width:520px;
}
.profile-dashboard-status{
  margin:0 auto 12px;
  max-width:520px;
}
.profile-dashboard-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #d6e3ed;
  background:#eaf6ff;
  margin:0 -12px;
}
.profile-dashboard-links a{
  padding:10px 6px;
  color:#1e6fa6!important;
  border-right:1px solid #c8d9e5;
}
.profile-dashboard-links a:last-child{
  border-right:0;
}
@media(max-width:700px){
  .profile-dashboard-title{font-size:13px}
  .profile-dashboard-stats>div{grid-template-columns:110px 1fr}
  .profile-dashboard-links{grid-template-columns:1fr}
  .profile-dashboard-links a{border-right:0;border-bottom:1px solid #c8d9e5}
  .profile-dashboard-links a:last-child{border-bottom:0}
}


/* ============================================================
   SplashSpace Phase 2.4 - BRAND NEW SITE-WIDE LAYOUT
   ============================================================ */

:root{
  --ss-blue:#72bce8;
  --ss-blue-dark:#3e89bd;
  --ss-blue-deep:#236894;
  --ss-pale:#eaf7ff;
  --ss-soft:#f7fcff;
  --ss-line:#b9dced;
  --ss-ink:#18384d;
  --ss-muted:#647b8b;
  --ss-card:#ffffff;
  --ss-shadow:0 8px 24px rgba(49,112,151,.10);
}

body{
  background:
    linear-gradient(180deg,#dff3ff 0,#f7fcff 185px,#eef8fd 100%);
  color:var(--ss-ink);
  font:13px/1.45 Arial,Helvetica,sans-serif;
}

/* New masthead */
.site-shell-header{
  background:#fff;
  border-bottom:1px solid #a9d2ea;
  box-shadow:0 3px 14px rgba(44,105,143,.10);
}
.masthead{
  width:min(1180px,calc(100% - 28px));
  min-height:82px;
  margin:auto;
  display:grid;
  grid-template-columns:auto minmax(240px,1fr) auto;
  align-items:center;
  gap:28px;
}
.splash-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ss-blue-deep)!important;
  text-decoration:none!important;
}
.splash-brand img{
  width:46px;
  height:46px;
  border-radius:12px;
}
.splash-brand span{display:flex;flex-direction:column;line-height:1}
.splash-brand strong{
  font-size:27px;
  letter-spacing:-1.5px;
}
.splash-brand small{
  margin-top:5px;
  color:#6594b1;
  font-size:11px;
  font-weight:bold;
  letter-spacing:.2px;
}
.global-search{
  display:flex;
  max-width:520px;
  width:100%;
  justify-self:center;
}
.global-search input{
  flex:1;
  min-width:0;
  border:1px solid #9dc9e3;
  border-right:0;
  border-radius:9px 0 0 9px;
  padding:10px 12px;
  background:#f9fdff;
  outline:0;
}
.global-search input:focus{
  border-color:var(--ss-blue-dark);
  box-shadow:0 0 0 3px rgba(114,188,232,.16);
}
.global-search button{
  border:1px solid var(--ss-blue-dark);
  border-radius:0 9px 9px 0;
  background:var(--ss-blue);
  color:#fff;
  padding:0 18px;
  font-weight:bold;
  cursor:pointer;
}
.account-area{
  display:flex;
  align-items:center;
  gap:10px;
}
.account-chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 9px 5px 5px;
  border:1px solid #c5e3f4;
  border-radius:999px;
  background:#f4fbff;
  color:var(--ss-blue-deep)!important;
  font-weight:bold;
  text-decoration:none!important;
}
.account-chip img{
  width:30px;
  height:30px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #8fbfdc;
}
.header-signout,.header-login{
  color:var(--ss-blue-deep)!important;
  font-weight:bold;
}
.header-join{
  background:var(--ss-blue-dark);
  color:#fff!important;
  padding:8px 12px;
  border-radius:7px;
  font-weight:bold;
  text-decoration:none!important;
}

.main-nav-wrap{
  background:linear-gradient(#80c8ef,#63afe0);
  border-top:1px solid #a8d9f3;
  border-bottom:1px solid #4d9cca;
}
.main-nav{
  width:min(1180px,calc(100% - 28px));
  min-height:42px;
  margin:auto;
  display:flex;
  align-items:stretch;
  overflow-x:auto;
}
.main-nav a{
  position:relative;
  display:flex;
  align-items:center;
  padding:0 16px;
  color:#fff!important;
  font-weight:bold;
  text-decoration:none!important;
  border-right:1px solid rgba(255,255,255,.22);
  white-space:nowrap;
}
.main-nav a:hover{background:rgba(28,100,145,.18)}
.nav-badge{
  display:inline-grid;
  place-items:center;
  min-width:18px;
  height:18px;
  margin-left:5px;
  padding:0 5px;
  border-radius:999px;
  background:#fff;
  color:#367fae;
  font-size:10px;
}
.community-nav{
  background:#eff9ff;
  border-bottom:1px solid #c5e3f3;
}
.community-nav-inner{
  width:min(1180px,calc(100% - 28px));
  margin:auto;
  min-height:34px;
  display:flex;
  align-items:center;
  gap:3px;
  overflow-x:auto;
  white-space:nowrap;
}
.community-nav-inner span{
  color:#7a93a3;
  font-weight:bold;
  margin-right:3px;
}
.community-nav-inner a{
  color:#397ea9!important;
  padding:5px 9px;
  border-radius:5px;
}
.community-nav-inner a:hover{
  background:#d9f1ff;
  text-decoration:none;
}

/* Main content shell */
.page.page-new-layout{
  width:min(1180px,calc(100% - 28px));
  max-width:none;
  margin:24px auto 34px;
  padding:0;
  min-height:68vh;
}
.page-new-layout .grid{
  grid-template-columns:minmax(260px,330px) minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.page-new-layout .box,
.page-new-layout .profile-card,
.page-new-layout .profile-dashboard-card,
.page-new-layout .community-card,
.page-new-layout .person{
  border:1px solid var(--ss-line);
  border-radius:10px;
  background:var(--ss-card);
  box-shadow:var(--ss-shadow);
  overflow:hidden;
}
.page-new-layout .box{
  margin-bottom:18px;
}
.page-new-layout .box h2,
.page-new-layout .box h3{
  padding:9px 12px;
  background:linear-gradient(180deg,#8dcff1,#6db7e2)!important;
  color:#fff!important;
  font-size:14px;
  border:0!important;
}
.page-new-layout .box .body{
  padding:14px;
}
.page-new-layout .section-title{
  margin:12px 0 7px;
  padding:7px 9px;
  background:#e8f7ff!important;
  border:1px solid #c6e8f8;
  border-left:4px solid #67b4df!important;
  border-radius:5px;
  color:#2c739d!important;
}
.page-new-layout .profile-page{
  border:0;
  padding:0;
  background:transparent;
}
.page-new-layout .profile-page>.grid{
  gap:20px;
}
.page-new-layout .profile-dashboard-card{
  border-radius:10px;
}
.page-new-layout .profile-dashboard-title{
  min-height:40px;
  padding:8px 12px;
  background:linear-gradient(180deg,#8dcff1,#68b4df);
  font-size:15px;
}
.page-new-layout .profile-dashboard-body{
  padding:18px 16px 0;
}
.page-new-layout .profile-dashboard-avatar{
  width:170px;
  height:170px;
  border:4px solid #fff;
  outline:1px solid #97bfd7;
  border-radius:9px;
  box-shadow:0 5px 15px rgba(35,104,148,.12);
}
.page-new-layout .profile-dashboard-links{
  margin:14px -16px 0;
  background:#eef9ff;
}
.page-new-layout .profile-dashboard-links a{
  padding:11px 7px;
}
.page-new-layout .contact-grid{
  border:0;
  grid-template-columns:1fr;
}
.page-new-layout .contact-grid a,
.page-new-layout .contact-item,
.page-new-layout .contact-button{
  padding:8px 10px;
  border:0;
  border-bottom:1px solid #e1edf4;
  background:#fff;
}
.page-new-layout .details{
  border-collapse:separate;
  border-spacing:0 4px;
}
.page-new-layout .details td{
  border:0;
  padding:8px;
}
.page-new-layout .details td:first-child{
  background:#e8f7ff!important;
  border-radius:5px 0 0 5px;
}
.page-new-layout .details td:last-child{
  background:#fbfdff;
  border-radius:0 5px 5px 0;
}
.page-new-layout .friends-grid{
  gap:12px;
}
.page-new-layout .friend{
  display:block;
  padding:8px;
  border:1px solid #d7eaf5;
  border-radius:8px;
  background:#f9fdff;
  text-decoration:none!important;
}
.page-new-layout .friend img{
  width:100%;
  max-width:100px;
  height:100px;
  border-radius:6px;
}
.page-new-layout .comment{
  border-bottom:1px solid #e3eef5;
  padding:12px 0;
}
.page-new-layout .tiny-avatar{
  border-radius:7px;
}

/* Forms/buttons */
.page-new-layout .forms input,
.page-new-layout .forms textarea,
.page-new-layout .forms select{
  border:1px solid #aecfe2;
  border-radius:7px;
  padding:9px 10px;
  background:#fbfeff;
  outline:0;
}
.page-new-layout .forms input:focus,
.page-new-layout .forms textarea:focus,
.page-new-layout .forms select:focus{
  border-color:#5ea9d6;
  box-shadow:0 0 0 3px rgba(114,188,232,.14);
}
.page-new-layout .btn,
.page-new-layout button.btn{
  border:1px solid #91b8cf;
  border-radius:7px;
  padding:7px 12px;
  background:#eef7fc;
  color:#275f81;
}
.page-new-layout .btn-primary{
  border-color:#438db9;
  background:linear-gradient(#72bce8,#58a7d7);
  color:#fff;
}
.page-new-layout .flash{
  border:1px solid #8fcae9;
  border-radius:8px;
  background:#e8f7ff;
  color:#235d80;
  box-shadow:var(--ss-shadow);
}

/* Home & people cards */
.page-new-layout .hero{
  border:1px solid #a8d8f1;
  border-radius:12px;
  background:
    radial-gradient(circle at 86% 30%,rgba(255,255,255,.95) 0 65px,transparent 66px),
    linear-gradient(135deg,#dff4ff,#f7fcff);
  box-shadow:var(--ss-shadow);
  padding:38px 30px;
}
.page-new-layout .hero h1{
  color:#276f9b;
  font-size:34px;
}
.page-new-layout .card-list{
  gap:15px;
}
.page-new-layout .person{
  padding:10px;
  box-shadow:none;
}
.page-new-layout .person img{
  border-radius:7px;
}
.page-new-layout .mail-row,
.page-new-layout .bulletin-row{
  padding:11px;
  border-bottom:1px solid #e1edf4;
}
.page-new-layout .mail-row.unread{
  background:#e9f7ff;
}

/* Feed */
.page-new-layout .status-post{
  border:1px solid #c4deed;
  border-radius:9px;
  box-shadow:0 3px 12px rgba(49,112,151,.06);
}
.page-new-layout .status-avatar{
  border-radius:50%;
}
.page-new-layout .status-comment{
  border-radius:7px;
}

/* Admin tables */
.page-new-layout table[border="1"]{
  border-collapse:collapse;
  border:0;
}
.page-new-layout table[border="1"] th{
  background:#e7f6ff;
  color:#2c6f98;
}
.page-new-layout table[border="1"] th,
.page-new-layout table[border="1"] td{
  border:1px solid #d2e6f2;
}

/* Footer */
.site-footer{
  background:#dff2fc;
  border-top:1px solid #b6dced;
  color:#5c7889;
}
.footer-inner{
  width:min(1180px,calc(100% - 28px));
  min-height:84px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.footer-inner>div{
  display:flex;
  flex-direction:column;
}
.footer-inner strong{
  color:#337ca8;
  font-size:17px;
}
.footer-inner small{margin-top:4px}
.footer-inner nav{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}
.footer-inner a{color:#397da7}

/* Responsive layout */
@media(max-width:920px){
  .masthead{
    grid-template-columns:auto 1fr;
    gap:12px 18px;
    padding:10px 0;
  }
  .global-search{
    grid-column:1/-1;
    grid-row:2;
    max-width:none;
  }
  .account-area{justify-self:end}
}
@media(max-width:760px){
  .page.page-new-layout,
  .masthead,
  .main-nav,
  .community-nav-inner,
  .footer-inner{
    width:min(100% - 18px,1180px);
  }
  .masthead{
    grid-template-columns:1fr auto;
  }
  .splash-brand strong{font-size:23px}
  .splash-brand small{display:none}
  .account-chip span{display:none}
  .header-signout{display:none}
  .page-new-layout .grid,
  .page-new-layout .profile-page>.grid{
    grid-template-columns:1fr!important;
    gap:12px;
  }
  .page-new-layout .card-list{
    grid-template-columns:repeat(2,1fr);
  }
  .page-new-layout .profile-dashboard-avatar{
    width:145px;
    height:145px;
  }
  .footer-inner{
    padding:18px 0;
    flex-direction:column;
    align-items:flex-start;
  }
}
@media(max-width:480px){
  .splash-brand img{width:38px;height:38px}
  .header-join{padding:7px 8px;font-size:11px}
  .main-nav a{padding:0 12px}
  .community-nav-inner a{padding:5px 7px}
  .page-new-layout .card-list{grid-template-columns:1fr 1fr}
  .page-new-layout .friends-grid{grid-template-columns:repeat(2,1fr)}
}


/* ============================================================
   SplashSpace Phase 2.5 - TOTAL REDESIGN
   Entirely new dark-sidebar social dashboard shell
   ============================================================ */

.neo-body{
  margin:0;
  background:#f3f7fa;
  color:#20313d;
  font:14px/1.5 Arial,Helvetica,sans-serif;
}
.neo-app{min-height:100vh;display:flex}
.neo-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  width:248px;
  background:linear-gradient(180deg,#102433 0%,#0a1822 100%);
  color:#d9e8f2;
  padding:18px 14px;
  display:flex;
  flex-direction:column;
  z-index:50;
  box-shadow:8px 0 26px rgba(10,34,49,.12);
}
.neo-logo{
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:22px;
  font-weight:800;
  padding:2px 8px 18px;
}
.neo-logo img{width:38px;height:38px;border-radius:10px}
.neo-user-card{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff!important;
  text-decoration:none!important;
  padding:10px;
  margin-bottom:15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.045);
}
.neo-user-card img{
  width:42px;height:42px;object-fit:cover;border-radius:12px;
  border:1px solid rgba(255,255,255,.18)
}
.neo-user-card span{display:flex;flex-direction:column;min-width:0}
.neo-user-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.neo-user-card small{color:#8fb0c4}
.neo-menu{display:grid;gap:4px}
.neo-menu a{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:42px;
  padding:0 11px;
  color:#bed0db!important;
  text-decoration:none!important;
  border-radius:10px;
  font-weight:600;
}
.neo-menu a:hover{background:#17384d;color:#fff!important}
.neo-menu a span{width:20px;text-align:center;font-size:16px;color:#79c7f2}
.neo-menu a b{
  margin-left:auto;
  background:#58afe1;
  color:#06243a;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-size:10px
}
.neo-side-bottom{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px 13px;
  padding:16px 8px 4px;
  border-top:1px solid rgba(255,255,255,.07)
}
.neo-side-bottom a{color:#84a9be!important;font-size:12px}
.neo-join-small{color:#8fd5fa!important;font-weight:bold}
.neo-workspace{margin-left:248px;width:calc(100% - 248px);min-height:100vh;display:flex;flex-direction:column}
.neo-topbar{
  min-height:78px;
  display:grid;
  grid-template-columns:auto minmax(280px,560px) auto;
  align-items:center;
  gap:24px;
  padding:0 30px;
  background:#fff;
  border-bottom:1px solid #dde7ed;
  position:sticky;
  top:0;
  z-index:30;
}
.neo-topbar small{display:block;color:#91a2ad;font-size:10px;text-transform:uppercase;letter-spacing:1px;font-weight:bold}
.neo-topbar h1{font-size:21px;margin:1px 0 0;color:#172b37}
.neo-search{display:flex;background:#f2f6f8;border:1px solid #e0e8ed;border-radius:12px;overflow:hidden}
.neo-search input{flex:1;border:0;background:transparent;padding:10px 12px;outline:0;min-width:0}
.neo-search button{width:44px;border:0;background:transparent;color:#5085a2;font-size:20px;cursor:pointer}
.neo-top-actions{justify-self:end;display:flex;align-items:center;gap:9px}
.neo-top-actions>a{color:#4b7289}
.neo-primary-link{background:#58afe1;color:#fff!important;padding:8px 13px;border-radius:9px;text-decoration:none!important;font-weight:bold}
.neo-round{
  width:38px;height:38px;border-radius:50%;background:#f1f6f9;
  display:grid!important;place-items:center;text-decoration:none!important;position:relative
}
.neo-round em{
  position:absolute;right:-3px;top:-3px;background:#ef5a6f;color:#fff;
  min-width:18px;height:18px;border-radius:999px;display:grid;place-items:center;font-size:9px;font-style:normal
}
.neo-mobile-nav{display:none}
.neo-page{
  width:min(1240px,calc(100% - 44px))!important;
  max-width:none!important;
  margin:26px auto 36px!important;
  padding:0!important;
  min-height:70vh;
}
.neo-footer{
  margin-top:auto;
  padding:20px 30px;
  border-top:1px solid #dce7ed;
  background:#fff;
  color:#81939e;
  display:flex;
  justify-content:space-between;
}
.neo-footer nav{display:flex;gap:14px}
.neo-footer a{color:#66879b}

/* universal components */
.neo-page .box,
.neo-page .profile-dashboard-card,
.neo-page .profile-card,
.neo-page .community-card,
.neo-page .person{
  background:#fff!important;
  border:1px solid #e0e9ee!important;
  border-radius:16px!important;
  box-shadow:0 10px 28px rgba(32,70,91,.06)!important;
  overflow:hidden;
}
.neo-page .box{margin-bottom:18px}
.neo-page .box h2,.neo-page .box h3{
  background:#fff!important;color:#173445!important;
  border:0!important;border-bottom:1px solid #edf2f5!important;
  padding:13px 16px!important;font-size:15px!important
}
.neo-page .box .body{padding:16px!important}
.neo-page .grid{grid-template-columns:minmax(270px,340px) minmax(0,1fr);gap:20px}
.neo-page .btn{
  border:1px solid #d3e0e7!important;background:#f5f8fa!important;color:#345f77!important;
  border-radius:10px!important;padding:8px 13px!important
}
.neo-page .btn-primary{
  background:#4fa9dc!important;color:#fff!important;border-color:#4fa9dc!important
}
.neo-page .forms input,.neo-page .forms textarea,.neo-page .forms select{
  border:1px solid #d6e1e7!important;border-radius:10px!important;background:#fbfcfd!important;padding:10px!important
}
.neo-page .forms input:focus,.neo-page .forms textarea:focus,.neo-page .forms select:focus{
  border-color:#68b4de!important;box-shadow:0 0 0 3px rgba(79,169,220,.12)!important
}
.neo-page .flash{
  background:#e9f7ff!important;border:1px solid #b9dff3!important;color:#275b77!important;border-radius:12px!important;padding:11px 14px!important
}

/* Modern Home dashboard */
.neo-dashboard{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:24px;
  align-items:start
}
.neo-main-column,.neo-right-column{min-width:0}
.neo-composer{
  display:grid;
  grid-template-columns:50px 1fr;
  gap:13px;
  background:#fff;
  border:1px solid #dfe9ee;
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 28px rgba(32,70,91,.06)
}
.neo-composer>img{width:50px;height:50px;border-radius:14px;object-fit:cover}
.neo-composer form{min-width:0}
.neo-composer textarea{
  width:100%;min-height:78px;resize:vertical;border:0;outline:0;background:#f5f8fa;border-radius:12px;padding:12px;box-sizing:border-box;font:inherit
}
.neo-composer form>div{display:flex;align-items:center;justify-content:space-between;margin-top:9px}
.neo-composer form span{font-size:12px;color:#8a9ca7}
.neo-post-btn{border:0;border-radius:9px;background:#4ea8db;color:#fff;font-weight:bold;padding:8px 16px;cursor:pointer}
.neo-section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 2px 12px}
.neo-section-heading h2{font-size:18px;margin:0}
.neo-section-heading a{font-size:12px;color:#4e91b7}
.neo-empty{background:#fff;border:1px dashed #cfdde5;border-radius:14px;padding:25px;text-align:center;color:#80939f}
.neo-feed-card{
  background:#fff;border:1px solid #e0e9ee;border-radius:16px;padding:16px;margin-bottom:13px;
  box-shadow:0 8px 22px rgba(32,70,91,.045)
}
.neo-feed-head{display:flex;gap:10px;align-items:center}
.neo-feed-head img{width:44px;height:44px;border-radius:13px;object-fit:cover}
.neo-feed-head>div{display:flex;flex-direction:column}
.neo-feed-head a{color:#173b50}
.neo-feed-head small{color:#91a1aa}
.neo-feed-text{padding:15px 2px 12px;font-size:14px;color:#2b3d48}
.neo-feed-meta{border-top:1px solid #edf2f5;padding-top:10px;display:flex;gap:16px;color:#83959f;font-size:12px}
.neo-feed-meta a{margin-left:auto;color:#4d8bad}
.neo-profile-summary{
  text-align:center;background:linear-gradient(180deg,#132b3b 0 84px,#fff 84px);
  border-radius:18px;border:1px solid #dfe8ed;padding:32px 18px 18px;box-shadow:0 10px 28px rgba(32,70,91,.07)
}
.neo-profile-summary>img{width:104px;height:104px;border:5px solid #fff;border-radius:26px;object-fit:cover;box-shadow:0 5px 18px rgba(0,0,0,.12)}
.neo-profile-summary h2{margin:10px 0 0;font-size:20px}
.neo-profile-summary p{margin:2px 0 9px;color:#8999a3}
.neo-profile-summary>strong{display:block;font-size:12px;color:#476274}
.neo-summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.neo-summary-actions a{padding:8px;border-radius:9px;text-decoration:none;background:#eff6fa;color:#3e748f;font-weight:bold;font-size:12px}
.neo-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}
.neo-stat-grid a{background:#fff;border:1px solid #e0e9ee;border-radius:13px;padding:12px;text-decoration:none;color:#526c7b;display:flex;flex-direction:column}
.neo-stat-grid b{font-size:18px;color:#1f4f69}
.neo-stat-grid span{font-size:11px}
.neo-panel{background:#fff;border:1px solid #e0e9ee;border-radius:16px;padding:14px;margin-bottom:12px}
.neo-panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.neo-panel-title h3{font-size:14px;margin:0}
.neo-panel-title a{font-size:11px;color:#4f8ead}
.neo-friend-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.neo-friend-strip a{text-align:center;text-decoration:none;color:#516e7d;font-size:10px;min-width:0}
.neo-friend-strip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:11px}
.neo-friend-strip span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.neo-bulletin{display:grid;gap:2px;padding:9px 0;border-bottom:1px solid #edf2f5}
.neo-bulletin:last-child{border-bottom:0}
.neo-bulletin a{font-size:11px;color:#5a91ad}
.neo-bulletin strong{font-size:12px}
.neo-bulletin small{font-size:10px;color:#9aa8b0}
.neo-muted{color:#8da0ab}

/* Profile becomes a clean creator-profile layout, not classic MySpace shell */
.neo-page .profile-page{
  border:0!important;background:transparent!important;padding:0!important;
}
.neo-page .profile-dashboard-card{
  border:0!important;
  background:linear-gradient(180deg,#122b3b 0 130px,#fff 130px)!important;
  padding:30px 22px 20px!important
}
.neo-page .profile-dashboard-title{
  background:transparent!important;border:0!important;color:#fff!important;padding:0 0 12px!important
}
.neo-page .profile-dashboard-title a{color:#9bdcff!important}
.neo-page .profile-dashboard-body{padding:0!important;background:transparent!important}
.neo-page .profile-dashboard-avatar{
  width:150px!important;height:150px!important;border-radius:32px!important;border:6px solid #fff!important;
  outline:0!important;box-shadow:0 8px 24px rgba(0,0,0,.16)!important
}
.neo-page .profile-dashboard-welcome{font-size:20px!important;margin-top:12px!important}
.neo-page .profile-dashboard-message{color:#667e8c!important}
.neo-page .profile-dashboard-stats{
  display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:8px!important;border:0!important;max-width:none!important
}
.neo-page .profile-dashboard-stats>div{
  display:flex!important;flex-direction:column!important;gap:1px!important;background:#f4f8fa!important;border-radius:10px!important;padding:10px!important
}
.neo-page .profile-dashboard-stats b{font-size:10px!important;color:#8b9ca6!important;text-transform:uppercase}
.neo-page .profile-dashboard-links{
  border:0!important;background:#f2f7fa!important;border-radius:12px!important;margin:12px 0 0!important;overflow:hidden!important
}
.neo-page .profile-dashboard-links a{border:0!important;padding:9px!important}
.neo-page .contact-grid{grid-template-columns:1fr!important;border:0!important}
.neo-page .contact-grid a,.neo-page .contact-grid .contact-item,.neo-page .contact-grid .contact-button{
  border:0!important;border-bottom:1px solid #edf2f5!important;padding:9px 12px!important
}
.neo-page .details td:first-child{background:#eef5f8!important;color:#426f87!important;border-radius:8px!important}
.neo-page .section-title{background:#eef6fa!important;color:#3d728c!important;border:0!important;border-radius:9px!important}
.neo-page .friend{border:0!important;background:#f5f8fa!important;border-radius:12px!important}
.neo-page .friend img{border-radius:10px!important}

/* old site shell completely hidden if any old classes remain */
.neo-body>.top,.neo-body>.subnav,.neo-body>.site-shell-header{display:none!important}

@media(max-width:1020px){
  .neo-sidebar{width:210px}
  .neo-workspace{margin-left:210px;width:calc(100% - 210px)}
  .neo-dashboard{grid-template-columns:minmax(0,1fr) 285px}
  .neo-topbar{grid-template-columns:auto minmax(220px,1fr) auto;padding:0 20px}
}
@media(max-width:780px){
  .neo-sidebar{display:none}
  .neo-workspace{margin-left:0;width:100%}
  .neo-topbar{
    min-height:64px;grid-template-columns:1fr auto;padding:0 14px
  }
  .neo-topbar>div:first-child small{display:none}
  .neo-topbar h1{font-size:18px}
  .neo-search{display:none}
  .neo-mobile-nav{
    display:flex;gap:4px;overflow-x:auto;padding:8px 10px;background:#102433;position:sticky;top:64px;z-index:29
  }
  .neo-mobile-nav a{color:#cbe1ee!important;padding:7px 10px;white-space:nowrap;text-decoration:none;border-radius:8px}
  .neo-mobile-nav a:hover{background:#1c4056}
  .neo-page{width:calc(100% - 18px)!important;margin:14px auto 24px!important}
  .neo-dashboard{grid-template-columns:1fr}
  .neo-right-column{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .neo-profile-summary{grid-column:1/-1}
  .neo-panel{margin:0}
  .neo-page .grid{grid-template-columns:1fr!important}
  .neo-footer{padding:16px 12px}
}
@media(max-width:520px){
  .neo-right-column{display:block}
  .neo-panel{margin-bottom:10px}
  .neo-composer{grid-template-columns:40px 1fr;padding:12px}
  .neo-composer>img{width:40px;height:40px}
  .neo-profile-summary{padding-left:12px;padding-right:12px}
  .neo-footer{flex-direction:column;gap:8px}
  .neo-page .profile-dashboard-stats{grid-template-columns:1fr!important}
}

/* SplashSpace Phase 2.7 - Custom HTML Studio */
.html-studio{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;align-items:start}
.html-editor-panel,.html-preview-panel{background:#fff;border:1px solid #dfe9ee;border-radius:16px;padding:18px;box-shadow:0 10px 28px rgba(32,70,91,.06)}
.html-studio-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.html-studio-heading small{color:#7f96a4;font-size:10px;font-weight:bold;letter-spacing:1px}
.html-studio-heading h2{margin:2px 0 0;font-size:22px}
.html-help{background:#edf8fe;border:1px solid #c8e7f6;border-radius:11px;padding:11px 13px;margin-bottom:14px;color:#3a657d}
.html-editor-panel label{display:block;font-weight:bold;margin:13px 0 6px}
.html-editor-panel textarea{width:100%;box-sizing:border-box;min-height:240px;padding:12px;border:1px solid #d0dee6;border-radius:11px;background:#101b24;color:#d9eef9;font:13px/1.5 Consolas,"Courier New",monospace;resize:vertical}
.html-editor-panel textarea#profileCss{min-height:180px}
.studio-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:9px}
.studio-toolbar button{border:1px solid #c7dce8;background:#f1f7fa;color:#3e7089;border-radius:9px;padding:7px 10px;cursor:pointer}
.studio-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}
.html-preview-panel{position:sticky;top:98px}
.html-preview-title{font-size:15px;font-weight:bold;margin-bottom:10px}
.html-preview-panel iframe{width:100%;height:560px;border:1px solid #dbe6ec;border-radius:11px;background:#fff}
@media(max-width:900px){.html-studio{grid-template-columns:1fr}.html-preview-panel{position:static}.html-preview-panel iframe{height:420px}}

/* SplashSpace Phase 2.8 - Admin Center */
.admin-modern{display:grid;gap:18px}.admin-hero{background:linear-gradient(135deg,#102433,#1c526f);color:#fff;border-radius:20px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 12px 30px rgba(15,36,51,.15)}
.admin-identity{display:flex;align-items:center;gap:16px}.admin-identity img{width:78px;height:78px;object-fit:cover;border-radius:20px;border:3px solid rgba(255,255,255,.8)}.admin-identity small{color:#8fd3f7;font-weight:bold;letter-spacing:1px}.admin-identity h2{margin:2px 0;font-size:25px}.admin-identity p{margin:3px 0;color:#c5d9e5}.admin-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-stat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.admin-stat-grid div{background:#fff;border:1px solid #dfe9ee;border-radius:14px;padding:15px;display:flex;flex-direction:column;box-shadow:0 7px 20px rgba(32,70,91,.05)}.admin-stat-grid b{font-size:24px;color:#214e67}.admin-stat-grid span{font-size:11px;color:#8497a3}.admin-panel{background:#fff;border:1px solid #dfe9ee;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(32,70,91,.05)}.admin-panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.admin-panel-title small{color:#7f96a4;font-size:10px;font-weight:bold;letter-spacing:1px}.admin-panel-title h3{margin:2px 0;font-size:18px}.admin-inline-form,.admin-search{display:flex;gap:8px;align-items:center}.admin-inline-form input,.admin-search input,.admin-search select,.admin-user-actions select{border:1px solid #d4e1e8;border-radius:9px;padding:8px 10px;background:#fbfdfe}.admin-inline-form input{min-width:280px}.admin-users-title{align-items:flex-end}.admin-user-list{display:grid}.admin-user-row{display:grid;grid-template-columns:minmax(260px,1.4fr) auto 110px auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #edf2f5}.admin-user-main{display:flex;align-items:center;gap:10px;color:#244b61!important;text-decoration:none!important;min-width:0}.admin-user-main img{width:46px;height:46px;border-radius:12px;object-fit:cover;background:#eef3f6}.admin-user-main span{display:flex;flex-direction:column;min-width:0}.admin-user-main small{color:#8699a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user-meta{display:flex;gap:6px}.admin-user-meta span{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:bold}.admin-role{background:#edf6fb;color:#3f7692}.admin-active{background:#e6f7ed;color:#2a7d4a}.admin-banned{background:#fdebed;color:#a33d4a}.admin-user-date{display:flex;flex-direction:column}.admin-user-date small{color:#94a3ac}.admin-user-actions{display:flex;align-items:center;gap:6px}.admin-you{color:#7d919d;font-size:12px}

/* HTML Studio v2 */
.studio-v2{display:grid;gap:16px}.studio-v2-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.studio-v2-head small{font-size:10px;font-weight:bold;color:#7790a0;letter-spacing:1px}.studio-v2-head h2{font-size:27px;margin:2px 0}.studio-v2-head p{margin:2px 0;color:#728994}.studio-v2-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:18px;align-items:start}.studio-code,.studio-preview{background:#fff;border:1px solid #dfe9ee;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(32,70,91,.06)}.studio-tabs{display:flex;align-items:center;background:#132632;padding:8px 10px}.studio-tabs button{border:0;background:transparent;color:#91aec0;padding:8px 13px;border-radius:8px;cursor:pointer}.studio-tabs button.active{background:#24485e;color:#fff}.studio-tabs span{margin-left:auto;color:#7fa1b5;font:11px monospace}.studio-snippets{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e7eef2}.studio-snippets span{font-size:11px;color:#7d909b}.studio-snippets button,.studio-preview-toolbar button{border:1px solid #d4e2e9;background:#f6f9fb;border-radius:8px;padding:6px 8px;color:#466f85;cursor:pointer}.editor-pane{display:none}.editor-pane.active{display:block}.editor-pane textarea{display:block;width:100%;min-height:520px;border:0;outline:0;resize:vertical;background:#0d1820;color:#d6ebf6;padding:16px;box-sizing:border-box;font:13px/1.55 Consolas,"Courier New",monospace}.studio-savebar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 12px;border-top:1px solid #e6eef2}.studio-savebar>span{font-size:10px;color:#7d919d}.studio-savebar>div{display:flex;gap:7px}.studio-reset{padding:0 12px 12px}.studio-preview{position:sticky;top:95px;padding-bottom:12px}.studio-preview-toolbar{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-bottom:1px solid #e6eef2}.studio-preview-toolbar div{display:flex;gap:5px}.studio-preview-toolbar button.active{background:#4fa9dc;color:#fff;border-color:#4fa9dc}.preview-stage{height:600px;background:#eef3f6;padding:12px;display:flex;justify-content:center;transition:.2s}.preview-stage iframe{width:100%;height:100%;border:1px solid #d8e3e9;border-radius:10px;background:#fff;transition:.2s}.preview-stage.phone iframe{width:390px;max-width:100%}.studio-preview>small{display:block;padding:9px 12px;color:#8397a2}
@media(max-width:1050px){.admin-stat-grid{grid-template-columns:repeat(3,1fr)}.admin-user-row{grid-template-columns:minmax(220px,1fr) auto auto}.admin-user-date{display:none}.studio-v2-grid{grid-template-columns:1fr}.studio-preview{position:static}}
@media(max-width:720px){.admin-hero{align-items:flex-start;flex-direction:column}.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.admin-users-title{align-items:stretch;flex-direction:column}.admin-search{display:grid;grid-template-columns:1fr 110px auto}.admin-user-row{grid-template-columns:1fr auto}.admin-user-meta{grid-column:2}.admin-user-actions{grid-column:1/-1}.admin-inline-form{align-items:stretch;flex-direction:column}.admin-inline-form input{min-width:0;width:100%}.studio-v2-head{align-items:flex-start;flex-direction:column}.studio-savebar{align-items:flex-start;flex-direction:column}.editor-pane textarea{min-height:390px}.preview-stage{height:430px}}

/* SplashSpace Phase 2.9 - Marketplace */
.market-shell{display:grid;gap:18px}.market-hero{background:linear-gradient(135deg,#153246,#245f7f);color:#fff;border-radius:20px;padding:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.market-hero small,.market-orders-head small{color:#8fd5fa;font-size:10px;font-weight:bold;letter-spacing:1px}.market-hero h2{font-size:28px;margin:3px 0}.market-hero p{margin:4px 0;color:#cae0ec}.market-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto auto;gap:8px;background:#fff;border:1px solid #dfe9ee;border-radius:15px;padding:12px}.market-filters input,.market-filters select{border:1px solid #d5e2e9;border-radius:9px;padding:9px;background:#fbfdfe}.market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.market-card{background:#fff;border:1px solid #dfe9ee;border-radius:16px;overflow:hidden;box-shadow:0 8px 22px rgba(32,70,91,.05)}.market-image{height:190px;display:block;background:#eaf1f5;position:relative}.market-image img{width:100%;height:100%;object-fit:cover}.market-no-image{height:100%;display:grid;place-items:center;color:#8aa0ad;font-weight:bold;background:linear-gradient(135deg,#edf4f7,#dfeaf0)}.market-status{position:absolute;top:10px;right:10px;background:#102433;color:#fff;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:bold}.market-card-body{padding:13px}.market-card-body>small{color:#8296a2}.market-card-body h3{font-size:15px;margin:5px 0}.market-card-body h3 a{color:#213f51}.market-card-body>strong{font-size:20px;color:#1e536f}.market-card-body>p{margin:4px 0;color:#8497a2}.market-seller{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #edf2f5;margin-top:10px;padding-top:9px;font-size:11px}.market-seller span{color:#ad7b19}.market-owner-actions{display:flex;gap:6px;margin-top:9px}.market-sell,.market-action-panel{background:#fff;border:1px solid #dfe9ee;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(32,70,91,.05)}.market-sell h3,.market-action-panel h3{margin:3px 0 10px}.market-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.market-item-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.market-item-main{background:#fff;border:1px solid #dfe9ee;border-radius:18px;overflow:hidden}.market-item-photo{height:min(520px,55vw);background:#e9f0f4}.market-item-photo img{width:100%;height:100%;object-fit:contain}.market-item-info{padding:20px}.market-item-info h2{font-size:27px;margin:4px 0}.market-price{font-size:30px;font-weight:bold;color:#1e536f}.market-seller-box{background:#fff;border:1px solid #dfe9ee;border-radius:18px;padding:20px;text-align:center;display:grid;gap:8px}.market-seller-box img{width:105px;height:105px;border-radius:24px;object-fit:cover;margin:auto}.market-seller-box h3{margin:2px 0}.market-seller-box p{margin:0;color:#8194a0}.seller-stars{color:#ad7b19;font-size:17px}.seller-stars small{color:#8194a0}.market-action-panel{margin-top:18px}.market-review{padding:11px 0;border-top:1px solid #edf2f5}.market-review>b{color:#ad7b19}.market-review p{margin:4px 0}.market-orders-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:15px}.market-orders-head h2{margin:2px 0;font-size:25px}.market-orders{display:grid;gap:10px}.market-orders article{background:#fff;border:1px solid #dfe9ee;border-radius:14px;padding:14px;display:flex;justify-content:space-between;gap:18px}.market-orders article>div:first-child{display:grid;gap:3px}.market-orders article small{color:#8396a1}.market-orders article p{margin:5px 0}.market-order-side{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.market-order-side>span{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:bold}.order-pending{background:#fff1cf;color:#8c681b}.order-accepted{background:#e5f4ff;color:#2a6f98}.order-completed{background:#e5f7ec;color:#28774a}.order-declined,.order-cancelled{background:#f5e7e9;color:#91424d}

/* Roles + moderation */
.admin-permission-note{background:#eef7fb;border:1px solid #d3e8f3;border-radius:10px;padding:10px 12px;margin:0 0 10px;color:#486d81}.admin-protected{color:#8c6b2d;background:#fff4d7;padding:6px 9px;border-radius:9px;font-size:11px}.role-owner .admin-role{background:#efe7ff;color:#6b45a3}.role-admin .admin-role{background:#e5f1ff;color:#2d679c}.role-moderator .admin-role{background:#e6f7ed;color:#33784c}.moderation-shell{display:grid;gap:14px}.moderation-hero{background:linear-gradient(135deg,#102433,#215675);color:#fff;border-radius:18px;padding:20px;display:flex;justify-content:space-between;align-items:center}.moderation-hero small{color:#8fd5fa;font-weight:bold;font-size:10px;letter-spacing:1px}.moderation-hero h2{margin:3px 0}.moderation-hero p{margin:3px 0;color:#c7dce7}.moderation-hero>span{background:#4fa9dc;color:#fff;padding:7px 11px;border-radius:999px;font-weight:bold}.moderation-tabs{display:flex;gap:7px;flex-wrap:wrap}.moderation-tabs a{background:#fff;border:1px solid #dfe9ee;border-radius:999px;padding:7px 10px;color:#466e84;text-decoration:none}.moderation-tabs b{background:#eaf5fa;padding:2px 5px;border-radius:999px}.moderation-panel{background:#fff;border:1px solid #dfe9ee;border-radius:16px;padding:15px}.moderation-panel h3{margin:0 0 8px}.moderation-row{display:grid;grid-template-columns:1fr auto;gap:15px;padding:11px 0;border-top:1px solid #edf2f5}.moderation-row small{display:block;color:#8b9da7}.moderation-row p{margin:5px 0}

@media(max-width:1100px){.market-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.market-hero{align-items:flex-start;flex-direction:column}.market-grid{grid-template-columns:repeat(2,1fr)}.market-filters{grid-template-columns:1fr 140px}.market-item-layout{grid-template-columns:1fr}.market-item-photo{height:55vw;min-height:280px}.market-two{grid-template-columns:1fr}.market-orders article{flex-direction:column}.market-order-side{justify-content:flex-start}}
@media(max-width:520px){.market-grid{grid-template-columns:1fr}.market-filters{grid-template-columns:1fr}.market-image{height:230px}.market-item-photo{height:70vw}.market-orders-head{align-items:flex-start;flex-direction:column}.moderation-row{grid-template-columns:1fr}}

/* SplashSpace Phase 3.0 - Marketplace Pro */
.market-category-row{display:flex;gap:8px;flex-wrap:wrap}.market-category-row a{background:#fff;border:1px solid #dbe7ed;border-radius:999px;padding:8px 11px;color:#456f86;text-decoration:none}.market-category-row a:hover{background:#eaf7ff}.market-filters.pro{grid-template-columns:minmax(220px,1fr) 170px 180px auto auto}.market-card.featured{outline:2px solid #f1c969;box-shadow:0 12px 30px rgba(169,128,32,.12)}.market-featured{position:absolute;left:10px;top:10px;background:#f3c85f;color:#5c430e;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:bold}.market-card-topline{display:flex;justify-content:space-between;gap:8px}.market-card-topline span{font-size:10px;color:#93a2aa}.market-card-body>strong small{font-size:10px;color:#6d8998}.market-save-form{margin-top:8px}.market-save-btn{border:0;background:#eef7fb;color:#3e748f;border-radius:8px;padding:7px 10px;cursor:pointer}.market-gallery{background:#edf3f6}.market-thumbs{display:flex;gap:7px;padding:9px;overflow-x:auto;background:#fff;border-top:1px solid #dfe9ee}.market-thumbs button{width:68px;height:58px;flex:0 0 auto;border:1px solid #d4e1e8;border-radius:8px;padding:2px;background:#fff;cursor:pointer}.market-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:5px}.market-facts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.market-facts span{background:#f0f6f9;color:#527184;border-radius:999px;padding:6px 9px;font-size:11px}.market-description{font-size:14px;line-height:1.6;color:#344b59;margin:16px 0}.market-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.market-report-box{margin-top:18px;background:#fff;border:1px solid #dfe9ee;border-radius:14px;padding:13px}.market-report-box summary{cursor:pointer;color:#8b4c55;font-weight:bold}.market-report-panel{border-color:#f0d4d8}.market-report-panel h3{display:flex;align-items:center;gap:8px}.report-count{background:#d85566;color:#fff;min-width:22px;height:22px;border-radius:999px;display:inline-grid;place-items:center;font-size:10px}.market-report-row{display:grid;grid-template-columns:1fr auto;gap:14px;padding:11px 0;border-top:1px solid #edf2f5}.market-report-row small{display:block;color:#8b9da7}.market-report-row p{margin:5px 0}.market-report-actions{display:flex;gap:6px;align-items:center}.order-withdrawn{background:#eceff2;color:#6e7b83}
@media(max-width:900px){.market-filters.pro{grid-template-columns:1fr 150px 170px}.market-filters.pro .btn:last-child{grid-column:auto}.market-action-grid{grid-template-columns:1fr}}
@media(max-width:620px){.market-filters.pro{grid-template-columns:1fr}.market-category-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.market-category-row a{white-space:nowrap}.market-report-row{grid-template-columns:1fr}.market-report-actions{justify-content:flex-start}}


/* SplashSpace Phase 3.0.1 - Marketplace spacing polish */
.market-pro .market-hero{
  margin-bottom:10px;
}
.market-pro .market-category-row{
  gap:14px;
  margin:8px 0 12px;
  padding:4px 2px;
}
.market-pro .market-category-row a{
  margin:0;
  padding:9px 14px;
}
.market-pro .market-filters.pro{
  margin-top:4px;
}

@media(max-width:620px){
  .market-pro .market-hero{
    margin-bottom:12px;
  }
  .market-pro .market-category-row{
    gap:10px;
    margin:8px 0 12px;
    padding:5px 2px 8px;
  }
}


/* SplashSpace Phase 3.2 - uploaded profile songs */
.profile-song-current{
  display:grid;
  gap:5px;
  margin:7px 0 10px;
  padding:10px;
  border:1px solid #d6e5ed;
  border-radius:10px;
  background:#f5fafc;
}
.profile-song-current audio,
.profile-player audio{
  width:100%;
}
.profile-song-current small{
  color:#738995;
}

/* SplashSpace Phase 3.2.2 - Android App download page */
.android-download-page{display:grid;gap:18px}
.android-download-hero{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;align-items:center;padding:28px;border-radius:20px;background:linear-gradient(135deg,#102433,#236b91);color:#fff;box-shadow:0 12px 30px rgba(15,36,51,.16)}
.android-download-icon{width:140px;height:140px;border-radius:30px;background:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.android-download-icon img{width:112px;height:112px;border-radius:24px}
.android-download-hero small:first-of-type{color:#91d9fb;font-weight:bold;letter-spacing:1px}
.android-download-hero h2{font-size:30px;margin:4px 0 8px}
.android-download-hero p{max-width:720px;color:#d2e5ee}
.android-download-button,.android-download-disabled{margin-top:8px}
.android-download-disabled{opacity:.72;cursor:default}
.android-file-note{display:block;margin-top:8px;color:#b9d8e8}
.android-download-info{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.android-download-info>div{display:grid;gap:4px;padding:16px;background:#fff;border:1px solid #dfe9ee;border-radius:14px;box-shadow:0 7px 20px rgba(32,70,91,.05)}
.android-download-info b{color:#214f68}
.android-download-info span{color:#748b98;font-size:12px}
@media(max-width:700px){.android-download-hero{grid-template-columns:1fr;text-align:center}.android-download-icon{margin:auto;width:110px;height:110px}.android-download-icon img{width:88px;height:88px}.android-download-info{grid-template-columns:1fr}}
