/* Unicorn polish. premium visuals, sky artwork, practice moments */

:root {
  --up-gold: #C3B79A;
  --up-ink: #2A3224;
  --up-mist: #5f6d7e;
  --up-sage: #7E9169;
  --up-paper: #EDE7D6;
  --up-night: #12160F;
  --up-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Emotional weather strip. elevated */
.ew-strip {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(196, 165, 116, 0.08), transparent 55%),
    rgba(26, 40, 56, 0.04);
  border-color: rgba(196, 165, 116, 0.18);
  animation: up-fade 0.7s var(--up-ease) both;
}
.ew-strip[data-fog="pull"]{border-color:rgba(110,140,160,.22);}
.ew-strip[data-fog="hollow"]{border-color:rgba(90,100,120,.22);}
.ew-strip[data-fog="vigil"]{border-color:rgba(40,50,70,.2);}
.ew-strip[data-fog="witness"]{border-color:rgba(196,165,116,.28);}
.ew-strip[data-fog="steady"]{border-color:rgba(82,121,111,.2);}
.ew-phrase {
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
  letter-spacing: -0.01em;
}

/* Practice Carry. Fogline-tinted premium card */
.practice-carry {
  position: relative;
  margin: 1rem 0 0;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(196, 165, 116, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(26, 40, 56, 0.04), rgba(26, 40, 56, 0.01));
  border-top: 1px solid rgba(196, 165, 116, 0.22);
  animation: up-rise 0.65s var(--up-ease) both;
}
.practice-carry .pc-art {
  height: 52px;
  margin: -0.15rem 0 0.7rem;
  border-radius: 3px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, #1d2a38, var(--up-night));
}
.practice-carry .pc-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pc-moment {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--up-sage);
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
}
.pc-text {
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

/* Morning light. more presence */
.morning-light {
  position: relative;
  margin-top: 14px !important;
  padding: 14px 14px 12px !important;
  border-radius: 4px;
  border: 1px solid rgba(196, 165, 116, 0.2);
  background:
    linear-gradient(135deg, rgba(247, 230, 210, 0.35), transparent 50%),
    rgba(26, 40, 56, 0.03);
  animation: up-rise 0.75s var(--up-ease) both;
}
.morning-light.shown .ml-line {
  animation: up-fade 0.8s var(--up-ease) both;
}
.ml-practice {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(44, 62, 80, 0.08);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--up-mist);
}
.ml-practice strong {
  display: block;
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--up-gold);
  margin-bottom: 4px;
}

/* Constellation trend. sky artwork */
.constellation-trend {
  position: relative;
  padding: 0 0 0.2rem;
}
.ct-sky {
  height: 118px;
  margin: 0 0 0.85rem;
  border-radius: 4px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 130%, #243344, var(--up-night));
  border: 1px solid rgba(44, 62, 80, 0.12);
  animation: up-fade 0.8s var(--up-ease) both;
}
.ct-sky svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ct-fork {
  position: relative;
  background:
    linear-gradient(90deg, rgba(196, 165, 116, 0.06), transparent 40%),
    color-mix(in srgb, var(--paper, #f7f4ef) 88%, #fff);
  transition: transform 0.25s var(--up-ease), border-color 0.25s ease, background 0.25s ease;
}
.ct-fork:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 165, 116, 0.45);
}
.ct-fork::before {
  content: "✦";
  position: absolute;
  right: 0.75rem;
  top: 0.7rem;
  font-size: 0.7rem;
  color: var(--up-gold);
  opacity: 0.55;
}

/* Dove sky. richer night field */
.dove-sky-canvas {
  position: relative;
  height: 168px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(196, 165, 116, 0.12), transparent 40%),
    radial-gradient(ellipse at 30% 80%, rgba(82, 121, 111, 0.18), transparent 45%),
    radial-gradient(ellipse at 50% 120%, #1d2a38, var(--up-night));
  box-shadow: inset 0 -24px 40px rgba(0, 0, 0, 0.25);
}
.dove-sky-canvas::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 165, 116, 0.35), transparent);
  pointer-events: none;
}

/* Clearing rituals. premium co-presence */
.clearing-rituals {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(196, 165, 116, 0.14), transparent 50%),
    rgba(26, 40, 56, 0.045);
}
.clearing-rituals::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.16), transparent 70%);
  pointer-events: none;
}
.cr-btn {
  transition: transform 0.2s var(--up-ease), background 0.2s ease;
}
.cr-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

/* Harbor pulse practice whisper */
.hp-practice {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.8rem;
  border-left: 2px solid var(--up-gold);
  background: rgba(196, 165, 116, 0.06);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--up-mist);
  animation: up-fade 0.6s var(--up-ease) both;
}
.hp-practice strong {
  display: block;
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--up-gold);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* Night doors. practice whisper */
.nd-practice {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 4px;
  background: rgba(242, 235, 224, 0.08);
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(242, 235, 224, 0.82);
  animation: up-rise 0.7s var(--up-ease) both;
}
.nd-practice span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--up-gold);
  margin-bottom: 0.3rem;
  font-family: var(--font-brand, "Hanken Grotesk", system-ui, sans-serif);
}

.dns-practice {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(196, 165, 116, 0.22);
  background: rgba(196, 165, 116, 0.06);
}

/* Sovereign ladder polish */
.sovereign-ladder {
  padding: 1rem 1rem 0.9rem;
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(26, 40, 56, 0.03), transparent);
  border-top: 1px solid rgba(44, 62, 80, 0.1);
}
.sl-cta {
  background: var(--up-ink);
  color: var(--up-paper);
  border-color: var(--up-ink);
}
.sl-cta:hover {
  background: #243344;
  border-color: #243344;
  color: var(--up-paper);
}

/* Device weather atmosphere */
.device[data-emotional-weather="pull"] .screen {
  background-image: radial-gradient(ellipse at 50% -10%, rgba(110, 140, 160, 0.08), transparent 55%);
}
.device[data-emotional-weather="hollow"] .screen {
  background-image: radial-gradient(ellipse at 50% -10%, rgba(90, 100, 120, 0.1), transparent 55%);
}
.device[data-emotional-weather="vigil"] .screen {
  background-image: radial-gradient(ellipse at 50% -10%, rgba(40, 50, 70, 0.12), transparent 55%);
}
.device[data-emotional-weather="witness"] .screen {
  background-image: radial-gradient(ellipse at 50% -10%, rgba(196, 165, 116, 0.09), transparent 55%);
}

@keyframes up-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes up-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ew-strip.practice-carry.morning-light.ct-sky.ct-fork.hp-practice.nd-practice.sovereign-ladder {
    animation: none !important;
  }
  .ct-fork:hover.cr-btn:hover:not(:disabled) {
    transform: none;
  }
}
