:root {
    --gold: #c9a063;
    --purple: #a063c9;
    --twilight-deep: #090a0f;
    --twilight-glow: #1b2735;
    --glass-white: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: var(--font-body);  /* alias → typography.css SSOT */
    --font-serif: var(--font-display);  /* alias → typography.css SSOT */
}

/* --- OSNOVA --- */
body, html {
    margin: 0; padding: 0;
    background: radial-gradient(ellipse at bottom, var(--twilight-glow) 0%, var(--twilight-deep) 100%);
    color: #fff;
    font-family: var(--font-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.dashboard-wrapper {
    width: 100%;
    max-width: 900px; /* Malo prošireno da stanu dve veće kocke */
    margin: 0 auto;
    padding: 40px 20px 120px;
    box-sizing: border-box;
}

/* --- HEADER SISTEM --- */
.sanctuary-header { text-align: center; margin-bottom: 50px; }
h1.brand { letter-spacing: 8px; font-weight: 300; margin: 0; font-size: var(--fs-h1); }
h1.page-title { font-family: var(--font-serif); font-size: 2.2rem; margin: 15px 0 0 0; letter-spacing: 2px; text-transform: uppercase; }

.date-stamp { 
    font-size: 0.75rem; 
    color: var(--gold); 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
}

h1.brand { 
    letter-spacing: 8px; 
    font-weight: 300; 
    margin: 0; 
    font-size: var(--fs-h1); 
}

h1.page-title {
    font-family: var(--font-serif);
    font-size: 2.2rem; 
    margin: 15px 0 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sub-title-premium {
    opacity: 0.5;
    font-size: var(--fs-small);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
}

.sanctuary-motto { 
    color: rgba(255,255,255,0.4); 
    font-size: 1.1rem; 
    margin-top: 10px; 
    font-weight: 300; 
}

/* --- DASHBOARD GRID & BUTTONS --- */
.tier-container { margin-bottom: 60px; width: 100%; }

.tier-label { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: var(--gold); 
    margin-bottom: 25px; 
    font-weight: 700;
    text-align: center; /* Centriran naslov sekcije */
}

.tier-label.purple { color: var(--purple); }

.hub-grid {
    display: grid;
    /* Automatski pravi kolone, minimum 140px, maksimum tvojih 290px */
    grid-template-columns: repeat(auto-fit, minmax(140px, 290px)); 
    gap: 20px;
    justify-content: center; /* KLJUČ: Centriranje cele grupe dugmića */
    width: 100%;
}

/* Popravljeni Stellar Buttons */
.stellar-button {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 0; /* Oštre ivice po zahtevu  */
    
    /* KLJUČ: Forsiranje kvadratnog oblika */
    aspect-ratio: 1 / 1; 
    width: 100%;
    max-width: 290px; /* Maksimalna veličina kocke */
    
    /* Centriranje sadržaja unutar kocke */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.stellar-button:hover { 
    background: rgba(255,255,255,0.08); 
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.btn-icon { 
    font-size: 3rem; /* Uvećano radi balansa u kocki */
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.btn-text h3 { 
    margin: 0; 
    font-size: var(--fs-base); 
    font-weight: 700; 
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text p { 
    margin: 8px 0 0 0; 
    font-size: 0.7rem; 
    color: rgba(255,255,255,0.4);
    line-height: 1.3;
}

/* Varijante za Pro/Premium */
.premium-btn:hover { border-color: var(--gold); }
.pro-btn:hover { border-color: var(--purple); box-shadow: 0 0 20px rgba(160, 99, 201, 0.2); }
.pro-btn.active { background: var(--purple); color: #fff; }

.shadow-btn:hover {
    border-color: #ff4b2b;
    box-shadow: 0 0 20px rgba(255, 75, 43, 0.2);
}

/* --- NAV CHIPS (Tabovi) --- */
.tab-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 35px;
}

.nav-chip {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.6);
    padding: 12px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    flex-grow: 1;
    text-align: center;
    max-width: 48%;
}

.nav-chip.active.gold-theme { 
    background: var(--gold); 
    color: #000; 
    border-color: var(--gold); 
    font-weight: 800; 
    box-shadow: 0 0 20px rgba(201, 160, 99, 0.25);
}

.nav-chip.active.purple-theme { 
    background: var(--purple); 
    color: #fff; 
    border-color: var(--purple); 
    font-weight: 800; 
}

/* --- UNUTRAŠNJI SADRŽAJ (Natalna Karta itd.) --- */
.content-node {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out forwards;
}

.cosmic-divider {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

.node-title-main {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.node-icon {
    font-size: 2.8rem;
    margin-right: 20px;
}

.blueprint-desc { color: rgba(255, 255, 255, 0.9); line-height: 1.8; font-size: var(--fs-base); }

.blueprint-desc h3 { 
    color: var(--gold); 
    font-size: var(--fs-h3); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    border-bottom: 1px solid rgba(201, 160, 99, 0.2);
    padding-bottom: 10px; 
    margin: 35px 0 15px;
}

.blueprint-desc ul { list-style: none; padding: 0; margin: 20px 0; }

.blueprint-desc li { 
    padding: 12px 15px; 
    background: rgba(255,255,255,0.02); 
    margin-bottom: 8px; 
    border-left: 3px solid var(--gold); 
    font-size: var(--fs-body);
}

/* --- FOOTER & PLUTAJUĆE DUGME --- */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(201, 160, 99, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 2px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.floating-back-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-5px);
}

/* --- ANIMACIJE --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PWA PROMPT --- */
#pwa-prompt {
    position: fixed;
    bottom: 30px;
    left: 20px;
    right: 20px;
    background: rgba(27, 39, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 160, 99, 0.3);
    border-radius: 24px;
    padding: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.hidden { display: none !important; }

/* --- FOOTER D STANDARDIZACIJA --- */
.app-footer {
    margin-top: 80px;
    padding: 60px 24px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Suptilna linija */
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Razmak između dve navigacije */
.main-nav { margin-bottom: 15px; }
.secondary-nav { margin-bottom: 40px; opacity: 0.6; }

.footer-nav a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold); /* Zlatna boja iz style.css  */
}

/* Logout link - Suptilna crvena za oprez */
.logout-link-premium {
    color: #ff6b6b !important;
    font-weight: 700;
}

.footer-legal {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 3px;
    text-transform: uppercase; /* [cite: 111] */
}

/* Floating Back Button - Već smo definisali, ali ovde je finalna verzija */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(201, 160, 99, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 24px;
    border-radius: 40px;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 2px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.floating-back-btn:hover {
    transform: translateY(-5px);
    background: var(--gold);
    color: #000;
}

/* --- 📱 MOBILE FIX (Forsiranje 2 kolone na svim telefonima) --- */
@media (max-width: 768px) {
    .dashboard-wrapper { padding: 20px 15px 100px; }

    .hub-grid {
        /* Forsira 2 kolone bez obzira na inče ekrana */
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important;
        justify-content: center;
    }

    .stellar-button {
        padding: 15px !important;
        max-width: none; /* Dozvoljava da popuni pola ekrana */
    }

    .btn-icon { font-size: 2.4rem !important; }
    .btn-text h3 { font-size: var(--fs-small) !important; }
    .btn-text p { display: none; } /* Sakrivamo opis na mobilnom da kocka bude čistija */
}

/* --- TABOVI & OSTALO (Nasleđeno) --- */
.nav-chip { border-radius: 0; } /* Oštre ivice i ovde */
.nav-chip.active.gold-theme { background: var(--gold); color: #000; font-weight: 800; }

/* === Feed Card — v12 (Faza 12 — segment-driven cards) === */
.feed-card--own {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--an-surface, #0f1522);
  border: 1px solid var(--an-border-soft, rgba(212, 175, 55, 0.16));
  border-radius: var(--an-radius-lg, 16px);
  padding: var(--an-space-5, 20px) var(--an-space-5, 20px) var(--an-space-5, 20px);
  box-shadow: var(--an-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.25));
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.feed-card--own:hover,
.feed-card--own:focus-visible {
  border-color: var(--an-gold, #d4af37);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  outline: none;
}

.feed-card--own.feed-card--empty {
  opacity: 0.78;
}

.feed-card__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--an-gold, #d4af37);
  text-transform: uppercase;
  margin-bottom: var(--an-space-2, 8px);
}

.feed-card__segment {
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: var(--fw-bold);
  color: var(--an-text);
  margin: 0 0 var(--an-space-3, 12px) 0;
}

.feed-card__excerpt {
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--an-text-body);
  margin: 0;
  padding-right: 28px; /* space for the arrow */
}

.feed-card__arrow {
  position: absolute;
  top: var(--an-space-5, 20px);
  right: var(--an-space-5, 20px);
  width: 18px;
  height: 18px;
  color: var(--an-gold, #d4af37);
  opacity: 0.7;
  transition: transform 180ms ease, opacity 180ms ease;
}

.feed-card--own:hover .feed-card__arrow,
.feed-card--own:focus-visible .feed-card__arrow {
  transform: translateX(3px);
  opacity: 1;
}

.feed-card--prompt {
  display: block;
}

.feed-card--prompt .feed-card__form {
  margin-top: var(--an-space-3, 12px);
  display: flex;
  flex-direction: column;
  gap: var(--an-space-3, 12px);
}

.feed-card--prompt textarea {
  width: 100%;
  resize: vertical;
  padding: var(--an-space-3, 12px);
  border-radius: var(--an-radius-md, 10px);
  border: 1px solid var(--an-border-soft, rgba(212, 175, 55, 0.16));
  background: rgba(0, 0, 0, 0.25);
  color: var(--an-text-strong, #f5f3ee);
  font-family: inherit;
  font-size: 14px;
}

/* === Feed Stream (v5.1) === */
.feed-stream {
  display: flex;
  flex-direction: column;
  gap: var(--an-space-5, 1.25rem);
  padding: var(--an-space-4, 1rem) 0;
}
.feed-card {
  background: var(--an-surface, rgba(20, 20, 30, 0.6));
  border: 1px solid var(--an-border-soft, rgba(212, 175, 55, 0.15));
  border-radius: var(--an-radius-lg, 16px);
  padding: var(--an-space-5, 1.25rem);
  box-shadow: var(--an-shadow-sm, 0 4px 12px rgba(0,0,0,0.3));
}
.feed-card h3 { margin: 0 0 0.5rem; color: var(--an-gold, #d4af37); font-size: var(--fs-h2); font-weight: var(--fw-bold); }
.feed-card__excerpt { margin: 0 0 1rem; line-height: 1.5; font-size: var(--fs-base); color: rgba(255, 255, 255, 0.92); }
.feed-card--hero {
  padding: var(--an-space-6, 2rem);
  border-color: var(--an-gold, #d4af37);
}
.feed-card--hero-link {
  display: block;
  text-decoration: none;
  color: var(--an-text, #f3eee4);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.feed-card--hero-link:hover,
.feed-card--hero-link:focus-visible {
  border-color: var(--an-gold, #d4af37);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,175,55,0.15);
  outline: none;
}
.feed-card--hero-link h2,
.feed-card--hero-link p,
.feed-card--hero-link .an-btn-primary {
  text-decoration: none;
}
.feed-card--teaser { opacity: 0.85; position: relative; }
.feed-card--teaser::before {
  content: "🔒"; position: absolute; top: 1rem; right: 1rem; font-size: var(--fs-reading);
}

/* Paid teaser card — link card, no default anchor styles */
.feed-card--paid-teaser {
  display: block;
  text-decoration: none;
  color: var(--an-text, #f3eee4);
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, var(--an-surface, rgba(20,20,30,0.6)) 0%, rgba(212,175,55,0.07) 100%);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.12), 0 4px 18px rgba(0,0,0,0.28);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  opacity: 1;
}
.feed-card--paid-teaser::before { content: none; } /* eyebrow already has the lock */
.feed-card--paid-teaser:hover,
.feed-card--paid-teaser:focus-visible {
  border-color: var(--an-gold, #d4af37);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,175,55,0.15);
  outline: none;
}
.feed-card--paid-teaser .feed-card__eyebrow,
.feed-card--paid-teaser .feed-card__segment,
.feed-card--paid-teaser .feed-card__excerpt {
  display: block;
  text-decoration: none;
}
.feed-card--paid-teaser .feed-card__segment,
.feed-card--paid-teaser .feed-card__segment:visited,
.feed-card--paid-teaser .feed-card__segment:hover,
.feed-card--paid-teaser .feed-card__excerpt,
.feed-card--paid-teaser .feed-card__excerpt:visited,
.feed-card--paid-teaser .feed-card__excerpt:hover {
  color: inherit;
  text-decoration: none;
}
.feed-card--paid-teaser .an-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 20px;
  font-size: var(--fs-meta);
  margin-top: 0.75rem;
  white-space: nowrap;
  text-decoration: none;
}

.feed-card--accented {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, var(--an-surface, rgba(20,20,30,0.6)) 0%, rgba(212,175,55,0.07) 100%);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.12), 0 4px 18px rgba(0,0,0,0.28);
}

.dashboard-sample-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(6, 6, 14, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dashboard-sample-modal[hidden] { display: none; }
.dashboard-sample-modal__panel {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow: auto;
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(212,175,55,0.22);
  background: linear-gradient(180deg, rgba(17,18,28,0.98) 0%, rgba(9,10,18,0.98) 100%);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  color: var(--an-text, #f3eee4);
}
.dashboard-sample-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
  font-size: var(--fs-h2);
  line-height: 1;
}
.dashboard-sample-modal__body {
  padding: 32px 28px 28px;
}
.dashboard-sample-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(212,175,55,0.08);
  color: var(--an-gold, #d4af37);
  font-size: var(--fs-pill);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dashboard-sample-modal__title {
  margin: 18px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  color: #fff;
}
.dashboard-sample-modal__copy {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}
.dashboard-sample-modal__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}
body.dashboard-sample-modal-open { overflow: hidden; }
.feed-trial__counter { font-size: var(--fs-caption); opacity: 0.7; margin: 0.25rem 0 0.75rem; }
.feed-trial__locked { color: #c8a; }
.feed-trial__response {
  margin-top: 1rem; padding: 0.75rem; background: rgba(212,175,55,0.08);
  border-left: 3px solid var(--an-gold, #d4af37); border-radius: 4px;
}

/* Trial card form — matches /locations city-search aesthetic */
#ai-trial-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}
#ai-trial-form textarea {
  width: 100%;
  min-height: 80px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
  border-radius: 0;
  transition: 0.3s;
}
#ai-trial-form textarea:focus {
  border-color: var(--an-gold, #d4af37);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
#ai-trial-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}
#ai-trial-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: transparent;
  color: var(--an-gold, #d4af37);
  border: 1px solid var(--an-gold, #d4af37);
  border-radius: 0;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Inter', sans-serif;
}
#ai-trial-form button[type="submit"]:hover {
  background: var(--an-gold, #d4af37);
  color: #000;
}
#ai-trial-form button[type="submit"]:disabled {
  opacity: 0.4;
  cursor: default;
}
.feed-connections-strip {
  display: flex; gap: var(--an-space-3, 0.75rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: var(--an-space-3, 0.75rem) 0;
  scrollbar-width: none;
}
.feed-connections-strip::-webkit-scrollbar { display: none; }
.feed-connections-strip__item {
  flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  min-width: 72px; text-decoration: none; color: inherit;
}
.feed-connections-strip__item img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--an-gold, #d4af37);
}
.feed-teaser__meta { font-size: var(--fs-small); opacity: 0.7; margin-bottom: 0.25rem; }
.feed-teaser__hint { margin: 0.5rem 0 1rem; opacity: 0.85; }

/* === Feedback card (v13) === */
.feed-card--feedback { background: var(--an-surface-2); }
.feedback-buttons { display:flex; gap: var(--an-space-2, 8px); flex-wrap: wrap; margin-top: var(--an-space-3, 12px); }
.feedback-btn { flex: 1; min-width: 90px; background: var(--an-surface); border:1px solid var(--an-border-soft); border-radius: var(--an-radius-md, 10px); padding: var(--an-space-3, 12px); color: var(--an-text); cursor: pointer; transition: all 0.2s; }
.feedback-btn:hover:not(:disabled) { border-color: var(--an-gold, #d4af37); transform: translateY(-1px); }
.feedback-btn:disabled { opacity: 0.5; cursor: default; }
.feedback-thanks { margin-top: var(--an-space-3, 12px); font-size: var(--fs-caption); color: var(--an-gold, #d4af37); }

/* === Countdown cards (v13) === */
.feed-card--countdown { display:flex; align-items:center; gap: var(--an-space-4); padding: var(--an-space-4); background: linear-gradient(135deg, var(--an-surface) 0%, var(--an-surface-2) 100%); text-decoration: none; color: var(--an-text); }
.feed-card--countdown:hover { border-color: var(--an-gold); }
.feed-card__countdown-icon { font-size: 2.2rem; flex-shrink: 0; }
.feed-card__countdown-body { flex: 1; min-width: 0; }
.feed-card__countdown-title { font-size: 1.05rem; margin: 0 0 var(--an-space-1) 0; color: var(--an-text); }
.feed-card__countdown-sub { font-size: var(--fs-caption); color: var(--an-text-dim); margin: 0; }
.feed-card--full_moon    .feed-card__countdown-icon { text-shadow: 0 0 12px rgba(255,230,170,0.6); }
.feed-card--solar_return .feed-card__countdown-icon { text-shadow: 0 0 12px rgba(255,190,100,0.5); }

/* === Friend synergy card (v13) === */
.feed-card--synergy { display:flex; align-items:center; gap: var(--an-space-4); text-decoration: none; color: var(--an-text); }
.synergy-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--an-gold); flex-shrink: 0; }
.synergy-body { flex: 1; min-width: 0; }

/* === Location trial card (v13) === */
.feed-card--location-prompt .feed-card__form { display:flex; gap: var(--an-space-2, 8px); margin-top: var(--an-space-3, 12px); }
.feed-card--location-prompt .feed-card__form input[type="text"] {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: var(--an-radius-md, 10px);
  border: 1px solid var(--an-border-soft, rgba(255,255,255,0.12));
  background: var(--an-surface-2, rgba(255,255,255,0.04)); color: var(--an-text, #e8e4dc);
  font-size: var(--fs-body);
}
.feed-card--location-prompt .feed-card__form input[type="text"]:focus {
  outline: none; border-color: var(--an-gold, #d4af37);
}
.feed-card--location-prompt .feed-card__form button { flex-shrink: 0; }
.feed-card--location-pending { opacity: 0.85; }
.feed-card--location-ready { text-decoration: none; color: var(--an-text); display:block; }
.feed-card--location-ready:hover { border-color: var(--an-gold); }
.feed-card--location-locked { opacity: 0.7; }
#location-trial-status { margin-top: var(--an-space-2, 8px); font-size: var(--fs-caption); color: var(--an-text-dim, #a8a29a); }

/* === Mood check-in card (v13) === */
.feed-card--mood-prompt .mood-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: var(--an-space-2, 8px); margin-top: var(--an-space-3, 12px);
}
@media (max-width: 480px) {
  .feed-card--mood-prompt .mood-grid { grid-template-columns: repeat(3, 1fr); }
}
.mood-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 6px; border-radius: var(--an-radius-md, 10px);
  border: 1px solid var(--an-border-soft, rgba(255,255,255,0.12));
  background: var(--an-surface-2, rgba(255,255,255,0.04));
  color: var(--an-text, #e8e4dc); font-size: 1.6rem; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.mood-btn span { font-size: 0.7rem; color: var(--an-text-dim, #a8a29a); }
.mood-btn:hover:not(:disabled) { border-color: var(--an-gold, #d4af37); transform: translateY(-1px); }
.mood-btn.is-selected { border-color: var(--an-gold, #d4af37); background: rgba(212,175,55,0.08); }
.mood-btn:disabled { opacity: 0.55; cursor: default; }
#mood-status { margin-top: var(--an-space-3, 12px); font-size: var(--fs-caption); color: var(--an-gold, #d4af37); }