/* Match OSRS Clan Finder's shared content width and responsive page gutters. */
/* Native restoration and incoming section links must not animate on page load. */
html { scroll-behavior: auto; }

:root {
  --content: 1080px;
  --page-pad: clamp(16px, 5vw, 64px);
}

.site-frame :is(.account-shell, .submission-shell, .dashboard-shell, .analytics-shell) {
  width: min(calc(100% - 2 * var(--page-pad)), var(--content));
  max-width: var(--content);
  margin-inline: auto;
}

.site-frame .analytics-shell { padding-inline: 0; }

.site-frame .guide-shell:not(.claim-shell) {
  max-width: min(calc(100% - 2 * var(--page-pad)), var(--content));
  padding-inline: 0;
}

@media (min-width: 640px) and (max-width: 1199px) {
  :root { --content: 900px; }
}
