
.atf-toobit-inline-connected{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:7px;
  padding:0 2px;
  color:rgba(210,225,242,.78);
  font-size:11px;
  line-height:1.35;
  letter-spacing:.01em;
}
.atf-toobit-inline-connected.atf-account-hub-hidden{display:none!important}
.atf-toobit-inline-dot{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#35d07f;
  box-shadow:0 0 8px rgba(53,208,127,.42);
}
.atf-toobit-inline-label{
  color:rgba(150,225,188,.94);
  font-weight:650;
}
.atf-toobit-inline-sep{opacity:.46}
.atf-toobit-inline-uid{
  color:rgba(185,205,228,.74);
  font-variant-numeric:tabular-nums;
}
.atf-toobit-inline-uid strong{
  color:rgba(225,237,250,.94);
  font-weight:650;
}
#atfAccountHubConnected.atf-toobit-linked .atf-account-hub-actions{
  grid-template-columns:1fr!important;
}
#atfAccountHubConnected.atf-toobit-linked #atfHubDisconnectWallet{
  width:100%;
}
.atf-toobit-guide-step{
  display:block;
  margin:0 0 7px;
}
.atf-toobit-guide-step:last-child{margin-bottom:0}


/* --- Extracted Body Pilot UI Style Block --- */


.atf-home-account-stack{
  flex:0 0 auto;
  width:min(46%,176px);
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
  min-width:0;
}
.atf-home-account-stack #ton-connect{
  max-width:100%;
  align-self:flex-end;
}
.atf-home-toobit-uid-pill{
  width:100%;
  min-height:34px;
  padding:7px 11px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(29,31,38,.96),rgba(17,18,23,.96));
  box-shadow:0 8px 20px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.035);
  color:#e8edf5;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  font:700 10.5px/1.1 Montserrat,Arial,sans-serif;
  white-space:nowrap;
  overflow:hidden;
  cursor:pointer;
}
.atf-home-toobit-uid-pill.atf-account-hub-hidden{display:none!important}
.atf-home-toobit-dot{
  width:6px;height:6px;flex:0 0 6px;border-radius:50%;
  background:#35d07f;box-shadow:0 0 8px rgba(53,208,127,.42);
}
.atf-home-toobit-label{color:#77e5b1;font-weight:800}
#atfHomeToobitUidValue{
  color:#f5f7fb;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;
}

/* UID is shown in the Toobit card, not below the TON address in the Hub. */
#atfHubToobitInline{display:none!important}

/* Restore the original two-card Connected Accounts layout. */
#atfAccountHubConnected.atf-toobit-linked #atfHubConnectedToobitCard.atf-account-hub-hidden{display:block!important}
#atfAccountHubConnected.atf-toobit-linked #atfHubCopyWallet.atf-account-hub-hidden{display:block!important}
#atfAccountHubConnected.atf-toobit-linked .atf-account-hub-actions{grid-template-columns:1fr 1fr!important}
#atfAccountHubConnected.atf-toobit-linked #atfHubToobitUidRow.atf-account-hub-hidden{display:block!important}
#atfAccountHubConnected.atf-toobit-linked #atfHubDisconnectToobit.atf-account-hub-hidden{display:block!important}


/* --- Extracted Body Pilot UI Style Block --- */


.atf-home-account-stack{align-items:flex-end!important}
#atfHomeToobitUidPill{
  width:auto;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  justify-content:flex-start;
  align-self:flex-end;
  padding-left:10px!important;
  padding-right:12px!important;
}
.atf-home-toobit-mini-logo{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  min-width:18px!important;
  min-height:18px!important;
  border-radius:6px!important;
  margin:0 1px 0 0!important;
  box-shadow:0 0 8px rgba(22,145,255,.12)!important;
}
#atfHomeToobitUidPill .atf-home-toobit-label{margin-left:1px}


/* --- Extracted Body Pilot UI Style Block --- */


.atf-cert-modal{
  position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.88);
  display:none;align-items:center;justify-content:center;padding:16px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
.atf-cert-modal.open{display:flex}
.atf-cert-shell{
  width:min(96vw,470px);height:92vh;max-height:92vh;overflow:hidden;
  display:flex;flex-direction:column;
  background:linear-gradient(180deg,#15110b,#080706);
  border:1px solid rgba(238,180,78,.65);border-radius:22px;padding:12px;
  box-shadow:0 0 42px rgba(255,170,40,.22)
}
.atf-cert-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px}
.atf-cert-head strong{color:#f4cf83;font-size:15px;letter-spacing:.4px}
.atf-cert-close{
  width:34px;height:34px;border:1px solid rgba(255,205,115,.4);
  border-radius:50%;background:#17120c;color:#fff;font-size:20px
}
.atf-cert-preview{
  display:block;width:auto;max-width:100%;
  height:auto;max-height:calc(92vh - 155px);
  object-fit:contain;align-self:center;flex:1 1 auto;min-height:0;
  border-radius:15px;background:#000
}
.atf-cert-actions{display:flex;gap:9px;padding-top:12px;flex:0 0 auto}
.atf-cert-actions button{
  flex:1;border:0;border-radius:12px;padding:12px 8px;font-weight:900;
  background:linear-gradient(180deg,#ffe19b,#d99729);color:#17100a
}
.atf-cert-actions button.secondary{
  background:#181512;color:#f4cf83;border:1px solid rgba(244,207,131,.35)
}
.atf-cert-note{font-size:11px;color:#9f9486;text-align:center;padding:10px 4px 2px}


/* --- Extracted Body Pilot UI Style Block --- */


body.atf-pilot-main-coin-v1 .bottom-nav .nav-item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.88) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item > div:last-child {
  color: rgba(255,255,255,.90) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,.45) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.nav-miners .nav-icon {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  border-radius: 999px !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon::before {
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(225,225,225,.86)) !important;
  filter: drop-shadow(0 0 4px rgba(0,0,0,.18)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::after {
  width: 8px !important;
  height: 8px !important;
  top: -1px !important;
  right: -1px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active {
  color: #f3d066 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active > div:last-child {
  color: #f3d066 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active .nav-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  background: radial-gradient(circle at 50% 38%, rgba(255,236,155,.24), rgba(255,236,155,.08) 38%, rgba(255,236,155,0) 62%), linear-gradient(180deg, rgba(27,21,8,.92), rgba(8,8,8,.96)) !important;
  border: 1px solid rgba(255,208,88,.65) !important;
  box-shadow: 0 0 0 1px rgba(255,241,178,.12) inset, 0 0 12px rgba(255,188,44,.22), 0 6px 12px rgba(0,0,0,.18) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active .nav-icon::before {
  background: linear-gradient(180deg, #fff5b6 0%, #ffd95c 46%, #ffbb22 100%) !important;
  filter: drop-shadow(0 0 6px rgba(255,208,88,.26)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active::after {
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255,198,56,0), rgba(255,226,138,.95), rgba(255,198,56,0)) !important;
  box-shadow: 0 0 8px rgba(255,198,56,.24) !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


body.atf-pilot-main-coin-v1 .bottom-nav {
  padding-top: 8px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  color: rgba(235,235,235,.94) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item::before {
  display: none !important;
  content: none !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item > div:last-child {
  font-size: 8px !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.44) !important;
  color: rgba(242,242,242,.94) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.nav-miners .nav-icon {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon::before {
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.20)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] .nav-icon::before {
  background: linear-gradient(180deg, #ffe590 0%, #ffd14b 48%, #f0ad17 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] > div:last-child {
  color: #f1ca58 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::before {
  background: linear-gradient(180deg, #fff7d3 0%, #f2d889 70%, #dbb75c 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] > div:last-child {
  color: rgba(250,250,250,.96) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon::before {
  background: linear-gradient(180deg, #dadada 0%, #c8c8c8 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] > div:last-child,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] > div:last-child {
  color: rgba(243,243,243,.94) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active {
  color: #f4cf62 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active > div:last-child {
  color: #f4cf62 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active .nav-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  background: radial-gradient(circle at 50% 30%, rgba(255,238,162,.28), rgba(255,221,119,.07) 38%, rgba(255,221,119,0) 58%), linear-gradient(180deg, rgba(25,20,10,.96), rgba(7,7,7,.98)) !important;
  border: 1px solid rgba(255,208,88,.68) !important;
  box-shadow: 0 0 0 1px rgba(255,244,194,.10) inset, 0 0 10px rgba(255,191,43,.18), 0 3px 8px rgba(0,0,0,.16) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active .nav-icon::before {
  background: linear-gradient(180deg, #fff4af 0%, #ffd85a 50%, #ffbc27 100%) !important;
  filter: drop-shadow(0 0 5px rgba(255,204,70,.24)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.active::after {
  height: 2px !important;
  bottom: -2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(255,197,42,0), rgba(255,223,122,.96), rgba(255,197,42,0)) !important;
  box-shadow: 0 0 8px rgba(255,197,42,.22) !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


body.atf-pilot-main-coin-v1 .bottom-nav {
  align-items: stretch !important;
  padding: 6px 6px 8px !important;
  background: rgba(3,3,3,.94) !important;
  backdrop-filter: blur(10px) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item {
  min-width: 0 !important;
  flex: 1 1 0 !important;
  gap: 3px !important;
  padding: 8px 2px 6px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: visible !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item::before {
  display: none !important;
  content: none !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item::after {
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  right: 9px !important;
  bottom: 0 !important;
  height: 1px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item > div:last-child {
  font-size: 7px !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: rgba(245,245,245,.96) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.40) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.nav-miners .nav-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-bottom: 1px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item .nav-icon::before {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.16)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] {
  margin: 0 3px !important;
  padding-top: 8px !important;
  border-radius: 18px !important;
  background: radial-gradient(circle at 18% 30%, rgba(255,205,93,.18), rgba(255,205,93,.03) 26%, rgba(255,205,93,0) 42%), linear-gradient(180deg, rgba(18,13,7,.95), rgba(6,6,6,.98)) !important;
  border: 1px solid rgba(255,208,93,.42) !important;
  box-shadow: 0 0 0 1px rgba(255,239,176,.06) inset, 0 10px 18px rgba(0,0,0,.14) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"]::after {
  left: 8px !important;
  right: 8px !important;
  height: 2px !important;
  background: linear-gradient(90deg, rgba(255,199,55,0), rgba(255,219,121,.96), rgba(255,199,55,0)) !important;
  box-shadow: 0 0 9px rgba(255,197,47,.26) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] .nav-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] .nav-icon::before {
  background: linear-gradient(180deg, #ffe48b 0%, #ffd24c 45%, #f4b11a 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('mine')"] > div:last-child {
  color: #f0ca58 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::before {
  background: linear-gradient(180deg, #fffdf4 0%, #f2f2ea 62%, #deded7 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] > div:last-child {
  color: rgba(245,245,245,.96) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::after {
  width: 7px !important;
  height: 7px !important;
  top: -1px !important;
  right: -1px !important;
  box-shadow: 0 0 0 1px rgba(24,24,24,.55) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('miners')"] {
  padding-top: 5px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('miners')"] .nav-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  background: radial-gradient(circle at 50% 24%, rgba(255,229,132,.30), rgba(255,229,132,.08) 38%, rgba(255,229,132,0) 60%), linear-gradient(180deg, rgba(20,16,10,.96), rgba(7,7,7,.98)) !important;
  border: 1px solid rgba(255,208,88,.72) !important;
  box-shadow: 0 0 0 1px rgba(255,242,188,.12) inset, 0 0 11px rgba(255,188,40,.22) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('miners')"] .nav-icon::before {
  background: linear-gradient(180deg, #fff4b4 0%, #ffd859 50%, #ffbb22 100%) !important;
  filter: drop-shadow(0 0 5px rgba(255,203,65,.24)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('miners')"] > div:last-child {
  color: rgba(242,242,242,.96) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon::before {
  background: linear-gradient(180deg, #cfcfcf 0%, #bfbfbf 100%) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] > div:last-child,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] > div:last-child {
  color: rgba(235,235,235,.94) !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


/* Tasks/Friends/Profile only. Public layout and all navigation behavior stay untouched. */
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon {
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  -webkit-mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-repeat: no-repeat !important;
  mask-position: center !important;
  mask-size: contain !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::before {
  background: linear-gradient(180deg, #fff2bd 0%, #f4d678 56%, #d8a83e 100%) !important;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8 2h8a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h1V4a2 2 0 0 1 2-2Zm0 3h8V4H8v1Zm0 5h8v2H8v-2Zm0 4h8v2H8v-2Zm0 4h5v2H8v-2Z'/></svg>") !important;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8 2h8a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h1V4a2 2 0 0 1 2-2Zm0 3h8V4H8v1Zm0 5h8v2H8v-2Zm0 4h8v2H8v-2Zm0 4h5v2H8v-2Z'/></svg>") !important;
  filter: drop-shadow(0 0 3px rgba(255,207,90,.18)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: -1px !important;
  right: -2px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #ff4050 !important;
  box-shadow: 0 0 0 1px rgba(18,18,18,.72), 0 0 5px rgba(255,64,80,.30) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon::before {
  background: linear-gradient(180deg, #d8d8d8 0%, #b9b9b9 100%) !important;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8 0a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7ZM1.5 20a5.5 5.5 0 0 1 11 0v1h-11v-1Zm12.5 1v-1a6.96 6.96 0 0 0-1.09-3.76A5 5 0 0 1 22.5 20v1H14Z'/></svg>") !important;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8 0a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7ZM1.5 20a5.5 5.5 0 0 1 11 0v1h-11v-1Zm12.5 1v-1a6.96 6.96 0 0 0-1.09-3.76A5 5 0 0 1 22.5 20v1H14Z'/></svg>") !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.22)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon::before {
  background: linear-gradient(180deg, #d8d8d8 0%, #b9b9b9 100%) !important;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-5.33 0-9 2.67-9 6v1h18v-1c0-3.33-3.67-6-9-6Z'/></svg>") !important;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-5.33 0-9 2.67-9 6v1h18v-1c0-3.33-3.67-6-9-6Z'/></svg>") !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.22)) !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] > div:last-child,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] > div:last-child,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] > div:last-child {
  color: rgba(239,239,239,.96) !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin-bottom: 1px !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('friends')"] .nav-icon::before,
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('profile')"] .nav-icon::before {
  background-size: contain !important;
  transform: scale(1.12) !important;
  transform-origin: center center !important;
}
body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick="switchTab('tasks')"] .nav-icon::after {
  top: -2px !important;
  right: -2px !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_PILOT_NAV_EQUAL_V1 — all 5 bottom-nav icons in the same gold medallion, same size as Mine/Miners (pilot only). Tabs/clicks untouched. */
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick] .nav-icon:not(#atfNavX){
  width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important;
  box-sizing:border-box !important;border-radius:999px !important;margin-top:0 !important;top:0 !important;
  display:grid !important;place-items:center !important;position:relative !important;margin:0 auto !important;
  background:radial-gradient(circle at 50% 28%,rgba(255,232,150,.22),rgba(255,221,119,.06) 40%,rgba(255,221,119,0) 60%),linear-gradient(180deg,rgba(25,20,10,.96),rgba(7,7,7,.98)) !important;
  border:1px solid rgba(255,208,88,.48) !important;
  box-shadow:0 0 0 1px rgba(255,244,194,.07) inset,0 3px 8px rgba(0,0,0,.18) !important;
  transform:none !important;
}
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick].active .nav-icon:not(#atfNavX){
  border-color:rgba(255,208,88,.80) !important;
  box-shadow:0 0 0 1px rgba(255,244,194,.12) inset,0 0 11px rgba(255,191,43,.30),0 3px 8px rgba(0,0,0,.18) !important;
}
/* glyphs drawn with a mask (Tasks / Friends / Profile): same visual size as the Mine / Miners glyph */
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick]:not(.nav-miners) .nav-icon:not(#atfNavX)::before{width:22px !important;height:22px !important;position:absolute !important;left:50% !important;top:50% !important;right:auto !important;bottom:auto !important;margin:0 !important;transform:translate(-50%,-50%) !important}
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick].active:not(.nav-miners) .nav-icon:not(#atfNavX)::before{background:linear-gradient(180deg,#fff4af 0%,#ffd85a 50%,#ffbc27 100%) !important}
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick].active:not(.nav-miners):not(#atfNavX) > div:last-child{color:#f4cf62 !important}
/* labels on one line under the medallions */
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item[onclick]:not(#atfNavX){justify-content:flex-start !important;gap:4px !important}
/* Miners item sat 3px higher than the others: line it up */
html body.atf-pilot-main-coin-v1 .bottom-nav .nav-item.nav-miners[onclick]:not(#atfNavX){transform:translateY(3px) !important}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_PILOT_CLAIM_HEIGHT_V1 — CLAIM gets an explicit height (= width x 460/1888) instead of relying only on
   aspect-ratio, which some iPhone / old WebViews apply late or not at all on <button> -> squashed CLAIM. (pilot only) */
html body.atf-pilot-main-coin-v1 #actionBtn.btn-main.state-claim:not(#atfClaimX){
  height:var(--atf-claim-h,auto) !important;min-height:var(--atf-claim-h,0px) !important;
  background-size:92% auto !important;background-position:50% 50% !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_COIN_FIT_V2 — the coin can never be bigger than the space above the TAP bar.
   Implemented as a size CAP (min of the app's size and the cap) so the app's own sizing is never fought.
   No size animation (lighter). */
html body #minerVisual.miner-visual{
  width:min(var(--hero-coin-size),var(--atf-coin-cap,9999px)) !important;
  height:min(var(--hero-coin-size),var(--atf-coin-cap,9999px)) !important;
  transition:margin .18s ease !important;
}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_TAPBAR_EMPTY_V2 — when there is not enough energy for one tap the bar says just "NO ENERGY".
   As soon as one tap is charged again it disappears (the engine sets data-atf-noe on the bar).
   TAP LOCKED / BOOST FINISHING stay exactly as before. */
body.atf-pilot-tapbar-v1 #atfTapV2Energy[data-atf-noe="1"]:not(.atf-tb-locked):not(.atf-tb-boost) .row{
  display:flex !important;position:absolute;z-index:4;left:22.72%;top:38.5%;width:66.88%;height:35.56%;
  margin:0 !important;padding:0 6px !important;align-items:center;justify-content:center;gap:0;
  font-size:10px !important;line-height:1 !important;color:#fff;text-shadow:0 1px 3px #000,0 0 6px #000;
  pointer-events:none;
}
body.atf-pilot-tapbar-v1 #atfTapV2Energy[data-atf-noe="1"]:not(.atf-tb-locked):not(.atf-tb-boost) #atfTapV2Text{display:none !important}
body.atf-pilot-tapbar-v1 #atfTapV2Energy[data-atf-noe="1"]:not(.atf-tb-locked):not(.atf-tb-boost) #atfTapV2Label{display:block;height:auto;line-height:1;font-size:0 !important}
body.atf-pilot-tapbar-v1 #atfTapV2Energy[data-atf-noe="1"]:not(.atf-tb-locked):not(.atf-tb-boost) #atfTapV2Label::after{
  content:"NO ENERGY";font-size:10px;font-weight:800;letter-spacing:.4px;color:#fff;
}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_MINER_LVL_MODAL_V2_2 — gold "Level" sheet with the crown artwork (atf_lvl_bg_v1.webp). Static (no animations).
   V2.1 smoothness: no backdrop blur behind this popup (cheaper on low-end phones), artwork preloaded once while idle. */
#minerInfoModal.atf-lvlx{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(0,0,0,.84)!important}
#minerInfoModal.atf-lvlx .w-card{position:relative;overflow:hidden auto;max-height:calc(100% - 24px);box-sizing:border-box;padding:8px 12px 10px;border:1px solid transparent;border-radius:24px;
  background:
    linear-gradient(90deg,#070605 7.5%,rgba(7,6,5,0) 18%,rgba(7,6,5,0) 82%,#070605 92.5%) padding-box,
    linear-gradient(180deg,rgba(7,6,5,0) 0%,rgba(7,6,5,0) 34%,rgba(7,6,5,.42) 50%,rgba(7,6,5,.62) 70%,rgba(7,6,5,.78) 100%) padding-box,
    url("../atf_lvl_bg_v1.webp?v=1") center top/85% auto no-repeat padding-box,
    linear-gradient(180deg,#0b0906,#070605) padding-box,
    linear-gradient(160deg,#f7d98a 0%,rgba(170,125,45,.55) 30%,rgba(110,80,30,.35) 60%,#e6bb63 100%) border-box;
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 26px rgba(255,180,50,.18),0 18px 40px rgba(0,0,0,.7)}
#minerInfoModal.atf-lvlx #infoTitle{display:none}
#minerInfoModal.atf-lvlx .lvlx-hero{position:relative;aspect-ratio:1/0.6;margin:-8px -12px 0;pointer-events:none}
#minerInfoModal.atf-lvlx .lvlx-lv{position:absolute;left:0;right:0;bottom:3%;text-align:center;line-height:1}
#minerInfoModal.atf-lvlx .lvlx-lv span{display:block;font-size:13px;font-weight:900;letter-spacing:2px;color:#f1d79b;text-shadow:0 1px 0 #6b4a12,0 2px 6px rgba(0,0,0,.8)}
#minerInfoModal.atf-lvlx .lvlx-lv b{display:block;margin-top:0;font-size:42px;font-weight:900;letter-spacing:1px;
  background:linear-gradient(180deg,#fff6d2 0%,#ffd968 38%,#e3a93a 62%,#a8701c 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 0 #5a3a0c) drop-shadow(0 4px 8px rgba(0,0,0,.75)) drop-shadow(0 0 10px rgba(255,190,70,.35))}
#minerInfoModal.atf-lvlx .lvlx-price{position:relative;margin:0 auto 7px;width:max-content;min-width:160px;padding:5px 20px 6px;text-align:center;
  clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px);
  background:linear-gradient(160deg,#f6d27c,#9a6b22 45%,#e2b860) ;}
#minerInfoModal.atf-lvlx .lvlx-price::before{content:"";position:absolute;inset:1.5px;z-index:0;
  clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px);
  background:radial-gradient(80% 90% at 50% 0%,rgba(255,200,90,.16),rgba(0,0,0,0) 70%),linear-gradient(180deg,#14100a,#070605)}
#minerInfoModal.atf-lvlx .lvlx-price>*{position:relative;z-index:1}
#minerInfoModal.atf-lvlx .lvlx-just,#minerInfoModal.atf-lvlx .lvlx-to{display:block;font-size:12px;font-weight:700;color:#efdcae;line-height:1.15}
#minerInfoModal.atf-lvlx .lvlx-just{color:#f4cf72}
#minerInfoModal.atf-lvlx #infoIcon{display:flex!important;align-items:baseline;justify-content:center;gap:1px;margin:1px auto 2px!important;min-width:0!important;min-height:0!important;width:auto!important;padding:0!important;
  background:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;border-radius:0!important}
#minerInfoModal.atf-lvlx #infoIcon .miner-price-dollar{order:0;font-size:24px!important;font-weight:900;color:#ffd968!important;margin:0 1px 0 0!important;align-self:baseline}
#minerInfoModal.atf-lvlx #infoIcon .miner-price-number{order:1;font-size:31px!important;font-weight:900;line-height:1;
  background:linear-gradient(180deg,#fff6d2 0%,#ffd968 45%,#d99a2c 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:none!important}
#minerInfoModal.atf-lvlx #infoIcon .miner-price-suffix{order:2;font-size:24px!important;font-weight:900;color:#ffd968!important}
#minerInfoModal.atf-lvlx #infoIcon:empty{display:none!important}
#minerInfoModal.atf-lvlx .lvlx-atf{display:none;font-size:22px;font-weight:900;color:#ffd968;margin:2px 0}
#minerInfoModal.atf-lvlx #infoIcon:empty + .lvlx-atf{display:block}
/* V2.2: the frame shows what is still MISSING ("Just $23.92 to Level Up"); unlocked levels show the level price */
#minerInfoModal.atf-lvlx .lvlx-num{display:none;align-items:baseline;justify-content:center;gap:1px;margin:1px auto 2px;line-height:1}
#minerInfoModal.atf-lvlx .lvlx-num .d{font-size:24px;font-weight:900;color:#ffd968;margin-right:1px}
#minerInfoModal.atf-lvlx .lvlx-num .n{font-size:31px;font-weight:900;background:linear-gradient(180deg,#fff6d2 0%,#ffd968 45%,#d99a2c 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
#minerInfoModal.atf-lvlx.lvlx-needmode .lvlx-num{display:flex}
#minerInfoModal.atf-lvlx.lvlx-needmode #infoIcon,#minerInfoModal.atf-lvlx.lvlx-atfmode #infoIcon{display:none!important}
#minerInfoModal.atf-lvlx.lvlx-needmode .lvlx-atf{display:none!important}
#minerInfoModal.atf-lvlx.lvlx-atfmode .lvlx-atf{display:block!important}
#minerInfoModal.atf-lvlx.lvlx-unlocked .lvlx-just{display:none}
#minerInfoModal.atf-lvlx.lvlx-unlocked .lvlx-to{color:#7dffb6}
#minerInfoModal.atf-lvlx .list-item{align-items:center;gap:11px;text-align:left;margin:0 0 6px!important;padding:5px 11px 5px 7px!important;min-height:48px;border-radius:16px!important;
  border:1px solid transparent!important;
  background:linear-gradient(180deg,rgba(28,23,15,.86),rgba(10,8,6,.9)) padding-box,linear-gradient(180deg,rgba(240,200,110,.55),rgba(140,100,40,.28) 50%,rgba(220,175,90,.5)) border-box!important;
  box-shadow:0 4px 12px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,225,160,.07)!important}
#minerInfoModal.atf-lvlx .list-item .item-content{flex:1 1 auto;min-width:0;text-align:left!important}
#minerInfoModal.atf-lvlx .list-item .item-title{color:#fff!important;font-size:13.5px;font-weight:800;text-align:left!important}
#minerInfoModal.atf-lvlx .list-item .item-desc{color:#a99d86!important;font-size:11px;text-align:left!important;line-height:1.3}
#minerInfoModal.atf-lvlx .list-item>div:last-child{flex:0 0 auto;max-width:56%;text-align:right;color:#f4c95d!important;font-size:14.5px;font-weight:900!important;line-height:1.25}
#minerInfoModal.atf-lvlx .list-item .usd-eq{display:block;margin-top:2px;font-size:11.5px;font-weight:700;color:#cdb88c!important}
#minerInfoModal.atf-lvlx .lvlx-ic{flex:0 0 38px;width:38px;height:38px;border-radius:50%;box-sizing:border-box;border:1.5px solid #d9ab4f;
  background:center/20px 20px no-repeat,radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%);box-shadow:0 0 8px rgba(255,190,70,.25),inset 0 0 6px rgba(255,200,100,.18)}
#minerInfoModal.atf-lvlx .lvlx-ic[data-ic="speed"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M13.6 1.8 4.4 13.4h6.1l-1.6 8.8 9.4-12.1h-6.2z'/%3E%3C/svg%3E"),radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%)}
#minerInfoModal.atf-lvlx .lvlx-ic[data-ic="coins"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)' stroke='%235a3d0c' stroke-width='.6'%3E%3Cellipse cx='15' cy='18.6' rx='6' ry='2.3'/%3E%3Cpath d='M9 15.2v3.4c0 1.3 2.7 2.3 6 2.3s6-1 6-2.3v-3.4'/%3E%3Cellipse cx='15' cy='15.2' rx='6' ry='2.3'/%3E%3Cpath d='M9 11.8v3.4c0 1.3 2.7 2.3 6 2.3s6-1 6-2.3v-3.4'/%3E%3Cellipse cx='15' cy='11.8' rx='6' ry='2.3'/%3E%3Cpath d='M9 8.4v3.4c0 1.3 2.7 2.3 6 2.3s6-1 6-2.3V8.4'/%3E%3Cellipse cx='15' cy='8.4' rx='6' ry='2.3'/%3E%3Ccircle cx='7.2' cy='15.6' r='5'/%3E%3C/g%3E%3Cpath d='M7.2 12.6v6M5.8 13.9h2.2a1 1 0 0 1 0 2H6.4a1 1 0 0 0 0 2h2.2' stroke='%235a3d0c' stroke-width='.9' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"),radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%)}
#minerInfoModal.atf-lvlx .lvlx-ic[data-ic="wallet"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M4.5 6.5h12.8a1 1 0 0 0-1-1.6L6 3.6A2 2 0 0 0 4.5 4.2z'/%3E%3Crect x='2.6' y='6.2' width='18.6' height='13.6' rx='2.6' fill='url(%23g)'/%3E%3Crect x='14.2' y='10.6' width='7.6' height='4.8' rx='2.2' fill='%235a3d0c'/%3E%3Ccircle cx='16.8' cy='13' r='1.1' fill='%23ffe08a'/%3E%3C/svg%3E"),radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%)}
#minerInfoModal.atf-lvlx .lvlx-ic[data-ic="lock"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7.6 10V7.6a4.4 4.4 0 0 1 8.8 0V10' fill='none' stroke='url(%23g)' stroke-width='2.4'/%3E%3Crect x='4.6' y='9.6' width='14.8' height='12' rx='2.6' fill='url(%23g)'/%3E%3Ccircle cx='12' cy='14.6' r='1.7' fill='%235a3d0c'/%3E%3Crect x='11.1' y='15.4' width='1.8' height='3.4' rx='.9' fill='%235a3d0c'/%3E%3C/svg%3E"),radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%)}
#minerInfoModal.atf-lvlx.lvlx-unlocked .lvlx-ic[data-ic="lock"]{opacity:.5}
#minerInfoModal.atf-lvlx .w-actions{gap:10px!important;margin-top:11px!important}
#minerInfoModal.atf-lvlx .w-actions .w-btn{height:46px;border-radius:15px;font-size:16px;font-weight:900;letter-spacing:.2px}
#minerInfoModal.atf-lvlx #minerInfoCancelBtn{background:linear-gradient(180deg,#1b160e,#0b0906) padding-box,linear-gradient(180deg,#e9c36c,#8a6422) border-box;border:1.5px solid transparent;color:#f2dca6}
#minerInfoModal.atf-lvlx #minerInfoBuyBtn{flex:1.25;background:linear-gradient(180deg,#fff0b5 0%,#ffd45e 38%,#f0ae2c 70%,#c8841a 100%);color:#1a1205;border:0;
  box-shadow:0 0 14px rgba(255,190,60,.45),inset 0 1px 0 rgba(255,255,255,.7),inset 0 -2px 0 rgba(120,70,0,.35)}
#minerInfoModal.atf-lvlx #minerInfoBuyBtn .lvlx-chev{display:inline-block;margin-left:8px;font-size:22px;line-height:0;transform:translateY(1px)}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_MINER_STORE_UI_V1_3 — Miner Store like the reference (V1.2: new artwork, no subtitle; V1.3: gold chart icon + chevron on "Tap to view"; V1.4: pulsing gold glow around NEED): artwork header/background, gold PNL card,
   miner artwork in every card (green = your level, gold = locked). Static: no animations, no filters, no blur. */
body.atf-ms-v1.atf-on-miners-tab::before{background:#050403!important;filter:none!important}
body.atf-ms-v1 #tab-miners{position:relative}
/* artwork is normal scrolling content (keeps GPU-composited scrolling smooth) */
body.atf-ms-v1.atf-on-miners-tab #tab-miners::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:calc(-1 * var(--atf-ms-off,15px));
  left:calc(50% - var(--atf-ms-w,390px) / 2);width:var(--atf-ms-w,390px);aspect-ratio:720/1563;background:url("../atf_ms_bg_v2.webp?v=1") center top/100% auto no-repeat}
body.atf-ms-v1 #tab-miners > .section-header{display:none!important}
body.atf-ms-v1 #tab-miners > .section-header + div{display:none!important}
body.atf-ms-v1 #tab-miners > #minerGrid{margin-top:max(0px,calc(var(--atf-ms-w,390px)*0.45 - var(--atf-ms-off,15px)))}
/* PNL card */
body.atf-ms-v1 #minerGrid .miner-pnl-card{border:1px solid rgba(226,184,96,.55)!important;
  background:radial-gradient(circle at 80% 0%,rgba(255,190,70,.07),transparent 40%),linear-gradient(180deg,rgba(10,9,7,.94),rgba(6,5,4,.96))!important;
  box-shadow:0 0 16px rgba(255,180,50,.12),0 14px 30px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,230,170,.06)!important}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-card-glow{display:none!important}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-card-cta{margin-top:10px!important;color:#ece5d4!important;font-size:13.5px;font-weight:600;gap:10px}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-card-cta>span:first-child{display:inline-flex;align-items:center;gap:10px}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-card-cta>span:first-child::before{content:"";flex:0 0 30px;width:30px;height:30px;border-radius:50%;box-sizing:border-box;border:1.5px solid #d9ab4f;background:center/17px 17px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='4.2' y='11' width='3' height='8.5' rx='1' fill='url(%23g)'/%3E%3Crect x='9' y='7.5' width='3' height='12' rx='1' fill='url(%23g)'/%3E%3Crect x='13.8' y='9.5' width='3' height='10' rx='1' fill='url(%23g)'/%3E%3Crect x='18.4' y='5' width='2.2' height='14.5' rx='1' fill='url(%23g)' opacity='.9'/%3E%3Ccircle cx='5.7' cy='7.2' r='1.3' fill='url(%23g)'/%3E%3Ccircle cx='15.3' cy='5.6' r='1.3' fill='url(%23g)'/%3E%3C/svg%3E"),radial-gradient(circle at 50% 35%,#2a2114,#0d0b07 70%)}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-cta-arrow{font-size:0!important;width:20px;height:20px;background:center/20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 5.5 15.5 12 9 18.5' fill='none' stroke='url(%23g)' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* cards */
body.atf-ms-v1 #minerGrid{gap:12px}
body.atf-ms-v1 #minerGrid .miner-card{padding:0 10px 12px!important;border-radius:20px!important;border:1px solid rgba(206,160,70,.42)!important;border-bottom-width:1px!important;
  background:linear-gradient(180deg,#0c0a07,#070605)!important;box-shadow:0 8px 18px rgba(0,0,0,.45)!important;transform:none!important;animation:none!important;opacity:1!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card::before{content:""!important;position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto;z-index:0!important;
  width:calc(100% + 20px);margin:0 -10px -30px;aspect-ratio:3/2;border-radius:19px 19px 0 0;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,6,5,0) 52%,rgba(7,6,5,.8) 82%,#070605 100%),url("../atf_ms_miner_gold_v1.webp?v=1") center/cover no-repeat!important}
body.atf-ms-v1 #minerGrid .miner-card.current::before{background:linear-gradient(180deg,rgba(7,6,5,0) 52%,rgba(7,6,5,.8) 82%,#070605 100%),url("../atf_ms_miner_green_v1.webp?v=1") center/cover no-repeat!important}
body.atf-ms-v1 #minerGrid .miner-card::after{display:none!important}
body.atf-ms-v1 #minerGrid .miner-card.current{border-color:#23d98c!important;box-shadow:0 0 0 1px rgba(35,217,140,.22),0 0 16px rgba(35,217,140,.26),0 8px 18px rgba(0,0,0,.45)!important}
body.atf-ms-v1 #minerGrid .miner-card.next{border-color:#f0c25a!important;box-shadow:0 0 0 1px rgba(240,194,90,.25),0 0 16px rgba(255,186,60,.3),0 8px 18px rgba(0,0,0,.45)!important}
body.atf-ms-v1 #minerGrid .miner-level-badge{top:9px;left:9px;font-size:11px;font-weight:700;color:#efe9dc;padding:3px 8px;border-radius:8px;background:rgba(10,9,7,.72);border:1px solid rgba(255,255,255,.12)}
/* price pill */
body.atf-ms-v1 #minerGrid .miner-price-display{margin:0 auto 8px!important;min-height:42px;min-width:0;width:78%;padding:5px 10px!important;border-radius:14px;
  background:rgba(8,7,5,.9)!important;border:1.5px solid rgba(230,186,96,.8)!important;box-shadow:0 0 12px rgba(255,186,60,.18),inset 0 1px 0 rgba(255,230,170,.1)!important;text-shadow:none!important;color:#ffd968!important;filter:none!important;opacity:1!important}
body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-number{font-size:29px;color:transparent!important;background:linear-gradient(180deg,#fff4cc 0%,#ffd768 50%,#d9992b 100%);-webkit-background-clip:text;background-clip:text;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-dollar,body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-suffix{color:#f4c95d!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-display{border-color:#23d98c!important;box-shadow:0 0 12px rgba(35,217,140,.22),inset 0 1px 0 rgba(160,255,210,.1)!important}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-number{background:linear-gradient(180deg,#b9ffdf 0%,#3df0a2 50%,#16b874 100%);-webkit-background-clip:text;background-clip:text}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-dollar,body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-suffix{color:#5ff2b2!important}
/* speed row */
body.atf-ms-v1 #minerGrid .miner-stats-row{font-size:11.5px!important;color:#b9b2a3!important;padding:0 2px!important;margin-bottom:0!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-stats-row .stat-val{color:#f4c95d!important;font-weight:800}
/* buttons */
body.atf-ms-v1 #minerGrid .miner-action-btn{margin-top:9px;min-height:36px;border-radius:11px;font-size:11.5px;font-weight:900;letter-spacing:.2px;animation:none!important;transform:none!important;filter:none!important}
body.atf-ms-v1 #minerGrid .miner-action-btn::after{display:none!important}
body.atf-ms-v1 #minerGrid .btn-active{background:linear-gradient(180deg,#7dffc4 0%,#22d98c 50%,#0fa865 100%)!important;color:#02150c!important;box-shadow:0 0 12px rgba(35,217,140,.35),inset 0 1px 0 rgba(255,255,255,.55)!important;font-size:13px}
body.atf-ms-v1 #minerGrid .btn-buy{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px!important;background:linear-gradient(180deg,#fff0b0 0%,#ffd35a 42%,#efab2a 75%,#c98419 100%)!important;color:#1a1205!important;
  box-shadow:0 0 12px rgba(255,186,60,.35),inset 0 1px 0 rgba(255,255,255,.65),inset 0 -2px 0 rgba(120,70,0,.3)!important;white-space:nowrap}
body.atf-ms-v1 #minerGrid .atf-ms-lock{flex:0 0 13px;width:13px;height:15px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M5 10V7a5 5 0 0 1 10 0v3' fill='none' stroke='%231a1205' stroke-width='2.6'/%3E%3Crect x='2' y='10' width='16' height='13' rx='3' fill='%231a1205'/%3E%3C/svg%3E")}
body.atf-ms-v1 #minerGrid .btn-locked{background:linear-gradient(180deg,rgba(26,22,15,.95),rgba(12,10,7,.95))!important;border:1px solid rgba(206,160,70,.45)!important;box-shadow:inset 0 1px 0 rgba(255,230,170,.06)!important}
body.atf-ms-v1 #minerGrid .btn-locked .btn-lock-icon{font-size:0;width:22px;height:22px;border:0;box-shadow:none;filter:none;background:center/15px 17px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 10V7a5 5 0 0 1 10 0v3' fill='none' stroke='url(%23g)' stroke-width='2.6'/%3E%3Crect x='2' y='10' width='16' height='13' rx='3' fill='url(%23g)'/%3E%3C/svg%3E")}
body.atf-ms-v1 #minerGrid .usd-sub{margin-top:7px;font-size:12px;font-weight:700;color:#efe6cf!important;white-space:nowrap}
body.atf-ms-v1 #minerGrid .usd-sub b{color:#3ee89a;font-weight:900}
/* V1.4: gold glow around the NEED button that fades in/out. Only OPACITY of a pre-drawn glow layer is
   animated (GPU-composited, no repaint), so it costs almost nothing; it stops when the tab is hidden. */
body.atf-ms-v1 #minerGrid .btn-buy{position:relative;overflow:visible!important}
body.atf-ms-v1 #minerGrid .btn-buy::before{content:"";position:absolute;inset:-1px;border-radius:12px;pointer-events:none;
  box-shadow:0 0 0 1.5px rgba(255,226,120,.95),0 0 16px 4px rgba(255,186,40,.75);opacity:.12;will-change:opacity;animation:atfMsNeedGlow 1.6s ease-in-out infinite}
@keyframes atfMsNeedGlow{0%,100%{opacity:.12}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){body.atf-ms-v1 #minerGrid .btn-buy::before{animation:none;opacity:.6}}
/* V1.1 smoother scrolling: off-screen locked cards are skipped by the browser (content-visibility),
   no blur-shadows / gradient-text on the many locked cards (cheaper to draw while scrolling) */
body.atf-ms-v1 #minerGrid .miner-card.locked{content-visibility:auto;contain-intrinsic-size:auto 206px;box-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card.locked .miner-price-display{box-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card.locked .miner-price-number{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#ffd760!important}
body.atf-ms-v1 #minerGrid .btn-locked{box-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card:active{border-color:#ffd968!important}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_MINER_STORE_UI_V1 — Miner Store like the reference: artwork header/background, gold PNL card,
   miner artwork in every card (green = your level, gold = locked). Static: no animations, no filters, no blur. */
body.atf-ms-v1.atf-on-miners-tab::before{background:#050403!important;filter:none!important}
body.atf-ms-v1 #tab-miners{position:relative}
/* artwork is normal scrolling content (keeps GPU-composited scrolling smooth) */
body.atf-ms-v1.atf-on-miners-tab #tab-miners::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:calc(-1 * var(--atf-ms-off,15px));
  left:calc(50% - var(--atf-ms-w,390px) / 2);width:var(--atf-ms-w,390px);aspect-ratio:720/1563;background:url("../atf_ms_bg_v1.webp?v=1") center top/100% auto no-repeat}
body.atf-ms-v1 #tab-miners > .section-header{display:none!important}
body.atf-ms-v1 #tab-miners > .section-header + div{align-self:stretch;text-align:left!important;color:#d9d3c6!important;font-size:12.5px!important;font-weight:500;
  margin:max(0px,calc(var(--atf-ms-w,390px)*0.345 - var(--atf-ms-off,15px))) 0 calc(var(--atf-ms-w,390px)*0.07) calc(var(--atf-ms-w,390px)*0.088 - 15px)!important;
  text-shadow:0 1px 3px rgba(0,0,0,.9)}
/* PNL card */
body.atf-ms-v1 #minerGrid .miner-pnl-card{border:1px solid rgba(226,184,96,.55)!important;
  background:radial-gradient(circle at 80% 0%,rgba(255,190,70,.07),transparent 40%),linear-gradient(180deg,rgba(10,9,7,.94),rgba(6,5,4,.96))!important;
  box-shadow:0 0 16px rgba(255,180,50,.12),0 14px 30px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,230,170,.06)!important}
body.atf-ms-v1 #minerGrid .miner-pnl-card .pnl-card-glow{display:none!important}
/* cards */
body.atf-ms-v1 #minerGrid{gap:12px}
body.atf-ms-v1 #minerGrid .miner-card{padding:0 10px 12px!important;border-radius:20px!important;border:1px solid rgba(206,160,70,.42)!important;border-bottom-width:1px!important;
  background:linear-gradient(180deg,#0c0a07,#070605)!important;box-shadow:0 8px 18px rgba(0,0,0,.45)!important;transform:none!important;animation:none!important;opacity:1!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card::before{content:""!important;position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto;z-index:0!important;
  width:calc(100% + 20px);margin:0 -10px -30px;aspect-ratio:3/2;border-radius:19px 19px 0 0;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,6,5,0) 52%,rgba(7,6,5,.8) 82%,#070605 100%),url("../atf_ms_miner_gold_v1.webp?v=1") center/cover no-repeat!important}
body.atf-ms-v1 #minerGrid .miner-card.current::before{background:linear-gradient(180deg,rgba(7,6,5,0) 52%,rgba(7,6,5,.8) 82%,#070605 100%),url("../atf_ms_miner_green_v1.webp?v=1") center/cover no-repeat!important}
body.atf-ms-v1 #minerGrid .miner-card::after{display:none!important}
body.atf-ms-v1 #minerGrid .miner-card.current{border-color:#23d98c!important;box-shadow:0 0 0 1px rgba(35,217,140,.22),0 0 16px rgba(35,217,140,.26),0 8px 18px rgba(0,0,0,.45)!important}
body.atf-ms-v1 #minerGrid .miner-card.next{border-color:#f0c25a!important;box-shadow:0 0 0 1px rgba(240,194,90,.25),0 0 16px rgba(255,186,60,.3),0 8px 18px rgba(0,0,0,.45)!important}
body.atf-ms-v1 #minerGrid .miner-level-badge{top:9px;left:9px;font-size:11px;font-weight:700;color:#efe9dc;padding:3px 8px;border-radius:8px;background:rgba(10,9,7,.72);border:1px solid rgba(255,255,255,.12)}
/* price pill */
body.atf-ms-v1 #minerGrid .miner-price-display{margin:0 auto 8px!important;min-height:42px;min-width:0;width:78%;padding:5px 10px!important;border-radius:14px;
  background:rgba(8,7,5,.9)!important;border:1.5px solid rgba(230,186,96,.8)!important;box-shadow:0 0 12px rgba(255,186,60,.18),inset 0 1px 0 rgba(255,230,170,.1)!important;text-shadow:none!important;color:#ffd968!important;filter:none!important;opacity:1!important}
body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-number{font-size:29px;color:transparent!important;background:linear-gradient(180deg,#fff4cc 0%,#ffd768 50%,#d9992b 100%);-webkit-background-clip:text;background-clip:text;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-dollar,body.atf-ms-v1 #minerGrid .miner-price-display .miner-price-suffix{color:#f4c95d!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-display{border-color:#23d98c!important;box-shadow:0 0 12px rgba(35,217,140,.22),inset 0 1px 0 rgba(160,255,210,.1)!important}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-number{background:linear-gradient(180deg,#b9ffdf 0%,#3df0a2 50%,#16b874 100%);-webkit-background-clip:text;background-clip:text}
body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-dollar,body.atf-ms-v1 #minerGrid .miner-card.current .miner-price-suffix{color:#5ff2b2!important}
/* speed row */
body.atf-ms-v1 #minerGrid .miner-stats-row{font-size:11.5px!important;color:#b9b2a3!important;padding:0 2px!important;margin-bottom:0!important;text-shadow:none!important}
body.atf-ms-v1 #minerGrid .miner-stats-row .stat-val{color:#f4c95d!important;font-weight:800}
/* buttons */
body.atf-ms-v1 #minerGrid .miner-action-btn{margin-top:9px;min-height:36px;border-radius:11px;font-size:11.5px;font-weight:900;letter-spacing:.2px;animation:none!important;transform:none!important;filter:none!important}
body.atf-ms-v1 #minerGrid .miner-action-btn::after{display:none!important}
body.atf-ms-v1 #minerGrid .btn-active{background:linear-gradient(180deg,#7dffc4 0%,#22d98c 50%,#0fa865 100%)!important;color:#02150c!important;box-shadow:0 0 12px rgba(35,217,140,.35),inset 0 1px 0 rgba(255,255,255,.55)!important;font-size:13px}
body.atf-ms-v1 #minerGrid .btn-buy{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px!important;background:linear-gradient(180deg,#fff0b0 0%,#ffd35a 42%,#efab2a 75%,#c98419 100%)!important;color:#1a1205!important;
  box-shadow:0 0 12px rgba(255,186,60,.35),inset 0 1px 0 rgba(255,255,255,.65),inset 0 -2px 0 rgba(120,70,0,.3)!important;white-space:nowrap}
body.atf-ms-v1 #minerGrid .atf-ms-lock{flex:0 0 13px;width:13px;height:15px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M5 10V7a5 5 0 0 1 10 0v3' fill='none' stroke='%231a1205' stroke-width='2.6'/%3E%3Crect x='2' y='10' width='16' height='13' rx='3' fill='%231a1205'/%3E%3C/svg%3E")}
body.atf-ms-v1 #minerGrid .btn-locked{background:linear-gradient(180deg,rgba(26,22,15,.95),rgba(12,10,7,.95))!important;border:1px solid rgba(206,160,70,.45)!important;box-shadow:inset 0 1px 0 rgba(255,230,170,.06)!important}
body.atf-ms-v1 #minerGrid .btn-locked .btn-lock-icon{font-size:0;width:22px;height:22px;border:0;box-shadow:none;filter:none;background:center/15px 17px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1b8'/%3E%3Cstop offset='.5' stop-color='%23f4c44e'/%3E%3Cstop offset='1' stop-color='%23b8791c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 10V7a5 5 0 0 1 10 0v3' fill='none' stroke='url(%23g)' stroke-width='2.6'/%3E%3Crect x='2' y='10' width='16' height='13' rx='3' fill='url(%23g)'/%3E%3C/svg%3E")}
body.atf-ms-v1 #minerGrid .usd-sub{margin-top:7px;font-size:12px;font-weight:700;color:#efe6cf!important;white-space:nowrap}
body.atf-ms-v1 #minerGrid .usd-sub b{color:#3ee89a;font-weight:900}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_LVL_PROMO_V1 — gold X on the level popup */
#minerInfoModal .lvlx-close{position:absolute;top:10px;right:10px;z-index:6;width:32px;height:32px;padding:0;border-radius:50%;box-sizing:border-box;cursor:pointer;
  border:1.5px solid #d9ab4f;background:rgba(10,8,5,.78) center/13px 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2 2 12' stroke='%23f4c95d' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow:0 0 8px rgba(255,190,70,.25)}


/* --- Extracted Body Pilot UI Style Block --- */


/* ATF_NAV_SMOOTH_V1 (build 3) */
/* sections fade in quickly (opacity only: runs on the graphics chip, no movement, no layout work) */
.view-section{animation:atfTabFade .18s cubic-bezier(.2,.7,.2,1)!important}
@keyframes atfTabFade{from{opacity:0}to{opacity:1}}
/* the bottom padding value is only used by the scroll area: do not let it ripple through the whole page */
@property --content-extra-bottom{syntax:'<length>';inherits:false;initial-value:185px}
.bottom-nav .nav-item{touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.bottom-nav .nav-item .nav-icon{transition:transform .09s ease-out}
.bottom-nav .nav-item.atf-nav-press .nav-icon{transform:translateZ(0) scale(.88)}
