:root{--bg:#f4f5f7;--card:#fff;--text:#111827;--muted:#6b7280;--line:#e5e7eb;--accent:#b48a2d;--accent-dark:#8b681c;--danger:#b91c1c;--green:#18794e;--orange:#a15c00;--shadow:0 10px 28px rgba(17,24,39,.08)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.screen{min-height:100vh}
.welcome-screen{padding:24px 18px 40px;display:grid;align-content:center;gap:18px;background:radial-gradient(circle at 20% 10%,#2a3344,#111827 48%,#090d14)}.welcome-language{max-width:520px;width:100%;margin:0 auto;display:flex;justify-content:center;gap:8px}.brand-card,.entry-card{max-width:520px;width:100%;margin:0 auto}.brand-card{color:#fff;text-align:center}.brand-mark{width:88px;height:88px;margin:0 auto 18px;border-radius:50%;border:2px solid rgba(255,255,255,.6);display:grid;place-items:center;font-weight:800;letter-spacing:.08em;color:#f3d889}.brand-card h1{font-size:clamp(1.6rem,7vw,2.5rem);line-height:1.08;margin:0 0 12px}.subtitle{color:#d1d5db;margin:0}.entry-card{background:rgba(255,255,255,.98);border-radius:22px;padding:20px;box-shadow:0 25px 60px rgba(0,0,0,.35)}label{display:grid;gap:8px;font-weight:700;margin-bottom:14px}input,textarea,select{width:100%;border:1px solid #d1d5db;border-radius:14px;padding:14px 15px;background:#fff;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(180,138,45,.14)}.primary-btn{width:100%;border:0;border-radius:14px;padding:14px 18px;background:var(--accent);color:#fff;font-weight:800}.primary-btn:disabled{opacity:.48;cursor:not-allowed}.privacy-note{text-align:center;color:var(--muted);font-size:.85rem;margin:12px 0 0}
.language-switch{display:flex;gap:4px;border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:3px;background:rgba(255,255,255,.08)}.language-switch.compact{border-color:var(--line);background:#f8fafc}.lang-btn{border:0;border-radius:11px;padding:9px 12px;background:transparent;color:inherit;font-weight:800;white-space:nowrap}.welcome-language .lang-btn{color:#e5e7eb;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}.lang-btn.active{background:var(--accent);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.main-screen{padding-bottom:84px}.topbar{position:sticky;top:0;z-index:10;min-height:66px;padding:9px 12px 9px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.topbar-actions{display:flex;align-items:center;gap:7px}.eyebrow{color:var(--accent-dark);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800}.version-badge{font-size:.66rem;color:#9ca3af;font-weight:800}.ghost-btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 12px}.content{width:min(760px,100%);margin:0 auto;padding:14px 12px 28px}.section-title{margin:8px 4px 14px}.section-title h2{margin:0 0 4px;font-size:1.35rem}.section-title p{margin:0;color:var(--muted)}
.schedule-panel{background:linear-gradient(145deg,#111827,#1f2937);color:#fff;border-radius:20px;padding:16px 0 14px;margin-bottom:12px;box-shadow:0 14px 34px rgba(17,24,39,.18);overflow:hidden}.schedule-heading{padding:0 16px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.schedule-kicker{color:#f0d58f;font-size:.72rem;font-weight:900;letter-spacing:.14em}.schedule-heading h2{margin:2px 0 3px;font-size:1.22rem}.schedule-heading p{margin:0;color:#cbd5e1;font-size:.9rem;line-height:1.35}.swipe-hint{color:#f0d58f;font-size:1.25rem;padding-top:7px}.schedule-strip{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 16px 10px;scrollbar-width:none}.schedule-strip::-webkit-scrollbar{display:none}.schedule-chip{flex:0 0 220px;min-height:116px;scroll-snap-align:start;display:grid;align-content:start;gap:5px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:12px}.schedule-chip-time{width:fit-content;color:#111827;background:#f3d889;border-radius:9px;padding:4px 8px;font-size:.82rem;font-weight:900}.schedule-chip strong{font-size:.96rem;line-height:1.25}.schedule-chip span{color:#cbd5e1;font-size:.82rem}.schedule-toggle{width:calc(100% - 32px);margin:2px 16px 0;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:12px;padding:10px 12px;font-weight:800}.schedule-panel .schedule-list{padding:12px 16px 0}.schedule-panel .event-card{background:rgba(255,255,255,.96);color:var(--text)}
.sync-status{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:14px;padding:10px 11px;margin:0 0 13px;background:#fff;box-shadow:var(--shadow)}.sync-status>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}.sync-status strong{font-size:.88rem}.sync-status small{grid-column:2;color:var(--muted);font-size:.72rem}.status-dot{width:9px;height:9px;border-radius:50%;background:#9ca3af}.sync-status.ok .status-dot{background:#27a16f;box-shadow:0 0 0 4px rgba(39,161,111,.12)}.sync-status.busy .status-dot{background:#d69e2e}.sync-status.error .status-dot{background:#d14343}.sync-status button{border:1px solid var(--line);border-radius:10px;background:#f8fafc;padding:8px 10px;font-weight:800;font-size:.8rem}.feed-divider{height:1px;background:var(--line);margin:16px 3px 13px}.feed-heading{margin-top:0}
.post-card,.panel{background:var(--card);border-radius:18px;box-shadow:var(--shadow);border:1px solid #eef0f2;margin-bottom:14px;overflow:hidden}.post-head{padding:12px 14px;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#1f2937,#c09a47);color:#fff;display:grid;place-items:center;font-weight:800}.muted{color:var(--muted);font-size:.85rem}.post-time{font-size:.76rem}.post-media{background:#111;display:flex;justify-content:center;align-items:center}.post-image{width:100%;height:auto;max-height:none;object-fit:contain;display:block;background:#111}.post-actions{display:flex;gap:12px;padding:10px 14px 0}.post-actions button{border:0;background:transparent;font-weight:800;color:var(--text);padding:4px 0}.post-actions button.liked{color:var(--danger)}.post-caption{padding:0 14px 4px;line-height:1.45}.comments{padding:0 14px 8px}.comment-item{font-size:.92rem;margin:6px 0}.comment-form{display:flex;gap:8px;padding:10px 14px 14px;border-top:1px solid var(--line)}.comment-form input{padding:10px 12px}.comment-form button{border:0;border-radius:12px;padding:0 14px;background:#111827;color:#fff}.panel{padding:16px}.publish-box{display:grid;gap:14px}.photo-drop{border:2px dashed #d1d5db;border-radius:18px;min-height:220px;display:grid;place-items:center;text-align:center;padding:20px;background:#fafafa;overflow:hidden}.photo-drop.working{opacity:.65}.photo-drop img{width:100%;max-height:420px;object-fit:contain;border-radius:12px}.camera-btn{display:inline-grid;place-items:center;min-height:56px;border-radius:14px;border:0;background:#111827;color:#fff;font-weight:800;padding:14px;text-align:center}.camera-btn input{display:none}.schedule-list{display:grid;gap:10px}.event-card{display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.event-time{font-weight:900;color:var(--accent-dark)}.event-card h3{margin:0 0 4px;font-size:1rem}.event-card p{margin:0;color:var(--muted);font-size:.9rem}
.profile-card{text-align:center}.profile-avatar{width:82px;height:82px;border-radius:50%;margin:8px auto 12px;display:grid;place-items:center;background:linear-gradient(135deg,#111827,#c09a47);color:#fff;font-size:1.6rem;font-weight:900}.profile-card h2{margin:0}.profile-card p{margin:5px 0;color:var(--muted)}.profile-language{margin:18px auto 8px;padding:15px;max-width:420px;background:#f8fafc;border:1px solid var(--line);border-radius:16px;display:grid;gap:7px}.profile-switch{margin:4px auto 0;border-color:var(--line);background:#fff}.profile-server,.saved-device{margin:10px auto;padding:13px;max-width:420px;border-radius:14px;display:grid;gap:4px;text-align:left}.profile-server{background:#f0fdf7;border:1px solid #bcebd4}.profile-server.error{background:#fff7ed;border-color:#fed7aa}.profile-server span,.saved-device small{color:var(--muted);font-size:.8rem}.saved-device{background:#f8fafc;border:1px solid var(--line)}.danger-btn{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:12px;padding:10px 14px;margin-top:12px}.empty-state{text-align:center;padding:34px 20px;color:var(--muted)}
.bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;height:76px;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));display:grid;grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(14px)}.nav-btn{border:0;background:transparent;display:grid;place-items:center;align-content:center;gap:2px;color:var(--muted);border-radius:14px}.nav-btn span{font-size:1.45rem;line-height:1}.nav-btn small{font-size:.72rem}.nav-btn.active{color:var(--accent-dark);font-weight:800}.publish-nav span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff}.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);background:#111827;color:#fff;padding:10px 14px;border-radius:12px;box-shadow:var(--shadow);z-index:99;white-space:nowrap;max-width:90vw;overflow:hidden;text-overflow:ellipsis}
@media(max-width:430px){.topbar strong{font-size:.9rem}.topbar .eyebrow{font-size:.62rem}.language-switch.compact .lang-btn{padding:7px 9px}.ghost-btn{display:none!important}.schedule-chip{flex-basis:205px}.version-badge{display:none}.sync-status small{max-width:200px}}@media(min-width:800px){.content{padding-top:22px}.bottom-nav{width:520px;left:50%;right:auto;transform:translateX(-50%);bottom:18px;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.main-screen{padding-bottom:110px}}

/* v0.4.0 — exclusão e moderação */
.delete-post-btn{margin-left:auto!important;color:#991b1b!important;border-radius:10px!important;padding:4px 6px!important}.delete-post-btn:disabled{opacity:.45}.owner-delete-help{margin:14px auto 4px;max-width:420px;padding:11px 13px;border-radius:14px;background:#f8fafc;border:1px solid var(--line);font-size:.84rem;color:var(--muted);text-align:left}.moderator-panel{margin:14px auto 6px;max-width:420px;padding:14px;border-radius:16px;background:#fffaf0;border:1px solid #ead8a9;display:grid;grid-template-columns:38px 1fr;gap:4px 10px;text-align:left}.moderator-panel.active{background:#f0fdf7;border-color:#bcebd4}.moderator-badge{grid-row:1/3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#f3d889;font-weight:900}.moderator-panel strong{display:block}.moderator-panel span{display:block;margin-top:3px;color:var(--muted);font-size:.82rem;line-height:1.35}.moderator-login{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.moderator-login input{padding:11px 12px;margin:0}.moderator-login button,.moderator-secondary{border:0;border-radius:12px;padding:10px 12px;background:#111827;color:#fff;font-weight:800}.moderator-secondary{grid-column:1/-1;margin-top:10px;background:#fff;color:#166534;border:1px solid #bcebd4}.moderator-login button:disabled{opacity:.5}
@media(max-width:430px){.moderator-login{grid-template-columns:1fr}.moderator-login button{min-height:44px}.delete-post-btn{font-size:.82rem!important}}
.moderator-users{margin:18px 0;padding-top:18px;border-top:1px solid rgba(127,127,127,.18)}
.section-title.compact{margin-bottom:10px}.section-title.compact h3{margin:0;font-size:1rem}.section-title.compact p{margin:4px 0}
.moderator-users-list{display:grid;gap:8px}.moderator-user{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(127,127,127,.18);border-radius:14px;background:rgba(127,127,127,.05)}
.moderator-user-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:rgba(180,138,45,.18);flex:none}.moderator-user-info{min-width:0;flex:1;display:grid}.moderator-user-info strong,.moderator-user-info span,.moderator-user-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.moderator-user-info span,.moderator-user-info small{font-size:.78rem;opacity:.72}.moderator-user-delete{border:0;border-radius:10px;padding:8px 9px;cursor:pointer;background:rgba(180,40,40,.1)}.moderator-user-delete:disabled{opacity:.5}
/* v0.6.0 — interface limpa e recursos do encontro */
.schedule-live{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 16px 10px}.schedule-live:empty{display:none}.schedule-live>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:9px 10px;display:grid;gap:2px}.schedule-live small{color:#f0d58f;text-transform:uppercase;font-size:.66rem;font-weight:900;letter-spacing:.08em}.schedule-live strong{font-size:.82rem;line-height:1.25}.schedule-chip.current{outline:2px solid #f0d58f;background:rgba(240,213,143,.15)}
.sync-status{margin-top:0}.feed-heading{margin-top:6px}.new-posts-chip{position:sticky;top:74px;z-index:8;display:block;margin:8px auto 12px;border:0;border-radius:999px;background:#111827;color:#fff;padding:10px 16px;font-weight:900;box-shadow:0 8px 24px rgba(17,24,39,.25)}
.post-media.zoomable{cursor:zoom-in}.back-to-top{position:fixed;right:18px;bottom:94px;z-index:18;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);font-size:1.25rem;font-weight:900}.back-to-top.hidden{display:none}
.photo-viewer{display:none;position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.96);align-items:center;justify-content:center}.photo-viewer.open{display:flex}.photo-viewer img{max-width:100vw;max-height:88vh;object-fit:contain}.viewer-close,.viewer-prev,.viewer-next{position:absolute;border:0;background:rgba(0,0,0,.35);color:#fff;z-index:2}.viewer-close{top:max(14px,env(safe-area-inset-top));right:14px;width:46px;height:46px;border-radius:50%;font-size:2rem}.viewer-prev,.viewer-next{top:50%;transform:translateY(-50%);font-size:3rem;width:48px;height:72px;border-radius:12px}.viewer-prev{left:8px}.viewer-next{right:8px}.viewer-meta{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:16px;right:16px;color:#fff;display:flex;justify-content:space-between;gap:12px}.viewer-open{overflow:hidden}
.moderator-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0 14px}.moderator-stats strong{grid-column:1/-1}.moderator-stats span{background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:8px 5px;text-align:center;font-size:.75rem}.moderator-user-actions{display:flex;flex-direction:column;gap:5px}.moderator-user-block,.moderator-user-delete{border-radius:9px;padding:7px 8px;font-size:.72rem;font-weight:800}.moderator-user-block{border:1px solid #f4d6a0;background:#fffaf0;color:#854d0e}.moderator-user.blocked{opacity:.72}.moderator-user-info em{font-style:normal;font-size:.62rem;background:#fee2e2;color:#991b1b;border-radius:999px;padding:2px 5px;margin-left:4px}
@media(max-width:520px){.schedule-live{grid-template-columns:1fr}.viewer-prev,.viewer-next{display:none}.moderator-stats{grid-template-columns:1fr 1fr 1fr}}
/* v0.8.0 — identidade compartilhada por Nome + Loja e seleção de Lojas */
.schedule-heading-actions{display:flex;align-items:center;gap:8px}.schedule-edit{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;border-radius:10px;padding:7px 9px;font-size:.76rem;font-weight:900;white-space:nowrap}.schedule-edit:hover{background:rgba(255,255,255,.16)}.schedule-chip-time{max-width:100%;white-space:normal}.event-time{font-size:.84rem;line-height:1.3}
.moderator-schedule-link{margin:12px auto;max-width:420px}.moderator-schedule-link button{width:100%;border:1px solid #ead8a9;background:#fffaf0;color:#6b4f12;border-radius:13px;padding:11px 13px;font-weight:900}
.schedule-editor-open{overflow:hidden}.schedule-editor-overlay{position:fixed;inset:0;z-index:1200;background:rgba(0,0,0,.58);display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow:auto}.schedule-editor{width:min(720px,100%);margin:auto;background:#f7f8fa;border-radius:20px;padding:16px;box-shadow:0 28px 80px rgba(0,0,0,.4)}.schedule-editor-head{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;margin-bottom:12px}.schedule-editor-head small{color:var(--accent-dark);font-weight:900;letter-spacing:.1em}.schedule-editor-head h2{margin:2px 0 4px}.schedule-editor-head p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.4}.schedule-editor-head>button{width:42px;height:42px;border:0;border-radius:50%;background:#e5e7eb;font-size:1.8rem;line-height:1}.schedule-editor-list{display:grid;gap:12px;max-height:62vh;overflow:auto;padding-right:2px}.schedule-edit-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;text-align:left}.schedule-edit-card-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}.schedule-edit-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-remove{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:9px;padding:7px 8px;font-size:.72rem;font-weight:800;white-space:nowrap}.schedule-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.schedule-edit-card label{font-size:.78rem;margin-bottom:8px;gap:4px}.schedule-edit-card input{padding:10px 11px;border-radius:10px}.schedule-add{width:100%;margin:12px 0;border:1px dashed #b99543;background:#fffaf0;color:#6b4f12;border-radius:12px;padding:11px;font-weight:900}.schedule-editor>.primary-btn{margin-top:0}
@media(max-width:520px){.schedule-heading-actions{align-items:flex-start}.schedule-edit{padding:7px}.swipe-hint{display:none}.schedule-editor-overlay{padding:0}.schedule-editor{min-height:100vh;border-radius:0;margin:0;padding:14px}.schedule-editor-list{max-height:calc(100vh - 260px)}.schedule-grid{grid-template-columns:1fr}.schedule-edit-card-head{align-items:flex-start}.schedule-remove{font-size:.68rem}}

.entry-card select{appearance:auto;min-height:50px;border:1px solid #d1d5db;border-radius:14px;padding:12px 14px;background:#fff;color:var(--text);outline:none;font:inherit}.entry-card select:invalid{color:var(--muted)}.entry-card select option{color:var(--text)}

.photo-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gallery-btn{background:#fff;color:#111827;border:1px solid #d1d5db}@media(max-width:430px){.photo-source-actions{grid-template-columns:1fr}.camera-btn{min-height:52px}}

.translation-help,.schedule-translate-hint{display:block;margin-top:6px;font-size:.86rem;color:#6b7280}.schedule-translate-hint{margin-bottom:0}


/* ==========================================================
   v0.10.0 — IDENTIDADE VISUAL OFICIAL / "AZUL NOBRE"
   ========================================================== */
:root{
  --bg:#07182b;
  --bg-soft:#0b2340;
  --card:#fffdf8;
  --text:#172033;
  --muted:#6c7280;
  --line:#e8dfcf;
  --accent:#caa348;
  --accent-2:#f0ce78;
  --accent-dark:#876312;
  --wine:#79131d;
  --wine-dark:#4c0810;
  --navy:#07182b;
  --navy-2:#0d3159;
  --danger:#a91824;
  --green:#177650;
  --shadow:0 18px 46px rgba(2,12,24,.15);
  --shadow-deep:0 28px 80px rgba(0,0,0,.32);
}
html,body{background:
  radial-gradient(circle at 15% 0%,rgba(28,74,121,.24),transparent 34rem),
  linear-gradient(180deg,#07182b 0,#0a2038 340px,#f2efe8 341px,#f5f3ee 100%);
}
body{min-height:100vh}
button{transition:transform .16s ease,filter .16s ease,background .16s ease,border-color .16s ease}
button:active{transform:scale(.98)}
.primary-btn{
  background:linear-gradient(135deg,#e1bd64,#ad8127);
  color:#1e1a10;
  box-shadow:0 10px 25px rgba(157,113,30,.22);
  border:1px solid rgba(255,255,255,.34);
  text-shadow:0 1px rgba(255,255,255,.25)
}
.primary-btn:hover{filter:brightness(1.04)}
input,textarea,select{border-color:#d9cfbd;background:#fffdf9}
input:focus,textarea:focus,select:focus{
  border-color:#c49a3d;
  box-shadow:0 0 0 4px rgba(202,163,72,.16)
}

/* Entrada */
.welcome-screen{
  min-height:100dvh;
  position:relative;
  overflow:hidden;
  padding:22px 18px 44px;
  gap:16px;
  background:
    radial-gradient(circle at 75% 14%,rgba(214,171,70,.16),transparent 22rem),
    radial-gradient(circle at 15% 80%,rgba(121,19,29,.28),transparent 25rem),
    linear-gradient(145deg,#04101e 0%,#0a2b4f 52%,#07182b 100%)
}
.welcome-screen::before,.welcome-screen::after{
  content:"";position:absolute;border:1px solid rgba(217,174,74,.12);border-radius:50%;pointer-events:none
}
.welcome-screen::before{width:520px;height:520px;right:-330px;top:-160px}
.welcome-screen::after{width:380px;height:380px;left:-270px;bottom:-90px}
.welcome-language,.brand-card,.entry-card{position:relative;z-index:1}
.welcome-language{margin-bottom:2px}
.welcome-language .lang-btn{
  color:#f8f2e4;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(223,188,100,.28);
  backdrop-filter:blur(10px)
}
.lang-btn.active{
  background:linear-gradient(135deg,#d9b458,#9d7322);
  color:#16120a;
  box-shadow:0 6px 18px rgba(0,0,0,.2)
}
.brand-card{max-width:560px}
.official-logo-wrap{
  width:min(310px,76vw);
  margin:0 auto 12px;
  padding:8px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(238,205,120,.95),rgba(134,91,14,.7));
  box-shadow:0 20px 60px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.14) inset
}
.official-logo{
  display:block;width:100%;height:auto;border-radius:21px;
  background:#fff;box-shadow:0 0 0 1px rgba(50,32,4,.18) inset
}
.brand-overline{
  margin:4px 0 7px;
  color:#e5c56e;
  font-size:.72rem;
  letter-spacing:.20em;
  font-weight:900
}
.brand-card h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.55rem,6.4vw,2.45rem);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.02em;
  text-shadow:0 3px 18px rgba(0,0,0,.25)
}
.brand-card h1 span{color:#f1d17c}
.subtitle{max-width:470px;margin:0 auto;color:#d7deea;line-height:1.48}
.entry-card{
  max-width:540px;
  border-radius:24px;
  padding:20px;
  color:#f8f3e8;
  background:linear-gradient(145deg,rgba(6,24,43,.92),rgba(9,38,68,.88));
  border:1px solid rgba(220,180,81,.34);
  box-shadow:var(--shadow-deep);
  backdrop-filter:blur(16px)
}
.entry-card label>span{color:#f5e6bb}
.entry-card input,.entry-card select{
  background:rgba(255,255,255,.97);
  border-color:rgba(218,193,132,.5)
}
.entry-card .privacy-note{color:#aebcd0}
.entry-card .primary-btn{margin-top:2px;min-height:52px;font-size:1rem}

/* App */
.main-screen{
  min-height:100dvh;
  background:
    radial-gradient(circle at 90% 3%,rgba(204,160,62,.13),transparent 19rem),
    linear-gradient(180deg,#07182b 0,#0c2948 190px,#f4f1ea 360px,#f5f3ee 100%);
}
.topbar{
  min-height:72px;
  padding:8px 13px 8px 14px;
  color:#fff;
  background:rgba(5,22,40,.92);
  border-bottom:1px solid rgba(217,174,74,.30);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  backdrop-filter:blur(18px)
}
.topbar-brand{display:flex;align-items:center;gap:10px;min-width:0}
.topbar-logo{
  width:46px;height:46px;object-fit:cover;border-radius:13px;
  border:1px solid rgba(237,204,119,.68);
  box-shadow:0 5px 18px rgba(0,0,0,.25)
}
.topbar .eyebrow{color:#e3c066;font-size:.62rem}
.topbar strong{display:block;color:#fff6df;font-family:Georgia,"Times New Roman",serif;letter-spacing:.015em}
.version-badge{color:#9fb0c5}
.language-switch.compact{
  border-color:rgba(224,190,102,.25);
  background:rgba(255,255,255,.06)
}
.language-switch.compact .lang-btn{color:#cfd9e6}
.language-switch.compact .lang-btn.active{color:#171207}
.ghost-btn{
  border-color:rgba(224,190,102,.34);
  background:rgba(255,255,255,.07);
  color:#f4e1ae
}
.content{width:min(790px,100%);padding-top:18px}
.section-title h2{
  color:#10233a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.48rem
}
.section-title p{color:#6e7682}

/* Programação */
.schedule-panel{
  position:relative;
  background:
    radial-gradient(circle at 90% 0,rgba(238,197,92,.18),transparent 17rem),
    linear-gradient(135deg,#06182c 0%,#0b3963 58%,#5e0f18 145%);
  border:1px solid rgba(222,181,78,.58);
  border-radius:24px;
  box-shadow:0 22px 55px rgba(2,18,33,.25);
  overflow:hidden
}
.schedule-panel::after{
  content:"";position:absolute;left:18px;right:18px;top:0;height:2px;
  background:linear-gradient(90deg,transparent,#e1bc62,transparent)
}
.schedule-kicker{color:#e5c66f}
.schedule-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:1.35rem}
.schedule-heading p{color:#c6d2df}
.schedule-live>div{
  background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.045));
  border-color:rgba(224,190,102,.24)
}
.schedule-live small{color:#eac96e}
.schedule-chip{
  background:rgba(255,255,255,.075);
  border-color:rgba(224,190,102,.21);
  box-shadow:0 7px 25px rgba(0,0,0,.08)
}
.schedule-chip.current{
  outline:1px solid #edce78;
  box-shadow:0 0 0 3px rgba(224,190,102,.12)
}
.schedule-chip-time{
  color:#1a160c;
  background:linear-gradient(135deg,#f2d583,#bf9130)
}
.schedule-toggle,.schedule-edit{
  border-color:rgba(230,196,109,.30);
  background:rgba(0,0,0,.12)
}
.schedule-toggle:hover,.schedule-edit:hover{background:rgba(255,255,255,.10)}

/* Feed e cards */
.feed-heading{padding:8px 4px 2px}
.feed-heading h2::after{
  content:"";display:block;width:48px;height:3px;margin-top:7px;border-radius:999px;
  background:linear-gradient(90deg,#b48627,#e0bd62)
}
.post-card,.panel{
  background:linear-gradient(180deg,#fffefa,#fffaf2);
  border:1px solid #e5d6bb;
  border-radius:22px;
  box-shadow:0 14px 36px rgba(35,31,23,.09)
}
.post-card{overflow:hidden}
.post-head{padding:13px 15px}
.avatar,.profile-avatar{
  background:linear-gradient(145deg,#79131d,#321019 72%);
  border:2px solid #d6b35b;
  box-shadow:0 4px 12px rgba(76,8,16,.18)
}
.post-head strong{color:#18263a}
.post-lodge{color:#987321!important;font-weight:800;letter-spacing:.02em}
.post-time{color:#89909a}
.post-media{background:#07111c}
.post-actions{border-top:1px solid rgba(213,194,158,.28)}
.post-actions button{color:#26344a}
.post-actions button.liked{color:#9c1722}
.post-caption{color:#2f3743}
.comment-form{border-top-color:#eadfce}
.comment-form button{
  background:linear-gradient(135deg,#0b3156,#07182b);
  border:1px solid rgba(193,153,57,.38)
}
.new-posts-chip{
  top:80px;
  background:linear-gradient(135deg,#8a1821,#5c0c14);
  border:1px solid #d6ae51;
  color:#fff4d2
}
.sync-status{
  border-color:#e6dccb;background:rgba(255,253,248,.96)
}
.back-to-top{
  border-color:#d7bd7a;background:#07182b;color:#f1d077;
  box-shadow:0 12px 30px rgba(1,15,29,.25)
}

/* Publicação */
.publish-box{padding:18px}
.camera-btn{
  background:linear-gradient(135deg,#0d3a64,#06182c);
  border:1px solid rgba(185,142,43,.42);
  box-shadow:0 9px 24px rgba(7,24,43,.13)
}
.gallery-btn{
  background:linear-gradient(180deg,#fffefa,#f5efe3);
  color:#16243a;
  border:1px solid #d8c49a
}
.photo-drop{
  background:linear-gradient(180deg,#fffdfa,#f7f1e6);
  border-color:#d9c89f
}

/* Perfil / moderação */
.profile-card{padding-top:20px}
.profile-card h2{font-family:Georgia,"Times New Roman",serif;color:#14283f}
.profile-language,.saved-device{
  background:#f8f3e9;border-color:#e0d3bd
}
.moderator-panel{
  background:linear-gradient(180deg,#fff9eb,#fff4da);
  border-color:#dfc27d
}
.moderator-panel.active{background:linear-gradient(180deg,#eefaf3,#f7fff9)}
.moderator-badge{
  background:linear-gradient(145deg,#07182b,#0b3d67);
  border:1px solid #d7af50
}
.moderator-login button,.moderator-secondary{
  background:#07182b
}
.moderator-user{background:#fffcf6;border-color:#e5d8c2}
.moderator-user-avatar{background:linear-gradient(135deg,#f2dfaa,#c79631);color:#3f2d08}

/* Navegação */
.bottom-nav{
  height:78px;
  background:rgba(5,22,40,.96);
  border-top:1px solid rgba(211,170,69,.42);
  box-shadow:0 -8px 28px rgba(0,0,0,.16);
  backdrop-filter:blur(18px)
}
.nav-btn{color:#aebdce}
.nav-btn.active{color:#f2d17a}
.publish-nav span{
  background:linear-gradient(145deg,#e2be63,#a97920);
  color:#151108;
  border:1px solid rgba(255,255,255,.3);
  box-shadow:0 6px 20px rgba(183,134,35,.34)
}
.toast{
  background:#07182b;color:#fff6dc;border:1px solid rgba(222,181,78,.5);
  box-shadow:0 18px 45px rgba(0,0,0,.28)
}

/* Editor de programação */
.schedule-editor{
  background:#f4f0e8;
  border:1px solid #d7c293
}
.schedule-editor-head small{color:#9a7421}
.schedule-edit-card{background:#fffdf8;border-color:#e3d7c3}
.schedule-add{background:#fff7e8;border-color:#b99136;color:#704f0f}

/* Desktop */
@media(min-width:800px){
  .content{padding-top:26px}
  .bottom-nav{
    width:540px;
    bottom:18px;
    border:1px solid rgba(211,170,69,.42);
    border-radius:24px;
    box-shadow:0 18px 50px rgba(0,0,0,.26)
  }
}

/* Celular */
@media(max-width:520px){
  .welcome-screen{padding-top:max(16px,env(safe-area-inset-top))}
  .official-logo-wrap{width:min(245px,70vw);border-radius:22px;padding:6px}
  .official-logo{border-radius:17px}
  .brand-overline{font-size:.64rem}
  .brand-card h1{font-size:1.68rem}
  .entry-card{padding:17px;border-radius:20px}
  .topbar{min-height:66px}
  .topbar-logo{width:41px;height:41px;border-radius:11px}
  .topbar .eyebrow{font-size:.56rem;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar strong{font-size:.88rem}
  .content{padding-left:10px;padding-right:10px}
  .schedule-panel{border-radius:20px}
  .post-card,.panel{border-radius:19px}
}


/* v0.11.0 — operação do encontro */
.event-now-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-now-grid>div{min-height:92px;display:flex;flex-direction:column;justify-content:center}.event-now-grid small{text-transform:uppercase;letter-spacing:.09em}.event-now-grid span{margin-top:5px;color:#dbe6f1;font-size:.82rem}.now-card{box-shadow:inset 3px 0 #e5bd59}.next-card{box-shadow:inset 3px 0 #8bb0d1}
.official-notices{margin:14px 0;background:#fffaf0;border:1px solid #dcc27e;border-radius:20px;box-shadow:0 12px 32px rgba(45,32,10,.08);overflow:hidden}.notice-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #eadcbc}.notice-head>div{display:flex;flex-direction:column}.notice-head small{color:#9b7728;font-weight:900;letter-spacing:.12em}.notice-head strong{font-family:Georgia,'Times New Roman',serif;color:#14283f}.notice-head button{border:1px solid #d4b76a;background:#fff;color:#6c4d0e;border-radius:10px;padding:8px 10px;font-weight:800}.notice-list{display:grid;gap:8px;padding:10px}.official-notice{display:flex;gap:11px;padding:12px;border-radius:14px}.official-notice.normal{background:#fff6d9;border:1px solid #eed28b}.official-notice.urgent{background:#fff0f0;border:1px solid #e4a0a5}.notice-icon{width:28px;height:28px;min-width:28px;border-radius:50%;display:grid;place-items:center;font-weight:1000;background:#0b3156;color:#f3d47f}.urgent .notice-icon{background:#9e1622;color:#fff}.official-notice p{margin:3px 0 0;line-height:1.38}.notice-empty{padding:13px 15px;margin:0}.notice-edit-card{background:#fffdf8;border:1px solid #e2d4b8;border-radius:14px;padding:12px;display:grid;gap:9px}.notice-edit-head{display:flex;justify-content:space-between;gap:10px}.notice-edit-head button{border:0;background:#fff0f0;color:#9c1722;border-radius:8px;padding:6px 8px}.notice-edit-card label{display:grid;gap:5px;font-weight:700;font-size:.82rem}.notice-edit-card textarea{resize:vertical}
.feed-filters{margin:8px 0 14px;background:rgba(255,253,248,.97);border:1px solid #e3d5bc;border-radius:17px;padding:10px;box-shadow:0 9px 26px rgba(35,31,23,.06)}.filter-search{display:flex;align-items:center;gap:8px;border:1px solid #ded2be;background:#fff;border-radius:12px;padding:0 10px}.filter-search span{font-size:1.35rem;color:#8e6b20}.filter-search input{border:0;box-shadow:none;width:100%;padding:11px 0;background:transparent}.filter-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:7px;margin-top:8px}.filter-row select,.filter-row button{min-width:0;border-radius:10px;padding:9px;border:1px solid #ded2be;background:#fff}.filter-row button{color:#7a5b17;font-weight:800}
.offline-queue-status{display:flex;align-items:center;gap:10px;margin:10px 0;padding:11px 13px;border-radius:15px;background:#eef5ff;border:1px solid #aec8e2;color:#123757}.offline-queue-status>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#0b3156;color:#f3d47f;font-weight:900}.offline-queue-status div{display:flex;flex-direction:column}.offline-queue-status small{opacity:.75}
.moderator-dashboard{margin:12px 0 16px;padding:13px;background:#07182b;color:#eef5fb;border-radius:17px;border:1px solid #bd9440}.moderator-dashboard-title{font-family:Georgia,'Times New Roman',serif;font-weight:800;color:#f2d078;margin-bottom:10px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.stat-grid>div{background:rgba(255,255,255,.07);border:1px solid rgba(229,192,99,.18);border-radius:11px;padding:9px;display:flex;flex-direction:column}.stat-grid strong{font-size:1.08rem;color:#fff4d2}.stat-grid span{font-size:.69rem;color:#bdc9d6}.stats-section{margin-top:13px;padding-top:11px;border-top:1px solid rgba(255,255,255,.11)}.stats-section>strong{color:#edca71;font-size:.8rem}.lodge-bars{display:grid;gap:5px;margin-top:7px}.lodge-bars>div{display:flex;justify-content:space-between;background:rgba(255,255,255,.05);padding:6px 8px;border-radius:8px;font-size:.76rem}.recent-activity{display:grid;gap:5px;margin-top:7px}.recent-activity>div{display:flex;gap:8px;align-items:center;background:rgba(255,255,255,.04);padding:6px 8px;border-radius:8px}.recent-activity p{margin:0;font-size:.76rem;display:flex;gap:4px;flex:1}.recent-activity small{margin-left:auto;color:#9fb0c5}.moderator-tools{margin:12px 0;padding:12px;border-radius:15px;background:#fff5dc;border:1px solid #dfc27d}.moderator-tools>div:first-child{display:flex;flex-direction:column}.moderator-tools span{font-size:.76rem;color:#715e34}.moderator-tool-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.moderator-tool-buttons button{border:1px solid #d0b46b;background:#07182b;color:#f4d27c;border-radius:10px;padding:9px;font-weight:800;font-size:.76rem}
@media(max-width:620px){.event-now-grid{grid-template-columns:1fr}.filter-row{grid-template-columns:1fr 1fr}.filter-row button{grid-column:1/-1}.stat-grid{grid-template-columns:repeat(2,1fr)}.moderator-tool-buttons{grid-template-columns:1fr}.recent-activity p{flex-wrap:wrap}.recent-activity small{width:100%;margin-left:0}.official-notice{align-items:flex-start}}


/* ==========================================================
   v0.11.1 — LOGO OFICIAL TRANSPARENTE
   ========================================================== */
.official-logo-wrap{
  width:min(300px,74vw);
  margin:0 auto 14px;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.official-logo{
  display:block;
  width:100%;
  height:auto;
  border-radius:0;
  background:transparent;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.34));
}
.topbar-logo{
  width:50px;
  height:50px;
  object-fit:contain;
  object-position:center;
  padding:2px;
  border-radius:0;
  border:0;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.28));
}
@media(max-width:520px){
  .official-logo-wrap{width:min(255px,72vw);padding:0;border-radius:0}
  .official-logo{border-radius:0}
  .topbar-logo{width:44px;height:44px;border-radius:0}
}


/* v0.11.2 — feed simplificado: sem "Mural do encontro" e sem filtros */
.feed-stream{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}
.feed-filters,
.feed-heading{
  display:none !important;
}

/* ==========================================================
   v0.12.0 — layout estável e atualização silenciosa
   ========================================================== */
.feed-layout{display:grid;gap:14px;align-items:start}
.feed-context,.feed-column{min-width:0}
.feed-context{overflow-anchor:none}
.feed-stream{margin-top:0;overflow-anchor:auto}
.feed-stream .post-card{margin-bottom:0}
#scheduleRegion:empty,#noticeRegion:empty,#queueRegion:empty,#syncRegion:empty,#newPostsRegion:empty{display:none}
.schedule-panel,.official-notices,.offline-queue-status,.sync-status{margin-top:0;margin-bottom:12px}
.schedule-panel{transition:box-shadow .2s ease}
.schedule-strip.hidden,.schedule-list.hidden{display:none!important}
.new-posts-chip{
  position:fixed;
  z-index:60;
  top:calc(78px + env(safe-area-inset-top));
  left:50%;
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100vw - 28px);
  margin:0;
  border:1px solid #d6ae51;
  animation:new-posts-in .22s ease-out both
}
@keyframes new-posts-in{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
.post-card{scroll-margin-top:88px}
.post-media{min-height:120px}
.post-image{color:transparent}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(240,206,120,.72);outline-offset:2px}

@media(min-width:980px){
  .content{width:min(1120px,100%);padding-left:18px;padding-right:18px}
  .feed-layout{grid-template-columns:minmax(300px,350px) minmax(0,720px);gap:22px;justify-content:center}
  .feed-context{position:sticky;top:94px}
  .feed-column{width:100%}
  .schedule-live{grid-template-columns:1fr}
  .schedule-heading p{font-size:.84rem}
  .official-notices{margin-top:0}
}

@media(max-width:620px){
  .content{padding-top:12px}
  .schedule-panel{padding-top:14px;padding-bottom:12px}
  .schedule-heading{padding:0 14px 10px}
  .schedule-live{padding:0 14px 9px}
  .event-now-grid>div{min-height:76px}
  .schedule-toggle{width:calc(100% - 28px);margin-left:14px;margin-right:14px}
  .schedule-strip{padding-left:14px;padding-right:14px}
  .schedule-panel .schedule-list{padding-left:14px;padding-right:14px}
  .post-head{grid-template-columns:40px minmax(0,1fr) auto;padding:11px 12px}
  .avatar{width:40px;height:40px}
  .post-time{white-space:nowrap}
  .post-actions{padding-left:12px;padding-right:12px}
  .post-caption,.comments{padding-left:12px;padding-right:12px}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* ==========================================================
   v0.13.0 — programação reformulada
   ========================================================== */
.feed-shell{display:grid;gap:16px}
.feed-schedule-wide{min-width:0}
.schedule-summary-panel{
  padding:18px;
  overflow:visible;
}
.schedule-summary-panel::after{left:22px;right:22px}
.schedule-summary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.schedule-title-block{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}
.schedule-calendar-icon{
  flex:0 0 42px;
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  color:#171109;
  font-size:1.25rem;
  font-weight:900;
  background:linear-gradient(145deg,#f1d37e,#b78628);
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.schedule-summary-head h2{
  margin:1px 0 3px;
  color:#fff8e5;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.35rem;
}
.schedule-summary-head p{
  margin:0;
  color:#c8d3df;
  font-size:.88rem;
  line-height:1.4;
  max-width:580px;
}
.schedule-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.schedule-focus-card{
  min-width:0;
  border:1px solid rgba(224,190,102,.22);
  border-radius:16px;
  padding:13px 14px;
  background:rgba(255,255,255,.065);
}
.schedule-focus-card.is-current{
  background:linear-gradient(145deg,rgba(209,168,67,.17),rgba(255,255,255,.06));
  border-color:rgba(236,201,109,.47);
}
.schedule-focus-card.is-next{
  background:linear-gradient(145deg,rgba(16,67,111,.42),rgba(255,255,255,.05));
}
.schedule-focus-label{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:18px;
  color:#e8c86f;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.66rem;
  font-weight:900;
}
.live-dot{
  width:8px;height:8px;border-radius:50%;
  background:#ef5350;
  box-shadow:0 0 0 4px rgba(239,83,80,.16);
}
.schedule-focus-card strong{
  display:block;
  margin-top:5px;
  color:#fff;
  font-size:1rem;
  line-height:1.28;
}
.schedule-focus-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  margin-top:7px;
  color:#cbd5df;
  font-size:.78rem;
}
.schedule-focus-meta>span:not(:last-child)::after{
  content:"";
}
.schedule-countdown{
  color:#f0d17a;
  font-weight:800;
}
.schedule-summary-actions{margin-top:12px}
.schedule-open-btn{
  width:100%;
  min-height:48px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:9px;
  border:1px solid rgba(231,198,111,.34);
  border-radius:13px;
  padding:10px 12px;
  background:rgba(0,0,0,.16);
  color:#fff7df;
  text-align:left;
  font-weight:850;
}
.schedule-open-btn:hover{background:rgba(255,255,255,.09)}
.schedule-open-btn small{color:#d9c182;font-weight:700}

/* Programação completa */
.schedule-viewer-open{overflow:hidden}
.schedule-viewer-overlay{
  position:fixed;
  inset:0;
  z-index:1300;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(2,10,20,.72);
  backdrop-filter:blur(9px);
}
.schedule-viewer{
  width:min(930px,100%);
  max-height:min(820px,calc(100dvh - 44px));
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  border:1px solid rgba(212,172,71,.48);
  border-radius:24px;
  background:#f8f5ee;
  box-shadow:0 32px 100px rgba(0,0,0,.48);
}
.schedule-viewer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:17px 19px;
  background:
    radial-gradient(circle at 90% 0,rgba(226,188,94,.16),transparent 18rem),
    linear-gradient(135deg,#06182c,#0c345a);
  border-bottom:1px solid rgba(225,188,91,.35);
  color:#fff;
}
.schedule-viewer-head small{
  color:#e7c66d;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.12em;
}
.schedule-viewer-head h2{
  margin:2px 0 0;
  font:700 1.4rem/1.12 Georgia,"Times New Roman",serif;
}
.schedule-viewer-head-actions{display:flex;align-items:center;gap:8px}
.schedule-viewer-edit{
  border:1px solid rgba(232,198,109,.32);
  background:rgba(255,255,255,.08);
  color:#fff2cd;
  border-radius:11px;
  padding:9px 11px;
  font-weight:850;
}
.schedule-viewer-close{
  width:42px;height:42px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:1.65rem;
  line-height:1;
}
.schedule-viewer-layout{
  min-height:0;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
}
.schedule-day-tabs{
  min-height:0;
  overflow:auto;
  padding:14px 10px;
  background:#eee8dc;
  border-right:1px solid #ddd0ba;
}
.schedule-day-tab{
  width:100%;
  display:grid;
  gap:2px;
  margin-bottom:7px;
  padding:11px 12px;
  text-align:left;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#344054;
}
.schedule-day-tab strong{font-size:.84rem}
.schedule-day-tab small{color:#956e18;font-size:.7rem;font-weight:850}
.schedule-day-tab.active{
  background:#fffdf8;
  border-color:#d7bd7d;
  color:#17263a;
  box-shadow:0 5px 18px rgba(39,31,17,.08);
}
.schedule-viewer-body{
  min-height:0;
  overflow:auto;
  padding:18px 20px 24px;
  scroll-behavior:smooth;
}
.schedule-day-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:1px solid #e2d6c3;
}
.schedule-day-heading small{
  display:block;
  min-height:14px;
  color:#9b731e;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.schedule-day-heading h3{
  margin:2px 0 0;
  color:#14263d;
  font:700 1.28rem/1.2 Georgia,"Times New Roman",serif;
}
.schedule-day-heading>span{color:#7b818a;font-size:.78rem;white-space:nowrap}
.schedule-timeline{display:grid}
.schedule-timeline-item{
  display:grid;
  grid-template-columns:64px 22px minmax(0,1fr);
  gap:8px;
  min-height:92px;
}
.timeline-time{
  padding-top:4px;
  color:#18324e;
  font-size:.88rem;
  font-weight:900;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.timeline-rail{position:relative;display:flex;justify-content:center}
.timeline-rail::before{
  content:"";
  position:absolute;
  top:16px;bottom:-5px;
  width:2px;
  background:#ddcfb7;
}
.schedule-timeline-item:last-child .timeline-rail::before{bottom:calc(100% - 17px)}
.timeline-rail span{
  position:relative;
  z-index:1;
  width:12px;height:12px;
  margin-top:6px;
  border:3px solid #f8f5ee;
  border-radius:50%;
  background:#a7adb5;
  box-shadow:0 0 0 2px #cfc1a8;
}
.timeline-content{
  margin-bottom:13px;
  padding:11px 12px;
  border:1px solid #e4d8c6;
  border-radius:14px;
  background:#fffdf9;
}
.timeline-status{
  margin-bottom:3px;
  color:#8e9298;
  font-size:.66rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.timeline-content h4{
  margin:0;
  color:#17273b;
  font-size:.98rem;
  line-height:1.28;
}
.timeline-content p{
  margin:4px 0 0;
  color:#727984;
  font-size:.82rem;
}
.schedule-timeline-item.current .timeline-content{
  border-color:#caa348;
  background:#fff9e9;
  box-shadow:0 7px 23px rgba(149,106,22,.10);
}
.schedule-timeline-item.current .timeline-rail span{
  background:#b51d2a;
  box-shadow:0 0 0 2px #d6b65e,0 0 0 7px rgba(181,29,42,.10);
}
.schedule-timeline-item.current .timeline-status{color:#a11520}
.schedule-timeline-item.next .timeline-rail span{background:#c2932e}
.schedule-timeline-item.next .timeline-status{color:#9c731a}
.schedule-timeline-item.past{opacity:.68}

/* Desktop: programação ocupa a largura inteira; avisos ficam ao lado do feed */
@media(min-width:980px){
  .feed-shell{width:100%}
  .feed-layout{
    grid-template-columns:minmax(0,720px) minmax(270px,320px);
    gap:22px;
    justify-content:center;
  }
  .feed-column{grid-column:1}
  .feed-context{
    grid-column:2;
    position:sticky;
    top:94px;
  }
  .schedule-summary-panel{padding:20px 22px}
  .schedule-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Tablet */
@media(min-width:621px) and (max-width:979px){
  .schedule-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Celular */
@media(max-width:620px){
  .feed-shell{gap:12px}
  .schedule-summary-panel{
    padding:14px;
    border-radius:19px;
  }
  .schedule-summary-head{gap:10px;margin-bottom:10px}
  .schedule-calendar-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px;font-size:1.05rem}
  .schedule-summary-head h2{font-size:1.13rem}
  .schedule-summary-head p{font-size:.78rem;line-height:1.3}
  .schedule-edit{font-size:0;width:36px;height:36px;padding:0;display:grid;place-items:center}
  .schedule-edit::first-letter{font-size:.9rem}
  .schedule-summary-grid{grid-template-columns:1fr;gap:8px}
  .schedule-focus-card{padding:10px 11px;border-radius:13px}
  .schedule-focus-card strong{font-size:.91rem}
  .schedule-focus-meta{font-size:.74rem;margin-top:5px}
  .schedule-open-btn{min-height:44px;padding:9px 10px}
  .schedule-open-btn small{font-size:.68rem}
  .schedule-viewer-overlay{padding:0;align-items:stretch}
  .schedule-viewer{
    width:100%;
    height:100dvh;
    max-height:none;
    border:0;
    border-radius:0;
  }
  .schedule-viewer-head{padding:max(12px,env(safe-area-inset-top)) 13px 11px}
  .schedule-viewer-head h2{font-size:1.18rem}
  .schedule-viewer-head small{font-size:.58rem}
  .schedule-viewer-edit{padding:8px;font-size:.72rem}
  .schedule-viewer-close{width:38px;height:38px}
  .schedule-viewer-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .schedule-day-tabs{
    display:flex;
    gap:7px;
    overflow-x:auto;
    border-right:0;
    border-bottom:1px solid #ddd0ba;
    padding:9px 10px;
    scrollbar-width:none;
  }
  .schedule-day-tabs::-webkit-scrollbar{display:none}
  .schedule-day-tab{
    flex:0 0 auto;
    width:auto;
    min-width:112px;
    margin:0;
    padding:8px 10px;
    text-align:center;
  }
  .schedule-viewer-body{padding:14px 12px 28px}
  .schedule-day-heading{align-items:flex-start;margin-bottom:12px}
  .schedule-day-heading h3{font-size:1.08rem}
  .schedule-timeline-item{grid-template-columns:50px 18px minmax(0,1fr);gap:6px;min-height:86px}
  .timeline-time{font-size:.78rem}
  .timeline-content{padding:9px 10px;border-radius:12px}
  .timeline-content h4{font-size:.9rem}
  .timeline-content p{font-size:.77rem}
}


/* ==========================================================
   v0.13.1 — avisos entre programação e feed + feed em lotes
   ========================================================== */
.feed-notices-wide:empty{display:none}
.feed-notices-wide .official-notices{
  margin:0;
}
.feed-load-sentinel{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  opacity:.58;
}
.feed-load-sentinel span{
  width:7px;height:7px;border-radius:50%;
  background:#b98a2b;
  animation:feedLoaderPulse 1.2s ease-in-out infinite;
}
.feed-load-sentinel span:nth-child(2){animation-delay:.16s}
.feed-load-sentinel span:nth-child(3){animation-delay:.32s}
@keyframes feedLoaderPulse{
  0%,80%,100%{transform:scale(.72);opacity:.45}
  40%{transform:scale(1);opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .feed-load-sentinel span{animation:none}
}
