/* Final desktop button: independent of JS and placement inside #gnav. */
@media (min-width: 960px) {
  /* Repeated ID intentionally outranks existing !important HERO rules,
     including the #gnav specificity inside :has(). Mobile CSS stays intact. */
  #body_wrap.hamuya-trial-page #header#header#header a.btn-hamu-booknow {
    background: #C8392A !important;
    color: #FFFFFF !important;
    border: 0 !important;
    box-sizing: border-box !important;
    width: 135px !important;
    min-width: 135px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-transform: none !important;
    transform: none !important;
    transition: background-color 200ms ease !important;
  }
  /* Match the existing header's transparent state, including open/focused menus. */
  #body_wrap.hamuya-trial-page.hamuya-header-ready.hamuya-header-over:not(.hamuya-header-interacting) #header#header#header:not(:has(#gnav :focus-visible)) a.btn-hamu-booknow {
    background: transparent !important;
    border: 1px solid #FFFFFF !important;
  }
  #body_wrap.hamuya-trial-page #header#header#header a.btn-hamu-booknow :is(span, .ttl) {
    color: inherit !important;
  }
  #body_wrap.hamuya-trial-page #header#header#header a.btn-hamu-booknow:hover {
    background: #B63226 !important;
  }
  #body_wrap.hamuya-trial-page.hamuya-header-ready.hamuya-header-over:not(.hamuya-header-interacting) #header#header#header:not(:has(#gnav :focus-visible)) a.btn-hamu-booknow:hover {
    background: rgba(255, 255, 255, 0.15) !important;
  }
  /* The arrow is now real link text, not a second generated arrow. */
  #body_wrap.hamuya-trial-page #header#header#header a.btn-hamu-booknow::after {
    content: none !important;
    display: none !important;
  }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) {
  #body_wrap.hamuya-trial-page #header#header#header a.btn-hamu-booknow {
    transition: none !important;
  }
}
