/* Cashback Pro V36.10.10: announcements beside the category badge/toggle. */
html body #site-ticker[hidden] { display:none!important; }
html body #site-ticker.site-ticker {
  box-sizing:border-box;
  display:flex;
  flex:1 1 auto;
  align-items:center;
  min-width:0;
  width:auto;
  height:38px;
  padding:0 10px;
  margin-left:10px;
  gap:8px;
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-radius:13px;
  background:color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent);
  color:var(--text-main,#eaf0ff);
  box-shadow:0 3px 14px rgba(10,23,48,.09);
  opacity:var(--site-ticker-opacity,.9);
  overflow:hidden;
  pointer-events:none;
}
html body #site-ticker .site-ticker-mark {
  flex:0 0 18px;display:flex;align-items:center;justify-content:center;
  color:var(--purple,var(--accent-color,currentColor));
}
html body #site-ticker .site-ticker-mark svg {
  display:block;width:18px;height:18px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
html body #site-ticker .site-ticker-viewport {
  position:relative;flex:1 1 auto;min-width:0;height:100%;overflow:hidden;
}
html body #site-ticker .site-ticker-text {
  position:absolute;top:50%;left:0;transform:translateY(-50%);
  display:inline-block;width:max-content;max-width:none;
  white-space:nowrap;line-height:1.3;
  font-size:13px;font-weight:650;
  letter-spacing:.015em;
  will-change:transform;
}
html body #site-ticker.site-ticker-static .site-ticker-text {
  width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  transform:translateY(-50%)!important;
}
/* The header category row is fixed and 40px wide on fine-pointer layouts;
   position ticker independently so navigation/scrolling never shifts it. */
@media (min-width:760px) and (hover:hover) and (pointer:fine) {
  html body #site-ticker.site-ticker:not([hidden]) {
    position:fixed!important;
    top:calc(var(--v36-header-height,104px) + 7px)!important;
    left:68px!important;
    width:min(710px,calc(100vw - 90px))!important;
    max-width:calc(100vw - 90px)!important;
    height:36px;
    margin:0!important;
    z-index:1805;
  }
}
/* Tall tablets can hide header-menu-row by older rules; show the row when active. */
@media (min-width:981px) {
  html body.site-ticker-active #header-menu-row.header-menu-row {
    display:flex!important;
  }
  html body #site-ticker.site-ticker:not([hidden]) {
    position:fixed!important;
    top:calc(var(--v36-header-height,104px) + 7px)!important;
    left:68px!important;
    width:min(710px,calc(100vw - 90px))!important;
    max-width:calc(100vw - 90px)!important;
    height:36px;margin:0!important;
  }
}
@media (max-width:759px), (hover:none) and (max-width:980px) {
  html body #header-menu-row.header-menu-row.site-ticker-host,
  html body.site-ticker-active #header-menu-row.header-menu-row {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  html body #site-ticker.site-ticker:not([hidden]) {
    position:relative!important;
    top:auto!important;left:auto!important;
    width:auto!important;max-width:none!important;
    min-width:0!important;
    margin:0!important;
    height:36px;
  }
}
@media (max-width:400px) {
  html body #site-ticker.site-ticker {padding:0 7px;gap:6px;}
  html body #site-ticker .site-ticker-text {font-size:12px;}
}
@media (prefers-reduced-motion:reduce) {
  html body #site-ticker .site-ticker-text {will-change:auto;}
}
/* Admin configuration follows the existing theme palette. */
html body #admin-pane-site-ticker .site-ticker-admin-card {
  display:grid;gap:14px;max-width:850px;
  box-sizing:border-box;padding:clamp(14px,3vw,22px);
  background:color-mix(in srgb,var(--bg-surface,#182640) 90%,transparent);
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-radius:18px;
}
html body #admin-pane-site-ticker .site-ticker-checkbox {
  display:flex;gap:10px;align-items:center;cursor:pointer;min-height:40px;
}
html body #admin-pane-site-ticker .site-ticker-checkbox input {width:21px;height:21px;flex-shrink:0;accent-color:var(--purple,#8e7ee5);}
html body #admin-pane-site-ticker textarea {width:100%;min-width:0;box-sizing:border-box;resize:vertical;}
html body #admin-pane-site-ticker .site-ticker-config-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:13px;}
html body #admin-pane-site-ticker .site-ticker-config-item {display:grid;align-content:start;gap:10px;min-width:0;}
html body #admin-pane-site-ticker .site-ticker-config-item input[type="range"] {width:100%;max-width:100%;accent-color:var(--purple,#8e7ee5);cursor:pointer;}
html body #admin-pane-site-ticker .site-ticker-config-item label {font-weight:650;}
html body #admin-pane-site-ticker .site-ticker-config-item small {color:var(--text-muted,var(--text-sub));line-height:1.45;}
html body #admin-pane-site-ticker #ticker-pause {width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
html body #admin-pane-site-ticker .site-ticker-form-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
html body #admin-pane-site-ticker .site-ticker-form-actions button {
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-width:0;min-height:44px;white-space:normal;
}
html body #admin-pane-site-ticker .site-ticker-form-actions .ui-line-icon {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html body #admin-pane-site-ticker #ticker-form-status {margin:0;min-height:18px;}
@media (max-width:390px) {
 html body #admin-pane-site-ticker .site-ticker-form-actions {grid-template-columns:minmax(0,1fr);}
}

/* V36.10.11 — menu stays LEFT; notification bar remains to its RIGHT. */
@media (max-width:759px), (hover:none) and (max-width:980px) {
  html body #header-menu-row.header-menu-row {
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
  }
  html body #header-menu-row #mobile-menu-toggle.mobile-menu-toggle {
    order:0!important;
    flex:0 0 auto!important;
  }
  html body #header-menu-row #site-ticker.site-ticker {
    order:1!important;
    flex:1 1 0!important;
    min-width:0!important;
    margin:0!important;
  }
}
html body #header-menu-row #site-ticker.site-ticker {
  pointer-events:auto;
  transition:opacity .14s ease,visibility .14s ease;
}
/* The moving strip is hidden during breaks. Speaker visibility is controlled below. */
html body #site-ticker .site-ticker-speaker {
  position:relative;
  flex:0 0 30px;
  width:30px;height:30px;
  display:flex;align-items:center;justify-content:center;
  border:0;border-radius:9px;
  background:transparent;
  color:var(--purple,var(--accent-color,#7d85d5));
  cursor:pointer;
  padding:4px;
  pointer-events:auto;
}
html body #site-ticker .site-ticker-speaker:hover,
html body #site-ticker .site-ticker-speaker:focus-visible {
  background:color-mix(in srgb,var(--purple,#7d85d5) 18%,transparent);
  outline:2px solid var(--purple,#7d85d5);
  outline-offset:0;
}
html body #site-ticker .site-ticker-speaker svg {
  display:block;width:21px;height:21px;
  fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;
}
html body #site-ticker .site-ticker-unread:not([hidden]) {
  position:absolute;right:-1px;top:0;
  display:flex;min-width:15px;height:15px;
  padding:0 3px;align-items:center;justify-content:center;
  border-radius:30px;background:var(--danger,#d34f63);
  color:white;font-size:9px;font-weight:800;
}
html body .site-notices-overlay[hidden],
html body #site-notices-list[hidden],
html body #site-notices-detail[hidden],
html body #site-ticker[hidden] {display:none!important;}
html body .site-notices-overlay:not([hidden]) {
  position:fixed!important;inset:0!important;
  z-index:140000!important;
  display:flex;align-items:center;justify-content:center;
  padding:16px;
  background:rgba(8,15,30,.76);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  box-sizing:border-box;
}
html body .site-notices-dialog {
  display:flex;flex-direction:column;
  width:min(540px,100%);
  max-height:min(720px,calc(100dvh - 32px));
  min-width:0;overflow:hidden;
  color:var(--text-main,#e9efff);
  background:var(--bg-surface,#202d4a);
  border:1px solid var(--border-color,rgba(150,175,206,.4));
  border-radius:20px;
  box-shadow:0 20px 65px rgba(0,0,0,.32);
}
html body .site-notices-top {
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;
  padding:20px 20px 14px;
  border-bottom:1px solid var(--border-color,rgba(150,175,206,.3));
}
html body .site-notices-top h2 {margin:0;font-size:22px;line-height:1.3;}
html body .site-notices-icon-btn,
html body .site-notices-back {
  border:1px solid var(--border-color,rgba(150,175,206,.4));
  background:color-mix(in srgb,var(--bg-surface-2,var(--bg-surface)) 85%,transparent);
  color:var(--text-main,#e9efff);
  border-radius:10px;min-height:40px;padding:8px 12px;
  cursor:pointer;
}
html body .site-notices-list,
html body .site-notices-detail {
  overflow-y:auto;min-height:0;overscroll-behavior:contain;
  padding:14px 18px 20px;
}
html body .site-notices-entry {
  position:relative;
  display:flex;flex-direction:column;align-items:stretch;
  width:100%;text-align:left;gap:8px;
  margin-bottom:10px;padding:14px 38px 14px 16px;
  border:1px solid var(--border-color,rgba(150,175,206,.35));
  border-radius:15px;
  background:color-mix(in srgb,var(--bg-surface-2,var(--bg-surface)) 75%,transparent);
  color:var(--text-main,#e9efff);
  cursor:pointer;
}
html body .site-notices-entry.is-unread {
  border-color:color-mix(in srgb,var(--purple,#7d85d5) 65%,var(--border-color,#7b84a2));
  background:color-mix(in srgb,var(--purple,#7d85d5) 11%,var(--bg-surface,#202d4a));
}
html body .site-notices-entry.is-unread::before {
  content:"";position:absolute;top:20px;left:6px;
  width:6px;height:6px;border-radius:100%;background:var(--purple,#7d85d5);
}
html body .site-notices-entry-title {font-weight:750;font-size:16px;overflow-wrap:anywhere;}
html body .site-notices-entry-summary {font-size:13px;color:var(--text-muted,var(--text-sub,#b4bdcf));line-height:1.5;white-space:normal;overflow-wrap:anywhere;}
html body .site-notices-entry-arrow {position:absolute;right:14px;top:35%;font-size:25px;color:var(--text-muted,var(--text-sub,#b4bdcf));}
html body .site-notices-detail {display:flex;flex-direction:column;align-items:stretch;gap:16px;}
html body .site-notices-detail h3 {margin:0;font-size:20px;overflow-wrap:anywhere;}
html body #site-notices-detail-body {white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere;}
html body .site-notices-back {align-self:flex-start;}
html body .site-notices-empty {margin:10px 0;padding:16px;color:var(--text-muted,var(--text-sub));}

/* Editable notification list uses the current theme's form/button styles. */
html body #admin-pane-site-ticker .site-ticker-announcements-head {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
}
html body #admin-pane-site-ticker .site-ticker-announcements-head > div {display:grid;gap:6px;min-width:0;}
html body #admin-pane-site-ticker .site-ticker-announcements-head strong {font-size:17px;}
html body #admin-pane-site-ticker .site-ticker-announcements-head small {color:var(--text-muted,var(--text-sub));line-height:1.4;}
html body #admin-pane-site-ticker #ticker-add {min-height:42px;}
html body #admin-pane-site-ticker .site-ticker-notice-editor-list {display:grid;gap:12px;min-width:0;}
html body #admin-pane-site-ticker .site-notice-edit-card {
  display:grid;gap:9px;min-width:0;padding:15px;
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-radius:15px;
  background:color-mix(in srgb,var(--bg-surface-2,var(--bg-surface)) 78%,transparent);
}
html body #admin-pane-site-ticker .site-notice-edit-heading {
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
}
html body #admin-pane-site-ticker .site-notice-edit-controls {display:flex;gap:7px;}
html body #admin-pane-site-ticker .site-notice-row-button {
  min-height:34px;min-width:40px;padding:5px 10px;white-space:nowrap;
}
html body #admin-pane-site-ticker .site-notice-edit-card label {font-weight:650;}
html body #admin-pane-site-ticker .site-notice-edit-card input,
html body #admin-pane-site-ticker .site-notice-edit-card textarea {width:100%;max-width:none;min-width:0;box-sizing:border-box;}
html body #admin-pane-site-ticker .site-ticker-config-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));}
@media(max-width:430px){
 html body .site-notices-top {padding:15px 14px 12px;}
 html body .site-notices-list,html body .site-notices-detail {padding:10px 12px 14px;}
 html body #site-ticker .site-ticker-speaker {flex-basis:27px;width:27px;}
}

/* V36.10.12 — announcement stripe pauses; speaker remains visible and interactive. */
html body #site-ticker .site-ticker-viewport {
  display:block;
  appearance:none;-webkit-appearance:none;
  border:0;border-radius:0;padding:0;margin:0;
  background:transparent;color:inherit;
  text-align:left;cursor:pointer;
}
html body #site-ticker .site-ticker-viewport:focus-visible {
  outline:2px solid var(--purple,#8e7ee5);
  outline-offset:-2px;border-radius:6px;
}
html body #header-menu-row #site-ticker.site-ticker:not([hidden]) {pointer-events:auto!important;cursor:pointer;}
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  /* Previous CSS hid the entire bar; keep the bell accessible while resting. */
  opacity:var(--site-ticker-opacity,.9)!important;
  visibility:visible!important;
  pointer-events:auto!important;
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #site-ticker.site-ticker.site-ticker-resting .site-ticker-viewport {
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker {
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
/* Compact inbox previews: only the list truncates. Detail view keeps full content. */
html body .site-notices-entry {min-width:0;}
html body .site-notices-entry-title {
  display:block;min-width:0;max-width:100%;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  overflow-wrap:normal;
}
html body .site-notices-entry-summary {
  display:-webkit-box;min-width:0;max-width:100%;
  -webkit-box-orient:vertical;-webkit-line-clamp:2;
  line-clamp:2;overflow:hidden;text-overflow:ellipsis;
  white-space:normal;overflow-wrap:anywhere;
}
/* Two self-contained editor subpages match existing Admin theme tokens. */
html body #admin-pane-site-ticker .site-ticker-inner-tabs {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;max-width:850px;margin:14px 0 16px;
}
html body #admin-pane-site-ticker .site-ticker-inner-tab {
  display:flex;align-items:center;justify-content:center;gap:9px;
  min-width:0;min-height:46px;padding:10px;
  background:color-mix(in srgb,var(--bg-surface,#182640) 84%,transparent);
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-radius:13px;color:var(--text-main,#e9efff);
  font:inherit;font-weight:650;text-align:center;cursor:pointer;
}
html body #admin-pane-site-ticker .site-ticker-inner-tab.active {
  color:var(--text-main,#e9efff);
  border-color:var(--purple,#8e7ee5);
  background:color-mix(in srgb,var(--purple,#8e7ee5) 18%,var(--bg-surface,#182640));
  box-shadow:0 0 0 2px color-mix(in srgb,var(--purple,#8e7ee5) 12%,transparent);
}
html body #admin-pane-site-ticker .site-ticker-inner-tab:focus-visible,
html body #admin-pane-site-ticker .site-notice-expand:focus-visible {
  outline:2px solid var(--purple,#8e7ee5);outline-offset:2px;
}
html body #admin-pane-site-ticker .site-ticker-inner-tab .ui-line-icon,
html body #admin-pane-site-ticker #ticker-add .ui-line-icon {
  width:18px;height:18px;flex:0 0 auto;
  stroke:currentColor;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
html body #admin-pane-site-ticker .site-ticker-inner-panel[hidden],
html body #admin-pane-site-ticker .site-notice-edit-fields[hidden] {display:none!important;}
html body #admin-pane-site-ticker .site-notice-edit-card {
  gap:0;padding:10px 12px;
}
html body #admin-pane-site-ticker .site-notice-edit-heading {flex-wrap:nowrap;min-width:0;}
html body #admin-pane-site-ticker .site-notice-expand {
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-width:0;flex:1 1 auto;min-height:40px;
  border:0;padding:8px 6px;
  background:transparent;color:var(--text-main,#e9efff);
  text-align:left;font:inherit;font-weight:750;cursor:pointer;
}
html body #admin-pane-site-ticker .site-notice-collapsed-title {
  min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html body #admin-pane-site-ticker .site-notice-chevron {
  flex:0 0 auto;font-size:20px;line-height:1;transition:transform .18s ease;
}
html body #admin-pane-site-ticker .site-notice-expand[aria-expanded="true"] .site-notice-chevron {transform:rotate(180deg);}
html body #admin-pane-site-ticker .site-notice-edit-fields {
  display:grid;gap:9px;
  min-width:0;padding:12px 4px 5px;
  border-top:1px solid var(--border-color,rgba(145,166,203,.3));
}
html body #admin-pane-site-ticker .site-ticker-single-action {grid-template-columns:minmax(0,1fr);}
html body #admin-pane-site-ticker #ticker-add {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
}
html body #admin-pane-site-ticker #ticker-notices-status,
html body #admin-pane-site-ticker #ticker-settings-status {margin:0;min-height:18px;}
@media(max-width:420px){
  html body #admin-pane-site-ticker .site-ticker-inner-tab {gap:6px;padding:10px 6px;font-size:13px;}
  html body #admin-pane-site-ticker .site-notice-edit-controls {gap:3px;flex:0 0 auto;}
  html body #admin-pane-site-ticker .site-notice-row-button {min-width:31px;padding:4px 6px;}
}
@media(prefers-reduced-motion:reduce){
  html body #admin-pane-site-ticker .site-notice-chevron {transition:none;}
}

/* V36.10.13 — compact list, editable pop-up, scroll lock and aligned speaker. */
html body #admin-pane-site-ticker > p:empty {display:none!important;}
html body #admin-pane-site-ticker .site-ticker-config-item small:empty {display:none!important;}
html body #header-menu-row #site-ticker.site-ticker {
  min-height:42px;
  height:42px;
  padding:0 7px;
  align-items:center;
  gap:5px;
}
html body #site-ticker .site-ticker-speaker {
  flex:0 0 38px;
  box-sizing:border-box;
  width:38px;
  height:38px;
  padding:8px;
  border-radius:11px;
  border:1px solid transparent;
  background:transparent;
}
/* Only the resting speaker gets its own frame; running text already has a bar. */
html body #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker {
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker {
  border:1px solid var(--border-color,rgba(150,176,208,.38));
  background:color-mix(in srgb,var(--bg-surface,#182640) 85%,transparent);
  box-shadow:0 3px 11px rgba(10,23,48,.10);
}
html body #site-ticker.site-ticker.site-ticker-resting {
  padding-left:0;
  padding-right:0;
}
html body .site-notices-open {
  overscroll-behavior: none;
}
html body .site-notices-overlay:not([hidden]) {
  overscroll-behavior:contain;
  touch-action:none;
}
html body .site-notices-dialog {
  touch-action:pan-y;
  overscroll-behavior:contain;
}
html body .site-notices-list {
  max-height:min(420px,55dvh);
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding:9px 12px 13px;
}
html body .site-notices-entry {
  gap:4px;
  min-height:62px;
  margin-bottom:6px;
  padding:9px 34px 9px 13px;
  border-radius:12px;
  justify-content:center;
}
html body .site-notices-entry-title {font-size:14px;line-height:1.35;}
html body .site-notices-entry-summary {
  display:block;
  font-size:12px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
html body .site-notices-entry-arrow {top:50%;transform:translateY(-50%);right:12px;}
html body .site-notices-entry.has-media {
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  grid-template-rows:repeat(2,min-content);
  column-gap:10px;
  align-content:center;
  min-height:68px;
}
html body .site-notices-entry-thumb {
  display:block;
  width:48px;
  height:48px;
  grid-column:1;
  grid-row:1 / 3;
  object-fit:cover;
  border-radius:8px;
}
html body .site-notices-entry.has-media .site-notices-entry-title,
html body .site-notices-entry.has-media .site-notices-entry-summary {grid-column:2;}
html body #site-notices-detail-body {
  white-space:break-spaces;
  overflow-wrap:anywhere;
}
html body .site-notices-detail-media {
  display:block;
  align-self:center;
  max-width:100%;
  max-height:min(56dvh,520px);
  object-fit:contain;
  border-radius:12px;
}
html body .site-notices-detail-media[hidden] {display:none!important;}
html body #admin-pane-site-ticker .site-notice-edit-card {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  padding:9px 12px;
}
html body #admin-pane-site-ticker .site-notice-edit-controls {
  order:0;
  display:flex;
  flex:0 0 auto;
  gap:6px;
  align-items:center;
}
html body #admin-pane-site-ticker .site-notice-expand {
  order:1;
  flex:1 1 auto;
  justify-content:space-between;
  text-align:left;
  min-width:0;
  padding:6px 4px;
}
html body #admin-pane-site-ticker .site-notice-chevron {
  font-size:26px;
  transform:none!important;
}
html body .ticker-notice-editor-dialog {
  width:min(540px,100%);
  max-height:calc(100dvh - 32px);
}
html body .ticker-editor-fields {
  display:grid;
  gap:10px;
  padding:16px 18px;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
}
html body .ticker-editor-fields > label {font-weight:700;}
html body .ticker-editor-fields input.form-control,
html body .ticker-editor-fields textarea.form-control {width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
html body .ticker-editor-fields textarea {
  min-height:150px;
  white-space:break-spaces;
  tab-size:4;
}
html body .ticker-editor-color-row {
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;
}
html body .ticker-editor-color-row input[type="color"] {
  width:56px;height:38px;padding:3px;
  border:1px solid var(--border-color,#73809d);
  border-radius:10px;background:transparent;cursor:pointer;
}
html body .ticker-editor-color-row label {
  display:inline-flex;gap:8px;align-items:center;font-weight:500;
}
html body .ticker-editor-color-row input[type="checkbox"] {width:18px;height:18px;}
html body .ticker-editor-media-preview {
  display:grid;gap:10px;
  justify-items:start;
  padding:10px;
  border:1px solid var(--border-color,rgba(145,166,203,.35));
  border-radius:12px;
}
html body .ticker-editor-media-preview[hidden] {display:none!important;}
html body .ticker-editor-media-preview img {display:block;max-width:100%;max-height:170px;object-fit:contain;}
html body .ticker-editor-actions {
  display:flex;align-items:center;gap:9px;padding:14px 18px;
  border-top:1px solid var(--border-color,rgba(145,166,203,.35));
}
html body .ticker-editor-actions button {min-height:42px;min-width:0;flex:1 1 0;}
html body .ticker-editor-actions .ticker-editor-delete {
  color:var(--danger,#d45266);
  border-color:color-mix(in srgb,var(--danger,#d45266) 55%,transparent);
}
html body .ticker-editor-actions .ticker-editor-delete[hidden] {display:none!important;}
html body.ticker-notice-confirming #theme-dialog-overlay {z-index:180000!important;}
html body.ticker-notice-confirming #ticker-notice-editor-modal {pointer-events:none!important;}
@media(max-width:420px){
  html body #admin-pane-site-ticker .site-notice-edit-card {gap:5px;padding:7px;}
  html body #admin-pane-site-ticker .site-notice-edit-controls {gap:3px;}
  html body #admin-pane-site-ticker .site-notice-row-button {min-width:33px;min-height:36px;padding:4px 7px;}
  html body .ticker-editor-fields {padding:12px 14px;}
  html body .ticker-editor-actions {gap:7px;padding:12px;}
  html body .site-notices-list {padding:8px 10px 12px;}
}


/* V36.10.14 — Keep the speaker's LEFT FRAME in precisely the same
   position while running and while resting. The former 7px horizontal
   bar padding moved its frame to the right at the end of each run. */
html body #header-menu-row #site-ticker.site-ticker {
  box-sizing:border-box!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  gap:0!important;
  align-items:center!important;
  border-radius:12px!important;
  border:0!important;
}
/* Draw the running outer frame without consuming layout pixels. */
html body #header-menu-row #site-ticker.site-ticker::before {
  content:"";
  position:absolute;
  inset:0;
  box-sizing:border-box;
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-radius:inherit;
  pointer-events:none;
}
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting::before {
  display:none;
}
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting {
  /* Same dimensions / origin as running; never adjust padding at pause. */
  padding:0!important;
}
html body #header-menu-row #site-ticker .site-ticker-speaker {
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  height:36px!important;
  min-height:36px!important;
  padding:7px!important;
  margin:0!important;
  border-radius:12px!important;
  align-self:center!important;
  box-sizing:border-box!important;
}
html body #header-menu-row #site-ticker .site-ticker-speaker svg {
  width:20px;height:20px;flex:0 0 auto;
}
html body #header-menu-row #site-ticker .site-ticker-viewport {
  box-sizing:border-box!important;
  padding:0 10px 0 4px!important;
  min-width:0!important;
  height:100%!important;
}
/* Detail screen: back is a small unframed navigation action; the title
   stays distinct from the translucent content card. */
html body #site-notices-detail .site-notices-back {
  align-self:flex-start;
  width:auto!important;
  min-width:0!important;
  min-height:30px!important;
  padding:3px 4px!important;
  margin:0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--text-muted,var(--text-sub,var(--text-main,#e9efff)));
  font:inherit;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  text-align:left;
}
html body #site-notices-detail .site-notices-back:hover {
  color:var(--text-main,#e9efff);
  background:color-mix(in srgb,var(--bg-surface-2,var(--bg-surface,#202d4a)) 45%,transparent)!important;
}
html body #site-notices-detail .site-notices-back:focus-visible {
  outline:2px solid var(--purple,#8e7ee5);
  outline-offset:2px;
}
html body #site-notices-detail.site-notices-detail {
  gap:13px;
}
html body #site-notices-detail #site-notices-detail-title {
  display:block;
  min-width:0;
  margin:0 0 1px;
  padding:0 2px;
  background:transparent;
  border:0;
  font-size:clamp(18px,4.6vw,22px);
  line-height:1.45;
  font-weight:750;
  overflow-wrap:anywhere;
}
html body #site-notices-detail #site-notices-detail-body {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin:0;
  padding:14px 16px;
  border:1px solid color-mix(in srgb,var(--border-color,rgba(150,175,206,.4)) 68%,transparent);
  border-radius:14px;
  background:color-mix(in srgb,var(--bg-surface-2,var(--bg-surface,#202d4a)) 74%,transparent);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  color:var(--text-main,#e9efff);
  white-space:break-spaces;
  line-height:1.7;
  overflow-wrap:anywhere;
}
@media (max-width:420px) {
  html body #site-notices-detail #site-notices-detail-body {padding:12px 13px;}
}
@media (prefers-reduced-motion:reduce) {
  html body #site-notices-detail .site-notices-back {transition:none;}
}


/* V36.10.15 — Seamless loudspeaker/ticker shell with soft, open right edge.
   The shell and speaker are ONE continuous region while running: no
   standalone speaker outline or divider. Only the speaker has a frame
   when the marquee is resting (its layout origin remains unchanged). */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]) {
  border-radius:12px 0 0 12px!important;
  border:0!important;
  /* No hard right capsule: the surface dissolves into the page. */
  background:linear-gradient(to right,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 0%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 51%,
    color-mix(in srgb,var(--bg-surface,#182640) 54%,transparent) 78%,
    transparent 100%)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
/* A shared hairline follows the shell; it fades instead of closing on the right. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before {
  display:block;
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-right:0;
  border-radius:12px 0 0 12px;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 64%,transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 64%,transparent 100%);
}
/* Do not paint a separate button inside the shared shell while text runs. */
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker {
  border:0!important;
  border-radius:12px 0 0 12px!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker:hover {
  background:color-mix(in srgb,var(--purple,#7d85d5) 10%,transparent)!important;
}
/* The clipping window fades glyphs IN and OUT at both ends instead of
   snapping to a sharp overflow edge. The mask belongs to text viewport,
   never to the speaker, so speaker opacity/clickability are unaffected. */
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-static) .site-ticker-viewport {
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    #000 var(--site-ticker-fade-size,24px),
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%);
  mask-image:linear-gradient(to right,
    transparent 0px,
    #000 var(--site-ticker-fade-size,24px),
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%);
}
/* Static/reduced-motion text remains legible and ellipsized. */
html body #site-ticker.site-ticker-static .site-ticker-viewport {
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
/* V36.10.16 — The ticker shell stays visible between announcements.
   Pause only the *text*, not the shared frame, translucent background or speaker.
   Match the running gradient and soft right edge to prevent visual jumps. */
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  background:linear-gradient(to right,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 0%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 51%,
    color-mix(in srgb,var(--bg-surface,#182640) 54%,transparent) 78%,
    transparent 100%)!important;
  border-radius:12px 0 0 12px!important;
  box-shadow:none!important;
  opacity:var(--site-ticker-opacity,.9)!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
/* Re-enable the same fading border drawn while text is moving. */
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  display:block!important;
  border:1px solid var(--border-color,rgba(145,166,203,.34));
  border-right:0;
  border-radius:12px 0 0 12px;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 64%,transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 64%,transparent 100%);
}
/* No separate speaker box in either phase: one visually continuous ticker. */
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker {
  border:0!important;
  border-radius:12px 0 0 12px!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:hover {
  background:color-mix(in srgb,var(--purple,#7d85d5) 10%,transparent)!important;
}


/* V36.10.17 — remove the standalone speaker frame completely.
   The loudspeaker stays clickable, but no separate box, outline or hover
   capsule is painted around it in either running or resting state. */
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker {
  -webkit-appearance:none!important;
  appearance:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker::before,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker::after {
  content:none!important;
  display:none!important;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus-visible,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:focus,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:focus-visible {
  border:0!important;
  outline:none!important;
  box-shadow:none!important;
  background:transparent!important;
}


/* V36.10.18: the speaker is a naked icon, not the rounded LEFT end of
   the ticker frame. Move the frame/surface behind the moving text only;
   its position is stable while paused and while running. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  position:relative!important;
  isolation:isolate;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
/* No outline around the speaker: the thin line starts after its hit target. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  display:block!important;
  content:"";
  position:absolute;
  box-sizing:border-box;
  inset:0 0 0 40px!important;
  border:0!important;
  border-top:1px solid var(--border-color,rgba(145,166,203,.34))!important;
  border-bottom:1px solid var(--border-color,rgba(145,166,203,.34))!important;
  border-radius:0!important;
  background:transparent!important;
  pointer-events:none!important;
  z-index:0;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 62%,transparent 100%)!important;
  mask-image:linear-gradient(to right,#000 0%,#000 62%,transparent 100%)!important;
}
/* The underlying bar persists through the pause; only its text fades. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::after {
  display:block;
  content:"";
  position:absolute;
  inset:0 0 0 40px;
  z-index:0;
  background:linear-gradient(to right,
    color-mix(in srgb,var(--bg-surface,#182640) 18%,transparent) 0%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 10%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 40%,
    color-mix(in srgb,var(--bg-surface,#182640) 55%,transparent) 72%,
    transparent 100%);
  pointer-events:none;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker {
  position:relative;
  z-index:1;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-viewport {
  position:relative;
  z-index:1;
  background:transparent!important;
}

html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker {
  border-radius:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* Keyboard focus changes only the glyph, not the invisible button's frame. */
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus-visible svg {
  color:var(--purple,var(--accent-color,#7d85d5));
  filter:drop-shadow(0 0 3px currentColor);
}


/* V36.10.19 — seamless soft shell all the way UNDER the megaphone.
   Older rules started both pseudo-elements at x=40px, which produced the
   abrupt rectangle visible in the supplied mobile screenshot. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  isolation:isolate!important;
  background:transparent!important;
  overflow:visible!important;
}
/* Only a soft top/bottom hairline; no vertical bar around the icon. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  inset:0!important;
  border:0!important;
  border-top:1px solid var(--border-color,rgba(145,166,203,.34))!important;
  border-bottom:1px solid var(--border-color,rgba(145,166,203,.34))!important;
  border-radius:0!important;
  background:none!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.32) 38px,#000 70px,#000 57%,transparent 100%)!important;
  mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.32) 38px,#000 70px,#000 57%,transparent 100%)!important;
}
/* Uniform luminous surface begins at x=0 rather than abruptly after the
   loudspeaker. Left and right both dissolve, and the center remains solid. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::after,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(to right,
    transparent 0%,
    color-mix(in srgb,var(--bg-surface,#182640) 34%,transparent) 4%,
    color-mix(in srgb,var(--bg-surface,#182640) 75%,transparent) 12%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 22%,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 55%,
    color-mix(in srgb,var(--bg-surface,#182640) 45%,transparent) 82%,
    transparent 100%)!important;
}
/* Use the artwork's own irregular outline; never draw an icon capsule. */
html body #header-menu-row #site-ticker .site-ticker-speaker {
  z-index:2!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
  display:block!important;
  width:27px!important;
  height:27px!important;
  max-width:none!important;
  flex:0 0 auto!important;
  color:var(--purple,var(--accent-color,#7d85d5));
  fill:none!important;
  stroke:currentColor!important;
}
html body #header-menu-row #site-ticker .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker .site-ticker-speaker:focus-visible {
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}


/* V36.10.21 — Desktop ticker must be independently fixed beside the hamburger.
   The V36.10.18/.19 selector sets position:relative!important, which wins over
   the old desktop media queries. Meanwhile v36.7.168 limits the containing
   navigation row to 40px: the relative bar collapses to 0px, pushes its
   speaker into the dashboard and leaves the animation with no travel area.

   Desktop pointer layouts have their own fixed strip. Keep the original
   relative/mobile flex row for touch layouts and preserve the uninterrupted
   soft-edged speaker+text surface in all animation/pause states. */
@media (min-width:420px) and (hover:hover) and (pointer:fine) {
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    position:fixed!important;
    top:calc(var(--v36-header-height,104px) + 7px)!important;
    left:68px!important;
    right:auto!important;
    width:min(710px,calc(100vw - 86px))!important;
    max-width:calc(100vw - 86px)!important;
    min-width:0!important;
    flex:0 0 auto!important;
    margin:0!important;
    transform:none!important;
    z-index:1805!important;
  }
}
/* Narrow desktop keeps its legacy 56px-height menu-row anchor; use that
   same offset for the ticker instead of the standard desktop header var. */
@media (min-width:420px) and (max-width:760px) and (hover:hover) and (pointer:fine) {
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    top:calc(var(--v170-header-height,56px) + 7px)!important;
  }
}
/* Large desktop releases the header on scroll; the category control lifts
   to 8px, so keep the independent ticker level with that same control. */
@media (min-width:761px) and (hover:hover) and (pointer:fine) {
  html.v169-header-scrolled body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html.v169-header-scrolled body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    top:8px!important;
  }
}


/* V36.10.22 — Wide desktop ticker is centered and stretches with the workspace.
   The marquee overlap now begins under the loudspeaker so text can fade behind
   the icon instead of starting abruptly to its right. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  --site-ticker-speaker-slot: 42px;
  --site-ticker-left-underlap: 30px;
  gap:0!important;
  padding-left:8px!important;
  padding-right:12px!important;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker {
  flex:0 0 var(--site-ticker-speaker-slot)!important;
  width:var(--site-ticker-speaker-slot)!important;
  min-width:var(--site-ticker-speaker-slot)!important;
  height:30px!important;
  margin:0!important;
  padding:2px 0 2px 1px!important;
  justify-content:flex-start!important;
  align-items:center!important;
}
html body #header-menu-row #site-ticker.site-ticker .site-ticker-viewport,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-viewport {
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  margin-left:calc(var(--site-ticker-left-underlap) * -1)!important;
  padding-left:0!important;
  overflow:hidden!important;
}
/* The viewport overlaps the speaker lane, so the text can disappear behind the
   icon before it becomes readable in the open strip. */
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-static) .site-ticker-viewport {
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    transparent 14px,
    rgba(0,0,0,.20) 24px,
    rgba(0,0,0,.58) 36px,
    #000 54px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
  mask-image:linear-gradient(to right,
    transparent 0px,
    transparent 14px,
    rgba(0,0,0,.20) 24px,
    rgba(0,0,0,.58) 36px,
    #000 54px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
}
@media (min-width:420px) and (hover:hover) and (pointer:fine) {
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    left:50%!important;
    right:auto!important;
    width:min(1480px,calc(100vw - 132px))!important;
    max-width:min(1480px,calc(100vw - 132px))!important;
    transform:translateX(-50%)!important;
  }
}


/* V36.10.23 — one unbroken transition behind the speaker; the strip
   stays centered and keeps exactly the same width and outer position. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  --site-ticker-left-underlap:38px;
}
/* Move the artwork, not its button/flex slot or the entire ticker. */
html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
  transform:translateX(6px)!important;
}
/* An uninterrupted hairline and surface, with no abrupt 40px speaker/text
   boundary inherited from V36.10.18. The end is still softly faded. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  inset:0!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.55) 3%,#000 9%,#000 57%,transparent 100%)!important;
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.55) 3%,#000 9%,#000 57%,transparent 100%)!important;
}
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-static) .site-ticker-viewport {
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.12) 12px,
    rgba(0,0,0,.45) 26px,
    rgba(0,0,0,.78) 40px,
    #000 52px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
  mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.12) 12px,
    rgba(0,0,0,.45) 26px,
    rgba(0,0,0,.78) 40px,
    #000 52px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
}


/* V36.10.24 — Speaker is artwork only; the bar surface begins AFTER it.
   No independent shaded box or vertical seam beneath the speaker. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::after,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::after {
  inset:0 0 0 46px!important;
  background:linear-gradient(to right,
    transparent 0px,
    color-mix(in srgb,var(--bg-surface,#182640) 30%,transparent) 22px,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 72px,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 55%,
    color-mix(in srgb,var(--bg-surface,#182640) 45%,transparent) 82%,
    transparent 100%)!important;
}
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  inset:0 0 0 46px!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.18) 28px,#000 70px,#000 57%,transparent 100%)!important;
  mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.18) 28px,#000 70px,#000 57%,transparent 100%)!important;
}
/* The button remains clickable but never paints a surface, even on hover/pause. */
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus-visible {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* V36.10.25 — no translucent hover tile around the loudspeaker.
   The older non-resting :hover selector is more specific than the plain
   .site-ticker-speaker:hover override; cover both pause states explicitly. */
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus,
html body #header-menu-row #site-ticker.site-ticker .site-ticker-speaker:focus-visible,
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-resting) .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:hover,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting .site-ticker-speaker:focus-visible {
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Shift ONLY the SVG artwork farther right; no ticker width/offset change. */
html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
  transform:translateX(14px)!important;
}


/* V36.10.26 — solid megaphone, shorter start fade and portrait correction.
   Keep desktop ticker geometry untouched; only the icon artwork is filled. */
html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone .site-ticker-horn-body {
  fill:currentColor!important;
  stroke:currentColor!important;
}
/* Retain hollow handle, sound waves and decorative lines. */
html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone path:not(.site-ticker-horn-body) {
  fill:none!important;
}
/* Short left transparency ramp: glyphs are readable closer to the speaker
   while still blending behind it instead of popping at a clipped boundary. */
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-static) .site-ticker-viewport {
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.30) 6px,
    rgba(0,0,0,.75) 15px,
    #000 23px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
  mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.30) 6px,
    rgba(0,0,0,.75) 15px,
    #000 23px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
}
/* Shorten the decorative hairline fade on the left without changing the
   ticker surface or its right-edge dissolve. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  -webkit-mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.7) 9px,#000 23px,#000 57%,transparent 100%)!important;
  mask-image:linear-gradient(to right,transparent 0px,rgba(0,0,0,.7) 9px,#000 23px,#000 57%,transparent 100%)!important;
}
/* Portrait phones only: restore the speaker's pre-desktop offset, and extend
   the same ticker 10px toward the left. Desktop and landscape stay unchanged. */
@media (max-width:600px) and (orientation:portrait) and (hover:none) {
  html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
    transform:translateX(0px)!important;
  }
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    margin-left:-10px!important;
    margin-right:0!important;
    flex-grow:1!important;
  }
}


/* V36.10.28 — restore in-flow desktop row, shorten the left dissolve, and
   keep the speaker inside the clearer band while the text still fades away. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
  --site-ticker-left-underlap:24px;
}
/* Align the surface/outline fade with the text fade so the left edge reads as
   one continuous transition instead of separate broken layers. */
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::after,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::after {
  inset:0 0 0 32px!important;
  background:linear-gradient(to right,
    transparent 0px,
    color-mix(in srgb,var(--bg-surface,#182640) 28%,transparent) 7px,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 22px,
    color-mix(in srgb,var(--bg-surface,#182640) 88%,transparent) 55%,
    color-mix(in srgb,var(--bg-surface,#182640) 45%,transparent) 82%,
    transparent 100%)!important;
}
html body #header-menu-row #site-ticker.site-ticker:not([hidden])::before,
html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden])::before {
  inset:0 0 0 32px!important;
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.55) 7px,
    #000 18px,
    #000 57%,
    transparent 100%)!important;
  mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.55) 7px,
    #000 18px,
    #000 57%,
    transparent 100%)!important;
}
html body #header-menu-row #site-ticker.site-ticker:not(.site-ticker-static) .site-ticker-viewport {
  -webkit-mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.28) 3px,
    rgba(0,0,0,.72) 10px,
    #000 18px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
  mask-image:linear-gradient(to right,
    transparent 0px,
    rgba(0,0,0,.28) 3px,
    rgba(0,0,0,.72) 10px,
    #000 18px,
    #000 calc(100% - var(--site-ticker-fade-size,24px)),
    transparent 100%)!important;
}
/* Desktop: keep the speaker slightly right of its original slot, but move it
   left compared with V36.10.26/V36.10.27. Phones keep their own offset below. */
@media (min-width:420px) and (hover:hover) and (pointer:fine) {
  html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
    transform:translateX(9px)!important;
  }
  /* Undo the older fixed desktop rail/menu rules. The menu row now keeps its
     own height in normal document flow, so page cards stay below it and both
     the menu button and ticker scroll with the page like on mobile. */
  html body #header-menu-row.header-menu-row {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:min(1480px,calc(100vw - 28px))!important;
    max-width:min(1480px,calc(100vw - 28px))!important;
    min-height:36px!important;
    margin:8px auto 12px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    z-index:auto!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
    pointer-events:auto!important;
  }
  html body #header-menu-row #mobile-menu-toggle.mobile-menu-toggle {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    margin:0!important;
    flex:0 0 40px!important;
    order:0!important;
    pointer-events:auto!important;
  }
  html body #header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    flex:1 1 auto!important;
    height:36px!important;
    margin:0!important;
    transform:none!important;
    z-index:auto!important;
  }
}
/* Portrait phones keep the speaker at the original x offset but use the same
   shorter left dissolve, plus a small extra reach toward the left edge. */
@media (max-width:600px) and (orientation:portrait) and (hover:none) {
  html body #header-menu-row #site-ticker .site-ticker-speaker svg.site-ticker-megaphone {
    transform:translateX(0px)!important;
  }
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker:not([hidden]),
  html body #header-menu-row.header-menu-row #site-ticker.site-ticker.site-ticker-resting:not([hidden]) {
    margin-left:-10px!important;
  }
}
