/* 4detki.ru — shared site shell 1.51.0 */
:root {
  --site-shell-max: 1240px;
  --site-shell-ink: #071438;
  --site-shell-muted: #35517e;
  --site-shell-pink: #f40061;
  --site-shell-line: #dce8f4;
  --site-shell-soft: #f5faff;
  --site-shell-shadow: 0 12px 34px rgba(34, 77, 125, 0.08);
}

html body[data-site-shell-root] [hidden] {
  display: none !important;
}

html body[data-site-shell-root] :is(
  .home-web-v1,
  .stories-main,
  .cc-main,
  .portal-main
) {
  --home-web-max: var(--site-shell-max);
  --portal-max: var(--site-shell-max);
  --cc-shell: var(--site-shell-max);
}

/* One desktop content width for current catalog families. */
@media (min-width: 721px) {
  html body.home-page-v3[data-site-shell-root] .container,
  html body.stories-catalog-v5[data-site-shell-root] .stories-shell,
  html body.colorings-catalog-v2[data-site-shell-root] .cc-shell,
  html body.portal-page-v2[data-site-shell-root] .portal-shell {
    width: min(var(--site-shell-max), calc(100% - 40px));
    margin-inline: auto;
  }
}

/* Shared header frame. Section modules keep only their own second-row links. */
html body[data-site-shell-root] [data-site-shell-header] {
  z-index: 90;
  overflow: visible;
  color: var(--site-shell-ink);
  border: 1px solid rgba(218, 231, 243, 0.94);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(35, 74, 119, 0.08);
  backdrop-filter: blur(20px);
}

@media (min-width: 721px) {
  html body[data-site-shell-root] [data-site-shell-header] {
    position: sticky;
    top: 0;
    width: min(var(--site-shell-max), calc(100% - 40px));
    margin: 12px auto 0;
    padding: 0;
  }

  html body[data-site-shell-root] .portal-header-v2[data-site-shell-header] > .portal-shell {
    width: 100%;
  }
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .site-header__inner,
  .stories-header__inner,
  .cc-header__inner,
  .portal-header-v2__main,
  .portal-header__inner
) {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 0 12px 0 16px;
  border: 0;
  border-radius: 19px 19px 0 0;
  background: transparent;
  box-shadow: none;
}

html body[data-site-shell-root] [data-site-shell-header]:not(:has(:is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
))) :is(
  .site-header__inner,
  .stories-header__inner,
  .cc-header__inner,
  .portal-header-v2__main,
  .portal-header__inner
) {
  border-radius: 19px;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .brand,
  .stories-brand,
  .cc-brand,
  .portal-brand-v2,
  .portal-brand
) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--site-shell-ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 1;
  text-decoration: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .brand__mark,
  .stories-brand__mark,
  .cc-brand__mark,
  .portal-brand-v2__mark,
  .portal-brand__mark
) {
  width: 55px;
  height: 55px;
  display: grid;
  flex: 0 0 55px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #ff0870, #ea0058);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
  transform: none;
}

html body[data-site-shell-root] [data-site-shell-header] .brand__dot {
  color: inherit;
}

html body[data-site-shell-root] [data-site-shell-primary] {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0px, 0.7vw, 9px);
  margin: 0;
}

html body[data-site-shell-root] [data-site-shell-primary] > a {
  padding: 10px clamp(7px, 0.8vw, 13px);
  border-radius: 11px;
  color: var(--site-shell-ink);
  background: transparent;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

html body[data-site-shell-root] [data-site-shell-primary] > a:hover,
html body[data-site-shell-root] [data-site-shell-primary] > a:focus-visible,
html body[data-site-shell-root] [data-site-shell-primary] > a[aria-current="page"] {
  color: var(--site-shell-pink);
  background: #fff0f6;
}

html body[data-site-shell-root] [data-site-shell-primary] > .main-nav__search {
  display: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .home-web-header-actions,
  .stories-header__actions,
  .cc-header__actions,
  .portal-header-actions,
  .site-shell-actions
) {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .home-web-header-button,
  .stories-icon-button,
  .stories-menu-button,
  .cc-icon-button,
  .cc-menu-button,
  .portal-icon-button,
  .portal-menu-button,
  .site-shell-action
) {
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #e0eaf4;
  border-radius: 14px;
  color: var(--site-shell-ink);
  background: #f5f9fd;
  box-shadow: none;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .home-web-header-button,
  .stories-icon-button,
  .stories-menu-button,
  .cc-icon-button,
  .cc-menu-button,
  .portal-icon-button,
  .portal-menu-button,
  .site-shell-action
) svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .home-web-header-button--search,
  .stories-icon-button,
  .cc-icon-button,
  .portal-icon-button,
  .site-shell-action--search
) {
  width: 56px;
  padding: 0;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
) {
  width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #e3edf6;
  border-radius: 0 0 19px 19px;
  background: rgba(246, 251, 255, 0.96);
  box-shadow: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav__scroll,
  .stories-subnav__scroll,
  .cc-subnav__scroll,
  .portal-subnav
) {
  width: 100%;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 4px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav__scroll,
  .stories-subnav__scroll,
  .cc-subnav__scroll,
  .portal-subnav
)::-webkit-scrollbar {
  display: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
) :is(a, button) {
  position: relative;
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 7px clamp(10px, 1.1vw, 17px);
  border: 0;
  border-radius: 10px;
  color: #234575;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.74rem, 0.95vw, 0.88rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
) :is(a, button):is(:hover, :focus-visible, [aria-current="page"], [aria-pressed="true"]) {
  color: var(--site-shell-pink);
  background: #fff0f6;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
) :is(a, button)::after {
  display: none;
}

html body[data-site-shell-root] [data-site-shell-header] :is(
  .catalog-nav,
  .stories-subnav,
  .cc-subnav,
  .portal-subnav
) :is(a, button) + :is(a, button)::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  display: block;
  content: "";
  background: #cfe0ee;
}

/* Shared first-screen frame. Artwork and copy remain section-owned. */
@media (min-width: 721px) {
  html body[data-site-shell-root] [data-site-shell-hero-layout] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  html body[data-site-shell-root] [data-site-shell-hero-layout][data-site-ad-active="true"] {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  html body[data-site-shell-root] [data-site-shell-hero-card],
  html body[data-site-shell-root] [data-site-shell-hero-ad] {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--site-shell-line);
    border-radius: 24px;
    box-shadow: var(--site-shell-shadow);
  }

  html body[data-site-shell-root] [data-site-shell-hero-ad] {
    position: relative;
    background: linear-gradient(145deg, #fff3f8, #e4f7ff);
  }

  html body[data-site-shell-root] [data-site-shell-hero-ad] :is(iframe, img) {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    border: 0;
    object-fit: cover;
  }
}

@media (min-width: 721px) and (max-width: 1120px) {
  html body[data-site-shell-root] [data-site-shell-primary] {
    display: none;
  }

  html body[data-site-shell-root] [data-site-shell-hero-layout][data-site-ad-active="true"] {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  html body[data-site-shell-root] [data-site-shell-hero-layout][data-site-ad-active="true"] {
    grid-template-columns: minmax(0, 1fr);
  }

  html body[data-site-shell-root] [data-site-shell-hero-ad] {
    min-height: 180px;
  }

  html body[data-site-shell-root] [data-site-shell-hero-ad] :is(iframe, img) {
    min-height: 180px;
  }
}

/* Mobile header scrolls with the page; the approved bottom dock stays in charge. */
@media (max-width: 720px) {
  html body[data-site-shell-root] [data-site-shell-header] {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(16px);
  }

  html body[data-site-shell-root] .portal-header-v2[data-site-shell-header] > .portal-shell {
    width: 100%;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .site-header__inner,
    .stories-header__inner,
    .cc-header__inner,
    .portal-header-v2__main,
    .portal-header__inner
  ) {
    min-height: 64px;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 0;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .brand,
    .stories-brand,
    .cc-brand,
    .portal-brand-v2,
    .portal-brand
  ) {
    gap: 9px;
    font-size: 1.42rem;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .brand__mark,
    .stories-brand__mark,
    .cc-brand__mark,
    .portal-brand-v2__mark,
    .portal-brand__mark
  ) {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 11px;
    font-size: 1.8rem;
  }

  html body[data-site-shell-root] [data-site-shell-primary],
  html body[data-site-shell-root] [data-site-shell-header] :is(
    .catalog-nav,
    .stories-subnav,
    .cc-subnav,
    .portal-subnav
  ) {
    display: none;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .home-web-header-button,
    .stories-icon-button,
    .stories-menu-button,
    .cc-icon-button,
    .cc-menu-button,
    .portal-icon-button,
    .portal-menu-button,
    .site-shell-action
  ) {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .home-web-header-actions,
    .stories-header__actions,
    .cc-header__actions,
    .portal-header-actions,
    .site-shell-actions
  ) {
    display: flex !important;
  }

  html body[data-site-shell-root] [data-site-shell-header] .home-web-menu:not([hidden]) {
    display: block !important;
  }

  html body[data-site-shell-root] [data-site-shell-header] :is(
    .home-web-header-button,
    .stories-menu-button,
    .cc-menu-button,
    .portal-menu-button,
    .site-shell-action--menu
  ) > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  html body[data-site-shell-root] [data-site-shell-hero-layout] {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Drawer used only on legacy pages that did not yet have a menu action. */
.site-shell-menu {
  position: fixed;
  z-index: 140;
  inset: 0;
}

.site-shell-menu__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(6, 20, 52, 0.34);
  backdrop-filter: blur(5px);
}

.site-shell-menu__panel {
  position: absolute;
  top: 84px;
  right: max(16px, calc((100vw - var(--site-shell-max)) / 2));
  width: min(430px, calc(100% - 24px));
  max-height: calc(100dvh - 100px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--site-shell-line);
  border-radius: 22px;
  color: var(--site-shell-ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 38, 75, 0.24);
}

.site-shell-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.site-shell-menu__head h2 {
  margin: 0;
  font-size: 1.55rem;
}

.site-shell-menu__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: inherit;
  background: #eff6fc;
  cursor: pointer;
  font-size: 1.65rem;
}

.site-shell-menu__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.site-shell-menu__nav a {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid #e1eaf4;
  border-radius: 14px;
  color: inherit;
  background: #f8fbff;
  text-decoration: none;
}

.site-shell-menu__nav a:hover,
.site-shell-menu__nav a:focus-visible {
  border-color: #ff9fc4;
  background: #fff5f9;
}

.site-shell-menu__nav strong {
  font-weight: 900;
}

.site-shell-menu__nav small {
  color: var(--site-shell-muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

body.site-shell-menu-open,
body.site-shell-search-open {
  overflow: hidden;
}

/* One footer component for every public template. */
.site-shell-footer {
  width: min(var(--site-shell-max), calc(100% - 40px));
  margin: 34px auto 0;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  color: #fff;
  background: #0b2d55;
  box-shadow: 0 -8px 30px rgba(23, 66, 107, 0.08);
}

.site-shell-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(150px, 0.75fr));
  gap: 38px;
  padding: 34px 40px 28px;
}

.site-shell-footer__about {
  max-width: 460px;
}

.site-shell-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.site-shell-footer__brand > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff0870, #ea0058);
  font-size: 1.85rem;
  font-weight: 950;
}

.site-shell-footer__about p {
  margin: 14px 0 0;
  color: #cfe1f2;
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-shell-footer :is(.site-shell-footer__sections, .site-shell-footer__service) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-shell-footer :is(.site-shell-footer__sections, .site-shell-footer__service) > strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.93rem;
}

.site-shell-footer :is(.site-shell-footer__sections, .site-shell-footer__service) > a {
  width: fit-content;
  color: #cfe1f2;
  font-size: 0.82rem;
  text-decoration: none;
}

.site-shell-footer :is(.site-shell-footer__sections, .site-shell-footer__service) > a:hover,
.site-shell-footer :is(.site-shell-footer__sections, .site-shell-footer__service) > a:focus-visible,
.site-shell-footer__bottom a:hover,
.site-shell-footer__bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.site-shell-footer__bottom {
  padding: 14px 40px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7cee3;
  font-size: 0.76rem;
}

.site-shell-footer__bottom a {
  color: #fff;
  text-decoration: none;
}

/* Canonical thin mobile dock: no active-state dot. */
.site-shell-mobile-dock {
  display: none;
}

/* Shared registry search opened from the mobile dock. */
.site-shell-search {
  position: fixed;
  z-index: 150;
  inset: 0;
}

.site-shell-search__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(6, 20, 52, 0.34);
  backdrop-filter: blur(5px);
}

.site-shell-search__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(620px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 32px));
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--site-shell-line);
  border-radius: 22px;
  color: var(--site-shell-ink);
  background: #fff;
  box-shadow: 0 26px 80px rgba(12, 38, 75, 0.26);
  transform: translate(-50%, -50%);
}

.site-shell-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.site-shell-search__head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.site-shell-search__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: inherit;
  background: #eff6fc;
  cursor: pointer;
  font-size: 1.65rem;
}

.site-shell-search__form {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid #cddff1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 83, 130, 0.09);
}

.site-shell-search__form > svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #5b78a5;
  stroke-linecap: round;
  stroke-width: 2.3;
}

.site-shell-search__form input {
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.site-shell-search__form button {
  min-width: 92px;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #ff0870, #ea0058);
  cursor: pointer;
  font-weight: 900;
}

.site-shell-search__status {
  margin: 11px 2px 7px;
  color: var(--site-shell-muted);
  font-size: 0.78rem;
}

.site-shell-search__results {
  display: grid;
  gap: 7px;
}

.site-shell-search__result {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border: 1px solid #e2ecf5;
  border-radius: 13px;
  color: inherit;
  background: #f8fbff;
  text-decoration: none;
}

.site-shell-search__result:hover,
.site-shell-search__result:focus-visible {
  border-color: #ff9fc4;
  background: #fff5f9;
}

.site-shell-search__result img,
.site-shell-search__result-art {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  object-fit: cover;
  color: #fff;
  background: linear-gradient(145deg, #ff7bad, #61b8f5);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
}

.site-shell-search__result span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.site-shell-search__result strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-shell-search__result small {
  overflow: hidden;
  color: var(--site-shell-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-shell-search__result > b {
  color: var(--site-shell-pink);
  font-size: 1.35rem;
}

@media (max-width: 720px) {
  html body[data-site-shell-root] {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  html body[data-site-shell-root] :is(
    .mobile-dock,
    .stories-mobile-dock,
    .cc-mobile-dock,
    .portal-mobile-dock,
    .mobile-header-actions
  )[hidden] {
    display: none !important;
  }

  .site-shell-menu__panel {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .site-shell-footer {
    width: 100%;
    margin-top: 24px;
    border-radius: 18px 18px 0 0;
  }

  .site-shell-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    padding: 26px 18px 22px;
  }

  .site-shell-footer__about {
    grid-column: 1 / -1;
  }

  .site-shell-footer__bottom {
    padding: 13px 18px 15px;
    line-height: 1.45;
  }

  .site-shell-mobile-dock {
    position: fixed;
    z-index: 130;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    padding: 4px 4px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #dce8f4;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(26, 67, 107, 0.1);
    backdrop-filter: blur(18px);
  }

  .site-shell-mobile-dock :is(a, button) {
    position: relative;
    min-width: 0;
    height: 51px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 2px 1px;
    border: 0;
    border-radius: 9px;
    color: #27486f;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
  }

  .site-shell-mobile-dock :is(a, button)::after {
    display: none !important;
    content: none !important;
  }

  .site-shell-mobile-dock :is(a, button)[aria-current="page"] {
    color: var(--site-shell-pink);
    background: #fff3f8;
    font-weight: 900;
  }

  .site-shell-mobile-dock svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
  }

  .site-shell-mobile-dock span {
    overflow: hidden;
    font-size: 0.61rem;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-shell-search__panel {
    top: auto;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    width: auto;
    max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px));
    padding: 17px;
    border-radius: 22px;
    transform: none;
  }

  .site-shell-search__form {
    grid-template-columns: 22px minmax(0, 1fr) 48px;
    padding-left: 12px;
  }

  .site-shell-search__form button {
    min-width: 48px;
    width: 48px;
    padding: 0;
    font-size: 0;
  }

  .site-shell-search__form button::after {
    content: "→";
    font-size: 1.25rem;
  }
}

@media print {
  [data-site-shell-header],
  [data-site-shell-hero-ad],
  .site-shell-menu,
  .site-shell-mobile-dock,
  .site-shell-search,
  .site-shell-footer {
    display: none !important;
  }
}
