/* Keep the disclosure aligned with Visibility despite global label spacing. */
.youtube-post-controls .platform-publish-grid > label,
.youtube-post-controls .platform-publish-grid > label select {
  margin: 0 !important;
}
.youtube-post-controls .platform-ai-disclosure {
  align-self: end !important;
  margin: 0 !important;
}

/* Full launch restored from Web v1.16.39 (September 3). No text overlay. */
#scheduleSuccessAnimation .rocket-launch-stage{position:absolute;inset:0;overflow:hidden}
#scheduleSuccessAnimation .rocket-vehicle{position:absolute;left:50%;bottom:-330px;width:120px;height:315px;filter:drop-shadow(0 18px 24px #0009);transform:translateX(-50%);animation:none}
#scheduleSuccessAnimation .rocket-body{position:absolute;top:0;left:0;width:120px;height:210px;overflow:visible}
#scheduleSuccessAnimation .rocket-shell{fill:#f3f7f5;stroke:#173d25;stroke-width:5}#scheduleSuccessAnimation .rocket-nose{fill:#18a44a}#scheduleSuccessAnimation .rocket-window-ring{fill:#163c24}#scheduleSuccessAnimation .rocket-window{fill:#79d9ff;stroke:#d9f6ff;stroke-width:3}#scheduleSuccessAnimation .rocket-fin{fill:#15913f;stroke:#173d25;stroke-width:4}#scheduleSuccessAnimation .rocket-nozzle{fill:#38463e;stroke:#173d25;stroke-width:4}
#scheduleSuccessAnimation .rocket-fire{position:absolute;z-index:-1;top:166px;left:50%;width:70px;height:135px;transform:translateX(-50%);filter:drop-shadow(0 14px 18px #ff5b00b8)}
#scheduleSuccessAnimation .rocket-fire i{position:absolute;top:0;left:50%;width:34px;height:128px;border-radius:50% 50% 60% 60%;clip-path:polygon(50% 100%,5% 17%,26% 0,50% 14%,74% 0,95% 17%);background:linear-gradient(to bottom,#fff7b0 0 18%,#ffc21c 36%,#ff6a00 66%,#e52a00 100%);transform:translateX(-50%);transform-origin:50% 0;animation:quobliRocketFire .13s ease-in-out infinite alternate}
#scheduleSuccessAnimation .rocket-fire i:nth-child(2){width:52px;height:106px;opacity:.72;animation-delay:-.06s}#scheduleSuccessAnimation .rocket-fire i:nth-child(3){width:22px;height:145px;background:linear-gradient(to bottom,#fff 0 15%,#ffe94d 33%,#ff7a00 68%,#e52a00 100%);animation-delay:-.1s}
#scheduleSuccessAnimation .rocket-smoke i{position:absolute;left:50%;bottom:-20px;width:54px;height:54px;border-radius:50%;background:#d8dedacc;filter:blur(1px);opacity:0;animation:none}
#scheduleSuccessAnimation .rocket-smoke i:nth-child(2){margin-left:-48px;animation-delay:.08s}#scheduleSuccessAnimation .rocket-smoke i:nth-child(3){margin-left:34px;animation-delay:.14s}#scheduleSuccessAnimation .rocket-smoke i:nth-child(4){margin-left:-20px;animation-delay:.23s}#scheduleSuccessAnimation .rocket-smoke i:nth-child(5){margin-left:55px;animation-delay:.3s}

#scheduleSuccessAnimation { background: transparent !important; backdrop-filter: none !important; }
#scheduleSuccessAnimation:is(.active, .launching):not(.hidden):not([hidden]) { display: block !important; }
#scheduleSuccessAnimation .rocket-vehicle { opacity: 0; }
#scheduleSuccessAnimation:is(.active, .launching) .rocket-vehicle {
 animation: quobliRocketLaunch 1.85s cubic-bezier(.3,.66,.24,1) both;
}
#scheduleSuccessAnimation:is(.active, .launching) .rocket-smoke i {
 animation-name: quobliRocketSmoke; animation-duration: 1.25s;
 animation-timing-function: ease-out; animation-fill-mode: both;
}
@keyframes quobliRocketLaunch{0%{bottom:-330px;opacity:0;transform:translateX(-50%) scale(.94)}9%{opacity:1}25%{bottom:4%;transform:translateX(-50%) scale(1)}72%{bottom:61%;opacity:1;transform:translateX(-50%) scale(1.04)}100%{bottom:112%;opacity:0;transform:translateX(-50%) scale(1.08)}}
@keyframes quobliRocketFire{from{transform:translateX(-50%) scaleX(.82) scaleY(.92)}to{transform:translateX(-50%) scaleX(1.14) scaleY(1.08)}}
@keyframes quobliRocketSmoke{0%{bottom:-20px;opacity:0;transform:translate(-50%,0) scale(.35)}20%{opacity:.72}100%{bottom:34%;opacity:0;transform:translate(-50%,90px) scale(2.5)}}

html body .app-toast { color: #17212b !important; background: #fff !important; border-color: #cbd1d8 !important; }
html body .app-toast :is(strong, p) { color: #17212b !important; }

/* Deletion dialogs and calendar menus use explicit readable colors in every theme. */
html body #deleteChoiceDialog { color: #17212b !important; background: #fff !important; border: 1px solid #aeb9c2; border-radius: 14px; padding: 24px; box-sizing: border-box; width: max-content; min-width: min(440px, calc(100vw - 48px)); max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); overflow: auto; }
html body #deleteChoiceDialog::backdrop { background: #17212b66; }
html body #deleteChoiceDialog :is(h3, p, .delete-choice-platforms) { color: #17212b !important; }
html body #deleteChoiceDialog p { line-height: 1.55; }
html body #deleteChoiceDialog .delete-choice-platforms { font-weight: 600; margin: 14px 0; }
html body #deleteChoiceDialog .delete-choice-actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid #cbd1d8; margin-top: 20px; padding-top: 16px; }
html body #deleteChoiceDialog button { color: #17212b !important; background: #fff !important; border: 1px solid #9caab5 !important; border-radius: 8px; padding: 12px 16px; line-height: 1.4; white-space: normal; }
html body #deleteChoiceDialog button.danger { color: #991b1b !important; border-color: #b74343 !important; }
html body #deleteChoiceDialog button:hover { background: #edf2f5 !important; }
html body #deleteChoiceDialog button:disabled { color: #596570 !important; background: #edf0f2 !important; opacity: 1 !important; cursor: not-allowed; }
html body #calendarContextMenu { color: #17212b !important; background: #fff !important; border: 1px solid #b8c3cc !important; }
html body #calendarContextMenu :is(strong, button) { color: #17212b !important; }
html body #calendarContextMenu button { background: #fff !important; }
html body #calendarContextMenu button.danger { color: #991b1b !important; }
html body #calendarContextMenu button:hover { background: #e9eff3 !important; }
html body #calendarContextMenu button:disabled { color: #596570 !important; opacity: 1 !important; }

/* Keep all deletion actions on one row when the window has room. */
@media (min-width: 1000px) {
  html body #deleteChoiceDialog .delete-choice-actions { flex-wrap: nowrap; }
  html body #deleteChoiceDialog .delete-choice-actions button { flex: 0 1 auto; }
}

/* Size the dialog from its action row, with a single layer of padding.
   Explanatory text wraps to that width instead of widening the dialog. */
html body #deleteChoiceDialog .delete-choice-content { padding: 0; }
html body #deleteChoiceDialog :is(h3, p, .delete-choice-platforms) { contain: inline-size; overflow-wrap: anywhere; }
