body.sre-app-mode {
  padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
}

body.sre-app-mode .site-menu-toggle {
  display: none !important;
}

body.sre-app-mode .mobile-booking-bar {
  bottom: calc(84px + env(safe-area-inset-bottom)) !important;
}

body.sre-app-mode .support-toggle,
body.sre-app-mode .scroll-top,
body.sre-app-mode #scrollTopBtn,
body.sre-app-mode .back-to-top {
  bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

body.sre-app-mode .sre-app-shell {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  z-index: 4900;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

body.sre-app-mode .sre-app-bar {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  width: 100%;
  max-width: 560px;
  height: calc(76px + env(safe-area-inset-bottom));
  min-height: calc(76px + env(safe-area-inset-bottom));
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 -16px 44px rgba(30, 25, 14, 0.16);
  backdrop-filter: blur(16px);
}

body.sre-app-mode .sre-app-bar__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
  height: 54px;
  min-height: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #3b3022;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.sre-app-mode .sre-app-bar__item i {
  font-size: 19px;
  line-height: 1;
}

body.sre-app-mode .sre-app-bar__item span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sre-app-mode .sre-app-bar__item.is-active {
  background: linear-gradient(135deg, rgba(247, 233, 194, 0.95), rgba(225, 190, 91, 0.92));
  color: #7b5a14;
  box-shadow: 0 8px 18px rgba(198, 165, 92, 0.18);
  transform: none;
}

body.sre-app-mode .sre-app-sheet {
  position: fixed;
  inset: 0;
  z-index: 4895;
  display: none;
}

body.sre-app-mode .sre-app-sheet.is-open {
  display: block;
}

body.sre-app-mode .sre-app-sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 13, 0.34);
}

body.sre-app-mode .sre-app-sheet__panel {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 24px;
  background: #fffdf7;
  box-shadow: 0 24px 70px rgba(20, 18, 12, 0.24);
}

body.sre-app-mode .sre-app-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.sre-app-mode .sre-app-sheet__title {
  margin: 0;
  color: #2f281d;
  font-size: 18px;
  font-weight: 900;
}

body.sre-app-mode .sre-app-sheet__close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 999px;
  background: #fffaf0;
  color: #6a5327;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

body.sre-app-mode .sre-app-sheet__list {
  display: grid;
  gap: 9px;
}

body.sre-app-mode .sre-app-sheet__link,
body.sre-app-mode .sre-app-favorite-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(198, 165, 92, 0.18);
  border-radius: 16px;
  background: #fff;
  color: #2f281d;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body.sre-app-mode .sre-app-sheet__link i,
body.sre-app-mode .sre-app-favorite-row i {
  width: 22px;
  color: #9b7624;
  font-size: 18px;
  text-align: center;
}

body.sre-app-mode .sre-app-sheet__note {
  margin: 6px 0 14px;
  color: #756b5f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

body.sre-app-mode .sre-app-favorite-row img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  background: #f4ead0;
}

body.sre-app-mode .sre-app-favorite-row__body {
  min-width: 0;
}

body.sre-app-mode .sre-app-favorite-row__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sre-app-mode .sre-app-favorite-row__meta {
  margin-top: 3px;
  color: #756b5f;
  font-size: 12px;
  font-weight: 700;
}
