/* The original homepage composition, with QUQN's navy and gold artwork. */
.live-strip{margin:0!important;position:relative;z-index:8;border-top:1px solid #d6a32b;border-bottom:1px solid #d6a32b}
.brand img,.live-brand img,.footer .brand img,.guide-top .brand img,.legal-top .brand img,.manager-head .brand img{
  border-radius:50%;clip-path:circle(49% at 50% 50%);background:transparent
}
/* Keep the miner in the header, after the UniScan button on desktop. */
.site-header .nav{gap:clamp(8px,2vw,20px)}
.site-header .navtools{gap:6px}
.site-header #quqn-sound-toggle{min-width:0!important}
.site-header #topUniscan{font-size:10.4px!important;padding:8px 11px!important}
@media(min-width:981px) and (max-width:1150px){.site-header .top-social-links{display:none}}
@media(max-width:650px){
  .site-header .nav{display:grid;grid-template-columns:max-content minmax(10px,1fr) max-content minmax(10px,1fr) max-content;gap:0}
  .site-header .brand{grid-column:1;justify-self:start}
  .site-header .navtools{display:contents}
  .site-header .lang-picker{grid-column:3;justify-self:center}
  .site-header .lang-btn{min-width:86px;max-width:110px;padding:6px 8px!important;gap:5px!important;font-size:13px}
  .site-header .lang-btn img{width:20px;height:14px}
  .site-header #quqn-miner-widget{grid-column:5;justify-self:end}
}
@media(max-width:350px){
  .site-header .brand{gap:4px}
  .site-header .brand img{width:30px;height:30px}
  .site-header .brand span{font-size:1.1rem}
}
.site-header{z-index:100}
.v4-hero{background:#071625}
.v4-hero .hero-image{
  background-image:url('../reference-city.webp')!important;
  background-size:cover!important;
  background-position:center 53%!important;
  background-repeat:no-repeat!important;
  filter:brightness(.86) saturate(1.12)
}
.v4-hero .hero-image:after{
  content:"";position:absolute;top:0;left:58%;transform:translateX(-58%);
  height:118%;width:auto;aspect-ratio:1122 / 1402;
  background:url('../hero-night-city.webp') center top / cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent),linear-gradient(180deg,#000 0%,#000 72%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent),linear-gradient(180deg,#000 0%,#000 72%,transparent 100%);
  mask-composite:intersect;
  pointer-events:none
}
.v4-hero .hero-overlay{background:linear-gradient(90deg,#05101cbf,#0717255a 47%,#05111dc0),linear-gradient(0deg,#06131fd9,transparent 45%)!important}
.v4-hero .attraction-intro:before{background:linear-gradient(0deg,#071622db,#0716227d 55%,transparent)!important}
body .v4-hero .hero-game,body .v4-hero .hero-coop-preview{
  background:linear-gradient(150deg,#0b1b2aee,#0b1a27e8)!important;
  border:1px solid #e9b75882!important;
  box-shadow:0 20px 46px #0009!important
}
body .v4-hero .hero-future-card{background:#0b1d2b!important;border:1px solid #e2b85b82!important}
body .v4-hero .hero-game-head p,body .v4-hero .game-disclaimer{color:#d6e2e4!important}
body .v4-hero .hero-coop-preview-count,body .v4-hero .hero-holder-address{color:#cad8d9}
body .v4-hero .hero-holder-row{background:#102b3a;border:1px solid #dbb15d43}
body .v4-hero .hero-holder-row img{object-fit:contain;background:#091c29}
body .v4-hero .coop-rank-teaser{grid-template-columns:46px minmax(0,1fr) auto;min-height:53px;gap:9px}
body .v4-hero .coop-rank-teaser img{width:44px;height:44px}
body .v4-hero .quick-mint{background:#081c2dc9;border:1px solid #e3b65f88;box-shadow:0 12px 32px #0007}
body .v4-hero .quick-mint-card{background:#102636;border:1px solid #e1b45b80}
body .v4-hero .quick-mint-note{color:#d1dfe1}
body .v4-hero .hero-social.x{background:#101d2b}body .v4-hero .hero-social.telegram{background:#208fca}
/* Open space above the headline for the rooster's face. Keep all four actions together. */
body .v4-hero .attraction-layout{min-height:950px;padding-top:78px}
body .v4-hero .attraction-intro{justify-content:flex-end}
body .v4-hero .attraction-intro .hero-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.3fr) minmax(0,.8fr) minmax(0,.95fr);gap:7px;align-items:stretch}
body .v4-hero .attraction-intro .hero-actions>a,body .v4-hero .attraction-intro .hero-actions>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:43px;padding:8px 6px;font-size:9px;line-height:1.15;text-align:center;white-space:normal}
body .v4-hero .attraction-intro .hero-actions>.hero-social{gap:4px;font-size:9px;font-weight:850}
body .v4-hero .attraction-intro .hero-actions>.hero-social span{font-size:14px}
/* The poster has lettering inside the image: show the entire native 16:9 frame. */
#story .feature-img{min-height:0;height:auto}
#story .feature-img img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center}
#story .quqn-talk{top:auto;right:auto;bottom:70px;left:12px}
/* Show each Coop character's face and restore the clear six-rank lineup. */
#ranks .section-head{text-align:left;margin-left:0;max-width:950px}
#ranks .rank-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
#ranks .rank{min-width:0}
#ranks .rank img{display:block;width:100%;height:clamp(210px,20vw,320px)!important;aspect-ratio:auto!important;object-fit:cover;object-position:center 20%;background:#0d1d2c;filter:none}
#ranks .rank div{padding:12px}#ranks .rank h3{font-size:.92rem}#ranks .rank p{font-size:.73rem}
/* Editorial roadmap: actual status is separate from creative plans. */
.reference-roadmap{padding:64px 0 56px;background:linear-gradient(155deg,#0d2433,#071421 74%);border-top:1px solid #e9af3940}
.reference-roadmap .ref-section-heading{margin-bottom:36px}
.reference-roadmap-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative}
.reference-roadmap-track:before{content:'';position:absolute;left:12%;right:12%;top:23px;height:2px;background:linear-gradient(90deg,#ffce63,#c59543,#546779);z-index:0}
.reference-roadmap-track li{position:relative;z-index:1;min-width:0;padding:0 14px 18px;text-align:center}
.reference-roadmap-dot{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 17px;border:2px solid #dda94e;border-radius:50%;background:#081a27;color:#ffe1a1;font-size:.8rem;font-weight:1000;box-shadow:0 0 14px #ffb83136}
.reference-roadmap-track .is-live .reference-roadmap-dot,.reference-roadmap-track .is-current .reference-roadmap-dot{background:linear-gradient(#ffeaa4,#e5ac37);color:#201508;border-color:#fff0ad;box-shadow:0 0 16px #ffc64875}
.reference-roadmap-track small{display:block;min-height:22px;color:#ffd16c;font-size:.65rem;font-weight:900;letter-spacing:.12em}
.reference-roadmap-track h3{color:#fff6df;font-size:1.08rem;margin:5px 0 7px;line-height:1.2}
.reference-roadmap-track p{color:#c4d3d7;font-size:.81rem;line-height:1.44;margin:0}
.reference-roadmap-note{text-align:center;color:#a6bbc3;font-size:.75rem;margin:17px auto 0;max-width:690px}
@media(max-width:1050px){#ranks .rank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px) and (min-width:981px){body .v4-hero .attraction-intro .hero-actions{gap:4px}body .v4-hero .attraction-intro .hero-actions>a,body .v4-hero .attraction-intro .hero-actions>button{padding:7px 3px;font-size:8px}}
@media(max-width:980px){body .v4-hero .attraction-layout{min-height:0;padding-top:90px}body .v4-hero .attraction-intro{min-height:760px;padding-top:260px}}
@media(max-width:760px){.v4-hero .hero-image{background-position:center top!important}}
@media(max-width:600px){body .v4-hero .attraction-intro .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}body .v4-hero .attraction-intro{min-height:780px;padding-top:250px}}
@media(max-width:650px){#story .feature-img{min-height:0}#story .feature-img img{height:auto;aspect-ratio:16/9}#story .quqn-talk{bottom:56px}#ranks .rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ranks .rank img{height:clamp(190px,48vw,290px)!important}.reference-roadmap-track{grid-template-columns:1fr;gap:0}.reference-roadmap-track:before{left:23px;right:auto;top:10px;bottom:20px;width:2px;height:auto}.reference-roadmap-track li{display:grid;grid-template-columns:46px 1fr;column-gap:17px;text-align:left;padding:0 0 25px}.reference-roadmap-dot{grid-row:1/4;margin:0}.reference-roadmap-track h3{margin:0 0 3px}.reference-roadmap-note{text-align:left}}
/* A shorter reading path: introductory facts, characters, story, Coop, journey and FAQ. */
body .v4-hero .attraction-layout{min-height:900px}
.reference-explainer,.reference-chapters{padding:40px 0 44px}
.reference-explainer-grid article{min-height:188px;padding:18px 20px}
.reference-explainer .ref-icon{width:50px;height:50px;font-size:1.9rem}
.reference-character-art{height:185px}
.reference-character-copy{padding:12px 17px 16px}
.reference-character-copy p{min-height:0;margin:6px 0 10px}
.reference-explainer .ref-section-heading,.reference-chapters .ref-section-heading{margin-bottom:19px}
main>.section:not(.road-section){padding-block:46px}
#ranks .rank img{height:clamp(185px,17vw,245px)!important}
#ranks .section-head{margin-bottom:15px}
body #ranks .live-coop{margin-top:27px;padding-top:25px}
#road21m{padding:42px 0}
.reference-roadmap{padding:42px 0 39px}
.reference-roadmap .ref-section-heading{margin-bottom:23px}
#community .community-box{padding:23px 31px;gap:18px}
#community h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:4px 0 6px}
#community p{margin:0}
@media(max-width:980px){
  body .v4-hero .hero-top10 .hero-holder-row:nth-child(n+6){display:none}
  body .v4-hero .hero-coop-preview.show-top10 .hero-holder-row:nth-child(n+6){display:grid}
  body .v4-hero .hero-coop-more:not([hidden]){display:block!important}
}
@media(min-width:981px){
  body .v4-hero .hero-top10 .hero-holder-row:nth-child(n+6){display:grid}
  body .v4-hero .hero-top10{max-height:none;overflow:visible}
}
body .v4-hero .hero-coop-more[hidden]{display:none!important}
@media(max-width:1050px){#ranks .rank img{height:230px!important}}
@media(max-width:980px){body .v4-hero .attraction-layout{min-height:0}body .v4-hero .attraction-intro{min-height:710px;padding-top:235px}body .v4-hero .hero-future-stage{height:clamp(205px,37vw,285px)!important}.reference-explainer,.reference-chapters{padding:36px 0 39px}.v4-hero .hero-image:after{height:850px;top:-45px;left:65%;transform:translateX(-50%)}}
@media(max-width:650px){body .v4-hero .attraction-intro{min-height:730px;padding-top:240px}.v4-hero .hero-image:after{height:680px;top:0;left:70%;transform:translateX(-50%)}.reference-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.reference-character.known{grid-column:1/-1;display:grid;grid-template-columns:39% 1fr}.reference-character.known .reference-character-art{height:100%;min-height:185px}.reference-character.known .reference-character-copy{align-self:center}.reference-character.unknown .reference-character-art{height:135px}.reference-character.unknown .reference-character-copy{padding:10px}.reference-character.unknown .reference-character-copy p{font-size:.74rem}.reference-character.unknown .locked-link{font-size:.55rem}.reference-character.unknown .character-badge{font-size:.5rem;left:7px;bottom:7px}.reference-explainer-grid article{min-height:0;padding:15px 18px}.reference-explainer-grid article .ref-icon{width:40px;height:40px;font-size:1.4rem}.reference-explainer-grid h3{font-size:1.35rem}.reference-explainer-grid p{font-size:.82rem}main>.section:not(.road-section){padding-block:36px}#ranks .rank img{height:clamp(155px,45vw,210px)!important}#community .community-box{padding:18px;gap:12px}#road21m{padding:30px 0}.reference-roadmap-track li{padding-bottom:12px}.reference-roadmap{padding:34px 0}}

/* Keep the desktop city and gold artwork visible on phones. The figures stay
   first, but occupy a short band so the rooster's face appears on entry. */
@media(max-width:650px){
  body .live-strip{padding:3px 0!important}
  body .live-strip-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px!important;padding:0!important}
  body .live-strip-inner>*{min-height:0;padding:4px 0!important;border-right:0!important}
  body .live-strip-inner .live-brand{grid-column:1/-1;min-height:36px!important;gap:7px;padding-bottom:5px!important}
  body .live-brand img{width:30px;height:30px}
  body .live-brand b{font-size:12px}
  body .live-brand small{display:none}
  body .live-brand i{font-size:7px;padding:2px 5px}
  body .live-strip-inner .live-stat{min-height:32px!important;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;border-bottom:1px solid #ffffff15}
  body .live-stat small{font-size:8px;letter-spacing:.03em;white-space:nowrap}
  body .live-stat strong{font-size:13px;margin:0;white-space:nowrap}
  body .live-strip-inner .live-progress{grid-column:1/-1;min-height:30px!important;border-bottom:0!important;padding-top:5px!important}
  body .live-progress .meter{height:4px;margin:3px 0 1px}
  body .v4-hero .hero-overlay{background:linear-gradient(180deg,rgba(5,16,28,.12) 0%,rgba(5,16,28,.08) 32%,rgba(5,16,28,.72) 63%,#071625 100%)!important}
  body .v4-hero .hero-image:after{top:-32px;height:680px}
  body .v4-hero .attraction-layout{padding-top:0}
  body .v4-hero .attraction-intro{position:relative;isolation:isolate;min-height:650px;padding-top:210px}
  body .v4-hero .attraction-intro:before{content:"";position:absolute;z-index:-1;left:-15px;right:-15px;top:185px;bottom:0;background:linear-gradient(180deg,transparent,#071625b0 22%,#071625ed 70%);pointer-events:none}
}
