/* Scoped font: the dashboard retains its existing typography. */
@font-face {
  font-family: "OUSD Share Season";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("https://joinopenstandard.com/_astro/SeasonCollectionVF.BOFr0Hx3.woff2") format("woff2");
}
.share-trigger, :where(.share-dialog) button { font: inherit; color: inherit; cursor: pointer; }
.share-trigger:focus-visible, :where(.share-dialog) button:focus-visible, .share-primary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
:where(.share-dialog) button:disabled { cursor: default; opacity: .45; }
.share-trigger, .share-secondary, .share-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 14px; background: transparent; font-size: 13px; line-height: 1.5; text-decoration: none; }
.share-secondary:not(:disabled):hover { background: var(--soft); border-color: var(--muted); }
.share-trigger { flex-shrink: 0; gap: 10px; border: 0; border-radius: 6px; min-height: 46px; padding: 12px 18px; background: color-mix(in srgb, var(--accent) 5%, transparent); color: var(--ink); font-size: 14px; line-height: 1.4; transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.share-trigger:hover { background: var(--accent); color: var(--page); box-shadow: 0 5px 14px #39092222; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .share-trigger { transition: none; }
  .share-trigger:hover { transform: none; }
}
.share-is-open { overflow: hidden; }
.share-dialog { padding: 0; width: min(820px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 10px; background: var(--page); color: var(--ink); box-shadow: 0 24px 100px #25001330; }
.share-dialog::backdrop { background: #25001366; backdrop-filter: blur(5px); }
.share-content { padding: 28px; }
.share-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.share-heading > div { min-width: 0; }
.share-heading h2 { font-size: 26px; font-weight: 400; letter-spacing: -.025em; }
.share-heading p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.share-close { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; line-height: 1; }
.share-close > svg { display: block; }
.share-close:hover { background: var(--soft); }
.share-preview { aspect-ratio: 1200 / 630; width: 100%; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); color: var(--muted); }
.share-preview > svg { display: block; width: 100%; height: auto; }
.share-footer { display: flex; justify-content: flex-end; margin-top: 10px; }
.share-refresh { padding: 4px 0; border: 0; background: none; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.share-status { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.share-actions { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 22px 0 18px; }
.share-primary { border-color: var(--accent); background: var(--accent); color: var(--page); }
.share-primary:hover { background: var(--ink); color: var(--page); }
.share-primary[aria-disabled="true"] { pointer-events: none; opacity: .45; }
@media (max-width: 720px) {
  .share-trigger { grid-column: 2; grid-row: 2; justify-self: start; }
  .share-content { padding: 20px; }
  .share-close { width: 44px; height: 44px; }
}
@media (max-width: 440px) {
  .share-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .share-content { padding: 16px; }
  .share-heading h2 { font-size: 22px; }
  .share-actions { flex-wrap: wrap; }
}

.share-status:empty { display: none; }
.share-primary .x-logo { display: block; }
