/* Handheld Hideout · Mobile header and notice-board repair
   Separate, versioned stylesheet avoids stale browser copies of style.css.
   Desktop layout remains unchanged. */
@media screen and (max-width: 650px) {
  /* Use two rows: a full-width heading, then copy + the entire PSP. */
  .site-header .masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    grid-template-areas: "hh-title hh-title" "hh-tagline hh-psp";
    align-items: center;
    justify-items: stretch;
    gap: 12px 8px;
    padding-top: 18px;
    padding-bottom: 5px;
    min-width: 0;
  }
  .site-header .masthead > div:first-child { display: contents; }
  .site-header .masthead h1 {
    grid-area: hh-title;
    font-size: clamp(28px, 8.3vw, 39px);
    line-height: 1.05;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
  }
  .site-header .masthead .tag {
    grid-area: hh-tagline;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    min-width: 0;
    max-width: none;
  }
  .site-header .masthead .console-image {
    grid-area: hh-psp;
    display: flex;
    position: relative;
    justify-self: end;
    align-self: center;
    width: 108px;
    height: auto;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
    margin: 0;
    padding: 0;
    transform: rotate(3deg);
    overflow: visible;
  }
  .site-header .masthead .console-image .psp-decor,
  .site-header .masthead .console-image .header-psp {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Label in its own row instead of covering the text. */
  .ticker {
    display: block;
    padding: 11px 14px 12px;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }
  .ticker b {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 3px 8px;
    line-height: 1.35;
    white-space: nowrap;
  }
}
