/* Open Beta 1.2.9: targeted fixes only. site.css is the visual authority.
   The rejected font, palette, hero and editorial-layout overrides were removed. */
.site-experience [hidden] { display: none !important; }
.site-experience .skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 12px 20px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}
.site-experience .skip-link:focus { top: 12px; }
.site-experience :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
/* Keep long public posts inside the existing boards, including mobile layouts. */
.site-experience :is(.updates-shell, .updates-panel, .news-layout, .news-stack,
  .news-board, .news-detail, .news-page-list, .news-page-post) {
  min-width: 0;
  max-width: 100%;
}
.site-experience :is(.news-detail-body, .news-page-post, .news-card, .news-mini-card) {
  overflow-wrap: anywhere;
}
.site-experience .updates-filter-bar { flex-wrap: wrap; }
.site-experience .feed-status {
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--surface-wash);
}
.site-experience .feed-status button { margin-left: 12px; }
.site-experience .page-pad .section-heading h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}
/* These pages use the same dark header in both themes. */
.site-experience .topbar .subnav a { color: #c4c9d8; }
.site-experience .topbar .subnav a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: #fff7e6;
  background: rgba(255, 255, 255, .1);
}
.site-experience .news-page-post { padding: 24px; }
.site-experience .install-steps { padding-left: 22px; margin: 24px 0 0; }
.site-experience .install-steps li { padding: 0 0 12px 6px; }
.site-experience .install-steps :is(strong, span) { display: block; }
.site-experience .install-steps span { color: var(--ink-soft); line-height: 1.6; }
.site-experience .download-help { margin: 12px 0 0; font-size: .9rem; }
.site-experience .download-help a { text-decoration: underline; text-underline-offset: 3px; }
/* Desktop widths between 1200px and 1480px keep the full navigation on ONE
   compact row instead of the hamburger; wider screens use site.css as is. */
@media (min-width: 1200px) and (max-width: 1480px) {
  .site-experience .desktop-nav { display: flex; gap: 0; }
  .site-experience .desktop-nav a { padding: 7px 5px; font-size: .72rem; }
  .site-experience .menu-button { display: none; }
  .site-experience .topbar { min-height: 84px; }
  .site-experience .brand { width: 150px; flex-basis: 150px; }
}
/* Time/event cards keep their original desktop position and their original
   materials; only phones use document flow so the cards cannot cover actions. */
@media (max-width: 760px) {
  .site-experience .corner-charms {
    position: static;
    width: min(560px, calc(100% - 28px));
    margin: 0 auto 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-experience .corner-charms .server-clock-charm {
    width: 100%;
    max-width: none;
    transform: none;
    animation: none;
  }
  .site-experience .topbar:has(.subnav) { flex-wrap: wrap; }
  .site-experience .topbar:has(.subnav) .topbar-actions .primary { display: inline-flex; }
  .site-experience .topbar:has(.subnav) .subnav {
    order: 3;
    flex-basis: 100%;
  }
  .site-experience .topbar:has(.subnav) ~ .page-pad { padding-top: 210px; }
  .site-experience .subnav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 360px) {
  .site-experience .topbar-actions .discord-icon { display: none; }
  .site-experience .topbar .brand { width: 88px; flex-basis: 88px; }
}
.site-experience.payment-return { overflow: auto; }
.site-experience.payment-return .hint { line-height: 1.6; }
.site-experience.payment-return .hint a { color: inherit; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .site-experience *, .site-experience *::before, .site-experience *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
