/* Daily Expedition · featured card, banner, cinematic player depth */

.de-feature {
  position: relative;
  margin: 16px 0 18px;
  padding: 20px 18px 18px;
  border-radius: var(--r-md, 22px);
  border: 1px solid rgba(126, 145, 105, 0.28);
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(126, 145, 105, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(195, 183, 154, 0.08), transparent 52%),
    linear-gradient(165deg, rgba(26, 31, 22, 0.96), rgba(18, 22, 15, 0.99));
  overflow: hidden;
}

.de-feature.de-live {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(126, 145, 105, 0.1) inset;
}

.de-feature.de-wait {
  opacity: 0.88;
  border-color: rgba(237, 231, 214, 0.12);
}

.de-feature.de-done {
  border-color: rgba(237, 231, 214, 0.1);
  opacity: 0.72;
}

.de-orbit {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.de-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(195, 183, 154, 0.35);
  animation: de-orbit-spin 12s linear infinite;
}

.de-orbit-core {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 145, 105, 0.55), rgba(126, 145, 105, 0.08));
  box-shadow: 0 0 18px rgba(126, 145, 105, 0.35);
}

@keyframes de-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.de-kicker {
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: rgba(195, 183, 154, 0.9);
  margin-bottom: 8px;
}

.de-title {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 5.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--dawn, #ede7d6);
  margin: 0 0 8px;
  max-width: 18ch;
}

.de-sub,
.de-rel {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(237, 231, 214, 0.78);
  margin: 0 0 10px;
  max-width: 34ch;
}

.de-rel {
  font-size: 12.5px;
  color: rgba(195, 183, 154, 0.75);
}

.de-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.de-status {
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(237, 231, 214, 0.45);
}

.de-cta {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill, 40px);
  border: none;
  background: var(--fern, #7e9169);
  color: var(--evening, #12160f);
  cursor: pointer;
}

.de-cta-wait,
.de-cta-done {
  background: transparent;
  color: rgba(237, 231, 214, 0.42);
  border: 1px solid rgba(237, 231, 214, 0.12);
  cursor: default;
}

.de-banner {
  margin: 12px 0 14px;
  padding: 16px 15px;
  border-radius: var(--r-md, 22px);
  border: 1px solid rgba(126, 145, 105, 0.32);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(126, 145, 105, 0.14), transparent 50%),
    rgba(26, 31, 22, 0.92);
}

.de-banner-k {
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(195, 183, 154, 0.88);
  margin-bottom: 6px;
}

.de-banner-t {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--dawn, #ede7d6);
  margin-bottom: 4px;
}

.de-banner-s {
  font-family: var(--font-brand);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(237, 231, 214, 0.68);
  margin-bottom: 12px;
}

.de-banner-btn {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  border: none;
  background: transparent;
  color: var(--fern, #7e9169);
  padding: 0;
  cursor: pointer;
}

/* player */
.de-ovl {
  background:
    radial-gradient(ellipse 90% 55% at 50% 12%, rgba(126, 145, 105, 0.16), transparent 58%),
    linear-gradient(180deg, #0e120c 0%, #12160f 38%, #1a1f16 100%) !important;
}

#de-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.de-depth-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 22, 15, 0.15) 55%, rgba(18, 22, 15, 0.55) 100%);
}

#de-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 26px;
  pointer-events: none;
}

#de-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(52px, env(safe-area-inset-top, 0px) + 44px) 20px max(28px, env(safe-area-inset-bottom, 0px) + 20px);
  overflow-y: auto;
  pointer-events: none;
}

#de-ui > .ap-panel {
  pointer-events: auto;
}

#de-ui.de-ui-peak {
  justify-content: flex-end;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
}

#de-crisis {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 0px) + 12px);
  left: 16px;
  z-index: 14;
  font-family: var(--font-brand);
  font-size: 10.5px;
  color: rgba(237, 231, 214, 0.42);
}

.de-sort-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  min-height: 48px;
}

.de-sort-pill {
  font-family: var(--font-brand);
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: var(--r-sm, 16px);
  border: 1px solid rgba(126, 145, 105, 0.35);
  background: rgba(126, 145, 105, 0.12);
  color: rgba(237, 231, 214, 0.88);
}

.de-sort-pool .ap-chip.picked {
  opacity: 0.35;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .de-orbit-ring {
    animation: none;
  }
}
