/* Shared garden chrome: topbar, buttons, dots, empty states */

.fy-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.fy-top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fy-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.fy-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 11px 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}

.fy-brand em {
  color: var(--terracotta);
  font-style: normal;
}

.fy-crumb {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 550;
}

.fy-crumb b {
  color: var(--ink);
  font-weight: 650;
}

.fy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fy-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
}

.fy-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fy-icon-btn .moon, [data-theme="dark"] .fy-icon-btn .sun { display: none; }
[data-theme="dark"] .fy-icon-btn .moon { display: block; }

.fy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-solid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.fy-btn:hover { border-color: var(--line-strong); }

.fy-btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.fy-btn-ghost {
  background: transparent;
}

.fy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-soft);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink-soft) 16%, transparent);
}

.fy-dot.up {
  background: var(--moss);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss) 18%, transparent);
}

.fy-dot.down {
  background: var(--terracotta);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--terracotta) 18%, transparent);
}

.fy-dot.warm {
  background: var(--amber);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent);
}

.fy-empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--ink-soft);
}

.fy-empty h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.fy-kicker {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.fy-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.fy-foot a { text-decoration: none; }
.fy-foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .fy-shell { width: min(100% - 28px, 1120px); }
  .fy-top { height: 66px; }
  .fy-foot { flex-direction: column; }
}
