@font-face{font-family:Manrope;src:url('/assets/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{color-scheme:dark;--paper:#101419;--surface:#191f27;--raised:#222b36;--ink:#edf2f7;--muted:#9baaba;--line:#303b48;--accent:#ffca05;--blue:#78b6df;--navy:#102a43;--error:#f28b95;--success:#82c5a4;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s6:24px;--s8:32px;--s12:48px;--radius:12px;--radius-sm:8px;--shadow:0 8px 24px #0002;--text-sm:12px;--text-base:14px;--text-title:24px;--text-number:36px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:var(--text-base)/1.5 Manrope,system-ui,sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1{font-size:var(--text-title);font-weight:800;letter-spacing:-.035em;line-height:1.25}h2{font-size:18px;line-height:1.3;font-weight:800;letter-spacing:-.02em}h3{font-size:16px}p,small{color:var(--muted)}small{display:block;font-size:var(--text-sm)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}strong,time,.number,progress{font-variant-numeric:tabular-nums}button,input,textarea,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);border:1px solid transparent;border-radius:var(--radius-sm);min-height:44px;padding:var(--s3) var(--s4);font-size:13px;line-height:1.3;font-weight:750;background:var(--accent);color:var(--navy);cursor:pointer;text-decoration:none}button:hover:not(:disabled),.button:hover{filter:brightness(1.1);text-decoration:none}button:active:not(:disabled),.button:active{filter:brightness(.9)}.secondary,.button.secondary{background:var(--raised);border-color:var(--line);color:var(--ink)}.text-button{background:transparent;border-color:transparent;color:var(--muted);min-height:40px;padding:var(--s2) var(--s3);display:inline-flex;align-items:center;gap:var(--s2);font-size:12px;font-weight:650;cursor:pointer}.text-button:hover:not(:disabled){background:var(--raised);color:var(--ink)}.icon-button{width:40px;min-height:40px;padding:var(--s2);flex:none}.icon{display:block;flex:none}button:disabled{opacity:.5;cursor:default}button[aria-busy=true]{cursor:progress}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}label{display:block;font-size:12px;color:var(--muted);font-weight:600}input:not([type=range]):not([type=checkbox]):not([type=file]),textarea,select{display:block;width:100%;min-height:44px;padding:10px 12px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);margin-top:var(--s2);font-size:14px}input::placeholder,textarea::placeholder{color:#8493a3}textarea{resize:vertical}input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}form>label{margin-bottom:var(--s4)}form>.fields{margin-bottom:var(--s4)}pre{overflow:auto;font-size:11px;color:var(--muted);background:var(--paper);padding:var(--s4);border-radius:var(--radius-sm)}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.muted{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:800;display:block;margin-bottom:var(--s2)}
.app-header{height:72px;display:flex;align-items:center;justify-content:space-between;gap:var(--s4);padding:0 var(--s8);border-bottom:1px solid #242e3a;background:#141b23}.header-brand{display:flex;align-items:center;gap:var(--s3);min-width:0}.header-brand>img{width:36px;height:44px;object-fit:contain;flex:none}.header-brand>strong,.header-brand>span:not(.badge){font-size:15px;font-weight:800;white-space:nowrap}.header-tools,.header-context{display:flex;align-items:center;gap:var(--s3)}.role-label{font-size:12px;color:var(--muted);white-space:nowrap}.connection-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none;background:var(--error)}.connection-dot[data-state=online]{background:var(--success)}.header-sponsor{width:124px;height:32px;object-fit:contain;background:#f7f7f4;border-radius:4px;padding:4px}.header-sponsor img{width:100%;height:100%;object-fit:contain;display:block}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.3;font-weight:600;border-radius:6px;padding:6px 8px;background:#253241;color:#adc5dc;white-space:nowrap}.trial-badge{background:transparent;color:#8f9dad;font-size:9px;letter-spacing:.08em;border:1px solid #39414c;padding:4px 6px}.badge.warning{color:var(--accent);background:#34311f}
.workspace-main{max-width:1280px;margin:auto;padding:var(--s6) var(--s8) var(--s8)}.admin-nav{display:flex;align-items:center;gap:var(--s2);margin-bottom:var(--s8)}.admin-nav button{background:transparent;color:var(--muted);padding:12px 20px}.admin-nav button[aria-pressed=true]{background:#263444;color:var(--ink)}.admin-nav button[aria-pressed=true] .icon{color:var(--blue)}.card{background:var(--surface);border:1px solid #252f3b;border-radius:var(--radius);padding:var(--s6);box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);margin-bottom:var(--s6)}.section-heading>label{min-width:230px}.actions{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s4)}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s4)}.check{display:flex;align-items:center;gap:var(--s2);margin-bottom:var(--s4)}.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:var(--s6)}.current-card{display:flex;flex-direction:column;justify-content:space-between;gap:var(--s6);min-height:320px}.current-top{display:flex;align-items:start;justify-content:space-between;gap:var(--s4)}.participant-identity{display:flex;align-items:center;gap:var(--s4);min-width:0}.participant-identity h1{margin:4px 0 8px}.participant-photo,.photo-placeholder{width:88px;height:100px;object-fit:cover;border-radius:var(--radius-sm);flex:none}.photo-placeholder{display:grid;place-items:center;background:#263444;color:#96a9bc}.photo-placeholder .icon{height:32px;width:32px}.music-timer{width:100%}.clock-button{width:100%;justify-content:space-between;padding:0!important;min-height:40px;opacity:1!important;cursor:default;border-radius:0}.clock-button>span:first-child{font-size:12px}.clock-button strong{font-size:32px;color:var(--blue);line-height:1.1}.clock-button .clock-edit{display:none}.clock-button.editable{cursor:pointer}.clock-button.editable .clock-edit{display:block}.clock-button.editable strong{margin-left:auto;margin-right:var(--s3)}.clock-button:disabled{background:transparent}.music-timer[data-urgency=ending] strong{color:var(--accent)}.music-timer[data-urgency=expired] strong{color:var(--error)}progress{appearance:none;display:block;width:100%;height:5px;border:0;background:var(--line);border-radius:4px;overflow:hidden;margin-top:var(--s3);accent-color:var(--blue)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--blue)}progress::-moz-progress-bar{background:var(--blue)}[data-urgency=ending] progress::-webkit-progress-value{background:var(--accent)}[data-urgency=expired] progress::-webkit-progress-value{background:var(--error)}[data-urgency=ending] progress::-moz-progress-bar{background:var(--accent)}[data-urgency=expired] progress::-moz-progress-bar{background:var(--error)}.live-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3)}.main-action{min-width:220px;min-height:52px;font-size:15px}.live-actions>p{flex-basis:100%}.live-actions>p:empty{display:none}.juror-chip{display:flex;align-items:center;gap:var(--s3);padding:var(--s3) 0}.juror-chip strong{font-size:13px}.juror-chip small{font-size:11px}.juror-chip .juror-state{color:#798b9f}.juror-chip.sent .juror-state{color:var(--blue)}.juror-chip button{margin-left:auto}.jury-panel .section-heading{margin-bottom:8px}.next-card{display:flex;align-items:center;gap:var(--s6);margin:var(--s6) 0;background:transparent;box-shadow:none}.next-card>div{flex:1}.next-card h2{font-size:17px;margin-bottom:4px}.next-card p{font-size:12px}.notice-controls{padding:var(--s2) 0}.notice-controls .section-heading{margin-bottom:var(--s3)}.notice-controls h2{font-size:14px}.notice-controls .actions{margin:0}.active-notice{display:flex;align-items:center;gap:var(--s4);margin-top:var(--s4);background:#332e1b;border-radius:var(--radius-sm);padding:var(--s2) var(--s4)}.active-notice p{color:#efdc98;font-size:13px;flex:1}.active-notice .text-button{color:#efdc98}.error-banner{color:#ffd5da;background:#482831;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:13px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;box-shadow:var(--shadow);border:1px solid #47748f;background:#203c4d;color:#e5f2fc;padding:12px 24px;border-radius:8px;max-width:90vw;font-size:13px}.empty-state{padding:48px;text-align:center;color:var(--muted)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);margin-bottom:var(--s6)}.search-label{width:min(420px,65%)}.search-label input{margin:0!important}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700;padding:var(--s3) var(--s4);border-bottom:1px solid var(--line);white-space:nowrap}td{padding:var(--s4);border-bottom:1px solid #232d38;font-variant-numeric:tabular-nums;vertical-align:middle}td small{font-size:11px;margin-top:4px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#ffffff03}.row-photo,.row-placeholder{width:40px;height:48px;border-radius:6px;object-fit:cover;flex:none}.row-placeholder{display:grid;place-items:center;background:#263444;color:#9aa9ba}.table-rank{font-size:18px;font-weight:750;color:var(--muted)}.row-actions{display:flex;align-items:center;gap:var(--s1);justify-content:end;white-space:nowrap}.row-actions button{font-size:11px;min-height:36px;padding:8px}.import-panel{margin-top:32px;max-width:100%}details>summary{display:flex;align-items:center;gap:var(--s2);cursor:pointer;color:var(--muted);font-size:13px;font-weight:650;list-style:none;padding:12px 0}details>summary:after{content:'+';margin-left:auto;font-size:16px}details[open]>summary:after{content:'−'}details[open]>summary{margin-bottom:var(--s3)}.filter-bar{display:flex;align-items:start;gap:var(--s4);flex-wrap:wrap;margin-bottom:var(--s6)}.filter-bar>label{min-width:190px}.filter-bar .more-filters{margin-top:22px;min-width:150px}.more-filters[open]{flex-basis:100%;margin:0}.more-filters[open] .fields{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px;background:var(--surface);border-radius:8px}.metric-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s6);margin-bottom:var(--s8)}.metric-cards article{display:flex;flex-direction:column;gap:8px;padding:20px 24px;background:var(--surface);border-radius:var(--radius)}.metric-cards article>span{font-size:12px;color:var(--muted)}.metric-cards strong{font-size:36px;font-weight:800;line-height:1.2;letter-spacing:-.04em}.metric-cards small{font-size:11px;min-height:16px}.official-group{margin-bottom:24px}.official-group .section-heading{margin-bottom:12px}.final-score{font-weight:800;font-size:19px;color:var(--ink)}.ranking-panel{margin-bottom:24px}.chart-row{display:grid;grid-template-columns:240px minmax(0,1fr) 64px;gap:16px;align-items:center;margin-top:24px}.chart-label{min-width:0}.chart-label strong{font-size:13px}.chart-label small{font-size:11px}.chart-track{height:8px;border-radius:4px;background:var(--line);overflow:hidden}.chart-fill{background:var(--blue);height:100%;width:0}.chart-number{text-align:right;font-size:20px}.stage-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:24px}.stage-grid>.card{min-width:0}.stage-grid .section-heading{gap:8px}.stage-grid .actions{margin-top:24px}.qr-and-stats{display:flex;align-items:center;gap:24px;margin:24px 0}.qr-preview{width:220px;max-width:100%;flex:none;background:white;padding:4px;border-radius:8px}.qr-preview:empty{display:none}.qr-preview svg{display:block;width:100%;height:auto}.compact-stats{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.compact-stats dt{font-size:11px;color:var(--muted)}.compact-stats dd{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;margin:0}.compact-stats+p{margin-top:12px}.popular-table{font-size:11px}.popular-table td,.popular-table th{padding:12px 8px}.switch{display:flex;align-items:center;gap:8px;cursor:pointer}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{height:24px;width:40px;border-radius:20px;background:#3a4654;display:block;position:relative}.switch-track:after{content:'';position:absolute;top:4px;left:4px;height:16px;width:16px;background:#c6d1dd;border-radius:50%}.switch input:checked+.switch-track{background:#346482}.switch input:checked+.switch-track:after{left:20px;background:#e5f5ff}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:4px}.switch input:disabled~span{opacity:.5}
.modal{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:32px;border:1px solid #3a4654;border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:0 20px 80px #0008;overflow:auto}.modal::backdrop{background:#04090ed9}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.modal h2{font-size:22px}.modal h3{margin:24px 0 8px}.modal p{margin:12px 0;font-size:13px}.compact-modal{max-width:440px}.settings-modal>details{border-bottom:1px solid var(--line);padding:8px 0}.access-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.access-links a{display:flex;align-items:center;justify-content:space-between;font-size:13px;background:var(--raised);padding:12px;border-radius:8px}.settings-modal #audit p{font-size:11px;overflow-wrap:anywhere}.review-scores{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.review-scores>div{padding:20px;background:var(--paper);border-radius:12px}.review-scores span{font-size:13px;color:var(--muted);display:block}.review-scores strong{font-size:36px;display:block;margin-top:8px}.review-modal .actions>button{flex:1;min-height:52px}.workspace-footer{padding:8px 32px;max-width:1280px;margin:auto}.partner-strip{width:100%;height:44px;display:flex;justify-content:center}.partner-strip img{height:100%;width:100%;object-fit:contain}
body[data-role=judge] .workspace-main{padding:16px 24px;max-width:1280px}.score-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.score{padding:20px 24px;box-shadow:none}.score-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.score-heading label{font-size:16px;color:var(--ink);font-weight:700}.score-heading strong{font-size:36px;line-height:1.2;letter-spacing:-.04em;min-width:100px;text-align:right}.range{display:flex;align-items:center;gap:16px}.score-step{min-width:56px;height:56px;padding:8px;flex-direction:column;gap:0}.score-step span{font-size:11px}.score-step .icon{width:20px;height:20px}.slider-wrap{flex:1;min-width:0}.limits{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:8px}input[type=range]{appearance:none;width:100%;height:8px;margin:12px 0 0;background:linear-gradient(to right,var(--blue) var(--fill,0%),#394757 var(--fill,0%));border-radius:8px;touch-action:pan-y;accent-color:var(--blue)}input[type=range]::-webkit-slider-thumb{appearance:none;width:30px;height:30px;border-radius:50%;background:var(--ink);border:5px solid var(--blue);cursor:grab}input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--ink);border:5px solid var(--blue)}input[type=range]:disabled{opacity:.4}.judge-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;min-height:52px}.judge-bottom>p{font-size:13px}.judge-bottom button{min-width:200px;min-height:52px}.judge-notice{position:fixed;top:76px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:12px;align-items:center;max-width:calc(100vw - 48px);width:max-content;padding:10px 16px;border-radius:8px;background:#ffca05;color:#102a43;box-shadow:var(--shadow);pointer-events:none}.judge-notice p{color:#102a43;font-size:13px;font-weight:750;max-width:700px}.sent-screen{min-height:calc(100dvh - 176px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.sent-icon .icon{height:64px;width:64px;color:var(--blue)}.sent-screen h1{font-size:36px}.sent-screen p{font-size:14px}body[data-role=judge] .live-layout{grid-template-columns:1fr;margin-bottom:16px}body[data-role=judge] .current-card{min-height:0;gap:12px;padding:16px 24px}body[data-role=judge] .participant-photo,body[data-role=judge] .photo-placeholder{width:56px;height:64px}body[data-role=judge] .participant-identity h1{font-size:22px;margin:0 0 4px}body[data-role=judge] .participant-identity p{font-size:13px}body[data-role=judge] .eyebrow{font-size:9px;margin:0 0 4px}body[data-role=judge] .clock-button{min-height:20px}body[data-role=judge] .clock-button strong{font-size:18px}body[data-role=judge] progress{margin-top:8px;height:4px}body[data-role=judge] .workspace-footer .partner-strip{height:24px}body[data-judge-mode=sent] .workspace-footer{display:none}body[data-judge-mode=waiting] .range{min-height:56px}body[data-judge-mode=waiting] .score-heading strong{color:var(--muted)}
@media(max-width:1000px){.app-header{padding:0 24px}.header-tools{gap:8px}.stage-grid{grid-template-columns:1fr 1fr}.qr-and-stats{flex-wrap:wrap}.live-layout{grid-template-columns:minmax(0,1fr) 240px}.current-top{flex-wrap:wrap}.current-top>.badge{font-size:10px}.roster-table{min-width:900px}}
@media(min-width:800px) and (max-height:820px){body[data-role=judge] .app-header{height:60px}body[data-role=judge] .workspace-main{padding:12px 24px}body[data-role=judge] .current-card{padding:12px 20px}body[data-role=judge] .live-layout{margin-bottom:12px}body[data-role=judge] .score{padding:16px 20px}body[data-role=judge] .score-grid{gap:12px}body[data-role=judge] .score-heading{margin-bottom:8px}body[data-role=judge] .judge-notice{top:64px}body[data-role=judge] .judge-bottom{margin-top:12px}}
@media(max-width:700px){.app-header{height:64px;padding:0 16px;gap:8px}.header-brand{gap:8px}.header-brand>strong,.header-brand>span:not(.badge){font-size:12px}.header-brand>img{width:28px;height:36px}.header-sponsor{width:88px;height:28px}.header-tools{gap:6px}.header-tools .role-label{font-size:10px}.how-link{font-size:10px;padding:4px;max-width:56px}.workspace-main{padding:16px}.admin-nav{gap:4px;overflow:auto;margin-bottom:24px}.admin-nav button{padding:12px;font-size:11px;flex:none}.admin-nav .icon{display:none}.live-layout{grid-template-columns:1fr}.current-card{min-height:260px;padding:20px}.jury-panel #judges{display:grid;grid-template-columns:1fr 1fr}.next-card{gap:12px;flex-wrap:wrap;padding:20px}.next-card>div{flex-basis:70%}.stage-grid{grid-template-columns:1fr}.section-heading{flex-wrap:wrap}.section-heading>label{min-width:0;width:100%}.metric-cards{gap:8px}.metric-cards article{padding:12px}.metric-cards strong{font-size:26px}.metric-cards small{font-size:10px}.filter-bar>label{min-width:130px;flex:1}.more-filters[open] .fields{grid-template-columns:1fr}.card{padding:20px}.fields{grid-template-columns:1fr}.chart-row{grid-template-columns:1fr 60px}.chart-label{grid-column:1/-1}.modal{padding:24px}.score-grid{grid-template-columns:1fr}.score-heading strong{font-size:32px}.review-scores{gap:8px}.review-scores>div{padding:16px}.review-scores strong{font-size:30px}body[data-role=judge] .workspace-main{padding:16px}.judge-bottom{position:sticky;bottom:0;background:var(--paper);padding:12px 0}.judge-bottom>p{font-size:11px}.judge-bottom button{min-width:140px}.judge-notice{max-width:calc(100vw - 24px);width:calc(100vw - 24px)}.judge-notice p{font-size:12px}}
/* Público, portal e telão — complemento do sistema compartilhado. */
.portal-page{width:min(100%,760px);margin:0 auto;padding:64px 24px 48px;text-align:center;min-height:calc(100svh - 250px);display:flex;flex-direction:column;justify-content:center;gap:24px}.portal-page h1{font-size:40px;line-height:1.2;margin:0}.portal-page .eyebrow{color:var(--muted)}.private-access{font-size:12px;color:var(--muted);margin:0}.origin-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.origin-actions button,.origin-actions .button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:72px;text-decoration:none;font-size:16px}.origin-actions .suggested{background:var(--accent);border-color:var(--accent);color:#102a43}.public-footer{width:min(100%,1120px);margin:0 auto;padding:16px 24px 24px}.footer-links{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}.trial-line{font-size:11px;color:var(--muted)}.public-footer .partner-strip{height:80px;width:100%;display:flex;justify-content:center}.public-footer .partner-strip img{height:100%;width:100%;object-fit:contain}.audience-page{width:min(100%,460px);padding:24px;margin:0 auto;text-align:center}.origin-choice{padding:32px 0 24px}.origin-choice h1{font-size:28px;line-height:1.25;margin:12px 0 32px}.origin-choice .origin-actions{grid-template-columns:1fr}.public-participant h1{font-size:28px;line-height:1.15;margin:12px 0 8px;overflow-wrap:anywhere}.public-participant>p{margin:0 0 24px;color:var(--muted);font-size:14px}.public-photo-frame{height:220px;width:220px;max-width:100%;margin:0 auto 16px;display:grid;place-items:center;background:var(--surface);border-radius:16px;overflow:hidden}.public-photo{height:100%;width:100%;object-fit:cover}.photo-fallback{color:var(--muted)}.photo-fallback svg{width:48px;height:48px;stroke-width:1.25}.public-participant .eyebrow{color:var(--muted);font-size:11px}.amei-button{width:100%;min-height:64px;font-size:20px;display:flex;justify-content:center;align-items:center;gap:12px}.amei-button svg{height:24px;width:24px}.amei-button[data-state=success]{background:var(--surface);color:var(--ink);opacity:1;border:1px solid var(--line);cursor:default}.amei-button[data-state=success] svg{fill:currentColor;stroke-width:1}.amei-button[data-state=loading]{opacity:.8}.public-participant .single-status{font-size:12px;min-height:18px;margin:12px 0 0;color:var(--muted)}.single-status[data-state=error]{color:#f38e96!important}.voting-clock{margin-top:24px}.voting-clock .timer-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.voting-clock .timer-heading strong{font-size:12px;font-variant-numeric:tabular-nums;color:var(--ink)}.voting-clock progress{display:block;width:100%;height:4px;appearance:none;border:0;background:var(--line);border-radius:4px;overflow:hidden;margin-top:8px;accent-color:#71add2}.voting-clock progress::-webkit-progress-bar{background:var(--line)}.voting-clock progress::-webkit-progress-value{background:#71add2}.voting-clock progress::-moz-progress-bar{background:#71add2}.voting-clock[data-urgency=ending] progress::-webkit-progress-value{background:var(--accent)}.voting-clock[data-urgency=expired] progress::-webkit-progress-value{background:#e27882}.voting-clock small{display:block;text-align:left;margin-top:8px;color:var(--muted);font-size:10px}.audience-body .public-footer{max-width:460px}.audience-body .public-footer .partner-strip{height:56px}.audience-body .footer-links{gap:12px}.audience-body .app-header{padding-left:16px;padding-right:16px}.audience-body .header-brand>span{font-size:12px}.audience-body .header-sponsor img{max-width:92px}.audience-body .header-context{gap:8px}.audience-body .role-label{font-size:11px}.stage-screen{position:relative;max-width:1600px;margin:0 auto;min-height:calc(100svh - 200px);padding:32px 48px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;text-align:center}.stage-screen h1{font-size:clamp(36px,5vw,72px);line-height:1.1;font-weight:800;letter-spacing:-.04em;margin:16px 0}.stage-screen .reveal-category{font-size:16px;color:var(--muted);margin:0 0 16px}.screen-qr{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}.screen-qr>div:first-child{width:340px;height:340px;background:white;flex:none}.screen-qr svg{display:block;width:100%;height:100%}.screen-qr h2{font-size:28px;margin:0 0 4px}.screen-qr p{font-size:20px;color:var(--muted);margin:0}.screen-fullscreen{position:absolute;bottom:0;right:24px;display:flex;gap:8px;align-items:center;font-size:11px;opacity:.5}.screen-fullscreen:hover,.screen-fullscreen:focus-visible{opacity:1}.screen-body[data-mode=spinning] .stage-screen,.screen-body[data-mode=revealed] .stage-screen,.screen-body[data-mode=offline] .stage-screen{grid-template-columns:1fr;min-height:calc(100svh - 80px);justify-items:center;align-content:center}.screen-body[data-mode=spinning] .stage-screen{gap:16px}.suspense-orbit{width:240px;height:240px;display:grid;place-items:center;position:relative;margin:0 auto}.suspense-orbit i{position:absolute;inset:0;border:2px solid #52677a;border-top-color:var(--accent);border-radius:50%;animation:orbit 3s linear infinite}.suspense-orbit i:nth-child(2){inset:18px;animation-direction:reverse;animation-duration:5s}.suspense-orbit i:nth-child(3){inset:36px;animation-duration:7s}.suspense-orbit span{font-size:20px;line-height:1.25;font-weight:800;letter-spacing:.08em;color:var(--ink)}.reveal-rank{font-size:28px;color:var(--muted);font-weight:800;letter-spacing:.12em}.reveal-score{font-size:clamp(72px,10vw,150px);font-weight:800;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums;margin:24px 0}.reveal-score small{display:block;font-size:14px;letter-spacing:.1em;color:var(--muted);font-weight:500}.screen-body[data-mode=audience] .stage-screen{min-height:calc(100svh - 80px)}.screen-body[data-mode=audience] .screen-qr>div:first-child{width:280px;height:280px}.screen-body[data-mode=audience] .stage-screen h1{font-size:clamp(32px,4vw,60px)}.screen-song{font-size:20px;color:var(--muted);margin:8px 0 24px}.public-meter{height:16px;width:100%;background:var(--line);border-radius:8px;overflow:hidden;margin:24px 0}.public-meter>div{height:100%;background:#71add2}.screen-metrics{display:flex;justify-content:center;gap:32px}.screen-metrics>div{display:flex;flex-direction:column;gap:8px}.screen-metrics strong{font-size:40px;font-variant-numeric:tabular-nums;line-height:1.2}.screen-metrics span{font-size:14px;color:var(--muted)}.screen-status{font-size:16px;margin:24px 0 8px}.screen-segments{font-size:14px;color:var(--muted);margin:0}.screen-body .public-footer{padding-top:8px}.screen-body .partner-strip{height:72px}.screen-body:fullscreen .screen-fullscreen{display:none}@keyframes orbit{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.suspense-orbit i{animation:none}}@media(max-width:700px){.portal-page{padding:40px 24px;min-height:calc(100svh - 220px)}.portal-page h1{font-size:32px}.portal-page .origin-actions{grid-template-columns:1fr}.stage-screen{padding:24px;grid-template-columns:1fr}.screen-qr>div:first-child{width:260px;height:260px}.screen-body[data-mode=audience] .screen-qr>div:first-child{width:220px;height:220px}.screen-metrics{gap:16px}.screen-metrics strong{font-size:28px}.screen-metrics span{font-size:11px}.screen-fullscreen{position:static;justify-self:center}.audience-body .app-header .header-brand img{width:28px;height:32px}.audience-body .header-context .role-label{display:none}}

.extra-time-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:24px 0}.extra-time-form label{flex:1}.extra-time-form small{width:100%;color:var(--muted)}.extra-presentations{margin:32px 0}.extra-vote-card{display:flex;gap:16px;align-items:center;margin:16px 0;flex-wrap:wrap}.extra-vote-card img{width:56px;height:64px;object-fit:cover;border-radius:8px}.extra-vote-card>div{flex:1}.extra-vote-card small,.extra-vote-card span{display:block;color:var(--muted);margin-top:4px}.extra-vote-card button{width:100%}

.superlike-section{margin-top:32px;text-align:left}.superlike-section>p{font-size:14px}.superlike-artist{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0;padding:24px}.superlike-artist img{width:64px;height:76px;object-fit:cover;border-radius:8px}.superlike-artist>div{flex:1;min-width:160px}.superlike-artist h3{margin:0;font-size:18px}.superlike-artist p{margin:8px 0;font-size:14px}.superlike-artist small{color:var(--muted)}.superlike-artist button{width:100%}.superlike-group{margin:24px 0}.superlike-group h3{margin:0}.superlike-group td small{display:block;color:var(--muted)}

.button-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;padding:12px 16px;border-radius:8px}.lineup-actions{margin-bottom:16px}.roster-filters{align-items:end;flex-wrap:wrap;gap:16px}.roster-filters label{min-width:150px}.roster-filters .search-label{flex:1}.current-roster-row{background:#1b2b3c}.current-roster-row td:first-child{border-left:3px solid var(--blue)}.admin-clock-detail{margin:0 0 8px;font-size:13px}.admin-clock-detail strong{font-variant-numeric:tabular-nums;color:var(--ink)}#liveStatus{flex-basis:100%}

.festival-documents{margin-top:8px;text-align:left}.festival-documents h2{font-size:18px;margin:0 0 12px}.document-links{display:flex;flex-wrap:wrap;gap:12px}.document-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1 1 240px;padding:16px;background:var(--surface);color:var(--ink);border-radius:12px;text-decoration:none;font-size:14px}.document-links a span{font-size:11px;color:var(--muted)}.document-links a:hover{background:var(--surface-raised,var(--line))}.document-links a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.footer-documents{max-width:680px;margin:0 auto 24px}
.registration-page{max-width:840px;margin:auto;padding:32px 24px 48px}.registration-page h1{font-size:28px;margin:24px 0 12px}.registration-page fieldset{border:0;padding:0;margin:32px 0}.registration-page legend{font-size:20px;font-weight:800;margin-bottom:16px}.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.registration-grid label{min-width:0}.registration-preview{display:flex;align-items:center;gap:24px;margin:24px 0;padding:24px;background:var(--surface);border-radius:16px}.registration-preview img,.registration-review-photo{width:144px;height:144px;object-fit:cover;border-radius:12px}.registration-preview strong{font-size:24px;overflow-wrap:anywhere}.consent-label{display:flex;align-items:flex-start;gap:12px;line-height:1.5}.consent-label input{width:20px;min-width:20px;height:20px;margin:0}.registration-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0}.registration-row p{margin:6px 0}.registration-details{display:grid;grid-template-columns:1fr 1fr;gap:16px}.registration-details dt{color:var(--muted);font-size:12px}.registration-details dd{margin:4px 0 0;overflow-wrap:anywhere}.registration-review-photo{display:block;margin:0 auto 24px}.screen-artist-photo{width:160px;height:160px;object-fit:cover;border-radius:16px;margin:0 auto 16px;display:block}#registrationReceipt{overflow-wrap:anywhere}#registrationReviewForm{display:grid;gap:16px}#registrationReviewForm[hidden]{display:none}@media(max-width:600px){.registration-grid,.registration-details{grid-template-columns:1fr}.registration-preview{padding:16px;gap:16px}.registration-preview img{width:88px;height:88px}.registration-preview strong{font-size:20px}.registration-row{align-items:flex-start;flex-direction:column}}

/* Entradas separadas por papel */
.portal-hub{display:block;width:min(100%,960px);max-width:960px;min-height:auto;padding:24px;text-align:left}
.portal-hub .portal-intro{text-align:center;margin-bottom:24px}
.portal-hub .portal-intro h1{font-size:clamp(28px,4vw,40px);margin:8px 0 0}
.portal-hub h2{font-size:24px;line-height:1.2;margin:8px 0 12px}
.portal-hub p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 24px}
.portal-public{padding:24px;background:var(--surface);border-radius:16px;text-align:center}
.portal-hub .origin-actions{margin:0 auto;max-width:620px}
.portal-other-access{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:32px}
.portal-entry{padding:8px;display:flex;flex-direction:column;align-items:flex-start}
.portal-entry .button{margin-top:auto}
.portal-hub .festival-documents{margin-top:32px;padding-top:24px;text-align:center}
.portal-hub .festival-documents h2{font-size:16px}
.access-form{display:grid;gap:16px;text-align:left;max-width:480px;width:100%;margin:24px auto}
.access-form input{width:100%;margin-top:8px}.access-form button{width:100%}
@media(max-width:620px){.portal-hub{padding:24px 16px}.portal-public{padding:24px 16px}.portal-other-access{grid-template-columns:1fr;gap:24px;margin-top:24px}.portal-entry{padding:16px 8px}.portal-entry .button{width:100%}.portal-hub h2{font-size:22px}}
@media(max-width:620px){.portal-body .header-context .role-label{display:none}.portal-body .header-brand>span{font-size:12px}.portal-body .header-sponsor img{max-width:76px}.portal-body .app-header{padding-left:12px;padding-right:12px;gap:8px}}

/* Controles da fila e do apoio popular na mesa. */
.queue-scope{margin-bottom:var(--space-4,16px);flex-wrap:wrap}.queue-scope label{min-width:210px}.live-audience{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;color:var(--text-muted,#aeb9c8)}.roster-filters{flex-wrap:wrap}.roster-filters label{min-width:160px}

.live-selection{margin-bottom:24px;padding:16px 24px}.live-selection summary{color:var(--ink);flex-wrap:wrap}.live-selection summary strong{font-size:16px}.selection-summary{font-size:12px;font-weight:400;color:var(--muted);flex:1;min-width:160px}.live-selection .queue-scope{display:flex;gap:16px;align-items:end;margin:0}.live-selection .queue-scope label{flex:1;min-width:180px}.live-selection #queueScope{flex-basis:100%;font-size:12px}
/* Artes oficiais: arquivos integrais, sem corte nem alteração das marcas. */
.header-brand>img{width:48px;height:48px;object-fit:contain}.header-sponsor{width:132px;height:48px;padding:0;background:#f6f7f8;border-radius:8px}.header-sponsor img{object-fit:contain}.portal-festival-logo{display:block;width:clamp(140px,18vw,220px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 24px}.portal-intro{text-align:center}.partner-gallery{max-width:1120px;margin:24px auto}.brand-group{margin:24px 0}.brand-group h3{color:var(--muted);font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px}.brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.brand-tile{background:#f6f7f8;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.brand-tile img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:2;object-fit:contain}.brand-group:first-child .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-group:nth-child(2) .brand-grid{max-width:240px;margin:auto}.partner-details{margin-top:24px;text-align:left}.partner-details>summary{justify-content:center;font-size:11px}.audience-body .partner-gallery .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-partners{display:flex;align-items:center;justify-content:center;gap:8px}.compact-partners>span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.compact-partners .brand-tile{width:84px;border-radius:4px}.compact-partners .brand-tile img{height:34px}.workspace-footer{padding:8px 24px}.portal-body .public-footer{max-width:1120px;margin:auto}
/* Telão: palco reservado, QR estável e faixa de parceiros independente. */
.screen-body{--ribbon-height:152px;min-height:100svh;display:flex;flex-direction:column}.screen-body .app-header{flex:none}.screen-body .stage-screen{width:100%;flex:1;min-height:calc(100svh - 72px - var(--ribbon-height));padding:24px 48px;gap:48px;align-items:center}.screen-body[data-mode=spinning] .stage-screen,.screen-body[data-mode=revealed] .stage-screen,.screen-body[data-mode=audience] .stage-screen{min-height:calc(100svh - 72px - var(--ribbon-height))}.screen-body #screenContent{min-width:0;width:100%}.screen-welcome{display:flex;align-items:center;justify-content:center;gap:24px;text-align:left;margin-bottom:24px}.screen-welcome>img{width:clamp(120px,13vw,200px);height:clamp(120px,13vw,200px);aspect-ratio:1;object-fit:contain}.screen-welcome h1{font-size:clamp(30px,3vw,52px);margin:8px 0}.screen-welcome p{margin:0;color:var(--muted);font-size:16px}.screen-welcome .eyebrow{font-size:11px;letter-spacing:.16em;color:var(--blue)}.sponsor-spotlight{max-width:780px;margin:auto}.spotlight-label{margin:0 0 12px;text-transform:uppercase;font-size:12px;letter-spacing:.18em;color:var(--muted)}.spotlight-brand{background:#f6f7f8;border-radius:16px;overflow:hidden;box-shadow:0 16px 48px #0003}.spotlight-brand img{width:100%;height:clamp(160px,24vh,290px);object-fit:contain;display:block;animation:sponsor-arrive 900ms ease-out both}.spotlight-caption{display:flex;justify-content:space-between;align-items:center;margin:12px 4px 0;color:var(--muted);font-size:14px}.spotlight-count{font-size:11px;font-variant-numeric:tabular-nums}.spotlight-controls{display:flex;justify-content:center;gap:16px;margin:4px 0}.spotlight-controls button{font-size:11px;padding:8px;min-height:32px}.screen-qr>div:first-child{width:clamp(240px,24vw,360px);height:auto;aspect-ratio:1;border-radius:12px;overflow:hidden}.screen-qr h2{font-size:28px}.screen-qr p{font-size:17px}.sponsor-ribbon{height:var(--ribbon-height);flex:none;background:#111820;border-top:1px solid #29323c;overflow:hidden;width:100%;padding:8px 0 12px}.ribbon-heading{display:flex;justify-content:space-between;align-items:center;padding:0 32px;height:30px}.ribbon-heading>span{font-size:9px;letter-spacing:.2em;color:var(--muted)}.ribbon-heading button{font-size:10px;min-height:26px;padding:4px 8px}.sponsor-window{overflow:hidden;width:100%}.sponsor-track{display:flex;width:max-content;animation:sponsor-travel 100s linear infinite;will-change:transform}.sponsor-set{display:flex;gap:12px;padding-right:12px}.ribbon-brand{width:190px;flex:none;text-align:center}.ribbon-brand img{height:80px;width:190px;object-fit:contain;background:#f6f7f8;border-radius:6px;display:block}.ribbon-brand span{display:block;margin-top:5px;font-size:9px;letter-spacing:.08em;color:var(--muted)}.sponsor-ribbon:hover .sponsor-track,.sponsor-ribbon:focus-within .sponsor-track,.sponsor-track.is-paused,.screen-body[data-mode=spinning] .sponsor-track{animation-play-state:paused}.sponsors-paused .spotlight-brand img{animation:none}.screen-fullscreen{bottom:4px}.screen-body .screen-artist-photo{max-height:20vh}.screen-body .reveal-score{font-size:clamp(64px,9vw,128px);margin:16px 0}.screen-body[data-mode=offline] .stage-screen{min-height:calc(100svh - 72px)}
@keyframes sponsor-travel{to{transform:translateX(-50%)}}@keyframes sponsor-arrive{from{opacity:.2;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.sponsor-track,.spotlight-brand img{animation:none!important}.sponsor-window{overflow-x:auto}.sponsor-set[aria-hidden]{display:none}}
@media(max-width:700px){.header-brand>img{width:40px;height:40px}.header-sponsor{width:100px;height:40px}.screen-body{--ribbon-height:130px}.screen-body .stage-screen{grid-template-columns:1fr;padding:24px;gap:24px}.screen-welcome{gap:16px}.screen-welcome>img{width:100px;height:100px}.screen-welcome h1{font-size:28px}.screen-welcome p{font-size:12px}.spotlight-brand img{height:160px}.ribbon-brand,.ribbon-brand img{width:150px}.ribbon-brand img{height:64px}.ribbon-heading{padding:0 16px}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Disponibilidade real do Amei, independente da conexão à central. */
.amei-status{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;margin:8px 0;color:var(--ink)}.amei-status::before{content:"";width:12px;height:12px;border-radius:50%;background:#8995a4;flex:none}.amei-status[data-voting=open]::before{background:#43cb87}.amei-status[data-voting=closed]::before{background:#f06d77}.live-audience{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.live-audience .switch{margin:0}.live-audience input:checked+.switch-track,#audienceEnabled:checked+.switch-track{background:#238657}.switch input:focus-visible+.switch-track{outline:2px solid #e8c65a;outline-offset:4px}.switch input[aria-busy=true]+.switch-track{opacity:.55}

.pending-actions{margin:12px 0 24px}.pending-row{padding:24px 0}.pending-row+ .pending-row{border-top:1px solid var(--line)}.pending-row p{margin:8px 0}.pending-row small{display:block;color:var(--muted)}.pending-row .actions{margin-top:16px}.pending-score-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.pending-score-fields input{font-size:24px;font-variant-numeric:tabular-nums;min-height:52px}.pending-artist{font-size:20px;font-weight:800}#pendingScoreFeedback{color:var(--accent)}#judgePendingButton{font-size:12px;white-space:nowrap}@media(max-width:600px){.pending-score-fields{grid-template-columns:1fr}#judgePendingButton{font-size:10px;padding:8px}}

.category-execution{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;margin-bottom:24px;background:var(--surface);border-radius:12px}.category-execution strong{display:block;margin-top:8px}.category-execution select{max-width:360px}@media(max-width:700px){.category-execution{flex-direction:column;align-items:stretch}.category-execution .actions{flex-wrap:wrap}}

.category-blocks{margin-bottom:24px}.category-block-row{display:flex;gap:16px;align-items:center;padding:16px 8px}.category-block-row>div:first-of-type{flex:1}.category-block-row small{display:block;margin-top:4px;color:var(--muted)}.block-order{font-size:24px;color:var(--muted);min-width:28px}@media(max-width:650px){.category-block-row{flex-wrap:wrap}.category-block-row .actions{margin-left:auto}}

.order-handle{cursor:grab;touch-action:none;min-width:40px;min-height:44px;padding:8px;user-select:none}.order-handle:active{cursor:grabbing}.order-handle svg{width:20px;height:20px}.order-dragging{opacity:.65}.order-drop{outline:2px solid var(--accent);outline-offset:-2px}.table-rank{white-space:nowrap}

/* Retrato do artista em palco: iluminação cenográfica sem alterar a foto. */
.artist-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);gap:28px;align-items:center}.stage-portrait{position:relative;isolation:isolate;width:100%;aspect-ratio:1;background:#0c0f14 url('/assets/stage/stage-lights.png') center/cover no-repeat;border-radius:20px;overflow:hidden;box-shadow:0 20px 48px #0005}.stage-photo-frame{position:absolute;top:23%;left:19%;width:62%;height:66%;border-radius:12px;overflow:hidden;background:#10131b;border:1px solid #a4b8cb42;box-shadow:-8px 2px 32px #b57d1c20,8px 2px 32px #2e72ba28,0 20px 30px #0008}.stage-portrait-photo{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.stage-photo-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:12px}.stage-photo-placeholder img{width:85%;height:auto;max-height:75%;object-fit:contain}.stage-photo-placeholder span{font-size:11px;line-height:1.4;color:var(--muted);text-align:center}.artist-copy{text-align:left;min-width:0}.screen-body .artist-copy h1{font-size:clamp(28px,3.1vw,56px);line-height:1.1;overflow-wrap:anywhere;margin:12px 0}.artist-copy .reveal-category{font-size:12px;letter-spacing:.12em;color:#91b6d2;text-transform:uppercase;line-height:1.5}.artist-copy .screen-song{font-size:clamp(16px,1.6vw,24px);margin:12px 0}.artist-locality{font-size:14px;color:var(--muted);margin:8px 0}.artist-copy .screen-metrics{justify-content:flex-start;gap:20px}.artist-copy .screen-metrics strong{font-size:clamp(24px,2.5vw,42px)}.artist-copy .screen-metrics span{font-size:11px}.artist-copy .screen-status,.artist-copy .screen-segments{font-size:11px;margin:8px 0}.artist-copy .amei-status{margin-top:24px}.screen-body[data-mode=audience] .stage-screen{grid-template-columns:minmax(0,1fr) minmax(220px,20vw);gap:32px}.screen-body[data-mode=audience] .screen-qr>div:first-child{width:100%;height:auto;aspect-ratio:1}.screen-body[data-mode=audience] .screen-qr h2{font-size:22px}.screen-body[data-mode=audience] .screen-qr p{font-size:14px}.result-artist-layout{max-width:1100px;margin:auto;grid-template-columns:1fr 1fr;gap:64px}.result-artist-layout .reveal-rank{color:var(--accent);font-size:clamp(24px,3vw,48px)}.result-artist-layout .stage-portrait{width:100%;max-width:min(100%,calc(100svh - 290px));margin:auto}.screen-body .result-artist-layout .reveal-score{font-size:clamp(64px,8vw,128px)}
@media(min-width:1600px){.screen-body[data-mode=audience] .stage-screen{max-width:1840px}.artist-layout{gap:48px}.artist-copy .reveal-category{font-size:16px}.artist-copy .screen-status,.artist-copy .screen-segments{font-size:14px}}
@media(max-width:1050px){.screen-body[data-mode=audience] .stage-screen{padding:20px 24px;gap:24px;grid-template-columns:minmax(0,1fr) 200px}.artist-layout{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:20px}.artist-copy .screen-metrics{gap:12px}.artist-copy .screen-metrics strong{font-size:24px}.artist-copy .screen-metrics span{font-size:9px}.artist-copy .public-meter{margin:16px 0}.artist-copy .amei-status{margin-top:16px}.result-artist-layout{gap:32px}}
@media(max-width:700px){.screen-body[data-mode=audience] .stage-screen{grid-template-columns:1fr}.artist-layout,.result-artist-layout{grid-template-columns:1fr}.stage-portrait{max-width:420px;margin:auto}.artist-copy{text-align:center}.artist-copy .screen-metrics{justify-content:center}.result-artist-layout .stage-portrait{max-height:none;width:100%}.screen-body[data-mode=audience] .screen-qr{width:220px;margin:auto}}

.photo-upload-status{margin:16px 0;padding:16px;border-radius:12px;background:var(--surface)}.photo-upload-status strong{display:block;font-size:13px;overflow-wrap:anywhere}.photo-upload-status p{margin:8px 0 0;font-size:13px;color:var(--muted)}.photo-upload-status progress{display:block;width:100%;height:8px;margin-top:12px;accent-color:var(--accent)}.photo-upload-status[data-state=ready] p{color:#79d9a9}.photo-upload-status[data-state=error] p{color:#f38e96}.photo-upload-status[data-state=loading],.photo-upload-status[data-state=sending]{border-left:3px solid var(--accent)}.photo-preview-heading{font-size:13px;font-weight:700;margin:24px 0 12px}

/* Atenção discreta somente enquanto houver cadastros aguardando a mesa. */
#openRegistrations.has-pending{border-color:#df6674;background:#3b2028;color:#ffe8ec}#openRegistrations.has-pending:hover{background:#512a34;border-color:#ff8b98}#openRegistrations.has-pending .badge{background:#de5668;color:#fff;font-weight:800;min-width:28px;justify-content:center}#openRegistrations.has-pending:focus-visible{outline:2px solid #ff96a2;outline-offset:3px}.admin-nav button.has-registration-pending::after{content:"";display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#f37a89;margin-left:6px}

.lyrics-controls{margin-top:24px}.lyrics-controls summary{font-weight:800;cursor:pointer}.lyrics-controls label{max-width:480px;margin-top:16px}.lyrics-controls input[type=range]{width:100%;accent-color:var(--yellow,#f5c542)}.lyrics-editor{width:min(760px,94vw);max-height:90vh;overflow:auto}.lyrics-editor textarea{width:100%;font:16px/1.7 monospace}.lyrics-editor label{display:block;margin:16px 0}.lyrics-preview{padding:24px;background:#101822;border-radius:12px;font-size:24px;font-weight:800}.lyrics-editor input[type=checkbox]{width:auto}
.screen-lyrics{display:grid;grid-template-columns:minmax(0,28%) minmax(0,1fr);gap:4vw;align-items:center;width:100%;text-align:left}.screen-lyrics img{width:100%;height:38vh;object-fit:contain;border-radius:20px}.screen-lyrics h1{font-size:2.5vw}.lyric-lines{min-height:42vh;display:flex;flex-direction:column;justify-content:center;gap:2vh}.lyric-lines p{margin:0;font-size:clamp(24px,3.4vw,68px);line-height:1.25;font-weight:800;color:#748092}.lyric-lines p.current{color:#f8d454}.lyric-lines p.next{color:#d3dce8}body[data-mode=lyrics] #screenQR{display:none}body[data-mode=lyrics] .screen-song{font-size:1.7vw}

.screen-lyrics aside,.lyric-lines{min-width:0;overflow-wrap:anywhere}body[data-mode=lyrics] .stage-screen{width:100%;max-width:1800px;grid-template-columns:1fr}body[data-mode=lyrics] #screenContent{width:100%}
