/* Mobile community posts: generous cards, full-width content, and inline
   action counts. Room conversations share the Home card layout. */
@media (max-width: 767px) {
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room)  { --feed-card: var(--lh-page, #fff); --feed-gap: color-mix(in srgb, var(--lh-ink, #111) 5%, var(--lh-page, #fff)); --feed-pill: color-mix(in srgb, var(--lh-ink, #111) 5%, var(--lh-page, #fff)); }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-sec--happening { margin: 24px 0 0 !important; padding: 0 !important; border: 0 !important; background: var(--feed-gap) !important; border-radius: 20px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-line { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 8px 0 16px !important; background: var(--feed-gap) !important; border: 0 !important; border-radius: 20px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-line::before { content: none !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl-day { padding: 12px 16px 4px !important; margin: 0 !important; border: 0 !important; background: transparent !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) !important; gap: 16px 12px !important; margin: 0 !important; padding: 20px 16px !important; border: 0 !important; border-radius: 20px !important; background: var(--feed-card) !important; box-shadow: none !important; min-width: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl::after { content: none !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__face { position: static !important; grid-column: 1 !important; grid-row: 1 !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; align-self: center !important; margin: 0 !important; box-shadow: none !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__body { display: contents !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__body > * { grid-column: 1 / -1 !important; min-width: 0 !important; max-width: 100% !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__body > .fp-byline { grid-column: 2 !important; grid-row: 1 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 6px 8px !important; align-self: center !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-byline__identity { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 4px 8px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-byline__identity > b { font-size: 16px !important; font-weight: 650 !important; line-height: 1.3 !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-byline time { font-size: 12px !important; line-height: 1.4 !important; padding: 0 !important; margin: 0 !important; color: var(--lh-dim) !important; -webkit-text-fill-color: var(--lh-dim) !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-byline__source { font-size: 11px !important; line-height: 1.3 !important; padding: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-byline > .fp-tl__more { grid-column: 2 !important; grid-row: 1 / 3 !important; width: 36px !important; min-width: 36px !important; height: 44px !important; margin: -4px -8px -4px 0 !important; padding: 0 !important; display: grid !important; place-items: center !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; font-size: 24px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__text { display: block !important; margin: 0 !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.65 !important; letter-spacing: 0 !important; -webkit-line-clamp: unset !important; overflow: visible !important; overflow-wrap: anywhere !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__readmore { display: none !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__media { width: 100% !important; margin: 0 !important; border-radius: 16px !important; overflow: hidden !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__body > .community-card-player { width: 100% !important; margin: 0 !important; border-radius: 16px !important; overflow: hidden !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__media :is(img, video) { display: block !important; width: 100% !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; grid-template-columns: none !important; justify-content: flex-start !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts > .fp-act { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 auto !important; grid-column: auto !important; grid-row: auto !important; min-width: 40px !important; min-height: 36px !important; width: auto !important; height: 36px !important; padding: 0 12px !important; margin: 0 !important; border: 0 !important; border-radius: 18px !important; background: var(--feed-pill) !important; box-shadow: none !important; color: var(--lh-ink) !important; -webkit-text-fill-color: var(--lh-ink) !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-act__ico { position: static !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 0 !important; width: auto !important; height: auto !important; border: 0 !important; background: transparent !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts .fp-badge { position: static !important; display: inline !important; min-width: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font: 600 13px/1.2 var(--font-family, system-ui, sans-serif) !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-act i { font-size: 18px !important; line-height: 1 !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-act.is-on { background: color-mix(in srgb, var(--lh-accent) 10%, var(--feed-card)) !important; color: var(--lh-accent) !important; -webkit-text-fill-color: var(--lh-accent) !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts > .fp-views { display: inline-flex !important; align-items: center !important; flex: 0 0 auto !important; gap: 4px !important; width: auto !important; min-width: 0 !important; margin-left: auto !important; color: var(--lh-dim) !important; -webkit-text-fill-color: var(--lh-dim) !important; font-size: 12px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts > .fp-act--share { flex: 0 0 auto !important; justify-content: center !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl--sys { padding-block: 16px !important; gap: 8px 12px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl:focus-visible { outline: 2px solid var(--lh-accent) !important; outline-offset: -2px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-act:focus-visible { outline: 2px solid var(--lh-accent) !important; outline-offset: 2px !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-act svg { display: block !important; width: 20px !important; height: 20px !important; flex: none !important; fill: none !important; stroke: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-stat--like.is-on svg { fill: none !important; stroke-width: 2.2 !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-views:has(> span:empty) { visibility: hidden !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl--sys .fp-tl__body { display: flex !important; grid-column: 2 !important; grid-row: 1 !important; gap: 6px !important; }
}

@media (max-width:767px) {
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts > .fp-views { margin:0 0 0 auto !important; min-width:40px !important; justify-content:flex-end !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts > .fp-act--share { margin:0 !important; }
html body :is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room):is(#community-layers-home, #explore-community-feed, #mobile-community-room) .fp-tl__acts:not(:has(> .fp-views)) > .fp-act--share { margin-left:auto !important; }
}

@media(max-width:767px) {
  html body #mobile-community-room {--lh-page:var(--room-bg,#fff);--lh-ink:var(--room-fg,#111);--lh-dim:var(--room-soft,#777);--lh-accent:var(--room-hot,#111);}
}
.home-feed-post-menu {box-sizing:border-box;width:calc(100% - 24px);max-width:480px;margin:auto auto 12px;padding:20px;border:0;border-radius:24px;background:var(--lh-page,#fff);color:var(--lh-ink,#111);box-shadow:0 12px 50px #0003;}
.home-feed-post-menu::backdrop {background:#0006;}
.home-feed-post-menu button {display:block;width:100%;padding:14px 8px;border:0;background:transparent;color:inherit;font:600 16px/1.4 system-ui;text-align:left;}
.home-feed-post-menu .home-post-cancel {text-align:right;font-size:14px;}
.home-feed-post-menu label {display:grid;gap:12px;font:600 17px/1.4 system-ui;}
.home-feed-post-menu textarea {box-sizing:border-box;width:100%;padding:12px;border:1px solid #8884;border-radius:16px;background:transparent;color:inherit;font:16px/1.6 system-ui;}
.home-feed-post-menu [role="status"] {font:14px/1.4 system-ui;}
html body #enter-modal #post-detail-dismiss ~ [data-detail-post-options] {
  margin-left:auto!important;display:grid!important;place-items:center!important;
  width:44px!important;height:44px!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;font-size:20px!important;
}
html body #mobile-community-room#mobile-community-room#mobile-community-room#mobile-community-room #community-room-screen-list.fp-line {
  margin:0!important;width:100%!important;box-sizing:border-box!important;
}
.home-feed-post-menu .crs-sheet__stack {display:grid;gap:2px;}
.home-feed-post-menu .crs-sheet__actions {display:flex;gap:12px;}
.home-feed-post-menu .crs-sheet__title {font:650 20px/1.4 system-ui;}
.home-feed-post-menu .crs-btn--danger,.home-feed-post-menu .crs-btn--danger-text {color:#d93025;}

/* One clean post-action surface; the rows themselves have no containers. */
html body #community-post-options-dialog#community-post-options-dialog#community-post-options-dialog {
  width:calc(100% - 20px)!important;max-width:480px!important;max-height:85dvh!important;
  margin:auto auto max(10px,env(safe-area-inset-bottom))!important;padding:22px 24px 20px!important;
  border:0!important;border-radius:26px!important;background:var(--lh-page,#fff)!important;
  color:var(--lh-ink,#111)!important;overflow:auto!important;
}
html body :is(#community-post-options-dialog,#mobile-community-room):is(#community-post-options-dialog,#mobile-community-room):is(#community-post-options-dialog,#mobile-community-room):is(#community-post-options-dialog,#mobile-community-room) .crs-sheet__body:has([data-post-edit],[data-edit-text],[data-del-go]) {
  display:block!important;width:100%!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body #community-post-options-dialog#community-post-options-dialog .crs-sheet__stack {display:flex!important;flex-direction:column!important;gap:4px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
html body #community-post-options-dialog#community-post-options-dialog .crs-sheet__actions {display:flex!important;flex-direction:column!important;gap:4px!important;}
html body #community-post-options-dialog#community-post-options-dialog .crs-field {display:block!important;padding:0!important;margin:12px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body #community-post-options-dialog#community-post-options-dialog .crs-field > span {display:none!important;}
html body #community-post-options-dialog#community-post-options-dialog .crs-sheet__title {margin:0 0 12px!important;font:650 22px/1.3 system-ui!important;}
html body #community-post-options-dialog#community-post-options-dialog button i {width:22px!important;font-size:19px!important;text-align:center!important;}
html body #enter-modal#enter-modal#enter-modal.post-detail-page .post-detail-nav {display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;}
html body #enter-modal#enter-modal#enter-modal.post-detail-page .post-detail-nav > #post-detail-dismiss {grid-column:1!important;grid-row:1!important;}
html body #enter-modal#enter-modal#enter-modal.post-detail-page .post-detail-nav > h1 {grid-column:2!important;grid-row:1!important;text-align:left!important;}
html body #enter-modal#enter-modal#enter-modal.post-detail-page .post-detail-nav > [data-detail-post-options] {grid-column:3!important;grid-row:1!important;justify-self:end!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
/* Home's post dots open a bottom-attached sheet, including the safe-area fill. */
@media(max-width:767px) {
 html body #community-post-options-dialog#community-post-options-dialog#community-post-options-dialog {
  inset:auto 0 0!important; width:100%!important; max-width:none!important;
  margin:0!important; padding:22px 24px calc(20px + env(safe-area-inset-bottom,0px))!important;
  border-radius:26px 26px 0 0!important;
 }
}
/* A body-mounted sheet must inherit the app theme, not room-only colors. */
html body #community-post-options-dialog#community-post-options-dialog#community-post-options-dialog {
 background:var(--bg-primary,#fff)!important; color:var(--text-primary,#111)!important;
}
html[data-appearance="glass"] body #community-post-options-dialog#community-post-options-dialog#community-post-options-dialog {
 background:var(--gl-sheet)!important; color:var(--gl-ink)!important;
 backdrop-filter:var(--gl-blur)!important; -webkit-backdrop-filter:var(--gl-blur)!important;
 border:1px solid var(--gl-rim)!important;
}
/* TV-post dots use the Community post sheet flow; TV mutations stay separate. */
@media(max-width:767px) {
 html body #bytes-action-center.is-anchored { z-index:240060; padding:0!important; }
 html body #bytes-action-center.is-anchored .bytes-action-center__panel {
  position:absolute!important; inset:auto 0 0!important; transform:none!important;
  width:100%!important; max-width:none!important; margin:0!important;
  padding:22px 24px calc(20px + env(safe-area-inset-bottom,0px))!important;
  border-radius:26px 26px 0 0!important; background:var(--bg-primary,#fff)!important; color:var(--text-primary,#111)!important;
 }
 html body #bytes-action-center.is-anchored :is(.bytes-action-center__eyebrow,.bytes-action-center__title,.bytes-action-center__button small) { display:none!important; }
 html body #bytes-action-center.is-anchored .bytes-action-center__actions { display:flex!important; flex-direction:column; gap:4px!important; }
 html body #bytes-action-center.is-anchored :is(.bytes-action-center__button,.bytes-action-center__cancel) { display:flex!important; align-items:center!important; gap:14px!important; width:100%!important; min-height:52px!important; padding:12px 4px!important; margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; color:inherit!important; -webkit-text-fill-color:currentColor!important; text-align:left!important; }
 html body #bytes-action-center.is-anchored .bytes-action-center__button strong,html body #bytes-action-center.is-anchored .bytes-action-center__cancel { font:500 17px/1.4 system-ui!important; }
 html body #bytes-action-center.is-anchored .bytes-action-center__icon { display:grid; place-items:center; width:22px!important; height:22px!important; background:none!important; color:inherit!important; font-size:19px!important; }
 html body #bytes-action-center.is-anchored [data-delete-byte] { margin-top:12px!important; }
 html[data-appearance="glass"] body #bytes-action-center.is-anchored .bytes-action-center__panel { background:var(--gl-sheet)!important; color:var(--gl-ink)!important; backdrop-filter:var(--gl-blur)!important; -webkit-backdrop-filter:var(--gl-blur)!important; border:1px solid var(--gl-rim)!important; }
}
@media(max-width:767px) {
 html body #bytes-delete-confirm { padding:0!important; place-items:end stretch!important; }
 html body #bytes-delete-confirm .bytes-delete-confirm__panel { width:100%!important; max-width:none!important; margin:0!important; border-radius:26px 26px 0 0!important; padding:24px 24px calc(24px + env(safe-area-inset-bottom,0px))!important; }
 html body #bytes-delete-confirm .bytes-delete-confirm__mark { display:none!important; }
 html body #bytes-delete-confirm .bytes-delete-confirm__actions { display:flex!important; flex-direction:column!important; gap:12px!important; }
 html[data-appearance="glass"] body #bytes-delete-confirm .bytes-delete-confirm__panel { background:var(--gl-sheet)!important; color:var(--gl-ink)!important; backdrop-filter:var(--gl-blur)!important; }
}

/* Post menus are a single quiet surface, with Cancel as the final row. */
html body #bytes-action-center.is-anchored :is(.bytes-action-center__actions,.bytes-action-center__button,.bytes-action-center__cancel),
html body #community-post-options-dialog#community-post-options-dialog :is(.crs-sheet__stack,button) {
 background:transparent!important; background-image:none!important; border:0!important; box-shadow:none!important; outline:0!important;
}
html body #bytes-action-center.is-anchored :is(.bytes-action-center__button,.bytes-action-center__cancel)::after,
html body #community-post-options-dialog#community-post-options-dialog button::after {display:none!important;}
html body #bytes-action-center.is-anchored .bytes-action-center__button>* {background:transparent!important;box-shadow:none!important;border:0!important;}
html body #bytes-action-center.is-anchored [data-delete-byte] {margin-top:0!important;color:#ed666e!important;}
html body #bytes-action-center.is-anchored .bytes-action-center__cancel {margin-top:12px!important;opacity:.65;}
html body #community-post-options-dialog#community-post-options-dialog button {border-radius:0!important;min-height:50px!important;padding:12px 4px!important;font:500 17px/1.4 system-ui!important;}
html body #community-post-options-dialog#community-post-options-dialog [data-sheet-close] {margin-top:12px!important;opacity:.65;}
html body #bytes-action-center.is-anchored :is(.bytes-action-center__button,.bytes-action-center__cancel),
html body #community-post-options-dialog#community-post-options-dialog button {
 color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;font:500 17px/1.4 system-ui!important;
}
html body #community-post-options-dialog#community-post-options-dialog button :is(span,strong,i),
html body #bytes-action-center.is-anchored button :is(span,strong,i) {
 color:inherit!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body #community-post-options-dialog#community-post-options-dialog button :is(span,strong),
html body #bytes-action-center.is-anchored button strong {font:inherit!important;}
html body #bytes-action-center.is-anchored :is(button,button *, .bytes-action-center__actions),
html body #community-post-options-dialog#community-post-options-dialog :is(button,button *, .crs-sheet__stack) {
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;
}
/* Page themes must not turn native timing text black over the video. */
html body :is(.community-card-player,.fp-tl__media,.mom-onair__inline-layer)>video[controls] {
 color:#fff!important;-webkit-text-fill-color:#fff!important;color-scheme:dark;
}
html body video[controls]::-webkit-media-controls-current-time-display,
html body video[controls]::-webkit-media-controls-time-remaining-display {
 color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 2px #000;
}
