/* Shared public-page language: crisp type, compact actions, light ink panels. */
:root {
  --ys-ink: #3d174d;
  --ys-paper: #fffcf8;
  --ys-blush: #fff0f6;
  --ys-pink: #ff4f93;
  --ys-link: #a51e59;
  --ys-muted: #6e5976;
  --ys-yellow: #ffcf43;
  --ys-rule: #dfd1dc;
  --ys-radius: 6px;
  --ys-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --ys-card-radius: 10px;
  --ys-panel-radius: 16px;
  --ys-card-border: 1.5px solid var(--ys-rule);
}
.ys-marketing { font-family: var(--ys-font); }
.ys-marketing :is(h1, h2, h3, h4), .creator-story-dialog :is(h2, h3, h4) { font-family: var(--ys-font); }
.ys-surface-card { border: var(--ys-card-border); border-radius: var(--ys-card-radius); box-shadow: none; }
.ys-header {
  background: var(--ys-ink);
  color: white;
  border-bottom: 1px solid #ffffff26;
  position: relative;
  z-index: 20;
}
.ys-header .ys-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  width: min(1160px, calc(100% - 40px));
  margin: auto;
  padding: 14px 0;
}
.ys-header .ys-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}
.ys-brand .ys-brand-mark {
  width: 60px;
  height: 64px;
  flex-shrink: 0;
  background: #ff8fbd;
  mask: url('/yaysquad-heart-arms.svg') center / contain no-repeat;
  -webkit-mask: url('/yaysquad-heart-arms.svg') center / contain no-repeat;
}
.ys-brand .ys-brand-wordmark {
  /* Compensate for transparent margins in the official asset, without redrawing it. */
  width: 280px;
  height: 80px;
  max-width: none;
  object-fit: cover;
  margin-left: -24px;
  margin-right: -32px;
}
.ys-header .ys-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ys-header .ys-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}
.ys-header .ys-nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.ys-marketing .ys-cta, .creator-story-dialog .ys-cta, .ys-header .ys-cta, .ys-ideas .button, .ys-ideas .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  height: auto;
  max-width: 100%;
  padding: 11px 18px;
  border: 1.5px solid currentColor;
  border-radius: var(--ys-radius);
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: normal;
  transition: background-color 150ms ease, color 150ms ease;
}
.ys-header .ys-cta, .ys-ideas .button {
  color: var(--ys-ink);
  background: var(--ys-pink);
  border-color: transparent;
}
.ys-header .ys-cta { white-space: nowrap; flex-shrink: 0; }
.ys-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.ys-cta > span { min-width: 0; }
.ys-cta:hover { transform: none; }
.ys-header .ys-cta:hover, .ys-ideas .button:hover { background: #ff8fbd; }
.ys-header :is(a, button):focus-visible, .ys-marketing .ys-cta:focus-visible {
  outline: 3px solid #d52b76;
  outline-offset: 4px;
}
.ys-header :is(a, button):focus-visible { outline-color: #ffcc55; }
.ys-marketing .ys-cta:disabled { opacity: .6; cursor: not-allowed; }
/* Geometry only: a single modest, irregular ink outline, never a cast shadow. */
.ys-comic-panel {
  position: relative;
  border: 1.6px solid var(--ys-ink);
  border-radius: 3px 8px 4px 6px / 7px 3px 8px 4px;
  padding: 7px;
  background: var(--ys-paper);
  box-shadow: none;
}
.ys-comic-panel > img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.ys-comic-panel::after {
  content: '';
  position: absolute;
  width: 27px;
  height: 29px;
  right: 16px;
  bottom: 15px;
  background: var(--ys-ink);
  opacity: .38;
  mask: url('/yaysquad-heart-arms.svg') center / contain no-repeat;
  -webkit-mask: url('/yaysquad-heart-arms.svg') center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 620px) {
  .ys-header .ys-nav { width: calc(100% - 32px); gap: 6px 12px; padding: 6px 0; }
  .ys-brand .ys-brand-mark { width: 48px; height: 52px; }
  .ys-brand .ys-brand-wordmark { width: 224px; height: 64px; margin-left: -19px; margin-right: -26px; }
  .ys-header .ys-brand { gap: 0; margin: 0 auto; }
  .ys-header .ys-nav-links { gap: 12px; width: 100%; justify-content: space-between; }
  .ys-header .ys-nav-link { display: inline-flex; }
  .ys-header .ys-cta { padding: 10px 12px; }
  .ys-marketing .ys-cta { padding: 12px 16px; line-height: 1.25; }
}
@media (max-width: 370px) {
  .ys-header .ys-nav-links { width: 100%; }
  .ys-header .ys-cta { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .ys-cta { transition: none; } }

/* Creator hub: the landing page's palette, shared by React and static Ideas. */
@font-face { font-family: 'Bangers'; src: url('/fonts/Bangers-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root {
  --ys-hot-pink: #ff4f93;
  --ys-deep-pink: #b51d62;
  --ys-berry: #9c1453;
  --ys-plum: #3d174d;
  --ys-soft-pink: #ffd1e3;
  --ys-bright-pink: #ff68a0;
  --ys-line-ink: #24102f;
  --ys-white: #fff;
  --ys-blue: #214dcc;
  --ys-green: #087552;
  --ys-violet: #642c91;
  --ys-nav-surface: var(--ys-plum);
  --ys-nav-accent: var(--ys-soft-pink);
  --ys-action-bg: #c21e68;
  --ys-action-hover: var(--ys-deep-pink);
}
.ys-header { background: var(--ys-nav-surface); border-bottom: 3px solid var(--ys-nav-accent); }
.ys-header .ys-nav { flex-wrap: nowrap; gap: 1rem; }
.ys-header .ys-nav-links { gap: 1rem; }
.ys-header .ys-nav-link { font-size: 18px; white-space: nowrap; }
.ys-header .ys-nav-link[aria-current='page'] { color: var(--ys-soft-pink); text-decoration: underline; text-decoration-thickness: 2px; }
.ys-header .ys-nav-action { background: var(--ys-action-bg); border: 2px solid var(--ys-white); color: var(--ys-white); }
.ys-header .ys-nav-action:hover { background: var(--ys-action-hover); }
.ys-nav-menu { display: none; position: relative; }
.ys-nav-menu summary { display: flex; gap: .6rem; align-items: center; min-height: 46px; padding: .5rem .75rem; cursor: pointer; font-size: 16px; font-weight: 750; border: 2px solid var(--ys-soft-pink); border-radius: 6px; list-style: none; }
.ys-nav-menu summary::-webkit-details-marker { display: none; }
.ys-nav-menu summary:focus-visible { outline: 3px solid var(--ys-yellow); outline-offset: 4px; }
.ys-header .ys-nav-menu .ys-nav-links { position: absolute; z-index: 30; top: calc(100% + .5rem); left: 0; display: grid; gap: .25rem; width: max-content; min-width: 15rem; max-width: calc(100vw - 32px); padding: .75rem; background: var(--ys-plum); border: 2px solid var(--ys-soft-pink); border-radius: 6px; }
.ys-nav-menu .ys-nav-link { padding-inline: .5rem; }
.ys-hub-footer { background: var(--ys-plum); color: var(--ys-white); border-top: 3px solid var(--ys-soft-pink); padding: 2.5rem 1.25rem; }
.ys-hub-footer-inner { max-width: 1160px; margin: auto; display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.ys-footer-brand { display: inline-flex; align-items: center; color: var(--ys-soft-pink); }
.ys-footer-brand .ys-brand-mark { width: 56px; height: 60px; background: var(--ys-soft-pink); mask: url('/yaysquad-heart-arms.svg') center / contain no-repeat; }
.ys-footer-brand img { width: 190px; height: 76px; object-fit: contain; }
.ys-hub-footer p { font-size: 14px; margin: .5rem 0 0; }
.ys-hub-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.25rem; max-width: 34rem; }
.ys-hub-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ys-soft-pink); font-size: 14px; font-weight: 700; text-decoration: none; }
.ys-hub-footer nav a:hover { text-decoration: underline; }
.ys-hub-footer a:focus-visible { outline: 3px solid var(--ys-yellow); outline-offset: 4px; }
@media (max-width: 1099px) {
  .ys-header .ys-nav-desktop { display: none; }
  .ys-nav-menu { display: block; margin-left: auto; }
}
@media (max-width: 620px) {
  .ys-header .ys-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; }
  .ys-header .ys-brand { grid-column: 1 / -1; justify-self: center; }
  .ys-nav-menu { margin-left: 0; justify-self: start; }
  .ys-hub-footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .ys-hub-footer nav { justify-content: center; }
}
