/* Phone-only layout layer. Loaded after the preserved Market stylesheet.
   Content, artwork, prices and desktop composition remain unchanged. */
.te-mobile-preview,.te-mobile-detail,.te-mobile-figure-zoom {display:none}
@media (max-width:1023px) {
  html.te-menu-open,html.te-native-dialog-open {overflow:hidden}
  body.is-menu-open .te-chat {visibility:hidden;pointer-events:none}
  .te-menu {height:100vh;height:100dvh;bottom:auto}
  .te-menu__body {min-height:0;overscroll-behavior:contain}
  .te-menu__foot {flex-shrink:0}
}
@media (max-width:767px) {
  :root {--te-sp-l:36px;--te-sp-xl:52px;--te-sp-m:24px;--te-gap:18px}
  .te-header__in {gap:8px}
  .te-header__right {gap:4px}
  .te-body--home .te-header__in {flex-wrap:nowrap;padding-block:0;gap:8px}
  .te-body--home .te-header__in::after {display:none}
  .te-body--home .te-header__right {display:flex;gap:4px;margin-left:auto}
  .te-body--home .te-header__preview {display:none}
  .te-body--home .te-header__menu {order:2}
  .te-body--home .te-header__cta {order:1}
  .te-header__cta {display:inline-flex;min-height:44px;padding-inline:14px}
  .te-header__menu {margin-right:0}
  .te-menu__body {padding:8px var(--te-gutter) 16px;gap:10px}
  .te-menu__home a {font-size:19px}
  .te-mobile-preview {display:inline-flex;min-height:44px;font-size:13px}
  .te-menu__groups {gap:18px}
  .te-menu__item a {font-size:14px;line-height:1.5;min-height:44px;padding:10px 0;gap:8px}
  .te-menu__legal {gap:0 16px}
  .te-menu__legal a {min-height:44px}
  .te-menu__foot {padding:10px var(--te-gutter) calc(10px + env(safe-area-inset-bottom))}
  .te-menu__foot .te-btn {min-height:48px}
  .te-home-hero__in {padding-block:28px 32px;gap:20px}
  .te-home-hero__copy {gap:14px}
  .te-home-hero__fig {width:min(72%,300px)}
  .te-home-hero__lead,.te-lead,.te-body {line-height:1.85}
  .te-home-hero__cta {width:100%}
  .te-home-hero__cta .te-btn {width:100%;justify-content:space-between}
  .te-deck-switch {display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:24px}
  .te-deck-choice {min-width:0;min-height:48px;padding:10px 8px;font-size:13px;line-height:1.5;text-align:center;border-radius:12px}
  .te-home-deck {padding-top:24px}
  .te-home-deck__head {gap:10px;margin-bottom:18px}
  .te-deck__arrow {width:44px;height:44px}
  .te-deck__full,.te-deck__exit {min-height:44px}
  .te-deck__bar {gap:8px 10px}
  .te-deck__dots {flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;gap:0;padding-bottom:4px}
  .te-deck__dots li {flex:0 0 44px}
  .te-deck__dot,.te-deck__dot.is-cur {position:relative;width:44px;height:44px;border-radius:0;background:transparent}
  .te-deck__dot::after {content:"";position:absolute;inset:18px;border-radius:999px;background:var(--te-ink-16)}
  .te-deck__dot.is-cur::after {inset:18px 10px;background:var(--te-ink)}
  .te-deck__dot:hover,.te-deck__dot:focus-visible {background:transparent}
  .te-deck-modal .te-deck__nav,.te-deck__frame:fullscreen .te-deck__nav {top:auto;bottom:calc(16px + env(safe-area-inset-bottom));transform:none;width:48px;height:48px;opacity:1}
  .te-deck-modal .te-deck__nav--prev,.te-deck__frame:fullscreen .te-deck__nav--prev {left:16px}
  .te-deck-modal .te-deck__nav--next,.te-deck__frame:fullscreen .te-deck__nav--next {right:16px}
  .te-deck__exit {top:calc(12px + env(safe-area-inset-top));right:12px}
  .te-deck-modal .te-mobile-detail {display:block;position:absolute;top:calc(12px + env(safe-area-inset-top));left:12px;min-height:44px;padding:0 14px;border:1px solid var(--te-bg);border-radius:999px;background:var(--te-ink);color:var(--te-bg);font-size:13px;font-weight:700;z-index:3}
  .te-mobile-figure-zoom {display:flex;width:100%;min-height:44px;justify-content:center;margin-top:12px}
  .te-static-gtm__tools {justify-content:stretch}
  .te-static-gtm__zoom-open {width:100%;min-height:44px;justify-content:center}
  .te-static-gtm__dialog {margin:auto;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}
  .te-static-gtm__close {min-width:44px;min-height:44px}
  .te-static-gtm__zoom-pane {max-height:calc(100dvh - 150px)}
  .te-static-flow__returns {grid-template-columns:1fr}
  .te-static-flow__returns a {min-height:44px}
  .te-chat {right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .te-chat__fab {padding:5px;gap:0}
  .te-chat__fab-tag {display:none}
  .te-chat__fab .te-chat__mascot {width:44px;height:44px}
  .te-chat.is-near-control:not(.is-open) {visibility:hidden;pointer-events:none}
  .te-chat__panel {width:calc(100vw - 24px);max-height:calc(100dvh - 150px)}
  .te-chat__close {width:44px;height:44px}
  .te-chat__input {font-size:16px}
  .te-chat__chip {min-height:44px}
  .te-footer {padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  input,select,textarea {font-size:16px}
  .te-btn--sm,.te-bld-docs__tabs [role="tab"] {min-height:44px}
  .te-bld__sel-opt select {min-height:44px;font-size:16px}
  .te-bld__x,.te-bld__mv {width:44px;height:44px}
}

/* Keep an already-open reader usable when the phone rotates. */
.te-mobile-image-dialog {position:fixed;inset:8px;margin:auto;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-width:none;max-height:none;border:1px solid var(--te-rule);border-radius:12px;padding:12px;background:var(--te-bg);color:var(--te-ink);overflow:hidden}
.te-mobile-image-dialog::backdrop {background:var(--te-ink-30)}
.te-mobile-image-bar {display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.te-mobile-image-bar button {flex-shrink:0;min-height:44px;padding:6px 14px}
.te-mobile-image-dialog>p {font-size:12px;margin:8px 0}
.te-mobile-image-pane {height:calc(100% - 90px);overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;outline-offset:-2px}
.te-mobile-image-content {display:block;width:1100px!important;min-width:1100px;max-width:none!important;height:auto!important;margin:0}
.te-mobile-image-content.te-static-flow__artwork {height:733.34px!important}
