:root {
  --dc-bg: #100d18;
  --dc-glass: rgba(255,255,255,.065);
  --dc-glass-2: rgba(255,255,255,.035);
  --dc-border: rgba(255,255,255,.12);
  --dc-pink: #ef9acb;
  --dc-lilac: #b9a1ff;
  --dc-gold: #e8c77b;
}

html, body {
  background:
    radial-gradient(ellipse at 15% 5%, rgba(150,91,160,.22), transparent 38%),
    radial-gradient(ellipse at 90% 35%, rgba(105,92,180,.16), transparent 36%),
    var(--dc-bg) !important;
  color: #fff;
}

#app {
  background: transparent !important;
}

#app-header {
  background: rgba(18,14,27,.58) !important;
  border-bottom: 1px solid var(--dc-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#app-content {
  background: transparent !important;
  padding: 16px 14px 112px !important;
}

.dc-redesign-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  animation: dcFadeIn .28s ease;
}

@keyframes dcFadeIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.dc-welcome {
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 25px;
  background:
    linear-gradient(125deg,rgba(255,255,255,.13),rgba(255,255,255,.025)),
    linear-gradient(135deg,rgba(130,83,150,.20),rgba(65,54,105,.16));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 18px 45px rgba(0,0,0,.20);
  backdrop-filter: blur(22px);
}

.dc-eyebrow {
  color: var(--dc-pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dc-welcome h1 {
  font-size: 27px;
  margin: 9px 0 6px;
  letter-spacing: -.6px;
}

.dc-muted {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.6;
}

.dc-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 25px 2px 13px;
}

.dc-section-heading h2 {
  font-size: 17px;
  margin: 0;
}

.dc-pill-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 17px 0 5px;
  scrollbar-width: none;
}

.dc-pill {
  flex: 0 0 auto;
  border: 1px solid var(--dc-border);
  border-radius: 30px;
  padding: 10px 17px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 700;
}

.dc-pill.active {
  color: #fff;
  border-color: rgba(239,154,203,.55);
  background: linear-gradient(110deg,rgba(208,113,176,.35),rgba(143,117,218,.32));
}

.dc-glass-panel {
  border: 1px solid var(--dc-border);
  border-radius: 21px;
  padding: 17px;
  margin: 12px 0;
  background:
    linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.025)),
    rgba(34,27,48,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 12px 35px rgba(0,0,0,.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.dc-live-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dc-live-avatar {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg,#795b91,#d28cb7);
  border: 1px solid rgba(255,255,255,.22);
}

.dc-live-info {
  flex: 1;
  min-width: 0;
}

.dc-live-info strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.dc-live-info small {
  color: rgba(255,255,255,.55);
  font-size: 11px;
}

.dc-live-tag {
  color: #ff9fc5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.dc-action {
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 15px;
  padding: 12px 17px;
  color: #fff;
  background: linear-gradient(115deg,rgba(206,111,174,.72),rgba(132,107,205,.75));
  font-weight: 800;
  cursor: pointer;
}

.dc-action.secondary {
  background: rgba(255,255,255,.07);
}

.dc-empty {
  text-align: center;
  padding: 30px 18px;
  color: rgba(255,255,255,.65);
}

.dc-empty .dc-empty-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.dc-coming {
  display: inline-block;
  color: var(--dc-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid rgba(232,199,123,.28);
  border-radius: 20px;
  padding: 5px 9px;
}

#bottom-navigation {
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  width: auto !important;
  min-height: 70px;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 5px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 25px !important;
  background: rgba(25,19,36,.70) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.10);
  backdrop-filter: blur(28px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
  z-index: 999 !important;
}

#bottom-navigation .nav-item {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: rgba(255,255,255,.58) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 10px !important;
  font-weight: 700;
  padding: 5px 2px !important;
}

#bottom-navigation .nav-item .icon {
  font-size: 19px;
}

#bottom-navigation .nav-item.active {
  color: #ffc0e0 !important;
  background: rgba(219,132,191,.13) !important;
}

#bottom-navigation .dc-create-nav {
  flex: 1.15;
}

#bottom-navigation .dc-create-nav .icon {
  width: 39px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg,#e18aba,#9a80df);
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 18px rgba(190,115,190,.25);
}

.dc-create-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5,4,10,.68);
  backdrop-filter: blur(12px);
}

.dc-create-sheet {
  width: min(100%,520px);
  padding: 25px 18px calc(25px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(145deg,rgba(64,48,77,.96),rgba(24,19,35,.98));
  box-shadow: 0 -15px 55px rgba(0,0,0,.35);
}

.dc-create-option {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 10px 0;
  padding: 15px;
  border-radius: 17px;
  border: 1px solid var(--dc-border);
  color: white;
  text-align: left;
  background: rgba(255,255,255,.065);
  cursor: pointer;
}

.dc-create-option span:first-child {
  font-size: 25px;
}

.dc-create-option strong {
  display: block;
  font-size: 14px;
}

.dc-create-option small {
  color: rgba(255,255,255,.58);
}

.dc-royal-mark {
  color: var(--dc-gold) !important;
}

@media (min-width:700px) {
  #app-content { padding-left: 24px !important; padding-right: 24px !important; }
  .dc-live-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}


/* Login-only fixes: keep the fixed navigation from CSS !important overriding auth.js. */
body.dc-auth-screen #bottom-navigation { display: none !important; }
body.dc-auth-screen #app { border: 0 !important; box-shadow: none !important; background: #08040d !important; }
body.dc-auth-screen #app-content { min-height: 100vh; padding: 18px 14px 30px !important; background: radial-gradient(ellipse at 50% 0%, rgba(151,15,111,.24), transparent 52%), #08040d; }
body.dc-auth-screen #app-content > div { margin: 14px auto 0 !important; padding: 12px !important; }
body.dc-auth-screen .dc-auth-brand-logo { display: block; width: min(72vw, 250px); height: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto 14px; border-radius: 28px; box-shadow: 0 0 30px rgba(255,36,158,.28); }
body.dc-auth-screen .glass-card { color: #fffaff; border: 1px solid rgba(255,76,194,.40) !important; background: linear-gradient(145deg, rgba(42,20,50,.94), rgba(13,7,19,.97)) !important; box-shadow: 0 14px 45px rgba(0,0,0,.34), 0 0 24px rgba(255,36,158,.12) !important; }
body.dc-auth-screen .glass-card h2 { color: #fff; font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; text-shadow: 0 0 14px rgba(255,36,158,.38); }
body.dc-auth-screen .glass-card input { color: #fff; background: rgba(10,8,17,.9); border: 1px solid rgba(255,255,255,.16); border-radius: 15px; }
body.dc-auth-screen .glass-card input::placeholder { color: #c9b8d1; }
body.dc-auth-screen .primary-button { color: #fff; background: linear-gradient(110deg,#ff42ae,#a72cff) !important; box-shadow: 0 0 22px rgba(255,36,158,.28); }
body.dc-auth-screen .glass-card button:not(.primary-button) { color: #ff71cb !important; }
body:not(.dc-auth-screen) #app-content .loading-screen { display: flex; min-height: 65vh; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; }
body:not(.dc-auth-screen) #app-content .dc-loading-brand-logo { display: block; width: min(72vw, 240px); height: auto; border-radius: 26px; box-shadow: 0 0 28px rgba(255,36,158,.24); }


/* DESICANDI_SOFT_BRAND_WATERMARK_V1 */
html,body{background:radial-gradient(ellipse at 14% 6%,rgba(151,86,160,.25),transparent 40%),radial-gradient(ellipse at 88% 38%,rgba(127,91,178,.20),transparent 38%),linear-gradient(145deg,#24182b,#211a2a 52%,#2a1b30)!important;color:#fff}
body{position:relative;isolation:isolate}
body:before{content:"";position:fixed;inset:-26px;z-index:-1;pointer-events:none;background:url('/assets/images/desicandi-logo.png') center center/min(70vw,900px) auto no-repeat;filter:blur(19px);opacity:.19;mix-blend-mode:screen}
#app,#app-content{background:transparent!important}
#app-header{background:rgba(38,24,44,.58)!important;backdrop-filter:blur(24px)}
#app-header img[src*="desicandi-logo"],#dc-master-root .dc-topbar img[src*="desicandi-logo"]{display:none!important}
