/* Presence Story: shared chrome on top of the house tokens (../styles.css).
   Scoped to the ss- prefix so page-specific styles never collide with it. */

body { margin: 0; background: var(--page-bg); }

.ss-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 0.5px solid var(--rule);
  background: var(--white);
}
.ss-wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 18px; color: var(--ink); text-decoration: none;
}
.ss-topbar-right {
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
}
.ss-topbar-nav {
  display: flex; align-items: center; gap: 16px;
}
.ss-topbar-link {
  font-family: var(--ui); font-size: 13px; color: var(--ink-mid); text-decoration: underline;
}
.ss-topbar-link:hover { color: var(--navy); }

/* Credit pack list: shared by every purchase entry point — the inventory
   paywall modal, the new-story exhausted gate, the new-story short-by-one
   gate, and the account page's Credits section — so all four render
   identically. Rendered from public/story/js/credits.js. */
.iv-pack-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.iv-pack { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 0.5px solid var(--rule); border-radius: 8px; padding: 12px 14px; background: var(--fill-bg); }
.iv-pack-name { font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink); display: block; }
.iv-pack-detail { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); display: block; margin-top: 2px; }
.iv-pack-buy { background: var(--navy); color: #fff; border: none; border-radius: 6px; padding: 9px 16px;
  font-family: var(--ui); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.iv-pack-buy:hover { background: #1a2d45; }
.iv-pack-buy:disabled { opacity: .6; cursor: default; }
.iv-pack-note { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

/* Shared footer: minimum legal surfacing for the Story surface (landing
   and account, where purchases live). Condensed version of the public
   .pl-footer used site-wide, scoped ss- so it never collides with it. */
.ss-footer {
  background: #fff; border-top: 0.5px solid var(--rule);
  padding: 22px 24px; margin-top: 48px;
}
.ss-footer-row {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 14px; max-width: 980px; margin: 0 auto;
}
.ss-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.ss-footer-links a { font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); text-decoration: none; }
.ss-footer-links a:hover { color: var(--navy); }
.ss-footer-legal {
  font-family: var(--serif); font-style: italic; font-size: 11.5px;
  color: var(--ink-faint); max-width: 980px; margin: 10px auto 0;
}
