/* You The Winner family identity, v1. Shared with Daily Tools and YTW Money.
   Product palettes and saved theme preferences remain owned by each app. */
:root {
  --ytw-family-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ytw-family-forest: #1d463e;
  --ytw-family-gold: #c48b48;
  --ytw-family-control-radius: 10px;
  --ytw-family-card-radius: 16px;
}
.ytw-family-brand {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0;
  color: inherit; text-decoration: none; font-family: var(--ytw-family-font);
  letter-spacing: normal; text-transform: none; line-height: 1.2;
}
.ytw-family-brand > img { display: block; width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.ytw-family-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ytw-family-name { font-size: 14px; font-weight: 800; white-space: nowrap; }
.ytw-family-product { font-size: 12px; font-weight: 500; opacity: .85; }
.ytw-family-links {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 12px; font: 500 12px/1.4 var(--ytw-family-font);
}
.ytw-family-links a, .ytw-family-links [aria-current="page"] {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 8px;
  color: inherit; border-radius: var(--ytw-family-control-radius);
}
.ytw-family-links a { text-decoration: underline; text-underline-offset: 4px; }
.ytw-family-links [aria-current="page"] { font-weight: 800; }
.ytw-family-brand:focus-visible, .ytw-family-links a:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}
@media (max-width: 480px) {
  .ytw-family-brand { gap: 7px; }
  .ytw-family-brand > img { width: 32px; height: 32px; flex-basis: 32px; }
  .ytw-family-name { font-size: 12px; }
  .ytw-family-product { font-size: 11px; }
}
