.site-shell-header,
.site-shell-footer {
  color: #173d2c;
  font-family: inherit;
}

a[href],
button:not(:disabled),
summary {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.site-shell-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #eadcc5;
  background: #f7efe1;
}

.site-shell-header__inner,
.site-shell-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-shell-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-shell-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
}

.site-shell-logo img {
  display: block;
  width: 155px;
  height: auto;
}

.site-shell-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-shell-header a,
.site-shell-footer a,
.site-shell-header summary {
  color: inherit;
  text-decoration: none;
}

.site-shell-nav > a,
.site-shell-games > summary {
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.site-shell-games {
  position: relative;
}

.site-shell-games > summary,
.site-shell-mobile > summary {
  cursor: pointer;
  list-style: none;
}

.site-shell-games > summary {
  display: inline-flex;
  align-items: center;
}

.site-shell-games > summary::marker,
.site-shell-mobile > summary::marker {
  content: "";
}

.site-shell-games > summary::-webkit-details-marker,
.site-shell-mobile > summary::-webkit-details-marker {
  display: none;
}

.site-shell-games > summary::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.site-shell-games[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.site-shell-nav > a,
.site-shell-games > summary,
.site-shell-mobile > summary,
.site-shell-footer__nav a {
  transition: color .15s ease;
}

.site-shell-nav > a:hover,
.site-shell-games > summary:hover,
.site-shell-mobile > summary:hover,
.site-shell-footer__nav a:hover {
  color: #a94c43;
}

.site-shell-logo:hover {
  opacity: .82;
}

.site-shell-games__list {
  position: absolute;
  top: calc(100% + 16px);
  left: -18px;
  z-index: 101;
  display: grid;
  width: min(325px, calc(100vw - 40px));
  padding: 9px;
  border: 1px solid #eadcc5;
  border-radius: 12px;
  background: #fffaf1;
  box-shadow: 0 14px 28px rgba(48, 45, 35, .12);
}

.site-shell-games__list a,
.site-shell-mobile__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.site-shell-games__list a:hover,
.site-shell-mobile__panel a:hover {
  background: #f1e4ce;
}

.site-shell-shop {
  flex: none;
  padding: 11px 16px;
  border: 1px solid #d9c7aa;
  border-radius: 999px;
  background: #fffaf1;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-shell-shop:hover {
  background: #fff;
}

.site-shell-header a:focus-visible,
.site-shell-header summary:focus-visible,
.site-shell-footer a:focus-visible {
  outline: 3px solid #a94c43;
  outline-offset: 3px;
}

.site-shell-mobile {
  display: none;
}

.site-shell-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 40px 0 44px;
  border-top: 1px solid #eadcc5;
  background: #f7efe1;
  text-align: left;
}

.site-shell-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-shell-footer .site-shell-logo img {
  width: 142px;
  max-width: none;
  opacity: 1;
}

.site-shell-footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-shell-footer__nav a {
  font-size: 13px;
  font-weight: 750;
}

.site-shell-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: #76695e;
  font: 14px/1.4 Georgia, serif;
}

.site-shell-footer__bottom p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-shell-header__inner {
    min-height: 68px;
    gap: 20px;
  }

  .site-shell-nav {
    gap: 18px;
  }

  .site-shell-logo img {
    width: 132px;
  }

  .site-shell-shop {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .site-shell-header__inner,
  .site-shell-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .site-shell-header__inner {
    min-height: 64px;
    justify-content: space-between;
  }

  .site-shell-header .site-shell-logo img {
    width: 128px;
  }

  .site-shell-nav,
  .site-shell-header__inner > .site-shell-shop {
    display: none;
  }

  .site-shell-mobile {
    display: block;
  }

  .site-shell-mobile > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 9px;
    font-size: 14px;
    font-weight: 800;
  }

  .site-shell-menu-icon,
  .site-shell-menu-icon::before,
  .site-shell-menu-icon::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
  }

  .site-shell-menu-icon {
    position: relative;
  }

  .site-shell-menu-icon::before,
  .site-shell-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .site-shell-menu-icon::before { top: -6px; }
  .site-shell-menu-icon::after { top: 6px; }

  .site-shell-mobile__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 10px 12px 18px;
    border-bottom: 1px solid #eadcc5;
    background: #fffaf1;
    box-shadow: 0 14px 28px rgba(48, 45, 35, .12);
  }

  .site-shell-mobile__label {
    margin: 12px 12px 3px;
    color: #76695e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .site-shell-mobile__games {
    padding-left: 10px;
    border-left: 1px solid #eadcc5;
  }

  .site-shell-footer {
    padding: 32px 0 34px;
    text-align: center;
  }

  .site-shell-footer__top,
  .site-shell-footer__bottom {
    flex-direction: column;
    align-items: center;
  }

  .site-shell-footer__nav {
    justify-content: center;
  }

  .site-shell-footer__bottom {
    margin-top: 18px;
  }
}
