/* View-only phone profile. The caller owns navigation, account and API state. */
.xmp-standalone-host { position: fixed; inset: 0; z-index: 64; background: #15151b; }
.xmp-standalone-host.is-root { bottom: var(--mobile-nav-height, calc(54px + env(safe-area-inset-bottom, 0px))); }
.xmp-profile {
  --xmp-background: #15151b;
  --xmp-muted: #9797a3;
  --xmp-side: max(20px, env(safe-area-inset-left, 0px));
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--xmp-background);
  color: #f6f6f8;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}
.xmp-profile *, .xmp-profile *::before, .xmp-profile *::after { box-sizing: border-box; }
.xmp-profile [hidden] { display: none !important; }
.xmp-profile button { font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.xmp-profile button:focus-visible { outline: 2px solid #ff7794; outline-offset: -3px; }
.xmp-profile button:disabled { cursor: default; opacity: .4; }
.xmp-profile button:active { filter: brightness(.88); }
.xmp-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; }
.xmp-icon svg { display: block; width: 100%; height: 100%; stroke-width: 1.7; }
.xmp-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  min-height: calc(56px + env(safe-area-inset-top, 0px));
  padding: calc(5px + env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) 5px max(10px, env(safe-area-inset-left, 0px));
  background: linear-gradient(#0002, transparent);
  transform: translateX(-50%);
  transition: background-color .2s ease;
}
.xmp-profile.is-scrolled .xmp-header { border-bottom: 1px solid #ffffff08; background: #15151bf5; backdrop-filter: blur(18px); }
.xmp-header-button { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.xmp-header-button:hover { background: #ffffff0b; }
.xmp-back .xmp-icon { transform: rotate(180deg); }
.xmp-menu-lines { position: relative; display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; }
.xmp-menu-lines::before, .xmp-menu-lines::after { position: absolute; right: 0; left: 0; height: 2px; border-radius: inherit; background: currentColor; content: ''; }
.xmp-menu-lines::before { top: -7px; }
.xmp-menu-lines::after { top: 7px; }
.xmp-header-title { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: #f7f7fa; font-size: 16px; font-weight: 650; line-height: 26px; text-align: center; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease; }
.xmp-profile.is-scrolled .xmp-header-title { opacity: 1; transform: translateY(0); }
.xmp-scroller { position: relative; flex: 1 1 auto; width: 100%; max-width: 720px; min-height: 0; margin: 0 auto; padding-bottom: env(safe-area-inset-bottom, 0px); overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.xmp-scroller::-webkit-scrollbar { display: none; }
.xmp-profile.is-root .xmp-scroller { padding-bottom: 0; }
.xmp-profile-cover { position: relative; height: calc(148px + env(safe-area-inset-top, 0px)); overflow: hidden; }
.xmp-profile-banner { position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 5%, #6c626a66 0%, transparent 62%), radial-gradient(ellipse at 0% 0%, #53616b85, transparent 65%), linear-gradient(145deg, #31333b, #28262f 58%, #24232c); }
.xmp-profile-banner::after { position: absolute; inset: 0; background: linear-gradient(transparent 55%, #15151b60); content: ''; }
.xmp-profile-identity { position: relative; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 19px var(--xmp-side); }
.xmp-avatar-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 98px; margin-top: -45px; padding-bottom: 10px; }
.xmp-profile-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 96px; height: 96px; margin: 0; padding: 0; overflow: hidden; border: 4px solid var(--xmp-background); border-radius: 50%; background: linear-gradient(145deg, #6e777f, #41444f); color: #fff; font-size: 37px !important; font-weight: 600 !important; line-height: 1; box-shadow: 0 4px 18px #0002; }
.xmp-profile-avatar .xmp-avatar-photo { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.xmp-profile-avatar > .xmp-icon { width: 43px; height: 43px; color: #c9cad3; }
.xmp-avatar-hint { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; margin: 0 0 7px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #b4b3bf; font-size: 11px !important; line-height: 20px; }
.xmp-avatar-hint .xmp-icon { width: 15px; height: 15px; }
.xmp-profile-name { margin: 4px 0 0; color: #fcfcfd; font-size: 26px; font-weight: 750; letter-spacing: -.5px; line-height: 36px; overflow-wrap: anywhere; }
.xmp-profile-id { display: flex; align-items: center; gap: 6px; max-width: 100%; margin: 5px 0 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: #9696a3; font-size: 11px !important; line-height: 22px; text-align: left; }
.xmp-profile-id > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xmp-profile-id .xmp-icon { width: 12px; height: 12px; color: #b1b1bd; }
.xmp-profile-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin: 14px 0 0; }
.xmp-profile-metric { display: inline-flex; align-items: baseline; gap: 5px; min-height: 31px; margin: 0; padding: 0; border: 0; background: transparent; color: #aaa9b5; font-size: 13px !important; line-height: 30px; }
.xmp-profile-metric strong { color: #f7f7fa; font-size: 17px; font-weight: 700; }
.xmp-profile-bio { display: block; width: 100%; margin: 9px 0 0; padding: 0; border: 0; background: transparent; color: #e0dfe7; font-size: 13px !important; font-weight: 400 !important; line-height: 22px; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }
.xmp-profile-bio.is-editable { color: #92929f; }
html[data-ui="mobile"] .xmp-profile .xmp-profile-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; color: #aaa9b6; font-size: 11px; line-height: 20px; }
html[data-ui="mobile"] .xmp-profile .xmp-profile-extra > .xmp-detail { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; padding: 2px 7px; border-radius: 4px; background: #ffffff08; color: inherit; overflow-wrap: anywhere; text-decoration: none; }
html[data-ui="mobile"] .xmp-profile-extra .xmp-icon { width: 12px; height: 12px; }
.xmp-profile-actions { display: flex; gap: 9px; margin-top: 18px; }
.xmp-button { display: inline-flex; align-items: center; justify-content: center; flex: 1; gap: 6px; min-height: 42px; padding: 0 15px; border: 0; border-radius: 5px; font-size: 14px !important; font-weight: 600 !important; line-height: 22px; }
.xmp-button .xmp-icon { width: 19px; height: 19px; }
.xmp-button-pink { background: #fe2c55; color: #fff; }
.xmp-button-pink:hover { background: #ff4268; }
.xmp-button-soft { background: #303038; color: #f1f0f6; }
.xmp-button-soft:hover { background: #393941; }
.xmp-profile-actions .xmp-profile-settings { flex: 0 0 46px; width: 46px; padding: 0; }
.xmp-profile-settings .xmp-icon { width: 20px; height: 20px; }
.xmp-profile-pending { padding: 5px 0; color: var(--xmp-muted); font-size: 12px; }
.xmp-profile-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 max(20px, env(safe-area-inset-right, 0px)) 8px var(--xmp-side); padding: 8px 0 12px; border-bottom: 1px solid #ffffff07; }
.xmp-profile-tool { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 38px; padding: 0 5px; border: 0; border-radius: 0; background: transparent; color: #ceced8; font-size: 11px !important; line-height: 18px; white-space: nowrap; }
.xmp-profile-tool + .xmp-profile-tool { border-left: 1px solid #ffffff0a; }
.xmp-profile-tool .xmp-icon { width: 18px; height: 18px; color: #e1e0e9; }
.xmp-profile-tool:last-child .xmp-icon { color: #ff5b7b; }
.xmp-profile-tabs { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 4; display: flex; align-items: stretch; width: 100%; min-height: 52px; padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px)); overflow: hidden; border-bottom: 1px solid #ffffff09; background: #15151bf8; }
.xmp-profile-tab { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 1 1 0; gap: 5px; min-width: 0; min-height: 52px; padding: 0 3px; border: 0; border-radius: 0; background: transparent; color: #8e8e9c; font-size: 14px !important; font-weight: 500 !important; line-height: 22px; white-space: nowrap; transition: color .16s ease; }
.xmp-profile-tab[aria-selected="true"] { color: #f7f7fa; font-weight: 650 !important; }
.xmp-tab-indicator { position: absolute; bottom: 0; left: 0; display: block; width: var(--xmp-indicator-width, 28px); height: 3px; border-radius: 3px 3px 0 0; background: #f0cf78; transform: translateX(var(--xmp-indicator-x, 0px)); transition: transform .24s cubic-bezier(.2,.75,.3,1); }
.xmp-tab-count { color: inherit; font-size: 11px; font-weight: 400; }
.xmp-refresh-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 20px 3px; padding: 8px 12px; border-radius: 5px; background: #ffffff07; color: #a5a4b1; font-size: 11px; line-height: 20px; }
.xmp-refresh-retry { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0; border: 0; background: transparent; color: #e7e5ef; font-size: 11px !important; }
.xmp-refresh-retry .xmp-icon { width: 13px; height: 13px; }
.xmp-profile-content { min-height: 250px; }
.xmp-profile-content.is-tab-entering { animation: xmp-tab-enter .18s ease-out both; }
.xmp-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; width: 100%; padding: 2px 0 0; }
.xmp-video-tile { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #26262e; color: #f6f6f9; text-align: left; isolation: isolate; }
.xmp-video-cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.xmp-video-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; background: #26262e; color: #777784; }
.xmp-video-placeholder svg { width: 28px; height: 28px; }
.xmp-video-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 26px 8px 8px; background: linear-gradient(transparent, #0008); text-shadow: 0 1px 3px #0008; pointer-events: none; }
.xmp-video-title { display: -webkit-box; overflow: hidden; color: #fff; font-size: 11px; font-weight: 400; line-height: 17px; text-overflow: ellipsis; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.xmp-video-metric { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; color: #fff; font-size: 11px; line-height: 18px; }
.xmp-video-metric .xmp-icon { width: 14px; height: 14px; }
.xmp-video-metric svg { fill: #ffffff24; }
.xmp-video-state { position: absolute; top: 7px; left: 7px; z-index: 1; max-width: calc(100% - 14px); padding: 2px 5px; border-radius: 3px; background: #0008; color: #fff; font-size: 10px; line-height: 17px; }
.xmp-video-skeleton { display: block; aspect-ratio: 3 / 4; background: #202028; animation: xmp-loading-pulse 1.4s ease-in-out infinite alternate; }
.xmp-video-skeleton:nth-child(2n) { animation-delay: .2s; }
.xmp-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 270px; padding: 35px 24px 38px; color: #7e7e8b; text-align: center; }
.xmp-empty-icon { width: 58px; height: 58px; margin-bottom: 16px; border: 1px solid #ffffff07; border-radius: 17px; background: #22222b; color: #777785; }
.xmp-empty-icon svg { width: 27px; height: 27px; stroke-width: 1.35; }
.xmp-empty h3 { margin: 0; color: #d9d8e2; font-size: 15px; font-weight: 550; line-height: 24px; }
.xmp-empty p { max-width: 270px; margin: 7px 0 0; color: #838290; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.xmp-empty .xmp-button { flex: 0 0 auto; min-width: 144px; min-height: 39px; margin-top: 20px; font-size: 12px !important; }
.xmp-empty .xmp-button-soft { background: #fe2c55; color: #fff; }
.xmp-empty.is-loading .xmp-empty-icon { animation: xmp-loading-pulse 1.4s ease-in-out infinite alternate; }
.xmp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.xmp-own-menu {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 4px max(18px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  background: #1b1b20;
  color: #ededf4;
}

.xmp-own-menu-entry {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 12px 1px;
  border: 0;
  border-bottom: 1px solid #ffffff08;
  border-radius: 0;
  background: transparent;
  color: #e0e0e8;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  touch-action: manipulation;
}

.xmp-own-menu-entry:last-child { border-bottom: 0; }
.xmp-own-menu-entry > .xmp-icon:first-child { width: 22px; height: 22px; color: #a5a5b2; }
.xmp-own-menu-entry .xmp-own-menu-arrow { width: 17px; height: 17px; margin-left: auto; color: #71717d; }
.xmp-own-menu-entry:focus-visible { outline: 2px solid #ff7794; outline-offset: -3px; }
.xmp-own-menu-entry:hover { color: #fff; }


@keyframes xmp-tab-enter { from { opacity: .6; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes xmp-loading-pulse { from { opacity: .55; } to { opacity: 1; } }
@media (max-width: 350px) {
  .xmp-profile { --xmp-side: max(16px, env(safe-area-inset-left, 0px)); }
  .xmp-profile-identity { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .xmp-profile-name { font-size: 24px; }
  .xmp-profile-metrics { gap: 19px; }
  .xmp-profile-metric { gap: 4px; }
  .xmp-profile-tool { gap: 4px; font-size: 10px !important; }
  .xmp-profile-tool .xmp-icon { width: 16px; height: 16px; }
  .xmp-profile-tab { font-size: 13px !important; }
  .xmp-tab-count { font-size: 10px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .xmp-header { min-height: calc(48px + env(safe-area-inset-top, 0px)); padding-top: calc(2px + env(safe-area-inset-top, 0px)); padding-bottom: 2px; }
  .xmp-profile-cover { height: calc(109px + env(safe-area-inset-top, 0px)); }
  .xmp-avatar-row { min-height: 76px; margin-top: -34px; padding-bottom: 5px; }
  .xmp-profile-avatar { width: 76px; height: 76px; font-size: 30px !important; }
  .xmp-profile-name { font-size: 23px; line-height: 31px; }
  .xmp-profile-identity { padding-bottom: 14px; }
  .xmp-profile-tools { margin-bottom: 4px; padding-top: 3px; padding-bottom: 8px; }
  .xmp-profile-tabs { top: calc(48px + env(safe-area-inset-top, 0px)); }
  .xmp-video-tile, .xmp-video-skeleton { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .xmp-profile *, .xmp-profile *::before, .xmp-profile *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The own-profile menu slides over the real page; other mobile routes keep their page layout. */
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] {
  --xme-text: #efedf4;
  --xme-muted: #93929f;
  --xme-line: #ffffff08;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  height: auto;
  max-width: min(340px, 86vw);
  max-height: none;
  overflow: hidden;
  border-left: 1px solid #ffffff07;
  border-radius: 0;
  background: #1e1e25;
  color: #efedf4;
  color-scheme: dark;
  box-shadow: -18px 0 48px #0003;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] > .drawer-header {
  display: flex;
  flex: 0 0 auto;
  min-height: calc(56px + env(safe-area-inset-top, 0px));
  padding: calc(10px + env(safe-area-inset-top, 0px)) 52px 10px;
  border-bottom: 1px solid #ffffff06;
  background: #1e1e25;
  color: #f4f2f8;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] > .drawer-header h2 {
  margin: 0;
  color: #f4f2f8;
  font-size: 16px;
  font-weight: 650;
  line-height: 28px;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] #drawer-close {
  top: calc(6px + env(safe-area-inset-top, 0px));
  left: 5px;
  right: auto;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
  color: #f0edf5;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] #drawer-close svg { width: 22px; height: 22px; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] > .drawer-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #1e1e25;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  max-height: none;
  padding: 18px max(17px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 17px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #1e1e25;
  color: #efedf4;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu::-webkit-scrollbar { display: none; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-section {
  margin: 0 0 15px;
  padding: 0;
  border-radius: 10px;
  background: transparent;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid .xme-menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  min-height: 103px;
  padding: 15px;
  border: 1px solid #ffffff04;
  border-radius: 10px;
  background: #292931;
  color: #eeebf5;
  text-align: left;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-item:hover { background: #303039; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-item:focus-visible { outline: 2px solid #ff7794; outline-offset: 2px; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid .xme-menu-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #e0dce9;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid .xme-menu-icon svg { width: 25px; height: 25px; stroke-width: 1.65; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid [data-action="upload"] .xme-menu-icon { color: #ff6787; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid [data-action="history"] .xme-menu-icon { color: #dec18c; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-copy { flex: 0 1 auto; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-copy strong {
  color: #f0edf5;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-copy p { color: #93919f; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items:not(.is-grid) .xme-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 15px;
  border: 1px solid #ffffff04;
  border-radius: 10px;
  background: #292931;
  color: #efedf5;
}
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items:not(.is-grid) .xme-menu-copy { flex: 1 1 auto; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items:not(.is-grid) .xme-menu-icon { color: #ccc7d7; }
html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-arrow { margin-left: auto; color: #8e8999; }
@media (max-height: 440px) and (orientation: landscape) {
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] > .drawer-header { min-height: calc(48px + env(safe-area-inset-top, 0px)); padding-top: calc(6px + env(safe-area-inset-top, 0px)); padding-bottom: 6px; }
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] #drawer-close { top: calc(2px + env(safe-area-inset-top, 0px)); }
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu { padding-top: 12px; }
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid { gap: 8px; }
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] .xme-menu-items.is-grid .xme-menu-item { min-height: 84px; padding: 12px 15px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"],
  html[data-ui="mobile"] #drawer[data-mobile-page="true"][data-view="profile-menu"][data-route="my-services"] * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

html[data-ui="mobile"] .xmp-menu-underlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #15151b;
  pointer-events: none;
}
html[data-ui="mobile"] .xmp-menu-underlay.is-root { bottom: var(--mobile-nav-height, 54px); }
html[data-ui="mobile"] .xmp-menu-underlay > .drawer-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #15151b;
}
html[data-ui="mobile"] .xmp-menu-underlay .xmp-profile { flex: 1 1 auto; min-height: 0; }
