:root{
  --bg:#050a13;
  --bg-soft:#0a1120;
  --panel:#101a2b;
  --panel-2:#15253d;
  --text:#eef2ff;
  --muted:#a5b4d4;
  --border:rgba(255,255,255,.08);
  --brand-color:#5865F2;
  --success:#22c55e;
  --danger:#ef4444;
  --shadow:0 18px 45px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at top,#17274a 0,#09111f 32%,#050a13 100%);color:var(--text);font:16px/1.65 Inter,Arial,sans-serif;position:relative;min-height:100vh}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.site-backdrop{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.backdrop-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(180deg,rgba(0,0,0,.8),transparent 92%)}
.backdrop-glow{position:absolute;border-radius:999px;filter:blur(70px);opacity:.28}.glow-a{width:420px;height:420px;background:rgba(88,101,242,.35);top:-120px;left:-80px}.glow-b{width:340px;height:340px;background:rgba(34,197,94,.16);right:-60px;top:120px}
.site-header{position:sticky;top:0;z-index:40;background:rgba(8,14,27,.68);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}
.nav-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;gap:16px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.1rem}
.brand-cube{width:18px;height:18px;background:linear-gradient(135deg,var(--brand-color),#8ea5ff);border-radius:5px;box-shadow:0 0 0 5px rgba(88,101,242,.12)}
.site-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:#dbe2ff}
.site-nav a:hover,.text-link:hover{color:#fff}
.hero-section{padding:78px 0 34px;position:relative}
.hero-grid{display:grid;grid-template-columns:1.2fr .95fr;gap:28px;align-items:center}.hero-grid-single{grid-template-columns:minmax(0,1fr)}
.hero-badges,.footer-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-badges span,.footer-chips span{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:.82rem;color:#dbe2ff;font-weight:700}
.eyebrow{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.04);color:#dbe2ff;font-size:.82rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.hero-section h1,.page-hero h1{font-size:clamp(2.5rem,6vw,4.8rem);line-height:1.02;margin:18px 0 14px;letter-spacing:-.03em}
.hero-text,.page-hero p,.section-head p{font-size:1.05rem;color:var(--muted);max-width:760px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:24px 0}
.btn,.primary-btn,.copy-ip-btn,.status-float,.discord-float,.nav-copy-btn{transition:.2s ease}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:16px;font-weight:800;border:1px solid transparent}
.btn-primary,.primary-btn{background:linear-gradient(180deg,var(--brand-color),#4353ec);color:#fff;box-shadow:0 12px 28px rgba(88,101,242,.28)}
.btn-primary:hover,.primary-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
.btn-secondary{border-color:var(--border);background:rgba(255,255,255,.04)}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.stat-card,.feature-card,.news-card,.server-card,.empty-card,.article-card,.faq-item,.strip-card,.premium-side-card{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}
.stat-card{padding:18px}.stat-card strong{display:block;font-size:1rem}.stat-card span{color:var(--muted);font-size:.92rem}
.hero-panel{display:flex;justify-content:flex-end}.hero-grid-single .hero-panel{display:none}
.hero-panel-stack{display:grid;gap:18px;width:100%;max-width:430px}
.server-card{padding:26px;width:100%;position:relative;overflow:hidden}
.server-card::after{content:"";position:absolute;inset:auto -35% -40% auto;width:220px;height:220px;background:radial-gradient(circle,rgba(88,101,242,.25),transparent 62%);border-radius:999px}
.server-card-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#dbe2ff;position:relative;z-index:1}
.server-pill{width:12px;height:12px;border-radius:999px;display:inline-block}.server-pill.ok{background:var(--success);box-shadow:0 0 0 8px rgba(34,197,94,.15)}.server-pill.bad{background:var(--danger);box-shadow:0 0 0 8px rgba(239,68,68,.15)}
.copy-ip-btn{border:none;background:#0d142a;color:#fff;padding:12px 16px;border-radius:16px;cursor:pointer;border:1px solid var(--border);font-weight:700}
.copy-ip-btn.big{width:100%;margin:12px 0 10px;font-size:1rem}
.copy-ip-btn:hover,.nav-copy-btn:hover{transform:translateY(-1px)}
.nav-copy-btn{padding:11px 14px;background:rgba(255,255,255,.04)}
.premium-side-card{padding:22px}
.mini-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.18);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#dcfce7}
.feature-checks{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px}.feature-checks li{position:relative;padding-left:28px;color:#dbe2ff}.feature-checks li::before{content:"";position:absolute;left:0;top:.4rem;width:14px;height:14px;border-radius:999px;background:linear-gradient(180deg,#34d399,#22c55e);box-shadow:0 0 0 6px rgba(34,197,94,.12)}
.premium-strip{padding-top:10px}.premium-strip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.strip-card{padding:22px}.strip-card span{display:block;color:#c7d2fe;font-weight:700;margin-bottom:8px}.strip-card strong{display:block;font-size:1.15rem;margin-bottom:8px}.strip-card p{margin:0;color:var(--muted)}
.section{padding:42px 0}.section.muted{background:rgba(255,255,255,.02);border-top:1px solid rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.04)}
.section-head{margin-bottom:22px}.section-head h2{font-size:2rem;margin:10px 0 8px}
.row-between{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.feature-grid,.news-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.news-grid.full{grid-template-columns:repeat(3,1fr)}
.feature-card,.news-card,.empty-card{padding:24px;position:relative;overflow:hidden}
.feature-index{display:inline-flex;margin-bottom:14px;color:#c7d2fe;font-weight:800;font-size:.9rem}
.feature-card h3,.news-card h3,.news-card h2{margin:0 0 10px}.feature-card p,.news-card p,.site-footer p{color:var(--muted)}
.news-meta{color:#c7d2fe;font-size:.88rem;margin-bottom:10px}
.faq-list{display:grid;gap:14px}.faq-item{padding:0 18px}.faq-item summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:700}.faq-item div{padding:0 0 18px;color:var(--muted)}
.page-hero.small{padding:54px 0 8px}.center{text-align:center}.article-layout{display:grid;grid-template-columns:minmax(0,760px);justify-content:center}.article-card{padding:30px}.article-cover{border-radius:18px;margin-bottom:16px}.prose p,.prose li{color:#dbe2ff}.prose h2,.prose h3{margin-top:28px}
.site-footer{border-top:1px solid var(--border);margin-top:28px;padding-top:28px;padding-bottom:24px;background:rgba(4,8,20,.55)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:22px}.footer-brand,.footer-title{font-weight:800;margin-bottom:12px}.footer-grid a{display:block;margin-bottom:8px;color:#dbe2ff}.footer-status{display:block;margin-top:10px;color:var(--muted)}.footer-bottom{margin-top:18px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted)}
.status-float{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:18px;background:rgba(10,17,32,.82);border:1px solid rgba(255,255,255,.06);box-shadow:none;min-width:0;max-width:100%}.status-float-fixed{position:fixed;top:86px;right:clamp(12px,3vw,28px);z-index:34;backdrop-filter:blur(16px);box-shadow:0 12px 32px rgba(2,6,23,.26);max-width:min(280px,calc(100vw - 24px))}
.status-content{display:grid;gap:1px}.status-float strong{display:block;font-size:.9rem;line-height:1.1}.status-float small{color:var(--muted);display:block;font-size:.84rem;line-height:1.25}.status-dot{width:10px;height:10px;border-radius:999px;display:inline-block;flex:0 0 auto}.status-float.online .status-dot{background:var(--success);box-shadow:0 0 0 6px rgba(34,197,94,.12)}.status-float.offline .status-dot{background:var(--danger);box-shadow:0 0 0 6px rgba(239,68,68,.12)}
.discord-float{position:fixed;right:18px;bottom:18px;width:68px;height:68px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(180deg,#6f80ff,#5865F2);color:#fff;box-shadow:0 20px 35px rgba(88,101,242,.35);z-index:60;border:1px solid rgba(255,255,255,.18)}
.discord-float svg{width:30px;height:30px}
.discord-float:hover,.status-float:hover{transform:translateY(-1px)}
.text-link{color:#c7d2fe;font-weight:700}
@media (max-width:980px){.hero-grid,.footer-grid,.news-grid.full,.premium-strip-grid{grid-template-columns:1fr}.hero-panel{justify-content:flex-start}.hero-stats,.feature-grid,.news-grid{grid-template-columns:1fr 1fr}.site-nav{justify-content:flex-end}}
@media (max-width:760px){.nav-row{align-items:flex-start}.site-nav{gap:12px}.nav-copy-btn{width:100%;justify-content:center}.hero-section{padding-top:44px}.hero-stats,.feature-grid,.news-grid{grid-template-columns:1fr}.status-float{width:100%}.status-float-fixed{top:78px;right:12px;left:12px;max-width:none}.discord-float{width:60px;height:60px}.footer-grid{grid-template-columns:1fr}}

.backdrop-image{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.3;filter:saturate(1.08) contrast(1.06);transform:scale(1.02)}
.backdrop-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,10,19,.18),rgba(5,10,19,.56))}
.server-extra{display:block;margin-top:8px;color:#c7d2fe}
.hub-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.hub-card,.external-card,.maintenance-card,.maintenance-box{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}
.hub-card{padding:24px}
.hub-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#c7d2fe}
.hub-card h3{margin:14px 0 10px}
.hub-card p{color:var(--muted);margin:0 0 16px}
.external-page-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.external-card{padding:26px}
.external-card.main h2,.maintenance-card h1{margin:14px 0}
.maintenance-wrap{min-height:calc(100vh - 220px);display:flex;align-items:center}
.maintenance-shell{display:flex;justify-content:center}
.maintenance-card{max-width:760px;padding:34px;text-align:center;width:100%}
.maintenance-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:24px}
.maintenance-box{padding:20px}
.maintenance-box strong{display:block;font-size:1.08rem;margin-bottom:6px}
.maintenance-box span,.maintenance-eta{color:#dbe2ff}
.maintenance-eta{display:inline-flex;margin-top:6px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.centered-actions{justify-content:center}
.players-line{display:block;margin-top:4px}
@media (max-width:980px){.hub-grid,.external-page-grid,.maintenance-grid{grid-template-columns:1fr}}


.public-alert-wrap{padding-top:18px}.public-alert{padding:14px 16px;border-radius:18px;border:1px solid var(--border);backdrop-filter:blur(8px)}.public-alert.success{background:rgba(34,197,94,.14);color:#dcfce7}.public-alert.error{background:rgba(239,68,68,.14);color:#fecaca}
.hub-grid.three{grid-template-columns:repeat(3,1fr)}
.auth-promo-grid{display:grid;grid-template-columns:1fr}.auth-promo-card,.auth-form-card,.account-card,.countdown-card,.notice-box{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}
.auth-promo-card{padding:26px}.compact-actions{margin-top:18px}.auth-page-shell{max-width:760px}.auth-form-wrap{display:flex;justify-content:center}.auth-form-card{width:min(100%,620px);padding:28px}.auth-form-card h2{margin-top:0}.auth-form-grid{display:grid;gap:16px}.auth-submit{width:100%}.auth-helper{margin:18px 0 0;color:var(--muted)}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-card{padding:26px}.account-list{display:grid;gap:14px;margin-top:18px}.account-list div{display:flex;justify-content:space-between;gap:18px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05)}.account-list strong{color:#c7d2fe}.account-list span{color:#eef2ff;text-align:right}.account-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.countdown-card{padding:22px;margin-top:20px}.countdown-label{color:#c7d2fe;font-weight:800;margin-bottom:12px;text-transform:uppercase;letter-spacing:.04em;font-size:.82rem}.countdown-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.countdown-grid div{padding:18px 12px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05);text-align:center}.countdown-grid strong{display:block;font-size:1.5rem}.countdown-grid span{color:var(--muted)}
.notice-box{padding:16px 18px;margin:16px 0;color:#e2e8f0}.external-subactions{margin-top:14px}
@media (max-width:980px){.hub-grid.three,.account-grid,.countdown-grid{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.hub-grid.three,.account-grid,.account-actions,.countdown-grid{grid-template-columns:1fr}.account-list div{flex-direction:column}.public-alert-wrap{padding-top:14px}}

/* 2026-04 premium public theme refresh */
:root{
  --field-bg:rgba(7,14,28,.72);
  --field-bg-focus:rgba(9,18,35,.9);
  --field-border:rgba(159,176,255,.18);
  --field-border-focus:rgba(159,176,255,.45);
}
.backdrop-image{
  opacity:.48 !important;
  filter:saturate(1.14) contrast(1.08) brightness(.72) !important;
  transform:scale(1.015) !important;
}
.backdrop-image::after{
  background:linear-gradient(180deg,rgba(5,10,19,.10),rgba(5,10,19,.44)) !important;
}
.glass-card,
.stat-card,.feature-card,.news-card,.server-card,.empty-card,.article-card,.faq-item,.strip-card,.premium-side-card,
.hub-card,.external-card,.maintenance-card,.maintenance-box,.auth-form-card,.auth-promo-card,.account-card,.countdown-card,
.notice-box,.public-alert{
  background:linear-gradient(180deg,rgba(13,22,40,.68),rgba(10,18,34,.56)) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.10) !important;
}
.page-hero.small{padding:58px 0 12px}
.hero-badges span,.footer-chips span,.eyebrow{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
button,input,textarea,select{
  font:inherit;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="datetime-local"],
select,
textarea{
  width:100%;
  border-radius:16px;
  border:1px solid var(--field-border);
  background:var(--field-bg);
  color:#f8fbff;
  padding:14px 16px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 26px rgba(0,0,0,.10);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
input::placeholder,
textarea::placeholder{
  color:rgba(232,240,255,.48);
}
select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.85) 50%),linear-gradient(135deg,rgba(255,255,255,.85) 50%,transparent 50%);
  background-position:calc(100% - 20px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px);
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
  padding-right:42px;
}
input:focus,
select:focus,
textarea:focus{
  border-color:var(--field-border-focus);
  background:var(--field-bg-focus);
  box-shadow:0 0 0 4px rgba(88,101,242,.12),0 16px 36px rgba(0,0,0,.18);
  transform:translateY(-1px);
}
label{
  display:block;
  margin-bottom:8px;
  color:#f4f7ff;
  font-weight:700;
}
textarea{resize:vertical;min-height:120px}
.auth-form-wrap{display:flex;justify-content:center}
.auth-form-card{
  width:min(100%,720px);
  padding:32px;
  border-radius:28px;
}
.auth-form-card h2{margin:0 0 8px;font-size:2rem}
.auth-subtext{margin:0 0 22px;color:#cbd5f1}
.auth-form-grid{display:grid;gap:18px}
.auth-form-grid .full-row{grid-column:1/-1}
.auth-submit{width:100%;min-height:54px;font-size:1rem}
.auth-helper{margin:16px 0 0;color:#cbd5f1}
.auth-helper-stack{display:grid;gap:6px;margin-top:18px}
.form-note-box{
  padding:14px 16px;
  border-radius:16px;
  background:rgba(88,101,242,.10);
  border:1px solid rgba(159,176,255,.22);
  color:#dbe7ff;
}
.account-grid.enhanced-account-grid{grid-template-columns:1fr 1fr;align-items:start}
.account-grid .full-span{grid-column:1/-1}
.account-card{padding:28px;border-radius:26px}
.account-list div{
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  backdrop-filter:blur(12px);
}
.account-notice{margin-top:18px}
.account-notice.warning{border-color:rgba(245,158,11,.22) !important;background:rgba(245,158,11,.10) !important;color:#fde68a}
.account-notice.success{border-color:rgba(34,197,94,.22) !important;background:rgba(34,197,94,.10) !important;color:#dcfce7}
.account-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.account-card-head h2{margin:6px 0 0}
.account-card-compact{padding:22px;border-radius:24px}
.compact-card-head{margin-bottom:12px}
.compact-sync-badge{white-space:nowrap;align-self:flex-start}
.compact-account-list{gap:10px;margin-top:0}
.compact-account-list div{padding:12px 14px}
.compact-account-notice{margin-top:14px;padding:13px 14px;border-radius:16px}
.compact-help-text{margin:12px 0 0;font-size:.95rem;line-height:1.6}
.minecraft-access-card{min-height:100%}
@media (max-width:860px){
  .account-grid.enhanced-account-grid{grid-template-columns:1fr}
}
@media (min-width:861px){
  .account-grid.enhanced-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.inline-form-block{margin-top:14px}
.hero-text,.page-hero p,.section-head p,.feature-card p,.news-card p,.site-footer p,.strip-card p,.external-card p,.auth-helper,.auth-subtext,.field-note,.file-note,.notice-box{color:#d4def3}
.site-header{
  background:rgba(6,12,24,.74);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.copy-ip-btn,.btn-secondary,.nav-copy-btn{
  background:rgba(7,15,31,.78);
  backdrop-filter:blur(12px);
}
.public-alert-wrap{padding-top:18px}
.notice-box{border-radius:18px}
@media (max-width:760px){
  .auth-form-card{padding:24px}
}


/* 2026-04 premium surface refinement */
.hero-copy-card{
  padding:28px;
  border-radius:30px;
  position:relative;
  overflow:hidden;
}
.hero-copy-card::before,
.section-lead-card::before{
  content:"";
  position:absolute;
  inset:auto auto -90px -70px;
  width:210px;
  height:210px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(88,101,242,.18),transparent 68%);
  pointer-events:none;
}
.hero-copy-card > *,
.section-lead-card > *{
  position:relative;
  z-index:1;
}
.section-lead-card{
  padding:24px 26px;
  border-radius:28px;
  margin-bottom:24px;
  position:relative;
  overflow:hidden;
}
.section-lead-card h2{
  margin:12px 0 10px;
  font-size:clamp(1.9rem,3.6vw,2.5rem);
  line-height:1.08;
}
.section-lead-card p{
  max-width:860px;
  margin:0;
}
.section-lead-card.row-between{
  align-items:flex-end;
}
.section-lead-card.row-between .text-link{
  align-self:flex-end;
  white-space:nowrap;
}
.hero-badges{
  margin-top:16px;
  margin-bottom:8px;
}
.hero-section h1{
  text-shadow:0 10px 28px rgba(0,0,0,.22);
}
.feature-card,
.news-card,
.hub-card,
.auth-promo-card,
.strip-card,
.server-card,
.premium-side-card,
.faq-item,
.empty-card,
.stat-card{
  box-shadow:0 18px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.04);
}
.section.muted{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.018));
}
.news-card h3 a,
.feature-card h3,
.hub-card h3,
.auth-promo-card h3,
.server-card h3{
  letter-spacing:-.01em;
}
@media (max-width:980px){
  .hero-copy-card{padding:24px}
  .section-lead-card.row-between .text-link{align-self:flex-start}
}
@media (max-width:760px){
  .hero-copy-card,.section-lead-card{padding:22px}
}

.market-grid-shell{display:grid;gap:20px}
.market-main-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.market-main-grid.lower-grid{grid-template-columns:1fr 1fr}
.wallet-summary-card h2,.price-tag{font-size:1.8rem;line-height:1.1;margin:8px 0 0}
.market-muted{color:var(--muted);margin:8px 0 0}
.wallet-topup-form{display:grid;gap:16px;margin-top:18px}
.wallet-chip-row{display:flex;flex-wrap:wrap;gap:10px}
.wallet-chip{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#fff;padding:10px 14px;border-radius:999px;font-weight:800;cursor:pointer}
.wallet-chip:hover{filter:brightness(1.08)}
.wallet-custom-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}
.market-category-block{display:grid;gap:14px}
.compact-head{margin-bottom:0}
.market-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.market-product-card{padding:24px;display:grid;gap:14px}
.market-card-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.market-product-card h3{margin:10px 0 0;font-size:1.15rem}
.market-product-card p{margin:0;color:var(--muted)}
.market-detail-box{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05);color:#dbe2ff}
.market-card-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:.9rem;color:#c7d2fe}
.market-card-meta span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.06)}
.market-buy-btn{width:100%}
.mini-history-list,.wallet-history-list{display:grid;gap:12px;margin-top:18px}
.mini-history-item,.wallet-history-item{display:flex;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.05)}
.mini-history-item strong,.wallet-history-item strong{display:block}
.mini-history-item span,.wallet-history-item span,.mini-history-item small,.wallet-history-item small{color:var(--muted)}
.wallet-history-side{text-align:right;display:grid;gap:4px}
.money-plus{color:#bbf7d0;font-style:normal;font-weight:800}
.money-minus{color:#fecaca;font-style:normal;font-weight:800}
.compact-checks{margin:0}
.paytr-frame-card{padding:26px}
.paytr-iframe-wrap{margin-top:18px;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.07);background:#fff}
.small-market-btn{padding:10px 14px;border-radius:12px}
@media (max-width:1100px){.market-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-main-grid,.market-main-grid.lower-grid{grid-template-columns:1fr}}
@media (max-width:760px){.market-product-grid,.wallet-custom-row{grid-template-columns:1fr}.mini-history-item,.wallet-history-item,.market-card-top{flex-direction:column}.wallet-history-side{text-align:left}}


.wallet-home-card .wallet-topup-form{margin-top:18px}
.account-mini-table-wrap{margin-top:18px;overflow:auto;border-radius:18px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.account-mini-table{width:100%;border-collapse:collapse;min-width:520px}
.account-mini-table th,.account-mini-table td{padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left}
.account-mini-table th{font-size:.88rem;color:#c7d2fe;background:rgba(255,255,255,.03)}
.account-mini-table td{color:#e8edff}
.account-mini-table tbody tr:last-child td{border-bottom:none}
.amount-cell{font-weight:800;white-space:nowrap}
.amount-cell.is-plus{color:#bbf7d0}
.amount-cell.is-minus{color:#fecaca}
.compact-order-list{margin-top:0}
.simple-modal{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:24px}
.simple-modal[hidden]{display:none !important}
.simple-modal-backdrop{position:absolute;inset:0;background:rgba(3,8,18,.78);backdrop-filter:blur(6px)}
.simple-modal-dialog{position:relative;z-index:1;width:min(100%,960px);max-height:min(85vh,860px);overflow:auto;padding:24px;border-radius:26px}
.modal-head{position:sticky;top:0;padding-bottom:14px;margin-bottom:0;background:linear-gradient(180deg,rgba(7,15,31,.96),rgba(7,15,31,.82));backdrop-filter:blur(10px);z-index:2}
.modal-table-wrap{margin-top:14px}
body.modal-open{overflow:hidden}
.streamlined-market-shell{gap:22px}
.market-note-card{padding:24px 26px}
.polished-category-block{gap:16px}
.market-category-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:24px}
.market-category-head h2{margin:10px 0 0;font-size:1.9rem;letter-spacing:-.02em}
.polished-product-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.polished-product-card{padding:22px;gap:16px;min-height:100%;align-content:start}
.polished-product-card .price-tag{font-size:1.35rem}
.market-short-copy{min-height:46px}
.compact-market-detail{line-height:1.65;color:#d9e3ff}
.market-buy-form{margin-top:auto}
@media (max-width:760px){
  .simple-modal{padding:14px}
  .simple-modal-dialog{padding:18px}
  .market-category-head{padding:18px;align-items:flex-start;flex-direction:column}
  .wallet-home-card .wallet-custom-row{grid-template-columns:1fr}
}

.category-sidebar-market-shell{gap:22px}
.compact-market-note-card{padding:24px 26px}
.market-sidebar-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.market-category-sidebar{position:sticky;top:112px;padding:22px;border-radius:26px;display:grid;gap:18px}
.market-sidebar-head h2{margin:10px 0 0;font-size:1.35rem}
.market-category-nav{display:grid;gap:12px}
.market-category-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:#eaf0ff;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.market-category-link:hover{transform:translateX(4px);border-color:rgba(99,102,241,.45);background:rgba(99,102,241,.08)}
.market-category-link.active{background:linear-gradient(180deg,rgba(99,102,241,.18),rgba(99,102,241,.08));border-color:rgba(99,102,241,.34);color:#fff;box-shadow:0 10px 26px rgba(7,12,24,.24)}
.market-category-link.active .market-category-link-count{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.12)}
.market-category-link-label{display:flex;align-items:center;gap:10px;min-width:0}
.market-category-link-label em{font-style:normal;color:#c7d2fe;opacity:.95}
.market-category-link-label strong{font-size:.98rem;line-height:1.35}
.market-category-link-count{min-width:34px;height:34px;display:inline-grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.06);font-weight:800;color:#fff}
.market-products-content{display:grid;gap:24px;min-width:0}
.sidebar-style-category-block{gap:16px;scroll-margin-top:110px}
.compact-category-head{padding:20px 22px;border-radius:22px}
.compact-category-head h2{margin:10px 0 0;font-size:1.55rem;letter-spacing:-.02em}
.sidebar-style-product-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.sidebar-style-product-card{padding:20px;gap:14px}
.sidebar-style-product-card .market-short-copy{min-height:44px}
@media (max-width:1100px){
  .market-sidebar-layout{grid-template-columns:1fr}
  .market-category-sidebar{position:static;top:auto}
}
@media (max-width:760px){
  .market-category-sidebar,.compact-market-note-card,.compact-category-head,.sidebar-style-product-card{padding:18px}
  .market-category-link{padding:14px}
}

.single-category-market-layout{align-items:start}
.single-category-products-content{gap:18px}
.active-market-category-block{min-width:0}
.selected-category-head{align-items:center}
.selected-category-head .status-badge{align-self:center}
@media (max-width:760px){
  .selected-category-head{align-items:flex-start}
}


/* Minimal market refresh */
.compact-market-note-card{padding:20px 22px;border-radius:22px}
.compact-market-note-card .account-card-head h2{font-size:1.1rem;margin-top:8px}
.compact-checks li{font-size:.97rem;line-height:1.55}
.market-sidebar-layout{grid-template-columns:240px minmax(0,1fr);gap:18px}
.market-category-sidebar{padding:18px;border-radius:22px;gap:14px}
.market-sidebar-head h2{font-size:1.15rem;margin-top:8px}
.market-category-nav{gap:10px}
.market-category-link{padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.025)}
.market-category-link:hover{transform:none;background:rgba(99,102,241,.06)}
.market-category-link.active{box-shadow:none;background:rgba(99,102,241,.14);border-color:rgba(99,102,241,.26)}
.market-category-link-label strong{font-size:.95rem;font-weight:700}
.market-category-link-count{min-width:30px;height:30px;font-size:.84rem}
.market-products-content{gap:16px}
.minimal-category-head{padding:16px 18px;border-radius:20px;align-items:center}
.minimal-category-head h2{margin:8px 0 0;font-size:1.35rem}
.category-count-inline{font-size:.92rem;color:#c7d2fe;white-space:nowrap}
.minimal-product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.minimal-product-card{padding:16px 16px 15px;border-radius:20px;gap:12px;background:linear-gradient(180deg,rgba(8,16,34,.88),rgba(8,16,34,.72));border:1px solid rgba(255,255,255,.05);box-shadow:none}
.minimal-market-top{align-items:flex-start;gap:12px}
.minimal-product-main{min-width:0;display:grid;gap:7px}
.minimal-product-card .mini-kicker{padding:7px 10px;font-size:.72rem;letter-spacing:.08em}
.minimal-product-card h3{margin:0;font-size:1.12rem;line-height:1.35}
.minimal-price-tag{font-size:1.12rem;line-height:1.15;text-align:right;white-space:nowrap}
.minimal-short-copy{min-height:auto;color:#d6deff;font-size:.94rem;line-height:1.55}
.market-plain-detail{margin:0;color:#bfcaf1;font-size:.93rem;line-height:1.6;padding-top:2px}
.minimal-market-meta{gap:8px}
.minimal-market-meta span{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.04);font-size:.82rem}
.minimal-buy-form{margin-top:4px}
.minimal-buy-btn{min-height:44px;border-radius:14px;font-size:.96rem}
@media (max-width:1100px){
  .market-sidebar-layout{grid-template-columns:1fr}
}
@media (max-width:760px){
  .compact-market-note-card,.market-category-sidebar,.minimal-category-head,.minimal-product-card{padding:16px}
  .minimal-product-grid{grid-template-columns:1fr}
  .minimal-market-top{flex-direction:row;justify-content:space-between;align-items:flex-start}
  .minimal-price-tag{text-align:right}
}

/* mobile nav + support/coupon */
.nav-toggle{display:none;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:#fff;cursor:pointer}
.account-mini-table-wrap,.modal-table-wrap{overflow:auto}
.account-mini-table{width:100%;border-collapse:collapse;min-width:520px}
.account-mini-table th,.account-mini-table td{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left}
.amount-cell.is-plus{color:#86efac}.amount-cell.is-minus{color:#fca5a5}
.mini-history-list,.support-ticket-list{display:grid;gap:12px}
.mini-history-item,.support-ticket-card{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}
.mini-history-item span,.support-ticket-card span,.mini-history-item small,.support-ticket-meta small{display:block;color:var(--muted);margin-top:4px}
.support-ticket-card{display:grid;gap:12px}
.support-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.support-ticket-head strong{display:block}
.support-ticket-excerpt{margin:0;color:#dbe2ff}
.compact-reply-form{display:grid;gap:10px}
.compact-form-grid{gap:14px}
.wallet-chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.wallet-chip{padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#fff;cursor:pointer}
.wallet-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.market-muted{color:#cbd5f1}
.simple-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:20px}
.simple-modal[hidden]{display:none}
.simple-modal-backdrop{position:absolute;inset:0;background:rgba(3,7,15,.74);backdrop-filter:blur(8px)}
.simple-modal-dialog{position:relative;z-index:1;width:min(980px,100%);max-height:min(86vh,980px);overflow:auto;padding:24px;border-radius:24px}
.modal-open{overflow:hidden}
@media (max-width:900px){
  .nav-toggle{display:inline-flex}
  .site-nav{display:none;position:absolute;left:16px;right:16px;top:76px;padding:16px;border-radius:20px;background:rgba(6,12,24,.96);border:1px solid var(--border);box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:10px}
  .site-nav a,.site-nav .copy-ip-btn{width:100%;justify-content:center}
  body.public-nav-open .site-nav{display:flex}
  .site-header{position:sticky}
  .nav-row{position:relative}
}
@media (max-width:760px){
  .wallet-custom-row{grid-template-columns:1fr}
  .mini-history-item,.support-ticket-head{flex-direction:column}
  .support-ticket-head .status-badge{align-self:flex-start}
  .account-card-head{flex-direction:column}
  .account-card-head .btn{width:100%}
  .simple-modal{padding:12px}
  .simple-modal-dialog{padding:18px}
}

/* account panel sidebar layout */
.account-panel-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start}
.account-panel-sidebar{position:sticky;top:112px;padding:20px;border-radius:24px;display:grid;gap:16px}
.account-sidebar-head h2{margin:8px 0 0;font-size:1.24rem}
.account-sidebar-head p{margin:10px 0 0;color:#cbd5f1;line-height:1.6}
.account-panel-nav{display:grid;gap:10px}
.account-panel-link{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);color:#eaf0ff;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.account-panel-link:hover{background:rgba(99,102,241,.06);border-color:rgba(99,102,241,.22);transform:translateX(2px)}
.account-panel-link.active{background:rgba(99,102,241,.14);border-color:rgba(99,102,241,.28);color:#fff;box-shadow:none}
.account-panel-content{min-width:0}
.account-panel-stack{display:grid;gap:18px}
.account-panel-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-form-modal{width:min(100%,760px)}
.compact-top{margin-top:18px}
@media (max-width:1100px){
  .account-panel-layout{grid-template-columns:1fr}
  .account-panel-sidebar{position:static;top:auto}
}
@media (max-width:760px){
  .account-panel-sidebar,.account-form-modal{padding:18px}
  .account-panel-overview-grid{grid-template-columns:1fr}
  .account-panel-link{padding:13px 14px}
}

/* player support center refresh */
.support-table-wrap{margin-top:18px}
.support-table td strong{display:block}
.table-meta{margin-top:6px;font-size:.86rem;color:var(--muted);line-height:1.4}
.account-inline-empty{margin:0}
.account-detail-list{display:grid;gap:10px}
.account-detail-list div{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05)}
.account-detail-list strong{color:#dbe2ff}
.account-detail-list span{color:var(--muted);text-align:right}
.account-support-thread{display:grid;gap:14px}
.account-support-message{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.account-support-message.is-admin{border-color:rgba(88,101,242,.24);background:rgba(88,101,242,.08)}
.account-support-message-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.account-support-message-head span{color:var(--muted)}
.account-support-message-body{color:#e8eefc;white-space:pre-wrap;word-break:break-word;line-height:1.7}
@media (max-width:760px){
  .account-detail-list div{flex-direction:column}
  .support-table .btn{width:100%}
}

/* support detail minimal + chat layout */
.support-detail-minimal-card{padding:20px 22px}
.support-detail-compact{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.support-detail-main h2{margin:8px 0 0;font-size:1.5rem;line-height:1.25}
.support-detail-meta{display:flex;flex-wrap:wrap;gap:10px}
.support-detail-chip{display:inline-flex;align-items:center;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);color:#dbe2ff;font-size:.92rem}
.support-detail-side{display:grid;justify-items:end;gap:10px;text-align:right}
.support-detail-side small{color:var(--muted);line-height:1.5}
.support-chat-card,.support-reply-card{padding:20px 22px}
.support-chat-head{margin-bottom:0}
.whatsapp-support-thread{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.support-chat-row{display:flex}
.support-chat-row.is-member{justify-content:flex-start}
.support-chat-row.is-admin{justify-content:flex-end}
.support-chat-bubble{max-width:min(76%,620px);padding:14px 16px;border-radius:22px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.04);box-shadow:none}
.support-chat-bubble.is-member{border-top-left-radius:10px;background:rgba(255,255,255,.055)}
.support-chat-bubble.is-admin{border-top-right-radius:10px;background:rgba(99,102,241,.14);border-color:rgba(99,102,241,.24)}
.support-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.support-chat-meta strong{font-size:.96rem;color:#fff}
.support-chat-meta span{font-size:.82rem;color:var(--muted);white-space:nowrap}
.support-chat-bubble .account-support-message-body{font-size:.98rem;line-height:1.72}
.support-reply-form textarea{min-height:128px;border-radius:18px}
@media (max-width:900px){
  .support-detail-compact{flex-direction:column;align-items:flex-start}
  .support-detail-side{justify-items:start;text-align:left}
  .support-chat-bubble{max-width:100%}
}
@media (max-width:760px){
  .support-detail-minimal-card,.support-chat-card,.support-reply-card{padding:18px}
  .support-chat-meta{flex-direction:column;align-items:flex-start}
}


/* === MC4FUN inspired public theme refresh === */
body.public-theme{
  background:radial-gradient(circle at top,rgba(25,42,73,.82) 0,rgba(10,18,34,.88) 34%,rgba(6,11,22,1) 100%);
  color:#1f2937;
}
body.public-theme .page-shell{position:relative;z-index:1}
body.public-theme .site-header{
  background:rgba(8,14,24,.84);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 12px 30px rgba(1,5,14,.18);
}
body.public-theme .nav-row{padding:14px 0;align-items:center;gap:18px}
body.public-theme .brand{color:#fff;min-width:0}
body.public-theme .brand-logo{width:34px;height:34px;border-radius:12px;object-fit:cover;box-shadow:0 10px 22px rgba(0,0,0,.22)}
body.public-theme .brand-text{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.public-theme .site-nav{gap:10px;flex:1;justify-content:center}
body.public-theme .site-nav a{
  padding:10px 14px;
  border-radius:14px;
  font-weight:700;
  color:rgba(255,255,255,.88);
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
body.public-theme .site-nav a.active,
body.public-theme .site-nav a:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
  transform:translateY(-1px);
}
body.public-theme .header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body.public-theme .header-copy-btn{
  padding:11px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:none;
  font-size:.94rem;
}
body.public-theme .header-action-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 15px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:800;
  border:1px solid rgba(255,255,255,.08);
}
body.public-theme .header-action-link.secondary{background:rgba(255,255,255,.04)}
body.public-theme .status-float{
  background:rgba(255,255,255,.88);
  color:#111827;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 18px 38px rgba(15,23,42,.14);
}
body.public-theme .status-float small,
body.public-theme .status-float .status-ip{color:#475569}
body.public-theme .status-ip{font-size:.8rem;display:block}
body.public-theme .public-alert{background:rgba(255,255,255,.92)!important;color:#111827;border-color:rgba(148,163,184,.22)!important}
body.public-theme .public-alert.success{background:rgba(220,252,231,.94)!important;color:#14532d}
body.public-theme .public-alert.error{background:rgba(254,226,226,.94)!important;color:#991b1b}

.mc4-hero-section{padding:78px 0 0;position:relative;min-height:270px}
.mc4-hero-shell{position:relative;min-height:260px}
.mc4-hero-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:22px}
.mc4-hero-badge,.mc4-hero-cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:10px 16px;border-radius:15px;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.12);font-weight:800;
}
.mc4-hero-shortcuts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mc4-hero-cta.secondary{background:rgba(255,255,255,.08)}
.mc4-logo-stage{display:flex;align-items:flex-end;justify-content:center;min-height:180px;padding:28px 0 18px}
.mc4-logo-card{
  text-align:center;min-width:min(100%,380px);padding:20px 24px 16px;
  border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 24px 50px rgba(2,6,23,.16)
}
.mc4-logo-image{width:74px;height:74px;object-fit:cover;border-radius:20px;margin:0 auto 12px;box-shadow:0 14px 30px rgba(2,6,23,.22)}
.mc4-logo-title{font-size:clamp(2.1rem,4vw,3.4rem);line-height:1;font-weight:900;letter-spacing:-.04em;color:#fff;text-shadow:0 5px 18px rgba(0,0,0,.22)}
.mc4-logo-card p{margin:8px 0 0;color:rgba(255,255,255,.82);font-size:1rem}

.mc4-hero-ribbon{position:relative;z-index:3;margin-top:-14px}
.mc4-ribbon-grid{
  background:rgba(248,250,252,.95);border:1px solid rgba(226,232,240,.92);border-radius:32px 32px 22px 22px;
  display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:22px 28px;box-shadow:0 24px 55px rgba(15,23,42,.14)
}
.mc4-ribbon-card{
  display:flex;align-items:center;gap:14px;padding:14px 16px;background:transparent;border:none;border-radius:18px;cursor:pointer;color:#1f2937;text-align:left
}
.mc4-ribbon-card:hover{background:rgba(15,23,42,.04)}
.mc4-ribbon-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:#eef2ff;color:#334155;font-size:1.4rem;box-shadow:inset 0 0 0 1px rgba(148,163,184,.18)}
.mc4-ribbon-card strong,.mc4-ribbon-center-count{display:block;font-size:1.25rem;font-weight:900;color:#111827}
.mc4-ribbon-card small,.mc4-ribbon-center small{display:block;color:#64748b;text-transform:uppercase;font-size:.78rem;font-weight:800;letter-spacing:.04em}
.mc4-ribbon-center{text-align:center;padding:0 16px}

.mc4-home-surface{padding:22px 0 56px;position:relative}
.mc4-home-surface::before{
  content:"";position:absolute;inset:0;top:0;background:linear-gradient(180deg,rgba(235,245,255,.92),rgba(240,248,255,.86));border-top:1px solid rgba(255,255,255,.18)
}
.mc4-home-surface > .container{position:relative;z-index:1}
.mc4-home-surface.inner-surface{padding-top:28px}
.mc4-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}
.mc4-stat-card{
  display:flex;align-items:center;gap:16px;padding:20px 22px;background:rgba(255,255,255,.90);border:1px solid rgba(226,232,240,.95);
  border-radius:22px;box-shadow:0 18px 36px rgba(15,23,42,.08)
}
.mc4-stat-card.highlight{background:linear-gradient(180deg,#ffffff,#f8fbff)}
.mc4-stat-icon{width:70px;height:70px;border-radius:22px;background:linear-gradient(180deg,#eef2ff,#f8fafc);display:grid;place-items:center;font-size:1.5rem;color:#475569;box-shadow:inset 0 0 0 1px rgba(148,163,184,.16)}
.mc4-stat-card strong{display:block;font-size:1.16rem;color:#111827;margin-bottom:4px}
.mc4-stat-card small{color:#64748b;font-weight:700}
.mc4-breadcrumb-bar{
  display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.90);border:1px solid rgba(226,232,240,.95);
  border-radius:18px;padding:16px 20px;color:#475569;font-weight:700;margin-bottom:22px;box-shadow:0 14px 28px rgba(15,23,42,.06)
}
.mc4-breadcrumb-bar i{font-style:normal;color:#94a3b8}
.mc4-breadcrumb-bar strong{color:#334155}
.mc4-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,.92fr);gap:22px;align-items:start}
.mc4-news-column,.mc4-sidebar-column{display:grid;gap:22px}
.mc4-post-card{
  display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(0,.85fr);background:rgba(255,255,255,.95);border:1px solid rgba(226,232,240,.96);border-radius:24px;overflow:hidden;
  box-shadow:0 18px 40px rgba(15,23,42,.08)
}
.mc4-post-card.compact{grid-template-columns:minmax(250px,1.08fr) minmax(0,.92fr)}
.mc4-post-card.list-mode{grid-template-columns:minmax(260px,1fr) minmax(0,1.1fr)}
.mc4-post-media{background:#dbeafe;min-height:280px;position:relative}
.mc4-post-card.compact .mc4-post-media{min-height:240px}
.mc4-post-media img{width:100%;height:100%;object-fit:cover}
.mc4-post-media.no-image{display:grid;place-items:center;background:linear-gradient(180deg,#60a5fa,#3b82f6)}
.mc4-post-fallback{font-size:2rem;font-weight:900;color:#fff;letter-spacing:-.04em;padding:20px;text-align:center}
.mc4-post-body{padding:28px 28px 24px;display:flex;flex-direction:column;min-width:0}
.mc4-post-tag{display:inline-flex;align-self:flex-start;padding:7px 12px;border-radius:14px;background:#eef2ff;color:#4f46e5;font-size:.76rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.mc4-post-date{margin:14px 0 12px;color:#94a3b8;font-weight:700;font-size:.9rem}
.mc4-post-body h2,.mc4-post-body h3{margin:0 0 12px;color:#111827;line-height:1.14;letter-spacing:-.03em}
.mc4-post-body h2{font-size:2rem}
.mc4-post-body h3{font-size:1.65rem}
.mc4-post-body p{margin:0;color:#64748b;line-height:1.7}
.mc4-readmore{display:inline-flex;align-items:center;margin-top:auto;padding-top:18px;color:#475569;font-weight:800}
.mc4-readmore:hover{color:#111827}
.mc4-side-card{
  background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.96);border-radius:22px;padding:22px;box-shadow:0 16px 34px rgba(15,23,42,.07)
}
.mc4-section-title{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.mc4-section-title.split{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px}
.mc4-section-title h3{margin:0;font-size:1.9rem;line-height:1.05;color:#111827;letter-spacing:-.04em}
.mc4-section-title p{margin:0;color:#64748b;font-weight:700}
.mc4-login-form{display:grid;gap:14px}
.mc4-login-form input{
  width:100%;min-height:54px;border-radius:16px;border:1px solid rgba(203,213,225,.92);background:#f8fafc;color:#111827;padding:0 16px;box-shadow:none
}
.mc4-login-form input::placeholder{color:#94a3b8}
.mc4-login-form input:focus{border-color:rgba(99,102,241,.32);box-shadow:0 0 0 4px rgba(99,102,241,.10);background:#fff;transform:none}
.mc4-side-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.mc4-side-actions.compact{margin-top:12px}
.mc4-side-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border-radius:16px;background:#eef2ff;border:1px solid rgba(199,210,254,.85);color:#312e81;font-weight:900;flex:1
}
.mc4-side-btn.primary{background:linear-gradient(180deg,#7c8dff,#5967f6);border-color:rgba(99,102,241,.18);color:#fff;box-shadow:0 14px 26px rgba(89,103,246,.20)}
.mc4-side-btn.full{width:100%}
.mc4-account-box{display:grid;gap:10px}
.mc4-account-box div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border-radius:16px;background:#f8fafc;border:1px solid rgba(226,232,240,.92)}
.mc4-account-box strong{color:#334155}.mc4-account-box span{color:#0f172a;font-weight:800;text-align:right}
.mc4-top-member-box{display:flex;align-items:center;gap:14px;padding:18px;border-radius:20px;background:#f1f5f9;border:1px solid rgba(226,232,240,.92)}
.mc4-top-member-avatar,.footer-register-avatar{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(180deg,#0f172a,#1e293b);color:#fff;font-weight:900;font-size:1.2rem;box-shadow:0 10px 20px rgba(15,23,42,.14)}
.mc4-top-member-box strong{display:block;color:#111827;font-size:1.1rem}
.mc4-top-member-box span{display:block;color:#475569;font-weight:800;margin-top:3px}
.mc4-mini-table{display:grid;border-radius:18px;overflow:hidden;border:1px solid rgba(226,232,240,.96);background:#fff}
.mc4-mini-table-head,.mc4-mini-table-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:13px 16px}
.mc4-mini-table-head{background:#f8fafc;color:#64748b;font-size:.82rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.mc4-mini-table-head.three,.mc4-mini-table-row.three{grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.2fr)}
.mc4-mini-table-row{border-top:1px solid rgba(226,232,240,.9);font-size:.95rem;color:#334155}
.mc4-mini-table-row strong{color:#0f172a;font-size:.93rem}
.mc4-empty-card,.mc4-empty-mini{
  background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.95);border-radius:22px;padding:22px;color:#64748b;box-shadow:0 16px 34px rgba(15,23,42,.06)
}
.mc4-faq-box{display:grid;gap:16px}
.mc4-faq-shell{position:relative;padding:24px;border-radius:30px;isolation:isolate}
.mc4-faq-backdrop{position:absolute;inset:0;border-radius:30px;background:linear-gradient(180deg,rgba(9,16,30,.58),rgba(6,11,22,.42));border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 18px 44px rgba(0,0,0,.22);z-index:0}
.mc4-faq-shell>.mc4-faq-box{position:relative;z-index:1}
.mc4-faq-list .faq-item{background:rgba(255,255,255,.94)!important;border:1px solid rgba(226,232,240,.95)!important;padding:0 20px;color:#334155;box-shadow:0 14px 28px rgba(15,23,42,.05)}
.mc4-faq-list .faq-item summary{color:#111827}
.mc4-faq-list .faq-item div{color:#64748b}

.mc4-inner-hero{padding-top:36px;padding-bottom:0}
.mc4-news-list-grid{display:grid;gap:20px}
.mc4-article-card{background:rgba(255,255,255,.96)!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 18px 40px rgba(15,23,42,.08)}
.mc4-article-card .prose p,.mc4-article-card .prose li,.mc4-article-card p,.mc4-article-card li{color:#475569}
.mc4-article-card h1,.mc4-article-card h2,.mc4-article-card h3{color:#0f172a}

body.public-theme .site-footer{
  background:rgba(3,7,15,.94);border-top:1px solid rgba(255,255,255,.06);padding-top:0;margin-top:0;color:#fff
}
.footer-register-band{
  display:grid;grid-template-columns:1.25fr 2fr;gap:22px;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.02));padding:0;overflow:hidden
}
.footer-register-copy{padding:40px 36px;background:rgba(255,255,255,.02)}
.footer-register-copy h3{margin:0 0 10px;font-size:2rem;color:#fff}
.footer-register-copy p{margin:0;color:rgba(255,255,255,.72);font-size:1.1rem}
.footer-register-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:26px 20px}
.footer-register-item{padding:12px 16px;display:grid;justify-items:center;gap:7px;text-align:center;border-left:1px solid rgba(255,255,255,.06)}
.footer-register-item strong{font-size:1rem;color:#fff;line-height:1.3;max-width:100%;overflow-wrap:anywhere}
.footer-register-item small{color:rgba(255,255,255,.62)}
.footer-register-empty{padding:26px;color:rgba(255,255,255,.62)}
.footer-grid-mc4{grid-template-columns:1.2fr .8fr .9fr .8fr;padding:46px 0 28px;gap:28px}
body.public-theme .footer-title{font-size:1.45rem;margin-bottom:16px;color:#fff}
body.public-theme .footer-grid a{color:rgba(255,255,255,.82);margin-bottom:10px}
body.public-theme .footer-grid a:hover{color:#fff}
.footer-brand-line{margin-top:16px;color:rgba(255,255,255,.72);font-weight:700}
.footer-copy-btn{margin-top:10px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);box-shadow:none}
.footer-bottom-mc4{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0 24px;border-top:1px solid rgba(255,255,255,.06)}
.footer-language-pill{display:inline-flex;align-items:center;justify-content:center;min-width:94px;min-height:42px;padding:10px 16px;border-radius:14px;background:#fff;color:#111827;font-weight:900}
.footer-powered{color:rgba(255,255,255,.72);font-weight:800}

body.public-theme .discord-float{
  right:20px;bottom:22px;width:64px;height:64px;background:linear-gradient(180deg,#7c8dff,#5967f6);box-shadow:0 20px 38px rgba(89,103,246,.28)
}

@media (max-width:1180px){
  .mc4-ribbon-grid{grid-template-columns:1fr 1fr;gap:14px}
  .mc4-ribbon-center{order:-1;grid-column:1/-1}
  .mc4-main-grid{grid-template-columns:1fr}
  .footer-register-band,.footer-grid-mc4{grid-template-columns:1fr}
  .footer-register-list{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px}
}
@media (max-width:980px){
  body.public-theme .nav-row{flex-wrap:wrap}
  body.public-theme .site-nav{justify-content:flex-start}
  .mc4-stat-cards{grid-template-columns:1fr}
  .mc4-post-card,.mc4-post-card.compact,.mc4-post-card.list-mode{grid-template-columns:1fr}
  .mc4-post-media,.mc4-post-card.compact .mc4-post-media{min-height:240px}
  .footer-register-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  body.public-theme .header-actions{width:100%;justify-content:flex-start}
}
@media (max-width:760px){
  .mc4-faq-shell{padding:18px;border-radius:24px}
  .mc4-faq-backdrop{border-radius:24px}
}

@media (max-width:760px){
  body.public-theme .nav-row{align-items:center}
  body.public-theme .header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  body.public-theme .header-copy-btn{grid-column:1/-1}
  body.public-theme .site-nav{top:124px}
  .mc4-hero-section{padding-top:42px}
  .mc4-hero-topline,.mc4-hero-shortcuts{flex-direction:column;align-items:stretch}
  .mc4-logo-card{padding:18px 18px 14px;border-radius:24px}
  .mc4-ribbon-grid{padding:16px;grid-template-columns:1fr}
  .mc4-ribbon-center{order:0}
  .mc4-ribbon-card{padding:12px}
  .mc4-ribbon-icon{width:46px;height:46px;border-radius:16px}
  .mc4-home-surface{padding-bottom:40px}
  .mc4-breadcrumb-bar{padding:14px 16px;gap:10px;font-size:.94rem}
  .mc4-post-body{padding:20px 18px 18px}
  .mc4-post-body h2{font-size:1.55rem}
  .mc4-post-body h3{font-size:1.35rem}
  .mc4-side-card{padding:18px}
  .mc4-section-title h3{font-size:1.45rem}
  .mc4-side-actions{flex-direction:column}
  .mc4-mini-table-head,.mc4-mini-table-row{padding:12px 14px;font-size:.9rem}
  .mc4-mini-table-head.three,.mc4-mini-table-row.three{grid-template-columns:1fr}
  .footer-register-copy{padding:26px 20px}
  .footer-register-copy h3{font-size:1.55rem}
  .footer-register-list{grid-template-columns:1fr;gap:10px;padding:12px}
  .footer-register-item{justify-items:flex-start;text-align:left;border-left:none;border-top:1px solid rgba(255,255,255,.06);padding:14px 12px}
  .footer-bottom-mc4{flex-direction:column;align-items:flex-start}
  body.public-theme .status-float-fixed{top:72px}
}

/* MC4FUN theme shared inner page refinements */
body.public-theme .page-hero h1,
body.public-theme .page-hero p,
body.public-theme .page-hero .text-link,
body.public-theme .page-hero .eyebrow{color:#fff}
body.public-theme .page-hero.small{padding-top:48px;padding-bottom:12px}
body.public-theme .auth-form-card,
body.public-theme .auth-promo-card,
body.public-theme .account-card,
body.public-theme .countdown-card,
body.public-theme .notice-box,
body.public-theme .external-card,
body.public-theme .maintenance-card,
body.public-theme .maintenance-box,
body.public-theme .hub-card,
body.public-theme .market-note-card,
body.public-theme .market-category-sidebar,
body.public-theme .sidebar-style-product-card,
body.public-theme .selected-category-head,
body.public-theme .compact-market-note-card,
body.public-theme .minimal-product-card,
body.public-theme .public-alert,
body.public-theme .empty-card,
body.public-theme .article-card,
body.public-theme .faq-item,
body.public-theme .section-lead-card{
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(226,232,240,.96)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.08)!important;
  color:#1f2937;
}
body.public-theme .auth-form-card h2,
body.public-theme .auth-promo-card h3,
body.public-theme .account-card h2,
body.public-theme .account-card h3,
body.public-theme .external-card h2,
body.public-theme .external-card h3,
body.public-theme .hub-card h3,
body.public-theme .section-head h2,
body.public-theme .article-card h1,
body.public-theme .article-card h2,
body.public-theme .article-card h3,
body.public-theme .faq-item summary{color:#0f172a}
body.public-theme .auth-subtext,
body.public-theme .auth-helper,
body.public-theme .hero-text,
body.public-theme .section-head p,
body.public-theme .feature-card p,
body.public-theme .hub-card p,
body.public-theme .external-card p,
body.public-theme .notice-box,
body.public-theme .account-list strong,
body.public-theme .faq-item div,
body.public-theme .market-plain-detail,
body.public-theme .market-short-copy,
body.public-theme .market-muted{color:#64748b!important}
body.public-theme .section.muted{background:rgba(240,248,255,.30);border-color:rgba(255,255,255,.12)}
body.public-theme .account-list div,
body.public-theme .mini-history-item,
body.public-theme .support-ticket-card,
body.public-theme .market-category-link,
body.public-theme .wallet-chip,
body.public-theme .minimal-market-meta span,
body.public-theme .account-mini-table-wrap,
body.public-theme .modal-table-wrap,
body.public-theme .market-detail-box{background:#f8fafc!important;border-color:rgba(226,232,240,.96)!important;color:#334155}
body.public-theme .account-list span,
body.public-theme .support-ticket-excerpt,
body.public-theme .account-mini-table td{color:#0f172a}
body.public-theme .account-mini-table th,
body.public-theme .support-ticket-card span,
body.public-theme .mini-history-item span,
body.public-theme .mini-history-item small,
body.public-theme .support-ticket-meta small{color:#64748b}
body.public-theme .market-category-link.active{background:rgba(99,102,241,.10)!important;border-color:rgba(99,102,241,.24)!important;color:#312e81}
body.public-theme .wallet-chip{color:#312e81}
body.public-theme input[type="text"],
body.public-theme input[type="email"],
body.public-theme input[type="password"],
body.public-theme input[type="url"],
body.public-theme input[type="number"],
body.public-theme input[type="datetime-local"],
body.public-theme select,
body.public-theme textarea{background:#f8fafc;color:#111827;border-color:rgba(203,213,225,.95);box-shadow:none}
body.public-theme input::placeholder,
body.public-theme textarea::placeholder{color:#94a3b8}
body.public-theme input:focus,
body.public-theme select:focus,
body.public-theme textarea:focus{background:#fff;border-color:rgba(99,102,241,.32);box-shadow:0 0 0 4px rgba(99,102,241,.10)}
body.public-theme label{color:#334155}


/* 2026-04 mc4 dark refinement */
body.public-theme{
  background:#040812;
  color:#eef2ff;
}
body.public-theme .site-backdrop{
  z-index:-2;
}
body.public-theme .backdrop-grid{
  opacity:.24;
}
body.public-theme .backdrop-image{
  opacity:.68 !important;
  filter:saturate(1.06) contrast(1.04) brightness(.38) !important;
  transform:scale(1.025) !important;
}
body.public-theme .backdrop-image::after{
  background:linear-gradient(180deg,rgba(3,7,15,.38),rgba(3,7,15,.28) 28%,rgba(3,7,15,.52) 100%) !important;
}
body.public-theme .site-header{
  background:rgba(4,8,16,.72) !important;
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
body.public-theme .brand-text,
body.public-theme .site-nav a,
body.public-theme .header-action-link,
body.public-theme .mc4-logo-title,
body.public-theme .mc4-post-body h2,
body.public-theme .mc4-post-body h3,
body.public-theme .mc4-section-title h3,
body.public-theme .mc4-stat-card strong,
body.public-theme .mc4-breadcrumb-bar strong,
body.public-theme .mc4-top-member-box strong,
body.public-theme .mc4-mini-table-row strong,
body.public-theme .mc4-account-box span,
body.public-theme .mc4-account-box strong,
body.public-theme .mc4-readmore,
body.public-theme .mc4-faq-list .faq-item summary,
body.public-theme .mc4-article-card h1,
body.public-theme .mc4-article-card h2,
body.public-theme .mc4-article-card h3{
  color:#f8fbff;
}
body.public-theme .site-nav a.active,
body.public-theme .site-nav a:hover,
body.public-theme .mc4-readmore:hover,
body.public-theme .footer-minimal-links a:hover{
  color:#ffffff;
}
body.public-theme .header-action-link,
body.public-theme .copy-ip-btn,
body.public-theme .mc4-hero-badge,
body.public-theme .mc4-hero-cta,
body.public-theme .status-float,
body.public-theme .mc4-logo-card,
body.public-theme .mc4-ribbon-grid,
body.public-theme .mc4-ribbon-card,
body.public-theme .mc4-stat-card,
body.public-theme .mc4-breadcrumb-bar,
body.public-theme .mc4-post-card,
body.public-theme .mc4-side-card,
body.public-theme .mc4-empty-card,
body.public-theme .mc4-empty-mini,
body.public-theme .mc4-faq-list .faq-item,
body.public-theme .mc4-article-card,
body.public-theme .mc4-mini-table,
body.public-theme .mc4-top-member-box,
body.public-theme .mc4-account-box div,
body.public-theme .mc4-login-form input,
body.public-theme .public-alert{
  background:linear-gradient(180deg,rgba(10,17,31,.82),rgba(7,12,24,.72)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  color:#eef2ff;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 44px rgba(0,0,0,.18);
}
body.public-theme .status-float small,
body.public-theme .status-float .status-ip,
body.public-theme .mc4-ribbon-card small,
body.public-theme .mc4-ribbon-center small,
body.public-theme .mc4-stat-card small,
body.public-theme .mc4-post-date,
body.public-theme .mc4-post-body p,
body.public-theme .mc4-section-title p,
body.public-theme .mc4-top-member-box span,
body.public-theme .mc4-mini-table-head,
body.public-theme .mc4-mini-table-row,
body.public-theme .mc4-account-box div,
body.public-theme .mc4-faq-list .faq-item div,
body.public-theme .mc4-article-card .prose p,
body.public-theme .mc4-article-card .prose li,
body.public-theme .mc4-article-card p,
body.public-theme .mc4-article-card li,
body.public-theme .footer-status,
body.public-theme .footer-minimal-brand p,
body.public-theme .footer-bottom-minimal span{
  color:#c8d3ea !important;
}
body.public-theme .mc4-ribbon-icon,
body.public-theme .mc4-stat-icon{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  color:#dbe5ff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
body.public-theme .mc4-post-tag{
  background:rgba(88,101,242,.18);
  color:#dce4ff;
}
body.public-theme .mc4-login-form input::placeholder{
  color:rgba(232,240,255,.45);
}
body.public-theme .mc4-login-form input:focus{
  border-color:rgba(120,136,255,.32);
  background:rgba(11,19,36,.92) !important;
  box-shadow:0 0 0 4px rgba(88,101,242,.12),0 16px 36px rgba(0,0,0,.18);
}
body.public-theme .mc4-side-btn{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#eef2ff;
}
body.public-theme .mc4-side-btn.primary{
  background:linear-gradient(180deg,#6f80ff,#5865f2);
  color:#fff;
}
body.public-theme .mc4-mini-table-head{
  background:rgba(255,255,255,.04);
}
body.public-theme .mc4-mini-table-row{
  border-top:1px solid rgba(255,255,255,.06);
}
body.public-theme .mc4-home-surface::before{
  background:linear-gradient(180deg,rgba(5,10,19,.08),rgba(5,10,19,.14));
  border-top:1px solid rgba(255,255,255,.05);
}
body.public-theme .mc4-post-media.no-image{
  background:linear-gradient(180deg,#23324d,#141d30);
}
body.public-theme .site-footer-minimal{
  background:rgba(3,7,15,.58) !important;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:16px;
  padding-top:0;
  padding-bottom:0;
}
.footer-minimal{
  display:grid;
  grid-template-columns:1.2fr 1fr auto;
  gap:20px;
  align-items:center;
  padding:24px 0 18px;
}
.footer-minimal-brand .footer-brand{
  font-size:1.1rem;
  margin-bottom:8px;
}
.footer-minimal-brand p{
  margin:0;
}
.footer-minimal-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-minimal-links a{
  color:#dbe5ff;
  font-weight:700;
}
.footer-minimal-meta{
  display:grid;
  gap:6px;
  justify-items:end;
}
.footer-bottom-minimal{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:14px 0 22px;
  border-top:1px solid rgba(255,255,255,.06);
}
@media (max-width:980px){
  .footer-minimal{grid-template-columns:1fr;justify-items:start}
  .footer-minimal-links{justify-content:flex-start}
  .footer-minimal-meta{justify-items:start}
}
@media (max-width:760px){
  body.public-theme .status-float-fixed{top:78px;right:12px;left:12px;max-width:none}
  .footer-bottom-minimal{flex-direction:column;align-items:flex-start}
}


/* 2026-04 final dark cleanup */
body.public-theme main,
body.public-theme .section,
body.public-theme .section.muted,
body.public-theme .mc4-home-surface,
body.public-theme .mc4-home-surface.inner-surface{
  background:transparent !important;
}
body.public-theme .mc4-home-surface::before{
  background:linear-gradient(180deg,rgba(3,7,15,.06),rgba(3,7,15,.12)) !important;
  border-top:1px solid rgba(255,255,255,.03) !important;
}
body.public-theme .auth-form-card,
body.public-theme .auth-promo-card,
body.public-theme .account-card,
body.public-theme .countdown-card,
body.public-theme .notice-box,
body.public-theme .external-card,
body.public-theme .maintenance-card,
body.public-theme .maintenance-box,
body.public-theme .hub-card,
body.public-theme .market-note-card,
body.public-theme .market-category-sidebar,
body.public-theme .sidebar-style-product-card,
body.public-theme .selected-category-head,
body.public-theme .compact-market-note-card,
body.public-theme .minimal-product-card,
body.public-theme .public-alert,
body.public-theme .empty-card,
body.public-theme .article-card,
body.public-theme .faq-item,
body.public-theme .section-lead-card,
body.public-theme .market-detail-box,
body.public-theme .account-mini-table-wrap,
body.public-theme .modal-table-wrap,
body.public-theme .mini-history-item,
body.public-theme .support-ticket-card,
body.public-theme .wallet-chip,
body.public-theme .minimal-market-meta span,
body.public-theme .market-category-link,
body.public-theme .account-list div,
body.public-theme .mc4-ribbon-grid,
body.public-theme .mc4-ribbon-card,
body.public-theme .mc4-stat-card,
body.public-theme .mc4-breadcrumb-bar,
body.public-theme .mc4-post-card,
body.public-theme .mc4-side-card,
body.public-theme .mc4-empty-card,
body.public-theme .mc4-empty-mini,
body.public-theme .mc4-faq-list .faq-item,
body.public-theme .mc4-article-card,
body.public-theme .mc4-mini-table,
body.public-theme .mc4-top-member-box,
body.public-theme .mc4-account-box div,
body.public-theme .mc4-login-form input,
body.public-theme .status-float{
  background:linear-gradient(180deg,rgba(9,16,30,.86),rgba(6,11,22,.80)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  color:#eef2ff !important;
  box-shadow:0 18px 44px rgba(0,0,0,.22) !important;
}
body.public-theme .account-card h2,
body.public-theme .account-card h3,
body.public-theme .auth-form-card h2,
body.public-theme .auth-promo-card h3,
body.public-theme .external-card h2,
body.public-theme .external-card h3,
body.public-theme .hub-card h3,
body.public-theme .section-head h2,
body.public-theme .article-card h1,
body.public-theme .article-card h2,
body.public-theme .article-card h3,
body.public-theme .faq-item summary,
body.public-theme .market-product-card h3,
body.public-theme .market-category-sidebar h2,
body.public-theme .market-note-card h2,
body.public-theme .account-list span,
body.public-theme .account-list strong,
body.public-theme .mc4-post-body h2,
body.public-theme .mc4-post-body h3,
body.public-theme .mc4-section-title h3,
body.public-theme .mc4-stat-card strong,
body.public-theme .mc4-breadcrumb-bar strong,
body.public-theme .mc4-top-member-box strong,
body.public-theme .mc4-mini-table-row strong,
body.public-theme .mc4-account-box span,
body.public-theme .mc4-account-box strong,
body.public-theme .mc4-faq-list .faq-item summary,
body.public-theme .mc4-article-card h1,
body.public-theme .mc4-article-card h2,
body.public-theme .mc4-article-card h3{
  color:#f8fbff !important;
}
body.public-theme .auth-subtext,
body.public-theme .auth-helper,
body.public-theme .hero-text,
body.public-theme .section-head p,
body.public-theme .feature-card p,
body.public-theme .hub-card p,
body.public-theme .external-card p,
body.public-theme .notice-box,
body.public-theme .faq-item div,
body.public-theme .market-plain-detail,
body.public-theme .market-short-copy,
body.public-theme .market-muted,
body.public-theme .market-detail-box,
body.public-theme .account-support-message-body,
body.public-theme .support-ticket-excerpt,
body.public-theme .support-ticket-meta small,
body.public-theme .mini-history-item span,
body.public-theme .mini-history-item small,
body.public-theme .account-mini-table td,
body.public-theme .account-mini-table th,
body.public-theme .status-float small,
body.public-theme .footer-minimal-brand p,
body.public-theme .footer-bottom-minimal span,
body.public-theme .footer-minimal-links a,
body.public-theme .mc4-ribbon-card small,
body.public-theme .mc4-ribbon-center small,
body.public-theme .mc4-stat-card small,
body.public-theme .mc4-post-date,
body.public-theme .mc4-post-body p,
body.public-theme .mc4-section-title p,
body.public-theme .mc4-top-member-box span,
body.public-theme .mc4-mini-table-head,
body.public-theme .mc4-mini-table-row,
body.public-theme .mc4-account-box div,
body.public-theme .mc4-faq-list .faq-item div,
body.public-theme .mc4-article-card .prose p,
body.public-theme .mc4-article-card .prose li,
body.public-theme .mc4-article-card p,
body.public-theme .mc4-article-card li{
  color:#cbd5e1 !important;
}
body.public-theme .market-category-link.active{
  background:rgba(88,101,242,.18) !important;
  border-color:rgba(129,140,248,.32) !important;
  color:#eef2ff !important;
}
body.public-theme .mc4-stat-card,
body.public-theme .mc4-breadcrumb-bar,
body.public-theme .mc4-post-card,
body.public-theme .mc4-side-card,
body.public-theme .mc4-empty-card,
body.public-theme .mc4-empty-mini,
body.public-theme .mc4-faq-list .faq-item,
body.public-theme .mc4-article-card{
  box-shadow:0 18px 40px rgba(0,0,0,.22) !important;
}
body.public-theme .mc4-hero-section{
  padding:58px 0 0;
  min-height:auto;
}
body.public-theme .mc4-hero-shell{
  min-height:auto;
}
body.public-theme .mc4-logo-stage{
  min-height:164px;
  padding:18px 0 10px;
}
body.public-theme .mc4-home-surface{
  padding-top:18px;
}
body.public-theme .mc4-stat-cards{
  margin-bottom:18px;
}
body.public-theme .mc4-breadcrumb-bar{
  margin-bottom:18px;
}
body.public-theme .site-footer-minimal{
  background:rgba(3,7,15,.46) !important;
  border-top:1px solid rgba(255,255,255,.05);
  margin-top:12px;
}
.footer-minimal.footer-minimal-compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0 10px;
}
.footer-minimal-brand .footer-brand{
  font-size:1rem;
  margin-bottom:4px;
}
.footer-minimal-brand p{
  font-size:.92rem;
}
.footer-bottom.footer-bottom-minimal.footer-bottom-compact{
  padding:8px 0 14px;
  margin-top:0;
  border-top:1px solid rgba(255,255,255,.05);
}
body.public-theme .status-ip,
body.public-theme .footer-copy-btn,
body.public-theme .footer-minimal-meta,
body.public-theme .mc4-hero-topline,
body.public-theme .mc4-hero-ribbon{
  display:none !important;
}
@media (max-width:980px){
  .footer-minimal.footer-minimal-compact{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width:760px){
  body.public-theme .header-actions{
    grid-template-columns:1fr 1fr;
  }
  body.public-theme .site-header{
    background:rgba(4,8,16,.78) !important;
  }
}


/* 2026-04 account surface polish */
body.public-theme.route-hesabim label,
body.public-theme.route-hesabim .field-note,
body.public-theme.route-hesabim .auth-helper,
body.public-theme.route-hesabim .market-muted,
body.public-theme.route-hesabim .account-card p,
body.public-theme.route-hesabim .support-detail-side small,
body.public-theme.route-hesabim .wallet-history-item span,
body.public-theme.route-hesabim .wallet-history-item small,
body.public-theme.route-hesabim .mini-history-item span,
body.public-theme.route-hesabim .mini-history-item small,
body.public-theme.route-hesabim .table-meta,
body.public-theme.route-hesabim .account-detail-list span,
body.public-theme.route-hesabim .support-chat-meta span,
body.public-theme.route-hesabim .account-panel-link small{
  color:#cfd9ef !important;
}
body.public-theme.route-hesabim input[type="text"],
body.public-theme.route-hesabim input[type="email"],
body.public-theme.route-hesabim input[type="password"],
body.public-theme.route-hesabim input[type="url"],
body.public-theme.route-hesabim input[type="number"],
body.public-theme.route-hesabim input[type="datetime-local"],
body.public-theme.route-hesabim select,
body.public-theme.route-hesabim textarea{
  background:linear-gradient(180deg,rgba(9,16,30,.96),rgba(6,11,22,.92)) !important;
  border:1px solid rgba(129,140,248,.18) !important;
  color:#f8fbff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 30px rgba(0,0,0,.18) !important;
}
body.public-theme.route-hesabim input::placeholder,
body.public-theme.route-hesabim textarea::placeholder{
  color:rgba(214,225,244,.58) !important;
}
body.public-theme.route-hesabim input:focus,
body.public-theme.route-hesabim select:focus,
body.public-theme.route-hesabim textarea:focus{
  background:linear-gradient(180deg,rgba(11,19,36,.98),rgba(7,13,25,.94)) !important;
  border-color:rgba(129,140,248,.34) !important;
  box-shadow:0 0 0 4px rgba(88,101,242,.14),0 18px 38px rgba(0,0,0,.22) !important;
}
body.public-theme.route-hesabim .wallet-chip,
body.public-theme.route-hesabim .btn-secondary,
body.public-theme.route-hesabim .small-market-btn{
  background:linear-gradient(180deg,rgba(10,18,33,.96),rgba(7,12,23,.92)) !important;
  border:1px solid rgba(129,140,248,.16) !important;
  color:#eef2ff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.14) !important;
}
body.public-theme.route-hesabim .wallet-chip:hover,
body.public-theme.route-hesabim .btn-secondary:hover,
body.public-theme.route-hesabim .small-market-btn:hover{
  background:linear-gradient(180deg,rgba(13,22,40,.98),rgba(9,16,30,.94)) !important;
  border-color:rgba(129,140,248,.26) !important;
  color:#ffffff !important;
}
body.public-theme.route-hesabim .wallet-custom-row,
body.public-theme.route-hesabim .support-reply-form .full-row{
  gap:12px;
}
body.public-theme.route-hesabim .wallet-history-card .account-card-head,
body.public-theme.route-hesabim .support-reply-card .account-card-head{
  align-items:center;
}


/* 2026-04 queued order quick deliver */
body.public-theme.route-hesabim .order-history-side{
  align-items:flex-end;
  gap:8px;
}
body.public-theme.route-hesabim .queue-deliver-btn{
  min-height:34px;
  padding:8px 14px;
  border-radius:12px;
  font-size:.82rem;
  letter-spacing:.02em;
}
body.public-theme.route-hesabim .queue-deliver-modal{
  width:min(100%,520px);
}
body.public-theme.route-hesabim .queue-deliver-head{
  align-items:flex-start;
}
body.public-theme.route-hesabim .queue-deliver-copy p{
  margin:0 0 10px;
  color:#d7e2f5 !important;
}
body.public-theme.route-hesabim .queue-deliver-copy p:last-child{
  margin-bottom:0;
}
body.public-theme.route-hesabim .queue-deliver-actions{
  display:flex;
  justify-content:flex-end;
}
body.public-theme.route-hesabim .queue-confirm-btn{
  min-width:132px;
}
@media (max-width:760px){
  body.public-theme.route-hesabim .order-history-side{
    align-items:flex-start;
  }
  body.public-theme.route-hesabim .queue-deliver-btn,
  body.public-theme.route-hesabim .queue-confirm-btn{
    width:100%;
  }
  body.public-theme.route-hesabim .queue-deliver-actions{
    justify-content:stretch;
  }
}

/* 2026-04 faq shell + footer blur strength */
body.public-theme .mc4-faq-shell{
  position:relative;
  padding:28px 26px 24px;
  border-radius:30px;
  isolation:isolate;
  overflow:hidden;
}
body.public-theme .mc4-faq-backdrop{
  position:absolute;
  inset:0;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(6,12,24,.78),rgba(4,9,18,.68)) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:0 22px 54px rgba(0,0,0,.30) !important;
  backdrop-filter:blur(26px) saturate(1.05) !important;
  -webkit-backdrop-filter:blur(26px) saturate(1.05) !important;
  z-index:0;
}
body.public-theme .mc4-faq-shell::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));
  pointer-events:none;
  z-index:0;
}
body.public-theme .mc4-faq-shell > .mc4-faq-box{
  position:relative;
  z-index:1;
}

body.public-theme .site-footer-minimal{
  position:relative;
  overflow:hidden;
  background:rgba(3,7,15,.62) !important;
  border-top:1px solid rgba(255,255,255,.07) !important;
  backdrop-filter:blur(18px) saturate(1.04) !important;
  -webkit-backdrop-filter:blur(18px) saturate(1.04) !important;
}
body.public-theme .site-footer-minimal::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,9,18,.56),rgba(4,9,18,.72));
  backdrop-filter:blur(24px) saturate(1.05);
  -webkit-backdrop-filter:blur(24px) saturate(1.05);
  pointer-events:none;
  z-index:0;
}
body.public-theme .site-footer-minimal > .container{
  position:relative;
  z-index:1;
}

@media (max-width:760px){
  body.public-theme .mc4-faq-shell{
    padding:22px 18px 18px;
    border-radius:24px;
  }
  body.public-theme .mc4-faq-backdrop,
  body.public-theme .mc4-faq-shell::after{
    border-radius:24px;
  }
}
