:root {
  --fc-safe-bottom: env(safe-area-inset-bottom, 0px);
  --fc-mobile-edge: 16px;
  --fc-mobile-target: 44px;
}

.fc-mobile-panel[hidden] {
  display: none !important;
}

.fc-mobile-panel {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.fc-mobile-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 20, 29, 0.66);
  cursor: pointer;
}

.fc-mobile-panel__surface {
  position: relative;
  display: grid;
  width: min(780px, 100%);
  max-height: min(90dvh, 920px);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #c7d5d9;
  border-radius: 8px;
  color: #172536;
  background: #f7faf9;
  box-shadow: 0 28px 80px rgba(8, 26, 36, 0.28);
}

.fc-mobile-panel__header {
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 20px;
  border-bottom: 1px solid #d7e1e3;
  background: #fff;
}

.fc-mobile-panel__title {
  margin: 0;
  color: #172536;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.3;
}

.fc-mobile-panel__close {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #304655;
  background: transparent;
  cursor: pointer;
}

.fc-mobile-panel__close span {
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
}

.fc-mobile-panel__close:hover,
.fc-mobile-panel__close:focus-visible {
  color: #0b5966;
  background: #e7f2f1;
}

.fc-mobile-panel__close:focus-visible {
  outline: 2px solid #167585;
  outline-offset: 2px;
}

.fc-mobile-panel__body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

html.fc-panel-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.fc-panel-open {
  width: 100%;
  overflow: hidden;
}

.fc-share-sheet {
  display: grid;
  gap: 8px;
}

.fc-share-sheet__button {
  display: grid;
  min-height: 48px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd8db;
  border-radius: 6px;
  color: #203443;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  text-align: start;
  cursor: pointer;
}

.fc-share-sheet__button:hover,
.fc-share-sheet__button:focus-visible {
  border-color: #2f8791;
  color: #0b5966;
  background: #edf7f5;
}

.fc-share-sheet__button:focus-visible {
  outline: 2px solid #167585;
  outline-offset: 2px;
}

.fc-share-sheet__button svg {
  width: 20px;
  height: 20px;
  justify-self: center;
}

.core-settings-preview-button,
.core-tool-card-list,
.core-tool-load-more,
.core-release-view-all {
  display: none;
}

.core-media-toggle,
.core-resource-load-more {
  display: none;
}

.core-tool-load-more[hidden],
.core-release-view-all[hidden],
.core-resource-load-more[hidden],
[data-resource-featured-item][hidden] {
  display: none !important;
}

.ft-group {
  margin: 0;
  padding: 0;
}

.ft-group > summary {
  list-style: none;
}

.ft-group > summary::-webkit-details-marker {
  display: none;
}

.ft-links {
  display: block;
}

@media (max-width: 768px) {
  .hamburger {
    min-width: var(--fc-mobile-target);
    min-height: var(--fc-mobile-target);
  }

  .site-header .nr .nav-resource-submenu a,
  .site-header .nr .lang-dropdown a {
    min-height: var(--fc-mobile-target);
  }

  .tab-btn,
  .hub-topic-card,
  .hub-load-more,
  .core-segments button,
  .core-copy-button {
    min-height: var(--fc-mobile-target);
  }

  footer {
    padding: 34px 0 22px;
  }

  footer .ft-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    text-align: start;
  }

  footer .ft-inner > .ft-col:not(.ft-group) {
    grid-column: auto;
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #273541;
  }

  footer .ft-group {
    margin: 0;
    border-bottom: 1px solid #273541;
  }

  footer .ft-group > summary.ft-heading {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    color: #edf4f7;
    cursor: pointer;
  }

  footer .ft-group > summary.ft-heading::after {
    content: "+";
    flex: 0 0 auto;
    color: #7f96a3;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }

  footer .ft-group[open] > summary.ft-heading::after {
    content: "\2212";
  }

  footer .ft-links {
    padding: 0 0 12px;
  }

  footer .ft-links a {
    display: flex;
    min-height: var(--fc-mobile-target);
    align-items: center;
    margin: 0;
    color: #aab9c4;
    font-size: 14px;
  }

  footer .ft-links a:hover,
  footer .ft-links a:focus-visible {
    color: #fff;
  }

  body.page-article .art-body table.article-table-wide,
  body.page-article .art-body .tb.article-table-wide {
    width: 620px !important;
    max-width: none !important;
    min-width: 620px !important;
    table-layout: auto !important;
  }

  .core-home-hero,
  .core-feature-hero,
  .core-download-hero,
  .core-resources-hero {
    padding-top: 68px;
    padding-bottom: 44px;
  }

  .core-home-copy h1,
  .core-feature-hero .core-home-copy h1,
  .core-download-hero h1,
  .core-resources-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .core-home-hero .core-lead,
  .core-feature-hero .core-lead,
  .core-download-hero .core-lead,
  .core-resources-hero .core-lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .core-home-hero .core-actions {
    order: 4;
    width: min(100%, 360px);
    justify-self: center;
    margin-top: 26px;
  }

  .core-home-hero .core-home-hero-facts {
    order: 5;
    justify-self: center;
    margin-top: 18px;
  }

  .core-home-hero .core-home-poster-stage {
    order: 6;
    margin-top: 28px;
  }

  .core-feature-hero .core-actions {
    order: 2;
    width: min(100%, 360px);
    justify-self: center;
    margin-top: 26px;
  }

  .core-feature-hero .core-feature-inline-facts {
    order: 3;
    justify-self: center;
    margin-top: 18px;
  }

  .core-feature-hero .core-feature-hero-product {
    order: 4;
    margin-top: 28px;
  }

  .core-feature-hero .core-feature-copy-intro {
    order: 1;
  }

  .core-feature-inline-facts {
    width: min(100%, 360px);
  }

  .core-actions .foneclaw-apk-cta,
  .core-download-hero-cta .foneclaw-apk-cta,
  .core-resources-hero-actions .foneclaw-apk-cta {
    width: 100%;
  }

  .core-band {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .core-section-heading {
    margin-bottom: 30px;
  }

  .core-section-heading h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .core-section-heading p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.62;
  }

  .core-anchor-nav {
    position: relative;
  }

  .core-anchor-nav::before,
  .core-anchor-nav::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 18px;
    pointer-events: none;
    content: "";
  }

  .core-anchor-nav::before {
    left: 0;
    background: linear-gradient(90deg, #101923 10%, rgba(16, 25, 35, 0));
  }

  .core-anchor-nav::after {
    right: 0;
    background: linear-gradient(270deg, #101923 10%, rgba(16, 25, 35, 0));
  }

  .core-anchor-nav .wrap {
    gap: 4px;
    padding: 8px 18px;
    scroll-padding-inline: 18px;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .core-anchor-nav a {
    display: inline-flex;
    min-height: var(--fc-mobile-target);
    align-items: center;
    padding: 9px 13px;
    scroll-snap-align: center;
  }

  html[dir="rtl"] .core-anchor-nav::before {
    background: linear-gradient(90deg, #101923 10%, rgba(16, 25, 35, 0));
  }

  html[dir="rtl"] .core-anchor-nav::after {
    background: linear-gradient(270deg, #101923 10%, rgba(16, 25, 35, 0));
  }

  .core-showcase {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .core-showcase-copy h3 {
    font-size: 29px;
  }

  .core-showcase-copy > p:not(.core-kicker) {
    font-size: 16px;
  }

  .core-showcase blockquote {
    margin: 20px 0;
  }

  .core-showcase-visual .core-phone-frame {
    width: min(72vw, 260px);
  }

  .core-media-toggle {
    display: inline-flex;
    min-width: 148px;
    min-height: var(--fc-mobile-target);
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 9px 15px;
    border: 1px solid #8ba0aa;
    border-radius: 5px;
    color: #17333e;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    cursor: pointer;
  }

  .core-media-toggle:hover,
  .core-media-toggle:focus-visible,
  .core-media-toggle[aria-pressed="true"] {
    border-color: #167585;
    color: #075766;
    background: #edf7f5;
  }

  .core-media-toggle [data-media-toggle-icon] {
    width: 18px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
  }

  .core-scenario {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .core-article {
    min-height: 0;
    padding: 20px;
  }

  .core-article h3 {
    margin-top: 16px;
  }

  .core-resource-load-more {
    display: inline-flex;
    width: min(100%, 360px);
    min-height: var(--fc-mobile-target);
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    padding: 10px 16px;
    border: 1px solid #8095a0;
    border-radius: 5px;
    color: #17333e;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    cursor: pointer;
  }

  .core-resource-load-more:hover,
  .core-resource-load-more:focus-visible {
    border-color: #167585;
    color: #075766;
    background: #edf7f5;
  }

  .core-feature-hero .core-feature-hero-product {
    gap: 14px;
  }

  .core-phone-frame.core-feature-settings-phone {
    width: min(76vw, 300px);
    aspect-ratio: 480 / 720;
  }

  .core-feature-settings-scroll {
    overflow: hidden;
    scrollbar-gutter: auto;
    overscroll-behavior: auto;
    touch-action: auto;
  }

  .core-settings-preview-button,
  .core-tool-load-more,
  .core-release-view-all {
    display: inline-flex;
    min-height: var(--fc-mobile-target);
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #8095a0;
    border-radius: 5px;
    color: #17333e;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
  }

  .core-settings-preview-button:hover,
  .core-settings-preview-button:focus-visible,
  .core-release-view-all:hover,
  .core-release-view-all:focus-visible {
    border-color: #167585;
    color: #075766;
    background: #edf7f5;
  }

  .core-settings-panel-image {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .core-settings-panel-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d2dce0;
    border-radius: 6px;
    background: #fbf8ff;
  }

  .core-tool-table-wrap {
    display: none;
    max-height: none;
    overflow: visible;
  }

  .core-tool-card-list {
    display: grid;
    gap: 0;
  }

  .core-tool-card {
    display: grid;
    gap: 14px;
    padding: 18px 16px;
    border-bottom: 1px solid #344453;
    color: #c7d2dc;
    background: #151f2a;
  }

  .core-tool-card__heading {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .core-tool-card__heading code {
    display: block;
    min-width: 0;
    color: #8be1cf;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .core-tool-card__heading small {
    display: block;
    margin-top: 5px;
    color: #94a5b2;
  }

  .core-tool-card__meta {
    margin: 0;
  }

  .core-tool-card__meta div {
    display: grid;
    grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
    gap: 12px;
  }

  .core-tool-card__meta dt,
  .core-tool-card__label {
    color: #94a5b2;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .core-tool-card__meta dd {
    margin: 0;
    color: #d4dee5;
    font-size: 13px;
    line-height: 1.5;
  }

  .core-tool-card > p {
    margin: -7px 0 0;
    color: #c7d2dc;
    font-size: 14px;
    line-height: 1.6;
  }

  .core-tool-load-more {
    width: calc(100% - 28px);
    margin: 14px;
    border-color: #506575;
    color: #ecf5f5;
    background: #20303c;
  }

  .core-tool-load-more:hover,
  .core-tool-load-more:focus-visible {
    border-color: #75c8ba;
    color: #fff;
    background: #29404b;
  }

  .core-release-history.is-loaded {
    height: auto;
    padding-right: 0;
    overflow: visible;
    overscroll-behavior: auto;
  }

  .core-release-history.is-loaded + .core-release-scrollbar,
  .core-release-scrollbar {
    display: none;
  }

  .core-release-history:focus-visible {
    outline: 0;
  }

  .core-release-view-all {
    width: 100%;
    margin-top: 18px;
  }

  .core-release-panel-list {
    display: grid;
    gap: 10px;
  }

  .core-release-panel-details {
    border: 1px solid #cbd7dc;
    border-radius: 6px;
    background: #fff;
  }

  .core-release-panel-details > summary {
    position: relative;
    display: grid;
    min-height: var(--fc-mobile-target);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    padding: 13px 42px 13px 14px;
    color: #172536;
    cursor: pointer;
    list-style: none;
  }

  .core-release-panel-details > summary::-webkit-details-marker {
    display: none;
  }

  .core-release-panel-details > summary::after {
    position: absolute;
    right: 30px;
    content: "+";
    color: #31515b;
    font-size: 20px;
    line-height: 1;
  }

  .core-release-panel-details[open] > summary::after {
    content: "−";
  }

  .core-release-panel-details > summary strong {
    font-size: 17px;
  }

  .core-release-panel-date {
    grid-column: 1 / -1;
    color: #637583;
    font-size: 12px;
  }

  .core-release-panel-details .core-release-item {
    padding: 18px 14px;
    border-top: 1px solid #d8e1e4;
    border-bottom: 0;
  }

  .core-release-panel-details .core-release-title-row,
  .core-release-panel-details .core-release-date {
    display: none;
  }

  html[dir="rtl"] .core-release-panel-details > summary {
    padding-right: 14px;
    padding-left: 42px;
  }

  html[dir="rtl"] .core-release-panel-details > summary::after {
    right: auto;
    left: 30px;
  }

  body[class*="page-hub-"] .hub-tabs .tab-btn {
    min-height: var(--fc-mobile-target);
  }

  #__fc_cookie_consent button {
    min-height: var(--fc-mobile-target);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  #__fc_cookie_consent a {
    display: inline-flex;
    min-height: var(--fc-mobile-target);
    align-items: center;
  }

  .fc-mobile-panel {
    place-items: stretch;
    padding: 0;
  }

  .fc-mobile-panel__surface {
    width: 100%;
    max-height: none;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .fc-mobile-panel__header {
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-right: var(--fc-mobile-edge);
    padding-left: var(--fc-mobile-edge);
  }

  .fc-mobile-panel__body {
    padding: 18px var(--fc-mobile-edge)
      calc(24px + var(--fc-safe-bottom));
  }

  #social-share.social-share-floating.fc-share-mobile {
    right: var(--fc-mobile-edge) !important;
    bottom: calc(var(--fc-mobile-edge) + var(--fc-safe-bottom)) !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    transform: none !important;
    transition: opacity 0.2s, visibility 0.2s !important;
  }

  html[dir="rtl"] #social-share.social-share-floating.fc-share-mobile {
    right: auto !important;
    left: var(--fc-mobile-edge) !important;
  }

  #social-share.fc-share-mobile .fc-mobile-share-trigger {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #254b55;
    border-radius: 24px;
    color: #eaf5f3;
    background: #142d34;
    box-shadow: 0 8px 24px rgba(10, 31, 40, 0.2);
    font: inherit;
    font-size: 14px;
    font-weight: 720;
    line-height: 1;
    cursor: pointer;
  }

  #social-share.fc-share-mobile .fc-mobile-share-trigger:hover,
  #social-share.fc-share-mobile .fc-mobile-share-trigger:focus-visible {
    color: #fff;
    border-color: #3d8991;
    background: #173a42;
  }

  #social-share.fc-share-mobile .fc-mobile-share-trigger:focus-visible {
    outline: 2px solid #3d8991;
    outline-offset: 2px;
  }

  #social-share.fc-share-mobile .fc-mobile-share-trigger svg {
    width: 19px;
    height: 19px;
  }

  #backToTop {
    right: var(--fc-mobile-edge) !important;
    bottom: calc(76px + var(--fc-safe-bottom)) !important;
    width: 44px !important;
    height: 44px !important;
  }

  html[dir="rtl"] #backToTop {
    right: auto !important;
    left: var(--fc-mobile-edge) !important;
  }

  html.has-cookie-consent #social-share.social-share-floating,
  html.has-cookie-consent #backToTop {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 360px) {
  .core-home-copy h1,
  .core-feature-hero .core-home-copy h1,
  .core-download-hero h1,
  .core-resources-hero h1 {
    font-size: 34px;
  }

  .core-phone-frame.core-feature-settings-phone {
    width: min(78vw, 270px);
  }
}

@media (max-width: 560px) {
  .core-process,
  .core-process--download {
    border-top: 0;
  }

  .core-process li,
  .core-process--download li {
    position: relative;
    display: grid;
    grid-row: auto;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 10px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #cbd5dc;
  }

  .core-process > li > span {
    grid-row: 1 / 3;
    margin: 3px 0 0;
  }

  .core-process h3,
  .core-process p {
    grid-column: 2;
  }

  .core-process h3 {
    margin-bottom: 0;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-mobile-panel *,
  #social-share.fc-share-mobile {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
