/* Mobile layout with the compact liquid-glass navigation concept v2. */
.hh-mobile-dock{display:none}
@media(max-width:767px){
  :root{scroll-padding-top:24px;scroll-padding-bottom:100px}
  body{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  .page-width,.section-width{width:calc(100% - 32px)}
  .site-header,.inner-page .site-header{position:relative;inset:auto;margin:8px 12px 0;min-height:60px;padding:7px 10px;gap:4px;border-radius:19px;width:auto;overflow:visible}
  .site-header .brand{font-size:23px;line-height:1;gap:5px;letter-spacing:-.06em;min-height:44px}
  .site-header .brand-symbol,.site-header .brand-symbol svg{width:27px;height:31px}
  .site-header .desktop-nav,.site-header .network-button,.site-header .wallet-trigger,.site-header .theme-toggle{display:none}
  .site-header .header-actions{margin-left:auto;gap:2px}
  .site-header .search-trigger,.site-header .menu-trigger{display:grid;width:44px;height:44px;min-height:44px}
  .mobile-nav{position:absolute;left:12px;right:12px;top:77px;max-height:calc(100dvh - 170px);z-index:50;overflow:auto;background:var(--paper,#f7faf3)}
  .mobile-nav a,.menu-utility{min-height:48px;font-size:15px}
  .mobile-nav .wallet-trigger{width:100%;height:auto;min-height:48px;padding:10px 12px;justify-content:flex-start;font-size:15px}
  .mobile-nav .wallet-trigger>span{display:inline-block;max-width:none}
  .hh-mobile-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto auto calc(10px + env(safe-area-inset-bottom,0px)) 50%;transform:translateX(-50%);width:min(328px,calc(100% - 40px));box-sizing:border-box;z-index:40;isolation:isolate;border:1px solid #ffffff87;border-radius:32px;padding:4px;background:linear-gradient(145deg,#ffffff24,transparent 43%,#a5c5b00a),#f5fceea8;box-shadow:inset 0 1px 0 #ffffffb8,inset 0 -1px 0 #29493126,0 5px 18px #1026171f,0 1px 3px #10261712;backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
  .hh-mobile-dock:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,#ffffff30,transparent 24%,transparent 72%,#ffffff1a);box-shadow:inset 1px 0 0 #ffffff4d,inset -1px 0 0 #ffffff24}
  .hh-mobile-dock a{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:48px;min-width:0;border:1px solid transparent;border-radius:26px;font-size:11px;line-height:12px;font-weight:600;color:#1f3a27;text-decoration:none;transition:color 150ms ease,background-color 150ms ease,box-shadow 150ms ease}
  .hh-mobile-dock svg{width:20px;height:20px;stroke-width:1.6}
  .hh-mobile-dock a[aria-current=page]{color:#214d25;background:linear-gradient(150deg,#ffffff40,#b5dc902e);border-color:#ffffff4d;box-shadow:inset 0 1px 0 #ffffff66,0 1px 4px #2446270d}
  .hh-mobile-dock a:active{background-color:#ffffff24}
  .hh-mobile-dock a:focus-visible{outline:2px solid #69a342;outline-offset:-2px}
  html[data-theme=dark] .hh-mobile-dock{background:linear-gradient(145deg,#e1f4e80f,transparent 43%,#e1f4e805),#071410a8;border-color:#e1f4e83d;box-shadow:inset 0 1px 0 #f1fff04d,inset 0 -1px 0 #00000040,0 5px 18px #00000033,0 1px 3px #00000029}
  html[data-theme=dark] .hh-mobile-dock:before{background:linear-gradient(115deg,#ffffff0f,transparent 24%,transparent 72%,#ffffff0a);box-shadow:inset 1px 0 0 #ffffff1a,inset -1px 0 0 #ffffff0f}
  html[data-theme=dark] .hh-mobile-dock a{color:#e0ede3}
  html[data-theme=dark] .hh-mobile-dock a[aria-current=page]{color:#d1eebc;background:linear-gradient(150deg,#e2f7d81c,#a5d68612);border-color:#d9f5c71f;box-shadow:inset 0 1px 0 #e4fbd626,0 1px 4px #0000000d}
  html.low-effects .hh-mobile-dock{background:#f5f9f1;backdrop-filter:none;-webkit-backdrop-filter:none}
  html[data-theme=dark].low-effects .hh-mobile-dock{background:#111a18}
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .hh-mobile-dock{background:#f5f9f1}
    html[data-theme=dark] .hh-mobile-dock{background:#111a18}
  }
  @media(prefers-reduced-transparency:reduce){
    .hh-mobile-dock{background:#f5f9f1;backdrop-filter:none;-webkit-backdrop-filter:none}
    html[data-theme=dark] .hh-mobile-dock{background:#111a18}
  }
  @media(forced-colors:active){
    .hh-mobile-dock,html[data-theme=dark] .hh-mobile-dock{background:Canvas;border-color:CanvasText;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
    .hh-mobile-dock:before{display:none}
    .hh-mobile-dock a,html[data-theme=dark] .hh-mobile-dock a{color:CanvasText}
    .hh-mobile-dock a[aria-current=page],html[data-theme=dark] .hh-mobile-dock a[aria-current=page]{color:Highlight;background:Canvas;border-color:Highlight;box-shadow:none}
  }
  body:has(dialog[open]) .hh-mobile-dock,body:has(input:not([type=radio]):not([type=checkbox]):focus,textarea:focus,select:focus) .hh-mobile-dock{visibility:hidden;pointer-events:none}
  .hero{height:660px;min-height:0;margin-top:-68px;padding-top:68px;isolation:isolate}
  .hero>.page-width{position:relative;height:100%}
  .hero-copy{top:33px;left:0;max-width:100%;width:100%}
  .hero .eyebrow{font-size:10px;letter-spacing:.16em;line-height:1.5}
  .hero h1{font-size:clamp(34px,9.1vw,54px);line-height:1.02;letter-spacing:-.05em;margin-top:11px}
  .hero-description{font-size:15px;line-height:1.55;max-width:300px;margin-top:13px}
  .hero-actions{margin-top:18px;gap:8px 16px;flex-wrap:wrap}
  .hero-actions .button,.hero-actions .text-link{font-size:13px;min-height:46px}
  .hero-actions .button{padding-inline:18px;gap:12px}
  .hero-art{top:auto;bottom:0;left:0;width:100%;height:430px;object-fit:cover;object-position:65% center;max-width:100%}
  .hero-wash{background:linear-gradient(180deg,#f9fdf8 8%,#f9fdf8 27%,#f9fdf8ba 42%,transparent 61%)}
  html[data-theme=dark] .hero-wash{background:linear-gradient(180deg,#071511 8%,#071511 27%,#071511ad 42%,transparent 63%)}
  .hero-pagination{margin-top:16px;max-width:272px;gap:10px}
  .hero-feature{bottom:16px;right:0;width:242px;padding:11px;grid-template-columns:53px minmax(0,1fr);gap:8px}
  .hero-feature .feature-name{font-size:10px;letter-spacing:.13em}
  .hero-feature .feature-status{font-size:12px}
  .hero-feature .feature-meta{font-size:11px;margin-top:5px;padding-top:5px}
  .hero-feature .feature-open{font-size:13px;min-height:44px}
  .brand-note,.world-note{display:none}
  .featured{padding-top:24px}
  h2{font-size:27px;line-height:1.12}
  .section-heading{flex-direction:column;align-items:stretch;gap:14px}
  .section-controls{width:100%;min-width:0;flex-wrap:wrap;gap:8px}
  .segmented{max-width:100%;gap:3px}.segmented button{font-size:12px;min-height:44px;padding:8px 12px}
  .section-controls>.text-link{min-height:44px;font-size:13px;margin:0}.section-controls>.text-link:before{display:none}
  .collection-grid{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible;margin:0;padding:0;gap:16px;scroll-snap-type:none}
  .collection-card{width:100%;min-width:0;flex:none}
  .collection-image-button{height:auto;aspect-ratio:1.9}
  .collection-info,.collection-card:not(.first-card) .collection-info{padding:22px 14px 14px;gap:12px;min-height:89px;flex-wrap:wrap}
  .collection-emblem{left:14px;width:40px;height:40px;top:-24px}
  .collection-title{flex:1;min-width:0}.collection-title>button{font-size:22px;line-height:1.2;white-space:normal}
  .collection-title p{font-size:12px;line-height:1.5;white-space:normal;flex-wrap:wrap;gap:4px}
  .collection-card .collection-price{display:flex!important;margin-left:0;flex-direction:row;align-items:center;gap:7px;width:100%;order:3}
  .collection-price span{font-size:12px}.collection-price strong{font-size:14px}
  .collection-open{width:44px;height:44px;margin-left:0}
  .ecosystem{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;padding-block:28px}
  .community-list{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  .community-profile{grid-template-columns:52px minmax(0,1fr);gap:12px}
  .community-profile+.community-profile{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}
  .community-profile h3{font-size:17px}.community-profile h3 button{min-height:36px}
  .community-profile p{font-size:14px;line-height:1.5}.community-bottom{flex-wrap:wrap;gap:7px 16px}
  .community-bottom>span,.community-bottom .text-link{font-size:12px}.community-bottom .text-link{min-height:44px}
  .raffles{padding:22px 0 0;border-left:0;border-top:1px solid var(--line)}
  .raffle-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .raffle-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:10px;padding:13px}
  .raffle-thumb{width:50px;height:56px}.raffle-row h3{font-size:15px}.raffle-row p{font-size:13px;margin-top:5px}
  .raffle-row>.button{grid-column:1/-1;width:100%;min-height:44px;font-size:14px;margin:0}.raffle-row .button svg{display:block}
  .marketplace{display:block;padding-top:28px;content-visibility:visible}
  .marketplace .section-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .market-search,.sort-control select{min-height:48px}.market-search input,.sort-control select{font-size:16px;width:100%;max-width:none}
  .market-tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:6px;padding:0;margin:0 0 20px;width:100%}
  .market-tabs button{min-height:44px;font-size:12px;white-space:normal;padding:8px 12px}
  .nft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .nft-details{padding:12px 10px}.nft-details .collection-label{font-size:12px;line-height:1.45}.nft-details h3{font-size:16px;line-height:1.3}
  .nft-price-row{display:flex;align-items:stretch;flex-direction:column;gap:9px;margin-top:9px}.nft-price-row strong{font-size:14px;line-height:1.4}.nft-price-row .button{width:100%;min-height:44px;font-size:13px}
  .footer{padding-block:28px;gap:12px}.footer nav{flex-wrap:wrap;gap:5px 16px}.footer nav button{min-height:44px;font-size:13px}.preview-label{margin-left:0}
  .dialog-shell{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px));margin:auto 8px 8px;border-radius:24px;overflow:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}
  .dialog-grid{grid-template-columns:minmax(0,1fr)}.dialog-art{height:190px;min-height:190px;border-radius:23px 23px 0 0}
  .dialog-body,.dialog-grid .dialog-body{padding:26px 20px}.dialog-body h2{font-size:29px;line-height:1.12;padding-right:24px}.dialog-body p{font-size:14px;line-height:1.6}
  .dialog-close{width:44px;height:44px;top:8px;z-index:5;background:var(--paper);box-shadow:0 1px 8px #0002}
  .dialog-body .button{min-height:48px;font-size:14px}.dialog-actions{flex-wrap:wrap;gap:10px}.dialog-actions .button{flex:1;min-width:120px}
  .form-grid{grid-template-columns:minmax(0,1fr)}.form-field input,.form-field textarea,.form-field select,.search-input-wrap input{font-size:16px;min-height:48px}.form-field label{font-size:14px}
  .detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail-stats strong{font-size:16px}.detail-stats span{font-size:12px}
  .phase-row{flex-wrap:wrap;gap:10px}.phase-copy{min-width:150px}.phase-copy p{font-size:13px}
  .theme-options{grid-template-columns:minmax(0,1fr)}.theme-option{min-height:72px}.settings-row{gap:16px;min-height:64px}
  .toast{bottom:calc(92px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 32px)}
  .hh-mobile-about-link{display:flex;min-height:44px;align-items:center;justify-content:center;gap:8px;font-size:14px;color:var(--green)}
  .hh-mobile-about-link svg{width:18px;height:18px}
}
@media(max-width:350px){
  .site-header .brand{font-size:21px}.site-header{padding-inline:8px;margin-inline:8px}.page-width,.section-width{width:calc(100% - 28px)}
  .hero{height:685px}.hero h1{font-size:32px}.hero-actions{gap:4px 12px}.hero-actions .button{font-size:12px;padding-inline:15px}.hero-actions .text-link{font-size:12px}
  .segmented button{padding-inline:10px}.nft-grid{gap:9px}.nft-details h3{font-size:15px}
}
