:root {
  font-family: "Noto Sans JP", sans-serif;
  color: #2a2a2a;
  background: #f2f2f2;
  font-synthesis: none;
  --area-color: #df0004;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f2f2f2;
}

button, a { font: inherit; }
button { color: inherit; cursor: pointer; }

.page {
  width: min(100%, 407px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 20px;
  background: #fff;
}

.hero {
  display: grid;
  gap: 16px;
}

.hero h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.hero h1 img { width: 32px; height: 26px; }

.outline-button {
  width: 100%;
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: 1px solid #cacaca;
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
}

.outline-button img { width: 19px; height: 19px; }

.selection {
  margin-top: 32px;
  display: grid;
  gap: 32px;
}

.block, .calendar-section { display: grid; gap: 28px; }

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
}

.section-title span {
  height: 2px;
  background: #2a2a2a;
}

.cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 8px;
}

.city-osaka { grid-column: 1 / -1; }
.city h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 18px;
  line-height: 32px;
}

.store-button {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
}

.city-osaka .store-button.active {
  height: 48px;
  min-height: 48px;
  padding: 8px 8px 16px;
  color: white;
  background: transparent;
  letter-spacing: normal;
}

.city-button {
  position: relative;
  z-index: 0;
  height: 48px;
  min-height: 48px;
  padding: 8px 8px 16px;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.city-button::before,
.city-button::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}
.city-button::before {
  top: 0;
  height: 40px;
  z-index: -1;
  border-radius: 5px;
  background: #efefef;
}
.city-button::after {
  bottom: 0;
  height: 4px;
  border-radius: 5px;
  background: var(--city-color);
}
.city-button.active {
  min-height: 48px;
  padding: 8px 8px 16px;
  color: #fff;
  background: transparent;
  letter-spacing: normal;
}
.city-button.active::before {
  background: var(--city-color);
}
.city-button.osaka.active {
  height: 48px;
  min-height: 48px;
  padding: 8px 8px 16px;
  color: #fff;
  background: transparent;
  letter-spacing: normal;
}
.city-button.osaka.active::before,
.city-button.osaka.active::after {
  display: block;
}
.osaka { --city-color: #df0004; }
.kyoto { --city-color: #6f18cd; }
.kobe { --city-color: #42c295; }
.nagoya { --city-color: #c9a100; }

.room-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-button {
  min-height: 94px;
  padding: 16px 20px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  border-radius: 5px;
  background: #efefef;
  font-size: 16px;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease;
}

.room-button.active { color: white; background: var(--area-color); }
.room-icons {
  min-height: 34px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 8px;
}
.room-icons img {
  max-height: 33px;
  filter: brightness(0) saturate(100%) invert(14%);
  transition: filter 160ms ease;
}
.room-button.active .room-icons img {
  filter: brightness(0) saturate(100%) invert(1);
}
.room-block { gap: 24px; }

.room-block[hidden],
.area-room-info-button[hidden] {
  display: none;
}

.area-room-info-button {
  width: 100%;
}

.calendar-section {
  margin-top: 48px;
  margin-bottom: 48px;
  gap: 24px;
}

.calendar { display: grid; gap: 8px; }
.calendar-head {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
}

.calendar-head div { display: flex; justify-content: center; gap: 8px; }
.calendar-head strong { font: 700 24px/48px "Noto Sans JP", sans-serif; }
.calendar-head button {
  width: 56px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--area-color);
  font-size: 0;
}
.calendar-head button::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-5-5 5 5-5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}
#previous-month::before {
  transform: rotate(180deg);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(var(--calendar-rows, 6), 61.29px);
}

.calendar-day {
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 40px;
}

.calendar-day.header { cursor: default; }
.calendar-day.outside {
  color: #2a2a2a;
  background: #e9e9e9;
}
.calendar-day:not(.header) {
  border-right: 1.2px solid #afafaf;
  border-bottom: 1.2px solid #afafaf;
}
.calendar-day:nth-child(7n + 1):not(.header) { border-left: 1.2px solid #afafaf; }
.calendar-day:nth-child(n + 8):nth-child(-n + 14) { border-top: 1.2px solid #afafaf; }
.calendar-day.selected {
  color: #fff;
  background: var(--area-color);
}

.availability {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.availability-head {
  display: grid;
  grid-template-columns: 1fr 64px 64px;
  gap: 8px;
  min-height: 64px;
}

.location-title {
  display: grid;
  place-items: center;
  padding: 8px 14px;
  color: #fff;
  border-radius: 5px;
  background: var(--area-color);
  font-size: 20px;
  font-weight: 700;
}

.size-tab {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 3.43px solid #d2d2d2;
  border-radius: 4.5px;
  color: #d2d2d2;
  background: #fff;
  font-weight: 700;
}
.size-tab-top {
  position: absolute;
  top: 4.86px;
  left: 8.79px;
  width: 46px;
  font-size: 14.14px;
  line-height: 25.14px;
  letter-spacing: -.05em;
  text-align: left;
}
.size-tab-top b {
  font-size: 16.5px;
}
.size-tab-bottom {
  position: absolute;
  top: 21.35px;
  left: 8px;
  width: 48px;
  font-size: 23.57px;
  line-height: 41.89px;
  text-align: left;
}
.size-tab.active {
  color: #fff;
  border: 0;
  background: var(--area-color);
}

.date-controls {
  position: sticky;
  top: 0;
  z-index: 10;
  align-self: start;
  display: grid;
  gap: 4px;
  padding-block: 8px;
  background: #fff;
}

.selected-date {
  padding: 8px 23px;
  border-radius: 5px;
  background: #e9e9e9;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.date-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.date-nav button {
  min-height: 48px;
  padding: 8px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border: 0;
  border-radius: 5px;
  background: #e9e9e9;
  font-size: 14px;
  font-weight: 700;
}
.date-nav img { width: 6px; height: 10px; }

.availability-head {
  scroll-margin-top: 112px;
}

.schedule {
  position: relative;
  height: 826px;
  display: grid;
  grid-template-columns: 61px 1fr;
  gap: 8px;
  overflow: hidden;
}

.schedule-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 700;
}
.schedule-loading[hidden] { display: none; }
.schedule.is-loading .time-axis,
.schedule.is-loading .store-columns {
  visibility: hidden;
}
.schedule-loading::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 3px solid #e6e6e6;
  border-top-color: var(--area-color);
  border-radius: 50%;
  animation: schedule-spin 700ms linear infinite;
}

@keyframes schedule-spin {
  to { transform: rotate(360deg); }
}

.schedule-error {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.schedule-error[hidden] { display: none; }
.schedule-error button {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--area-color);
  font-weight: 700;
}

.time-axis {
  padding-top: 58px;
  display: grid;
  grid-template-rows: repeat(24, 32px);
}

.time-axis span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 8px;
  border-bottom: 1px solid #c5c5c5;
  color: #555;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}
.time-axis span:nth-child(odd) { background: #f2f2f2; }
.time-axis span:nth-child(even) { background: #fff; }

.store-columns {
  display: grid;
  grid-template-columns: repeat(var(--store-count, 4), 1fr);
  gap: 8px;
}

.store-columns.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.store-column {
  display: grid;
  grid-template-rows: 58px repeat(48, 16px);
}

.store-name {
  align-self: start;
  padding: 8px 0 10px;
  text-align: center;
  border-bottom: 4px solid var(--store-color);
  font-size: 16px;
  font-weight: 700;
}

.slot {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid var(--line-color);
}
.slot.half-hour {
  border-bottom-style: dashed;
  border-bottom-color: var(--dash-color);
}
.slot.full::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  background: var(--full-color);
  z-index: 1;
}
.slot.full.continues::after {
  top: -2px;
}
.slot.run-start {
  z-index: 2;
}
.full-mark {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--run-length) * 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.contact-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 20px;
  font-weight: 700;
}
.contact-title span { font-size: 10px; }

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.contact-buttons a {
  padding: 8px 0;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.availability-head.area-single {
  grid-template-columns: 1fr;
  min-height: 40px;
}

.availability-head .size-tab[hidden],
.contact-title[hidden],
.contact-buttons a[hidden] {
  display: none;
}

.contact-buttons.single {
  grid-template-columns: 1fr;
}

.contact-buttons a.area-contact {
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  white-space: pre-line;
  background: var(--area-contact-color);
  box-shadow: 0 4px var(--area-contact-shadow);
}

.contact-buttons a.area-contact::before {
  content: "☎";
  font-size: 22px;
  line-height: 1;
}
.umeda { background: #df0004; box-shadow: 0 4px #ad0000; }
.juso { background: #5fb7cf; box-shadow: 0 4px #38798b; }
.tenroku { background: #ee8d1e; box-shadow: 0 4px #995c16; }
.namba { background: #249242; box-shadow: 0 4px #1f6131; }

.info-dialog {
  width: min(826px, calc(100% - 40px));
  max-height: 90vh;
  padding: 0 19px;
  border: 0;
  border-radius: 5px;
  outline: none;
  color: #2a2a2a;
  background: #fff;
  box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}

.info-dialog::backdrop {
  background: rgb(0 0 0 / 42%);
}

.contact-dialog {
  width: min(335px, calc(100% - 32px));
  padding: 0 18px;
}

.contact-dialog .dialog-inner {
  padding: 32px 0;
  gap: 24px;
}

.contact-store-name {
  width: 100%;
  margin: 0;
  white-space: pre-line;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
}

.contact-phone,
.contact-mail {
  width: 299px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.contact-phone {
  padding: 8px 40px;
  background: var(--contact-color, #df0004);
  box-shadow: 0 5px 0 var(--contact-shadow, #b91d1d);
  font-size: 24px;
  line-height: 24px;
}

.contact-phone img {
  width: 22px;
  height: 22px;
}

.contact-mail {
  padding: 8px 24px;
  background: #474747;
  box-shadow: 0 5px 0 #2a2a2a;
  font-size: 16px;
  line-height: 24px;
}

.contact-mail img {
  width: 24px;
  height: 17px;
}

.business-hours {
  width: 299px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.business-hours h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 24px;
}

.business-hours h4 img {
  width: 21px;
  height: 21px;
}

.business-hours > div {
  width: 100%;
  display: grid;
}

.business-hours-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 42% 58%;
  background: #ededed;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.business-hours-row span {
  padding: 4px 12px;
  border: 1px solid #d2d2d2;
}

.business-hours-row span:last-child {
  text-align: right;
  font-size: 16px;
}

.business-hours-row.single {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 12px;
}

.business-hours p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.dialog-inner {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.dialog-header {
  width: 100%;
}

.dialog-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 32px;
}

.dialog-header span {
  height: 2px;
  display: block;
  margin-top: 2px;
  background: #e6e6e6;
}

.availability-notes {
  width: 100%;
  display: grid;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.availability-notes ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.availability-notes li {
  padding-left: 18px;
  text-align: justify;
}

.availability-notes li::before {
  content: "-";
  margin-left: -18px;
  margin-right: 10px;
}

.availability-notes p {
  margin: 0;
  color: #f00;
  font-weight: 700;
  text-align: justify;
}

.dialog-close {
  width: 96px;
  height: 32px;
  padding: 4px 16px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #2a2a2a;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity 160ms ease;
}

.room-dialog .dialog-inner {
  padding: 64px 0;
  gap: 32px;
}

.room-introduction {
  display: grid;
  justify-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.room-introduction p {
  margin: 0;
  text-align: justify;
}

.room-store-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.room-store-tabs button {
  min-width: 0;
  height: 32px;
  padding: 4px;
  border: 1px solid #d2d2d2;
  border-radius: 5px;
  color: #515151;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.room-store-tabs button.active {
  border-color: var(--room-store-color, #df0004);
  color: #fff;
  background: var(--room-store-color, #df0004);
}

.room-store-tabs[hidden] {
  display: none;
}

.contact-form-link {
  width: 240px;
  height: 40px;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  color: #fff;
  background: #2a2a2a;
  text-decoration: none;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.contact-form-link img {
  width: 5px;
  height: 10px;
}

.contact-form-link:hover,
.dialog-close:hover {
  opacity: .82;
}

.contact-form-link:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid #df0004;
  outline-offset: 3px;
}

.room-guide {
  width: 100%;
  display: grid;
  gap: 16px;
}

.room-guide h3 {
  min-height: 40px;
  margin: 0;
  padding: 8px;
  border-radius: 5px;
  color: #fff;
  background: var(--room-store-color, #df0004);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.studio-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #515151;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.studio-label span {
  height: 2px;
  background: #515151;
}

.room-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-photo-grid.single {
  grid-template-columns: 1fr;
}

.room-photo-grid.triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.room-photo-grid.triple figcaption {
  height: auto;
  min-height: 44px;
  flex-direction: column;
  gap: 1px;
  padding: 4px 2px;
  font-size: 11px;
  line-height: 13px;
  text-align: center;
}

.room-photo-grid.triple figcaption img {
  height: 14px;
}

.room-photo-grid figure {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.room-photo-grid figure[hidden] {
  display: none;
}

.room-photo-grid figcaption {
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  color: #fff;
  background: #515151;
  font-size: 14px;
  font-weight: 700;
}

.room-photo-grid figcaption img {
  width: auto;
  max-width: 18px;
  height: 21px;
  object-fit: contain;
}

.room-photo-grid figure > img,
.booth-photos img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.booth-photos {
  display: grid;
  gap: 8px;
}

.booth-photos.pair {
  grid-template-columns: 1fr 1fr;
}

.room-photo-grid.sound-pair {
  grid-template-columns: 1fr;
}

.room-photo-grid.sound-pair #large-extra { order: 1; }
.room-photo-grid.sound-pair #large-booth { order: 2; }
.room-photo-grid.sound-pair #large-control { order: 3; }

.room-photo-grid.sound-pair #large-extra {
  width: calc(50% - 4px);
  justify-self: center;
}

.large-room-photo {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
}

.large-room-photo > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  color: #fff;
  background: #515151;
  font-size: 14px;
}

.large-room-photo > div img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.large-room-photo > div strong {
  white-space: pre-line;
  line-height: 16px;
  text-align: center;
}

.large-room-photo > img {
  width: 100%;
  aspect-ratio: 2.23;
  object-fit: cover;
}

.room-description {
  margin: 0;
  padding: 8px 16px;
  color: #1f1f1f;
  background: var(--room-description-color, #ffe5e5);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: justify;
  white-space: pre-line;
}

.room-guide h3[hidden],
.room-guide[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .compact-dialog {
    width: min(335px, calc(100% - 32px));
  }

  .room-dialog {
    width: min(375px, calc(100% - 24px));
  }
}

@media (min-width: 768px) {
  .contact-dialog {
    width: min(560px, calc(100vw - 64px));
    padding-inline: 40px;
  }

  .contact-dialog .dialog-inner {
    width: 100%;
  }

  .contact-dialog .contact-phone,
  .contact-dialog .contact-mail,
  .contact-dialog .business-hours {
    width: 100%;
  }

  .page {
    width: min(100%, 880px);
    padding: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    row-gap: 64px;
    box-shadow: 0 0 30px rgb(0 0 0 / 8%);
  }

  .hero {
    grid-column: 1 / -1;
    justify-items: center;
    gap: 36px;
    margin: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .outline-button {
    width: 335px;
  }

  .selection {
    grid-column: 1;
    align-self: start;
    margin: 0;
    gap: 32px;
  }

  .calendar-section {
    grid-column: 2;
    align-self: start;
    margin-top: 0;
    margin-bottom: 0;
  }

  .calendar-section .calendar {
    padding-inline: 24px;
  }

  .calendar-grid {
    grid-template-rows: repeat(var(--calendar-rows, 6), 47.86px);
  }

  .room-button {
    border-radius: 10px;
  }

  .availability {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr 335px 1fr 1fr;
    gap: 40px 12px;
  }

  .availability.area-single {
    row-gap: 16px;
  }

  .date-controls {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: 1fr 1fr 335px 1fr 1fr;
    gap: 12px;
  }

  .date-controls .date-nav {
    display: contents;
  }

  .date-nav button {
    min-height: 48px;
    font-size: 16px;
  }

  .date-nav button:nth-child(1) { grid-area: 1 / 1; }
  .date-nav button:nth-child(2) { grid-area: 1 / 2; }
  .date-nav button:nth-child(3) { grid-area: 1 / 4; }
  .date-nav button:nth-child(4) { grid-area: 1 / 5; }

  .selected-date {
    grid-area: 1 / 3;
  }

  .availability-head {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-self: center;
    grid-template-columns: 1fr 64px 64px;
    scroll-margin-top: 72px;
  }

  .availability > .schedule {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-self: center;
    display: grid;
    grid-template-columns: 61px 1fr;
  }

  .availability.area-single > .area-room-info-button {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .availability.area-single > .schedule {
    grid-row: 4;
  }

  .availability.area-single > .contact-buttons {
    grid-row: 5;
  }

  .availability > .contact-title {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    justify-self: center;
  }

  .availability > .contact-buttons {
    grid-column: 1 / -1;
    grid-row: 5;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 359px) {
  .page {
    padding-inline: 12px;
  }

  .hero h1 {
    font-size: 21px;
  }

  .section-title {
    font-size: 21px;
  }

  .room-button {
    padding-inline: 8px;
  }

  .room-icons {
    gap: 4px;
  }

  .date-nav button {
    font-size: 12px;
  }
}

/* Motion */
@keyframes content-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dialog-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}

@keyframes backdrop-enter {
  from { background: rgb(0 0 0 / 0%); }
  to { background: rgb(0 0 0 / 42%); }
}

.hero,
.selection,
.calendar-section,
.availability {
  opacity: 0;
  animation: content-enter 420ms cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero { animation-delay: 50ms; }
.selection { animation-delay: 100ms; }
.calendar-section { animation-delay: 150ms; }
.availability { animation-delay: 200ms; }

button,
a,
.calendar-day,
.store-column {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    transform 160ms cubic-bezier(.2, .8, .2, 1),
    filter 160ms ease;
}

button:not(:disabled):hover,
a:hover {
  transform: translateY(-1px);
}

button:not(:disabled):active,
a:active {
  transform: translateY(1px) scale(.985);
  transition-duration: 70ms;
}

.outline-button:hover,
.date-nav button:hover {
  border-color: #2a2a2a;
  background: #f7f7f7;
}

.calendar-head button:hover {
  background: var(--area-color);
  filter: brightness(.88);
}

.city-button:hover::before {
  filter: brightness(.97);
}

.room-button:hover {
  filter: brightness(.98);
}

.calendar-day:not(.header):hover {
  position: relative;
  z-index: 1;
  background: #f4f4f4;
  box-shadow: inset 0 0 0 2px rgb(223 0 4 / 22%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--area-color) 22%, transparent);
}

.calendar-day.selected:hover {
  background: var(--area-color);
  filter: brightness(.94);
}

.contact-phone:hover,
.contact-mail:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.contact-phone:active,
.contact-mail:active {
  transform: translateY(3px) scale(.99);
  box-shadow: none;
}

.contact-buttons a:hover {
  filter: brightness(1.08);
}

.store-column {
  animation: content-enter 260ms cubic-bezier(.2, .8, .2, 1) both;
}

.store-column:nth-child(2) { animation-delay: 35ms; }
.store-column:nth-child(3) { animation-delay: 70ms; }
.store-column:nth-child(4) { animation-delay: 105ms; }

.info-dialog[open] {
  animation: dialog-enter 240ms cubic-bezier(.2, .8, .2, 1);
}

.info-dialog[open]::backdrop {
  animation: backdrop-enter 220ms ease-out;
}

.info-dialog.is-closing {
  pointer-events: none;
  animation: dialog-exit 160ms ease-in forwards;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
}
