body[data-page="home"] .layout-shell {
  max-width: 1280px;
  margin-top: 12px;
}

body[data-page="home"] .main-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

body[data-page="home"] .page-affiliate-note {
  display: none;
}

.home-description {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 851px) {
  .title-select-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .title-select-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    padding: 12px 16px;
    border: 2px solid var(--brand-light);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff9fc 0%, #fff 100%);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(244, 114, 182, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .title-select-card:hover,
  .title-select-card:focus-visible {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(244, 114, 182, 0.12);
    outline: none;
  }

  .title-select-card--disabled {
    background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
  }

  .title-select-card-title {
    min-width: 0;
    max-width: 100%;
    color: var(--accent);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .title-select-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
  }

  .title-select-card-date {
    white-space: nowrap;
  }

  .title-select-card-status {
    padding: 2px 8px;
    border: 1px solid var(--brand-light);
    border-radius: 999px;
    color: var(--brand);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.4;
  }
}

@media (max-width: 850px) {
  body[data-page="home"] .page-affiliate-note {
    display: block;
  }

  body[data-page="home"] .mobile-ad-slot,
  body[data-page="home"] .sp-ad-card,
  body[data-page="home"] .sp-ad-card > .ad-product-unit,
  body[data-page="home"] .sp-ad-card .ad-image-slot {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .title-select-mobile-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .title-select-mobile-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .title-select-mobile-card--link:hover,
  .title-select-mobile-card--link:focus-visible {
    border-color: var(--brand);
    outline: none;
  }

  .title-select-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: center;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.35;
  }

  .title-select-mobile-meta > span {
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff0f7;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .main-content {
    padding: 6px 8px 8px;
  }
}
