/*
 * v14 — brand system and mobile reading polish.
 * The approved mascot face is used as the identity without a heavy outer frame.
 */

.p16-brand-character {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.72rem;
  object-fit: cover;
}

.p5-brand-face {
  width: 2.7rem;
  height: 2.7rem;
  overflow: hidden;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0.72rem;
}

.p5-brand-type b {
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.p5-brand-type small {
  margin-bottom: 0.24rem;
  color: #65767e;
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.p5-desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.p16-nav-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.58;
  transition: opacity 180ms ease, transform 180ms ease;
}

.p5-desktop-nav a:hover .p16-nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

.p5-mobile-menu nav a > span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: #0c2233;
  background: #fff;
  border: 1px solid rgba(12, 34, 51, 0.12);
  border-radius: 0.6rem;
}

.p5-mobile-menu nav a > span .p16-nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.82;
}

.p8-guide-site .p7-guide-hero dt {
  color: #9c4f37;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.p8-guide-site .p7-guide-hero dd {
  color: #455a63;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .p5-desktop-nav a {
    gap: 0.28rem;
  }

  .p16-nav-icon {
    display: none;
  }
}

@media (max-width: 720px) {
  .p8-guide-site .p7-guide-hero dl > div {
    min-height: 58px;
    padding: 0.8rem 0.15rem;
    grid-template-columns: 5.8rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
  }

  .p8-guide-site .p7-guide-hero dt {
    font-size: 0.75rem;
  }

  .p8-guide-site .p7-guide-hero dd {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .p5-brand {
    gap: 0.55rem;
  }

  .p5-brand-face {
    width: 2.25rem;
    height: 2.25rem;
  }

  .p5-brand-type b {
    font-size: 0.76rem;
  }

  .p5-brand-type small {
    font-size: 0.48rem;
  }
}
