/* =========================================================
   SMART LOOK — design system e estilos do protótipo
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #090909;
  --bg-soft: #0d0d0d;
  --surface: #121212;
  --surface-2: #171717;
  --surface-3: #1e1e1e;
  --surface-4: #242424;

  --text: #f3f0e9;
  --text-2: #c6c3ba;
  --muted: #8e8b84;
  --muted-2: #66635e;

  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.2);

  --accent: #3155ff;
  --accent-2: #7c90ff;
  --accent-3: #aab5ff;
  --accent-soft: rgba(49, 85, 255, 0.16);
  --accent-glow: rgba(49, 85, 255, 0.38);

  --cream: #f2eee4;
  --cream-2: #e8e1d4;
  --ink: #111111;

  --green: #7ce0a7;
  --green-soft: rgba(124, 224, 167, 0.13);
  --orange: #ffb26b;
  --orange-soft: rgba(255, 178, 107, 0.13);
  --purple: #b49bff;
  --purple-soft: rgba(180, 155, 255, 0.13);
  --pink: #ff8fc7;
  --blue: #8ed8ff;
  --red: #ff8e8e;
  --red-soft: rgba(255, 110, 110, 0.12);

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-2xl: 36px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-height: 76px;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #050505;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050505;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ---------- Ambientes desktop ---------- */
.ambient {
  display: none;
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.38;
  border-radius: 50%;
}

.ambient--one {
  width: 520px;
  height: 520px;
  left: calc(50% - 640px);
  top: 8%;
  background: radial-gradient(circle, rgba(49, 85, 255, 0.55), transparent 68%);
}

.ambient--two {
  width: 420px;
  height: 420px;
  right: calc(50% - 590px);
  bottom: 4%;
  background: radial-gradient(circle, rgba(242, 238, 228, 0.15), transparent 68%);
}

/* ---------- Shell ---------- */
.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(120% 44% at 50% -8%, rgba(49, 85, 255, 0.09), transparent 62%),
    var(--bg);
}

.app {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.992);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.app.is-ready {
  opacity: 1;
  transform: scale(1);
}

.app__scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--nav-height) + 32px + var(--safe-bottom));
  scrollbar-width: none;
}

.app__scroll.is-locked {
  overflow: hidden;
}

.view {
  min-height: 100%;
  outline: none;
}

.view-inner {
  padding: calc(22px + var(--safe-top)) 20px 32px;
  animation: viewIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Splash ---------- */
.splash {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 38%, rgba(255, 255, 255, 0.5), transparent 70%),
    var(--cream);
  color: var(--ink);
  transition: opacity 0.58s ease, transform 0.58s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 72%);
  pointer-events: none;
}

.splash::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 85, 255, 0.08), transparent 64%);
  pointer-events: none;
}

.splash.is-leaving {
  opacity: 0;
  transform: scale(1.035);
  pointer-events: none;
}

.splash__skip {
  position: absolute;
  z-index: 2;
  top: calc(18px + var(--safe-top));
  right: 20px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: rgba(17, 17, 17, 0.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.splash__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  box-shadow:
    0 0 140px 70px rgba(49, 85, 255, 0.08),
    0 0 260px 120px rgba(49, 85, 255, 0.05);
  pointer-events: none;
}

.splash__content {
  position: relative;
  z-index: 1;
  margin: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: splashIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.splash__mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 18px 32px rgba(36, 71, 245, 0.18));
}

.splash__mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.splash__tri {
  transform-origin: 66px 66px;
  animation: triangleFloat 5s ease-in-out infinite;
}

.splash__tri--two {
  animation-delay: -2.5s;
}

.splash__wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.splash__wordmark span:last-child {
  color: #2447f5;
}

.splash__tagline {
  margin-top: 14px;
  max-width: 250px;
  color: #746f65;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}

.splash__loader {
  display: flex;
  gap: 6px;
  margin-top: 38px;
}

.splash__loader span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2447f5;
  animation: splashDot 1.15s ease-in-out infinite;
}

.splash__loader span:nth-child(2) {
  animation-delay: 0.16s;
}

.splash__loader span:nth-child(3) {
  animation-delay: 0.32s;
}

.splash__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px calc(24px + var(--safe-bottom));
  color: #827c70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.splash__footer-line {
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
}

/* ---------- Tipografia e elementos base ---------- */
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.icon {
  flex: 0 0 auto;
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, #888);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #2c2c2e, #161617);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.avatar--sm {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.avatar--md {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.avatar--lg {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

.avatar--xl {
  width: 78px;
  height: 78px;
  font-size: 25px;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.36), transparent 36%),
    linear-gradient(145deg, #5370ff, #2236b8 62%, #141d63);
  color: #fff;
  box-shadow: 0 16px 34px rgba(49, 85, 255, 0.24);
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-2);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn--soft {
  background: rgba(255, 255, 255, 0.035);
  border-color: transparent;
}

.icon-btn--accent {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border-color: rgba(124, 144, 255, 0.26);
  background: linear-gradient(145deg, #4c67ff, #2741e7);
  color: #fff;
  box-shadow: 0 12px 26px rgba(49, 85, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.icon-btn--floating {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(9, 9, 9, 0.52);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.icon-btn--badge .notification-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--bg);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.icon-btn--filter.is-active {
  border-color: rgba(124, 144, 255, 0.34);
  background: var(--accent-soft);
  color: var(--accent-3);
}

.icon-btn.is-active,
.wardrobe-card__favorite.is-active,
.item-detail__favorite.is-active {
  color: var(--pink);
}

.wardrobe-card__favorite.is-active .icon,
.item-detail__favorite.is-active .icon {
  fill: var(--pink);
  stroke: var(--pink);
}

.button {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:active {
  transform: scale(0.975);
}

.button--primary {
  background: linear-gradient(145deg, #4d67ff, #2e49ea);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(49, 85, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button--primary:hover {
  box-shadow: 0 14px 32px rgba(49, 85, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  color: var(--text-2);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.button--danger {
  background: rgba(255, 105, 105, 0.12);
  border-color: rgba(255, 120, 120, 0.2);
  color: #ffaaaa;
}

.button--danger-text {
  color: #ffaaaa;
}

.button--wide {
  width: 100%;
}

.button--small {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 10.5px;
}

.button--glow {
  box-shadow: 0 16px 38px rgba(49, 85, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--accent-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.text-button:hover {
  color: var(--accent-3);
}

.text-button--muted {
  color: var(--muted);
}

.text-button--danger {
  color: #ff9a9a;
}

.text-button--center {
  align-self: center;
  margin-top: 4px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.15;
}

.section-heading--tight {
  align-items: center;
  margin-bottom: 12px;
}

.section-heading--tight h2 {
  font-size: 19px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: var(--chip-soft, rgba(255, 255, 255, 0.07));
  color: var(--chip-color, var(--text-2));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.6);
  color: var(--badge-color, var(--green));
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.score-badge__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.score-ring {
  position: relative;
  width: var(--ring-size, 88px);
  height: var(--ring-size, 88px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: var(--ring-stroke, 6px);
  background: conic-gradient(from -90deg, var(--ring-color, var(--green)) calc(var(--ring-value, 0) * 1%), rgba(255, 255, 255, 0.1) 0);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 22px rgba(124, 224, 167, 0.08);
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle, transparent 54%, rgba(255, 255, 255, 0.04) 55%, transparent 70%);
  pointer-events: none;
}

.score-ring__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  line-height: 1;
}

.score-ring__inner strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.score-ring__inner span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.approval-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(124, 224, 167, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 10, 0.58);
  color: #dff7e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.approval-badge .icon {
  color: var(--green);
}

/* ---------- Bottom navigation ---------- */
.bottom-nav {
  position: absolute;
  z-index: 30;
  left: 12px;
  right: 12px;
  bottom: calc(10px + var(--safe-bottom));
  height: var(--nav-height);
  padding: 8px 6px 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(15, 15, 15, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px) saturate(1.2);
}

.bottom-nav__item {
  height: 100%;
  padding: 8px 2px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 16px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.bottom-nav__item:hover {
  color: var(--text-2);
}

.bottom-nav__item.is-active {
  color: var(--text);
}

.bottom-nav__item.is-active .bottom-nav__icon {
  color: var(--accent-2);
}

.bottom-nav__icon {
  position: relative;
  height: 22px;
  display: grid;
  place-items: center;
}

.bottom-nav__item.is-active .bottom-nav__icon::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.bottom-nav__label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.bottom-nav__ai {
  position: relative;
  align-self: start;
  margin-top: -24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--accent-2);
}

.bottom-nav__ai-glow {
  position: absolute;
  top: -6px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(49, 85, 255, 0.38);
  filter: blur(18px);
  pointer-events: none;
}

.bottom-nav__ai-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 19px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.3), transparent 38%),
    linear-gradient(145deg, #5871ff, #2942e5);
  color: #fff;
  box-shadow: 0 14px 32px rgba(49, 85, 255, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bottom-nav__ai:hover .bottom-nav__ai-icon {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(49, 85, 255, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.bottom-nav__ai:active .bottom-nav__ai-icon {
  transform: scale(0.95);
}

.bottom-nav__ai-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- Home ---------- */
.home-view {
  padding-bottom: 22px;
}

.home-header {
  margin-bottom: 26px;
}

.home-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  color: var(--text);
  text-align: left;
}

.user-chip__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.user-chip__copy small {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.user-chip__copy strong {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.user-chip > .icon {
  margin-left: 1px;
  color: var(--muted-2);
}

.home-header__actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.weather-pill {
  height: 40px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.weather-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-2);
}

.weather-pill__icon {
  color: var(--orange);
  display: grid;
  place-items: center;
}

.weather-pill__value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.weather-pill__condition {
  display: none;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.home-header__greeting {
  position: relative;
}

.home-header__greeting h1 {
  margin: 9px 0 11px;
  font-size: clamp(31px, 8.8vw, 38px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.home-header__greeting h1 span {
  background: linear-gradient(92deg, #ffffff 2%, #a9b6ff 54%, #6f86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-header__greeting p {
  max-width: 310px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.home-header__greeting p strong {
  color: var(--text-2);
  font-weight: 700;
}

.quick-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-right: -20px;
  padding-right: 20px;
}

.quick-action {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.quick-action:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-2);
}

.quick-action__icon {
  display: grid;
  place-items: center;
  color: var(--accent-2);
}

.quick-action > .icon {
  margin-left: 1px;
  color: var(--muted-2);
}

.quick-action--ai {
  border-color: rgba(124, 144, 255, 0.22);
  background: var(--accent-soft);
  color: var(--accent-3);
}

.today-section {
  margin-bottom: 28px;
}

.today-look-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.today-look-card__media {
  position: relative;
  height: 278px;
  overflow: hidden;
  background: var(--surface-2);
}

.today-look-card__visual {
  width: 100%;
  height: 100%;
}

.look-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 30%, rgba(49, 85, 255, 0.11), transparent 70%),
    var(--surface-2);
}

.look-visual__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.today-look-card:hover .look-visual__photo,
.suggestion-card:hover .look-visual__photo {
  transform: scale(1.035);
}

.look-visual__photo.is-broken {
  display: none;
}

.look-visual__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.42) 0%, transparent 28%, transparent 58%, rgba(5, 5, 5, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.22), transparent 40%);
  pointer-events: none;
}

.look-visual--collage {
  background: transparent;
}

.today-look-card__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.today-look-card__caption {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.today-look-card__pieces {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.today-look-card__body {
  padding: 20px;
}

.today-look-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.today-look-card__title-row h2 {
  margin-top: 5px;
  font-size: 23px;
  line-height: 1.1;
}

.today-look-card__subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.analysis-list {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.analysis-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  color: var(--text-2);
  font-size: 10.5px;
  line-height: 1.55;
}

.analysis-row + .analysis-row {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.analysis-row__check {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.analysis-list--roomy .analysis-row {
  padding: 9px 0;
  font-size: 11.5px;
}

.today-look-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.summary-section {
  margin-bottom: 28px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-card {
  position: relative;
  min-height: 122px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}

.summary-card::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  right: -28px;
  bottom: -34px;
  border-radius: 50%;
  background: var(--summary-glow, rgba(49, 85, 255, 0.16));
  filter: blur(22px);
  pointer-events: none;
}

.summary-card--blue {
  --summary-glow: rgba(49, 85, 255, 0.26);
}

.summary-card--sand {
  --summary-glow: rgba(255, 178, 107, 0.19);
}

.summary-card--green {
  --summary-glow: rgba(124, 224, 167, 0.18);
}

.summary-card--violet {
  --summary-glow: rgba(180, 155, 255, 0.2);
}

.summary-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
}

.summary-card--sand .summary-card__icon {
  color: var(--orange);
}

.summary-card--green .summary-card__icon {
  color: var(--green);
}

.summary-card--violet .summary-card__icon {
  color: var(--purple);
}

.summary-card__value {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.summary-card__label {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-card__detail {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.suggestions-section {
  margin-bottom: 22px;
}

.suggestion-rail {
  display: flex;
  gap: 12px;
  margin-right: -20px;
  padding-right: 20px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.suggestion-rail > div {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.suggestion-card {
  width: 232px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.suggestion-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}

.suggestion-card__media {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: var(--surface-2);
}

.suggestion-card__visual {
  width: 100%;
  height: 100%;
}

.suggestion-card__score {
  position: absolute;
  top: 10px;
  right: 10px;
}

.suggestion-card__event {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--chip-soft);
  color: var(--chip-color);
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.suggestion-card__body {
  padding: 14px;
}

.suggestion-card__body h3 {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.2;
}

.suggestion-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
}

.home-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(124, 144, 255, 0.17);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(49, 85, 255, 0.12), rgba(49, 85, 255, 0.025));
}

.home-note__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.home-note p {
  flex: 1;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.home-note p strong {
  color: var(--text-2);
}

/* ---------- Cabeçalhos de tela ---------- */
.view-header {
  margin-bottom: 22px;
}

.view-header__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.view-header h1 {
  margin-top: 5px;
  font-size: clamp(26px, 7.2vw, 31px);
  line-height: 1.08;
}

.view-header p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.view-header--compact {
  margin-bottom: 18px;
}

/* ---------- Guarda-roupa ---------- */
.wardrobe-toolbar {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.search-field {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.search-field:focus-within {
  border-color: rgba(124, 144, 255, 0.38);
  background: var(--surface-2);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 11.5px;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-field__clear {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.wardrobe-toolbar > .icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.category-scroll {
  display: flex;
  gap: 8px;
  margin: 16px -20px 16px;
  padding: 0 20px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.category-chip small {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.category-chip.is-active {
  border-color: rgba(124, 144, 255, 0.34);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 85, 255, 0.22);
}

.category-chip.is-active small {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.wardrobe-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wardrobe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.wardrobe-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wardrobe-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}

.wardrobe-card__media {
  position: relative;
  height: 188px;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 34%, rgba(49, 85, 255, 0.09), transparent 70%),
    linear-gradient(180deg, #181818, #121212);
}

.wardrobe-card__media .garment {
  height: 100%;
}

.wardrobe-card__favorite {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
}

.wardrobe-card__category {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.45);
  color: rgba(255, 255, 255, 0.62);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.wardrobe-card__body {
  padding: 11px 12px 13px;
}

.wardrobe-card__body h3 {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wardrobe-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
}

.wardrobe-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wardrobe-card__meta span + span::before {
  content: "";
  width: 2px;
  height: 2px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--muted-2);
}

.garment {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.garment-svg {
  width: 88%;
  height: 88%;
  overflow: visible;
}

.garment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.add-piece-card {
  min-height: 238px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.014);
  color: var(--muted);
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.add-piece-card:hover {
  border-color: rgba(124, 144, 255, 0.36);
  background: rgba(49, 85, 255, 0.04);
  color: var(--text-2);
}

.add-piece-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--accent-2);
}

.add-piece-card strong {
  font-size: 11px;
  font-weight: 800;
}

.add-piece-card small {
  max-width: 110px;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.4;
}

.wardrobe-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.wardrobe-tip > span {
  display: grid;
  place-items: center;
  color: var(--accent-2);
}

.wardrobe-tip p {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.wardrobe-tip p strong {
  color: var(--text-2);
}

/* ---------- Agenda ---------- */
.calendar-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(49, 85, 255, 0.07), transparent 58%),
    var(--surface);
  margin-bottom: 24px;
}

.calendar-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calendar-card__top .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.calendar-card__month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  color: var(--text);
}

.calendar-card__month strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.calendar-card__month span {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 17px 0 6px;
}

.calendar-weekdays span {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.055);
}

.calendar-day.is-outside {
  opacity: 0.24;
}

.calendar-day.is-today {
  color: var(--accent-3);
  box-shadow: inset 0 0 0 1px rgba(124, 144, 255, 0.28);
}

.calendar-day.is-selected {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 85, 255, 0.28);
}

.calendar-day.is-selected:hover {
  background: var(--accent);
}

.calendar-day__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 3px;
}

.calendar-day__dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-2);
}

.calendar-day.is-selected .calendar-day__dots i {
  background: #fff;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 600;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend__dot,
.calendar-legend__today {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.calendar-legend__today {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--accent-2);
}

.agenda-day__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.agenda-day__header h2 {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.2;
}

.agenda-day__count {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.event-card {
  display: grid;
  grid-template-columns: 44px 2px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 14px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.event-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
  background: #141414;
}

.event-card__time {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.event-card__time strong {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.event-card__time span {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 600;
}

.event-card__line {
  width: 2px;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--event-color), transparent);
  opacity: 0.7;
}

.event-card__body {
  min-width: 0;
}

.event-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.event-card__pending {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.event-card__body h3 {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__location .icon {
  color: var(--muted-2);
}

.event-card__outfit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 9px;
}

.event-card__outfit.has-look {
  border-color: rgba(124, 144, 255, 0.15);
  background: rgba(49, 85, 255, 0.055);
}

.event-card__outfit > span:not(.mini-look) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.event-card__outfit strong {
  overflow: hidden;
  color: var(--text-2);
  font-size: 9.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__outfit small {
  color: var(--muted-2);
  font-size: 8px;
}

.event-card__outfit > .icon {
  color: var(--muted-2);
}

.event-card__outfit-empty {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-3);
  font-weight: 700;
}

.mini-look {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}

.mini-look img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-look--stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2px;
}

.mini-look__piece {
  width: 52%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.mini-look__piece + .mini-look__piece {
  margin-left: -22%;
}

.mini-look__piece .garment {
  height: 100%;
}

.mini-look__piece .garment-svg {
  width: 100%;
  height: 100%;
}

.agenda-ai-callout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(124, 144, 255, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(90% 100% at 0% 0%, rgba(49, 85, 255, 0.18), transparent 58%),
    var(--surface);
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.agenda-ai-callout:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 144, 255, 0.34);
}

.agenda-ai-callout__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(145deg, #506aff, #2942e4);
  color: #fff;
  box-shadow: 0 10px 24px rgba(49, 85, 255, 0.28);
}

.agenda-ai-callout > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.agenda-ai-callout strong {
  font-size: 11px;
  font-weight: 800;
}

.agenda-ai-callout small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.agenda-ai-callout > .icon {
  color: var(--muted-2);
}

/* ---------- Perfil ---------- */
.profile-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(49, 85, 255, 0.18), transparent 58%),
    var(--surface);
  margin-bottom: 26px;
}

.profile-card__glow {
  position: absolute;
  width: 190px;
  height: 190px;
  top: -110px;
  right: -50px;
  border-radius: 50%;
  background: rgba(49, 85, 255, 0.22);
  filter: blur(50px);
  pointer-events: none;
}

.profile-card__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
}

.profile-card__identity {
  flex: 1;
  min-width: 0;
}

.profile-card__identity h2 {
  margin-top: 3px;
  font-size: 24px;
  line-height: 1.1;
}

.profile-card__identity p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
}

.profile-card__tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.profile-card__tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-2);
  font-size: 8.5px;
  font-weight: 700;
}

.profile-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.profile-stats > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-stats > div:nth-of-type(2) {
  align-items: center;
}

.profile-stats > div:nth-of-type(3) {
  align-items: flex-end;
}

.profile-stats strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.profile-stats span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-stats__divider {
  width: 1px;
  height: 26px;
  background: var(--line);
}

.profile-section {
  margin-bottom: 24px;
}

.preferences-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.toggle-row {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: left;
}

.toggle-row:last-child {
  border-bottom: 0;
}

.toggle-row__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-row__copy strong {
  font-size: 11px;
  font-weight: 800;
}

.toggle-row__copy small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #777;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}

.switch.is-on {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.12);
}

.switch.is-on i {
  transform: translateX(18px);
  background: #fff;
}

.menu-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.menu-row {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-align: left;
}

.menu-row:last-child {
  border-bottom: 0;
}

.menu-row__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--accent-2);
}

.menu-row > span:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-row strong {
  font-size: 11px;
  font-weight: 800;
}

.menu-row small {
  color: var(--muted);
  font-size: 9px;
}

.menu-row > .icon {
  color: var(--muted-2);
}

.profile-danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 110, 110, 0.14);
  border-radius: 20px;
  background: rgba(255, 110, 110, 0.045);
}

.profile-danger strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
}

.profile-danger small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.profile-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 18px 0 6px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.profile-footer__mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.profile-footer__mark .icon {
  color: var(--accent-2);
}

/* ---------- Estados vazios ---------- */
.empty-state {
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.empty-state__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  color: var(--accent-2);
}

.empty-state h3 {
  font-size: 16px;
}

.empty-state p {
  max-width: 260px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.empty-state .button {
  margin-top: 12px;
}

/* ---------- Toasts ---------- */
.toast-root {
  position: absolute;
  z-index: 120;
  left: 50%;
  bottom: calc(var(--nav-height) + 26px + var(--safe-bottom));
  width: calc(100% - 40px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.96);
  color: var(--text-2);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.toast--error .toast__icon {
  background: var(--red-soft);
  color: var(--red);
}

.toast--info .toast__icon {
  background: rgba(142, 216, 255, 0.1);
  color: var(--blue);
}

/* ---------- Bottom sheets ---------- */
.sheet-root {
  position: absolute;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.sheet-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.32s ease;
}

.sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 93%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--safe-bottom);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(110% 42% at 50% 0%, rgba(49, 85, 255, 0.08), transparent 60%),
    #101010;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.62);
  transform: translateY(102%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

.sheet-layer.is-open .sheet {
  transform: translateY(0);
}

.sheet-layer.is-open .sheet-backdrop {
  opacity: 1;
}

.sheet__grabber {
  width: 38px;
  height: 4px;
  flex: 0 0 auto;
  margin: 8px auto 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.17);
}

.sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 20px 14px;
}

.sheet__heading {
  flex: 1;
  min-width: 0;
}

.sheet__heading h2 {
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.12;
}

.sheet__heading p {
  max-width: 330px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.sheet__close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.sheet__body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 20px 24px;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.sheet__footer {
  flex: 0 0 auto;
  padding: 12px 20px calc(18px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(16px);
}

.sheet--compact {
  max-height: 74%;
}

.sheet--look,
.sheet--ai-result {
  max-height: 96%;
}

.sheet--form {
  max-height: 94%;
}

.sheet--about {
  max-height: 92%;
}

.sheet-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.sheet-actions--stack {
  flex-direction: column;
}

.sheet-actions__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet-actions__row .button {
  width: 100%;
}

/* ---------- Mini headings, chips e dicas ---------- */
.mini-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mini-heading i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.context-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-2);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
}

.style-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 178, 107, 0.15);
  border-radius: 18px;
  background: rgba(255, 178, 107, 0.055);
}

.style-tip__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
}

.style-tip p {
  margin-top: 3px;
  color: var(--text-2);
  font-size: 10px;
  line-height: 1.55;
}

/* ---------- Collage de look ---------- */
.outfit-collage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.outfit-collage__cell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 34%, rgba(49, 85, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #181818, #121212);
}

.outfit-collage__cell .garment {
  height: 100%;
}

.outfit-collage__more {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.65);
  color: var(--text-2);
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.collage-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.collage-empty .icon {
  color: var(--accent-2);
}

/* ---------- Detalhes do look ---------- */
.look-detail__hero {
  position: relative;
  height: 282px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
}

.look-detail__visual {
  width: 100%;
  height: 100%;
}

.look-detail__hero-top {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.look-detail__hero-bottom {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9.5px;
  font-weight: 700;
}

.look-detail__intro {
  margin-top: 16px;
}

.look-detail__intro h3 {
  margin-top: 5px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.look-detail__section {
  margin-top: 4px;
}

.look-piece-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.look-piece {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.look-piece:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.look-piece__art {
  width: 44px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: #191919;
}

.look-piece__art .garment-svg {
  width: 100%;
  height: 100%;
}

.look-piece__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.look-piece__copy strong {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.look-piece__copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.look-piece > .icon {
  color: var(--muted-2);
}

/* ---------- Lista de looks ---------- */
.looks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.looks-list--compact {
  gap: 7px;
}

.look-list-row {
  width: 100%;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.look-list-row:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.look-list-row.is-selected {
  border-color: rgba(124, 144, 255, 0.38);
  background: var(--accent-soft);
}

.look-list-row__thumb {
  width: 48px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 11px;
}

.look-list-row__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.look-list-row__copy strong {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.look-list-row__copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.look-list-row > .icon {
  color: var(--muted-2);
}

/* ---------- Stylist IA ---------- */
.ai-context {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.ai-context__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ai-context__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--accent-2);
}

.ai-context__item > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ai-context__item strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-context__item small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-context__divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.ai-base-item {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(124, 144, 255, 0.14);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-3);
  font-size: 8.5px;
}

.ai-base-item strong {
  font-weight: 800;
}

.ai-form__section {
  margin-top: 20px;
}

.ai-occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ai-occasion {
  min-height: 70px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ai-occasion:hover {
  border-color: var(--line-2);
  color: var(--text-2);
}

.ai-occasion.is-active {
  border-color: rgba(124, 144, 255, 0.38);
  background: var(--accent-soft);
  color: var(--accent-3);
}

.ai-occasion__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--occasion-soft);
  color: var(--occasion-color);
}

.ai-vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ai-vibe {
  min-height: 94px;
  padding: 11px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ai-vibe > span {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.ai-vibe strong {
  color: var(--text-2);
  font-size: 9.5px;
  font-weight: 800;
}

.ai-vibe small {
  color: var(--muted-2);
  font-size: 7.5px;
  line-height: 1.3;
}

.ai-vibe.is-active {
  border-color: rgba(124, 144, 255, 0.4);
  background: var(--accent-soft);
}

.ai-vibe.is-active > span,
.ai-vibe.is-active strong {
  color: var(--accent-3);
}

.ai-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.45;
}

.ai-privacy .icon {
  flex: 0 0 auto;
  color: var(--muted);
}

.ai-loading {
  padding: 16px 0 8px;
  text-align: center;
}

.ai-loading--placeholder {
  min-height: 300px;
}

.ai-orbit {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
}

.ai-orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 144, 255, 0.2);
}

.ai-orbit__ring--one {
  inset: 0;
  animation: orbitPulse 2.2s ease-in-out infinite;
}

.ai-orbit__ring--two {
  inset: 19px;
  border-color: rgba(124, 144, 255, 0.16);
  animation: orbitPulse 2.2s ease-in-out infinite 0.4s;
}

.ai-orbit__ring--three {
  inset: 39px;
  border-color: rgba(124, 144, 255, 0.13);
  animation: orbitPulse 2.2s ease-in-out infinite 0.8s;
}

.ai-orbit__core {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 19px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(145deg, #5871ff, #2942e5);
  color: #fff;
  box-shadow: 0 0 36px rgba(49, 85, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: coreFloat 2.6s ease-in-out infinite;
}

.ai-loading h3 {
  font-size: 17px;
}

.ai-loading > p {
  max-width: 280px;
  margin: 7px auto 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.ai-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.ai-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9.5px;
  animation: aiStep 2.4s ease-in-out infinite;
  animation-delay: var(--step-delay);
}

.ai-step__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.ai-step i {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.ai-step i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  animation: scanLine 1.6s ease-in-out infinite;
}

.ai-result__hero {
  position: relative;
  height: 282px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
}

.ai-result__visual {
  width: 100%;
  height: 100%;
}

.ai-result__visual-inner {
  width: 100%;
  height: 100%;
}

.ai-result__score {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.ai-result__tags {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ai-result__context {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(124, 144, 255, 0.14);
  border-radius: 13px;
  background: var(--accent-soft);
}

.ai-result__context span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--accent-3);
  font-size: 8.5px;
  line-height: 1.45;
}

.ai-result__section {
  margin-top: 4px;
}

.ai-pieces {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ai-piece {
  width: 92px;
  flex: 0 0 auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text-2);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ai-piece:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.ai-piece__art {
  width: 100%;
  height: 76px;
  margin-bottom: 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #191919;
}

.ai-piece__art .garment-svg {
  width: 100%;
  height: 100%;
}

.ai-piece span {
  display: block;
  overflow: hidden;
  padding: 0 1px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-empty {
  padding: 28px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.ai-empty__icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--surface);
  color: var(--accent-2);
}

.ai-empty p {
  max-width: 290px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

/* ---------- Formulários ---------- */
.form-field {
  margin-bottom: 15px;
}

.form-field > label,
.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.text-input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  transition: border-color 0.18s ease, background 0.18s ease;
  color-scheme: dark;
}

.text-input::placeholder {
  color: var(--muted-2);
}

.text-input:focus {
  border-color: rgba(124, 144, 255, 0.45);
  background: var(--surface-2);
}

.text-input--compact {
  height: 40px;
  margin-top: 8px;
  font-size: 11px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  appearance: none;
  background: var(--surface);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.select-wrap select:focus {
  border-color: rgba(124, 144, 255, 0.45);
  background: var(--surface-2);
}

.select-wrap > .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.select-wrap option {
  background: #171717;
  color: var(--text);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.choice-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-tile {
  min-height: 56px;
  padding: 8px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.choice-tile:hover {
  border-color: var(--line-2);
  color: var(--text-2);
}

.choice-tile.is-active {
  border-color: rgba(124, 144, 255, 0.4);
  background: var(--accent-soft);
  color: var(--accent-3);
}

.choice-tile .icon {
  color: currentColor;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.color-swatch {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.color-swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.is-active {
  border-color: var(--accent-2);
}

.color-custom {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
}

.color-custom input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.multi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.multi-chip {
  position: relative;
  cursor: pointer;
}

.multi-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.multi-chip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.multi-chip input:checked + span {
  border-color: var(--chip-color, rgba(124, 144, 255, 0.38));
  background: var(--chip-soft, var(--accent-soft));
  color: var(--chip-color, var(--accent-3));
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 2px;
  color: var(--text-2);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-row__box {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  color: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.check-row input:checked + .check-row__box {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.range-input {
  width: 100%;
  height: 5px;
  margin: 13px 0 8px;
  appearance: none;
  border-radius: 99px;
  outline: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 82%, rgba(255, 255, 255, 0.1) 82%);
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(49, 85, 255, 0.4);
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 8px;
}

/* ---------- Item form ---------- */
.item-form__photo-block {
  margin-bottom: 18px;
}

.item-form__preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(80% 70% at 50% 34%, rgba(49, 85, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #181818, #121212);
}

.item-form__preview .garment {
  height: 100%;
}

.item-form__preview.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-form__remove-photo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(7, 7, 7, 0.55);
  color: var(--red);
  backdrop-filter: blur(12px);
}

.item-form__photo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.item-form__photo-actions > span {
  color: var(--muted-2);
  font-size: 8px;
}

/* ---------- Item details ---------- */
.item-detail__art-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(80% 70% at 50% 34%, rgba(49, 85, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #181818, #121212);
}

.item-detail__art {
  height: 100%;
}

.item-detail__favorite {
  position: absolute;
  top: 12px;
  right: 12px;
}

.item-detail__category {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.5);
  color: rgba(255, 255, 255, 0.65);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.item-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.item-detail__tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 8.5px;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.detail-grid > div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.detail-grid span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-grid strong {
  display: block;
  color: var(--text-2);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- Planejar look ---------- */
.plan-look__event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  margin-bottom: 18px;
}

.plan-look__event-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--event-soft);
  color: var(--event-color);
}

.plan-look__event > div {
  flex: 1;
  min-width: 0;
}

.plan-look__event strong {
  display: block;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-look__event small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-look__current {
  margin-bottom: 16px;
}

.plan-look__current .text-button {
  margin-top: 4px;
}

/* ---------- Clima ---------- */
.weather-detail__hero {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(255, 178, 107, 0.13), transparent 60%),
    var(--surface);
}

.weather-detail__icon {
  color: var(--orange);
}

.weather-detail__hero > div:nth-child(2) {
  flex: 1;
}

.weather-detail__hero strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.weather-detail__hero > div:nth-child(2) span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.weather-detail__range {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.weather-detail__range i {
  width: 18px;
  height: 1px;
  background: var(--line-2);
}

.weather-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.weather-metrics > div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.weather-metrics span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
}

.weather-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
}

.weather-hours {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.weather-hour {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.weather-hour .icon {
  color: var(--orange);
}

.weather-hour strong {
  color: var(--text-2);
  font-size: 10px;
  font-weight: 800;
}

/* ---------- Notificações ---------- */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.notification-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.notification-row.is-unread {
  border-color: rgba(124, 144, 255, 0.2);
  background: linear-gradient(135deg, rgba(49, 85, 255, 0.09), rgba(49, 85, 255, 0.025));
}

.notification-row__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.notification-row__copy {
  flex: 1;
  min-width: 0;
}

.notification-row__copy strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
}

.notification-row__copy p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.notification-row__copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 600;
}

.notification-row__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

/* ---------- Sobre ---------- */
.about {
  text-align: center;
}

.about__mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
}

.about__mark svg {
  width: 100%;
  height: 100%;
}

.about__lead {
  max-width: 330px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.6;
}

.about__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  text-align: left;
}

.about__steps > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.about__steps > div > span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
}

.about__steps strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
}

.about__steps p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.45;
}

.about__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.about__note .icon {
  flex: 0 0 auto;
  color: var(--muted);
}

.about__note p {
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.5;
}

.about__tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
}

.about__tech span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 700;
}

.about__credit {
  margin: 13px 0 16px;
  color: var(--muted-2);
  font-size: 7.5px;
  line-height: 1.5;
}

/* ---------- Confirmação ---------- */
.confirm-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 6px 2px;
  text-align: center;
}

.confirm-panel__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 144, 255, 0.2);
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-2);
}

.confirm-panel__icon.is-danger {
  border-color: rgba(255, 110, 110, 0.18);
  background: var(--red-soft);
  color: var(--red);
}

.confirm-panel p {
  max-width: 310px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

/* ---------- Animações ---------- */
@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splashIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes triangleFloat {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-4px);
  }
}

@keyframes splashDot {
  0%,
  100% {
    opacity: 0.22;
    transform: translateY(0) scale(0.86);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.03);
  }
}

@keyframes scanLine {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes aiStep {
  0%,
  100% {
    border-color: var(--line);
    color: var(--muted);
  }
  35%,
  65% {
    border-color: rgba(124, 144, 255, 0.3);
    color: var(--text-2);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .ambient {
    display: block;
  }

  .app-shell {
    height: min(920px, calc(100dvh - 40px));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 40px;
    box-shadow:
      0 50px 120px rgba(0, 0, 0, 0.72),
      0 0 0 1px rgba(255, 255, 255, 0.025),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .view-inner {
    padding: 26px 24px 34px;
  }

  .quick-actions,
  .suggestion-rail,
  .category-scroll {
    margin-right: -24px;
    padding-right: 24px;
  }

  .category-scroll {
    margin-left: -24px;
    padding-left: 24px;
  }

  .bottom-nav {
    left: 14px;
    right: 14px;
  }

  .sheet {
    border-radius: 30px 30px 0 0;
  }

  .suggestion-card {
    width: 242px;
  }
}

@media (min-width: 1120px) {
  .ambient--one {
    left: calc(50% - 720px);
  }

  .ambient--two {
    right: calc(50% - 680px);
  }
}

/* ---------- Ajustes finos ---------- */
@media (max-width: 380px) {
  .view-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-actions,
  .suggestion-rail {
    margin-right: -16px;
    padding-right: 16px;
  }

  .category-scroll {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-header__greeting h1 {
    font-size: 31px;
  }

  .weather-pill {
    padding: 0 9px;
  }

  .wardrobe-grid {
    gap: 9px;
  }

  .wardrobe-card__media {
    height: 168px;
  }

  .today-look-card__actions {
    grid-template-columns: 1fr;
  }

  .ai-context {
    grid-template-columns: 1fr 1fr;
  }

  .ai-context__divider {
    display: none;
  }

  .ai-context__item:nth-of-type(3) {
    grid-column: span 2;
  }

  .ai-context__item:nth-of-type(3) .ai-context__icon {
    margin-left: 0;
  }

  .weather-detail__hero strong {
    font-size: 33px;
  }
}

@media (min-width: 430px) {
  .weather-pill__condition {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Noscript ---------- */
.noscript {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  font-family: var(--font-body);
}
