/* The homepage uses the original Otter Detective artwork and layout. */
.classic-brand,
.on-home .site-brand { display: none; }

.on-home .classic-brand { display: flex; }

.home-view { min-height: 0; }

.home-view .resume-investigation {
  align-self: flex-start;
  margin: 12px 0 0 83px;
  font-size: .875rem;
}

.home-view .home-bottom {
  margin-top: 0;
  padding-top: 20px;
}

.home-view .entry-card p { font-size: 1rem; }
.home-view .composer textarea { font-size: 1.125rem; }
.home-view .composer textarea::placeholder { color: #71665f; }
.home-view .helper-line { font-size: .875rem; color: #6c594b; flex-wrap: wrap; }

@media (min-width: 601px) and (max-height: 900px) {
  .home-view { padding-block: clamp(10px, 2.5vh, 22px); }
  .home-view .home-content { padding-top: clamp(14px, 2.7vh, 24px); }
  .home-view .section-title { margin-bottom: 13px; }
  .home-view .welcome-row { margin-top: clamp(12px, 2.7vh, 26px); }
  .home-view .welcome-bubble { padding-block: clamp(12px, 1.9vh, 18px); }
  .on-home .sidebar-mascot { min-height: 0; }
  .on-home .sidebar-mascot img { height: clamp(52px, calc(100vh - 735px), 150px); }
  .on-home .sidebar-note { display: none; }
}

@media (min-width: 601px) and (max-height: 760px) {
  .home-view .hero { min-height: clamp(105px, 23vh, 185px); padding-block: 12px; }
  .home-view .hero h1 { font-size: clamp(2rem, min(4.6vw, 7vh), 3.75rem); }
  .home-view .hero-copy p { margin-top: 5px; }
  .home-view .hero-question { right: clamp(95px, 23vh, 190px); }
  .home-view .eyebrow { margin-bottom: 6px; }
  .home-view .entry-card { min-height: clamp(78px, 14vh, 120px); padding-block: 10px; }
  .home-view .welcome-bubble .desktop-br { display: none; }
  .home-view .home-bottom { padding-top: 12px; }
  .home-view .composer { padding-block: 6px; }
  .home-view .helper-line { margin-top: 6px; }

  .on-home .sidebar { padding-block: 14px; }
  .on-home .classic-brand { padding-bottom: 10px; }
  .on-home .nav-link { min-height: 49px; padding-block: 6px; margin-block: 5px; }
  .on-home .personalise { margin-top: 12px; padding-top: 8px; }
  .on-home .personalise details { margin-bottom: 8px; padding-block: 8px; }
  .on-home .wallpapers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 32px));
    gap: 5px;
  }
  .on-home .wallpaper { width: 100%; }
  .on-home .swatches, .on-home .wallpapers { margin-top: 7px; }
}

@media (min-width: 601px) and (max-height: 620px) {
  .on-home .personalise details { position: relative; }
  .on-home .personalise details[open] > .swatches,
  .on-home .personalise details[open] > .wallpaper-panel {
    position: absolute;
    left: calc(100% + 10px);
    bottom: 0;
    z-index: 5;
    width: 230px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 6px 20px #59482620;
  }
  .on-home .sidebar-mascot .spark { display: none; }
}

@media (max-width: 600px) {
  .home-view .hero { min-height: 132px; padding-block: 14px; }
  .home-view .home-content { padding-top: 16px; }
  .home-view .section-title { margin-bottom: 10px; }
  .home-view .entry-card { min-height: 124px; padding-block: 12px; }
  .home-view .entry-art .icon { width: 30px; height: 32px; margin-bottom: 6px; }
  .home-view .entry-card p { font-size: .9375rem; }
  .home-view .welcome-row { margin-top: 14px; }
  .home-view .welcome-bubble { padding: 11px 13px; }
  .home-view .welcome-bubble h3, .home-view .welcome-bubble p { font-size: 1rem; }
  .home-view .welcome-bubble .desktop-br { display: none; }
  .home-view .resume-investigation { margin-left: 50px; }
  .home-view .home-bottom { padding-top: 12px; }
}
