:root{
  --bg:#140507;
  --bg2:#1d070a;
  --panel:#260A0E;
  --panel2:#310b11;
  --panel3:#3a0d14;
  --border:#4A151B;
  --border2:#6b2028;
  --gold:#D4AF37;
  --gold2:#F0D987;
  --red:#FF4D4F;
  --green:#52C41A;
  --white:#fff;
  --text:#F0E6D2;
  --muted:#9E8A8F;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(
      circle at 50% -10%,
      #4b111d 0,
      #21080c 30%,
      #140507 65%
    );
  color:var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

button,
input,
select{
  font:inherit;
}

button{
  cursor:pointer;
}


/* HEADER */

.top{
  position:sticky;
  top:0;
  z-index:1000;
  background:
    linear-gradient(
      180deg,
      #650b18 0%,
      #35070d 100%
    );
  border-bottom:1px solid var(--gold);
  box-shadow:0 7px 24px rgba(0,0,0,.42);
}

.top-main{
  max-width:1500px;
  margin:auto;
  min-height:64px;
  padding:8px 18px;
  display:grid;
  grid-template-columns:250px minmax(280px,1fr) auto;
  gap:18px;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:27px;
  color:#470d00;
  background:
    radial-gradient(
      circle at 35% 25%,
      #ffe89a,
      #d19a27 45%,
      #7b3b00
    );
  border:1px solid #f0d66f;
  box-shadow:0 0 17px rgba(212,175,55,.2);
}

.brand-name{
  color:var(--gold2);
  font-size:20px;
  font-weight:900;
}

.brand-domain{
  margin-top:1px;
  color:#e7c770;
  font-size:11px;
  letter-spacing:1px;
}

.search-box{
  position:relative;
}

.search-box input{
  width:100%;
  height:40px;
  padding:0 18px 0 42px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.17);
  outline:none;
  background:rgba(255,255,255,.09);
  color:#fff;
}

.search-box input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,.11);
}

.search-box input::placeholder{
  color:#c8a8ad;
}

.search-icon{
  position:absolute;
  left:16px;
  top:10px;
  color:var(--gold);
}

.search-panel{
  display:none;
  position:absolute;
  top:45px;
  left:0;
  right:0;
  max-height:380px;
  overflow:auto;
  border:1px solid var(--border2);
  border-radius:9px;
  background:#180507;
  box-shadow:0 20px 45px rgba(0,0,0,.6);
}

.search-panel.open{
  display:block;
}

.search-result{
  padding:10px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.05);
  color:#fff;
  text-decoration:none;
}

.search-result:hover{
  background:#360b11;
}

.search-result small{
  color:var(--muted);
}

.top-actions{
  display:flex;
  gap:8px;
}

.top-actions button{
  height:35px;
  padding:0 13px;
  border-radius:6px;
  border:1px solid rgba(212,175,55,.28);
  background:#26080d;
  color:var(--text);
}

.top-actions button:hover{
  color:var(--gold2);
  border-color:var(--gold);
}


/* NAV */

.primary-nav{
  max-width:1500px;
  margin:auto;
  min-height:43px;
  display:flex;
  align-items:stretch;
  overflow-x:auto;
  scrollbar-width:none;
}

.primary-nav::-webkit-scrollbar{
  display:none;
}

.primary-nav button{
  position:relative;
  flex:1 0 110px;
  border:0;
  background:transparent;
  color:var(--text);
  font-weight:700;
}

.primary-nav button::after{
  content:"";
  position:absolute;
  left:28%;
  right:28%;
  bottom:0;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transition:.18s;
  box-shadow:0 0 10px rgba(212,175,55,.75);
}

.primary-nav button.active,
.primary-nav button:hover{
  color:var(--gold2);
}

.primary-nav button.active::after{
  transform:scaleX(1);
}


/* TICKER */

.ticker{
  height:35px;
  border-top:1px solid rgba(255,255,255,.07);
  display:flex;
  align-items:center;
  max-width:1500px;
  margin:auto;
  overflow:hidden;
}

.ticker-title{
  padding:0 14px;
  color:#ffe27e;
  font-size:12px;
  font-weight:800;
}

.ticker-window{
  flex:1;
  overflow:hidden;
  white-space:nowrap;
}

.ticker-track{
  display:inline-block;
  padding-left:100%;
  color:#e7cfd2;
  font-size:11px;
  animation:ticker 28s linear infinite;
}

@keyframes ticker{
  from{transform:translateX(0)}
  to{transform:translateX(-100%)}
}


/* HERO */

.hero-wrap{
  max-width:1500px;
  margin:15px auto 0;
  padding:0 14px;
}

.hero{
  display:grid;
  grid-template-columns:1.65fr .65fr;
  gap:12px;
}

.hero-content{
  min-height:310px;
  position:relative;
  overflow:hidden;
  padding:32px;
  border:1px solid #7c321e;
  border-radius:10px;
  background:
    radial-gradient(
      circle at 30% 45%,
      rgba(175,60,10,.44),
      transparent 26%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(212,175,55,.18),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #240706,
      #4f1208 43%,
      #190403
    );
}

.hero-content::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.25;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 34px,
      rgba(255,189,69,.12) 35px,
      transparent 36px 70px
    );
}

.hero-brand{
  position:relative;
  z-index:2;
  height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
}

.hero-symbol{
  width:170px;
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:110px;
  line-height:1;
  color:#ba160e;
  border:10px solid #d49a2b;
  background:
    radial-gradient(
      circle at 35% 25%,
      #ffe488,
      #b36e12 52%,
      #4e1500
    );
  box-shadow:
    0 0 30px rgba(255,170,40,.28),
    inset 0 0 22px rgba(0,0,0,.55);
}

.hero h1{
  margin:0;
  font-size:58px;
  line-height:1;
  color:#f3c959;
  text-shadow:
    0 3px 0 #6a1b00,
    0 0 18px rgba(255,188,56,.2);
}

.hero-domain{
  margin-top:6px;
  font-size:37px;
  font-weight:900;
  letter-spacing:3px;
  color:#f6d570;
}

.hero p{
  color:#f2db9b;
  letter-spacing:5px;
}

.hero-features{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  height:66px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(212,175,55,.27);
  background:rgba(35,5,5,.7);
}

.hero-features span{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ead8b5;
  font-size:13px;
  border-right:1px solid rgba(212,175,55,.18);
}


/* DRAW */

.draw-panel{
  min-width:0;
  border:1px solid #a15f23;
  border-radius:10px;
  background:
    linear-gradient(
      180deg,
      #420a10,
      #230508
    );
  overflow:hidden;
}

.panel-head{
  height:46px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--gold2);
  border-bottom:1px solid var(--border2);
}

.panel-head span{
  color:var(--muted);
  font-size:11px;
}

.draw-list{
  padding:5px 10px;
}

.draw-row{
  min-height:76px;
  padding:9px 3px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.draw-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:7px;
}

.draw-name{
  color:#fff;
  font-size:12px;
  font-weight:700;
}

.draw-issue{
  color:var(--muted);
  font-size:10px;
}

.balls{
  display:flex;
  align-items:center;
  gap:4px;
}

.ball{
  width:24px;
  height:24px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:10px;
  font-weight:800;
  background:#a51a20;
}

.ball.red{background:#d52229}
.ball.blue{background:#1477c9}
.ball.green{background:#168d41}

.ball.plus{
  width:auto;
  background:none;
  font-size:16px;
}

.loading{
  color:var(--muted);
  padding:25px 10px;
  text-align:center;
}


/* STATS */

.stats{
  max-width:1472px;
  margin:10px auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border);
  border-radius:8px;
  background:#26080c;
}

.stats div{
  padding:13px;
  text-align:center;
  border-right:1px solid var(--border);
}

.stats div:last-child{
  border-right:0;
}

.stats strong{
  display:block;
  color:var(--gold2);
  font-size:18px;
}

.stats span{
  color:var(--muted);
  font-size:10px;
}


/* MAIN */

.main{
  max-width:1500px;
  margin:auto;
  padding:0 14px 30px;
}

.section-tabs{
  display:flex;
  align-items:center;
  gap:3px;
  overflow:auto;
  margin-bottom:10px;
  border-bottom:1px solid var(--border);
}

.section-tab{
  flex:0 0 auto;
  height:39px;
  padding:0 15px;
  border:0;
  background:transparent;
  color:var(--text);
  font-weight:700;
}

.section-tab.active{
  color:var(--gold2);
  border-bottom:2px solid var(--gold);
}

.nav-section{
  margin-bottom:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:
    linear-gradient(
      180deg,
      rgba(74,14,23,.6),
      rgba(38,10,14,.8)
    );
  scroll-margin-top:155px;
}

.section-head{
  height:32px;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.section-head h2{
  margin:0;
  color:var(--gold2);
  font-size:15px;
}

.section-head span{
  color:var(--muted);
  font-size:10px;
}


/* BRAND CARDS */

.brand-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}

.brand-card{
  min-width:0;
  padding:9px;
  border:1px solid var(--border2);
  border-radius:7px;
  background:
    linear-gradient(
      180deg,
      #350d13,
      #25080c
    );
  transition:.18s;
}

.brand-card:hover{
  transform:translateY(-2px);
  border-color:var(--gold);
  box-shadow:
    0 5px 16px rgba(0,0,0,.27),
    0 0 15px rgba(212,175,55,.11);
}

.card-main{
  min-width:0;
  height:35px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.card-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}

.card-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:5px;
  border:1px solid rgba(212,175,55,.3);
  background:#170506;
  color:var(--gold);
  font-weight:800;
}

.card-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:700;
}

.badges{
  display:flex;
  gap:4px;
  flex:0 0 auto;
}

.badge{
  padding:2px 5px;
  border-radius:4px;
  font-size:9px;
  font-weight:800;
}

.badge.hot{
  background:var(--red);
  color:white;
}

.badge.new{
  background:#f3c84d;
  color:#3a1300;
}

.card-links{
  margin-top:7px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
}

.line-btn{
  min-width:0;
  height:28px;
  padding:0 5px;
  border-radius:5px;
  border:1px solid #684046;
  background:#3a181d;
  color:#eee0d4;
  font-size:10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.line-btn:hover{
  color:#ffe88e;
  border-color:var(--gold);
}

.line-btn.center{
  color:#3c1900;
  background:
    linear-gradient(
      180deg,
      #f6d978,
      #d09d28
    );
  border-color:#f2d974;
  font-weight:800;
}


/* MODAL */

.modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:5000;
}

.modal.open{
  display:block;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(4px);
}

.modal-box{
  position:absolute;
  top:50%;
  left:50%;
  width:min(760px,calc(100vw - 30px));
  max-height:min(760px,calc(100vh - 40px));
  transform:translate(-50%,-50%);
  overflow:hidden;
  border-radius:13px;
  border:1px solid #805625;
  background:#100c10;
  box-shadow:0 30px 80px rgba(0,0,0,.7);
}

.modal-head{
  min-height:70px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #32242b;
  background:#171117;
}

.modal-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.modal-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--gold);
  border-radius:7px;
  color:var(--gold2);
  background:#210e10;
}

.modal-brand strong{
  display:block;
  font-size:16px;
}

.modal-brand small{
  display:block;
  margin-top:4px;
  color:var(--muted);
}

.modal-close{
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  color:#aaa;
  font-size:27px;
}

.group-tabs{
  min-height:45px;
  display:flex;
  overflow:auto;
  border-bottom:1px solid #33262a;
}

.group-tab{
  flex:0 0 auto;
  min-width:110px;
  border:0;
  border-right:1px solid #33262a;
  background:#191319;
  color:#b8aeb1;
}

.group-tab.active{
  color:#ffe08a;
  background:#42180f;
  border-bottom:2px solid var(--gold);
}

.line-tools{
  display:grid;
  grid-template-columns:1fr 130px;
  gap:8px;
  padding:10px;
  border-bottom:1px solid #2c2226;
}

.line-tools input,
.line-tools select{
  height:36px;
  padding:0 12px;
  border-radius:6px;
  border:1px solid #40343a;
  outline:none;
  color:#ddd;
  background:#17141b;
}

.line-list{
  max-height:500px;
  padding:10px;
  overflow:auto;
}

.line-row{
  min-height:47px;
  display:grid;
  grid-template-columns:1fr 75px 70px;
  gap:8px;
  align-items:center;
  padding:5px 8px;
  border-bottom:1px solid #252025;
}

.line-name{
  color:#ddd;
  font-size:12px;
}

.line-status{
  color:var(--green);
  font-size:10px;
}

.enter-btn{
  height:29px;
  border-radius:6px;
  border:1px solid var(--gold);
  color:#ffe69a;
  background:#2f190c;
}

.loading-card{
  padding:50px;
  text-align:center;
  color:var(--muted);
}


/* FOOTER */

footer{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  border-top:1px solid var(--border);
  color:#8d777b;
  font-size:11px;
  background:#100305;
}

footer a{
  color:inherit;
  text-decoration:none;
}

footer a:hover{
  color:#e6c879;
}


/* TABLET */

@media(max-width:1100px){

  .top-main{
    grid-template-columns:210px 1fr;
  }

  .top-actions{
    display:none;
  }

  .hero{
    grid-template-columns:1.35fr .65fr;
  }

  .hero h1{
    font-size:42px;
  }

  .hero-domain{
    font-size:27px;
  }

  .hero-symbol{
    width:130px;
    height:130px;
    font-size:80px;
  }

  .brand-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* MOBILE */

@media(max-width:760px){

  .top{
    position:relative;
  }

  .top-main{
    min-height:auto;
    grid-template-columns:1fr;
    gap:7px;
  }

  .brand-mark{
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .brand-name{
    font-size:17px;
  }

  .brand-domain{
    font-size:9px;
  }

  .primary-nav{
    padding:0 5px;
  }

  .primary-nav button{
    flex:0 0 72px;
    min-height:55px;
    font-size:12px;
  }

  .ticker{
    display:none;
  }

  .hero-wrap{
    padding:0 8px;
    margin-top:8px;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .hero-content{
    min-height:180px;
    padding:15px;
  }

  .hero-brand{
    height:120px;
    gap:12px;
  }

  .hero-symbol{
    width:80px;
    height:80px;
    border-width:5px;
    font-size:50px;
  }

  .hero h1{
    font-size:27px;
  }

  .hero-domain{
    font-size:17px;
  }

  .hero p{
    margin:5px 0;
    font-size:9px;
    letter-spacing:1px;
  }

  .hero-features{
    height:45px;
  }

  .hero-features span{
    font-size:9px;
  }

  .draw-panel{
    max-height:330px;
  }

  .stats{
    width:calc(100% - 16px);
    grid-template-columns:repeat(4,1fr);
  }

  .stats strong{
    font-size:13px;
  }

  .stats span{
    font-size:8px;
  }

  .main{
    padding:0 8px 20px;
  }

  .brand-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .brand-card{
    padding:7px;
  }

  .card-links{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .modal-box{
    top:auto;
    bottom:0;
    left:0;
    width:100%;
    max-height:82vh;
    transform:none;
    border-radius:18px 18px 0 0;
  }

  .group-tab{
    min-width:100px;
    height:47px;
  }

  .line-tools{
    grid-template-columns:1fr;
  }

  .line-list{
    max-height:48vh;
  }

}


/* SMALL MOBILE */

@media(max-width:430px){

  .brand-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .card-name{
    font-size:11px;
  }

  .card-icon{
    width:26px;
    height:26px;
    flex-basis:26px;
  }

}

.brand-logo{
  display:block;
  width:auto;
  height:48px;
  max-width:235px;
  object-fit:contain;
}

.hero-brand{
  flex-direction:column;
  gap:12px;
}

.hero-logo{
  position:relative;
  z-index:2;
  display:block;
  width:auto;
  max-width:min(560px,75%);
  max-height:150px;
  object-fit:contain;
}

.hero-copy{
  position:relative;
  z-index:2;
  text-align:center;
}

.hero-copy .hero-domain{
  margin-top:0;
}

@media(max-width:760px){

  .brand-logo{
    height:40px;
    max-width:190px;
  }

  .hero-logo{
    max-width:78%;
    max-height:82px;
  }

  .hero-copy .hero-domain{
    font-size:16px;
  }

}

.draw-sum{
  margin-top:6px;
  color:#d8c3a1;
  font-size:10px;
  text-align:right;
}

.draw-panel{
  background:
    linear-gradient(
      180deg,
      #4a0b12 0%,
      #250507 100%
    );
}

.draw-list{
  padding:0 12px 7px;
}

.draw-row{
  min-height:112px;
  padding:11px 4px 8px;
  border-bottom:
    1px solid rgba(255,255,255,.09);
}

.draw-row:last-child{
  border-bottom:0;
}

.draw-top{
  min-height:22px;
  margin-bottom:7px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.draw-name{
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.draw-issue{
  color:#d2afb3;
  font-size:10px;
  white-space:nowrap;
}

.draw-content{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.draw-balls{
  min-width:0;
  display:flex;
  align-items:center;
  gap:3px;
}

.draw-number-item{
  height:31px;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}

.draw-number-ball{
  width:23px;
  height:23px;
  flex:0 0 23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:11px;
  font-weight:800;
  line-height:23px;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.65),
    0 1px 2px rgba(0,0,0,.35);
}

.draw-number-ball.red{
  background:
    radial-gradient(
      circle at 34% 28%,
      #ffada1 0%,
      #f62d22 55%,
      #b90909 100%
    );
}

.draw-number-ball.blue{
  background:
    radial-gradient(
      circle at 34% 28%,
      #bde4ff 0%,
      #278dcc 55%,
      #075c93 100%
    );
}

.draw-number-ball.green{
  background:
    radial-gradient(
      circle at 34% 28%,
      #c2efc7 0%,
      #26ae40 55%,
      #087521 100%
    );
}

.draw-number-ball.unknown{
  background:#8f8f8f;
}

.draw-zodiac{
  min-width:13px;
  margin-left:1px;
  font-size:10px;
  line-height:23px;
}

.draw-zodiac.red{
  color:#ff5a52;
}

.draw-zodiac.blue{
  color:#55b8f2;
}

.draw-zodiac.green{
  color:#5bd26e;
}

.draw-plus{
  margin:0 2px;
  color:#f0d987;
  font-size:15px;
  font-weight:800;
}

.draw-total{
  flex:0 0 auto;
  color:#f1d77e;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

.draw-actions{
  margin-top:7px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}

.draw-history-btn,
.draw-refresh-btn{
  height:25px;
  padding:0 9px;
  border-radius:5px;
  border:
    1px solid rgba(212,175,55,.44);
  background:#321014;
  color:#e6ca83;
  font-size:10px;
}

.draw-history-btn:hover,
.draw-refresh-btn:hover{
  border-color:#D4AF37;
  color:#ffe892;
}

.draw-refresh-btn:disabled{
  opacity:.6;
  cursor:default;
}

.draw-failed{
  color:#ff7779;
  font-size:10px;
}

.draw-error-text{
  margin:8px 0;
  color:#b99398;
  font-size:10px;
}

@media(max-width:760px){

  .draw-row{
    min-height:104px;
  }

  .draw-number-ball{
    width:21px;
    height:21px;
    flex-basis:21px;
    font-size:10px;
    line-height:21px;
  }

  .draw-zodiac{
    font-size:9px;
  }

  .draw-content{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .draw-actions{
    justify-content:flex-start;
  }

}

.card-links{
  grid-template-columns:1fr !important;
}

.line-btn.center{
  width:100% !important;
}

.hero-brand.hero-banner-mode{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  background:transparent !important;
}

.hero-banner-picture{
  display:block;
  width:100%;
  margin:0;
  padding:0;
}

.hero-banner-image{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:cover;
  margin:0;
  padding:0;
}

@media(max-width:760px){
  .hero-banner-image{
    width:100%;
    height:auto;
    object-fit:cover;
  }
}

#favoriteSiteTip{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(5px);
}

.favorite-tip-card{
  position:relative;
  width:min(420px,92vw);
  padding:28px 24px 24px;
  border:1px solid rgba(212,175,55,.6);
  border-radius:14px;
  background:
    linear-gradient(
      180deg,
      #4a0e17,
      #24070b
    );
  box-shadow:
    0 20px 70px rgba(0,0,0,.55);
  text-align:center;
}

.favorite-tip-close{
  position:absolute;
  right:12px;
  top:8px;
  border:0;
  background:transparent;
  color:#f0e6d2;
  font-size:28px;
  cursor:pointer;
}

.favorite-tip-star{
  color:#d4af37;
  font-size:36px;
}

.favorite-tip-title{
  margin-top:5px;
  color:#fff;
  font-size:22px;
  font-weight:800;
}

.favorite-tip-text{
  margin-top:15px;
  color:#f0e6d2;
  font-size:17px;
  line-height:1.7;
}

.favorite-tip-domain{
  margin-top:15px;
  color:#d4af37;
  font-size:18px;
  font-weight:800;
  letter-spacing:2px;
}

.favorite-tip-copy{
  margin-top:8px;
  color:#9e8a8f;
  font-size:12px;
}

#favoriteSiteTip{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(5px);
}

.favorite-tip-card{
  position:relative;
  width:min(420px,92vw);
  padding:28px 24px 24px;
  border:1px solid rgba(212,175,55,.6);
  border-radius:14px;
  background:
    linear-gradient(
      180deg,
      #4a0e17,
      #24070b
    );
  box-shadow:
    0 20px 70px rgba(0,0,0,.55);
  text-align:center;
}

.favorite-tip-close{
  position:absolute;
  right:12px;
  top:8px;
  border:0;
  background:transparent;
  color:#f0e6d2;
  font-size:28px;
  cursor:pointer;
}

.favorite-tip-star{
  color:#d4af37;
  font-size:36px;
}

.favorite-tip-title{
  margin-top:5px;
  color:#fff;
  font-size:22px;
  font-weight:800;
}

.favorite-tip-text{
  margin-top:15px;
  color:#f0e6d2;
  font-size:17px;
  line-height:1.7;
}

.favorite-tip-domain{
  margin-top:15px;
  color:#d4af37;
  font-size:18px;
  font-weight:800;
  letter-spacing:2px;
}

.favorite-tip-copy{
  margin-top:8px;
  color:#9e8a8f;
  font-size:12px;
}

#pwaInstallTip{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(7px);
}

.pwa-install-card{
  position:relative;
  width:min(430px,92vw);
  padding:28px 24px 25px;
  border:1px solid rgba(212,175,55,.65);
  border-radius:14px;
  background:
    linear-gradient(
      180deg,
      #4A0E17,
      #200609
    );
  box-shadow:
    0 24px 80px rgba(0,0,0,.65);
  text-align:center;
}

.pwa-install-close{
  position:absolute;
  top:8px;
  right:12px;
  padding:0;
  border:0;
  background:transparent;
  color:#F0E6D2;
  font-size:30px;
  cursor:pointer;
}

.pwa-install-icon{
  color:#D4AF37;
  font-size:38px;
}

.pwa-install-title{
  margin-top:6px;
  color:#fff;
  font-size:21px;
  font-weight:800;
}

.pwa-install-content{
  margin-top:16px;
  color:#F0E6D2;
  font-size:15px;
  line-height:1.8;
}

.pwa-install-domain{
  margin-top:17px;
  color:#D4AF37;
  font-size:15px;
  font-weight:800;
  letter-spacing:2px;
}


/* MOBILE DRAW HEIGHT FIX V4 */
@media(max-width:760px){
  .draw-panel{
    max-height:none !important;
    height:auto !important;
  }

  .draw-list{
    height:auto !important;
    max-height:none !important;
  }
}


/* HIDE PWA INSTALL ON PC */
@media (min-width:761px){
  [data-pwa-install="1"]{
    display:none !important;
  }
}

/* HIDE LINE CENTER SEARCH + SORT */
#lineSearch,
#lineSort,
.line-search,
.line-sort,
.line-toolbar,
.route-toolbar,
.line-filter-bar{
  display:none !important;
}

.all-category-list{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.all-category-block{
  width:100%;
}

.all-category-head{
  min-height:46px;
  margin:0 0 12px;
  padding:0 14px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-left:3px solid #d4af37;
  border-bottom:1px solid rgba(212,175,55,.18);

  background:
    linear-gradient(
      90deg,
      rgba(212,175,55,.10),
      rgba(212,175,55,.02) 45%,
      transparent
    );
}

.all-category-title{
  display:flex;
  align-items:center;
  gap:9px;

  color:#f5df9a;
  font-size:17px;
  font-weight:700;
}

.all-category-icon{
  color:#d4af37;
  font-size:16px;
}

.all-category-count{
  min-width:26px;
  height:24px;
  padding:0 8px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(212,175,55,.24);
  border-radius:999px;

  color:#bfae85;
  background:rgba(212,175,55,.06);

  font-size:11px;
  font-weight:600;
}

@media(max-width:760px){

  .all-category-list{
    gap:18px;
  }

  .all-category-head{
    min-height:42px;
    margin-bottom:10px;
    padding:0 11px;
  }

  .all-category-title{
    font-size:15px;
  }

}

.h5-quick-nav{
  display:none;
}

@media(max-width:760px){

  #sectionTabs{
    display:none !important;
  }

  .h5-quick-nav{
    display:block;
    width:100%;
    background:#f7f7f8;
    border-top:1px solid #ececef;
    border-bottom:1px solid #ececef;
  }

  .h5-quick-menu{
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    align-items:start;
    padding:12px 4px 8px;
  }

  .h5-quick-item{
    min-width:0;
    padding:5px 1px 7px;
    margin:0;
    border:0;
    outline:0;
    background:transparent;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    color:#505057;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      "Microsoft YaHei",
      sans-serif;
  }

  .h5-quick-icon{
    width:31px;
    height:31px;
    margin-bottom:5px;

    display:flex;
    align-items:center;
    justify-content:center;
  }

  .h5-quick-icon svg{
    width:29px;
    height:29px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  .h5-quick-label{
    font-size:13px;
    font-weight:650;
    line-height:1.15;
    white-space:nowrap;
  }

  .h5-quick-item.active{
    color:#1169bb;
  }

  .h5-domain-wrap{
    display:flex;
    justify-content:center;
    padding:7px 0 15px;
  }

  .h5-domain-pill{
    min-width:184px;
    height:47px;
    padding:0 22px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:25px;
    border:1px solid #fff;

    background:#f4f4f5;

    box-shadow:
      0 9px 20px rgba(0,0,0,.10),
      inset 0 1px 0 rgba(255,255,255,.95);

    color:#111;
    font-size:19px;
    font-weight:750;
    letter-spacing:.2px;
  }

}



/* ========================================
   H5 BOTTOM NAV FINAL
   ======================================== */

@media(max-width:760px){

  /* 原顶部分类导航彻底隐藏 */
  #sectionTabs{
    display:none !important;
  }

  /* 删除之前做的顶部 H5 导航 */
  .h5-quick-nav,
  #h5QuickNav{
    display:none !important;
  }


  /* 给页面底部预留空间，避免内容被导航挡住 */
  body{
    padding-bottom:
      calc(
        72px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  .h5-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;

    width:100%;

    z-index:99999;

    background:
      rgba(250,250,251,.97);

    border-top:
      1px solid
      rgba(0,0,0,.08);

    box-shadow:
      0 -3px 16px
      rgba(0,0,0,.06);

    backdrop-filter:
      blur(16px);

    -webkit-backdrop-filter:
      blur(16px);

    padding-bottom:
      env(safe-area-inset-bottom);
  }


  .h5-bottom-inner{
    height:66px;

    display:grid;
    grid-template-columns:
      repeat(6,1fr);

    align-items:center;

    width:100%;

    margin:0 auto;
  }


  .h5-bottom-item{
    appearance:none;
    -webkit-appearance:none;

    width:100%;
    min-width:0;
    height:66px;

    margin:0;
    padding:6px 0 4px;

    border:0;
    outline:0;

    background:transparent;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:3px;

    color:#4d4d53;

    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      "Microsoft YaHei",
      sans-serif;

    cursor:pointer;

    -webkit-tap-highlight-color:
      transparent;
  }


  .h5-bottom-icon{
    width:27px;
    height:27px;

    display:flex;
    align-items:center;
    justify-content:center;
  }


  .h5-bottom-icon svg{
    width:26px;
    height:26px;

    fill:none;

    stroke:currentColor;

    stroke-width:2;

    stroke-linecap:round;
    stroke-linejoin:round;
  }


  .h5-bottom-label{
    font-size:11px;

    line-height:1.05;

    font-weight:650;

    white-space:nowrap;
  }


  /* 当前栏目 */
  .h5-bottom-item.active{
    color:#176bc1;
  }


  .h5-bottom-item.active
  .h5-bottom-label{
    font-weight:750;
  }

}


/* PC 不显示底部导航 */
@media(min-width:761px){

  .h5-bottom-nav{
    display:none !important;
  }

}


/* ========================================
   H5 RED GOLD BOTTOM NAV FINAL
   ======================================== */

@media(max-width:760px){

  /* H5 顶部分类导航全部取消 */
  #sectionTabs,
  .section-tabs,
  .h5-quick-nav,
  #h5QuickNav{
    display:none !important;
  }


  body{
    padding-bottom:
      calc(
        70px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  .h5-bottom-nav{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;

    z-index:99999 !important;

    background:
      linear-gradient(
        180deg,
        rgba(79,8,18,.98) 0%,
        rgba(42,4,10,.99) 100%
      ) !important;

    border-top:
      1px solid
      rgba(212,175,55,.60) !important;

    box-shadow:
      0 -6px 22px
      rgba(0,0,0,.32) !important;

    backdrop-filter:
      blur(16px);

    -webkit-backdrop-filter:
      blur(16px);

    padding-bottom:
      env(safe-area-inset-bottom);
  }


  .h5-bottom-inner{
    width:100% !important;

    height:66px !important;

    display:grid !important;

    grid-template-columns:
      repeat(6,1fr) !important;

    align-items:center !important;
  }


  .h5-bottom-item{
    position:relative;

    width:100% !important;
    min-width:0 !important;

    height:66px !important;

    margin:0 !important;

    padding:
      7px
      0
      5px !important;

    border:0 !important;

    background:
      transparent !important;

    display:flex !important;

    flex-direction:column !important;

    align-items:center !important;
    justify-content:center !important;

    gap:4px !important;

    color:
      #d8c7b0 !important;

    -webkit-tap-highlight-color:
      transparent;
  }


  .h5-bottom-icon{
    width:27px !important;
    height:27px !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;
  }


  .h5-bottom-icon svg{
    width:25px !important;
    height:25px !important;

    fill:none !important;

    stroke:
      currentColor !important;

    stroke-width:
      1.9 !important;

    stroke-linecap:
      round !important;

    stroke-linejoin:
      round !important;
  }


  .h5-bottom-label{
    color:
      inherit !important;

    font-size:
      11px !important;

    font-weight:
      650 !important;

    line-height:
      1 !important;

    white-space:
      nowrap !important;
  }


  /* 当前栏目：金色 */
  .h5-bottom-item.active{
    color:
      #f5d66d !important;

    background:
      linear-gradient(
        180deg,
        rgba(212,175,55,.10),
        rgba(212,175,55,.02)
      ) !important;
  }


  /* 当前栏目顶部金线 */
  .h5-bottom-item.active::before{
    content:"";

    position:absolute;

    top:0;
    left:22%;
    right:22%;

    height:2px;

    border-radius:
      0 0 2px 2px;

    background:
      linear-gradient(
        90deg,
        #b88918,
        #ffe080,
        #b88918
      );

    box-shadow:
      0 0 8px
      rgba(245,214,109,.35);
  }


  .h5-bottom-item.active
  .h5-bottom-label{
    font-weight:
      800 !important;
  }


  .h5-bottom-item:active{
    background:
      rgba(212,175,55,.08) !important;
  }

}


/* PC 完全不显示底部导航 */
@media(min-width:761px){

  .h5-bottom-nav{
    display:none !important;
  }

}

@media(max-width:760px){

  .cs-line-center-sheet{
    bottom:
      calc(
        66px +
        env(safe-area-inset-bottom) +
        8px
      ) !important;

    height:auto !important;

    min-height:0 !important;

    max-height:
      min(
        72dvh,
        calc(
          100dvh -
          66px -
          env(safe-area-inset-bottom) -
          28px
        )
      ) !important;

    overflow-y:auto !important;

    overscroll-behavior:contain;

    border-radius:
      20px 20px 0 0 !important;

    box-shadow:
      0 -14px 38px
      rgba(0,0,0,.42) !important;

    z-index:99998 !important;
  }


  .cs-line-center-sheet.cs-line-center-compact{
    height:auto !important;

    min-height:0 !important;

    max-height:
      calc(
        100dvh -
        66px -
        env(safe-area-inset-bottom) -
        32px
      ) !important;
  }


  .cs-line-center-sheet
  .cs-route-row{
    min-height:64px !important;
  }


  .cs-line-center-sheet
  .cs-route-row:last-child{
    margin-bottom:10px !important;
  }


  .cs-line-center-sheet
  .cs-route-enter{
    right:12px !important;
  }


  .cs-line-center-sheet
  .line-speed-value{
    white-space:nowrap !important;
  }

}

/* PC：隐藏顶部分类导航 */
@media(min-width:761px){
  #sectionTabs{
    display:none !important;
  }
}

@media(max-width:760px){

  .all-category-block{
    scroll-margin-top:90px;
  }

}

@media(max-width:760px){

  .all-category-block{
    scroll-margin-top:90px;
  }

}

/* PC FULL CATEGORY LONG PAGE */
@media(min-width:761px){

  #sectionTabs{
    display:none !important;
  }

  #sections > .nav-section{
    display:none !important;
  }

  #sections > .nav-section.pc-all-section{
    display:block !important;
  }

  #sections > .nav-section.pc-all-section > .section-head{
    display:none !important;
  }

  .all-category-list{
    display:flex !important;
    flex-direction:column !important;
    gap:24px !important;
  }

}

/* H5 BOTTOM NAV FINAL */

/* 取消旧顶部 H5 导航样式 */
@media(max-width:760px){

  .h5-quick-nav{
    display:none !important;
  }

  .h5-domain-wrap,
  .h5-domain-pill{
    display:none !important;
  }


  body{
    padding-bottom:
      calc(
        74px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  #h5QuickNav.h5-bottom-nav{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;

    display:block !important;

    z-index:99999 !important;

    background:
      rgba(255,255,255,.97) !important;

    border-top:
      1px solid #e6e6e8 !important;

    box-shadow:
      0 -4px 18px
      rgba(0,0,0,.10) !important;

    padding-bottom:
      env(safe-area-inset-bottom) !important;

    backdrop-filter:
      blur(14px);

    -webkit-backdrop-filter:
      blur(14px);
  }


  .h5-bottom-inner{
    width:100% !important;
    height:64px !important;

    display:grid !important;

    grid-template-columns:
      repeat(6,1fr) !important;

    align-items:center !important;

    padding:
      4px 4px 3px !important;
  }


  #h5QuickNav .h5-quick-item{
    width:100% !important;
    min-width:0 !important;
    height:56px !important;

    margin:0 !important;
    padding:4px 0 2px !important;

    border:0 !important;
    border-radius:0 !important;

    background:
      transparent !important;

    display:flex !important;

    flex-direction:
      column !important;

    align-items:center !important;
    justify-content:center !important;

    gap:2px !important;

    color:#707078 !important;

    box-shadow:none !important;
  }


  #h5QuickNav .h5-quick-icon{
    width:26px !important;
    height:26px !important;

    margin:0 !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;
  }


  #h5QuickNav .h5-quick-icon svg{
    width:24px !important;
    height:24px !important;

    fill:none !important;

    stroke:
      currentColor !important;

    stroke-width:1.8 !important;

    stroke-linecap:
      round !important;

    stroke-linejoin:
      round !important;
  }


  #h5QuickNav .h5-quick-label{
    font-size:11px !important;

    line-height:15px !important;

    font-weight:600 !important;

    white-space:nowrap !important;
  }


  #h5QuickNav .h5-quick-item.active{
    color:#8d1425 !important;
  }


  #h5QuickNav .h5-quick-item.active
  .h5-quick-icon{
    transform:
      translateY(-1px);
  }

}


/* PC 永远不显示 H5 底部导航 */
@media(min-width:761px){

  #h5QuickNav{
    display:none !important;
  }

}

/* H5 BOTTOM NAV - SITE THEME */

@media(max-width:760px){

  #h5QuickNav.h5-bottom-nav{
    background:
      rgba(74,14,23,.97) !important;

    border-top:
      1px solid rgba(212,175,55,.24) !important;

    box-shadow:
      0 -6px 22px
      rgba(20,5,7,.42) !important;

    backdrop-filter:
      blur(14px);

    -webkit-backdrop-filter:
      blur(14px);
  }


  .h5-bottom-inner{
    background:
      linear-gradient(
        180deg,
        rgba(92,18,31,.98) 0%,
        rgba(74,14,23,.98) 100%
      ) !important;
  }


  #h5QuickNav .h5-quick-item{
    color:#c9b8a6 !important;
  }


  #h5QuickNav .h5-quick-label{
    color:inherit !important;
  }


  #h5QuickNav .h5-quick-icon{
    color:inherit !important;
  }


  #h5QuickNav .h5-quick-item.active{
    color:#d4af37 !important;
  }


  #h5QuickNav .h5-quick-item.active
  .h5-quick-icon{
    transform:
      translateY(-2px);

    filter:
      drop-shadow(
        0 0 5px
        rgba(212,175,55,.22)
      );
  }


  #h5QuickNav .h5-quick-item.active
  .h5-quick-label{
    font-weight:700 !important;
  }

}

/* PC HOME AD BANNER */

@media(min-width:761px){

  .pc-stats-replaced{
    display:none !important;
  }

  .pc-home-ad-slot{
    width:100%;
    margin:0;
    padding:0;
    background:#140507;
    overflow:hidden;
  }

  .pc-home-ad-frame{
    position:relative;
    width:100%;
    height:120px;
    overflow:hidden;

    border-top:
      1px solid
      rgba(212,175,55,.16);

    border-bottom:
      1px solid
      rgba(212,175,55,.16);

    background:#24080d;
  }

  .pc-home-ad-link{
    display:block;
    width:100%;
    height:100%;
  }

  .pc-home-ad-link img{
    display:block;
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    border:0;
  }

  .pc-home-ad-dots{
    position:absolute;

    left:50%;
    bottom:8px;

    transform:
      translateX(-50%);

    display:flex;
    gap:6px;

    z-index:2;
  }

  .pc-home-ad-dots button{
    width:7px;
    height:7px;

    padding:0;
    margin:0;

    border:0;
    border-radius:999px;

    background:
      rgba(255,255,255,.45);

    cursor:pointer;
  }

  .pc-home-ad-dots button.active{
    width:18px;
    background:#d4af37;
  }

  .pc-home-ad-empty{
    height:120px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:5px;

    color:#d4af37;

    border-top:
      1px solid
      rgba(212,175,55,.16);

    border-bottom:
      1px solid
      rgba(212,175,55,.16);

    background:
      linear-gradient(
        135deg,
        #26080e,
        #3e0c15,
        #26080e
      );
  }

  .pc-home-ad-empty span{
    font-size:18px;
    font-weight:700;
  }

  .pc-home-ad-empty small{
    color:#8f777a;
    font-size:10px;
    letter-spacing:2px;
  }

}


/* H5 不显示这个 PC 广告位 */
@media(max-width:760px){

  .pc-home-ad-slot{
    display:none !important;
  }

}

/* HOME BANNER AD - PC + H5 */

.home-stats-replaced{
  display:none !important;
}

.home-banner-ad-slot{
  width:100%;
  overflow:hidden;
  background:#140507;
}

.home-banner-ad-frame{
  position:relative;
  width:100%;
  overflow:hidden;
}

.home-banner-ad-link{
  display:block;
  width:100%;
  height:100%;
}

.home-banner-ad-link img{
  display:block;
  width:100%;
  height:100%;
  border:0;
}

.home-banner-ad-dots{
  position:absolute;
  left:50%;
  bottom:7px;

  transform:translateX(-50%);

  display:flex;
  align-items:center;
  gap:6px;

  z-index:5;
}

.home-banner-ad-dots button{
  width:6px;
  height:6px;

  margin:0;
  padding:0;

  border:0;
  border-radius:999px;

  background:
    rgba(255,255,255,.48);
}

.home-banner-ad-dots button.active{
  width:17px;
  background:#d4af37;
}


/* PC */
@media(min-width:761px){

  .home-banner-ad-frame{
    height:120px;

    border-top:
      1px solid rgba(212,175,55,.16);

    border-bottom:
      1px solid rgba(212,175,55,.16);
  }

  .home-banner-ad-link img{
    object-fit:cover;
    object-position:center;
  }

}


/* H5 */
@media(max-width:760px){

  /*
    覆盖之前“PC广告在手机隐藏”的旧规则
  */
  .pc-home-ad-slot,
  .home-banner-ad-slot{
    display:block;
  }

  .home-banner-ad-frame{
    width:100%;
    aspect-ratio:15 / 4;

    background:#26080e;

    border-top:
      1px solid rgba(212,175,55,.13);

    border-bottom:
      1px solid rgba(212,175,55,.13);
  }

  .home-banner-ad-link img{
    object-fit:cover;
    object-position:center;
  }

  .home-banner-ad-dots{
    bottom:5px;
  }

}

/* ==================================================
   BRAND CARD CENTER V18
   PC + H5
   ================================================== */

.cs-brand-card-v2{
  position:relative !important;

  display:flex !important;
  flex-direction:column !important;

  align-items:stretch !important;
  justify-content:flex-start !important;

  text-align:center !important;

  overflow:hidden !important;
}


/* 删除品牌前方金色单字图标 */
.cs-brand-card-v2 .cs-brand-icon-v2{
  display:none !important;
}


/* 品牌名称统一居中 */
.cs-brand-card-v2 .cs-brand-title-v2{
  display:block !important;

  width:100% !important;

  margin-left:auto !important;
  margin-right:auto !important;

  padding-left:4px !important;
  padding-right:4px !important;

  text-align:center !important;

  color:#fff !important;

  font-weight:700 !important;

  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* 推荐标签 */
.cs-brand-card-v2 .cs-hot-v2{
  position:absolute !important;

  left:50% !important;
  right:auto !important;

  top:12px !important;

  transform:
    translateX(-50%) !important;

  z-index:3 !important;

  display:inline-flex !important;

  width:auto !important;
  min-width:auto !important;
  height:24px !important;

  padding:0 9px !important;
  margin:0 !important;

  align-items:center !important;
  justify-content:center !important;

  border:0 !important;
  border-radius:7px !important;

  background:
    linear-gradient(
      180deg,
      #ff5b64 0%,
      #f23845 100%
    ) !important;

  color:#fff !important;

  font-size:11px !important;
  font-weight:800 !important;
  line-height:1 !important;

  white-space:nowrap !important;

  box-shadow:
    0 3px 8px
    rgba(255,60,72,.18) !important;
}


/* 金色入口按钮 */
.cs-brand-card-v2 .cs-brand-enter-v2{
  width:100% !important;

  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:auto !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  text-align:center !important;

  font-weight:700 !important;
}


/* =========================
   PC
   ========================= */

@media(min-width:761px){

  .brand-grid{
    display:grid !important;

    grid-template-columns:
      repeat(4,minmax(0,1fr)) !important;

    gap:12px !important;
  }


  .cs-brand-card-v2{
    min-height:132px !important;

    padding:
      16px
      14px
      13px !important;
  }


  /*
    有 HOT：
    HOT 在上面
    品牌名在下面
  */
  .cs-brand-card-v2.cs-has-hot-v2
  .cs-brand-title-v2{

    margin-top:35px !important;
    margin-bottom:16px !important;

    font-size:15px !important;
    line-height:22px !important;
  }


  /*
    没 HOT：
    品牌名直接垂直居中一点
  */
  .cs-brand-card-v2:not(.cs-has-hot-v2)
  .cs-brand-title-v2{

    margin-top:17px !important;
    margin-bottom:19px !important;

    font-size:15px !important;
    line-height:22px !important;
  }


  .cs-brand-card-v2
  .cs-brand-enter-v2{

    min-height:40px !important;

    border-radius:7px !important;

    font-size:13px !important;
  }

}


/* =========================
   H5
   ========================= */

@media(max-width:760px){

  .brand-grid{
    display:grid !important;

    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;

    gap:8px !important;
  }


  .cs-brand-card-v2{
    min-width:0 !important;
    min-height:116px !important;

    padding:
      12px
      8px
      9px !important;

    border-radius:9px !important;
  }


  .cs-brand-card-v2 .cs-hot-v2{
    top:8px !important;

    height:21px !important;

    padding:0 7px !important;

    border-radius:6px !important;

    font-size:9px !important;
  }


  .cs-brand-card-v2.cs-has-hot-v2
  .cs-brand-title-v2{

    margin-top:28px !important;
    margin-bottom:11px !important;

    font-size:12px !important;
    line-height:18px !important;
  }


  .cs-brand-card-v2:not(.cs-has-hot-v2)
  .cs-brand-title-v2{

    margin-top:14px !important;
    margin-bottom:13px !important;

    font-size:12px !important;
    line-height:18px !important;
  }


  .cs-brand-card-v2
  .cs-brand-enter-v2{

    min-height:34px !important;

    padding:0 4px !important;

    border-radius:6px !important;

    font-size:10px !important;

    white-space:nowrap !important;
  }

}


/* 很窄的手机仍保持两列，但压缩间距 */
@media(max-width:360px){

  .brand-grid{
    gap:6px !important;
  }

  .cs-brand-card-v2{
    padding-left:6px !important;
    padding-right:6px !important;
  }

}

/* BRAND TITLE FINAL CENTER FIX */

.cs-brand-title-parent-final{
  width:100% !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  text-align:center !important;

  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}


.cs-brand-title-final-center{
  position:relative !important;

  left:auto !important;
  right:auto !important;
  top:auto !important;

  transform:none !important;
  float:none !important;

  display:block !important;

  width:100% !important;
  max-width:100% !important;

  margin-left:auto !important;
  margin-right:auto !important;

  padding-left:6px !important;
  padding-right:6px !important;

  text-align:center !important;

  color:#fff !important;

  font-weight:700 !important;

  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* PC */
@media(min-width:761px){

  .cs-brand-title-final-center{
    font-size:15px !important;
    line-height:22px !important;
  }

}


/* H5 */
@media(max-width:760px){

  .cs-brand-title-final-center{
    font-size:12px !important;
    line-height:18px !important;
  }

}

/* =========================================
   HOT ANIMATION V20
   ========================================= */

.cs-hot-v2{
  position:absolute !important;
  overflow:hidden !important;

  gap:4px !important;

  background:
    linear-gradient(
      180deg,
      #ff5d66 0%,
      #f13242 100%
    ) !important;

  border:
    1px solid rgba(255,130,136,.55) !important;

  box-shadow:
    0 0 0 rgba(255,65,76,0);

  animation:
    csHotPulse 2.4s ease-in-out infinite !important;
}


/* 火焰 */
.cs-hot-fire{
  display:inline-block;

  transform-origin:
    50% 100%;

  animation:
    csHotFire 1.05s ease-in-out infinite;
}


/* HOT文字 */
.cs-hot-text{
  display:inline-block;

  font-weight:900;

  letter-spacing:.3px;
}


/* 扫光 */
.cs-hot-v2::after{
  content:"";

  position:absolute;

  top:-40%;
  left:-45%;

  width:32%;
  height:180%;

  transform:
    rotate(20deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.65),
      transparent
    );

  animation:
    csHotShine 3.5s ease-in-out infinite;

  pointer-events:none;
}


/* HOT 呼吸 */
@keyframes csHotPulse{

  0%,
  100%{
    transform:
      translateX(-50%)
      scale(1);

    box-shadow:
      0 3px 8px rgba(255,60,72,.18),
      0 0 0 rgba(255,60,72,0);
  }

  50%{
    transform:
      translateX(-50%)
      scale(1.06);

    box-shadow:
      0 4px 12px rgba(255,60,72,.30),
      0 0 16px rgba(255,60,72,.28);
  }

}


/* 火焰轻跳 */
@keyframes csHotFire{

  0%,
  100%{
    transform:
      translateY(0)
      rotate(-2deg)
      scale(1);
  }

  35%{
    transform:
      translateY(-2px)
      rotate(4deg)
      scale(1.08);
  }

  70%{
    transform:
      translateY(1px)
      rotate(-4deg)
      scale(.98);
  }

}


/* 高光扫过 */
@keyframes csHotShine{

  0%,
  62%{
    left:-50%;
    opacity:0;
  }

  68%{
    opacity:1;
  }

  82%{
    left:125%;
    opacity:.9;
  }

  100%{
    left:125%;
    opacity:0;
  }

}


/* PC */
@media(min-width:761px){

  .cs-hot-v2{
    height:29px !important;

    padding:
      0 11px !important;

    border-radius:
      9px !important;

    font-size:
      12px !important;
  }

  .cs-hot-fire{
    font-size:
      14px !important;
  }

}


/* H5 */
@media(max-width:760px){

  .cs-hot-v2{
    height:24px !important;

    padding:
      0 8px !important;

    border-radius:
      7px !important;

    font-size:
      10px !important;
  }

  .cs-hot-fire{
    font-size:
      12px !important;
  }

}


/* 用户系统如果关闭动画，则自动停止 */
@media(prefers-reduced-motion:reduce){

  .cs-hot-v2,
  .cs-hot-fire,
  .cs-hot-v2::after{
    animation:none !important;
  }

}

/* ==================================================
   H5 LINE MODAL / BOTTOM NAV CONFLICT FIX
   ================================================== */

@media(max-width:760px){

  /*
    打开线路中心时，
    底部栏目导航自动隐藏。
  */
  body.h5-line-modal-open
  .h5-bottom-nav{
    display:none !important;
  }


  /*
    原本 body 为底部导航预留的空间同时取消。
  */
  body.h5-line-modal-open{
    padding-bottom:
      env(safe-area-inset-bottom) !important;
  }


  /*
    线路弹窗可以直接使用页面底部。
  */
  body.h5-line-modal-open
  .cs-line-modal-active,
  body.h5-line-modal-open
  .cs-line-center-sheet{
    bottom:0 !important;

    max-height:82dvh !important;

    height:auto !important;

    overflow:hidden !important;

    z-index:100001 !important;

    padding-bottom:
      env(safe-area-inset-bottom) !important;
  }


  /*
    线路列表单独滚动。
  */
  body.h5-line-modal-open
  .cs-line-scroll-area{
    overflow-y:auto !important;

    overflow-x:hidden !important;

    max-height:54dvh !important;

    padding-bottom:
      calc(
        22px +
        env(safe-area-inset-bottom)
      ) !important;

    -webkit-overflow-scrolling:
      touch;

    overscroll-behavior:
      contain;
  }


  /*
    最后一条线路必须完整露出来。
  */
  body.h5-line-modal-open
  .cs-route-row:last-child{
    margin-bottom:12px !important;
  }


  /*
    少线路情况下不强制撑高。
  */
  body.h5-line-modal-open
  .cs-line-center-compact{
    min-height:0 !important;
    height:auto !important;
  }

}

/* =========================================
   H5 LINE CENTER FINAL FIX V13
   ========================================= */

@media(max-width:760px){

  body.h5-line-modal-open{
    padding-bottom:
      env(safe-area-inset-bottom)
      !important;
  }


  body.h5-line-modal-open
  #h5BottomNav,
  body.h5-line-modal-open
  .h5-bottom-nav{
    display:none !important;
  }


  .h5-line-panel-final{
    position:fixed !important;

    left:0 !important;
    right:0 !important;

    bottom:0 !important;
    top:auto !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;

    max-height:88dvh !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    -webkit-overflow-scrolling:
      touch !important;

    overscroll-behavior:
      contain !important;

    border-radius:
      20px 20px 0 0 !important;

    z-index:100005 !important;

    padding-bottom:
      calc(
        18px +
        env(safe-area-inset-bottom)
      ) !important;
  }


  .h5-line-panel-final
  .cs-route-row{
    flex-shrink:0 !important;
  }


  .h5-line-panel-final
  .cs-route-row:last-child{
    margin-bottom:
      24px !important;
  }


  .h5-line-panel-final
  .cs-route-enter{
    flex-shrink:0 !important;
  }

}


/* ==================================================
   LINE CENTER FINAL V15
   只使用原生 #lineModal，不再依赖额外修复脚本
   ================================================== */

@media(max-width:760px){

  body.h5-line-modal-open
  #h5BottomNav,
  body.h5-line-modal-open
  .h5-bottom-nav{
    display:none !important;
  }


  #lineModal.modal{
    display:none !important;
  }


  #lineModal.modal.open{
    display:block !important;

    position:fixed !important;

    inset:0 !important;

    width:100% !important;
    height:100dvh !important;

    z-index:100000 !important;
  }


  #lineModal .modal-backdrop{
    position:absolute !important;

    inset:0 !important;

    width:100% !important;
    height:100% !important;

    background:
      rgba(5,0,2,.78) !important;

    backdrop-filter:
      blur(5px) !important;

    -webkit-backdrop-filter:
      blur(5px) !important;
  }


  #lineModal .modal-box{
    position:absolute !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;

    transform:none !important;

    width:100% !important;

    height:auto !important;
    min-height:0 !important;

    max-height:
      calc(
        88dvh -
        env(safe-area-inset-bottom)
      ) !important;

    margin:0 !important;

    display:flex !important;

    flex-direction:column !important;

    overflow:hidden !important;

    border-radius:
      20px 20px 0 0 !important;

    border:
      1px solid
      rgba(212,175,55,.55) !important;

    border-bottom:0 !important;

    background:
      #100b0e !important;

    box-shadow:
      0 -18px 45px
      rgba(0,0,0,.48) !important;

    padding-bottom:
      env(safe-area-inset-bottom) !important;
  }


  #lineModal .modal-head{
    flex:0 0 auto !important;
  }


  #lineModal .group-tabs{
    flex:0 0 auto !important;

    overflow-x:auto !important;

    overflow-y:hidden !important;

    -webkit-overflow-scrolling:
      touch;
  }


  #lineModal .line-tools{
    display:none !important;
  }


  #lineModal .line-list{
    flex:1 1 auto !important;

    min-height:0 !important;

    max-height:
      calc(
        88dvh -
        150px -
        env(safe-area-inset-bottom)
      ) !important;

    overflow-y:auto !important;

    overflow-x:hidden !important;

    -webkit-overflow-scrolling:
      touch !important;

    overscroll-behavior:
      contain !important;

    padding-bottom:
      24px !important;
  }


  #lineModal .line-row{
    position:relative !important;

    min-height:86px !important;

    padding:
      16px
      112px
      16px
      20px !important;

    margin:0 !important;

    border-bottom:
      1px solid
      rgba(255,255,255,.10) !important;
  }


  #lineModal .line-row:last-child{
    margin-bottom:
      18px !important;
  }


  #lineModal .line-name{
    font-size:
      15px !important;

    font-weight:
      600 !important;

    color:
      #f3edf0 !important;
  }


  #lineModal .line-status{
    display:none !important;
  }


  #lineModal .enter-btn,
  #lineModal .cs-route-enter{
    position:absolute !important;

    right:18px !important;
    top:50% !important;

    transform:
      translateY(-50%) !important;

    width:82px !important;
    min-width:82px !important;
    max-width:82px !important;

    height:42px !important;

    margin:0 !important;

    border:
      1px solid
      #d4af37 !important;

    border-radius:
      9px !important;

    color:
      #f6dc8a !important;

    background:
      rgba(80,34,5,.58) !important;
  }


  #lineModal .line-speed-value{
    position:static !important;

    transform:none !important;

    display:inline-flex !important;

    margin-top:
      12px !important;

    height:27px !important;

    min-width:72px !important;

    padding:
      0 10px !important;
  }

}


/* PC 保持原布局 */
@media(min-width:761px){

  body.h5-line-modal-open
  .h5-bottom-nav{
    display:none !important;
  }

}

.category-count-hidden{
  display:none !important;
}









/* H5 DRAW PRODUCTION FINAL START */

@media(max-width:760px){

  .draw-panel{
    overflow:hidden !important;
  }


  .draw-list{
    padding:
      0 12px 7px !important;
  }


  .draw-row{
    min-height:
      202px !important;

    padding:
      18px 4px 17px !important;

    border-bottom:
      1px solid rgba(255,255,255,.10) !important;
  }


  .draw-row:last-child{
    border-bottom:
      0 !important;
  }


  /* 彩种名称 + 期号 */

  .draw-top{
    width:100% !important;

    min-height:
      24px !important;

    margin-bottom:
      18px !important;

    display:flex !important;

    align-items:center !important;

    justify-content:
      space-between !important;

    gap:
      8px !important;
  }


  .draw-name{
    flex:
      0 0 auto !important;

    color:
      #fff !important;

    font-size:
      18px !important;

    font-weight:
      900 !important;

    line-height:
      1.2 !important;

    text-align:
      left !important;
  }


  .draw-issue{
    margin-left:
      auto !important;

    color:
      #d4b6ba !important;

    font-size:
      13px !important;

    font-weight:
      700 !important;

    line-height:
      1.2 !important;

    text-align:
      right !important;

    white-space:
      nowrap !important;
  }


  /*
   * H5 正式结构
   * 第一行：大号码
   * 第二行：总和
   * 第三行：按钮
   */

  .draw-content{
    width:
      100% !important;

    min-height:
      0 !important;

    display:
      block !important;

    margin:
      0 !important;

    padding:
      0 !important;
  }


  .draw-balls{
    width:
      100% !important;

    min-width:
      0 !important;

    display:
      flex !important;

    align-items:
      center !important;

    justify-content:
      space-between !important;

    flex-wrap:
      nowrap !important;

    gap:
      0 !important;

    margin:
      0 !important;

    padding:
      0 !important;

    overflow:
      visible !important;
  }


  .draw-number-item{
    height:
      40px !important;

    flex:
      0 0 auto !important;

    display:
      inline-flex !important;

    align-items:
      center !important;

    margin:
      0 !important;

    padding:
      0 !important;
  }


  /* 开奖球放大 */

  .draw-number-ball{
    width:
      38px !important;

    height:
      38px !important;

    flex:
      0 0 38px !important;

    display:
      inline-flex !important;

    align-items:
      center !important;

    justify-content:
      center !important;

    border-radius:
      50% !important;

    color:
      #fff !important;

    font-size:
      17px !important;

    font-weight:
      900 !important;

    line-height:
      38px !important;

    box-shadow:
      inset 0 2px 3px rgba(255,255,255,.62),
      inset 0 -5px 7px rgba(0,0,0,.17),
      0 2px 4px rgba(0,0,0,.28) !important;
  }


  /* 生肖中文字同步放大 */

  .draw-zodiac{
    min-width:
      13px !important;

    margin:
      0 1px 0 2px !important;

    font-size:
      14px !important;

    font-weight:
      900 !important;

    line-height:
      38px !important;
  }


  .draw-plus{
    flex:
      0 0 auto !important;

    margin:
      0 2px !important;

    color:
      #f2d46d !important;

    font-size:
      25px !important;

    font-weight:
      900 !important;

    line-height:
      38px !important;
  }


  /* 总和独立放右边 */

  .draw-total{
    position:
      static !important;

    width:
      100% !important;

    margin:
      12px 0 0 !important;

    padding:
      0 !important;

    transform:
      none !important;

    color:
      #f3d36d !important;

    font-size:
      18px !important;

    font-weight:
      900 !important;

    line-height:
      1.2 !important;

    text-align:
      right !important;

    white-space:
      nowrap !important;
  }


  /* 按钮右下 */

  .draw-actions{
    width:
      100% !important;

    margin:
      10px 0 0 !important;

    padding:
      0 !important;

    display:
      flex !important;

    align-items:
      center !important;

    justify-content:
      flex-end !important;

    gap:
      8px !important;
  }


  .draw-history-btn,
  .draw-refresh-btn{
    min-width:
      100px !important;

    height:
      38px !important;

    margin:
      0 !important;

    padding:
      0 12px !important;

    border:
      1px solid rgba(212,175,55,.70) !important;

    border-radius:
      8px !important;

    background:
      #321014 !important;

    color:
      #efd078 !important;

    font-size:
      13px !important;

    font-weight:
      800 !important;
  }

}


/* iPhone 较窄屏幕 */

@media(max-width:390px){

  .draw-list{
    padding-left:
      8px !important;

    padding-right:
      8px !important;
  }


  .draw-row{
    padding-left:
      2px !important;

    padding-right:
      2px !important;
  }


  .draw-name{
    font-size:
      17px !important;
  }


  .draw-issue{
    font-size:
      12px !important;
  }


  .draw-number-ball{
    width:
      35px !important;

    height:
      35px !important;

    flex-basis:
      35px !important;

    font-size:
      16px !important;

    line-height:
      35px !important;
  }


  .draw-zodiac{
    min-width:
      11px !important;

    margin-left:
      1px !important;

    font-size:
      12px !important;

    line-height:
      35px !important;
  }


  .draw-plus{
    margin:
      0 1px !important;

    font-size:
      22px !important;

    line-height:
      35px !important;
  }


  .draw-total{
    font-size:
      17px !important;
  }


  .draw-history-btn,
  .draw-refresh-btn{
    min-width:
      92px !important;

    height:
      36px !important;

    padding:
      0 10px !important;

    font-size:
      12px !important;
  }

}

/* H5 DRAW PRODUCTION FINAL END */


/* H5 HIDE TOP NAV FINAL */
@media(max-width:760px){

  .primary-nav{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:hidden !important;
  }

}


/* HERO BANNER FINAL LAYOUT START */

.hero-content{
  position:relative !important;

  width:100% !important;

  min-height:0 !important;

  aspect-ratio:2.55 / 1 !important;

  padding:0 !important;

  overflow:hidden !important;

  border:
    1px solid rgba(176,91,31,.85) !important;

  border-radius:
    16px !important;

  background:
    linear-gradient(
      145deg,
      #3a0b0c,
      #180507
    ) !important;

  box-shadow:
    inset 0 1px 0
    rgba(255,211,102,.06),
    0 8px 24px
    rgba(0,0,0,.20) !important;
}


/* Banner 主图 */

.hero-brand{
  position:absolute !important;

  left:0 !important;
  right:0 !important;
  top:0 !important;

  bottom:
    58px !important;

  width:100% !important;

  height:auto !important;

  margin:0 !important;
  padding:0 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;
}


.hero-logo{
  display:block !important;

  width:100% !important;
  height:100% !important;

  max-width:none !important;
  max-height:none !important;

  margin:0 !important;

  object-fit:cover !important;

  object-position:center !important;
}


/* 如果图片本身已经带网站文字，
   隐藏重复的网页文字 */

.hero-copy{
  display:none !important;
}


/* 底部四宫格 */

.hero-features{
  position:absolute !important;

  left:0 !important;
  right:0 !important;
  bottom:0 !important;

  width:100% !important;
  height:58px !important;

  display:grid !important;

  grid-template-columns:
    repeat(4,1fr) !important;

  margin:0 !important;
  padding:0 !important;

  border-top:
    1px solid rgba(212,175,55,.34) !important;

  background:
    linear-gradient(
      180deg,
      rgba(49,12,12,.90),
      rgba(30,7,8,.96)
    ) !important;

  backdrop-filter:
    blur(8px);
}


.hero-features span{
  min-width:0 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 8px !important;

  border-right:
    1px solid rgba(212,175,55,.22) !important;

  color:
    #f0dfbd !important;

  font-size:
    14px !important;

  font-weight:
    700 !important;

  line-height:
    1 !important;

  text-align:center !important;

  white-space:
    nowrap !important;
}


.hero-features span:last-child{
  border-right:0 !important;
}


/* PC 外围间距 */

.hero-wrap{
  padding-top:
    14px !important;

  padding-bottom:
    14px !important;
}


/* H5 */

@media(max-width:760px){

  .hero-wrap{
    padding:
      8px !important;
  }


  .hero-content{
    width:100% !important;

    aspect-ratio:
      1.82 / 1 !important;

    border-radius:
      12px !important;
  }


  .hero-brand{
    bottom:
      44px !important;
  }


  .hero-features{
    height:
      44px !important;
  }


  .hero-features span{
    padding:
      0 3px !important;

    font-size:
      10px !important;

    font-weight:
      700 !important;
  }

}


/* 小屏 */

@media(max-width:390px){

  .hero-content{
    aspect-ratio:
      1.75 / 1 !important;
  }


  .hero-features span{
    font-size:
      9px !important;
  }

}

/* HERO BANNER FINAL LAYOUT END */

/* H5 DRAW AUTO FIT START */

@media(max-width:760px){

  .draw-content{
    width:100% !important;
    min-width:0 !important;
    display:block !important;
    container-type:inline-size;
  }

  .draw-balls{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    flex-wrap:nowrap !important;

    gap:0 !important;

    margin:0 !important;
    padding:0 !important;

    overflow:visible !important;
  }

  .draw-number-item{
    width:auto !important;

    height:
      clamp(
        28px,
        9.2cqw,
        42px
      ) !important;

    flex:0 0 auto !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap:
      clamp(
        1px,
        .25cqw,
        2px
      ) !important;

    margin:0 !important;
    padding:0 !important;

    white-space:nowrap !important;
  }

  .draw-number-ball{
    width:
      clamp(
        26px,
        9cqw,
        40px
      ) !important;

    height:
      clamp(
        26px,
        9cqw,
        40px
      ) !important;

    flex:
      0 0
      clamp(
        26px,
        9cqw,
        40px
      ) !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:
      clamp(
        13px,
        4.15cqw,
        18px
      ) !important;

    font-weight:900 !important;

    line-height:1 !important;
  }

  .draw-zodiac{
    width:auto !important;
    min-width:0 !important;

    margin:0 !important;
    padding:0 !important;

    font-size:
      clamp(
        10px,
        3.35cqw,
        15px
      ) !important;

    font-weight:900 !important;

    line-height:1 !important;

    white-space:nowrap !important;
  }

  .draw-plus{
    flex:0 0 auto !important;

    margin:
      0
      clamp(
        1px,
        .35cqw,
        3px
      ) !important;

    padding:0 !important;

    font-size:
      clamp(
        18px,
        5.7cqw,
        26px
      ) !important;

    font-weight:900 !important;

    line-height:1 !important;

    white-space:nowrap !important;
  }

  .draw-total{
    width:100% !important;

    margin:
      clamp(
        10px,
        2.8cqw,
        14px
      )
      0
      0 !important;

    padding:0 !important;

    text-align:right !important;

    white-space:nowrap !important;
  }

  .draw-actions{
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;

    flex-wrap:nowrap !important;

    margin-top:10px !important;
  }

}

/* H5 DRAW AUTO FIT END */


/* DRAW OFFICIAL BUTTON START */

.draw-official-btn{
  height:25px;
  padding:0 9px;
  border-radius:5px;
  border:1px solid rgba(212,175,55,.44);
  background:#321014;
  color:#e6ca83;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}

.draw-official-btn:hover{
  border-color:#D4AF37;
  color:#ffe892;
}

@media(max-width:760px){

  .draw-actions{
    gap:8px !important;
  }

  .draw-official-btn,
  .draw-history-btn,
  .draw-refresh-btn{
    flex:0 1 100px !important;
    min-width:0 !important;
    max-width:110px !important;

    height:38px !important;

    padding:0 8px !important;

    border:1px solid rgba(212,175,55,.70) !important;
    border-radius:8px !important;

    background:#321014 !important;

    color:#efd078 !important;

    font-size:13px !important;
    font-weight:800 !important;

    white-space:nowrap !important;
  }

}

@media(max-width:390px){

  .draw-official-btn,
  .draw-history-btn,
  .draw-refresh-btn{
    height:36px !important;
    font-size:12px !important;
    padding:0 5px !important;
  }

}

/* DRAW OFFICIAL BUTTON END */



/* FEATURED URL CARD STYLE V1 START */

.featured-url-link{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.featured-url-card{
  cursor:default;
}

/* FEATURED URL CARD STYLE V1 END */


/* HERO CAROUSEL V1 START */

.hero-brand.hero-carousel-active{
  display:block !important;
}

.hero-carousel{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#240708;
}

.hero-carousel-slide{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  text-decoration:none;
}

.hero-carousel-image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  user-select:none;
  -webkit-user-drag:none;
}

.hero-carousel-dots{
  position:absolute;
  z-index:10;
  left:50%;
  bottom:9px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.24);
  backdrop-filter:blur(5px);
}

.hero-carousel-dots button{
  width:7px;
  height:7px;
  margin:0;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  cursor:pointer;
  transition:.18s;
}

.hero-carousel-dots button.active{
  width:20px;
  background:#e2ba3f;
}

@media(max-width:760px){

  .hero-carousel-dots{
    bottom:6px;
    gap:5px;
    padding:4px 7px;
  }

  .hero-carousel-dots button{
    width:6px;
    height:6px;
  }

  .hero-carousel-dots button.active{
    width:17px;
  }
}

/* HERO CAROUSEL V1 END */

/* PC HERO DRAW BOTTOM ALIGN V1 START */

@media (min-width:761px){

  .hero{
    align-items:stretch !important;
  }

  .hero-content,
  .draw-panel{
    align-self:stretch !important;
    height:auto !important;
  }

}

/* PC HERO DRAW BOTTOM ALIGN V1 END */

/* TICKER RESPONSIVE FINAL V1 START */

.ticker{
  height:44px !important;
  display:flex !important;
}

.ticker-title{
  flex:0 0 auto;
  padding:0 16px !important;
  font-size:15px !important;
  font-weight:900 !important;
  white-space:nowrap;
}

.ticker-window{
  min-width:0;
  flex:1 1 auto;
}

.ticker-track{
  font-size:14px !important;
  line-height:1 !important;
  animation-duration:
    var(--ticker-duration,28s) !important;
}

@media(max-width:760px){

  .ticker{
    display:flex !important;
    width:100% !important;
    height:38px !important;
    min-height:38px !important;
    margin:0 !important;
  }

  .ticker-title{
    padding:0 10px !important;
    font-size:13px !important;
  }

  .ticker-track{
    font-size:12px !important;
  }

}

/* TICKER RESPONSIVE FINAL V1 END */

.hero h1.hero-image-heading {
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  font-size:0;
  line-height:0;
  color:inherit;
  text-shadow:none;
}

/* H5 FOOTER LAYOUT START */

/*
  PC:
  不增加任何桌面布局覆盖，
  完全沿用现有 Footer。
*/


/*
  H5:
  第一行品牌独占。
  第二行开始 2 列。
*/
@media(max-width:640px){

  footer.cs-site-footer{
    display:grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      ) !important;

    column-gap:16px !important;

    row-gap:12px !important;

    align-items:start !important;

    text-align:left !important;

    padding-inline:
      16px !important;
  }


  footer.cs-site-footer
  > div{
    min-width:0;

    margin:0 !important;

    line-height:1.55;

    white-space:normal;

    overflow-wrap:break-word;
  }


  /*
    品牌占满整行
  */
  footer.cs-site-footer
  .cs-footer-brand{
    grid-column:
      1 / -1;

    padding-bottom:11px;

    font-weight:700;

    letter-spacing:.2px;
  }


  /*
    第二行左边
  */
  footer.cs-site-footer
  .cs-footer-tagline{
    grid-column:1;

    font-size:12px;
  }


  /*
    第二行右边
  */
  footer.cs-site-footer
  .cs-footer-links{
    grid-column:2;

    font-size:12px;
  }


  footer.cs-site-footer
  .cs-footer-links a{
    display:inline;

    white-space:normal;
  }
}


/*
  超窄手机才变 1 列，
  防止 320 / 360 宽度文字过度拥挤。
*/
@media(max-width:360px){

  footer.cs-site-footer{
    grid-template-columns:
      1fr !important;

    row-gap:9px !important;
  }


  footer.cs-site-footer
  .cs-footer-brand,
  footer.cs-site-footer
  .cs-footer-tagline,
  footer.cs-site-footer
  .cs-footer-links{
    grid-column:
      1 / -1;
  }
}

/* H5 FOOTER LAYOUT END */

