/* ============================================================
   Condições para Alugar · Barreto Imóveis
   Identidade visual idêntica à de /gerador-de-conversa
   (mesmos tokens, mesmas escalas, mesma sensação)
   ============================================================ */

/* ---------- Reset & Tokens (mesmos da página gerador) ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-soft: #f7f7f8;
    --surface: #ffffff;
    --surface-2: #fbfbfc;
    --border: #ececef;
    --border-strong: #d9d9de;
    --text: #0e0e10;
    --text-muted: #6b6b73;
    --text-soft: #9a9aa3;
    --accent: #111114;
    --accent-hover: #2a2a2f;
    --ring: rgba(17, 17, 20, 0.12);
    --danger: #b42318;
    --danger-bg: #fef3f2;

    --shadow-sm: 0 1px 2px rgba(15, 15, 20, 0.04),
                 0 1px 1px rgba(15, 15, 20, 0.02);
    --shadow-md: 0 8px 24px -8px rgba(15, 15, 20, 0.10),
                 0 2px 6px rgba(15, 15, 20, 0.04);
    --shadow-lg: 0 24px 48px -16px rgba(15, 15, 20, 0.18),
                 0 8px 16px -8px rgba(15, 15, 20, 0.08);

    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Fraunces", "Manrope", serif;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 28px;
    --r-pill: 999px;

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
}

html, body { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--text); color: var(--bg); }
input, button { font: inherit; color: inherit; }

/* ---------- Background decorativo (idêntico à página irmã) ---------- */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-decor__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.bg-decor__blob--1 {
    width: 520px; height: 520px;
    top: -180px; left: -120px;
    background: radial-gradient(circle at 30% 30%, #eef0f5, transparent 70%);
}
.bg-decor__blob--2 {
    width: 600px; height: 600px;
    bottom: -220px; right: -160px;
    background: radial-gradient(circle at 70% 70%, #f4eef0, transparent 70%);
}
.bg-decor__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: multiply;
}

/* ---------- Shell ---------- */
.shell {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(var(--s-5), 4vw, var(--s-7)) clamp(var(--s-4), 4vw, var(--s-6));
    display: flex;
    flex-direction: column;
    gap: clamp(var(--s-5), 4vw, var(--s-7));
}

/* ---------- Header ---------- */
.header {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    max-width: 720px;
    animation: fadeUp 0.6s ease both;
}
.header__brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}
.header__logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.header__logo svg { width: 22px; height: 22px; }

.header__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.header__eyebrow {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}
.header__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
}
.header__subtitle {
    margin: 0;
    font-size: 16px;
    color: var(--text-muted);
    max-width: 56ch;
}

/* ---------- Card ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(var(--s-5), 3vw, var(--s-6));
    box-shadow: var(--shadow-sm);
    animation: fadeUp 0.7s ease both;
    transition: box-shadow 0.3s ease;
}
.card:nth-of-type(2) { animation-delay: 0.05s; }
.card:hover { box-shadow: var(--shadow-md); }

.card--highlight {
    background: linear-gradient(180deg, #ffffff 0%, #fafafb 100%);
}

.card__head {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-4);
    border-bottom: 1px dashed var(--border);
}
.card__index {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-soft);
    font-feature-settings: "tnum";
    letter-spacing: 0.04em;
}
.card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.card__pill {
    margin-left: auto;
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.card__pill--btn {
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.card__pill--btn:hover {
    color: var(--text);
    border-color: var(--text-soft);
    background: var(--surface);
}

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: var(--s-5); }

.form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}
@media (min-width: 640px) {
    .form__row { grid-template-columns: repeat(3, 1fr); }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.field__req,
.field__opt {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.field__req {
    background: #1c1c20;
    color: #fff;
    border-color: #1c1c20;
}

.field__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field__prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
}
.field__input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 14px 14px 14px 42px;
    font-size: 15px;
    color: var(--text);
    border-radius: var(--r-md);
    font-feature-settings: "tnum";
}
.field__input::placeholder { color: var(--text-soft); }
.field__input-wrap:hover { border-color: var(--text-soft); }
.field__input-wrap:focus-within {
    border-color: var(--text);
    box-shadow: 0 0 0 4px var(--ring);
}
.field__input-wrap:focus-within .field__prefix { color: var(--text); }

/* ---------- Breakdown (composição) ---------- */
.breakdown {
    margin-top: var(--s-2);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-4) var(--s-5);
}
.breakdown__title {
    margin: 0 0 var(--s-3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.breakdown__list { list-style: none; margin: 0; padding: 0; }
.breakdown__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border);
}
.breakdown__item:last-child { border-bottom: 0; }
.breakdown__label { display: flex; align-items: center; gap: 6px; }
.breakdown__value {
    color: var(--text);
    font-weight: 600;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}
.breakdown__item--internal .breakdown__label {
    color: var(--text);
    font-weight: 500;
}
.breakdown__item--total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border) !important;
    border-bottom: 0;
}
.breakdown__item--total .breakdown__label {
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
}
.breakdown__item--total .breakdown__value {
    font-size: 16px;
    font-weight: 700;
}

.info-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-soft);
    cursor: help;
    display: inline-grid;
    place-items: center;
    padding: 0;
    position: relative;
    transition: color 0.2s;
}
.info-btn:hover { color: var(--text); }
.info-btn::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: normal;
    width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: var(--shadow-md);
}
.info-btn:hover::after, .info-btn:focus::after { opacity: 1; }

/* ---------- Highlight (renda mínima) ---------- */
.highlight {
    text-align: center;
    padding: var(--s-3) 0 var(--s-2);
}
.highlight__eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}
.highlight__value {
    margin: 12px 0 var(--s-4);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(40px, 7vw, 64px);
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--text);
    font-feature-settings: "tnum";
    animation: bubblePop 0.4s ease;
}
.highlight__note {
    margin: 0 auto;
    max-width: 56ch;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.highlight__note strong { color: var(--text); font-weight: 700; }

/* ---------- Garantia (etapa 03) ---------- */
.garantia { animation: fadeUp 0.8s ease both; animation-delay: 0.1s; }
.garantia__head {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
    padding: 0 var(--s-2);
}

.garantia__cards {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.g-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.g-card:hover { border-color: var(--text-soft); }

.g-card[data-open="true"] {
    border-color: var(--text);
    box-shadow: var(--shadow-md);
}

.g-card__toggle {
    appearance: none;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    padding: clamp(16px, 2.2vw, 22px);
    display: flex;
    align-items: center;
    gap: var(--s-4);
    transition: background 0.2s;
}
.g-card__toggle:hover { background: var(--bg-soft); }
.g-card__toggle:focus-visible {
    outline: 0;
    background: var(--bg-soft);
    box-shadow: inset 0 0 0 2px var(--ring);
}

.g-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text);
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.g-card[data-open="true"] .g-card__icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.g-card__icon svg { width: 22px; height: 22px; }

.g-card__body { flex: 1; min-width: 0; }
.g-card__title {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.005em;
}
.g-card__sub {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}
.g-card__chevron {
    color: var(--text-soft);
    display: grid;
    place-items: center;
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
}
.g-card[data-open="true"] .g-card__chevron {
    transform: rotate(180deg);
    color: var(--text);
}

.g-card__content {
    padding: 0 clamp(16px, 2.2vw, 22px) clamp(16px, 2.2vw, 22px);
    border-top: 1px dashed var(--border);
    animation: slideDown 0.3s ease both;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    padding-top: var(--s-4);
}
.g-card__content[hidden] { display: none; }

/* ---------- Info Row (linhas de valor) ---------- */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.info-row__label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.info-row__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}
.info-row__hint {
    font-size: 10px;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.info-row--stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.info-row--big .info-row__value {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 4.2vw, 36px);
    letter-spacing: -0.02em;
}
.info-row--big {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
}
.info-row--accent {
    background: #0e0e10;
    border-color: #0e0e10;
}
.info-row--accent .info-row__label { color: rgba(255,255,255,0.7); }
.info-row--accent .info-row__value { color: #ffffff; }
.info-row--accent .info-row__hint { color: rgba(255,255,255,0.5); }

/* Seguro grid */
.seguro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}
@media (min-width: 640px) {
    .seguro-grid { grid-template-columns: 1fr 1fr; }
}

.seguro-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    padding: var(--s-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
@media (min-width: 640px) {
    .seguro-controls { grid-template-columns: 1fr 1.4fr; align-items: end; }
}

/* Slider */
.slider-wrap { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 999px;
    outline: 0;
    cursor: pointer;
}
.slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.15s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.slider__marks {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-soft);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.seguro-result {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}
.seguro-result__note {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
.seguro-result__note strong {
    color: var(--text);
    font-weight: 700;
    font-feature-settings: "tnum";
}

/* Checklist (fiador) */
.checklist {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-4) var(--s-5);
}
.checklist__title {
    margin: 0 0 var(--s-3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.45;
}
.checklist svg {
    margin-top: 3px;
    color: var(--text);
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-sizing: content-box;
    border: 1px solid var(--border);
}

.muted-block {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    padding: var(--s-3) var(--s-4);
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--r-md);
}

/* ---------- Compartilhamento (etapa 04) ---------- */
.card--share { animation-delay: 0.15s; }

.share-preview {
    background: #0e0e10;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid #0e0e10;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--s-4);
}
.share-preview__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #18181c;
    border-bottom: 1px solid #25252b;
}
.share-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3a42;
}
.share-preview__dot:first-child { background: #ff5f57; }
.share-preview__dot:nth-child(2) { background: #febc2e; }
.share-preview__dot:nth-child(3) { background: #28c840; }
.share-preview__label {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: lowercase;
}

.share-preview__body {
    padding: clamp(16px, 2.4vw, 24px);
    color: rgba(255,255,255,0.92);
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-feature-settings: "tnum";
    max-height: 360px;
    overflow-y: auto;
}
.share-preview__body strong { color: #ffffff; font-weight: 700; }
.share-preview__body em {
    font-style: normal;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}
.share-preview__body .share-divider {
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 14px 0;
}

.share-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
}
@media (max-width: 480px) {
    .share-actions { grid-template-columns: 1fr; }
}

.btn {
    --btn-bg: var(--surface);
    --btn-fg: var(--text);
    --btn-bd: var(--border-strong);
    appearance: none;
    border: 1px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    padding: 13px 18px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    user-select: none;
    white-space: nowrap;
}
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--ring); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn--outline { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn--outline:hover:not(:disabled) {
    --btn-bg: var(--bg-soft);
    --btn-bd: var(--text-soft);
}

.btn--dark { --btn-bg: var(--accent); --btn-fg: #ffffff; --btn-bd: var(--accent); }
.btn--dark:hover:not(:disabled) { --btn-bg: var(--accent-hover); box-shadow: var(--shadow-md); }

.share-hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
.share-hint a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}
.share-hint a:hover { color: var(--accent-hover); }

/* Empty state quando aluguel = 0 */
.share-preview__body--empty {
    color: rgba(255,255,255,0.55);
    font-style: italic;
    font-size: 13px;
    text-align: center;
    padding: 32px 24px;
}

/* ---------- Footer ---------- */
.footer {
    text-align: center;
    color: var(--text-soft);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: var(--s-5);
    border-top: 1px solid var(--border);
}
.footer p { margin: 0; }
.footer__credit {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}
.toast[data-visible="true"] {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bubblePop {
    0%   { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Value updated flash */
.flash {
    animation: flash 0.5s ease;
}
@keyframes flash {
    0%   { color: var(--text); }
    50%  { color: #ff7a3a; }
    100% { color: var(--text); }
}

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