/* Quiet Engine Club: approved-image mobile implementation.
   Desktop pixels and approved raster assets remain unchanged. */
.mobile-v2,.mobile-hero-art{display:none}
@media(max-width:700px){
  :root{--mobile-ink:#0a1b2b;--mobile-cream:#fffaf1}
  html,body{max-width:100%;overflow-x:clip}
  body{background:var(--mobile-cream);color:var(--mobile-ink)}
  body>header{height:74px;min-height:74px;max-width:100%;padding:0 20px;transform:none!important;background:#fffaf1;gap:10px;display:flex!important;position:relative;z-index:30}
  header .brand{display:flex;align-items:center;gap:8px;max-width:none;min-width:0;flex:1 1 auto;font-size:16px!important;line-height:1.05;font-weight:850;letter-spacing:-.035em}
  header .brand-logo{flex:0 0 40px;width:40px!important;height:40px!important}
  header nav{display:none!important}
  header .header-join{display:none!important}
  header .mobile-menu{display:block;flex:0 0 auto;margin:0}
  header .mobile-menu summary{display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;min-height:48px;border:none;background:transparent;cursor:pointer;font-size:0!important;list-style:none}
  header .mobile-menu summary::after{content:"☰";font:400 28px/1 system-ui,sans-serif;color:var(--mobile-ink)}
  header .mobile-menu-links{right:0;top:51px;z-index:40;min-width:210px}
  main>.hero{display:block!important;background:linear-gradient(115deg,#fffaf1 4%,#f5fbf5 57%,#c6efff 100%);overflow:hidden;padding:0!important}
  .hero .wrap.split{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-height:0;padding:35px 24px 28px!important;overflow:visible}
  .hero .split>div:first-child{width:100%!important;max-width:100%!important;padding:0!important}
  .hero .hero-img{display:none!important}
  .hero .eyebrow{margin:0 0 24px!important;font-size:13px!important;line-height:1.65!important;letter-spacing:.20em!important;color:var(--mobile-ink)}
  .hero h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(48px,12vw,62px)!important;font-weight:850;line-height:.98!important;letter-spacing:-.075em!important;margin:0 0 14px!important;color:var(--mobile-ink)}
  .hero h3{font-size:27px!important;letter-spacing:-.04em!important;line-height:1.2!important;margin:0 0 16px!important;color:var(--mobile-ink)}
  .hero .split>div:first-child>p:not(.eyebrow){font-size:17px!important;line-height:1.45!important;margin:0 0 19px!important;color:var(--mobile-ink)}
  .hero .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:55px!important;border-radius:15px!important;font-size:15px!important;font-weight:750;margin:0 0 10px!important;padding:12px!important;white-space:normal}
  .hero .btn.ghost{border-color:#112e35;background:#fffaf1}
  .mobile-hero-art{display:block!important;width:100%;line-height:0;background:#bdeeff}
  .mobile-hero-art img{display:block;width:100%;height:auto;object-fit:contain}
  main>.values{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:none;width:100%;min-height:91px;margin:-12px auto 0!important;padding:12px 7px 16px!important;position:relative;z-index:5;background:#fffcf7;border-radius:19px 19px 0 0}
  main>.values span{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-width:0;width:auto;min-height:65px;padding:5px 3px;font-size:10px!important;line-height:1.2;text-align:center;border-right:0!important}
  main>.values span img{width:25px;height:31px}
  #play.play-fidelity{margin:0!important;border-radius:0!important}
  /* The three raster desktop composites are intentionally replaced only on mobile. */
  #token.art-section,#community.art-section,footer.art-section{padding:0!important;line-height:normal!important;min-height:0!important;width:100%!important;overflow:hidden!important}
  #token.art-section>.reference,#community.art-section>.reference,footer.art-section>.reference{display:none!important}
  #token.art-section>.hotspots,#community.art-section>.hotspots,footer.art-section>.hotspots{display:none!important}
  #token.art-section .mobile-v2,#community.art-section .mobile-v2,footer.art-section .mobile-v2{display:block!important;width:100%;background:#fffaf1;color:var(--mobile-ink)}
  .mobile-v2 .mobile-inner{padding:54px 24px 0}
  .mobile-v2 .mobile-eyebrow{font-size:13px;font-weight:850;letter-spacing:.20em;line-height:1.4;margin:0 0 27px}
  .mobile-v2 h2{font-family:Inter,system-ui,sans-serif;font-size:clamp(44px,11.5vw,54px);font-weight:850;letter-spacing:-.06em;line-height:1.06;color:var(--mobile-ink);margin:0 0 20px}
  .mobile-v2 p{color:var(--mobile-ink)}
  .mobile-v2 .mobile-lead{font-size:19px;line-height:1.43;margin:0 0 22px}
  .mobile-v2 .mobile-subcopy{font-size:17px;line-height:1.48;margin:0 0 24px}
  .mobile-v2 .mobile-subcopy span{display:block}
  .mobile-v2 .mobile-cta{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;width:100%;min-height:58px;padding:12px 15px;border-radius:16px;border:1px solid #102b35;color:#fff;background:#073842;font:750 16px/1.3 Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
  .mobile-v2 .mobile-cta.primary{background:#09383e;border-color:#09383e}
  .mobile-v2 .mobile-cta:focus-visible{outline:3px solid #168da3;outline-offset:3px}
  .mobile-token .mobile-token-details[hidden]{display:none!important}
  .mobile-token .mobile-token-details{background:#f4f5eb;border-radius:14px;margin:12px 0 0;padding:15px 16px;border:1px solid #d9e4db}
  .mobile-token .mobile-token-details p{font-size:14px;line-height:1.55;margin:0 0 8px}
  .mobile-token .mobile-token-details p:last-child{margin:0}
  .mobile-token-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0}
  .mobile-token-benefits .mobile-benefit{display:flex;align-items:center;gap:8px;min-width:0;min-height:80px;padding:9px 8px;background:#fffcf6;border-radius:14px;box-shadow:0 4px 12px #16231a0c;border:1px solid #efe7da}
  .mobile-benefit img{width:38px;height:38px;flex:0 0 38px;border-radius:11px;object-fit:cover}
  .mobile-benefit span{display:flex;flex-direction:column;min-width:0;gap:3px}
  .mobile-benefit b{font-size:12px;line-height:1.18;letter-spacing:-.025em}
  .mobile-benefit small{font-size:10px;line-height:1.3}
  .mobile-v2 .mobile-illustration{width:100%;line-height:0;overflow:hidden;background:#fffaf1}
  .mobile-v2 .mobile-illustration img{display:block;width:100%;height:auto}
  .mobile-token-art{margin-top:16px}
  .mobile-token-art img{width:100%}
  .mobile-join .mobile-inner{padding-top:54px;padding-bottom:0}
  .mobile-join h2{font-size:clamp(42px,11.8vw,58px);line-height:1.04;margin-bottom:24px}
  .mobile-join .mobile-lead{margin-bottom:25px}
  .mobile-social-actions{display:flex;flex-direction:column;gap:12px;margin-bottom:10px}
  .mobile-v2 .social-x{background:#101d30;border-color:#101d30}
  .mobile-v2 .social-telegram{background:#079bea;border-color:#079bea;color:white}
  .mobile-join-art{margin-top:18px}
  .mobile-join-art img{width:100%;height:auto}
  footer.art-section{border-radius:0!important}
  footer.art-section .mobile-footer{padding:24px 24px 36px;background:#fffaf1}
  .mobile-footer-brand{display:flex;align-items:center;gap:10px;color:var(--mobile-ink);font-weight:800;font-size:16px;text-decoration:none}
  footer.art-section .mobile-footer nav{display:flex;flex-wrap:wrap;gap:18px;margin:22px 0 20px;padding:0}
  .mobile-footer nav a{font-size:14px;color:var(--mobile-ink);text-decoration:none}
  .mobile-footer .mobile-cta{min-height:50px}
  .game-modal .panel{max-height:calc(100dvh - 24px);overflow-y:auto}
}
@media(max-width:360px){
  body>header{padding:0 14px}
  header .brand{font-size:14px!important}
  .hero .wrap.split{padding:30px 20px 24px!important}
  .hero h1{font-size:46px!important}
  .mobile-v2 .mobile-inner{padding-left:19px;padding-right:19px}
  .mobile-v2 h2{font-size:42px}
  .mobile-benefit img{width:33px;height:33px;flex-basis:33px}
  .mobile-benefit b{font-size:11px}
  .mobile-benefit small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Final mobile visual alignment against the approved three-panel design. */
@media(max-width:700px){
 #community.art-section .mobile-join h2{
  font-family:Inter,system-ui,sans-serif!important;
  font-size:clamp(44px,12vw,55px)!important;
  font-weight:850!important;
  line-height:1.03!important;
  letter-spacing:-.065em!important;
  white-space:normal!important;
  margin:0 0 23px!important;
 }
 .mobile-hero-art img{
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 100%);
 }
 .mobile-hero-art{margin-top:-12px}
}
