/* Disabled by default, including when the runtime configuration fails to load. */
html:not([data-contact-enabled="true"]) [data-feature="contact"],
html:not([data-facebook-login-enabled="true"]) [data-feature="facebookLogin"],
html:not([data-contact-enabled="true"]) #modal-contact,
html:not([data-community-enabled="true"]) #community-btn,
html:not([data-community-enabled="true"]) #nav-community,
html:not([data-community-enabled="true"]) #nav-community-section,
html:not([data-community-enabled="true"]) #community-search-section {
  display: none !important;
}

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #18181f;
  --border: #252530;
  --border2: #2e2e3d;
  --text: #e8e8f0;
  --text2: #8888aa;
  --text3: #555570;
  --accent: #7c6af7;
  --accent-contrast: #ffffff;
  --accent2: #9d8eff;
  --accent-glow: rgba(124,106,247,0.18);
  --gold: #f0c060;
  --green: #50d08a;
  --red: #f06070;
  --orange: #f0a050;
  --blue: #50b0f0;
  --pink: #e050e0;
  --r: 10px;
  --r2: 14px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'DM Mono', monospace;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── LAYOUT ── */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
  background: #111118;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.logo { padding: 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }
.logo::after { display: none; }
.logo h1 {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent2), #f0c060);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.logo span { font-size: 11px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; display: block; margin-top: 2px; }
.sidebar-logo { display: block; width: 140%; margin: 8px auto 0; height: auto; transition: opacity 0.2s ease, transform 0.2s ease; }
.auth-logo { border: none; padding: 0 0 20px 0; display: flex; justify-content: center; align-items: center; }
.auth-logo-wrap { display: block; width: 300px; max-width: 100%; overflow: hidden; border-radius: 12px; }
.auth-logo-img { width: 100%; height: auto; display: block; transition: opacity 0.25s ease, transform 0.25s ease; }
.nav { padding: 12px 12px; flex: 1; min-height: 0; overflow-y: auto; }
.nav-section { margin-bottom: 16px; }
.nav-label { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text3); padding: 0 10px; margin-bottom: 4px; font-family: 'Syne', sans-serif; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; border-radius: 8px;
  cursor: pointer; transition: all 0.15s;
  color: var(--text2); font-size: 13px;
  font-family: 'Syne', sans-serif; font-weight: 500;
  border: 1px solid transparent;
}
.nav-item:hover { background: #18181f; color: var(--text); }
.nav-item.active { background: var(--accent-glow); color: var(--accent2); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.nav-item .icon { font-size: 15px; width: 20px; text-align: center; display: flex; align-items: center; justify-content: center; }
.nav-item .icon svg { width: 17px; height: 17px; }
.settings-btn-icon { display: flex; align-items: center; justify-content: center; color: var(--text2); }
.settings-btn-icon svg { width: 19px; height: 19px; }
.nav-icon-img { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; opacity: 0.75; transition: opacity 0.15s; }
.nav-item:hover .nav-icon-img { opacity: 1; }
.nav-item.active .nav-icon-img { opacity: 1; }
.nav-badge { margin-left: auto; background: #18181f; border-radius: 20px; padding: 1px 7px; font-size: 11px; color: var(--text3); transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.nav-item:hover .nav-badge, .nav-badge:hover { transform: scale(1.15); }
/* ── SIDEBAR AD (AdSense) ── */
.sidebar-ad-container {
  display: none;
  padding: 10px 12px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--border);
}
.sidebar-ad-container.is-active {
  display: flex;
}
.sidebar-ad-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  font-family: 'Syne', sans-serif;
  align-self: flex-start;
  margin-bottom: 6px;
}
.sidebar-ad-box {
  width: 100%;
  max-width: 216px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
  box-sizing: border-box;
}
.sidebar-ad-box ins.adsbygoogle {
  display: block !important;
  width: 100%;
}

.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); flex-shrink: 0; }
.stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stat-pill { background: #18181f; border-radius: 8px; padding: 8px; text-align: center; border: 1px solid var(--border); }
.stat-pill .val { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--accent2); }
.stat-pill .lbl { font-size: 9px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-top: 1px; }

/* ── INLINE ICONS (Lucide SVG) ── */
.icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-top: -2px;
  margin-right: 4px;
  flex-shrink: 0;
}
.icon-inline svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}
.form-label .icon-inline {
  width: 11px;
  height: 11px;
  margin-top: -1px;
  margin-right: 3px;
}
.form-label .icon-inline svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5px;
}
#lbl-intervals .icon-inline,
#lbl-coop .icon-inline {
  width: 12px;
  height: 12px;
  margin-top: -1px;
  margin-right: 4px;
}
#lbl-intervals .icon-inline svg,
#lbl-coop .icon-inline svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5px;
}
.status-btn .icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 4px;
}
.status-btn .icon-inline svg {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
}
.icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.icon-sm svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}
.icon-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.icon-lg svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5px;
}

