/* Single clean TradeXX search popup v10.7.12 */
.gt-search-v10712-lock{overflow:hidden!important}
.gt-search-v10712{
  position:fixed;inset:0;z-index:102000;display:none;align-items:center;justify-content:center;
  padding:24px;background:rgba(15,18,24,.38);backdrop-filter:blur(2px)
}
.gt-search-v10712.is-open{display:flex}
.gt-search-card-v10712{
  width:min(560px,calc(100vw - 32px));height:min(620px,calc(100dvh - 72px));
  min-height:420px;display:flex;flex-direction:column;overflow:hidden;
  background:#fff;border:1px solid #dfe3e8;border-radius:16px;
  box-shadow:0 24px 70px rgba(15,23,42,.25);color:#20242a
}
.gt-search-top-v10712{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;padding:14px 16px 8px}
.gt-search-inputbox-v10712{height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #cfd5dc;border-radius:9px;background:#fff}
.gt-search-inputbox-v10712 svg{width:21px;height:21px;fill:none;stroke:#5d6570;stroke-width:2;flex:0 0 21px}
.gt-search-input-v10712{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#222831;font:600 14px/1.2 inherit}
.gt-search-input-v10712::placeholder{color:#747c86;font-weight:500}
.gt-search-close-v10712{appearance:none;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#555d67;display:grid;place-items:center;font-size:23px;cursor:pointer}
.gt-search-close-v10712:hover{background:#f2f4f6}
.gt-search-tabs-v10712{display:flex;align-items:center;gap:24px;padding:4px 16px 0;border-bottom:1px solid #eceef1;overflow-x:auto;scrollbar-width:none}
.gt-search-tabs-v10712::-webkit-scrollbar{display:none}
.gt-search-tab-v10712{appearance:none;position:relative;flex:0 0 auto;height:43px;padding:0;border:0;background:transparent;color:#666e78;font-size:12px;font-weight:720;cursor:pointer;white-space:nowrap}
.gt-search-tab-v10712.is-active{color:#20242a}
.gt-search-tab-v10712.is-active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#20242a}
.gt-search-title-v10712{padding:10px 16px 4px;color:#58616c;font-size:10px;font-weight:780}
.gt-search-results-v10712{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 10px 10px}
.gt-search-row-v10712{min-height:62px;display:grid;grid-template-columns:40px minmax(0,1fr) auto 36px;align-items:center;gap:10px;padding:7px 8px;border-bottom:1px solid #eef0f2;color:inherit;text-decoration:none}
.gt-search-row-v10712:hover,.gt-search-row-v10712.is-active{background:#f7f8fa}
.gt-search-icon-v10712{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#f1f3f5;color:#616a75}
.gt-search-icon-v10712 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gt-search-name-v10712{min-width:0}
.gt-search-name-v10712 strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#20252b;font-size:13px;font-weight:760;line-height:1.2}
.gt-search-name-v10712 small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#747c86;font-size:10px;line-height:1.2}
.gt-search-quote-v10712{min-width:90px;text-align:right;font-variant-numeric:tabular-nums}
.gt-search-quote-v10712 strong{display:block;font-size:12px;font-weight:760}
.gt-search-quote-v10712 small{display:block;margin-top:3px;font-size:9px;font-weight:700}
.gt-search-up-v10712{color:#168463!important}.gt-search-down-v10712{color:#cc5057!important}.gt-search-flat-v10712{color:#818892!important}
.gt-search-watch-v10712{appearance:none;width:30px;height:30px;padding:0;border:2px solid #555e68;border-radius:50%;background:#fff;color:#3e4751;display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer}
.gt-search-watch-v10712.is-watched{border-color:#d65a61;background:#fff;color:#d65a61;font-size:20px;font-weight:650}
.gt-search-watch-v10712:disabled{opacity:.55}
.gt-search-empty-v10712{min-height:180px;display:grid;place-items:center;padding:26px;color:#858d97;font-size:11px;text-align:center}

@media(max-width:700px){
  .gt-search-v10712{align-items:stretch;justify-content:stretch;padding:0;background:#181818;backdrop-filter:none}
  .gt-search-card-v10712{width:100%;height:100dvh;min-height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none;background:#181818;color:#f1f1f1}
  .gt-search-top-v10712{grid-template-columns:48px minmax(0,1fr);gap:7px;padding:calc(18px + env(safe-area-inset-top,0px)) 14px 12px 8px}
  .gt-search-close-v10712{grid-column:1;grid-row:1;width:44px;height:44px;color:#f1f1f1;font-size:0}
  .gt-search-close-v10712::before{content:"←";font-size:31px;font-weight:600;line-height:1}
  .gt-search-inputbox-v10712{grid-column:2;grid-row:1;height:46px;border:1.5px solid #a36cd4;border-radius:9px;background:#242424}
  .gt-search-inputbox-v10712 svg{width:24px;height:24px;flex-basis:24px;stroke:#f0f0f0}
  .gt-search-input-v10712{color:#f4f4f4;font-size:16px;font-weight:500}
  .gt-search-input-v10712::placeholder{color:#b7b7b7}
  .gt-search-tabs-v10712{gap:30px;padding:12px 22px 0;border-bottom:0}
  .gt-search-tab-v10712{height:55px;color:#a9a9a9;font-size:15px}
  .gt-search-tab-v10712.is-active{color:#f1f1f1}
  .gt-search-tab-v10712.is-active::after{left:0;right:auto;width:34px;bottom:6px;height:3px;background:#f1f1f1}
  .gt-search-title-v10712{padding:17px 22px 10px;color:#efefef;font-size:16px}
  .gt-search-results-v10712{padding:0 14px calc(16px + env(safe-area-inset-bottom,0px))}
  .gt-search-row-v10712{min-height:74px;grid-template-columns:52px minmax(0,1fr) auto 36px;gap:12px;padding:8px;border-bottom:1px solid #2b2b2b}
  .gt-search-row-v10712:hover,.gt-search-row-v10712.is-active{background:#202020}
  .gt-search-icon-v10712{width:52px;height:52px;border-radius:10px;background:#252525;color:#777}
  .gt-search-icon-v10712 svg{width:28px;height:28px}
  .gt-search-name-v10712 strong{color:#f1f1f1;font-size:16px;font-weight:650}
  .gt-search-name-v10712 small{margin-top:5px;color:#b7b7b7;font-size:12px}
  .gt-search-quote-v10712{min-width:86px}
  .gt-search-quote-v10712 strong{font-size:16px;font-weight:650}
  .gt-search-quote-v10712 small{margin-top:4px;color:#c6c6c6!important;font-size:12px;font-weight:500}
  .gt-search-watch-v10712{border-color:#f0f0f0;background:transparent;color:#f0f0f0}
  .gt-search-watch-v10712.is-watched{border-color:#e36b70;background:transparent;color:#e36b70}
}
@media(max-width:380px){
  .gt-search-row-v10712{grid-template-columns:44px minmax(0,1fr) 76px 30px;gap:8px;padding-left:4px;padding-right:4px}
  .gt-search-icon-v10712{width:44px;height:44px}
  .gt-search-name-v10712 strong{font-size:14px}.gt-search-name-v10712 small{font-size:10.5px}
  .gt-search-quote-v10712{min-width:76px}.gt-search-quote-v10712 strong{font-size:14px}.gt-search-quote-v10712 small{font-size:10.5px}
}
/* GHANSHYAM_SEARCH_THEME_SPACING_V10714
 * Match the website's normal light theme and prevent the section title from
 * crowding/overlapping the category row.
 */
.gt-search-card-v10712{
  background:#fff!important;
  color:#20242a!important;
  border-color:#e3e6e9!important;
}

.gt-search-top-v10712{
  padding:16px 18px 10px!important;
}

.gt-search-inputbox-v10712{
  background:#fff!important;
  border-color:#dfe3e8!important;
  box-shadow:none!important;
}

.gt-search-input-v10712{
  color:#20242a!important;
}

.gt-search-input-v10712::placeholder{
  color:#8a919a!important;
}

/* Give every search category comfortable spacing and keep the active underline
   inside its own row. */
.gt-search-tabs-v10712{
  min-height:48px!important;
  padding:4px 18px 2px!important;
  gap:26px!important;
  border-bottom:1px solid #eceef1!important;
  background:#fff!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}

.gt-search-tab-v10712{
  height:44px!important;
  padding:0 2px!important;
  color:#6b737d!important;
  font-size:12px!important;
  line-height:44px!important;
}

.gt-search-tab-v10712.is-active{
  color:#20242a!important;
}

.gt-search-tab-v10712.is-active::after{
  bottom:0!important;
}

/* This is the main overlap fix: Trending Now / Search Results is a separate
   normal-flow row below the tabs with its own height and padding. */
.gt-search-title-v10712{
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
  left:auto!important;
  right:auto!important;
  z-index:1!important;
  flex:0 0 auto!important;
  min-height:40px!important;
  display:flex!important;
  align-items:flex-end!important;
  margin:0!important;
  padding:12px 18px 8px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  color:#4f5863!important;
  border:0!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
}

/* Results start after the title and use consistent breathing room. */
.gt-search-results-v10712{
  padding:0 12px 14px!important;
  background:#fff!important;
}

.gt-search-row-v10712{
  min-height:64px!important;
  margin:0!important;
  padding:9px 10px!important;
  gap:11px!important;
  border-bottom:1px solid #eef0f2!important;
  background:#fff!important;
  border-radius:0!important;
}

.gt-search-row-v10712:hover,
.gt-search-row-v10712.is-active{
  background:#f7f8fa!important;
}

.gt-search-icon-v10712{
  background:#f2f4f6!important;
  color:#68717b!important;
}

.gt-search-name-v10712 strong{
  color:#20252b!important;
}

.gt-search-name-v10712 small{
  color:#747c86!important;
}

.gt-search-watch-v10712{
  background:#fff!important;
}

/* Tablet/phone use the same light application theme instead of the temporary
   dark reference mockup. */
@media(max-width:700px){
  .gt-search-v10712{
    align-items:stretch!important;
    justify-content:stretch!important;
    padding:0!important;
    background:#f6f7f9!important;
    backdrop-filter:none!important;
  }

  .gt-search-card-v10712{
    width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:none!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#20242a!important;
  }

  .gt-search-top-v10712{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:8px!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px 6px!important;
    background:#fff!important;
    border-bottom:0!important;
  }

  .gt-search-close-v10712{
    width:40px!important;
    height:40px!important;
    color:#222831!important;
  }

  .gt-search-close-v10712::before{
    font-size:28px!important;
    color:#222831!important;
  }

  .gt-search-inputbox-v10712{
    height:42px!important;
    padding:0 11px!important;
    border:1px solid #d9dde3!important;
    border-radius:9px!important;
    background:#fff!important;
  }

  .gt-search-inputbox-v10712 svg{
    width:22px!important;
    height:22px!important;
    flex-basis:22px!important;
    stroke:#59616b!important;
  }

  .gt-search-input-v10712{
    color:#20242a!important;
    font-size:14px!important;
  }

  .gt-search-input-v10712::placeholder{
    color:#8a919a!important;
  }

  .gt-search-tabs-v10712{
    min-height:50px!important;
    gap:24px!important;
    padding:2px 16px 2px!important;
    border-bottom:1px solid #eceef1!important;
    background:#fff!important;
  }

  .gt-search-tab-v10712{
    height:46px!important;
    line-height:46px!important;
    padding:0 1px!important;
    color:#777f89!important;
    font-size:13px!important;
  }

  .gt-search-tab-v10712.is-active{
    color:#20242a!important;
  }

  .gt-search-tab-v10712.is-active::after{
    left:0!important;
    right:0!important;
    width:auto!important;
    bottom:0!important;
    height:2px!important;
    background:#20242a!important;
  }

  .gt-search-title-v10712{
    min-height:44px!important;
    align-items:flex-end!important;
    padding:13px 16px 9px!important;
    background:#fff!important;
    color:#3d454f!important;
    font-size:13px!important;
  }

  .gt-search-results-v10712{
    padding:0 10px calc(14px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important;
  }

  .gt-search-row-v10712{
    min-height:68px!important;
    grid-template-columns:46px minmax(0,1fr) auto 34px!important;
    gap:10px!important;
    padding:8px 6px!important;
    border-bottom:1px solid #eceef1!important;
    background:#fff!important;
  }

  .gt-search-row-v10712:hover,
  .gt-search-row-v10712.is-active{
    background:#f7f8fa!important;
  }

  .gt-search-icon-v10712{
    width:46px!important;
    height:46px!important;
    border-radius:9px!important;
    background:#f1f3f5!important;
    color:#747c86!important;
  }

  .gt-search-icon-v10712 svg{
    width:25px!important;
    height:25px!important;
  }

  .gt-search-name-v10712 strong{
    color:#20252b!important;
    font-size:14px!important;
    font-weight:700!important;
  }

  .gt-search-name-v10712 small{
    margin-top:4px!important;
    color:#7a828c!important;
    font-size:11px!important;
  }

  .gt-search-quote-v10712{
    min-width:78px!important;
  }

  .gt-search-quote-v10712 strong{
    font-size:14px!important;
  }

  .gt-search-quote-v10712 small{
    margin-top:3px!important;
    font-size:10.5px!important;
  }

  .gt-search-watch-v10712{
    width:30px!important;
    height:30px!important;
    border-color:#59616b!important;
    background:#fff!important;
    color:#404852!important;
  }

  .gt-search-watch-v10712.is-watched{
    border-color:#d65a61!important;
    background:#fff!important;
    color:#d65a61!important;
  }

  .gt-search-empty-v10712{
    color:#7d858f!important;
    background:#fff!important;
  }
}

@media(max-width:380px){
  .gt-search-tabs-v10712{
    gap:18px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  .gt-search-tab-v10712{
    font-size:12px!important;
  }

  .gt-search-row-v10712{
    grid-template-columns:42px minmax(0,1fr) 72px 30px!important;
    gap:7px!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }

  .gt-search-icon-v10712{
    width:42px!important;
    height:42px!important;
  }

  .gt-search-name-v10712 strong{
    font-size:13px!important;
  }

  .gt-search-name-v10712 small{
    font-size:10px!important;
  }

  .gt-search-quote-v10712{
    min-width:72px!important;
  }

  .gt-search-quote-v10712 strong{
    font-size:12.5px!important;
  }

  .gt-search-quote-v10712 small{
    font-size:9.5px!important;
  }
}
/* END GHANSHYAM_SEARCH_THEME_SPACING_V10714 */
