/* SIQPUEDES V17.5.398 — Mobile-first usability layer.
   Scoped to narrow displays. No Firebase/payment/vote/contest logic changes. */
@media(max-width:820px){
  html{scroll-padding-top:74px;scroll-behavior:smooth}
  body{min-width:0;overflow-x:clip;-webkit-text-size-adjust:100%}
  .page-shell{width:100%!important;max-width:100%!important;padding:74px 9px 24px!important;overflow:visible!important}
  .topbar{border-bottom:1px solid rgba(90,213,255,.20)!important;backdrop-filter:blur(14px)}
  .topbar-inner{min-height:62px!important;height:62px!important;padding:0 14px!important;gap:10px!important}
  .brand{min-width:0;flex-shrink:1}
  .brand-logo-image{max-height:44px;max-width:min(48vw,168px);object-fit:contain}
  #mobileMenuBtn{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;color:#c7f5ff!important;font-size:21px!important;background:rgba(16,28,52,.95)!important;border:1px solid rgba(77,213,255,.4)!important;border-radius:13px!important;box-shadow:0 0 14px rgba(40,205,255,.08);cursor:pointer;touch-action:manipulation}
  #mobileMenu{position:absolute!important;top:61px!important;left:8px!important;right:8px!important;z-index:1100!important;display:none!important;max-height:calc(100dvh - 72px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:11px!important;gap:7px!important;border:1px solid rgba(82,167,255,.38)!important;border-radius:0 0 20px 20px!important;background:linear-gradient(165deg,#0b1530 0%,#080b19 75%)!important;box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 20px rgba(75,95,255,.12)!important}
  #mobileMenu.is-open{display:flex!important}
  #mobileMenu .nav-item,#mobileMenu .mobile-account-trigger,#mobileMenu [data-open-participation]{display:flex!important;align-items:center!important;justify-content:flex-start;gap:11px;width:100%!important;min-height:49px!important;margin:0!important;padding:12px 16px!important;border-radius:13px!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:0!important;text-align:left!important;white-space:normal!important;touch-action:manipulation;cursor:pointer}
  #mobileMenu .nav-item{color:#e3efff!important;border:1px solid rgba(107,165,247,.13)!important;background:rgba(255,255,255,.025)!important}
  #mobileMenu .nav-item i{width:18px;flex:0 0 18px;color:#5ae5f9}
  #mobileMenu .nav-item.is-active{border-color:rgba(250,72,224,.38)!important;background:rgba(247,53,219,.12)!important;color:#fff!important}
  #mobileMenu .mobile-account-trigger{border:1px solid rgba(72,221,247,.50)!important;background:linear-gradient(120deg,#102e44,#122045)!important;color:#d8faff!important}
  #mobileMenu [data-open-participation]{justify-content:center!important;background:linear-gradient(105deg,#dc20d6,#784bff)!important;color:#fff!important;border:0!important}
  #mobileMenu :focus-visible,#mobileMenuBtn:focus-visible{outline:2px solid #8cf9ff;outline-offset:2px}
  .section-frame{max-width:100%;overflow:hidden}
  .section-head{gap:7px!important}
  .section-head h2{font-size:clamp(20px,5vw,27px)!important;line-height:1.15!important;overflow-wrap:anywhere}
  .section-meta{font-size:11px!important;line-height:1.4!important}
  .hero{min-height:0!important;isolation:isolate}
  .hero-content{min-height:400px!important}
  .hero-copy{width:100%!important;max-width:100%!important;padding:28px 16px 29px!important;transform:none!important}
  .hero-kicker{font-size:9px!important;letter-spacing:.11em!important;margin-bottom:10px!important}
  .hero-brand-title{font-size:clamp(34px,8vw,49px)!important;letter-spacing:-.04em!important;line-height:1.05!important;transform:none!important;overflow-wrap:anywhere}
  .hero-question{font-size:clamp(18px,5vw,25px)!important;line-height:1.2!important}
  .hero-demuestralo{font-size:clamp(32px,8.3vw,48px)!important;line-height:1.09!important;letter-spacing:-.035em!important;transform:none!important}
  .hero-description{max-width:440px;font-size:13px!important;line-height:1.55!important;margin:13px 0!important}
  .hero-description .hero-br{display:none}
  .hero-trust{gap:9px!important;max-width:430px!important}
  .trust-item{min-width:0;font-size:10px!important;line-height:1.3!important}
  .hero .btn,.hero [data-scroll],.hero [data-open-participation]{min-height:44px!important;touch-action:manipulation}
  .split-section{grid-template-columns:minmax(0,1fr)!important}
  .contests .contest-grid{grid-template-columns:minmax(0,1fr)!important;padding:8px 10px 14px!important;gap:14px!important}
  .contests .contest-card{min-width:0!important;width:100%!important;max-width:530px!important;margin-inline:auto!important;transform:none!important;border-radius:19px!important}
  .contests .contest-card > .contest-image{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}
  .contests .contest-card > h3{font-size:17px!important;line-height:1.18!important}
  .contests .contest-card > p{font-size:12px!important;line-height:1.5!important;min-height:0!important}
  .contests .contest-card .contest-button,.contests .contest-card button{touch-action:manipulation}
  .featured-section,.ranking-section,.winners{padding:15px 11px 19px!important}
  .ranking-section .ranking-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .ranking-section .podium{min-width:0!important;width:100%!important;gap:8px!important;padding:21px 1px 0!important}
  .ranking-section .podium-item{flex:1 1 0!important;min-width:0!important;max-width:32%!important}
  .ranking-section .podium-item.first{max-width:34%!important}
  .ranking-section .podium-avatar{max-width:100%!important;aspect-ratio:1/1!important}
  .ranking-section .podium-item h3{font-size:clamp(11px,2.9vw,15px)!important;line-height:1.25!important;overflow-wrap:anywhere!important}
  .ranking-section .podium-item strong{font-size:12px!important;max-width:100%!important;padding:5px 7px!important}
  .ranking-section .ranking-row{grid-template-columns:24px 32px minmax(0,1fr) auto!important;gap:8px!important;min-width:0!important;padding:11px 7px!important}
  .ranking-section .ranking-row b,.ranking-section .ranking-row strong{font-size:12px!important;overflow-wrap:anywhere}
  .ranking-section .ranking-list{min-width:0!important}
  .voting-page-shell{width:calc(100% - 16px)!important;max-width:100%!important;padding:12px 0 24px!important}
  .voting-hero{padding:17px!important;min-height:0!important;border-radius:18px!important}
  .voting-hero h1{font-size:clamp(27px,7.5vw,38px)!important;line-height:1.1!important;overflow-wrap:anywhere}
  .voting-hero p{font-size:12px!important;line-height:1.5!important}
  .voting-control-panel,.voting-gallery-wrap{padding:12px!important;border-radius:18px!important;margin-top:11px!important;min-width:0!important}
  .voting-filter-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  .voting-search,.voting-select{width:100%!important;min-width:0!important;min-height:48px!important;border-radius:13px!important}
  .voting-search input,.voting-select select{min-width:0;font-size:16px!important}
  .vote-category-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;gap:8px!important;padding:11px 0 7px!important;-webkit-overflow-scrolling:touch}
  .vote-category-tab{flex:0 0 auto!important;max-width:200px!important;min-width:143px!important;min-height:49px!important;scroll-snap-align:start;padding:9px 12px!important}
  .vote-category-tab span{font-size:12px!important;line-height:1.3!important}
  .vote-category-tab small{font-size:9px!important}
  .voting-howto{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:10px!important}
  .howto-lead{grid-column:1/-1!important;padding:4px 2px!important}
  .howto-lead b{font-size:15px!important}
  .howto-step{min-width:0!important;gap:5px!important;padding:8px 5px!important;flex-direction:column;text-align:center}
  .howto-step strong{width:29px;height:29px;flex:0 0 auto}
  .howto-step span{font-size:10px!important;overflow-wrap:anywhere}
  .voting-gallery-head h2{font-size:clamp(23px,6vw,30px)!important}
  .vote-grid,.vote-grid-pro{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  .vote-card,.vote-card-pro{min-width:0!important;max-width:560px!important;width:100%!important;margin:0 auto!important}
  .vote-card-body{padding:13px!important}
  .vote-card-body p{min-height:0!important;font-size:12px!important;line-height:1.5!important}
  .vote-creator strong{font-size:13px!important}
  .vote-secondary-btn,.vote-primary-btn{min-height:46px!important;font-size:12px!important}
  .vote-pagination{max-width:100%!important;gap:8px!important}
  .vote-pagination-actions{flex-wrap:wrap!important;justify-content:center!important;gap:5px!important}
  .vote-page-btn{min-width:39px!important;min-height:42px!important}
  .profile-page-shell{max-width:100%!important;width:calc(100% - 16px)!important;padding-top:75px!important}
  .profile-side-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .profile-side-btn{min-width:0!important;min-height:47px!important;gap:6px!important;padding:10px!important;overflow-wrap:anywhere}
  .portal-form-grid,.profile-edit-grid{grid-template-columns:minmax(0,1fr)!important}
  .modal.is-open{overflow-y:auto!important;overscroll-behavior:contain!important}
  .modal-dialog,.modal-dialog.is-wide,.modal.is-open .modal-dialog{box-sizing:border-box;width:calc(100% - 18px)!important;max-width:620px!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:12px auto!important;padding:16px 14px 18px!important;border-radius:18px!important}
  .modal-dialog h2,#modalTitle{font-size:clamp(21px,5vw,25px)!important;line-height:1.2!important;padding-right:29px!important}
  #modalBody{min-width:0!important;overflow-wrap:anywhere}
  #modalBody .register-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  #modalBody .field{min-width:0!important}
  #modalBody input,#modalBody select,#modalBody textarea,#modalBody button[type="submit"],.modal input,.modal select,.modal textarea{font-size:16px!important;min-width:0!important;max-width:100%!important}
  #modalBody input,#modalBody select,.modal input,.modal select{min-height:46px!important}
  #modalBody .form-section-title{font-size:11px!important;letter-spacing:.08em!important}
  #modalBody .btn,#modalBody .outline-btn{min-height:47px!important;touch-action:manipulation}
  #modalBody .field-help{font-size:11px!important;line-height:1.4!important}
  .toast{width:calc(100% - 30px)!important;max-width:470px!important;text-align:center;font-size:12px!important;bottom:16px!important}
  .hero-art{animation:none!important}
  .site-glow{opacity:.32!important}
}
@media(max-width:380px){
  .page-shell{padding-inline:7px!important}
  .hero-copy{padding-inline:13px!important}
  .hero-brand-title{font-size:33px!important}
  .hero-demuestralo{font-size:32px!important}
  .voting-page-shell{width:calc(100% - 12px)!important}
  .voting-control-panel,.voting-gallery-wrap{padding:10px!important}
  .ranking-section .podium{gap:4px!important}
  #modalBody .form-hero{gap:10px!important}
}
@media(max-width:820px) and (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
