/* Hobby Ideas When Bored: ranked reset flow and two-session commerce gate. */
.bored-guide-page [hidden] {
  display: none !important;
}

.bored-guide-page .guide-hero {
  order: 1 !important;
  width: 100% !important;
  margin: 0 !important;
}

.bored-guide-page .guide-visual {
  order: 2 !important;
  margin: 0 !important;
}

.bored-guide-page > .guide-callout {
  order: 3;
}

.bored-guide-page .guide-visual img {
  height: clamp(280px, 35vw, 430px);
  object-position: center 62%;
}

.bored-guide-page .guide-hero .guide-link-row {
  margin-top: 20px;
}

.bored-step-label,
.bored-best-label,
.bored-alternative-card > span,
.bored-session-card > span,
.bored-proof-grid span,
.bored-product-card > span,
.bored-starter-paths summary > span {
  color: var(--bronze);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.bored-step-label {
  margin: 0 0 8px;
}

.bored-chooser .commerce-fit-selector {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 253, 247, .78);
}

.bored-filter-row {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.bored-filter-row legend {
  margin: 0 0 8px;
  padding: 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
}

.bored-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bored-guide-page [data-commerce-filter] {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}

.bored-guide-page [data-commerce-filter][aria-pressed="true"],
.bored-guide-page [data-commerce-filter].is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.bored-guide-page [data-commerce-filter]:focus-visible,
.bored-guide-page a:focus-visible,
.bored-guide-page button:focus-visible,
.bored-guide-page summary:focus-visible {
  outline: 3px solid rgba(167, 116, 48, .35);
  outline-offset: 3px;
}

.bored-filter-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
}

.bored-best-match {
  display: grid;
  gap: 12px;
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(145deg, rgba(255, 248, 226, .94), rgba(255, 253, 247, .98));
  box-shadow: 0 14px 34px rgba(70, 49, 30, .08);
}

.bored-best-match h3,
.bored-alternatives-heading h3,
.bored-session-card h3,
.bored-no-buy-continuation h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", ui-serif, Georgia, serif;
}

.bored-best-match h3 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.bored-best-reason {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.bored-best-reason b {
  color: var(--ink);
}

.bored-best-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bored-best-plan p {
  display: grid;
  gap: 5px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.bored-best-plan b {
  color: var(--ink);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bored-best-match > small {
  color: var(--ink-soft);
  line-height: 1.5;
}

.bored-alternatives-heading {
  display: grid;
  gap: 5px;
  margin: 24px 0 12px;
}

.bored-alternatives-heading p {
  margin: 0;
  color: var(--ink-soft);
}

.bored-alternative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bored-alternative-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 247, .72);
}

.bored-alternative-card h3,
.bored-alternative-card p,
.bored-alternative-card small {
  margin: 0;
}

.bored-alternative-card h3 {
  font-size: 1.1rem;
}

.bored-alternative-card p,
.bored-alternative-card small {
  color: var(--ink-soft);
  line-height: 1.5;
}

.bored-alternative-card a {
  width: fit-content;
  margin-top: 2px;
  font-weight: 800;
}

.bored-session-section > p:not(.bored-step-label) {
  max-width: 780px;
}

.bored-session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.bored-session-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.6vw, 24px);
  background: rgba(255, 253, 247, .72);
  scroll-margin-top: 94px;
}

.bored-session-card:focus,
.bored-session-card:target {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(167, 116, 48, .12);
}

.bored-session-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.bored-session-card > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.bored-session-plan {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.bored-session-plan b,
.bored-session-proof b {
  color: var(--ink);
}

.bored-session-proof {
  display: grid;
  gap: 7px;
}

.bored-session-proof p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.55;
}

.bored-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
}

.bored-session-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--bronze);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.5;
}

.bored-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.bored-proof-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 247, .7);
}

.bored-proof-grid b {
  color: var(--ink);
}

.bored-proof-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.bored-starter-paths {
  padding: 0 !important;
  overflow: clip;
  scroll-margin-top: 90px;
}

.bored-starter-paths summary {
  display: grid;
  gap: 6px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  cursor: pointer;
}

.bored-starter-paths summary b {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.bored-starter-paths summary small {
  color: var(--ink-soft);
}

.bored-gate-content {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px);
}

.bored-gate-content > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.bored-product-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.bored-product-card {
  display: grid;
  gap: 12px;
}

.bored-product-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.bored-product-card .shop-link {
  width: fit-content;
}

.bored-no-buy-continuation {
  display: grid;
  gap: 10px;
  max-width: 760px;
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 248, 226, .8);
}

.bored-no-buy-continuation p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

#bored-chooser,
#bored-proof,
#bored-after-repeat {
  scroll-margin-top: 90px;
}

@media (max-width: 760px) {
  .bored-guide-page .guide-hero {
    padding: 24px 20px !important;
  }

  .bored-guide-page .guide-visual img {
    height: 240px;
  }

  .bored-best-plan,
  .bored-alternative-grid,
  .bored-session-grid,
  .bored-proof-grid {
    grid-template-columns: 1fr;
  }

  .bored-filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bored-guide-page [data-commerce-filter] {
    width: 100%;
  }

  .bored-session-actions .button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .bored-filter-buttons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bored-guide-page * {
    scroll-behavior: auto !important;
  }
}
