/* Padrão Concursos | Sharing para Instagram Stories e outras redes */
footer.story-share-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:9px;margin:14px 0 0;padding:10px 0 0;border-top:1px solid #dce9ed}
.story-share-button{border:0;background:linear-gradient(105deg,#833ab4,#bc1888 50%,#bc341c);color:#fff;border-radius:8px;font-weight:750;font-size:12px;min-height:36px;padding:6px 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.story-share-button:hover{filter:brightness(1.09);transform:translateY(-1px)}
.story-share-button:focus-visible{outline:3px solid #00CBFC;outline-offset:3px}
.story-share-mini{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;padding:7px 0 2px}
.story-share-mini button{padding:8px 11px;border-radius:8px;background:#edf8fb;color:#087593;border:1px solid #b7d8e1;font-size:12px;font-weight:850}
.story-share-mini button:hover{background:#dff1f6}
.story-medal-action{display:inline-flex;align-items:center;gap:4px;border:1px solid #b5d6df;background:#f8fdff;color:#087593;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:800;margin-top:3px}
.story-backdrop{position:fixed;inset:0;z-index:100120;background:rgba(3,20,33,.82);display:grid;place-items:center;padding:18px;overflow-y:auto;overscroll-behavior:contain}
body.story-open{overflow:hidden}
.story-dialog{width:min(950px,100%);max-height:min(850px,calc(100vh - 36px));overflow:auto;background:#fff;border-radius:19px;box-shadow:0 20px 75px rgba(1,8,20,.45);color:#173f50}
.story-dialog>header{background:#fff;border-bottom:1px solid #e2ecf0;padding:20px 23px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.story-dialog>header small{font-size:10px;letter-spacing:.16em;font-weight:850;color:#087593}
.story-dialog>header h2{margin:6px 0 5px;font-size:24px;letter-spacing:-.6px;color:#17445b}
.story-dialog>header p{margin:0;color:#6b8794;font-size:12px}
.story-close{flex:none;background:#eff7f9;border:1px solid #d5e4e8;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;cursor:pointer;color:#244657}
.story-content{display:grid;grid-template-columns:minmax(0,350px) minmax(0,1fr);align-items:start;gap:24px;padding:24px;background:#f7fbfc}
.story-preview{background:#11283a;padding:14px;border-radius:15px;display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative}
.story-preview img{display:block;width:min(100%,282px);height:auto;aspect-ratio:9/16;object-fit:contain;border-radius:11px;background:#14344c}
#story-rendering{position:absolute;bottom:20px;background:#092d43cc;color:white;padding:7px 11px;border-radius:8px;font-size:11px}
#story-rendering[hidden]{display:none}
.story-config{padding:12px 0;display:grid;gap:14px;align-content:start}
.story-field{display:grid;gap:8px}
.story-field label{font-size:12px;font-weight:800;color:#244d60}
.story-field select{padding:12px;border-radius:8px;border:1px solid #b9d4db;background:white;color:#234d5e;min-height:44px;font-size:13px}
.story-guidance{padding:14px 16px;border-radius:12px;background:#ebf7fa;border:1px solid #c9e4eb}
.story-guidance b{font-size:13px;color:#087593}
.story-guidance p{font-size:12px;line-height:1.6;color:#476d7d;margin:9px 0 0}
.story-primary,.story-secondary{width:100%;border-radius:10px;padding:13px;font-size:13px;font-weight:850;min-height:46px;cursor:pointer}
.story-primary{background:#FF6D11;color:white;border:1px solid #00CBFC}
.story-primary:hover{filter:brightness(1.08)}
.story-secondary{color:#087593;background:#fff;border:1px solid #a8cbd5}
.story-secondary:hover{background:#e7f6fa}
.story-primary:disabled,.story-secondary:disabled{opacity:.5;cursor:not-allowed}
.story-feedback{min-height:25px;margin:0;color:#446e7e;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.story-dialog button:focus-visible,.story-dialog select:focus-visible{outline:3px solid #00CBFC;outline-offset:3px}
@media(max-width:710px){
.story-backdrop{padding:7px;align-items:start}
.story-dialog{width:100%;max-height:calc(100dvh - 14px);border-radius:13px}
.story-dialog>header{padding:13px 15px}
.story-dialog>header h2{font-size:18px}
.story-dialog>header p{font-size:11px}
.story-content{grid-template-columns:1fr;gap:12px;padding:13px}
.story-preview{padding:10px}
.story-preview img{width:min(43vw,190px)}
.story-config{padding:0;gap:9px}
.story-guidance{padding:11px}
.story-guidance p{font-size:11px}
.story-primary,.story-secondary{min-height:41px;padding:10px}
}
@media(max-width:400px){.story-dialog>header h2{font-size:17px}.story-preview img{width:min(38vw,166px)}}
@media(prefers-reduced-motion:reduce){.story-share-button{transition:none!important}}


.story-dialog>header{height:auto;min-height:0}
