/* Frases para status — hero, filter panel, phrase cards */

.fs-hero,
.fs-app {
  --fs-ink: #0f1f47;
  --fs-text: #334155;
  --fs-muted: #64748b;
  --fs-card: #fff;
  --fs-line: #e6ebf3;
  --fs-soft: #f4f6fa;
  --fs-blue: #0b5bd3;
  --fs-blue-dark: #0848ab;
  --fs-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  --fs-hero-bg: linear-gradient(100deg, #f8fafc 0%, #fbf8f0 55%, #fff3d1 100%);
  --fs-blob: #ffe9a8;
}
html[data-theme="dark"] .fs-hero,
html[data-theme="dark"] .fs-app {
  --fs-ink: #f1f5f9;
  --fs-text: #cbd5e1;
  --fs-muted: #94a3b8;
  --fs-card: #1a2130;
  --fs-line: #2a3446;
  --fs-soft: #212a3b;
  --fs-blue: #3b82f6;
  --fs-blue-dark: #2563eb;
  --fs-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --fs-hero-bg: linear-gradient(100deg, #121826 0%, #171a22 55%, #2a2412 100%);
  --fs-blob: #3a3218;
}

.article .post-content .fs-hero a,
.article .post-content .fs-app a {
  text-decoration: none !important;
}
.article .post-content .fs-hero a::after,
.article .post-content .fs-app a::after {
  content: none !important;
  display: none !important;
}
.fs-hero svg,
.fs-app svg {
  display: block;
  fill: currentColor;
}
.fs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.fs-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0 -8px 0;
  padding: 18px 28px 0;
  border-radius: 24px 24px 0 0;
  background: var(--fs-hero-bg);
  overflow: hidden;
  color: var(--fs-text);
}
.fs-hero-text { padding-bottom: 28px; }

.article .post-content .fs-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--fs-text);
}
.article .post-content .fs-crumbs a { color: var(--fs-text); }
.article .post-content .fs-crumbs a:hover { color: var(--fs-blue); }
.fs-crumbs span[aria-hidden] { color: var(--fs-muted); }
.fs-crumbs [aria-current] { color: var(--fs-ink); font-weight: 600; }

.article .post-content .fs-h1 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fs-ink);
}
.article .post-content .fs-lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--fs-text);
}

.fs-hero .fs-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fs-hero .fs-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.fs-hero .fs-perks li::before { content: none; }
@media (min-width: 1101px) {
  .fs-hero .fs-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
  }
}
.fs-perks strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fs-ink);
}
.fs-perks small {
  display: block;
  font-size: 0.84rem;
  color: var(--fs-muted);
}
.fs-perk-ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fs-card);
  box-shadow: var(--fs-shadow);
}
.fs-perk-ico svg { width: 24px; height: 24px; }
.fs-perk-ico.is-bolt { color: #f5b700; }
.fs-perk-ico.is-tag { color: #2563eb; }
.fs-perk-ico.is-heart { color: #e11d48; }
.fs-perk-ico.is-tag svg,
.fs-perk-ico.is-heart svg { fill: none; }

.fs-hero-art {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: flex-start;
  min-height: 230px;
}
.fs-phone {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-bottom: -32px;
}
.fs-phone .fs-blob { fill: var(--fs-blob); }
.fs-phone .fs-rays path {
  fill: none;
  stroke: #f5b700;
  stroke-width: 4;
  stroke-linecap: round;
}
.fs-phone .fs-script {
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 17px;
  font-style: italic;
  fill: #15181f;
}
.article .post-content .fs-note {
  position: absolute;
  top: 18px;
  right: 0;
  margin: 0;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #15181f;
  transform: rotate(-12deg);
}
html[data-theme="dark"] .article .post-content .fs-note { color: #fde68a; }

/* ---------- Filter panel ---------- */
.fs-app {
  position: relative;
  margin: 0 0 32px;
}
.fs-panel {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  padding: 20px 22px 18px;
  border-radius: 20px;
  background: var(--fs-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
.fs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.fs-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 9px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fs-soft);
  color: var(--fs-ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.fs-chip:hover { border-color: #bcd0f5; }
.fs-chip-ico svg { width: 17px; height: 17px; }
.fs-chip.is-all .fs-chip-ico { color: var(--fs-blue); }
.fs-chip.is-amor .fs-chip-ico { color: #e11d48; }
.fs-chip.is-indireta .fs-chip-ico { color: #334155; }
.fs-chip.is-sozinho .fs-chip-ico { color: #334155; }
.fs-chip.is-amizade .fs-chip-ico { color: #334155; }
.fs-chip.is-bom-dia .fs-chip-ico { color: #f5a300; }
.fs-chip.is-fe .fs-chip-ico { color: #2563eb; }
.fs-chip.is-engracado .fs-chip-ico { color: #f5b700; }
.fs-chip.is-trabalho .fs-chip-ico { color: #16a34a; }
.fs-chip.is-recado .fs-chip-ico { color: #2563eb; }
html[data-theme="dark"] .fs-chip .fs-chip-ico { filter: brightness(1.35); }
html[data-theme="dark"] .fs-chip.is-indireta .fs-chip-ico,
html[data-theme="dark"] .fs-chip.is-sozinho .fs-chip-ico,
html[data-theme="dark"] .fs-chip.is-amizade .fs-chip-ico { color: #cbd5e1; }
.fs-chip.is-on {
  background: var(--fs-blue);
  color: #fff;
}
.fs-chip.is-on .fs-chip-ico { color: #fff !important; filter: none; }

.fs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.fs-search {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  background: var(--fs-card);
}
.fs-search:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.fs-search > svg { width: 22px; height: 22px; flex: none; color: var(--fs-text); }
.fs-q {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  color: var(--fs-ink);
  outline: none;
}
.fs-search .fs-q {
  height: auto;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.fs-q::-webkit-search-cancel-button { display: none; }
.fs-x {
  display: inline-flex;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fs-text);
  cursor: pointer;
}
.fs-x[hidden] { display: none; }
.fs-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fs-x:hover { background: var(--fs-soft); }

.fs-count {
  font-size: 0.92rem;
  color: var(--fs-muted);
  white-space: nowrap;
}
.fs-count strong { color: var(--fs-ink); font-weight: 700; }

.fs-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--fs-line);
  border-radius: 14px;
  background: var(--fs-card);
}
.fs-sort > svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--fs-ink);
  pointer-events: none;
}
.fs-sort select {
  appearance: none;
  height: 100%;
  padding: 0 38px 0 42px;
  border: 0;
  border-radius: 14px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: var(--fs-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.fs-sort select:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
html[data-theme="dark"] .fs-sort select option { background: #1a2130; }

.fs-favs {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff4d6;
  color: #3b2f05;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.fs-favs svg { width: 20px; height: 20px; color: #f5a300; }
.fs-favs:hover { border-color: #f5c542; }
.fs-favs.is-on { background: #f5b700; color: #2b2204; border-color: #f5b700; }
.fs-favs.is-on svg { color: #fff; }
html[data-theme="dark"] .fs-favs { background: #3a3218; color: #fde68a; }

/* ---------- Phrase cards ---------- */
.fs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fs-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 18px;
  border: 1px solid var(--fs-line);
  border-radius: 16px;
  background: var(--fs-card);
  box-shadow: var(--fs-shadow);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fs-row:hover {
  border-color: #c7d7f3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.fs-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fs-soft);
  color: #94a3b8;
}
.fs-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.fs-row.is-fav .fs-mark { background: #ffe4ea; color: #e11d48; }
.fs-row.is-fav .fs-mark svg { fill: currentColor; }
html[data-theme="dark"] .fs-row.is-fav .fs-mark { background: rgba(225, 29, 72, 0.18); }

.article .post-content .fs-text {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fs-ink);
}
.fs-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.84rem;
}
.fs-len {
  font-variant-numeric: tabular-nums;
  color: var(--fs-muted);
}
.fs-len.is-over { color: #b42318; font-weight: 700; }
.fs-dot { color: var(--fs-muted); }
.article .post-content .fs-pill {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.article .post-content .fs-pill.is-status { background: #e6f0ff; color: #1d4ed8; }
.article .post-content .fs-pill.is-fig { background: #f1ebff; color: #6d28d9; }
html[data-theme="dark"] .article .post-content .fs-pill.is-status { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
html[data-theme="dark"] .article .post-content .fs-pill.is-fig { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }

.fs-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fs-copy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 134px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--fs-blue);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.fs-copy svg { width: 20px; height: 20px; }
.fs-copy:hover { background: var(--fs-blue-dark); }
.fs-copy.is-copied { background: #16a34a; }
.fs-icon {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--fs-line);
  border-radius: 50%;
  background: var(--fs-card);
  color: var(--fs-ink);
  cursor: pointer;
}
.fs-icon svg { width: 20px; height: 20px; }
.fs-icon:hover { background: var(--fs-soft); }
.fs-heart svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fs-heart.is-on { background: #ffe4ea; border-color: #ffe4ea; color: #e11d48; }
.fs-heart.is-on svg { fill: currentColor; }
html[data-theme="dark"] .fs-heart.is-on { background: rgba(225, 29, 72, 0.18); border-color: transparent; }
.fs-copy:focus-visible,
.fs-icon:focus-visible,
.fs-chip:focus-visible,
.fs-favs:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.fs-more { position: relative; }
.fs-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 230px;
  padding: 6px;
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  background: var(--fs-card);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}
.fs-menu[hidden] { display: none; }
.article .post-content .fs-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--fs-ink);
}
.article .post-content .fs-menu a:hover { background: var(--fs-soft); }

.fs-empty-msg {
  padding: 28px 16px;
  border-radius: 16px;
  background: var(--fs-card);
  text-align: center;
  color: var(--fs-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .fs-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .article .post-content .fs-note { font-size: 1rem; right: -6px; }
  .fs-row { grid-template-columns: 44px minmax(0, 1fr); }
  .fs-actions { grid-column: 2; }
}
@media (max-width: 820px) {
  .fs-hero { grid-template-columns: 1fr; padding: 16px 20px 0; }
  .fs-hero-text { padding-bottom: 0; }
  .fs-hero-art { min-height: 0; height: 170px; justify-content: center; }
  .fs-phone { width: 220px; margin-bottom: -70px; }
  .article .post-content .fs-note { top: 10px; right: 8px; font-size: 0.95rem; }
}
@media (max-width: 640px) {
  .fs-hero { margin: 0 -4px; padding: 14px 16px 0; border-radius: 18px 18px 0 0; }
  .fs-hero .fs-perks { gap: 10px; flex-direction: column; }
  .fs-perk-ico { width: 38px; height: 38px; }
  .fs-perk-ico svg { width: 20px; height: 20px; }
  .article .post-content .fs-note { display: none; }
  .fs-panel { padding: 14px 14px 12px; border-radius: 16px; }
  .fs-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 14px; padding: 0 14px 4px; scrollbar-width: none; }
  .fs-chip { flex: none; }
  .fs-search { flex-basis: 100%; height: 48px; }
  .fs-count { flex: 1 1 100%; order: 3; }
  .fs-sort, .fs-favs { height: 44px; }
  .fs-sort { flex: 1; }
  .fs-sort select { width: 100%; }
  .fs-row { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .fs-mark { display: none; }
  .fs-actions { grid-column: 1; gap: 10px; }
  .fs-copy { flex: 1; min-width: 0; height: 44px; }
  .fs-icon { width: 44px; height: 44px; flex: none; }
  .article .post-content .fs-text { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fs-row, .fs-chip, .fs-copy { transition: none; }
}
