@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-latin-ext-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0100-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2');font-weight:600 900;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-latin-ext-700-normal.woff2') format('woff2');font-weight:600 900;font-display:swap;unicode-range:U+0100-02FF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:ZscVietnam;src:url('../assets/fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');font-weight:600 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--font-main:ZscVietnam,'Segoe UI',sans-serif;--font-mono:Consolas,monospace;--bg-deep:#08090d;--bg-glass-card:#11131b;--bg-glass-popover:#11131b;--text-secondary:#abb0bd;--text-tertiary:#8b919e;--zsc-crimson:#e51e38;--zsc-crimson-light:#ff6274;--border-hairline:#30323b;--radius-md:10px;--radius-lg:14px;--radius-xl:18px;--radius-sm:8px;--grad-zsc-red:linear-gradient(135deg,#e51e38,#ad162c);--ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1)}
html{scroll-behavior:smooth;scroll-padding-top:110px;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}html,body{background:#08090d!important}body{font-family:var(--font-main);line-height:1.65;font-size:15px}*,*::before,*::after{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,[role="button"],.nav-tab-btn,.filter-chip,.topup-plan-card{touch-action:manipulation;user-select:none;-webkit-user-select:none}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ff6274;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}img{max-width:100%}.lucide{width:18px;height:18px;stroke-width:1.7;flex-shrink:0}.liquid-bg-container,.liquid-orb,.liquid-grid-overlay,.gravity-stars-canvas{display:none!important}.app-container{width:100%;max-width:none;padding:0;margin:0;overflow:clip;position:relative;z-index:1;background:transparent!important}

/* Sticky Translucent Floating Taskbar Header (Apple Design §12 + TC-HUB Taskbar) */
.glass-header{
  width:calc(100% - 48px);
  max-width:1420px;
  margin:14px auto 0;
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 18px;
  background:rgba(13,15,21,.84);
  border:1px solid rgba(255,255,255,.09);
  border-top-color:rgba(255,255,255,.18);
  border-radius:16px;
  box-shadow:0 14px 42px rgba(0,0,0,.42);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  position:sticky;
  top:12px;
  z-index:950;
}
.brand-container{min-width:0;gap:11px;flex-shrink:0;text-decoration:none}
.brand-logo-img{width:38px;height:38px;object-fit:contain;animation:none;filter:drop-shadow(0 2px 10px rgba(229,30,56,.25));flex-shrink:0}
.brand-title{font-size:17px;font-weight:800;line-height:1.25;letter-spacing:-.02em}
.brand-subtitle{font-size:9.5px;color:#9a9fad;letter-spacing:.12em;font-weight:700;margin-top:2px}
.brand-title .red-accent{color:#e51e38}
.ios-segmented-nav{
  flex:1 1 auto;
  margin:0 auto;
  padding:4px;
  gap:3px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(255,255,255,.065);
  border-radius:11px;
  overflow-x:auto;
  scrollbar-width:none;
  flex-wrap:nowrap;
  max-width:100%;
}
.ios-segmented-nav::-webkit-scrollbar{display:none}
.nav-tab-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  border-radius:8px;
  color:#a7acb9;
  font-size:12.5px;
  font-weight:600;
  line-height:1.4;
  white-space:nowrap;
  min-height:36px;
  border:1px solid transparent;
  background:transparent;
  transition:background 180ms var(--ease-out),color 180ms ease,border-color 180ms var(--ease-out),transform 160ms var(--ease-out);
}
.nav-tab-btn.active{
  background:rgba(229,30,56,.16);
  border-color:rgba(255,98,116,.34);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.nav-tab-btn.active .lucide,.nav-tab-btn.active svg{color:#ff6274;stroke:#ff6274}
.nav-tab-btn .lucide,.nav-tab-btn svg{width:15px;height:15px;flex-shrink:0}
.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0;margin-left:auto}
.header-actions .btn-glass{min-height:36px;font-size:12px;padding:7px 12px;border-radius:9px}
.user-glass-pill{min-height:38px;max-width:220px;border-radius:999px;padding:4px 12px 4px 6px;gap:8px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12)}
.user-avatar-mini{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}
.user-glass-pill>div{min-width:0}
.user-glass-pill #headerUserName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Buttons & Interactive Controls */
.btn-glass{
  border-radius:9px;
  min-height:42px;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  padding:10px 18px;
  background:rgba(23,25,34,.88);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  gap:8px;
  text-decoration:none;
  max-width:100%;
  white-space:normal;
  text-align:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background 180ms var(--ease-out),border-color 180ms var(--ease-out),transform 160ms var(--ease-out),box-shadow 180ms var(--ease-out);
}
.btn-glass-primary{
  background:linear-gradient(135deg,#e51e38,#b8142b);
  border-color:rgba(255,110,128,.55);
  color:#fff;
  box-shadow:0 6px 22px rgba(229,30,56,.26),inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-glass-subtle{background:rgba(17,19,27,.72);border-color:rgba(255,255,255,.1)}
.btn-glass-pill{border-radius:9px}
.animate-ui-shine::after,.animate-ui-tab-slider,.animate-ui-specular-glare{display:none!important}

/* Main Tab Containers & Glass Panels */
.tab-content{animation:none;transition:opacity 200ms var(--ease-out)}
.tab-content:not(#tab-home){max-width:1360px;margin:0 auto;padding:28px 32px 56px}
.section-container{margin:0 auto!important;max-width:1360px!important}
.glass-panel{
  background:linear-gradient(145deg,rgba(20,22,32,.82),rgba(12,14,21,.76));
  border:1px solid rgba(255,255,255,.09);
  border-top-color:rgba(255,255,255,.15);
  border-radius:16px;
  box-shadow:0 18px 48px rgba(0,0,0,.32);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  padding:28px 32px;
}
.glass-panel::before{display:none}
.section-title{font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.025em;line-height:1.25;overflow-wrap:anywhere;color:#f8fafc}
.section-subtitle{color:#ff6274;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.6;margin-bottom:6px}
.section-header{margin-bottom:24px}
.gradient-text{background:linear-gradient(100deg,#ffd5da 0%,#ff6274 50%,#e51e38 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#ff6274!important}
h1,h2,h3,h4,p{overflow-wrap:break-word}
h1,h2,h3,h4{line-height:1.25;letter-spacing:-.02em}
.portal-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#ff7585;line-height:1.5}

/* === 2-Column Hero Section (TC-HUB Workshop Style + Razor-Sharp ZSC SCUM Matrix) === */
.portal-hero{
  position:relative;
  min-height:520px;
  margin-top:8px;
  isolation:isolate;
  display:flex;
  align-items:center;
  background:radial-gradient(ellipse at 64% 44%,rgba(229,30,56,.14),transparent 65%)!important;
  overflow:hidden;
}
.portal-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;z-index:-3;opacity:.05!important;mix-blend-mode:luminosity}
.portal-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,13,.66) 0%,rgba(8,9,13,.2) 40%,rgba(8,9,13,.05) 78%),linear-gradient(0deg,rgba(8,9,13,.76) 0%,transparent 28%)!important;z-index:-2}
.portal-hero-content.zsc-hero-grid{
  width:100%;
  max-width:1360px;
  margin:0 auto;
  padding:clamp(2.4rem,4.5vw,4.2rem) 32px 2.6rem;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  align-items:center;
  gap:clamp(2rem,4.5vw,4.5rem);
}
.zsc-hero-copy{max-width:620px;position:relative;z-index:2}
.zsc-hero-eyebrow{margin-bottom:16px}
.zsc-hero-title{
  margin:0 0 16px;
  font-size:clamp(2.65rem,4.8vw,4.35rem);
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.05;
  color:#fff;
}
.zsc-hero-gradient{
  display:inline-block;
  background:linear-gradient(100deg,#ffd8dc 0%,#ff5c72 48%,#e51e38 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:#ff6274;
}
.portal-hero .hero-desc{
  font-size:14.5px;
  line-height:1.75;
  max-width:56ch;
  margin:0 0 20px;
  color:#b6bcc8;
}
.portal-hero .hero-desc strong{color:#f1f3f7;font-weight:600}

/* Quick Direct IP Command Bar (mirrors .tc-hero-search) */
.zsc-hero-connect-bar{
  width:min(100%,510px);
  min-height:56px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:7px 8px 7px 16px;
  border:1px solid rgba(255,110,126,.24);
  border-radius:12px;
  background:rgba(20,16,22,.72);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 16px 40px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.04);
  transition:border-color 180ms var(--ease-out),background 180ms var(--ease-out),box-shadow 180ms var(--ease-out);
}
.zsc-connect-icon{color:#ff6274;width:18px;height:18px;flex-shrink:0}
.zsc-connect-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.zsc-connect-label{font-size:9.5px;font-weight:700;letter-spacing:.12em;color:#8f96a6}
.zsc-connect-info strong{font-family:var(--font-mono);font-size:14.5px;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.zsc-connect-copy-btn{
  height:40px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#e2e6ef;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:background 160ms var(--ease-out),border-color 160ms var(--ease-out),transform 150ms var(--ease-out);
}
.zsc-connect-copy-btn .lucide{width:14px;height:14px}
.zsc-connect-go-btn{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:9px;
  background:linear-gradient(145deg,#ff5c72,#d81932);
  color:#fff;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(229,30,56,.35);
  transition:transform 160ms var(--ease-out),filter 160ms ease;
}
.zsc-connect-copy-btn:active,.zsc-connect-go-btn:active{transform:scale(0.96)}

/* Framework / Feature Tag Strip (mirrors .tc-hero-meta) */
.zsc-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:14px 0 22px}
.zsc-hero-meta-label{margin-right:3px;color:#7d8494;font-size:10px;font-weight:700;letter-spacing:.14em}
.zsc-framework-tag{
  padding:4px 9px;
  border:1px solid rgba(255,140,154,.16);
  border-radius:6px;
  background:rgba(255,255,255,.03);
  color:#c8cdd8;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.04em;
}
.hero-btn-group{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:0}
.portal-profile-action{max-width:230px}

/* Right Column: Tactical Showcase Art + Floating Glass Toolkit Card (mirrors .tc-hero-art) */
.zsc-hero-art{
  --px:0;
  --py:0;
  min-width:0;
  position:relative;
  aspect-ratio:1.22;
  display:grid;
  place-items:center;
}
.zsc-hero-art::before{
  content:'';
  position:absolute;
  inset:10% 2% 6%;
  border:1px solid rgba(255,120,136,.13);
  border-radius:52% 48% 47% 53% / 45% 49% 51% 55%;
  transform:rotate(-8deg);
  pointer-events:none;
}
.zsc-hero-art::after{
  content:'';
  position:absolute;
  inset:18% 9% 12%;
  border:1px dashed rgba(255,120,136,.15);
  border-radius:50%;
  transform:rotate(22deg);
  pointer-events:none;
}
.zsc-hero-art-glow{
  position:absolute;
  inset:12%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(229,30,56,.18),rgba(56,189,248,.05) 45%,transparent 72%);
  filter:blur(14px);
  pointer-events:none;
  transition:transform .6s cubic-bezier(.16,1,.3,1);
  transform:translate3d(calc(var(--px)*6px),calc(var(--py)*6px),0);
}
.zsc-tactical-map{
  position:relative;
  z-index:1;
  width:104%;
  max-width:560px;
  overflow:visible;
  filter:drop-shadow(0 24px 38px rgba(0,0,0,.36));
  transition:transform .6s cubic-bezier(.16,1,.3,1);
  transform:translate3d(calc(var(--px)*-10px),calc(var(--py)*-10px),0);
}
.zsc-art-stamp{
  position:absolute;
  z-index:3;
  padding:8px 14px;
  border:1px solid rgba(255,130,145,.24);
  border-radius:999px;
  background:rgba(16,14,20,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#e8dce0;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.08em;
  white-space:nowrap;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  transition:transform .6s cubic-bezier(.16,1,.3,1);
}
.zsc-art-stamp-top{
  top:12%;
  right:2%;
  transform:translate3d(calc(var(--px)*16px),calc(var(--py)*16px),0);
}
.zsc-art-stamp-dot{
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:6px;
  border-radius:50%;
  background:#ff4d63;
  box-shadow:0 0 10px rgba(255,77,99,.85);
}
.zsc-art-stamp-bottom{
  left:2%;
  bottom:14%;
  transform:translate3d(calc(var(--px)*20px),calc(var(--py)*20px),0);
}
.zsc-art-stamp-spark{color:#fbbf24;margin-right:5px}
.zsc-art-panel{
  position:absolute;
  right:0;
  bottom:4%;
  z-index:4;
  width:min(300px,76%);
  padding:15px 16px 12px;
  border:1px solid rgba(255,130,145,.24);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(28,18,24,.95),rgba(16,14,20,.95));
  box-shadow:0 24px 56px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transition:transform .6s cubic-bezier(.16,1,.3,1),border-color 180ms var(--ease-out);
  transform:translate3d(calc(var(--px)*24px),calc(var(--py)*24px),0) rotate(-2deg);
}
.zsc-art-panel-head{display:flex;align-items:center;gap:11px}
.zsc-art-panel-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,98,116,.28);
  border-radius:10px;
  background:rgba(229,30,56,.14);
  flex-shrink:0;
}
.zsc-art-panel-head small{display:block;margin-bottom:3px;color:#b89ea4;font-size:9px;font-weight:700;letter-spacing:.06em}
.zsc-art-panel-head strong{display:block;color:#fff1f2;font-size:14.5px;font-weight:700;letter-spacing:-.01em}
.zsc-art-panel-arrow{margin-left:auto;color:#9e888e;font-size:12px}
.zsc-art-categories{display:flex;gap:6px;padding:12px 0 10px}
.zsc-art-categories span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 8px;
  border:1px solid rgba(255,160,172,.14);
  border-radius:6px;
  background:rgba(255,255,255,.035);
  color:#e6d5d8;
  font-size:10px;
  font-weight:700;
  letter-spacing:.03em;
  transition:background 150ms ease,border-color 150ms ease;
}
.zsc-art-categories .lucide{width:12px;height:12px;color:#ff6274}
.zsc-art-panel-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:9px;
  border-top:1px solid rgba(255,160,172,.12);
  color:#bda6ac;
  font-size:10.5px;
}
.zsc-dot-online{
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#34d399;
  margin-right:5px;
  box-shadow:0 0 8px rgba(52,211,153,.7);
}
.zsc-art-panel-footer span:last-child{color:#ff7585;font-weight:700;letter-spacing:.08em}

/* === Live Server Telemetry Band & Quick Feature Bento Cards === */
.portal-server-band{
  display:grid;
  grid-template-columns:1.35fr 1.25fr .75fr .75fr .7fr;
  align-items:center;
  gap:22px;
  max-width:1304px;
  margin:4px auto 18px;
  padding:20px 26px;
  border-radius:16px;
  background:linear-gradient(145deg,rgba(20,22,32,.84),rgba(12,14,20,.78))!important;
  border:1px solid rgba(255,255,255,.09);
  border-top-color:rgba(255,255,255,.16);
  box-shadow:0 16px 40px rgba(0,0,0,.32);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.portal-server-identity{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.portal-server-identity>strong{font-size:14px;display:block;width:100%;line-height:1.4;color:#fff;letter-spacing:-.01em}
.portal-server-identity>small{font-size:11.5px;color:#8b919e}
.status-badge-online{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:.06em;line-height:1.4;border-radius:999px;background:rgba(16,185,129,.14);border:1px solid rgba(16,185,129,.32);padding:4px 10px;color:#6ee7b7}
.status-badge-online.offline{color:#eab97b;background:rgba(245,158,11,.15);border-color:rgba(245,158,11,.35)}
.pulse-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 10px rgba(52,211,153,.7);flex-shrink:0}
.portal-server-address{position:relative;padding-right:38px;min-width:0}
.portal-server-address>span{font-size:10px;font-weight:700;letter-spacing:.1em;color:#8b919e;display:block;margin-bottom:2px}
.portal-server-address>strong{font-family:var(--font-mono);font-size:15px;color:#fff;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.portal-icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.12);color:#bfc3cd;border-radius:8px;cursor:pointer}
.portal-server-address .portal-icon-button{position:absolute;right:0;top:6px}
.portal-server-metric{border-left:1px solid rgba(255,255,255,.08);padding-left:22px;min-width:0}
.portal-server-metric>strong{font-size:20px;font-weight:800;line-height:1.35;color:#fff;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.portal-server-metric>span{font-size:11.5px;color:#8b919e;display:block;margin-top:2px}

.portal-feature-bar{
  max-width:1304px;
  margin:0 auto 12px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:8px 0;
  gap:16px;
}
.portal-feature{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  background:linear-gradient(145deg,rgba(22,24,34,.74),rgba(14,16,23,.62));
  border:1px solid rgba(255,255,255,.08);
  border-top-color:rgba(255,255,255,.13);
  border-radius:14px;
  padding:16px 18px;
  min-width:0;
  transition:transform 180ms var(--ease-out),border-color 180ms var(--ease-out),background 180ms var(--ease-out),box-shadow 180ms var(--ease-out);
}
.portal-feature:active{transform:scale(0.98)}
.portal-feature>.lucide:first-child{color:#ff6274;width:22px;height:22px;flex-shrink:0}
.portal-feature>.lucide:last-child{margin-left:auto;width:15px;color:#7c8291;flex-shrink:0;transition:transform 180ms var(--ease-out),color 180ms ease}
.portal-feature>div{min-width:0}
.portal-feature strong{font-size:13.5px;font-weight:700;display:block;color:#f1f3f8;margin-bottom:2px}
.portal-feature span{font-size:12px;display:block;color:#949aa8;line-height:1.45;white-space:normal}

/* === Home Content Sections (Bento News, Armory, Leaderboard, Community) === */
.portal-section{max-width:1304px;margin:0 auto;padding:38px 0}
.portal-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.portal-section-heading h2{font-size:clamp(22px,2.4vw,29px);font-weight:800;letter-spacing:-.025em;margin:5px 0 0;color:#f4f6fa;line-height:1.25}
.portal-text-link{font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:#d0d5e0;padding:7px 12px;border-radius:8px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);transition:color 160ms ease,border-color 160ms ease,transform 160ms var(--ease-out)}
.portal-text-link:active{transform:scale(0.97)}
.portal-text-link>.lucide{width:15px}

.portal-news{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch}
.portal-news-feature{
  position:relative;
  min-height:370px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  background:#151719;
  box-shadow:0 18px 42px rgba(0,0,0,.32);
}
.portal-news-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 500ms var(--ease-out)}
.portal-news-feature::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,9,13,.96) 0%,rgba(8,9,13,.45) 55%,rgba(8,9,13,.1) 100%)}
.portal-news-caption{position:relative;z-index:1;padding:28px}
.portal-tag{font-size:10px;font-weight:700;letter-spacing:.12em;color:#ffb8c2;border-left:2px solid #e51e38;padding-left:9px}
.portal-news-caption h3{font-size:23px;font-weight:800;letter-spacing:-.02em;margin:10px 0 8px;line-height:1.3;color:#fff}
.portal-news-caption p{font-size:13.5px;color:#c0c4cd;margin:0 0 16px;max-width:46ch;line-height:1.6}
.portal-news-list{display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.portal-news-list article{
  display:grid;
  grid-template-columns:32px 1fr 20px;
  align-items:start;
  gap:14px;
  padding:18px 20px;
  border-radius:14px;
  background:linear-gradient(145deg,rgba(20,22,32,.78),rgba(13,15,22,.68));
  border:1px solid rgba(255,255,255,.08);
  transition:border-color 180ms var(--ease-out),transform 180ms var(--ease-out);
}
.portal-news-number{color:#ff6274;font-size:12.5px;font-weight:700;padding-top:2px;font-family:var(--font-mono);font-variant-numeric:tabular-nums}
.portal-news-list h3{font-size:15.5px;font-weight:700;margin:3px 0 5px;color:#f1f3f8}
.portal-news-list p{font-size:13px;color:#a5abb8;margin:0;line-height:1.55}
.portal-news-list small{display:block;margin-top:4px;font-size:11.5px;color:#cbd0dc;font-variant-numeric:tabular-nums}
.portal-news-list article>.lucide{color:#7d8594;margin-top:4px}

.portal-armory{border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}
.portal-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.portal-product{
  min-width:0;
  background:linear-gradient(145deg,rgba(20,22,32,.84),rgba(13,15,22,.78));
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform 200ms var(--ease-out),border-color 200ms var(--ease-out),box-shadow 200ms var(--ease-out);
}
.portal-product-visual{position:relative;aspect-ratio:1.6;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,rgba(229,30,56,.08),rgba(16,18,26,.9));border-bottom:1px solid rgba(255,255,255,.06)}
.portal-product-visual img{width:82%;height:115px;object-fit:contain;transition:transform 260ms var(--ease-out)}
.portal-product-visual>span{position:absolute;left:12px;top:10px;font-size:9.5px;font-weight:700;letter-spacing:.08em;color:#f3b6c0;background:rgba(229,30,56,.14);border:1px solid rgba(229,30,56,.28);padding:2px 8px;border-radius:999px}
.portal-product-info{padding:16px;display:flex;flex-direction:column;flex:1;gap:12px}
.portal-product h3{font-size:15px;font-weight:700;margin:0;line-height:1.5;min-height:45px;color:#f3f5f9}
.portal-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.portal-product-bottom strong{font-size:14.5px;color:#fbbf24;font-variant-numeric:tabular-nums}
.portal-product-bottom button{min-height:34px;font-size:12px;padding:6px 12px}

.portal-shop-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.portal-shop-links a{
  display:flex;
  gap:12px;
  align-items:center;
  background:rgba(18,20,29,.72);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:14px 18px;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  color:#d0d5e2;
  transition:border-color 180ms var(--ease-out),transform 160ms var(--ease-out);
}
.portal-shop-links a:active{transform:scale(0.98)}
.portal-shop-links a>.lucide:first-child{color:#ff6274}
.portal-shop-links a>.lucide:last-child{margin-left:auto;width:15px;color:#7f8696}

.portal-rank-tabs{
  display:inline-flex;
  gap:4px;
  margin-bottom:16px;
  padding:4px;
  background:rgba(18,20,28,.82);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
}
.portal-rank-tabs button{
  padding:8px 16px;
  background:transparent;
  color:#9ba2b1;
  border:1px solid transparent;
  border-radius:7px;
  cursor:pointer;
  font-size:12.5px;
  font-weight:600;
  transition:background 160ms var(--ease-out),color 160ms ease,transform 150ms var(--ease-out);
}
.portal-rank-tabs button:active{transform:scale(0.97)}
.portal-rank-tabs [aria-selected=true]{
  border-color:rgba(255,98,116,.34);
  color:#fff;
  background:rgba(229,30,56,.18);
}
.portal-rank-table-wrap{
  overflow:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(145deg,rgba(18,20,30,.82),rgba(12,14,21,.76));
  box-shadow:0 16px 40px rgba(0,0,0,.28);
}
.portal-rank-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:620px;font-variant-numeric:tabular-nums}
.portal-rank-table th{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-align:left;color:#979ead;padding:14px 20px;background:rgba(255,255,255,.03);border-bottom:1px solid rgba(255,255,255,.07)}
.portal-rank-table td{padding:13px 20px;border-bottom:1px solid rgba(255,255,255,.05);color:#ced2dd;vertical-align:middle}
.portal-rank-table tr:last-child td{border-bottom:0}
.portal-rank-table td:first-child{width:128px;font-family:var(--font-mono);font-weight:700}
.portal-rank-table td:nth-child(2){font-weight:700;color:#fff}

/* === 9-Rank Tier Progression Strip & Leaderboard Podium (Sắt -> Thách Đấu) === */
.zsc-rank-tier-strip{
  display:grid;
  grid-template-columns:repeat(9,minmax(92px,1fr));
  gap:8px;
  margin-top:16px;
  padding:12px;
  border-radius:14px;
  background:rgba(10,12,18,.72);
  border:1px solid rgba(255,255,255,.08);
  overflow-x:auto;
}
.zsc-rank-tier-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:10px 6px;
  border-radius:10px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
  text-align:center;
  transition:transform 180ms var(--ease-out),border-color 180ms ease,background 180ms ease;
}
.zsc-rank-tier-item:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.16);
}
.zsc-rank-tier-item[data-tier="thachdau"]{
  background:radial-gradient(circle at 50% 20%,rgba(56,189,248,.16),rgba(251,191,36,.08) 70%,transparent);
  border-color:rgba(56,189,248,.34);
}
.zsc-rank-tier-item[data-tier="daicaothu"]{
  background:radial-gradient(circle at 50% 20%,rgba(239,68,68,.16),transparent 75%);
  border-color:rgba(239,68,68,.32);
}
.zsc-rank-tier-item[data-tier="caothu"]{
  background:radial-gradient(circle at 50% 20%,rgba(192,132,252,.15),transparent 75%);
  border-color:rgba(192,132,252,.30);
}
.zsc-rank-tier-item img{
  width:42px;
  height:42px;
  object-fit:contain;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.55));
}
.zsc-rank-tier-name{
  font-size:11.5px;
  font-weight:700;
  color:#f4f6fb;
  line-height:1.2;
}
.zsc-rank-tier-pos{
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:600;
  color:#979ead;
  font-variant-numeric:tabular-nums;
}

.zsc-rank-podium{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:end;
  margin-top:20px;
}
.zsc-podium-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:22px 18px 20px;
  border-radius:16px;
  background:linear-gradient(160deg,rgba(22,25,36,.88),rgba(13,15,23,.82));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 42px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.07);
  transition:transform 200ms var(--ease-out),border-color 200ms ease;
}
.zsc-podium-card:hover{transform:translateY(-3px)}
.zsc-podium-card.is-champion{
  padding:28px 20px 24px;
  background:radial-gradient(circle at 50% 0%,rgba(56,189,248,.18),rgba(251,191,36,.08) 45%,rgba(16,19,29,.92) 85%);
  border-color:rgba(56,189,248,.42);
  box-shadow:0 24px 56px rgba(0,0,0,.48),0 0 32px rgba(56,189,248,.12);
}
.zsc-podium-card.rank-2{
  background:radial-gradient(circle at 50% 0%,rgba(239,68,68,.16),rgba(16,19,29,.90) 75%);
  border-color:rgba(239,68,68,.34);
}
.zsc-podium-card.rank-3{
  background:radial-gradient(circle at 50% 0%,rgba(192,132,252,.16),rgba(16,19,29,.90) 75%);
  border-color:rgba(192,132,252,.32);
}
.zsc-podium-crown{
  font-family:var(--font-mono);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.1em;
  color:#cbd5e1;
  margin-bottom:8px;
}
.zsc-podium-card.is-champion .zsc-podium-crown{color:#7dd3fc}
.zsc-podium-card.rank-2 .zsc-podium-crown{color:#fca5a5}
.zsc-podium-card.rank-3 .zsc-podium-crown{color:#d8b4fe}
.zsc-podium-emblem-wrap{
  position:relative;
  display:grid;
  place-items:center;
  width:78px;
  height:78px;
  margin-bottom:10px;
}
.zsc-podium-card.is-champion .zsc-podium-emblem-wrap{
  width:92px;
  height:92px;
}
.zsc-podium-emblem{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.62));
}
.zsc-podium-name{
  font-size:17px;
  font-weight:800;
  color:#fff;
  letter-spacing:-.02em;
  margin-bottom:4px;
}
.zsc-podium-card.is-champion .zsc-podium-name{font-size:19px}
.zsc-podium-squad{
  font-family:var(--font-mono);
  font-size:11.5px;
  color:#9ba2b1;
  background:rgba(255,255,255,.06);
  padding:3px 10px;
  border-radius:999px;
  margin-bottom:10px;
}
.zsc-podium-score{
  font-size:14.5px;
  font-weight:800;
  color:#f8fafc;
  font-variant-numeric:tabular-nums;
  margin-bottom:10px;
}
.zsc-podium-badge{
  font-size:11.5px;
  font-weight:700;
  padding:4px 12px;
  border-radius:999px;
  border:1px solid transparent;
}

.zsc-rank-cell{
  display:inline-flex;
  align-items:center;
  gap:11px;
}
.zsc-rank-emblem{
  width:42px;
  height:42px;
  object-fit:contain;
  flex-shrink:0;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.55));
}
.zsc-rank-emblem-sm{
  width:34px;
  height:34px;
  object-fit:contain;
  flex-shrink:0;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5));
}
.zsc-rank-pos-meta{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.zsc-rank-pos-sub{
  font-size:11px;
  font-weight:600;
  color:#979ead;
  margin-top:2px;
}
.zsc-rank-num{
  font-family:var(--font-mono);
  font-size:14px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.zsc-rank-player-name,.zsc-rank-player{
  font-size:14.5px;
  font-weight:700;
  color:#fff;
}
.zsc-rank-squad-pill{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  color:#d6dae4;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:4px 10px;
  border-radius:7px;
}
.zsc-rank-score{
  font-weight:800;
  color:#f8fafc;
  font-variant-numeric:tabular-nums;
}
.zsc-rank-badge-stack{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.zsc-rank-tier-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 11px 4px 7px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
.zsc-rank-tier-pill img{
  width:18px;
  height:18px;
  object-fit:contain;
}
.zsc-rank-title-tag{
  font-size:11.5px;
  font-weight:600;
  color:#9ba2b1;
}
.zsc-leaderboard-row.is-top-1 td{background:linear-gradient(90deg,rgba(56,189,248,.09),transparent 70%)}
.zsc-leaderboard-row.is-top-2 td{background:linear-gradient(90deg,rgba(239,68,68,.08),transparent 70%)}
.zsc-leaderboard-row.is-top-3 td{background:linear-gradient(90deg,rgba(192,132,252,.08),transparent 70%)}
@media (max-width:860px){
  .zsc-rank-podium{grid-template-columns:1fr}
  .zsc-podium-card.is-champion{order:-1}
}

.portal-community{
  position:relative;
  isolation:isolate;
  min-height:260px;
  max-width:1304px;
  margin:12px auto 36px;
  border-radius:18px;
  border:1px solid rgba(255,110,126,.24);
  display:flex;
  align-items:center;
  overflow:hidden;
  background:rgba(14,16,24,.76)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.36);
}
.portal-community>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;z-index:-2;opacity:.22}
.portal-community::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,9,13,.94) 0%,rgba(18,10,15,.72) 60%,rgba(8,9,13,.45) 100%)}
.portal-community>div{width:100%;padding:40px 44px}
.portal-community h2{font-size:clamp(24px,2.8vw,32px);font-weight:800;letter-spacing:-.025em;margin:8px 0 8px;color:#fff}
.portal-community p{font-size:14px;color:#c2c8d4;margin:0 0 18px;max-width:52ch}

.portal-muted{color:#9ba2b1;font-size:13px}
.shop-card,.weapon-skin-card,.streak-day-card{
  border-radius:14px;
  background:linear-gradient(145deg,rgba(20,22,32,.86),rgba(13,15,22,.8));
  border:1px solid rgba(255,255,255,.09);
  transition:transform 200ms var(--ease-out),border-color 200ms var(--ease-out),box-shadow 200ms var(--ease-out);
}
.shop-card-name{font-size:15px;line-height:1.6;min-height:48px}
.shop-card-desc{font-size:12.5px;line-height:1.65;max-width:60ch}
.shop-card-icon-box{height:155px}
.shop-card-price{font-size:17px;font-variant-numeric:tabular-nums}
.shop-card-footer{flex-wrap:wrap;gap:12px}
.skin-hero{background:linear-gradient(145deg,rgba(22,20,28,.88),rgba(14,15,22,.82));border:1px solid rgba(255,110,126,.22);border-radius:16px;padding:28px 32px}
.skin-hero h1{font-size:32px;letter-spacing:-.025em}
.skin-family-tabs{gap:6px}
.skin-family-tab{border-radius:8px}
.weapon-skin-card h3{font-size:17px}
.skin-install-note{line-height:1.8}
.glass-modal-overlay{z-index:1100;backdrop-filter:blur(10px);padding:16px}
.glass-modal-card{background:rgba(17,19,27,.96);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:26px;max-height:calc(100dvh - 32px);overflow:auto;width:min(100%,560px);box-shadow:0 24px 100px rgba(0,0,0,.75)}
.modal-title{font-size:21px;line-height:1.5;letter-spacing:-.02em}
.glass-modal-card .modal-header{gap:16px}
.modal-actions{flex-wrap:wrap}
.glass-modal-overlay:not(.active){pointer-events:none}
.glass-input{min-width:0;max-width:100%;border-radius:9px;background:rgba(9,11,16,.88);font-size:15px}
.glass-label{line-height:1.7;font-size:13px}
.launcher-preview-box{background:rgba(14,16,24,.82);border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:20px;min-width:0}
.launcher-showcase-panel{grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
.launcher-feature-list{gap:18px}
.launcher-feature-list .feature-desc{line-height:1.75;max-width:60ch}
.scum-media-banner{border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.scum-media-overlay{padding:26px 30px}
.scum-media-title{font-size:24px;line-height:1.4;letter-spacing:-.02em}
.scum-media-desc{line-height:1.75;font-size:13.5px;max-width:65ch}
.toast-container{z-index:1200;max-width:calc(100vw - 32px)}
.glass-toast{background:rgba(22,25,35,.94);border:1px solid rgba(255,255,255,.14);border-radius:10px;backdrop-filter:blur(14px);font-size:13px;line-height:1.6}
.portal-profile-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:960;background:rgba(20,23,33,.96);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:6px;width:215px;box-shadow:0 14px 40px rgba(0,0,0,.6);transform-origin:top right}
.portal-profile-menu[hidden]{display:none}
.portal-profile-menu button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:#e0e3ec;padding:10px 12px;border-radius:7px;text-align:left;font-size:13px;cursor:pointer}
.portal-profile-toggle{background:none;border:0;color:#c2c8d5;padding:5px;cursor:pointer}
.portal-profile-toggle .lucide{width:14px}
#blindBoxFrame{width:100%;height:calc(100dvh - 180px);min-height:680px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#08090d}
.portal-policy{font-size:13.5px;line-height:1.8;color:#b6becc;max-width:65ch}
.portal-policy p{margin-bottom:14px}

/* Hover States Gated Behind Fine Pointer (mobile-native & emil-design-eng) */
@media (hover:hover) and (pointer:fine){
  .nav-tab-btn:hover:not(.active){background:rgba(255,255,255,.05);color:#f1f3f8}
  .btn-glass:hover:not(:disabled){background:rgba(36,39,52,.92);border-color:rgba(255,255,255,.24);transform:translateY(-1px)}
  .btn-glass-primary:hover:not(:disabled){background:linear-gradient(135deg,#f22440,#c9162f);border-color:rgba(255,140,154,.7);box-shadow:0 8px 26px rgba(229,30,56,.36)}
  .zsc-connect-copy-btn:hover{background:rgba(255,255,255,.09);border-color:rgba(255,120,136,.4);color:#fff}
  .zsc-connect-go-btn:hover{transform:translateX(2px);filter:brightness(1.08)}
  .zsc-art-panel:hover{border-color:rgba(255,130,145,.48)}
  .zsc-art-categories span:hover{background:rgba(229,30,56,.18);border-color:rgba(255,120,136,.38);color:#fff}
  .portal-feature:hover{border-color:rgba(255,98,116,.42);transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.28)}
  .portal-feature:hover>.lucide:last-child{transform:translate(2px,-2px);color:#ff6274}
  .portal-text-link:hover{color:#ff6274;border-color:rgba(255,98,116,.35)}
  .portal-news-feature:hover>img{transform:scale(1.03)}
  .portal-news-list article:hover{border-color:rgba(255,98,116,.34);transform:translateX(2px)}
  .portal-product:hover{border-color:rgba(255,98,116,.38);transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.32)}
  .portal-product:hover .portal-product-visual img{transform:scale(1.06)}
  .portal-shop-links a:hover{border-color:rgba(255,98,116,.38);color:#fff;transform:translateY(-1px)}
  .shop-card:hover,.weapon-skin-card:hover{border-color:rgba(255,98,116,.38);transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.32)}
  .portal-profile-menu button:hover{background:rgba(255,255,255,.07)}
}

/* Responsive Breakpoints (Tablet/iPad & Mobile Phone) */
@media(max-width:1380px){
  .portal-server-band,.portal-feature-bar,.portal-section,.portal-community{margin-left:28px;margin-right:28px}
  .ios-segmented-nav{
    order:3;
    flex:1 1 100%;
    flex-wrap:nowrap!important;
    justify-content:flex-start;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x;
    scrollbar-width:none;
    padding:4px 6px;
  }
  .ios-segmented-nav::-webkit-scrollbar{display:none}
}
@media(max-width:1120px){
  .glass-header{width:calc(100% - 28px);padding:10px 14px;gap:8px 12px}
  .portal-hero-content.zsc-hero-grid{grid-template-columns:1fr;gap:28px;padding:30px 24px}
  .zsc-hero-copy{max-width:100%}
  .zsc-hero-art{max-width:540px;margin:0 auto;width:100%}
  .portal-server-band{
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px 18px;
    padding:18px 20px;
  }
  .portal-server-identity{grid-column:span 3}
  .portal-server-address{grid-column:span 3;justify-self:end}
  .portal-server-metric{
    grid-column:span 2;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .portal-feature-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .portal-news{grid-template-columns:1fr;gap:20px}
  .portal-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .launcher-showcase-panel{grid-template-columns:1fr;gap:24px}
  .zsc-rank-tier-strip{grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:visible}
  .zsc-online-summary-grid,.zsc-online-milestones-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:768px){
  html{scroll-padding-top:18px}
  .glass-header{width:calc(100% - 20px);margin-top:8px;border-radius:14px;padding:10px 12px;gap:8px;position:relative;top:0}
  .brand-identity{gap:8px}
  .brand-title{font-size:15px}
  .brand-subtitle{font-size:10px}
  .header-actions{
    width:auto;
    margin-left:auto;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:6px;
  }
  .header-actions .btn-glass{min-height:34px;font-size:11.5px;padding:6px 10px}
  #btnHeaderLauncher span{display:none}
  .user-glass-pill{max-width:175px;min-height:34px;padding:3px 10px 3px 5px}
  .portal-hero-content.zsc-hero-grid{padding:22px 16px 26px;gap:22px}
  .zsc-hero-title{font-size:clamp(2.05rem,9vw,2.85rem)}
  .zsc-hero-lead{font-size:14px;line-height:1.6}
  .zsc-hero-connect-bar{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    width:100%;
  }
  .zsc-connect-ip{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .zsc-connect-copy-btn{padding:6px 10px;font-size:11.5px}
  .zsc-hero-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .zsc-hero-cta-row .btn-glass:first-child{grid-column:1/-1}
  .zsc-hero-art{
    aspect-ratio:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:4px 0;
  }
  .zsc-art-stamp-top,.zsc-art-stamp-bottom{
    position:relative;
    top:auto;left:auto;right:auto;bottom:auto;
    align-self:flex-start;
  }
  .zsc-tactical-map{
    position:relative;
    inset:auto;
    width:100%;
    max-width:250px;
    margin:0 auto;
    aspect-ratio:1/1;
    transform:none!important;
  }
  .zsc-art-panel{
    position:relative;
    right:auto;bottom:auto;
    width:100%;
    max-width:100%;
    transform:none!important;
    padding:14px 16px;
  }
  .portal-server-band,.portal-feature-bar,.portal-section,.portal-community{margin-left:14px;margin-right:14px}
  .portal-server-band{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:14px 14px;
    gap:12px 10px;
  }
  .portal-server-identity,.portal-server-address{grid-column:1/-1;justify-self:stretch}
  .portal-server-address{justify-content:space-between}
  .portal-server-metric{
    grid-column:span 1;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .portal-server-metric strong{font-size:15px}
  .portal-server-metric span{font-size:11px}
  .portal-feature-bar{grid-template-columns:1fr;gap:10px}
  .portal-product-grid,.portal-shop-links{grid-template-columns:1fr}
  .portal-community>div{padding:26px 18px}
  .tab-content:not(#tab-home){padding:16px 14px 36px}
  .glass-panel{padding:18px 16px}
  .zsc-online-summary-grid,.zsc-online-milestones-grid{grid-template-columns:1fr!important;gap:12px!important}
  input,textarea,select{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* === Skills-Web (Emil Kowalski Design Engineering) Polish & Full-Page Halftone Red Dot + Top ZSC SCUM Matrix === */
:root{
  --u:clamp(0.85px,min(calc(100vw/1600),calc(100vh/940)),1.15px);
  --solace-cream:#fff1f2;
  --solace-mid:#e2c4c8;
  --solace-line:rgba(255,120,132,.16);
  --solace-glass:rgba(26,8,12,.78);
}
.zsc-pixel-flow{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  opacity:.84;
  mix-blend-mode:screen;
  pointer-events:none;
  z-index:0;
  contain:strict;
}
.btn-glass,.nav-tab-btn,.filter-chip,.portal-icon-button{
  transition:background 180ms var(--ease-out),border-color 180ms var(--ease-out),color 180ms ease,transform 160ms var(--ease-out);
}
.btn-glass:active:not(:disabled),.nav-tab-btn:active,.filter-chip:active,.portal-icon-button:active{
  transform:scale(0.97);
}
.portal-server-metric>strong,.user-balance-badge,#onlineRewardResetTimer,#onlineRewardAccumulatedTime,#onlineRewardProgressPercent{
  font-variant-numeric:tabular-nums;
}

/* Halftone Red Dot FAQ & Footer Section */
.zsc-solace-wrap{
  position:relative;
  min-height:auto;
  overflow:hidden;
  background:rgba(5,2,3,.68);
  color:var(--solace-cream);
  border-top:1px solid rgba(255,96,112,.16);
  margin-top:24px;
}
#dots{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
}
.zsc-solace-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width:1360px;
  margin:0 auto;
  padding:calc(52*var(--u)) 32px calc(32*var(--u));
}
.zsc-solace-heading{
  font-size:calc(40*var(--u));
  font-weight:600;
  letter-spacing:-.02em!important;
  text-align:center;
  color:var(--solace-cream);
  margin:0;
}
.zsc-solace-faq{
  width:calc(688*var(--u));
  margin-top:calc(22*var(--u));
  padding:calc(4*var(--u)) calc(21*var(--u));
  background:var(--solace-glass);
  border:1px solid rgba(255,96,112,.18);
  border-radius:calc(6*var(--u));
  -webkit-backdrop-filter:blur(calc(10*var(--u)));
  backdrop-filter:blur(calc(10*var(--u)));
  box-shadow:0 calc(20*var(--u)) calc(60*var(--u)) rgba(0,0,0,.52);
}
.zsc-solace-faq .q{
  border-bottom:1px solid var(--solace-line);
}
.zsc-solace-faq .q:last-child{
  border-bottom:0;
}
.zsc-solace-faq .q button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:calc(20*var(--u));
  width:100%;
  padding:calc(17*var(--u)) 0;
  font-size:calc(17*var(--u));
  font-weight:500;
  letter-spacing:-.005em!important;
  color:var(--solace-cream);
  background:none;
  border:0;
  cursor:pointer;
  text-align:left;
  transition:transform 150ms var(--ease-out),color 150ms ease;
}
.zsc-solace-faq .q button:active{
  transform:scale(0.985);
}
.zsc-solace-faq .q svg{
  flex:none;
  width:calc(14*var(--u));
  height:calc(14*var(--u));
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform 250ms var(--ease-out);
}
.zsc-solace-faq .q[data-open] svg{
  transform:rotate(180deg);
}
.zsc-solace-faq .a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 260ms var(--ease-out);
}
.zsc-solace-faq .q[data-open] .a{
  grid-template-rows:1fr;
}
.zsc-solace-faq .a>div{
  overflow:hidden;
}
.zsc-solace-faq .a p{
  padding:0 calc(20*var(--u)) calc(20*var(--u)) 0;
  font-size:calc(15*var(--u));
  line-height:1.6;
  color:var(--solace-mid);
  max-width:65ch;
  margin:0;
}
.zsc-solace-dot-stage{
  width:100%;
  min-height:calc(48*var(--u));
  flex:1;
  pointer-events:none;
}
.zsc-solace-footer{
  width:100%;
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:calc(40*var(--u));
  padding:calc(46*var(--u)) calc(64*var(--u)) calc(44*var(--u));
  background:linear-gradient(180deg,rgba(32,8,12,.86),rgba(76,12,22,.84));
  border:1px solid rgba(255,96,112,.16);
  border-radius:calc(6*var(--u));
  -webkit-backdrop-filter:blur(calc(12*var(--u)));
  backdrop-filter:blur(calc(12*var(--u)));
}
.zsc-solace-brand{
  display:inline-flex;
  align-items:center;
  gap:calc(14*var(--u));
  font-size:calc(25*var(--u));
  font-weight:600;
  letter-spacing:-.02em!important;
  color:var(--solace-cream);
  text-decoration:none;
  transition:transform 150ms var(--ease-out);
}
.zsc-solace-brand:active{
  transform:scale(0.97);
}
.zsc-solace-mark{
  display:grid;
  place-items:center;
  width:calc(38*var(--u));
  height:calc(38*var(--u));
  background:#ef233c;
  border-radius:calc(4*var(--u));
  box-shadow:0 0 calc(18*var(--u)) rgba(239,35,60,.45);
}
.zsc-solace-mark svg{
  width:56%;
  height:56%;
  fill:#fff1f2;
}
.zsc-solace-tag{
  margin-top:calc(20*var(--u));
  max-width:calc(440*var(--u));
  font-size:calc(15*var(--u));
  line-height:1.6;
  color:#f5d5d8;
}
.zsc-solace-social{
  display:flex;
  gap:calc(16*var(--u));
  margin-top:calc(26*var(--u));
}
.zsc-solace-social a{
  display:grid;
  place-items:center;
  width:calc(26*var(--u));
  height:calc(26*var(--u));
  opacity:.9;
  color:var(--solace-cream);
  transition:opacity 160ms ease,transform 160ms var(--ease-out);
}
.zsc-solace-social a:active{
  transform:scale(0.95);
}
.zsc-solace-social svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.zsc-solace-copy{
  margin-top:calc(34*var(--u));
  font-size:calc(14*var(--u));
  color:#eec6ca;
}
.zsc-solace-links{
  display:grid;
  grid-template-columns:repeat(3,calc(196*var(--u)));
  gap:calc(8*var(--u));
}
.zsc-solace-links h3{
  font-size:calc(15*var(--u));
  font-weight:600;
  margin-bottom:calc(16*var(--u));
  color:var(--solace-cream);
}
.zsc-solace-links ul{
  list-style:none;
  padding:0;
  margin:0;
}
.zsc-solace-links li{
  margin-bottom:calc(11*var(--u));
  font-size:calc(14.5*var(--u));
  color:#ecc4c8;
}
.zsc-solace-links a{
  color:inherit;
  text-decoration:none;
  transition:color 160ms ease;
}
@media (hover:hover) and (pointer:fine){
  .zsc-solace-faq .q button:hover{color:#fff}
  .zsc-solace-social a:hover{opacity:.65;transform:translateY(-1px)}
  .zsc-solace-links a:hover{color:#fff}
}
@media (max-width:1120px){
  :root{--u:1px}
  .zsc-solace-content{padding:52px 24px 24px}
  .zsc-solace-heading{font-size:34px}
  .zsc-solace-faq{width:min(100%,720px);margin-top:20px}
  .zsc-solace-dot-stage{min-height:130px}
  .zsc-solace-footer{grid-template-columns:1fr;padding:36px 28px;margin-top:16px;gap:28px}
  .zsc-solace-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
}
@media (max-width:640px){
  .zsc-solace-content{padding:40px 14px 16px}
  .zsc-solace-heading{font-size:28px}
  .zsc-solace-footer{padding:28px 18px}
  .zsc-solace-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
}

/* =========================================================
   LUXURY WEEKLY TOP 1-4 REWARDS SHOWCASE (REWARDS TAB & MODAL)
   ========================================================= */
.zsc-weekly-prize-trigger {
  border-color: rgba(251, 191, 36, 0.48) !important;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(227, 30, 58, 0.14)) !important;
  color: #fde68a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.14);
}
.zsc-weekly-prize-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.8) !important;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.24);
}

.zsc-weekly-showcase-panel {
  padding: 28px 26px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 0%, rgba(251, 191, 36, 0.12), transparent 52%),
    radial-gradient(circle at 85% 0%, rgba(227, 30, 58, 0.12), transparent 52%),
    linear-gradient(160deg, rgba(18, 15, 22, 0.96), rgba(10, 11, 18, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.zsc-weekly-showcase-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zsc-weekly-showcase-head {
  flex: 1 1 420px;
  text-align: left;
}

.zsc-weekly-showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.zsc-weekly-showcase-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.zsc-weekly-showcase-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
}

.zsc-weekly-showcase-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.zsc-weekly-clock-wrap {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(8, 10, 16, 0.82);
  border: 1px solid rgba(227, 30, 58, 0.36);
  text-align: center;
}

.zsc-weekly-clock-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fda4af;
  margin-bottom: 6px;
}

.zsc-weekly-clock-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.zsc-clock-cell {
  min-width: 48px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zsc-clock-cell strong {
  font-size: 16px;
  font-weight: 900;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.zsc-clock-cell span {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 2px;
}

.zsc-clock-sep {
  font-size: 15px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.35);
}

.zsc-weekly-board-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.zsc-weekly-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: #cbd5e1;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zsc-weekly-tab-btn.active {
  color: #090d16;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.zsc-weekly-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.zsc-weekly-modal-rule {
  font-size: 12.5px;
  color: #cbd5e1;
}

.zsc-weekly-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.zsc-weekly-reward-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(14, 18, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.zsc-weekly-reward-card:hover {
  transform: translateY(-4px);
}

.zsc-weekly-reward-card.rank-1 {
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.24), rgba(14, 18, 28, 0.94) 68%);
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 14px 34px rgba(251, 191, 36, 0.14);
}

.zsc-weekly-reward-card.rank-2 {
  background: radial-gradient(circle at 50% 0%, rgba(244, 63, 94, 0.22), rgba(14, 18, 28, 0.94) 68%);
  border-color: rgba(244, 63, 94, 0.48);
}

.zsc-weekly-reward-card.rank-3 {
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.22), rgba(14, 18, 28, 0.94) 68%);
  border-color: rgba(168, 85, 247, 0.48);
}

.zsc-weekly-reward-card.rank-4 {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), rgba(14, 18, 28, 0.94) 68%);
  border-color: rgba(56, 189, 248, 0.45);
}

.zsc-weekly-reward-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.zsc-weekly-reward-rank img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.zsc-weekly-reward-visual {
  position: relative;
  width: 100%;
  height: 116px;
  margin: 12px 0;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.zsc-weekly-reward-img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
}

.zsc-weekly-corner-rank {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.zsc-weekly-reward-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zsc-weekly-reward-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.zsc-weekly-reward-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.zsc-weekly-reward-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.zsc-weekly-reward-pill.is-coins {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.zsc-weekly-reward-pill.is-item {
  background: rgba(56, 189, 248, 0.15);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.zsc-weekly-reward-foot {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.zsc-podium-reward-tag {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.26);
  padding: 4px 10px;
  border-radius: 8px;
}

.zsc-rank-reward-mini {
  font-size: 11px;
  font-weight: 700;
  color: #fde68a;
}

/* =========================================================
   PERSONAL WAREHOUSE / STASH TAB (#tab-warehouse)
   ========================================================= */
.zsc-warehouse-ControlBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(10, 14, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.zsc-warehouse-status-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zsc-warehouse-ingame-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  width: fit-content;
}

.zsc-warehouse-ingame-pill .zsc-warehouse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.zsc-warehouse-ingame-pill.is-online {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}
.zsc-warehouse-ingame-pill.is-online .zsc-warehouse-dot {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.zsc-warehouse-ingame-pill.is-offline {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fde68a;
}
.zsc-warehouse-ingame-pill.is-offline .zsc-warehouse-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.zsc-warehouse-bot-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding-left: 4px;
}

.zsc-warehouse-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zsc-warehouse-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.zsc-warehouse-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.zsc-warehouse-count-pill {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #fde68a;
}

.zsc-warehouse-section-hint {
  font-size: 12px;
  color: var(--text-tertiary);
}

.zsc-warehouse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.zsc-warehouse-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(16, 22, 36, 0.9), rgba(10, 14, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.zsc-warehouse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.4);
}

.zsc-warehouse-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
}

.zsc-warehouse-src-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3.5px 9px;
  border-radius: 999px;
  border: 1px solid;
  line-height: 1.1;
}

.zsc-warehouse-src-tag svg {
  width: 11.5px;
  height: 11.5px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.zsc-warehouse-id {
  font-family: monospace;
  font-size: 11px;
  color: #64748b;
}

.zsc-warehouse-card-visual {
  height: 96px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 10px;
}

.zsc-warehouse-card-visual img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.zsc-warehouse-card-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 4px;
  line-height: 1.35;
}

.zsc-warehouse-card-time {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.zsc-warehouse-claim-btn {
  width: 100%;
  padding: 9px 12px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  justify-content: center;
}

.zsc-warehouse-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-tertiary);
}

/* =========================================================
   CHARACTER PROFILE MODAL — CURRENT & ACHIEVED RANKS
   ========================================================= */
.zsc-profile-current-rank {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.zsc-profile-current-rank img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.zsc-profile-current-rank-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.zsc-profile-current-rank-name {
  font-size: 14px;
  font-weight: 900;
  color: #fde68a;
}

.zsc-profile-ranks-section {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.zsc-profile-ranks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e4e4e7;
}

.zsc-profile-ranks-count {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}

.zsc-profile-ranks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.zsc-profile-rank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform 0.18s ease;
}

.zsc-profile-rank-item.is-locked {
  opacity: 0.38;
  filter: grayscale(0.85);
}

.zsc-profile-rank-item.is-achieved {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.28);
}

.zsc-profile-rank-item.is-current {
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.22), rgba(230, 30, 42, 0.12));
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.18);
}

.zsc-profile-rank-img-wrap {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.zsc-profile-rank-img-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.zsc-profile-rank-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
}

.zsc-profile-rank-state {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.zsc-profile-rank-item.is-achieved .zsc-profile-rank-state {
  color: #fde68a;
}

#modalUserProfile .modal-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .zsc-weekly-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zsc-weekly-showcase-controls {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .zsc-warehouse-ControlBar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .zsc-warehouse-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .zsc-warehouse-actions .btn-glass {
    width: 100%;
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
  .zsc-warehouse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #starterGiftGridContainer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .skin-hero {
    padding: 20px 16px;
  }
  .skin-hero h1 {
    font-size: 24px;
  }
  .skin-family-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .skin-family-tabs::-webkit-scrollbar {
    display: none;
  }
  .skin-family-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  #blindBoxFrame {
    height: calc(100dvh - 150px);
    min-height: 520px;
  }
  .glass-modal-overlay {
    padding: 10px;
  }
  .glass-modal-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 540px) {
  .zsc-weekly-rewards-grid {
    grid-template-columns: 1fr;
  }
  .zsc-warehouse-grid {
    grid-template-columns: 1fr;
  }
  .zsc-weekly-modal-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .zsc-weekly-board-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .zsc-weekly-tab-btn {
    text-align: center;
    padding: 8px 10px;
    font-size: 11.5px;
  }
  #modalUserProfile .modal-actions {
    grid-template-columns: 1fr 1fr;
  }
  #modalUserProfile .modal-actions button:last-child {
    grid-column: 1 / -1;
  }
  .zsc-profile-ranks-header {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* =========================================================
   LEADERBOARD WEEKLY COUNTDOWN BANNER & HOME COUNTDOWN PILL
   ========================================================= */
.zsc-lb-hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 24px;
  margin-bottom: 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.14), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(229, 30, 56, 0.16), transparent 55%),
    linear-gradient(155deg, rgba(18, 16, 26, 0.94), rgba(10, 12, 20, 0.96));
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.zsc-lb-hero-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.zsc-lb-hero-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 62ch;
}

.zsc-lb-countdown-card {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.zsc-lb-countdown-head {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fde68a;
}

.zsc-lb-countdown-foot {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.zsc-home-rank-heading {
  flex-wrap: wrap;
  gap: 14px;
}

.zsc-home-rank-head-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.zsc-inline-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(229, 30, 56, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.38);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.zsc-inline-countdown-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.72);
}

.zsc-inline-countdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  flex-shrink: 0;
}

.zsc-inline-countdown-label {
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
}

.zsc-inline-countdown-digits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.42);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.zsc-inline-countdown-digits strong {
  color: #fbbf24;
  font-weight: 900;
}

@media (max-width: 768px) {
  .zsc-lb-hero-banner {
    padding: 16px;
    gap: 16px;
  }
  .zsc-lb-countdown-card {
    width: 100%;
  }
  .zsc-inline-countdown-pill {
    width: 100%;
    justify-content: space-between;
  }
}






