:root{
  --bg:#f6f7fb;
  --card:#fff;
  --text:#1b1c20;
  --muted:#8b9099;
  --line:#eceef3;
  --red:#e34a43;
  --red-soft:#fceceb;
  --green:#2f9e63;
  --green-soft:#eaf6ef;
  --blue:#5d7cf5;
  --blue-soft:#eef2ff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background-color:var(--bg);
  background-image:
    linear-gradient(180deg,rgba(246,247,251,.55),rgba(246,247,251,.9) 35%,rgba(246,247,251,.97) 70%,#f6f7fb 100%),
    url("../images/body_bg.webp");
  background-repeat:no-repeat;
  background-position:top center;
  background-size:cover;
  color:var(--text);
  font:12px/1.45 Arial,"Microsoft YaHei","PingFang SC",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:1370px;min-width:1370px;margin:0 auto}

/* header */
.header{
  height:50px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(237,238,244,.72),rgba(242,243,248,.55));
}
.nav-left,.nav-right{display:flex;align-items:center;position:relative;z-index:1}
.brand{display:flex;align-items:center;gap:7px;margin-right:28px}
.brand svg{width:22px;height:22px}
.brand span{font-size:12px;font-weight:700;letter-spacing:.3px}
.nav{display:flex;align-items:center;gap:22px}
.nav a{font-size:11px;color:#33363d;white-space:nowrap}
.nav a.active{color:var(--red);font-weight:600;position:relative;padding-bottom:9px}
.nav a.active::after{content:"";position:absolute;left:2px;right:2px;bottom:0;height:2px;background:var(--red);border-radius:1px}
.new-tag{display:inline-block;background:var(--red);color:#fff;font-size:7px;line-height:1;padding:2px 3px;border-radius:2px;margin-left:3px;vertical-align:2px;font-weight:700}
.nav-right{gap:12px;font-size:11px;color:#33363d}
.nav-right .divider{color:#c7cbd2}
.connect{background:#d7dce4;color:#6e7480;border-radius:3px;padding:6px 10px;font-size:10px}
.icon-btn{width:26px;height:26px;border-radius:50%;border:1px solid #e6e8ed;background:#fff;display:flex;align-items:center;justify-content:center;position:relative}
.icon-btn .dot{position:absolute;right:0;top:0;width:6px;height:6px;background:var(--red);border-radius:50%;border:1px solid #fff}

/* search */
.search-wrap{padding-top:17px}
.trending{display:flex;align-items:center;gap:10px;color:#9a9fa7;font-size:9px;height:18px;margin-top:4px;padding-left:2px}
.trending a{color:#4a4e56}
.trending .coin{font-size:10px;margin-right:2px}
.search-bar{
  height:40px;background:#fff;border-radius:4px;
  box-shadow:0 1px 3px rgba(28,35,54,.08);
  display:flex;align-items:center;padding:0 12px;gap:10px;
}
.search-bar input{flex:1;border:0;outline:0;font-size:11px;color:#333;background:transparent}
.search-bar input::placeholder{color:#9ca1a9}
.search-key{width:18px;height:18px;border:1px solid #e4e7ec;border-radius:3px;color:#8f949d;display:flex;align-items:center;justify-content:center;font-size:10px}
.search-all{height:22px;border:1px solid #e4e7ec;border-radius:3px;padding:0 8px;display:flex;align-items:center;gap:6px;font-size:10px;color:#4a4e56}

/* generic */
.card{background:var(--card);border:1px solid var(--line);border-radius:4px}
.section-title{display:flex;align-items:center;justify-content:space-between;margin:18px 0 8px;font-size:13px;font-weight:700}
.section-title .right{font-weight:400;font-size:10px;color:#959aa3;display:flex;gap:14px;align-items:center}
.muted{color:var(--muted)}
.up{color:var(--green)}
.down{color:var(--red)}
.badge{display:inline-block;font-size:9px;padding:1px 4px;border-radius:2px;line-height:1.4}
.badge.green{background:var(--green-soft);color:var(--green)}
.badge.red{background:var(--red-soft);color:var(--red)}
.more-link{color:#959aa3;font-size:10px}

/* stats */
.stats-grid{display:grid;grid-template-columns:2.07fr 1fr;gap:16px;margin-top:10px}
.stat-card{padding:10px 16px}
.stat-row{display:grid;grid-template-columns:1fr 1fr;row-gap:18px}
.stat-item{display:grid;grid-template-columns:20px 1fr;column-gap:8px}
.stat-item .ico{color:#363a42;padding-top:2px}
.stat-label{font-size:10px;color:#9a9fa7;display:flex;justify-content:space-between;padding-right:2px}
.stat-value{font-size:17px;font-weight:700;letter-spacing:-.2px;line-height:1.25}
.stat-change{font-size:10px}
.stat-foot{display:flex;gap:20px;margin-top:16px;font-size:9px;color:#9a9fa7}
.stat-foot b{color:#33373e;font-weight:600;font-size:10px}

.trx-card{padding:10px 14px}
.trx-top{display:flex;align-items:center;gap:9px}
.trx-logo{width:30px;height:30px;background:#e6232d;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;flex:none}
.trx-price-block{display:flex;flex-direction:column;line-height:1.15}
.trx-name{font-size:13px;font-weight:700}
.trx-price{font-size:15px;font-weight:700;display:flex;align-items:center;gap:6px;margin-top:2px}
.trx-change{display:inline-flex;align-items:center;gap:2px;background:var(--red-soft);color:var(--red);font-size:8px;padding:2px 4px;border-radius:2px;white-space:nowrap;flex:none}
.trx-volume{margin-left:auto;text-align:right;font-size:9px;color:#9a9fa7;line-height:1.6}
.trx-volume b{color:#33373e;font-size:10px}
.trx-main{display:grid;grid-template-columns:1fr 118px;gap:10px;margin-top:11px;align-items:end}
.trx-spark{height:70px;position:relative}
.trx-supply{display:flex;flex-direction:column;gap:12px;text-align:right;transform:translateY(10px)}
.trx-supply div{font-size:9px;color:#9a9fa7;line-height:1.5}
.trx-supply b{display:block;font-size:13px;color:#25282e}
.trx-bottom{display:flex;justify-content:space-between;font-size:9px;color:#9a9fa7;margin-top:4px}
.trx-bottom span:last-child{color:var(--green)}

/* blocks */
.blocks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.block-card{padding:12px;min-height:92px}
.block-top{display:flex;justify-content:space-between;font-size:10px}
.block-top b{font-size:11px}
.block-top a{color:#6d727b}
.block-mid{display:flex;justify-content:space-between;margin-top:4px;font-size:9px;color:#9a9fa7}
.block-mid span:last-child{color:#555a62}
.block-bottom{display:flex;gap:14px;margin-top:18px;font-size:9px;color:#555a62}
.block-bottom i{font-style:normal;color:#d8a23a;margin-right:2px}

/* transactions */
.tx-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}
.tx-list{padding:6px 14px}
.tx-row{display:grid;grid-template-columns:125px 1fr 90px;gap:8px;align-items:center;min-height:49px;border-bottom:1px solid #f0f1f4}
.tx-row:last-child{border-bottom:0}
.tx-hash{font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-time{font-size:9px;color:#9a9fa7}
.tx-fromto{font-size:10px;line-height:1.55;min-width:0}
.tx-fromto em{font-style:normal;color:#9a9fa7;font-size:9px;margin-right:5px;display:inline-block;width:20px}
.tx-fromto span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:92%}
.tx-amount{text-align:right;font-size:10px;font-weight:700}
.tx-tag{margin-top:3px;background:#eef0f4;color:#5b6069;border-radius:2px;font-size:8px;padding:1px 4px;display:inline-block;font-weight:400;white-space:nowrap}
.tx-chart-card{padding:10px 14px}
.legend{display:flex;align-items:center;gap:10px;font-size:9px;color:#7e848d}
.legend i{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:3px}

/* chart framework */
.chart{position:relative;height:148px;margin-top:10px}
.plot{position:absolute;left:34px;right:2px;top:2px;bottom:20px}
.plot svg{width:100%;height:100%;display:block}
.y-axis{position:absolute;left:0;top:0;bottom:20px;width:32px;display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#9a9fa7;text-align:right;padding-right:4px}
.x-axis{position:absolute;left:34px;right:2px;bottom:0;height:16px;display:flex;justify-content:space-between;font-size:9px;color:#9a9fa7}
.grid line{stroke:#eef0f4;stroke-width:1}

/* TVL */
.tvl-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:20px}
.tvl-chart{padding:12px 14px}
.tvl-headline{font-size:19px;font-weight:700;display:flex;align-items:center;gap:5px}
.help{width:12px;height:12px;border:1px solid #c9cdd4;border-radius:50%;font-size:8px;color:#9a9fa7;display:inline-flex;align-items:center;justify-content:center}
.tvl-chart .chart{height:158px}
.tvl-table{padding:0 0 0 0;overflow:hidden}
.tvl-row{display:grid;grid-template-columns:1.2fr .95fr 1.2fr .8fr;align-items:center;min-height:37px;padding:0 14px;border-bottom:1px solid #f0f1f4;font-size:9px}
.tvl-row:last-child{border-bottom:0}
.tvl-row.is-head{color:#8b9099;background:#fafbfc;font-size:9px;height:30px;min-height:30px}
.project{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600}
.token-icon{width:17px;height:17px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:8px;font-weight:700;flex:none}
.tvl-row .num{text-align:right;font-size:10px;font-weight:600}
.tvl-row .chg{text-align:right;color:var(--red)}
.fake-scroll{position:absolute;right:4px;top:8px;bottom:8px;width:4px;background:#e9ebef;border-radius:2px}
.fake-scroll::after{content:"";position:absolute;left:0;top:8px;width:4px;height:74px;background:#c8ccd4;border-radius:2px}
.tvl-table{position:relative}

/* top tokens */
.top-grid{display:grid;grid-template-columns:1.38fr 1fr;gap:10px}
.token-table{padding:0 14px}
.token-row{display:grid;grid-template-columns:24px 92px 1fr 135px 118px;align-items:center;min-height:41px;border-bottom:1px solid #f0f1f4;font-size:10px}
.token-row:last-child{border-bottom:0}
.token-row.is-head{height:30px;min-height:30px;color:#8b9099;font-size:9px}
.token-row .q{font-size:8px;color:#b3b7be}
.token-name{display:flex;align-items:center;gap:7px;font-weight:600}
.num-r{text-align:right;font-weight:600}
.volume-chart{padding:10px 14px}
.volume-chart .chart{height:152px}

/* tron usdt */
.usdt-grid{display:grid;grid-template-columns:1.38fr 1fr;gap:10px}
.usdt-chart{padding:10px 14px}
.card-title{font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:space-between}
.card-title .sub{font-weight:400;color:#9a9fa7}
.segment{display:flex;border:1px solid #e4e7ec;border-radius:3px;overflow:hidden}
.segment span{padding:2px 7px;font-size:8px;color:#7d838c;background:#fff;cursor:default}
.segment span.on{background:#eef0f4;color:#3a3e46}
.usdt-chart .chart{height:205px}
.usdt-stats{padding:12px 14px;font-size:9px;color:#7d838c}
.usdt-stat{padding:6px 0 12px;border-bottom:1px solid #f0f1f4}
.usdt-stat:last-child{border-bottom:0;padding-bottom:0}
.usdt-stat strong{font-size:10px;color:#25282e}
.usdt stat b{font-size:10px}
.usdt-stat strong+span{margin-left:3px}
.usdt-stat p{margin:7px 0 0;color:#7d838c;line-height:1.6}

/* charts */
.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.chart-card{padding:12px 14px}
.chart-card .chart{height:142px;margin-top:8px}
.chart-card .chart-title{font-size:10px;font-weight:700;display:flex;align-items:center;gap:5px}
.chart-card .chart-sub{font-size:9px;color:#9a9fa7;font-weight:400}
.chart-card .head{display:flex;align-items:center;justify-content:space-between}
.chart-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1f4;margin-top:6px;padding-top:8px;font-size:9px;color:#8b9099}
.chart-foot b{color:#25282e;font-size:10px}
.external{width:11px;height:11px;border:1px solid #cfd3da;border-radius:2px;position:relative;display:inline-block}
.external::after{content:"";position:absolute;right:1px;top:1px;width:5px;height:5px;border-top:1px solid #9aa0a8;border-right:1px solid #9aa0a8;transform:rotate(0deg)}
.view-more{text-align:center;font-size:10px;color:#7d838c;margin:16px 0 22px}

/* footer */
.footer{border-top:1px solid #e9ebf0;padding:18px 0 20px;background:#f6f7fb}
.footer-main{display:grid;grid-template-columns:1.25fr .7fr .7fr .75fr .8fr 24px;gap:14px}
.footer-brand{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}
.footer-brand svg{width:20px;height:20px}
.footer-tagline{font-size:9px;color:#7d838c;margin-top:8px}
.pref{border:1px solid #d9dde3;background:#fff;border-radius:3px;padding:3px 8px;font-size:9px;color:#5d626a}
.footer h4{font-size:10px;margin:0 0 8px;font-weight:600;color:#3a3e46}
.footer ul{list-style:none;padding:0;margin:0;font-size:9px;color:#8b9099;line-height:1.8}
.footer-social{display:flex;gap:10px;margin-top:18px;color:#6c727b;font-size:11px}
.copyright{font-size:8px;color:#a0a5ad;margin-top:10px}
.back-top{width:24px;height:24px;border:1px solid #e1e4e9;background:#fff;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#7d838c;font-size:10px;cursor:pointer}

/* ===== alignment with saved TRONSCAN page ===== */
:root{
  --red:#c23631;
  --green:#2c9e63;
  --line:#f0f1f4;
  --text:#3e3f3a;
  --muted:#91979d;
}
body{
  color:var(--text);
  font:14px/1.45 Arial,"Microsoft YaHei","PingFang SC",sans-serif;
}
.container{
  width:1370px;
  min-width:1370px;
  padding:0 15px;
  margin:0 auto;
}
.card{
  background:#fff;
  border:0;
  border-radius:6px;
}
.section-title{
  height:32px;
  margin:20px 0 10px;
  font-size:18px;
  font-weight:600;
  color:#101010;
}
.section-title .right{
  font-size:12px;
  color:#91979d;
}
.section-title .right a{
  transition:color .2s ease;
}
.section-title .right a:hover{
  color:var(--red);
}
.section-title.top5-title{
  font-size:20px;
  font-weight:700;
}

/* header */
.header{
  height:60px;
  padding:0 30px;
}
.brand{
  gap:6px;
  margin-right:0;
}
.brand svg{
  width:24px;
  height:24px;
}
.brand span{
  font-size:14px;
}
.nav{
  gap:0;
}
.nav a{
  padding:8px 15px;
  font-size:14px;
  color:#3e3f3a;
  transition:color .2s ease,opacity .2s ease;
}
.nav a:hover{
  color:var(--red);
}
.nav a.active{
  padding-bottom:8px;
}
.nav a.active::after{
  left:15px;
  right:15px;
  bottom:0;
}
.new-tag{
  font-size:8px;
  padding:2px 4px;
}
.nav-right{
  gap:16px;
  font-size:14px;
}
.connect{
  padding:7px 14px;
  font-size:14px;
  border-radius:4px;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.connect:hover{
  background:#c9ced7;
  color:#3e3f3a;
}
.icon-btn{
  width:32px;
  height:32px;
  cursor:pointer;
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.icon-btn:hover{
  border-color:#cfd3da;
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(16,16,16,.06);
}
.icon-btn .dot{
  animation:dotPulse 2s ease-out infinite;
}
@keyframes dotPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(194,54,49,.35)}
  50%{box-shadow:0 0 0 5px rgba(194,54,49,0)}
}

/* search */
.search-wrap{padding-top:20px}
.search-bar{
  height:52px;
  padding:0 20px;
  gap:14px;
  border-radius:10px;
  transition:box-shadow .2s ease;
}
.search-bar:focus-within{
  box-shadow:0 0 0 3px rgba(194,54,49,.1),0 4px 14px rgba(16,16,16,.06);
}
.search-bar svg{
  width:18px;
  height:18px;
}
.search-bar input{
  font-size:14px;
}
.search-key{
  width:24px;
  height:24px;
  font-size:12px;
}
.search-all{
  height:32px;
  padding:0 12px;
  font-size:14px;
  cursor:pointer;
  transition:border-color .2s ease,color .2s ease;
}
.search-all:hover{
  border-color:#c9ced7;
  color:#101010;
}
.trending{
  height:20px;
  margin-top:12px;
  gap:16px;
  font-size:12px;
}
.trending .coin{
  font-size:14px;
  margin-right:4px;
}

/* stats */
.stats-grid{
  grid-template-columns:890px 1fr;
  gap:20px;
  margin-top:10px;
}
.stat-card{
  padding:0 20px;
}
.stat-row{
  grid-template-columns:1fr 1fr;
  row-gap:0;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.stat-item{
  grid-template-columns:32px 1fr auto;
  column-gap:10px;
  align-items:start;
  padding:0 20px 18px 0;
  border-right:1px solid var(--line);
  transition:color .2s ease;
}
.stat-item:nth-child(even){
  padding-left:20px;
  padding-right:0;
  border-right:0;
}
.stat-item:nth-child(n+3){
  padding-top:18px;
  padding-bottom:0;
}
.stat-item .ico{
  padding-top:0;
  color:#3e3f3a;
}
.stat-body{
  min-width:0;
}
.stat-label{
  display:block;
  padding:0;
  margin-bottom:6px;
  font-size:14px;
  line-height:16px;
  color:#91979d;
}
.stat-value{
  font-size:20px;
  line-height:24px;
  font-weight:600;
  color:#101010;
  white-space:nowrap;
  transition:color .2s ease;
}
.stat-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  font-size:14px;
  line-height:16px;
  color:#91979d;
}
.stat-period{
  color:#91979d;
}
.stat-change{
  font-size:14px;
  line-height:16px;
}
.stat-item:hover .stat-value{
  color:var(--red);
}
.stat-foot{
  gap:30px;
  padding:12px 0;
  margin:0;
  border:0;
  font-size:13px;
  line-height:24px;
  color:#91979d;
}
.stat-foot b{
  font-size:14px;
  font-weight:500;
  color:#101010;
}

/* trx */
.trx-card{
  height:219px;
  padding:0 20px;
  display:flex;
  flex-direction:column;
}
.trx-top{
  align-items:flex-start;
  padding:20px 0 12px;
}
.trx-logo{
  width:32px;
  height:32px;
}
.trx-name{
  font-size:14px;
  line-height:18px;
}
.trx-price{
  gap:8px;
  margin-top:2px;
  font-size:20px;
  line-height:24px;
}
.trx-change{
  padding:2px 6px;
  font-size:12px;
}
.trx-volume{
  font-size:12px;
  line-height:20px;
}
.trx-volume b{
  font-size:14px;
}
.trx-main{
  flex:1;
  min-height:0;
  margin-top:0;
  grid-template-columns:1fr 120px;
  gap:16px;
  align-items:end;
}
.trx-spark{
  height:100%;
  min-height:90px;
}
.trx-supply{
  gap:12px;
  transform:none;
}
.trx-supply div{
  font-size:12px;
  line-height:16px;
}
.trx-supply b{
  font-size:14px;
}
.trx-bottom{
  margin-top:0;
  padding:8px 0 14px;
  font-size:12px;
}

/* blocks */
.blocks{
  gap:40px;
}
.block-card{
  height:120px;
  min-height:120px;
  padding:20px;
  border-radius:6px;
  transition:transform .3s ease,box-shadow .3s ease;
}
.block-card:hover{
  transform:translateY(-10px);
  box-shadow:0 10px 24px rgba(16,16,16,.08);
}
.block-top{
  align-items:center;
  font-size:14px;
}
.block-top b{
  font-size:16px;
  line-height:24px;
  transition:color .2s ease;
}
.block-top b:hover{
  color:var(--red);
}
.block-top a{
  padding:2px 8px;
  border-radius:5px;
  background:#f2f2f2;
  color:#3e3f3a;
  font-size:12px;
  line-height:16px;
  transition:color .2s ease,background .2s ease;
}
.block-top a:hover{
  color:var(--red);
  background:#ececec;
}
.block-mid{
  margin-top:8px;
  font-size:12px;
  line-height:18px;
}
.block-bottom{
  margin-top:10px;
  font-size:12px;
  line-height:18px;
}

/* transactions */
.tx-grid{
  grid-template-columns:753px 1fr;
  gap:24px;
  padding-top:12px;
}
.tx-list{
  padding:0 8px;
}
.tx-row{
  grid-template-columns:160px 1fr 112px;
  gap:12px;
  min-height:59.6px;
  transition:background .2s ease;
}
.tx-row:hover{
  background:#f7f8fa;
}
.tx-hash{
  font-size:14px;
  font-weight:400;
  color:#101010;
  transition:color .2s ease;
}
.tx-hash:hover{
  color:var(--red);
}
.tx-time{
  margin-top:2px;
  font-size:12px;
}
.tx-fromto{
  font-size:14px;
  line-height:20px;
}
.tx-fromto em{
  width:34px;
  font-size:12px;
}
.tx-amount{
  font-size:14px;
  font-weight:500;
}
.tx-tag{
  margin-top:4px;
  padding:1px 6px;
  border-radius:4px;
  background:#f2f2f2;
  font-size:12px;
}
.tx-chart-card{
  padding:20px;
}
.tx-chart-card .head > span:first-child{
  font-size:16px!important;
}
.tx-chart-card .chart{
  height:200px;
  margin-top:18px;
}
.legend{
  gap:14px;
  font-size:12px;
}

/* lower sections */
.tvl-headline{
  font-size:24px;
}
.tvl-row{
  min-height:48px;
  padding:0 20px;
  font-size:12px;
}
.tvl-row .num{
  font-size:14px;
}
.project{
  font-size:14px;
}
.token-row{
  min-height:54px;
  font-size:14px;
}
.token-row.is-head{
  height:36px;
  min-height:36px;
  font-size:12px;
}
.volume-chart .chart{
  height:172px;
}
.card-title{
  font-size:16px;
}
.usdt-stat{
  font-size:12px;
}
.usdt-stat strong{
  font-size:14px;
}
.usdt-stats{
  font-size:12px;
}
.chart-card .chart-title{
  font-size:16px;
}
.chart-card .chart-sub{
  font-size:12px;
}
.chart-card .chart{
  height:160px;
}
.chart-foot{
  font-size:12px;
}
.chart-foot b{
  font-size:14px;
}
.y-axis,.x-axis{
  font-size:12px;
}
.view-more{
  font-size:12px;
}

/* click ripple */
.ripple-host{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.ripple{
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  background:rgba(194,54,49,.16);
  pointer-events:none;
  animation:rippleEffect .55s ease-out forwards;
  z-index:0;
}
@keyframes rippleEffect{
  to{transform:scale(2.6);opacity:0}
}

/* ===== browser verification gate: Cloudflare 插页 1:1 复刻 ===== */
body.is-verifying{overflow:hidden}
.cf-gate{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  background:#fff;
  color:#313131;
  font:400 16px/1.15 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  -webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:100%;
  transition:opacity .36s ease;
}
.cf-gate.is-hidden{opacity:0;pointer-events:none}
.cf-gate *{box-sizing:border-box;margin:0;padding:0}
.cf-gate .cf-main{display:flex;flex:1;flex-direction:column;align-items:center}
.cf-gate .cf-content{margin:8rem auto;padding:0 2rem;width:100%;max-width:60rem}
.cf-gate .cf-identity{display:flex;gap:16px;align-items:center}
.cf-gate .cf-favicon{width:2rem;height:2rem;margin-right:.5rem}
.cf-gate h1{
  margin:0;
  min-width:0;
  overflow-wrap:anywhere;
  color:#313131;
  font-size:2.5rem;
  font-weight:600;
  line-height:125%;
}
.cf-gate h2{margin:0 0 8px;color:#313131;font-size:1.5rem;font-weight:600;line-height:125%}
.cf-gate p{margin:0 0 8px;color:#595959;font-size:1rem;font-weight:300;line-height:150%}
.cf-gate .cf-title{margin-top:.5rem;margin-bottom:2rem}
.cf-gate .cf-desc{margin-top:2rem;margin-bottom:.5rem}

/* Turnstile 组件（light / normal / 300x65） */
.cf-gate .cf-widget{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:300px;
  max-width:100%;
  height:65px;
  padding:0 10px 0 8px;
  border:1px solid #e0e0e0;
  border-radius:4px;
  background:#fff;
}
.cf-gate .cf-widget-btn{
  display:flex;
  flex:1;
  align-items:center;
  gap:12px;
  height:100%;
  border:0;
  background:transparent;
  color:#1d1d1d;
  font:inherit;
  font-size:14px;
  line-height:1.3;
  text-align:left;
  cursor:pointer;
}
.cf-gate .cf-widget-btn:disabled{cursor:default}
.cf-gate .cf-widget-btn:focus-visible{outline:2px solid #1d1d1d;outline-offset:2px;border-radius:2px}
.cf-gate .cf-check{
  position:relative;
  width:24px;
  height:24px;
  flex:0 0 24px;
  border:2px solid #c1c1c1;
  border-radius:4px;
  background:#fff;
  transition:border-color .2s ease;
}
.cf-gate .cf-check svg{
  position:absolute;
  inset:2px;
  width:auto;
  height:auto;
  opacity:0;
  transition:opacity .2s ease;
}
.cf-gate .cf-check::before{
  content:"";
  position:absolute;
  inset:3px;
  border:2px solid transparent;
  border-top-color:#228b49;
  border-right-color:#228b49;
  border-radius:50%;
  opacity:0;
  transition:opacity .2s ease;
}
.cf-gate.is-checking .cf-check{border-color:transparent}
.cf-gate.is-checking .cf-check svg{opacity:0}
.cf-gate.is-checking .cf-check::before{opacity:1;animation:cfSpin .8s linear infinite}
.cf-gate.is-success .cf-check{border-color:#228b49}
.cf-gate.is-success .cf-check svg{opacity:1}
.cf-gate.is-success .cf-check::before{opacity:0}
.cf-gate .cf-widget-brand{display:flex;align-items:center}
.cf-gate .cf-cloud{width:30px;height:20px;display:block}

/* 验证成功 / 等待源站 */
.cf-gate .cf-success{display:none}
.cf-gate .cf-success-text{margin-top:2rem;margin-bottom:.5rem}
.cf-gate .cf-success-text::after{
  content:"";
  animation:cfDots 1.4s steps(4,end) infinite;
}
.cf-gate .cf-spinner{display:none;height:76.391px;margin:2rem 0}
.cf-gate .cf-ring{display:inline-block;position:relative;width:1.875rem;height:1.875rem}
.cf-gate .cf-ring div{
  box-sizing:border-box;
  display:block;
  position:absolute;
  width:1.875rem;
  height:1.875rem;
  border:.3rem solid;
  border-color:#313131 transparent transparent;
  border-radius:50%;
  animation:cfRing 1.2s cubic-bezier(.5,0,.5,1) infinite;
}
.cf-gate .cf-ring div:nth-child(1){animation-delay:-.45s}
.cf-gate .cf-ring div:nth-child(2){animation-delay:-.3s}
.cf-gate .cf-ring div:nth-child(3){animation-delay:-.15s}
.cf-gate.is-success .cf-widget{display:none}
.cf-gate.is-success .cf-success{display:block}
.cf-gate.is-success .cf-spinner{display:block}

/* 页脚 */
.cf-gate .cf-footer{
  margin:0 auto;
  padding:0 2rem;
  width:100%;
  max-width:60rem;
  font-size:.75rem;
  line-height:1.125rem;
}
.cf-gate .cf-footer-inner{
  display:flex;
  justify-content:center;
  border-top:1px solid #d9d9d9;
  padding:1rem 0;
}
.cf-gate .cf-footer-wrap{text-align:center}
.cf-gate .cf-ray code{font-family:inherit}
.cf-gate .cf-footer-link{display:flex;gap:8px;align-items:center;justify-content:center}
.cf-gate .cf-footer-text{color:#313131}
.cf-gate .cf-footer-divider{border:1px solid #d9d9d9;height:12px}
.cf-gate .cf-footer a{
  display:inline;
  font-size:.75rem;
  color:#0051c3;
  text-decoration:underline;
  cursor:pointer;
}
.cf-gate .cf-footer a:hover{color:#003681}
.cf-gate .cf-footer a:focus-visible,
.cf-gate .cf-footer a:active{outline:2px solid #0051c3;outline-offset:2px;border-radius:2px}

@keyframes cfSpin{to{transform:rotate(360deg)}}
@keyframes cfRing{to{transform:rotate(360deg)}}
@keyframes cfDots{
  0%{content:""}
  25%{content:"."}
  50%{content:".."}
  75%{content:"..."}
  100%{content:""}
}

@media (max-width:720px){
  .cf-gate .cf-content{margin-top:4rem;padding:0 1rem}
  .cf-gate .cf-footer{padding:0 1rem}
  .cf-gate h1{font-size:2rem}
}

@media (prefers-color-scheme: dark){
  .cf-gate{background:#000;color:#f2f2f2}
  .cf-gate h1,.cf-gate h2{color:#f2f2f2}
  .cf-gate p{color:#b6b6b6}
  .cf-gate .cf-footer-inner{border-top-color:#f2f2f2}
  .cf-gate .cf-footer-divider{border-color:#f2f2f2}
  .cf-gate .cf-footer-text{color:#f2f2f2}
  .cf-gate .cf-footer a{color:#82b6ff}
  .cf-gate .cf-footer a:hover{color:#b9d6ff}
  .cf-gate .cf-ring div{border-color:#b6b6b6 transparent transparent}
}

@media (prefers-reduced-motion: reduce){
  .cf-gate,.cf-gate .cf-check,.cf-gate .cf-check svg{transition:none}
  .cf-gate.is-checking .cf-check::before,
  .cf-gate .cf-ring div,
  .cf-gate .cf-success-text::after{animation-duration:.001ms;animation-iteration-count:1}
}
