/* Rodapé compacto de apoio e ajustes de telas pequenas. */
:root{--sortix-footer-h:46px}
body>footer{height:var(--sortix-footer-h)!important;min-height:var(--sortix-footer-h)!important;padding:6px 0!important;box-sizing:border-box;border-top:1px solid #152026!important;background:#020608!important;backdrop-filter:none!important;z-index:1000!important}
body>footer .footer-content{width:min(1040px,calc(100% - 32px))!important;height:100%;display:flex!important;flex-wrap:nowrap!important;gap:22px!important;align-items:center!important;justify-content:center!important}
.site-support{display:flex;align-items:center;gap:14px;min-width:0}
.site-support-copy{white-space:nowrap;color:#e9f3f5}
.site-support-copy strong{display:block;font-size:19px;font-weight:850;line-height:1.1}
.site-support-meter{width:174px;flex:0 0 174px;min-width:0}
.site-support-values{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:8px;line-height:1.2;color:#d9e6eb;margin-bottom:3px;white-space:nowrap}
.site-support progress{display:block;width:100%;height:8px;appearance:none;border:0;border-radius:999px;overflow:hidden;background:#182126}
.site-support progress::-webkit-progress-bar{background:#182126;border-radius:999px}
.site-support progress::-webkit-progress-value{background:#009d09;border-radius:999px}
.site-support progress::-moz-progress-bar{background:#009d09;border-radius:999px}
body>footer .footer-support-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:96px!important;height:24px!important;box-sizing:border-box!important;white-space:nowrap;background:#009d09!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:0 18px!important;font-size:12px!important;font-weight:850!important;box-shadow:none!important;text-decoration:none}
body>footer .footer-support-btn:hover{background:#00b80b!important}
body>footer .footer-support-btn:focus-visible{outline:2px solid #b3ffb9;outline-offset:3px}
body>footer .footer-credit{font-size:10px!important;white-space:nowrap;color:#d9e6eb!important}
body>footer .footer-name-link{font-weight:800;color:#eef7fa!important}
body>footer .footer-legal-link{font-size:10px!important;white-space:nowrap;color:#d9e6eb!important}
body>footer .footer-seo-guides{display:none!important}
@media(min-width:761px) and (max-width:1279px){
 body>footer .footer-content{gap:12px!important;width:calc(100% - 24px)!important}
 .site-support{gap:9px}.site-support-copy strong{font-size:16px}
 .site-support-meter{width:150px;flex-basis:150px}
 body>footer .footer-credit,body>footer .footer-legal-link{font-size:8px!important}
 body>footer .footer-support-btn{min-width:76px!important;padding:0 10px!important}
}
@media(max-width:760px){
 :root{--sortix-header-h:98px;--sortix-footer-h:118px}
 html,body{width:100%;max-width:100%;overflow-x:clip!important}
 body{overflow-y:auto!important;-webkit-text-size-adjust:100%}
 #beta-global-header{height:var(--sortix-header-h)!important}
 #beta-global-header .beta-global-header-inner{display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:48px 32px!important;width:calc(100% - 24px)!important;gap:0 10px!important;padding:4px 0!important}
 #beta-global-header .beta-brand{position:static!important;transform:none!important;grid-column:1;grid-row:1;justify-self:start;padding:0!important;gap:5px!important}
 #beta-global-header .beta-brand span{font-size:21px!important}
 #beta-global-header .beta-brand img{width:30px!important;height:30px!important}
 #beta-global-header .beta-header-actions{grid-column:2;grid-row:1}
 #beta-global-header .beta-language-switcher{grid-column:1/-1;grid-row:2;justify-self:start;position:static!important;transform:none!important;gap:7px!important}
 #beta-global-header .language-flag-btn{width:30px!important;height:28px!important}
 #beta-global-header .beta-profile{width:38px!important;height:38px!important;padding:3px!important;min-width:38px!important}
 #beta-profile-menu{right:12px!important;top:52px!important;max-width:calc(100vw - 24px)}
 #landing-screen.beta-home{position:relative!important;inset:auto!important;height:auto!important;min-height:100dvh!important;overflow:visible!important;padding:calc(var(--sortix-header-h) + 22px) 12px calc(var(--sortix-footer-h) + 20px)!important}
 #landing-screen.beta-home .beta-home-shell{display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;transform:none!important}
 #landing-screen .beta-home-copy{width:100%!important;max-width:520px!important;text-align:center}
 #landing-screen .beta-home-copy h1{font-size:clamp(25px,7.2vw,32px)!important;line-height:1.12!important;letter-spacing:-.7px!important;text-wrap:balance;margin:15px auto!important}
 #landing-screen .beta-home-copy p{font-size:12px!important;text-wrap:pretty;line-height:1.5!important;margin:auto!important}
 #landing-screen .beta-eyebrow{font-size:8px!important;letter-spacing:.5px!important;max-width:100%;white-space:normal}
 #landing-screen .beta-platform-list{flex-wrap:wrap!important;justify-content:center!important;gap:12px!important}
 #landing-screen .beta-platform-list i,#landing-screen .beta-platform-list img{max-width:24px!important;max-height:24px!important;font-size:22px!important}
 #landing-screen .beta-home-cta-row{justify-content:center!important;flex-wrap:wrap!important;margin-top:20px!important}
 #landing-screen .beta-home-showcase{width:100%!important;height:320px!important;overflow:hidden!important}
 #landing-screen .beta-slider{height:310px!important}
 #landing-screen .beta-slide{width:min(280px,85vw)!important;height:300px!important}
 #landing-screen .beta-slide:not(.active){visibility:hidden!important;pointer-events:none!important}
 #landing-screen .beta-slide-visual{height:170px!important}
 #landing-screen .beta-slide-copy{padding:12px 16px!important}
 #setup-modal{top:var(--sortix-header-h)!important;bottom:var(--sortix-footer-h)!important;height:auto!important;min-height:0!important;padding:14px 12px!important;overflow:auto!important;align-items:flex-start!important}
 #setup-modal .setup-box{width:100%!important;max-width:560px!important;height:auto!important;max-height:none!important;padding:16px!important;margin:0 auto!important;overflow:visible!important}
 #setup-modal #beta-setup-heading h2{font-size:22px!important}
 #setup-modal .mode-card-grid{gap:8px!important}
 #setup-modal .mode-card{height:62px!important;min-height:62px!important;padding:8px!important}
 #setup-modal .raffle-style-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;max-width:100%!important}
 #setup-modal .raffle-style-option{height:64px!important;min-height:64px!important}
 #setup-modal .raffle-style-heading>span{font-size:17px!important}
 #setup-modal .beta-game-summary{height:auto!important;min-height:74px!important;grid-template-columns:32px minmax(0,1fr) 24px!important;gap:9px!important}
 #setup-modal .beta-game-summary-icon{width:32px!important;height:32px!important}
 #setup-modal .beta-game-summary-copy small{font-size:11px!important;line-height:1.35!important}
 #setup-modal .modern-input{height:44px!important;min-height:44px!important;font-size:16px!important;width:100%!important;box-sizing:border-box}
 #setup-modal #platform-selector{width:100%!important;gap:6px!important;flex-wrap:wrap!important}
 #setup-modal #platform-selector .plat-checkbox{height:38px!important;min-height:38px!important;padding:6px 9px!important;font-size:12px!important;min-width:0!important}
 #setup-modal .comments-options-panel{gap:8px!important}
 #setup-modal .beta-comments-toggle{height:auto!important;min-height:66px!important;padding:10px!important;gap:10px!important;align-items:center!important}
 #setup-modal .beta-comments-toggle strong{font-size:12px!important;line-height:1.3!important}
 #setup-modal .beta-comments-toggle small{font-size:11px!important;line-height:1.35!important}
 #setup-modal #start-btn{height:auto!important;min-height:46px!important;padding:11px 14px!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
 #setup-modal #start-btn i{font-size:18px!important;flex-shrink:0}
 #setup-modal #weights-toggle-btn{height:auto!important;min-height:52px!important;padding:8px 10px!important}
 #setup-modal .weights-toggle-copy strong{font-size:12px!important}
 #app-container{padding:calc(var(--sortix-header-h) + 12px) 12px calc(var(--sortix-footer-h) + 16px)!important;min-height:100dvh!important}
 .beta-gallery-top{display:flex!important;flex-direction:column!important;gap:8px!important;padding:8px!important}
 .beta-gallery-top>*{height:auto!important;min-width:0!important;width:100%!important}
 .beta-gallery-controls{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:7px!important}
 .beta-gallery-controls .beta-gallery-back{width:auto!important;height:38px!important;font-size:10px!important}
 .beta-gallery-controls #draw-btn{width:100%!important;min-width:0!important;height:38px!important;font-size:12px!important}
 .beta-gallery-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
 .beta-gallery-stats .beta-gallery-icon{display:none!important}
 .beta-gallery-stats .beta-gallery-metric{width:auto!important;min-width:0!important;height:42px!important;padding:5px!important}
 .beta-gallery-metric span{font-size:6.5px!important;letter-spacing:0!important}
 .beta-gallery-metric strong{font-size:11px!important}
 .beta-gallery-filterbar{gap:8px!important}
 .beta-gallery-filterbar .gallery-participant-search{height:40px!important}
 .beta-gallery-filters{flex-wrap:wrap!important;gap:6px!important}
 .beta-filter-chip{height:36px!important;padding:0 10px!important;font-size:10px!important}
 .beta-filter-chip.icon{width:36px!important;flex-basis:36px!important}
 .participants-section{padding:10px!important;min-width:0}
 .participants-section h2{font-size:16px!important;line-height:1.3!important}
 #gridArea.grid-container{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;max-height:none!important;overflow:visible!important}
 #gridArea .grid-item{height:114px!important;min-height:114px!important;padding:8px 4px!important;border-radius:12px!important}
 #gridArea .participant-avatar,#gridArea .grid-item img{width:48px!important;height:48px!important;min-width:48px!important}
 #gridArea .participant-name{font-size:10px!important;line-height:1.2!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 #gridArea .participant-card{padding:8px 4px!important;min-height:0!important}
 body>footer{padding:8px 0 calc(6px + env(safe-area-inset-bottom))!important}
 body>footer .footer-content{width:calc(100% - 24px)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .site-support{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-column:1/-1;gap:6px 10px;width:100%}
 .site-support-copy{white-space:normal}.site-support-copy strong{font-size:17px}
 .site-support-meter{width:auto;max-width:none;grid-column:1;grid-row:2}
 .site-support .footer-support-btn{grid-column:2;grid-row:1/3}
 body>footer .footer-credit{display:none}
 body>footer .footer-legal-link{font-size:9px!important;text-align:center}
 .volume-control{bottom:calc(var(--sortix-footer-h) + 10px)!important;right:12px!important}
 #rouletteModal:not(.cards-mode-active):not(.maze-mode-active):not(.ball-mode-active){padding:12px!important}
 #rouletteModal:not(.cards-mode-active):not(.maze-mode-active):not(.ball-mode-active) .roulette-window{width:100%!important;min-width:0!important;height:250px!important;min-height:250px!important;margin:0!important;position:relative!important}
 #rouletteModal .roulette-result-panel{max-width:100%!important}
}
@media(max-width:760px){
 #gridArea .participant-card{width:100%!important;min-width:0!important;max-width:none!important;max-height:114px!important;grid-template-rows:48px 16px 14px!important;row-gap:5px!important;contain-intrinsic-size:auto 114px!important}
 #gridArea .participant-avatar{min-height:48px!important;max-height:48px!important;max-width:48px!important}
 #gridArea .participant-card__tickets{font-size:9px!important;min-width:24px!important;padding:2px 4px!important}
 #gridArea .participant-card__platform{font-size:12px!important}
}

/* Desktop: colunas independentes preservam o espaço da meta. */
@media(min-width:1280px){
 :root{--sortix-footer-h:70px}
 body>footer .footer-content{width:min(var(--sortix-content-width,1264px),calc(100% - 48px))!important;padding:0 24px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:max-content minmax(210px,1fr) 120px max-content max-content max-content!important;gap:16px!important}
 .site-support{display:contents}
 .site-support-copy strong{font-size:clamp(22px,1.45vw,26px)}
 .site-support-meter{width:100%;max-width:none;min-width:210px;margin:0}
 .site-support-values{font-size:10px;margin-bottom:5px;gap:10px}
 .site-support-values>span{min-width:0}
 #support-raised{text-align:right}
 .site-support progress{height:12px}
 body>footer .footer-support-btn{min-width:0!important;width:100%!important;height:30px!important;font-size:16px!important;padding:0 12px!important}
 body>footer .footer-credit,body>footer .footer-legal-link{font-size:12px!important}
}
/* Inter Regular nos textos de apoio; Extra Bold apenas nos destaques. */
body>footer,body>footer .footer-content,body>footer .site-support-values,body>footer .footer-credit,body>footer .footer-legal-link{font-family:Inter,sans-serif!important;font-weight:400!important}
body>footer .site-support-copy strong,body>footer .footer-support-btn,body>footer .footer-name-link{font-family:Inter,sans-serif!important;font-weight:800!important}

/* Mobile: conteúdo em fluxo e ações compactas, sem disputar espaço com os textos. */
@media(max-width:760px){
 #landing-screen.beta-home .sortix-trollix-home-ad{display:none!important}
 #landing-screen .beta-home-copy h1 span{display:inline!important;white-space:normal!important}
 #landing-screen .beta-home-showcase{height:380px!important}
 #landing-screen .beta-slider{height:350px!important}
 #landing-screen .beta-slide.active{height:auto!important;min-height:300px!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;opacity:1!important;transition:opacity .2s!important}
 #landing-screen .beta-home-cta-row{gap:12px!important}
 #setup-modal{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;padding-bottom:28px!important}
 #setup-modal .setup-box{box-sizing:border-box!important;flex-shrink:0!important}
 body.setup-comments-mode #setup-modal .setup-box > #start-btn{
  width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;
  padding:10px 8px!important;font-size:clamp(9px,2.9vw,12px)!important;line-height:1.2!important;
  letter-spacing:-.15px!important;white-space:nowrap!important;gap:6px!important;
 }
 body.setup-comments-mode #setup-modal #start-btn i{font-size:16px!important;margin:0!important;flex:0 0 auto!important}
 body.setup-comments-mode #setup-modal #instagram-auth-box{
  flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;
  width:100%!important;box-sizing:border-box!important;padding:14px!important;gap:12px!important;
 }
 body.setup-comments-mode #setup-modal #instagram-auth-box .auth-copy{width:100%!important;min-width:0!important;flex:0 0 auto!important}
 body.setup-comments-mode #setup-modal #instagram-auth-box .auth-copy strong{font-size:13px!important;line-height:1.3!important}
 body.setup-comments-mode #setup-modal #instagram-auth-box .auth-copy span{font-size:11px!important;line-height:1.45!important;white-space:normal!important}
 #setup-modal #instagram-auth-box .auth-actions{width:100%!important;flex-flow:row nowrap!important;justify-content:flex-start!important;gap:8px!important}
 #setup-modal #instagram-auth-button.btn-auth-instagram{width:auto!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important;height:40px!important;padding:0 10px!important;font-size:11px!important;white-space:nowrap!important}
 #setup-modal #instagram-logout-button.instagram-logout-icon{flex:0 0 40px!important;margin:0!important;align-self:center!important}
 #setup-modal #instagram-auth-status{width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:normal!important;font-size:10px!important;line-height:1.4!important}
 #setup-modal .beta-game-summary{grid-template-columns:32px minmax(0,1fr) 24px!important;height:auto!important;min-height:80px!important;align-items:start!important}
 #setup-modal .beta-game-summary-copy{min-width:0!important}
 #setup-modal .beta-game-summary-copy small{font-size:11px!important;line-height:1.4!important}
 #setup-modal .beta-game-summary-open{width:24px!important;min-width:24px!important;height:24px!important;padding:0!important;margin:0!important;font-size:0!important;gap:0!important;overflow:hidden!important;align-self:start!important;justify-self:end!important}
 #setup-modal .beta-game-summary-open i{width:24px!important;height:24px!important;font-size:14px!important;flex:0 0 24px!important}
}
