@import url('/font-system.css?v=20261117f');
body.spr-compact-home {
  --compact-page: #ffffff;
  --compact-ink: var(--spr-ink);
  --compact-muted: var(--spr-muted);
  --compact-surface: var(--spr-surface);
  --compact-soft: var(--spr-surface-muted);
  --compact-line: var(--spr-stroke);
  --compact-hover: rgb(20 20 18 / 6%);
  --compact-dock: rgba(255, 255, 255, 0.94);
  --compact-selected: #e5e5e1;
  --compact-focus: #4b4b47;
  --discover-card-inset: 5px;
  --paper: var(--compact-page);
  --ink: var(--compact-ink);
  --muted: var(--compact-muted);
  --surface: var(--compact-surface);
  --line: var(--compact-line);
  min-width: 280px;
  background: var(--compact-page);
  color: var(--compact-ink);
  font-family: var(--font-sans);
}

body.spr-compact-home.dialog-open,
body.spr-compact-home:has(dialog[open]) {
  overflow: hidden;
}

.spr-compact-home .compact-icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.spr-compact-home svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spr-compact-home button,
.spr-compact-home input {
  font: inherit;
}

.spr-compact-home button,
.spr-compact-home a {
  -webkit-tap-highlight-color: transparent;
}

.spr-compact-home button:focus-visible,
.spr-compact-home a:focus-visible,
.spr-compact-home input:focus-visible,
.spr-compact-home [tabindex]:focus-visible {
  outline: 2px solid var(--compact-focus);
  outline-offset: 4px;
}

.spr-compact-home .compact-skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 14px;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--compact-surface);
  color: var(--compact-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

.spr-compact-home .compact-skip-link:focus {
  transform: translateY(0);
}

.spr-compact-home .feed-header {
  height: 68px;
  padding: 14px clamp(18px, 3vw, 36px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 24px;
  border-color: var(--compact-line);
  background: color-mix(in srgb, var(--compact-page) 92%, transparent);
}

.spr-compact-home .feed-brand,
.spr-compact-home .feed-brand img {
  width: 150px;
  height: 38px;
}

.spr-compact-home .feed-desktop-nav {
  gap: 6px;
  justify-self: start;
}

.spr-compact-home .feed-desktop-nav a {
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--capsule-radius);
  color: var(--compact-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.spr-compact-home .feed-desktop-nav a:hover {
  background: var(--compact-hover);
  color: var(--compact-ink);
}

.spr-compact-home .feed-desktop-nav a.is-active,
.spr-compact-home .feed-desktop-nav a.is-search-active {
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .compact-header-actions {
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spr-compact-home .feed-account,
.spr-compact-home .compact-menu-toggle {
  width: auto;
  min-height: 36px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--compact-line);
  border-radius: var(--capsule-radius);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.spr-compact-home .feed-account.is-guest {
  border-color: var(--capsule-active);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .feed-account.account-icon-control {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--compact-surface);
}

.spr-compact-home .feed-account.account-icon-control::after {
  display: none;
}

.spr-compact-home .feed-account.account-icon-control svg {
  width: 25px;
  height: 25px;
}

.spr-compact-home .compact-menu-toggle {
  background: transparent;
  color: var(--compact-muted);
  cursor: pointer;
}

.spr-compact-home .compact-menu-toggle:hover {
  background: var(--compact-hover);
  color: var(--compact-ink);
}

.spr-compact-home .compact-menu-toggle[aria-expanded="true"],
.spr-compact-home .feed-account.account-icon-control[aria-expanded="true"] {
  border-color: var(--capsule-active);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .feed-session-menu {
  top: calc(100% + 8px);
  border-color: var(--compact-line);
  background: var(--compact-surface);
  color: var(--compact-ink);
}

.spr-compact-home .feed-main {
  max-width: 1480px;
  padding: 0 clamp(20px, 3vw, 40px) 56px;
}








.spr-compact-home .compact-search-panel {
  width: 100%;
  max-width: 660px;
  position: relative;
  margin: clamp(20px, 3vw, 34px) auto 0;
  padding: 0 0 24px;
}

.spr-compact-home .compact-search-form {
  min-height: 54px;
  padding: 4px 5px 4px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--compact-line);
  border-radius: var(--capsule-radius);
  background: var(--compact-surface);
  box-shadow: var(--spr-elevation);
}

.spr-compact-home .compact-search-form:focus-within {
  border-color: var(--compact-focus);
  box-shadow: 0 0 0 2px var(--compact-selected);
}

.spr-compact-home .compact-search-form[hidden] {
  display: none;
}

.spr-compact-home .compact-search-form[hidden] + .compact-filters {
  padding-top: 0;
}

.spr-compact-home .compact-search-form > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--compact-muted);
}

.spr-compact-home .compact-search-form input {
  width: 0;
  min-width: 0;
  flex: 1;
  padding: 7px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--compact-ink);
  font-size: 0.82rem;
}

.spr-compact-home .compact-search-form input::placeholder {
  color: var(--compact-muted);
  text-overflow: ellipsis;
}

.spr-compact-home .compact-search-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.spr-compact-home .compact-search-form button {
  min-height: 44px;
  padding: 7px 18px;
  border: 0;
  border-radius: var(--capsule-radius);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.spr-compact-home .compact-filters {
  padding: 12px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.spr-compact-home .compact-search-form .compact-search-close {
  width: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--compact-ink);
}

.spr-compact-home .compact-search-close svg {
  width: 18px;
  height: 18px;
}

.spr-compact-home .compact-filters::-webkit-scrollbar {
  display: none;
}

.spr-compact-home .compact-filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: var(--capsule-radius);
  background: transparent;
  color: var(--compact-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}

.spr-compact-home .compact-filters button:hover {
  border-color: var(--compact-line);
  background: var(--compact-soft);
}

.spr-compact-home .compact-filters button[aria-pressed="true"] {
  background: var(--capsule-active);
  color: var(--capsule-active-text);
  font-weight: 700;
}

.spr-compact-home .for-you-feed {
  outline: 0;
}

.spr-compact-home .masonry-feed,
.spr-compact-home .compact-search-grid {
  --feed-columns: 4;
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  column-gap: 16px !important;
  row-gap: 16px !important;
  align-items: start;
}

.spr-compact-home .masonry-feed.is-masonry {
  --masonry-card-gap: 16px;
  grid-auto-rows: 8px !important;
  grid-auto-flow: row;
  row-gap: 0 !important;
}

.spr-compact-home .feed-card {
  position: relative;
  align-self: start;
  overflow: visible;
  padding: var(--discover-card-inset);
  border: 1px solid var(--compact-line);
  border-radius: var(--spr-radius-card);
  background: var(--compact-surface);
  box-shadow: var(--spr-elevation);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.spr-compact-home .feed-card:hover,
.spr-compact-home .feed-card:focus-within {
  border-color: #c8c8c2;
  box-shadow: var(--spr-elevation-hover);
}

.spr-compact-home .masonry-feed .feed-card[data-media-shape="wide"] {
  grid-column: span 2;
}

.spr-compact-home .feed-image,
.spr-compact-home .feed-image.tall,
.spr-compact-home .feed-image.short {
  border: 0 !important;
  border-radius: 18px;
  background: var(--compact-soft) !important;
  cursor: zoom-in;
}

.spr-compact-home .feed-image::after {
  display: none;
}

.spr-compact-home .feed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spr-compact-home .feed-image.is-text-card {
  min-height: 0;
  padding: 11%;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(ellipse at 8% 0%, rgb(255 255 255 / 18%), transparent 65%),
    linear-gradient(150deg, #242424, #121212) !important;
  color: #fff;
}

.spr-compact-home .compact-card-fallback {
  display: grid;
  align-content: space-between;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.spr-compact-home .compact-card-fallback small {
  color: #d0d0c9;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1rem;
  text-transform: uppercase;
}

.spr-compact-home .compact-card-fallback strong {
  max-width: 12ch;
  font-family: var(--font-sans);
  font-size: var(--type-card-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-card-line);
  overflow-wrap: anywhere;
}

.spr-compact-home .compact-person-fallback {
  place-content: center;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 650;
  letter-spacing: -.05em;
}

.spr-compact-home .feed-card-copy {
  min-height: 43px;
  padding: 13px 12px 12px;
}

.spr-compact-home .feed-card-copy .feed-tag {
  margin: 0 0 5px;
  color: var(--compact-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1rem;
  text-transform: uppercase;
}

.spr-compact-home .feed-card-copy h3 {
  color: var(--compact-ink);
  font-size: var(--type-card-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-card-line);
}

.spr-compact-home .feed-card-copy h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.spr-compact-home .feed-card-copy > p:not(.feed-card-attribution) {
  display: none;
}

.spr-compact-home .feed-card-attribution {
  margin: 4px 0 0;
  color: var(--compact-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.spr-compact-home .compact-card-more {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 96%);
  color: var(--compact-ink);
  box-shadow: 0 2px 8px rgb(20 20 18 / 14%);
  cursor: pointer;
}

.spr-compact-home .compact-card-more:hover {
  background: var(--compact-soft);
}

.spr-compact-home .compact-card-more svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke-width: 0.8;
}

.spr-compact-home .feed-end {
  margin: 36px 0 0;
  color: var(--compact-muted);
  font-size: 0.78rem;
}

.spr-compact-home .compact-search-grid.has-empty-state {
  display: block;
}

.spr-compact-home .compact-results-empty,
.spr-compact-home .compact-results-loading {
  width: min(540px, calc(100% - 24px));
  margin: 34px auto;
  padding: 38px 24px;
  border: 1px solid var(--compact-line);
  border-radius: 24px;
  background: var(--compact-surface);
  box-shadow: var(--spr-elevation);
  color: var(--compact-muted);
  text-align: center;
}

.spr-compact-home .compact-results-empty h2 {
  margin: 0;
  color: var(--compact-ink);
  font-family: var(--font-sans);
  font-size: var(--type-section-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-section-line);
}

.spr-compact-home .compact-results-empty p {
  margin: 10px 0 20px;
  font-size: 0.82rem;
  line-height: 1.65;
}

.spr-compact-home .compact-results-empty button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 23px;
  background: var(--compact-ink);
  color: var(--compact-page);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.spr-compact-home .feed-empty-state {
  width: min(580px, 100%);
  min-height: 0;
  margin: 10px auto 0;
  padding: clamp(24px, 4.7vw, 42px) clamp(14px, 5vw, 30px);
  display: block;
  border-color: var(--compact-line);
  border-radius: 24px;
  background: var(--compact-surface);
  box-shadow: var(--spr-elevation);
  text-align: center;
}

.spr-compact-home .feed-empty-state::before,
.spr-compact-home .feed-empty-icon {
  display: none;
}

.spr-compact-home .feed-empty-copy h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--type-section-size);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: var(--type-section-line);
}

.spr-compact-home .feed-empty-copy p {
  margin: 10px auto 0;
  max-width: 420px;
}

.spr-compact-home .feed-empty-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.spr-compact-home .feed-empty-actions a {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--compact-line);
  border-radius: 23px;
  font-size: 0.72rem;
  text-decoration: none;
}

.spr-compact-home .feed-empty-actions .empty-primary {
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .feed-footer {
  min-height: 0;
  padding: 28px 24px calc(118px + env(safe-area-inset-bottom));
  border-color: var(--compact-line);
  background: var(--compact-page);
}

.spr-compact-home .feed-footer-brand img {
  filter: none;
}

.spr-compact-home .compact-dock {
  position: fixed;
  z-index: 45;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  padding: 6px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--compact-line);
  border-radius: var(--capsule-radius);
  background: var(--compact-dock);
  box-shadow: var(--spr-elevation-hover);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.spr-compact-home .compact-dock > a,
.spr-compact-home .compact-dock > button {
  width: 67px;
  height: 54px;
  padding: 7px 8px;
  display: grid;
  grid-template-rows: 23px auto;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: var(--capsule-radius);
  background: transparent;
  color: var(--compact-muted);
  cursor: pointer;
  text-decoration: none;
}

.spr-compact-home .compact-dock > :is(a, button):where(:not(.is-active, .is-search-active)):hover {
  background: var(--compact-hover);
}

.spr-compact-home .compact-dock > .is-active,
.spr-compact-home .compact-dock > .is-search-active {
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .compact-dock svg {
  width: 22px;
  height: 22px;
}

.spr-compact-home .compact-dock small {
  font-size: 0.6875rem;
  font-weight: 550;
  line-height: 1.2;
}

.spr-compact-home dialog {
  color: var(--compact-ink);
  font-family: var(--font-sans);
}

.spr-compact-home dialog:not([open]) {
  display: none;
}

.spr-compact-home dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}

.spr-compact-home .compact-preview,
.spr-compact-home .compact-action-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--compact-line);
  border-radius: 26px;
  background: var(--compact-surface);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.spr-compact-home .compact-preview {
  width: min(880px, calc(100% - 32px));
  padding: 0;
}

.spr-compact-home .compact-preview[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.spr-compact-home .compact-dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--compact-dock);
  color: var(--compact-ink);
  cursor: pointer;
}

.spr-compact-home .compact-dialog-close svg,
.spr-compact-home .compact-dialog-heading svg {
  width: 100%;
  height: 100%;
}

.spr-compact-home .compact-preview-art {
  position: relative;
  width: 100%;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 25px 0 0 25px;
  background: var(--compact-soft);
}

.spr-compact-home .compact-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spr-compact-home .compact-preview-art span {
  position: absolute;
  inset: 0;
  padding: 12%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--compact-selected), var(--compact-soft));
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.spr-compact-home .compact-preview-copy {
  align-self: center;
  padding: 50px 30px 30px;
}

.spr-compact-home .compact-preview-copy > p:first-child {
  margin: 0;
  color: var(--compact-muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spr-compact-home .compact-preview-copy h2 {
  margin: 16px 0;
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.spr-compact-home .compact-preview-copy > p:not(:first-child) {
  color: var(--compact-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.spr-compact-home .compact-preview-attribution {
  font-size: 0.72rem !important;
}

.spr-compact-home .compact-preview-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.spr-compact-home .compact-preview-actions button,
.spr-compact-home .compact-preview-actions a {
  min-height: 44px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--compact-line);
  border-radius: var(--capsule-radius);
  background: transparent;
  color: var(--compact-ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.spr-compact-home .compact-preview-actions a,
.spr-compact-home .compact-preview-actions button[aria-pressed="true"] {
  border-color: var(--capsule-active);
  background: var(--capsule-active);
  color: var(--capsule-active-text);
}

.spr-compact-home .compact-action-dialog {
  width: min(440px, calc(100% - 28px));
  height: fit-content;
  padding: 24px;
}

.spr-compact-home .compact-dialog-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spr-compact-home .compact-dialog-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.spr-compact-home .compact-dialog-heading button {
  width: 36px;
  height: 36px;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.spr-compact-home .compact-action-dialog > button {
  width: 100%;
  padding: 16px 12px;
  display: block;
  border: 0;
  border-top: 1px solid var(--compact-line);
  background: transparent;
  color: var(--compact-ink);
  font-size: 0.95rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.spr-compact-home .compact-action-dialog > button:hover {
  background: var(--compact-hover);
}

.spr-compact-home .menu-sheet {
  position: fixed;
  inset: 0;
  width: min(360px, calc(100% - 28px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 22px;
  overflow: auto;
  border: 1px solid var(--compact-line);
  border-radius: 26px;
  background: var(--compact-surface);
  color: var(--compact-ink);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  transform: none;
}

.spr-compact-home .menu-sheet > header {
  margin-bottom: 10px;
  align-items: center;
}

.spr-compact-home .menu-sheet > header button {
  width: 44px;
  height: 44px;
  border-color: var(--compact-line);
  color: var(--compact-ink);
}

.spr-compact-home .compact-menu-links {
  display: grid;
  gap: 4px;
}

.spr-compact-home .compact-menu-links a {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  color: var(--compact-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.spr-compact-home .compact-menu-links a:hover {
  background: var(--compact-hover);
}

.spr-compact-home .compact-toast {
  position: fixed;
  z-index: 150;
  bottom: calc(96px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--compact-line);
  border-radius: 15px;
  background: var(--compact-surface);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  color: var(--compact-ink);
  font-size: 0.78rem;
  transform: translateX(-50%);
}

.spr-compact-home .compact-toast button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--compact-ink);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 899px) {
  .spr-compact-home .feed-header {
    height: 62px;
    padding: 12px 15px;
    grid-template-columns: 1fr auto;
  }

  .spr-compact-home .feed-brand,
  .spr-compact-home .feed-brand img {
    width: 138px;
    height: 35px;
  }

  .spr-compact-home .feed-desktop-nav {
    display: none;
  }


  .spr-compact-home .compact-search-panel {
    padding-bottom: 12px;
  }

  .spr-compact-home .masonry-feed,
  .spr-compact-home .compact-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 11px !important;
  }

  .spr-compact-home .feed-image,
  .spr-compact-home .feed-image.tall,
  .spr-compact-home .feed-image.short {
    border-radius: 16px;
  }
}

@media (max-width: 680px) {
  .spr-compact-home .feed-main {
    padding: 0 14px 48px;
  }

  .spr-compact-home .feed-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .spr-compact-home .menu-sheet {
    top: 0;
    bottom: 0;
    width: min(360px, calc(100% - 22px));
    height: fit-content;
    max-height: calc(100dvh - 22px);
    padding: 20px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  body.spr-compact-home {
    --discover-card-inset: 4px;
  }
  .spr-compact-home .feed-header {
    height: 60px;
    padding: 11px 13px;
    gap: 10px;
  }

  .spr-compact-home .feed-brand,
  .spr-compact-home .feed-brand img {
    width: 128px;
    height: 33px;
  }

  .spr-compact-home .compact-header-actions {
    gap: 6px;
  }

  .spr-compact-home .feed-account,
  .spr-compact-home .compact-menu-toggle {
    min-height: 40px;
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  .spr-compact-home .feed-account.account-icon-control {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }



  .spr-compact-home .compact-search-panel {
    width: calc(100% - 12px);
    padding-bottom: 16px;
  }

  .spr-compact-home .compact-search-form {
    min-height: 48px;
    padding: 3px 4px 3px 12px;
    gap: 8px;
  }

  .spr-compact-home .compact-search-form > svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .spr-compact-home .compact-search-form input {
    padding: 5px 0;
    font-size: 1rem;
  }

  .spr-compact-home .compact-search-form input::placeholder {
    font-size: 0.8125rem;
  }

  .spr-compact-home .compact-search-form button {
    min-height: 44px;
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .spr-compact-home .compact-filters {
    padding-top: 8px;
    justify-content: flex-start;
    gap: 2px;
  }

  .spr-compact-home .compact-filters button {
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  .spr-compact-home .masonry-feed,
  .spr-compact-home .compact-search-grid {
    column-gap: 10px !important;
    row-gap: 12px !important;
  }

  .spr-compact-home .feed-card {
    border-radius: 19px;
  }

  .spr-compact-home .feed-image,
  .spr-compact-home .feed-image.tall,
  .spr-compact-home .feed-image.short {
    border-radius: 16px;
  }

  .spr-compact-home .feed-card-copy {
    min-height: 40px;
    padding: 9px 6px 8px;
  }

  .spr-compact-home .feed-card-copy h3 {
    font-size: 0.875rem;
  }

  .spr-compact-home .feed-card-copy .feed-tag,
  .spr-compact-home .feed-card-attribution {
    font-size: 0.6875rem;
  }

  .spr-compact-home .compact-dock {
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 5px;
    gap: 2px;
  }

  .spr-compact-home .compact-dock > a,
  .spr-compact-home .compact-dock > button {
    width: 61px;
    height: 51px;
    padding: 6px 7px;
  }

  .spr-compact-home .compact-dock svg {
    width: 21px;
    height: 21px;
  }

  .spr-compact-home .compact-preview {
    width: calc(100% - 22px);
    border-radius: 23px;
  }

  .spr-compact-home .compact-preview[open] {
    display: block;
  }

  .spr-compact-home .compact-preview-art {
    max-height: 53dvh;
    border-radius: 22px 22px 0 0;
  }

  .spr-compact-home .compact-preview-copy {
    padding: 22px 24px 25px;
  }

  .spr-compact-home .compact-preview-copy h2 {
    margin: 12px 0;
    font-size: 1.7rem;
  }

  .spr-compact-home .compact-action-dialog {
    padding: 21px;
    border-radius: 24px;
  }

}

@media (max-width: 360px) {
  .spr-compact-home .feed-header {
    padding-inline: 11px;
    gap: 7px;
  }

  .spr-compact-home .feed-brand,
  .spr-compact-home .feed-brand img {
    width: 110px;
    height: 29px;
  }

  .spr-compact-home .feed-account,
  .spr-compact-home .compact-menu-toggle {
    padding-inline: 10px;
    font-size: 0.75rem;
  }

  .spr-compact-home .compact-filters button {
    padding-inline: 8px;
    font-size: 0.75rem;
  }

  .spr-compact-home .compact-dock > a,
  .spr-compact-home .compact-dock > button {
    width: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spr-compact-home *,
  .spr-compact-home *::before,
  .spr-compact-home *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
