/* Official TradingView chart presentation in the IGTA-X dark-gold visual system. */
@media(min-width:981px){
  .hero-layout{grid-template-columns:45% 55%}
  .hero-content{max-width:580px}
  .hero h1{font-size:clamp(55px,5.1vw,76px)}
  html[lang="zh-Hans"] .hero h1{font-size:clamp(50px,5.05vw,69px)}
}
.hero-visual{height:630px;margin-right:-16px;align-items:flex-end;padding-bottom:6px}
.terminal-card.tv-terminal{
  transform:none;
  width:99%;max-width:720px;
  border:1px solid rgba(233,189,106,.42);
  background:#0a0c10;
  box-shadow:0 32px 110px #000b,0 0 70px rgba(195,145,65,.09);
}
.terminal-card.tv-terminal:hover{transform:none}
.tv-terminal .terminal-top{height:47px;padding:0 16px}
.tv-terminal .terminal-top strong{font-size:10px;letter-spacing:.12em;color:#e8c789}
.tv-terminal .terminal-demo{font-size:8px;letter-spacing:.09em}
.tv-terminal .chart-wrap.tv-live-chart{
  height:425px;
  margin:10px 11px 0;
  border:1px solid rgba(201,158,80,.21);
  border-radius:12px 12px 0 0;
  background:#0b0d11;
  background-image:none;
  background-clip:padding-box;
  padding:0;box-shadow:none;
  position:relative;overflow:hidden;
}
.tv-terminal .chart-wrap.tv-live-chart:before,
.tv-terminal .chart-wrap.tv-live-chart:after{display:none}
.tv-live-chart .tradingview-widget-container,
.tv-full-body .tradingview-widget-container{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;background:#0b0d11}
.tv-live-chart .tradingview-widget-container__widget,
.tv-full-body .tradingview-widget-container__widget{flex:1;min-height:0;width:100%;height:calc(100% - 22px);overflow:hidden}
.tradingview-widget-copyright{
  height:22px;display:flex;align-items:center;justify-content:flex-end;
  padding:0 8px;background:#0b0d11;
  font:500 9px/1.2 system-ui,sans-serif;
}
.tradingview-widget-copyright a{color:#8e939b;transition:color .2s}
.tradingview-widget-copyright a:hover{color:#d8b46f}
.tv-loading{
  position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:15px;
  background:radial-gradient(circle at 50% 40%,#2a2216,#0b0d11 64%);
  text-align:center;opacity:1;transition:opacity .45s ease;
}
.tv-loading:before{
  content:'';display:block;width:37px;height:37px;
  border:2px solid #7b6541;border-top-color:#f2d18c;border-radius:50%;
  animation:tvSpin 1.1s linear infinite;
}
@keyframes tvSpin{to{transform:rotate(360deg)}}
.tv-loading-title{color:#e1c489;font-size:11px;letter-spacing:.1em;font-weight:750}
.tv-loading-link{color:#e9d3a7;font-size:10px;text-decoration:underline;text-underline-offset:4px}
.tv-loading.loaded{opacity:0;pointer-events:none}
.tv-loading.failed:before{animation:none;border-color:#9b574c}
.tv-terminal .terminal-bottom.tv-card-footer{
  display:flex;justify-content:space-between;align-items:center;
  gap:15px;padding:12px 17px 13px;background:#111319;
  border-top:1px solid rgba(222,178,101,.18)
}
.tv-footer-status{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;color:#eee1c4;letter-spacing:.07em}
.tv-footer-status i,.tv-live-pulse{display:block;width:7px;height:7px;flex:none;background:#78c8a0;border-radius:50%;box-shadow:0 0 11px rgba(78,190,129,.6)}
.tv-footer-status small{font-size:9px;color:#8c8e94;font-weight:600;letter-spacing:0;margin-left:5px}
.tv-expand-button{
  min-height:36px;padding:0 13px;display:inline-flex;align-items:center;gap:14px;
  border:1px solid rgba(244,201,118,.55);border-radius:8px;
  background:rgba(194,143,54,.15);color:#f5d28e;
  font-size:10px;font-weight:800;letter-spacing:.02em;
  transition:background .2s,transform .2s;
}
.tv-expand-button:hover{background:rgba(228,173,69,.27);transform:translateY(-1px)}
.tv-expand-button span{font-size:17px;line-height:1}
.hero-visual .visual-counter{right:18px;top:4px;opacity:.62;z-index:2}

.tv-fullscreen{position:fixed;inset:0;z-index:120;display:none}
.tv-fullscreen.open{display:block}
.tv-full-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(10px)}
.tv-full-panel{
  position:absolute;inset:3vh 3vw;
  display:flex;flex-direction:column;isolation:isolate;
  background:#0b0d11;border:1px solid rgba(221,179,103,.5);
  border-radius:18px;overflow:hidden;
  box-shadow:0 30px 100px rgba(0,0,0,.75);
}
.tv-full-header{
  position:relative;z-index:2;
  flex:none;min-height:60px;padding:12px 24px;
  display:flex;align-items:center;gap:13px;
  border-bottom:1px solid rgba(210,173,102,.24);
  background:linear-gradient(90deg,#171719,#0c0e12)
}
.tv-full-header>div{display:flex;flex-direction:column;gap:3px}
.tv-full-header b{font-size:13px;color:#f5eedf;letter-spacing:.05em}
.tv-full-header small{font-size:8px;color:#b99558;letter-spacing:.18em;font-weight:750}
.tv-gold{color:#dfb76e}
.tv-close-button{
  width:36px;height:36px;margin-left:auto;
  border:1px solid rgba(226,185,109,.38);border-radius:9px;
  background:#1a1919;color:#f2d8a0;font-size:23px;line-height:1;
}
.tv-close-button:hover{background:#3b2e1b}
.tv-full-body{position:relative;z-index:1;flex:1;min-height:0;overflow:hidden;background:#0b0d11}
.tv-full-footer{
  position:relative;z-index:2;
  flex:none;min-height:36px;padding:8px 18px;display:flex;
  align-items:center;justify-content:space-between;gap:12px;
  border-top:1px solid rgba(222,178,100,.15);
  font-size:10px;color:#8e929b;
}
.tv-source-link{color:#e1bf80;font-weight:750;white-space:nowrap}
.tv-source-link:hover{color:#ffe2a4}

@media(max-width:980px){
  .hero-visual{height:650px;margin:0 auto;width:100%}
  .tv-terminal .chart-wrap.tv-live-chart{height:450px}
  .terminal-card.tv-terminal{max-width:750px}
}
@media(max-width:650px){
  .hero-visual{height:490px;width:100%;margin-left:0;align-items:center;padding-bottom:0}
  .terminal-card.tv-terminal{width:100%}
  .tv-terminal .terminal-top{height:41px;padding:0 11px}
  .tv-terminal .terminal-top strong{font-size:8px}
  .tv-terminal .terminal-demo{font-size:7px;padding:4px}
  .tv-terminal .chart-wrap.tv-live-chart{height:335px;margin:7px 7px 0}
  .tv-terminal .terminal-bottom.tv-card-footer{padding:8px 10px}
  .tv-footer-status{font-size:8px;gap:5px}
  .tv-footer-status small{display:none}
  .tv-expand-button{min-height:33px;font-size:9px;padding:0 9px;gap:7px}
  .hero-visual .visual-counter{display:none}
  .tv-full-panel{inset:8px;border-radius:13px}
  .tv-full-header{min-height:53px;padding:9px 11px}
  .tv-full-header b{font-size:10px}
  .tv-full-header small{font-size:7px}
  .tv-full-footer{font-size:8px;padding:8px 10px;line-height:1.35}
  .tv-full-footer .tv-footer-note{max-width:52%}
}
@media(prefers-reduced-motion:reduce){.tv-loading:before{animation:none}}
