/* Menu skin: matches the current mobile website menu (measured 2026-11-21 on test.okobserver.org at 375px).
   Phones only (<=640px). Colours/sizes are the site's computed values. */
@media (max-width:1023px) {
  html body dialog.oo-nm {
    position: fixed; inset: 12px; margin: 0; padding: 0; width: auto; max-width: none;
    height: calc(100dvh - 24px); max-height: none;
    display: flex; flex-direction: column; overflow: hidden;
    background: #173f8e; color: #fff;
    border: 1px solid rgba(255, 255, 255, .32); border-radius: 22px;
    box-shadow: 0 30px 80px rgba(3, 18, 55, .55);
    font-family: "Montserrat", system-ui, sans-serif;
  }
  html body dialog.oo-nm:not([open]) { display: none; }
  html body dialog.oo-nm::backdrop { background: rgba(3, 14, 45, .55); }
  html body dialog.oo-nm::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 35, 95, .32); }
  html body dialog.oo-nm .oo-nm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.1) brightness(.88); margin: 0; }
  html body dialog.oo-nm picture { display: contents; }

  /* top bar */
  html body dialog.oo-nm .oo-nm-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 71px; padding: 4px 12px 4px 18px; background: rgba(8, 32, 92, .38); flex: 0 0 auto; }
  html body dialog.oo-nm .oo-nm-eyebrow { display: flex; align-items: center; margin: 0; padding: 0; height: 62px; }
  html body dialog.oo-nm .oo-nm-eyebrow::before, html body dialog.oo-nm .oo-nm-eyebrow::after { display: none; }
  html body dialog.oo-nm .oo-nm-eyebrow img { display: block; width: 186px; height: 62px; margin: 0 0 0 -16px; position: relative; top: 16px; object-fit: contain; }
  html body dialog.oo-nm .oo-nm-eyebrow span { display: none; }
  html body dialog.oo-nm .oo-nm-close { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; height: 46px; padding: 0 14px; border: 1.2px solid rgba(255, 255, 255, .9); border-radius: 999px; background: rgba(8, 36, 100, .72); color: #fff; font: 400 15px/1.5 "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; letter-spacing: .3px; box-shadow: 0 8px 20px rgba(4, 22, 64, .28); width: auto; }
  html body dialog.oo-nm .oo-nm-close i { font-style: normal; font-size: 24px; line-height: 1; }

  /* scroll panel */
  html body dialog.oo-nm .oo-nm-scroll { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 7.2px 9.6px; padding: 0 16px 10px; border-radius: 25.6px; background: rgba(8, 32, 92, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); overflow: hidden auto; }
  html body dialog.oo-nm .oo-nm-hero { padding: 12px 0; border: 0; background: none; }
  html body dialog.oo-nm .oo-nm-xl { margin: 0 0 10px; padding: 6.4px 16px; border-radius: 19.2px; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-weight: 400; background: none; }
  html body dialog.oo-nm .oo-nm-l1 { display: block; font-size: 28.04px; font-weight: 800; line-height: 27.48px; letter-spacing: -1.262px; color: #fff; }
  html body dialog.oo-nm .oo-nm-l2 { display: block; margin-top: 4px; font: italic 400 24.2px/25.17px Georgia, "Times New Roman", serif; letter-spacing: -.484px; color: #ffd98a; }
  html body dialog.oo-nm .oo-nm-search { display: flex; gap: 9.6px; height: 56px; margin: 0; }
  html body dialog.oo-nm .oo-nm-search input { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 19.2px; border: 1.2px solid rgba(255, 217, 138, .8); border-radius: 999px; background: rgba(255, 255, 255, .95); color: #0b2a6b; font: 400 17.6px "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; box-shadow: 0 8px 20px rgba(4, 22, 64, .28); }
  html body dialog.oo-nm .oo-nm-search input::placeholder { font-size: 14px; color: #44527a; }
  html body dialog.oo-nm .oo-nm-search button { flex: 0 0 auto; height: 56px; padding: 0 22.4px; border: 1.2px solid rgba(255, 255, 255, .35); border-radius: 999px; background: #0b2a6b; color: #fff; font: 700 16.8px "Montserrat", system-ui, sans-serif; letter-spacing: .336px; box-shadow: 0 8px 20px rgba(4, 22, 64, .28); }

  /* Home / Log In / Light-Dark / Aa / voice */
  html body dialog.oo-nm .oo-nm-bar { padding: 10px 0 4px; border: 0; background: none; border-radius: 24px; }
  html body dialog.oo-nm .oo-nm-utils { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9.6px; margin: 0 0 14px; padding: 14.4px 16px 14px; border: 0; background: linear-gradient(90deg, rgba(255, 217, 138, 0), #ffd98a 18%, #ffd98a 82%, rgba(255, 217, 138, 0)) bottom / 100% 1px no-repeat; }
  html body dialog.oo-nm .oo-nm-util { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 49.6px; height: 52px; padding: 0 17.6px; border: 1.2px solid rgba(255, 255, 255, .55); border-radius: 999px; background: #0b2a6b; color: #fff; font: 700 15.2px "Montserrat", system-ui, sans-serif; letter-spacing: .304px; text-align: center; text-decoration: none; box-sizing: border-box; cursor: pointer; }
  html body dialog.oo-nm .oo-vp-row { display: flex; align-items: center; justify-content: center; gap: 5.6px; width: 100%; height: 52px; border-radius: 999px; background: rgba(8, 24, 70, .55); }
  html body dialog.oo-nm .oo-vp-row .oo-nm-util { width: auto; min-height: 51.2px; height: 52px; }
  html body dialog.oo-nm .oo-theme-pill { flex: 1 1 auto; padding: 0 11.2px; background: #fff; color: #0b2a6b; border-color: #fff; font-size: 12.76px; letter-spacing: 0; white-space: nowrap; }
  html body dialog.oo-nm .oo-fs-btn, html body dialog.oo-nm .oo-vp-btn { flex: 0 0 54.4px; padding: 0; font-size: 15.2px; white-space: nowrap; border-color: rgba(255, 255, 255, .35); }
  html body dialog.oo-nm .oo-vp-btn svg { width: 24px; height: 24px; }
  html body dialog.oo-nm .oo-theme-pill svg { width: 20px; height: 20px; margin-right: 8px; }

  /* Explore / Reader Services / Contact Us */
  html body dialog.oo-nm .oo-dir { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a1 a2" "a3 a3" "brand brand" "rev rev" "rule rule" "oodf oodf" "fol fol"; gap: 0 20px; margin: 0; }
  html body dialog.oo-nm .oo-dir-a1 { grid-area: a1; } html body dialog.oo-nm .oo-dir-a2 { grid-area: a2; } html body dialog.oo-nm .oo-dir-a3 { grid-area: a3; }
  html body dialog.oo-nm .oo-dir-rev, html body dialog.oo-nm .oo-dir-sup, html body dialog.oo-nm .oo-dir-fol, html body dialog.oo-nm .oo-nm-bar .oof-legal { display: none; }
  html body dialog.oo-nm .oo-dir-g { text-align: center; }
  html body dialog.oo-nm .oo-dir .oo-dir-g h3 { display: flex; align-items: center; justify-content: center; min-height: 72px; margin: 0 0 11.2px; padding: 4px 4px; border: 0; background: none; color: #ffd98a; font: 700 26.68px/30.68px Georgia, "Times New Roman", serif; letter-spacing: 3.2px; text-transform: none; text-align: center; }
  html body dialog.oo-nm .oo-dir .oo-dir-g h3 a { color: inherit; text-decoration: none; padding: 0; background: none; border: 0; font: inherit; letter-spacing: inherit; }
  html body dialog.oo-nm .oo-dir .oo-dir-list { display: grid; gap: 5.2px; margin: 0; padding: 0; list-style: none; }
  html body dialog.oo-nm .oo-dir .oo-dir-list li { margin: 0; padding: 0; list-style: none; height: auto; }
  html body dialog.oo-nm .oo-dir .oo-dir-list a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54.4px; padding: 5.6px 17.6px 5.6px 9.6px; border: 1.2px solid rgba(255, 255, 255, .35); border-radius: 999px; background: #0b2a6b; color: #fff; font: 700 14.72px/16.2px "Montserrat", system-ui, sans-serif; letter-spacing: 0; text-align: center; text-decoration: none; box-sizing: border-box; overflow-wrap: anywhere; }
  html body dialog.oo-nm .oo-dir .oo-dir-list a::after { content: "\203A"; position: absolute; right: 6.4px; top: 50%; transform: translateY(-50%); font-size: 11.8px; line-height: 11.8px; font-weight: 700; }
  html body dialog.oo-nm .oo-dir-a3 .oo-dir-list a::after { content: none; }
  html body dialog.oo-nm .oo-dir-a3 .oo-dir-list a { min-height: 49.6px; padding: 0 17.6px; font-size: 15.2px; gap: 8px; }
  html body dialog.oo-nm .oo-dir-a3 { margin-top: 8px; }
  html body dialog.oo-nm .oo-dir-a3 h3 { min-height: 0; font: 700 26.68px/34.7px Georgia, "Times New Roman", serif; letter-spacing: 3.2px; margin: 0 0 6px; }
  html body dialog.oo-nm .oo-dir-addr { margin: 0 0 9.6px; padding: 12.8px 16px; border-radius: 19.2px; font: 600 22px/29.7px "Montserrat", system-ui, sans-serif; color: #fff; text-align: center; }

  /* ---- light mode ---- */
  html[data-oo-theme~="light"] body dialog.oo-nm { background: #fff; color: #0b2a6b; border-color: rgba(11, 42, 107, .2); box-shadow: 0 30px 80px rgba(11, 42, 107, .35); }
  html[data-oo-theme~="light"] body dialog.oo-nm::before { background: rgba(255, 255, 255, .08); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-bg { filter: brightness(1.06) saturate(1.2); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-top { background: rgba(255, 255, 255, .22); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-eyebrow img { filter: brightness(0); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-close { background: rgba(255, 255, 255, .92); color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-scroll { background: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-l1 { color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-l2 { color: #a8741a; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-search input { background: rgba(255, 255, 255, .97); border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-search button { background: #fff; color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-utils { background-image: linear-gradient(90deg, rgba(138, 98, 18, 0), #8a6212 18%, #8a6212 82%, rgba(138, 98, 18, 0)); }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-util { background: #fff; color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-vp-row { background: none; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-theme-pill { background: #0b2a6b; color: #fff; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-fs-btn, html[data-oo-theme~="light"] body dialog.oo-nm .oo-vp-btn { background: rgba(255, 255, 255, .97); color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-dir .oo-dir-g h3 { color: #b98a2e; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-dir .oo-dir-list a { background: rgba(255, 255, 255, .97); color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-dir-addr { color: #0b2a6b; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-voice-pop { width: 100%; margin: 4px 0 0; padding: 10px; border-radius: 18px; background: rgba(8, 24, 70, .85); color: #fff; display: grid; gap: 6px; box-sizing: border-box; }
  html body dialog.oo-nm .oo-voice-pop p { margin: 0 0 2px; font: 700 13px "Montserrat", system-ui, sans-serif; color: #ffd98a; text-align: center; }
  html body dialog.oo-nm .oo-voice-opt { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: #0b2a6b; color: #fff; font: 600 13px "Montserrat", system-ui, sans-serif; text-align: center; }
  html body dialog.oo-nm .oo-voice-opt.is-on { background: #fff; color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-voice-pop { background: rgba(255, 255, 255, .92); color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-voice-opt { background: #fff; color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body dialog.oo-nm .oo-voice-opt.is-on { background: #0b2a6b; color: #fff; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-vp-row { box-sizing: border-box; min-width: 0; max-width: 100%; gap: 4px; overflow: hidden; }
  html body dialog.oo-nm .oo-vp-row .oo-nm-util { min-width: 0; box-sizing: border-box; margin: 0; }
  html body dialog.oo-nm .oo-vp-row .oo-theme-pill { flex: 1 1 0; width: auto; padding: 0 8px; font-size: 12px; background: #fff; color: #0b2a6b; }
  html body dialog.oo-nm .oo-vp-row .oo-fs-btn { flex: 0 0 74px; font-size: 13px; }
  html body dialog.oo-nm .oo-vp-row .oo-vp-btn { flex: 0 0 46px; }
  html body dialog.oo-nm .oo-vp-row .oo-theme-pill svg { width: 16px; height: 16px; margin-right: 5px; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-vp-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 46px; gap: 4px; padding: 0; background: none; }
  html body dialog.oo-nm .oo-vp-row .oo-nm-util { width: 100%; flex: none; display: inline-flex; align-items: center; justify-content: center; }
  html body dialog.oo-nm .oo-vp-row .oo-vp-btn svg, html body dialog.oo-nm .oo-vp-row .oo-theme-pill svg { flex: 0 0 auto; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-dir .oo-dir-list a { padding: 5.6px 13px 5.6px 6px; font-size: 13.4px; overflow-wrap: normal; word-break: normal; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-vp-row { width: calc(100% + 24px); margin-inline: -12px; grid-template-columns: minmax(0, 1fr) 70px 44px; }
  html body dialog.oo-nm .oo-vp-row .oo-theme-pill { padding: 0 4px; font-size: 12px; letter-spacing: 0; }
  html body dialog.oo-nm .oo-vp-row .oo-theme-pill svg { width: 14px; height: 14px; margin-right: 4px; }
  html body dialog.oo-nm .oo-vp-row .oo-fs-btn { font-size: 12.5px; letter-spacing: 0; }
}
@media (max-width:1023px) {
  html body dialog.oo-nm .oo-vp-row { width: calc(100% + 24px) !important; max-width: none !important; margin-inline: -12px !important; overflow: visible !important; grid-template-columns: minmax(0, 1fr) 72px 46px !important; }
  html body dialog.oo-nm .oo-vp-row .oo-theme-pill { padding: 0 6px !important; font-size: 12.5px !important; letter-spacing: 0 !important; }
  html body dialog.oo-nm .oo-vp-row .oo-fs-btn { padding: 0 !important; font-size: 12.5px !important; letter-spacing: 0 !important; }
  html body dialog.oo-nm .oo-vp-row .oo-vp-btn { padding: 0 !important; }
}

/* Home header matches the website: no back/theme row (theme now lives in the menu). */
@media (max-width: 640px) {
  html body .oo-tools.oo-home-tools { display: none !important; }
}

/* Header + section titles sized like the website at phone width. */
@media (max-width: 640px) {
  html body .oo-logo { height: 59px !important; width: auto; margin: 7px 0 0 16px !important; }
  html body .oo-hamburger { width: 44px !important; height: 44px !important; margin: 4px 14px 0 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 8px !important; background-color: transparent !important; }
  html body .oo-hamburger:not([aria-expanded="true"]) { background: linear-gradient(#fff, #fff) center 14px / 22px 2px no-repeat, linear-gradient(#fff, #fff) center 21px / 22px 2px no-repeat, linear-gradient(#fff, #fff) center 28px / 22px 2px no-repeat !important; }
  html body .oo-motto { font-size: 16px !important; letter-spacing: 1.6px !important; line-height: 20px !important; max-width: 339px !important; margin-top: 0 !important; }
  html body .oo-section-title { font-size: 18px !important; letter-spacing: .99px !important; }
}
@media (max-width: 640px) {
  html body img.oo-logo { filter: none !important; width: 177px !important; height: 59px !important; }
}
@media (max-width: 640px) {
  html body img.oo-logo { margin-left: -2px !important; }
  html body .oo-motto { margin-top: 4px !important; }
  html body .oo-home-sec > .oo-section-title:first-child, html body .oo-sec-latest > .oo-section-title { margin-top: 23px !important; }
}
@media (hover: none) { .oo-leave-hint { display: none; } }

/* Footer directory uses the same pill skin as the menu. */
@media (max-width:1023px) {
  html body footer.oof .oo-dir { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a1 a2" "a3 a3" "brand brand" "rev rev" "rule rule" "oodf oodf" "fol fol"; gap: 0 20px; margin: 0; }
  html body footer.oof .oo-dir-a1 { grid-area: a1; } html body footer.oof .oo-dir-a2 { grid-area: a2; } html body footer.oof .oo-dir-a3 { grid-area: a3; }
  html body footer.oof .oo-nm-bar .oof-legal { display: none; }
  html body footer.oof .oo-dir-g { text-align: center; }
  html body footer.oof .oo-dir .oo-dir-g h3 { display: flex; align-items: center; justify-content: center; min-height: 72px; margin: 0 0 11.2px; padding: 4px 4px; border: 0; background: none; color: #ffd98a; font: 700 26.68px/30.68px Georgia, "Times New Roman", serif; letter-spacing: 3.2px; text-transform: none; text-align: center; }
  html body footer.oof .oo-dir .oo-dir-g h3 a { color: inherit; text-decoration: none; padding: 0; background: none; border: 0; font: inherit; letter-spacing: inherit; }
  html body footer.oof .oo-dir .oo-dir-list { display: grid; gap: 5.2px; margin: 0; padding: 0; list-style: none; }
  html body footer.oof .oo-dir .oo-dir-list li { margin: 0; padding: 0; list-style: none; height: auto; }
  html body footer.oof .oo-dir .oo-dir-list a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54.4px; padding: 5.6px 17.6px 5.6px 9.6px; border: 1.2px solid rgba(255, 255, 255, .35); border-radius: 999px; background: #0b2a6b; color: #fff; font: 700 14.72px/16.2px "Montserrat", system-ui, sans-serif; letter-spacing: 0; text-align: center; text-decoration: none; box-sizing: border-box; overflow-wrap: anywhere; }
  html body footer.oof .oo-dir .oo-dir-list a::after { content: "\203A"; position: absolute; right: 6.4px; top: 50%; transform: translateY(-50%); font-size: 11.8px; line-height: 11.8px; font-weight: 700; }
  html body footer.oof .oo-dir-a3 .oo-dir-list a::after { content: none; }
  html body footer.oof .oo-dir-a3 .oo-dir-list a { min-height: 49.6px; padding: 0 17.6px; font-size: 15.2px; gap: 8px; }
  html body footer.oof .oo-dir-a3 { margin-top: 8px; }
  html body footer.oof .oo-dir-a3 h3 { min-height: 0; font: 700 26.68px/34.7px Georgia, "Times New Roman", serif; letter-spacing: 3.2px; margin: 0 0 6px; }
  html body footer.oof .oo-dir-addr { margin: 0 0 9.6px; padding: 12.8px 16px; border-radius: 19.2px; font: 600 22px/29.7px "Montserrat", system-ui, sans-serif; color: #fff; text-align: center; }
  html[data-oo-theme~="light"] body footer.oof .oo-dir .oo-dir-g h3 { color: #b98a2e; }
  html[data-oo-theme~="light"] body footer.oof .oo-dir .oo-dir-list a { background: rgba(255, 255, 255, .97); color: #0b2a6b; border-color: #0b2a6b; }
  html[data-oo-theme~="light"] body footer.oof .oo-dir-addr { color: #0b2a6b; }
  html body footer.oof .oo-dir .oo-dir-list a { padding: 5.6px 13px 5.6px 6px; font-size: 13.4px; overflow-wrap: normal; word-break: normal; }
}

/* Footer: logo in hero, left-aligned link pills (as on the website footer). */
@media (max-width:1023px) {
  html body footer.oof .oof-eyebrow { margin: 0 0 6px; padding: 0; }
  html body footer.oof .oof-eyebrow img { display: block; width: 177px; height: 59px; margin-left: -13px; }
  html body footer.oof .oof-eyebrow::before, html body footer.oof .oof-eyebrow::after { content: none !important; }
  html[data-oo-theme~="light"] body footer.oof .oof-eyebrow img { filter: brightness(0); }
  html body footer.oof .oo-dir .oo-dir-list a { justify-content: flex-start; text-align: left; padding-left: 16px; }
}

/* Article page sized like the website at phone width (dark mode; light keeps its own panel). */
@media (max-width: 640px) {
  html body .post-detail .post-title { font-family: "Playfair Display", Georgia, serif !important; font-size: 22.87px !important; font-weight: 800 !important; letter-spacing: -.34px !important; line-height: 23.3px !important; color: #f7f3ea; text-wrap: balance; }
  html body .post-detail .post-meta { font-size: 13px !important; font-weight: 600 !important; letter-spacing: 1.3px !important; color: #f7f3ea !important; text-align: center; }
  html[data-oo-theme~="dark"] body .post-detail .post-content { background: transparent !important; padding: 16px 6px !important; box-shadow: none !important; border: 0 !important; }
  html[data-oo-theme~="dark"] body .post-detail .post-content > p { font-size: calc(20px * var(--oo-read-scale, 1)); line-height: calc(37px * var(--oo-read-scale, 1)); }
}
@media (max-width: 640px) {
  html body .post-detail .post-meta { font-size: 12px !important; letter-spacing: 1px !important; }
}

/* The Light/Dark control now lives in the menu (as on the website); drop the duplicate round button. */
@media (max-width: 640px) {
  html body .oo-tools button[aria-label="Switch light or dark mode"], html body .post-detail-tts-row button[aria-label="Switch light or dark mode"] { display: none !important; }
}

/* Leave-app popup: both buttons fully rounded so the Continue button fits inside its animated ring. */
html body .oo-leave-btns button { border-radius: 999px; }
html body .oo-leave-btns .oo-leave-go { padding-inline: 24px; }

/* Donate page: the website's PayPal card and gold "Donate with PayPal" button, in the app. */
html body .ood-opts { display: grid; gap: 18px; margin: 18px 0; }
html body .ood-card { background: #fff; color: #0b1f52; border-radius: 22px; border-top: 6px solid #e9b94c; padding: 26px 22px 20px; box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .7); box-sizing: border-box; max-width: 100%; }
html[data-oo-theme~="dark"] body .ood-card { background: rgba(30, 82, 170, .92); color: #fff; border-top-color: #ffe5a2; }
html body .ood-card h2 { margin: 0 0 16px; font: 400 30px/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.03em; color: inherit; text-wrap: balance; }
html body .ood-card h2 em { display: block; color: #a8741a; }
html[data-oo-theme~="dark"] body .ood-card h2 em { color: #ffe5a2; }
html body .ood-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: inherit; }
html body .ood-card .ood-fine { margin: 0 !important; font-size: 14.5px !important; opacity: .9; }
html body .ood-card .ood-fine + .ood-fine { margin-top: 8px !important; }
html body .ood-form { position: relative; margin: 0 0 14px; }
html body .ood-form > img { position: absolute !important; width: 1px !important; height: 1px !important; }
html body button.ood-btn { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 64px; padding: 8px 11px 8px 24px; border: 0; border-radius: 999px; background: linear-gradient(#ffe9ac, #e9b94c); color: #0b1f52; -webkit-text-fill-color: #0b1f52; font: 800 19px/1.15 Arial, Helvetica, sans-serif; text-align: left; cursor: pointer; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .65); box-sizing: border-box; }
html body button.ood-btn .ood-bt { flex: 0 0 auto; white-space: nowrap; }
html body button.ood-btn img.ood-pp, html body button.ood-btn img.ood-pp.about-image-full { flex: 0 0 auto; display: block; width: 100px !important; max-width: 100px !important; height: auto !important; margin: 0 auto 0 -4px !important; }
html body button.ood-btn i { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #143571; color: #fff; -webkit-text-fill-color: #fff; font: 700 20px/1 Arial, sans-serif; font-style: normal; }
html body .ood-legacy { display: grid; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
html body .ood-fig { margin: 0 auto; width: 100%; max-width: min(100%, 720px); }
html body .ood-fig img, html body .ood-fig img.about-image-full { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
html body .ood-opts { grid-template-columns: minmax(0, 1fr); }
html body .ood-card, html body .ood-legacy, html body .ood-fig { min-width: 0; max-width: 100%; }
html body button.ood-btn { max-width: 100%; padding-left: 18px; gap: 8px; font-size: 17px; }
html body button.ood-btn { font-size: 15px; padding: 8px 9px 8px 16px; gap: 6px; }
html body button.ood-btn img.ood-pp, html body button.ood-btn img.ood-pp.about-image-full { width: 80px !important; max-width: 80px !important; margin: 0 auto 0 0 !important; }
html body button.ood-btn i { width: 38px; height: 38px; font-size: 18px; }

/* Diamond arrows (as on the website) instead of the app's old thin chevrons: home carousels + article prev/next. */
@media (max-width: 640px) {
  html body .oo-side, html body .oo-pn-a { font-size: 0 !important; color: #fff !important; position: absolute; }
  html body .oo-side svg, html body .oo-pn-a svg { display: none !important; }
  html body .oo-side::before, html body .oo-pn-a::before { content: ""; position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; box-sizing: border-box; background: rgba(255, 255, 255, .55); border-top: 3.5px solid #fff; border-right: 3.5px solid #fff; filter: drop-shadow(0 1px 3px rgba(8, 26, 76, .75)); }
  html body .oo-side-next::before, html body .oo-pn-a-next::before { right: 6px; transform: rotate(45deg); }
  html body .oo-side-prev::before, html body .oo-pn-a-prev::before { left: 6px; transform: rotate(-135deg); }
  html body .oo-side.is-dim, html body .oo-pn-a.is-dim { opacity: .28; }
}
@media (max-width: 640px) {
  html body .oo-side::before, html body .oo-pn-a::before { width: 16px; height: 16px; margin-top: -8px; border-width: 3px 3px 0 0; }
  html body .oo-side-next::before, html body .oo-pn-a-next::before { right: 8px; }
  html body .oo-side-prev::before, html body .oo-pn-a-prev::before { left: 8px; }
}

/* Read-aloud highlight: blues and whites by mode (not gold). */
html body .oo-tts-active-block{background:rgba(255,255,255,.14)!important;border-left:4px solid #fff!important;border-radius:4px}
html[data-oo-theme~="light"] body .oo-tts-active-block{background:rgba(31,79,176,.12)!important;border-left-color:#1f4fb0!important}
::highlight(oo-read){background-color:rgba(255,255,255,.92);color:#0b2a6b}
html[data-oo-theme~="light"] ::highlight(oo-read){background-color:#1f4fb0;color:#fff}

/* iPhone/iPad: easier taps — no double-tap delay, 44px targets, clickable non-buttons */
html body button, html body a, html body [role="button"], html body summary, html body label, html body .oo-side, html body .oo-pn-a, html body [data-oo]{
  touch-action:manipulation; -webkit-tap-highlight-color:rgba(255,255,255,.18); cursor:pointer;
}
@media (max-width:1023px){
  html body dialog.oo-nm button, html body dialog.oo-nm a, html body footer.oof a, html body .oo-leave-btns button, html body .ood-btn, html body .ooh-tab, html body .ooh-d{ min-height:44px; }
  html body dialog.oo-nm .oo-vp-row button{ min-height:48px; }
  html body .oo-side, html body .oo-pn-a{ min-width:44px; min-height:44px; }
}

/* Advertise With Us: the website's gold-edged pill (no dashes) */
@media (max-width:640px){
  html body .oo-advertise{
    background:linear-gradient(rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 60%),rgba(8,36,100,.5)!important;
    color:#ffe5a2!important; border:1.2px solid #ffd98a!important; border-radius:999px!important;
    font:700 13px/1 Montserrat,system-ui,sans-serif!important; letter-spacing:.16em!important; text-transform:uppercase;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important; min-height:46px; text-decoration:none!important;
  }
  html body .oo-advertise::before, html body .oo-advertise::after{ content:none!important; }
}

/* About: full-width like the website on phones (no inset panel, flat navy hero, cream text) */
@media (max-width:640px){
  html body #app .about-view.is-ooan{ margin-left:-14px!important; margin-right:-14px!important; width:calc(100% + 28px)!important; max-width:none!important; }
  html[data-oo-theme="dark"] body #app .about-view.is-ooan .ooan-hero{ background:#0f2a63!important; border-top:0!important; border-radius:0!important; }
  html[data-oo-theme="dark"] body #app .about-view.is-ooan .ooan{ color:#f7f3ea!important; }
  html[data-oo-theme="dark"] body #app .about-view.is-ooan .ooan-id1,
  html[data-oo-theme="dark"] body #app .about-view.is-ooan .ooan-id2{ color:#f7f3ea!important; }
}

/* Article page, like the website on phones: full-width title band, centered share, floating listen button; no back arrow or -/+ (text size lives in the menu) */
@media (max-width:640px){
  html body #app .post-detail-tts-row{ justify-content:center!important; }
  html body #app .post-detail-tts-row [data-act="back"],
  html body #app .post-detail-tts-row [data-act="theme"],
  html body #app .post-detail-tts-row .oo-act-group,
  html body #app .back-btn{ display:none!important; }
  html body #app .post-detail-tts-row [data-act="share"] .lbl{ display:none!important; }
  html body #app .post-detail-tts-row .tts-button{
    position:fixed!important; right:14px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:70;
    width:52px!important; height:52px!important; padding:0!important; border-radius:50%!important;
    background:#0e2d6e!important; border:2px solid #e9b94c!important; box-shadow:0 8px 20px rgba(0,0,0,.45)!important;
    display:flex!important; align-items:center; justify-content:center;
  }
  html body #app .post-detail-tts-row .tts-button::after{ display:none!important; }
  html body #app .oo-post-head{
    margin-left:-14px!important; margin-right:-14px!important; width:calc(100% + 28px)!important;
    border-radius:0!important; border:0!important; border-top:2px solid #e9b94c!important;
    background:rgba(9,32,86,.72)!important; box-shadow:none!important;
  }
}
/* the page fade-in leaves a transform that would pin the floating listen button to the page, not the screen */
@media (max-width:640px){ html body #app > .post-detail{ animation:none!important; transform:none!important; } }

/* Index page, like the website on phones: big title above a navy panel with a gold top edge */
@media (max-width:640px){
  html body #app .oo-ix-wrap{ margin:0 6px; }
  html body #app .oo-ix-title{ margin:44px 0 12px!important; padding:0 13px; font:900 64px/0.9 "Playfair Display",Georgia,serif!important; letter-spacing:-2.24px!important; color:#f7f3ea!important; }
  html body #app .oo-ix-title em{ font-style:italic; font-weight:800; }
  html body #app .oo-ix{ margin:0!important; padding:22px 18px 26px!important; border-radius:0 36px 0 0!important; border-top:3.6px solid #e9b94c!important; }
  html[data-oo-theme="dark"] body #app .oo-ix{ background:rgba(9,42,112,.68)!important; -webkit-backdrop-filter:none!important; backdrop-filter:none!important; }
  html body #app .oo-ix .oo-tools{ display:none!important; }
  html body #app .oo-ix-sub{ font:italic 400 21px/1.3 "Source Serif 4",Georgia,serif!important; margin:0 0 22px!important; }
  html body #app .oo-ix-label{ font:700 12px/1.2 "Open Sans",Arial,sans-serif!important; letter-spacing:.24em!important; margin:0 0 10px!important; }
  html body #app .oo-ix-q{ height:64px!important; padding:0 52px 0 26px!important; border:2px solid #e9b94c!important; border-radius:999px!important; font:400 17px "Open Sans",Arial,sans-serif!important; }
  html body #app .oo-ix-az{ margin:16px 0 14px!important; }
  html body #app .oo-ix-l{ font:700 17px "Open Sans",Arial,sans-serif!important; border-radius:999px!important; }
  html body #app .oo-ix-l.is-on{ background:#e9b94c!important; color:#143571!important; }
  html body #app .oo-ix-row{ font:500 14px/1.3 "Source Serif 4",Georgia,serif!important; padding:10px 2px!important; }
  html body #app .oo-ix-more{ background:transparent!important; color:#ffe5a2!important; border:1.2px solid #ffe5a2!important; border-radius:999px!important; font:600 20px "Source Serif 4",Georgia,serif!important; padding:12px 34px!important; }
}
/* The website's phone pages have no back-arrow row (the phone's own back button and the menu do that job) */
@media (max-width:640px){ html body #app .oo-tools-top{ display:none!important; } }

/* Login, like the website's sign-in page on phones */
@media (max-width:640px){
  html body #app .login-view{ margin:0 1px; }
  html body #app .login-title{ margin:26px 0 20px!important; padding:0 6px; border:0!important; font:800 34px/1.12 "Playfair Display",Georgia,serif!important; color:#f7f3ea!important; letter-spacing:-.01em; }
  html body #app .login-title em{ font-style:italic; color:#ffe5a2; font-weight:700; }
  html body #app .login-form{ gap:16px!important; padding:26px 28px 28px!important; border-radius:16px!important; border:0!important;
    background:rgba(255,255,255,.74)!important; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
    box-shadow:0 24px 60px rgba(11,42,107,.18),0 4px 14px rgba(11,42,107,.16)!important; }
  html body #app .login-label-text{ font:700 16px/1.2 Arial,Helvetica,sans-serif!important; letter-spacing:0!important; text-transform:none!important; color:#143571!important; }
  html body #app .login-input{ height:52px!important; padding:0 14px!important; background:#fff!important; color:#143571!important; border:1px solid rgba(20,53,113,.45)!important; border-radius:4px!important; font:17px Arial,Helvetica,sans-serif!important; }
  html body #app .login-submit{ align-self:end; justify-self:end; width:auto!important; min-height:44px; padding:10px 24px!important; border:0!important; border-radius:0!important; background:linear-gradient(#ffe9ac,#e9b94c)!important; color:#0b1f52!important; font:700 16px Arial,Helvetica,sans-serif!important; text-transform:none!important; letter-spacing:0!important; box-shadow:none!important; }
  html body #app .login-links{ display:grid; gap:12px; justify-items:center; margin:22px 0 0; }
  html body #app .login-links a{ color:#fff!important; font:700 15px/1.5 Arial,Helvetica,sans-serif; text-decoration:underline; text-underline-offset:3px; }
}

/* Donate page: the website's big hero (eyebrow, outsized headline, lede) and card sizes, in the app. */
@media (max-width: 760px) {
  html body #app .about-view:has(.ood) { margin-left: -14px !important; margin-right: -14px !important; width: calc(100% + 28px) !important; max-width: none !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  html body #app .about-view:has(.ood) > .toc-title { display: none !important; }
  html body #app .about-view:has(.ood) .about-html { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
  html body #app .ood { display: block; width: 100%; position: relative; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; color: #fff; }
  html body #app .ood-wrap { max-width: none !important; margin: 0 !important; padding: 26px 16px 40px !important; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; font-family: Arial, Helvetica, sans-serif !important; font-size: 16px !important; line-height: 1.55 !important; color: #fff; }
  html body #app .ood-copy { position: relative; margin: 0 !important; }
  html body #app .ood-copy::before { content: ""; position: absolute; z-index: -1; left: -16px; top: -50px; width: calc(100% + 32px); height: calc(100% + 100px); background: radial-gradient(50% 50% at 46% 50%, rgba(4,26,62,.46) 0, rgba(4,26,62,.34) 62%, rgba(4,26,62,0) 100%); pointer-events: none; }
  html body #app .ood-eyebrow { display: flex !important; align-items: center; gap: 14px; margin: 0 0 14px !important; font: 700 12px/1.3 Arial, Helvetica, sans-serif !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: #ffe5a2 !important; text-shadow: 0 1px 12px rgba(5,25,70,.6); }
  html body #app .ood-eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; }
  html body #app .ood h1.ood-h1 { margin: 0 !important; color: #fff !important; text-shadow: 0 3px 34px rgba(3,20,55,.55); font: inherit !important; }
  html body #app .ood-l1 { display: block !important; font: 800 46px/.94 "Segoe UI Variable Display","Segoe UI Variable","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif !important; letter-spacing: -.05em !important; color: #fff !important; width: auto !important; height: auto !important; }
  html body #app .ood-l2 { display: block !important; margin-top: 2px !important; font: italic 400 56px/.98 Georgia, "Times New Roman", serif !important; letter-spacing: -.04em !important; color: #ffe3a3 !important; width: auto !important; height: auto !important; }
  html body #app .ood-lede { margin: 20px 0 0 !important; max-width: 36ch; font: 400 19px/1.45 Georgia, "Times New Roman", serif !important; color: #fff !important; text-shadow: 0 1px 16px rgba(3,20,55,.75); }
  html body #app .ood-lede em { color: #ffe3a3 !important; }
  html body #app .ood-opts { display: contents !important; }
  html body #app .ood-card { padding: 22px 20px 20px !important; border-radius: 18px !important; }
  html body #app .ood-card h2 { font: 400 30px/1.04 Georgia, "Times New Roman", serif !important; letter-spacing: -.03em !important; margin: 0 0 18px !important; color: #fff !important; }
  html body #app .ood-card p { color: #fff !important; font-size: 16px !important; line-height: 1.5 !important; }
  html body #app .ood-card .ood-fine { font-size: 14.5px !important; color: #e3edff !important; }
  html body #app button.ood-btn { min-height: 60px !important; justify-content: center !important; gap: 10px !important; padding: 8px 14px !important; font-size: 18px !important; }
  html body #app button.ood-btn i { display: none !important; }
  html body #app button.ood-btn img.ood-pp, html body #app button.ood-btn img.ood-pp.about-image-full { width: 92px !important; max-width: 92px !important; margin: 0 !important; }
  html[data-oo-theme~="light"] body #app .ood-card { background: rgba(247,243,234,.94) !important; border-top-color: #e9b94c !important; }
  html[data-oo-theme~="light"] body #app .ood-card h2, html[data-oo-theme~="light"] body #app .ood-card p { color: #143571 !important; }
  html[data-oo-theme~="light"] body #app .ood-card .ood-fine { color: #4a6290 !important; }
  html[data-oo-theme~="light"] body #app .ood-card h2 em { color: #8a6212 !important; }
}
/* Header: logo, motto and menu button placed exactly like the website's phone header. */
@media (max-width: 640px) {
  html body img.oo-logo { margin-top: -2px !important; }
  html body .oo-motto { margin-top: 13px !important; color: rgba(255,255,255,.96) !important; text-shadow: 0 2px 10px rgba(0,0,0,.22), 0 1px 2px rgba(2,10,30,.35); }
  html body .oo-hamburger { width: 40px !important; height: 38px !important; position: relative !important; left: 6px; top: -4px; margin: 0 !important; }
  html body .oo-hamburger:not([aria-expanded="true"]) { background: linear-gradient(#fff, #fff) center 11px / 22px 2px no-repeat, linear-gradient(#fff, #fff) center 18px / 22px 2px no-repeat, linear-gradient(#fff, #fff) center 25px / 22px 2px no-repeat !important; }
}

/* Text inside buttons is always centered (desktop, tablet, phone, app). */
html body button:not(.oo-hamburger):not(.oo-tool):not([role="tab"]):not([role="menuitem"]),
html body input[type="submit"], html body input[type="button"], html body [role="button"], html body a[class*="btn"], html body a[class*="button"], html body .btnPrimary, html body .btnSecondary, html body .ooc-rsvp {
  text-align: center !important;
}
html body button:not(.oo-hamburger):not(.oo-tool):not([role="tab"]):not([role="menuitem"]):not(.ood-btn):not(:has(> svg, > img, > i)) { justify-content: center; }

/* Home cards on phones: sized like the website (rounder cards, inset columnists, 2-line titles). */
@media (max-width: 640px) {
  html body #app .oo-home-sec > .oo-section-title { margin-left: 4px !important; }
  html body #app .oo-sec-latest .post-card, html body #app .oo-sec-columnists .post-card { border-radius: 10px !important; }
  html body #app .oo-sec-columnists .oo-item .post-card { height: 158px !important; background: rgba(9,42,112,.68) !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card { background: #fff !important; }
  html body #app .oo-sec-columnists .oo-item .post-card-image-wrapper { height: 85px !important; }
  html body #app .oo-sec-columnists .oo-item .post-card-title { font-size: 13px !important; line-height: 16px !important; -webkit-line-clamp: 2 !important; line-clamp: 2 !important; min-height: 32px !important; }
  html body #app .oo-sec-columnists .oo-item .post-card-content { padding: 2px 9px 8px !important; gap: 3px !important; }
  html body #app .oo-sec-columnists .oo-item .post-card-meta { font-size: 10px !important; min-height: 26px !important; }
}
/* Menu Light / Dark button: always the opposite colours of its neighbouring buttons (as on the site) */
html[data-oo-theme~="light"] body dialog.oo-nm button.oo-theme-pill { background:#0b2a6b !important; color:#fff !important; border-color:#0b2a6b !important; }
html[data-oo-theme~="dark"] body dialog.oo-nm button.oo-theme-pill { background:#fff !important; color:#0b2a6b !important; border-color:#fff !important; }
html:not([data-oo-theme~="light"]) body dialog.oo-nm button.oo-theme-pill { background:#fff !important; color:#0b2a6b !important; border-color:#fff !important; }
html body dialog.oo-nm button.oo-theme-pill * { color:inherit !important; }
/* Motto: the website shows it at an effective 12px (16px at zoom .75), in two fixed lines on phones. */
@media (max-width: 640px) {
  html body .oo-motto { font-size: 12px !important; letter-spacing: 1.2px !important; line-height: 20px !important; }
  html body .oo-motto .oo-m1, html body .oo-motto .oo-m2 { display: block; }
}
/* Carousel arrows exactly like the website: a 16x48 translucent pointed triangle, dimmed to 35% when there is nowhere to go. */
@media (max-width: 1023px) {
  html body .oo-side::before, html body .oo-pn-a::before { position: absolute !important; content: "" !important; left: 50% !important; top: 50% !important; right: auto !important; width: 16px !important; height: 48px !important; margin: -24px 0 0 -8px !important; border: 0 !important; box-shadow: none !important; filter: none !important; background: rgba(255,255,255,.55) !important; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'22'%20height%3D'68'%20viewBox%3D'0%200%2022%2068'%3E%3Cpath%20d%3D'M2%202l17%2032L2%2066z'%2F%3E%3C%2Fsvg%3E") center / 16px 48px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'22'%20height%3D'68'%20viewBox%3D'0%200%2022%2068'%3E%3Cpath%20d%3D'M2%202l17%2032L2%2066z'%2F%3E%3C%2Fsvg%3E") center / 16px 48px no-repeat !important; }
  html body .oo-side-next::before, html body .oo-pn-a-next::before { transform: none !important; }
  html body .oo-side-prev::before, html body .oo-pn-a-prev::before { transform: scaleX(-1) !important; }
  html[data-oo-theme~="light"] body .oo-side::before, html[data-oo-theme~="light"] body .oo-pn-a::before { background: rgba(110,160,235,.85) !important; }
  html body .oo-side.is-dim, html body .oo-pn-a.is-dim { opacity: .35 !important; }
}

/* Dome interior (menu + footer): let its colors show through more; buttons stay solid so menu items stay readable. */
html[data-oo-theme~="dark"] body dialog.oo-nm .oo-nm-scroll { background: rgba(8,32,92,.30) !important; }
html[data-oo-theme~="dark"] body dialog.oo-nm .oo-nm-top { background: rgba(8,32,92,.22) !important; }
html[data-oo-theme~="dark"] body dialog.oo-nm::before { opacity: .45 !important; }
html body dialog.oo-nm .oo-nm-bg { filter: saturate(1.35) brightness(1) !important; }
html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-scroll { background: rgba(255,255,255,.10) !important; }
html[data-oo-theme~="light"] body dialog.oo-nm .oo-nm-top { background: rgba(255,255,255,.08) !important; }
html[data-oo-theme~="dark"] body .oof-bar { background: rgba(9,42,112,.50) !important; }
html[data-oo-theme~="dark"] body .oof::before { opacity: .6 !important; }
html[data-oo-theme~="light"] body .oof-bar { background: rgba(255,255,255,.70) !important; }
html[data-oo-theme~="light"] body .oof::before { opacity: .7 !important; }
html body .oof-bg { filter: saturate(1.3) !important; }
/* Light mode: clearer navy outlines on menu and footer buttons. */
html[data-oo-theme~="light"] body dialog.oo-nm :is(button, a.oo-nm-util, .oo-nm-bar a, .oo-nm-search button, .oo-nm-search input) { border-width: 2px !important; border-color: #0b2a6b !important; }
html[data-oo-theme~="light"] body footer.oof .oof-btn--s { border: 2px solid #0b2a6b !important; }

/* App footer: review pills, Foundation logo and social icons shown (as on the website footer), with breathing room. */
@media (max-width:1023px) {
  html body footer.oof .oo-dir-rev { margin-top: 16px; }
  html body footer.oof .oo-dir-rule { margin-top: 18px; }
  html body footer.oof .oo-dir-oodf { margin-top: 12px; }
  html body footer.oof .oo-dir-fol { margin-top: 18px; }
}

/* ObserverCast card as on the website phone: 303x250 artwork, title + date anchored to the bottom, one-line title. */
@media (max-width: 640px) {
  html body .oo-sec-observercast .oo-lead .post-card { min-height: 250px !important; height: 250px !important; position: relative; overflow: hidden; border-radius: 6px; }
  html body .oo-sec-observercast .oo-lead .post-card-content { position: absolute !important; left: 14px !important; right: 14px !important; bottom: 14px !important; top: auto !important; min-height: 0 !important; height: auto !important; padding: 0 !important; background: none !important; }
  html body .oo-sec-observercast .oo-lead .post-card-title { font: 900 20px/22.4px Georgia, "Times New Roman", serif !important; margin: 0 0 7px !important; }
  html body .oo-sec-observercast .oo-lead .post-card-excerpt { display: none !important; }
  html body .oo-sec-observercast .oo-lead .post-card-meta .oo-m-date { font: 800 12px/1.3 "Open Sans", Verdana, sans-serif; letter-spacing: .96px; }
}

/* Home section headers placed exactly as on the website phone (left edge, letter-spacing, gap to the content). */
@media (max-width: 640px) {
  html body .oo-home-sec .oo-section-title { letter-spacing: 1.4px !important; }
  html body #app .oo-sec-magazine > .oo-section-title, html body #app .oo-sec-observercast > .oo-section-title, html body #app .oo-sec-newsmakers > .oo-section-title { margin-left: 6px !important; }
  html body #app .oo-sec-cartoon > .oo-section-title { margin-left: -4.4px !important; letter-spacing: 1.35px !important; }
  html body #app .oo-sec-sponsors > .oo-section-title { margin-left: -5.2px !important; letter-spacing: 1.76px !important; }
  html body #app .oo-sec-shop > .oo-section-title { margin-left: -4.4px !important; letter-spacing: 1.76px !important; }
  html body #app .oo-sec-magazine > .oo-section-title { margin-bottom: 20px !important; }
  html body #app .oo-sec-observercast > .oo-section-title, html body #app .oo-sec-newsmakers > .oo-section-title, html body #app .oo-sec-cartoon > .oo-section-title { margin-bottom: 20px !important; }
}

/* National Columnists cards: the website phone's panel colours. */
@media (max-width: 640px) {
  html[data-oo-theme~="dark"] body #app .oo-sec-columnists .oo-item .post-card { background: linear-gradient(160deg, #2f64b8 0%, #2656a8 100%) !important; border: .8px solid rgba(240,208,128,.5) !important; box-shadow: 0 18px 40px rgba(2,10,34,.5), inset 0 1px 0 rgba(255,244,214,.16) !important; }
  html[data-oo-theme~="dark"] body #app .oo-sec-columnists .oo-item .post-card-meta, html[data-oo-theme~="dark"] body #app .oo-sec-columnists .oo-item .post-card-meta .oo-m-by { color: rgba(255,255,255,.85) !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card { background: #e4eefb !important; border: .8px solid rgba(184,134,42,.4) !important; box-shadow: 0 16px 36px rgba(11,42,107,.22), inset 0 1px 0 #fff !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card-title, html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card-title a { color: #4b6593 !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card-meta .oo-m-by { color: #7a4f04 !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card-meta, html[data-oo-theme~="light"] body #app .oo-sec-columnists .oo-item .post-card-meta .oo-m-date { color: #3b4a66 !important; }
}

/* Text inside round / oval buttons is always centred (footer link pills included). */
html body footer.oof .oo-dir .oo-dir-list a { justify-content: center !important; text-align: center !important; padding-left: 17.6px !important; padding-right: 17.6px !important; }
html body footer.oof .oo-dir .oo-dir-list a::after { right: 8px; }
html body dialog.oo-nm .oo-dir .oo-dir-list a { padding-left: 10px !important; padding-right: 10px !important; justify-content: center !important; text-align: center !important; }
html body dialog.oo-nm .oo-dir .oo-dir-list a::after { right: 3px !important; }

/* iPhone/Android taps: keep every control at least 44px to hit, without changing how it looks. */
@media (max-width: 640px) {
  html body .oo-hamburger::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: -8px; right: -8px; }
  html body .oo-section-link { padding-top: 13px !important; padding-bottom: 13px !important; margin-top: -13px !important; margin-bottom: -13px !important; }
}
html body [data-act], html body .oo-act, html body .oo-section-link, html body .post-card, html body .oo-slide { touch-action: manipulation; cursor: pointer; }

/* Short pills (Newsmakers, Columnists, ObserverCast...) must stay on one line on iPhone: slimmer type + padding, never wrap */
@media (max-width:1023px){
  html body footer.oof .oo-dir .oo-dir-list a,
  html body dialog.oo-nm .oo-dir .oo-dir-list a { white-space:nowrap !important; font-size:12px !important; letter-spacing:0 !important; padding-left:8px !important; padding-right:8px !important; }
  html body footer.oof .oo-dir .oo-dir-list a::after,
  html body dialog.oo-nm .oo-dir .oo-dir-list a::after { right:3px !important; }
}

/* Footer gold divider lines, as on the mobile site: 2px gold gradient above Contact, Reviews, Support, Follow and the app block (and below the app block) */
@media (max-width:1023px){
  html body footer.oof .oo-dir-contact::before,
  html body footer.oof .oo-dir-rev::before,
  html body footer.oof .oo-dir-fol::before,
  html body footer.oof .oo-app::before,
  html body footer.oof .oo-app::after { content:"" !important; display:block !important; flex:0 0 auto !important; width:100% !important; height:2px !important; background:linear-gradient(90deg,rgba(0,0,0,0),#ffd98a 10%,#ffd98a 90%,rgba(0,0,0,0)) !important; }
  html body footer.oof .oo-dir-contact::before,
  html body footer.oof .oo-dir-rev::before,
  html body footer.oof .oo-dir-fol::before { margin:0 0 17.6px !important; }
  html body footer.oof .oo-dir-sup > .oo-dir-rule { background:linear-gradient(90deg,rgba(0,0,0,0),#ffd98a 10%,#ffd98a 90%,rgba(0,0,0,0)) top/100% 2px no-repeat !important; padding-top:19.6px !important; }
}

/* Light mode: "Join the mailing list" matches the Subscribe pill (navy text + outline, no white text) */
html[data-oo-theme~="light"] body footer.oof a.oof-btn--p { color:#0b2a6b !important; -webkit-text-fill-color:#0b2a6b !important; background:linear-gradient(#ffffff 0%,#e1ecff 100%) !important; border:2px solid #0b2a6b !important; box-shadow:0 8px 18px rgba(11,42,107,.18) !important; text-shadow:none !important; }
html[data-oo-theme~="light"] body footer.oof a.oof-btn--p i { background:#0b2a6b !important; color:#fff !important; }

/* Wider invisible touch area around the hamburger menu button */
@media (max-width:1023px){
  html body .oo-hamburger::after { content:"" !important; position:absolute !important; top:-8px !important; bottom:-12px !important; left:-18px !important; right:-14px !important; }
}

/* Latest News cards in light mode: the website phone's solid blue panels (#7eaae8) with navy titles, brown bylines and slate dates */
@media (max-width:640px){
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card { background:#7eaae8 !important; border-radius:10px !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-content { background:#7eaae8 !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-image-wrapper::after { background:linear-gradient(to bottom,rgba(126,170,232,0) 55%,#7eaae8 100%) !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-title,
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-title a { color:#0b2a6b !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-meta .oo-m-by { color:#7a4f04 !important; }
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-meta,
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-meta .oo-m-sep,
  html[data-oo-theme~="light"] body #app .oo-sec-latest .post-card-meta .oo-m-date { color:#3b4a66 !important; }
}

/* App desktop, light mode: carousel arrows are the same faded translucent blue triangles as on phones and tablets */
@media (min-width: 1024px) {
  html[data-oo-theme~="light"] body .oo-side::before, html[data-oo-theme~="light"] body .oo-pn-a::before { position: absolute !important; content: "" !important; left: 50% !important; top: 50% !important; right: auto !important; width: 16px !important; height: 48px !important; margin: -24px 0 0 -8px !important; border: 0 !important; box-shadow: none !important; filter: none !important; background: rgba(255,255,255,.55) !important; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'22'%20height%3D'68'%20viewBox%3D'0%200%2022%2068'%3E%3Cpath%20d%3D'M2%202l17%2032L2%2066z'%2F%3E%3C%2Fsvg%3E") center / 16px 48px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'22'%20height%3D'68'%20viewBox%3D'0%200%2022%2068'%3E%3Cpath%20d%3D'M2%202l17%2032L2%2066z'%2F%3E%3C%2Fsvg%3E") center / 16px 48px no-repeat !important; }
  html[data-oo-theme~="light"] body .oo-side-next::before, html[data-oo-theme~="light"] body .oo-pn-a-next::before { transform: none !important; }
  html[data-oo-theme~="light"] body .oo-side-prev::before, html[data-oo-theme~="light"] body .oo-pn-a-prev::before { transform: scaleX(-1) !important; }
  html[data-oo-theme~="light"] body .oo-side::before, html[data-oo-theme~="light"] body .oo-pn-a::before { background: rgba(110,160,235,.85) !important; }
  html[data-oo-theme~="light"] body .oo-side.is-dim, html[data-oo-theme~="light"] body .oo-pn-a.is-dim { opacity: .35 !important; }
}

/* Home page, single-column layouts (phones and tablets): every section header sits 20px above its content,
   and every section ends 47px (24px margin + the title's own 23px of room) above the next section's header. */
@media (max-width:1023px){
  html body #app .oo-home > [class*="oo-sec-"] > .oo-section-title { margin-bottom:20px !important; }
  html body #app .oo-home > [class*="oo-sec-"]:not(:last-child) { margin-bottom:24px !important; }
}

/* Light mode swipe arrows: softer, faded blue (was a solid blue) */
html[data-oo-theme~="light"] body .oo-side::before, html[data-oo-theme~="light"] body .oo-pn-a::before { background: rgba(110,160,235,.45) !important; border-color: rgba(255,255,255,.85) !important; filter: none !important; }

/* Single post: prev/next arrows sit at the left and right edges (they were stacked on the left) and lose the old horizontal line */
html body .oo-pn-arrows > .oo-pn-a { position: relative !important; background: none !important; }

/* menu buttons (Home, Log Out, Search, text size, reading voice, Close) take the directory panel's blue in dark mode */
html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm :is(a.oo-nm-util, button.oo-nm-util, .oo-nm-search button, .oo-nm-close):not(.oo-theme-pill) { background: rgba(7, 22, 66, .78) !important; }

/* ===== Phone parity with the mobile website's menu: button colors, sizes and the contact block (values measured on test.okobserver.org) ===== */
@media (max-width: 767.98px) {
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-bar { padding: 10px 0 4px !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 24px !important; max-width: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-close { font-size: 15.6px !important; letter-spacing: .312px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-search input { height: 56px !important; box-sizing: border-box !important; padding: 0 19.2px !important; font-size: 17.6px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm a.oo-nm-util { font-size: 15.2px !important; letter-spacing: .304px !important; box-shadow: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-vp-btn { font-size: 15.2px !important; letter-spacing: normal !important; box-shadow: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-theme-pill { font-size: 13.26px !important; box-shadow: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-fs-btn { box-shadow: none !important; }

  /* blue (dark) mode */
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-search input { background: rgba(255, 255, 255, .95) !important; border: 1.2px solid rgba(255, 217, 138, .8) !important; box-shadow: 0 8px 20px rgba(4, 22, 64, .28) !important; font-weight: 400 !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-search button { color: #fff !important; background: rgba(7, 22, 66, .78) !important; background-image: none !important; border: 1.2px solid rgba(255, 255, 255, .35) !important; box-shadow: 0 8px 20px rgba(4, 22, 64, .28) !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body dialog.oo-nm a.oo-nm-util { border-color: rgba(255, 255, 255, .55) !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-fs-btn, html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-vp-btn { border-color: rgba(255, 255, 255, .35) !important; }

  /* light mode */
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-search input { background: rgba(255, 255, 255, .97) !important; border: 2px solid #0b2a6b !important; box-shadow: none !important; font-weight: 700 !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-search button { color: #0b2a6b !important; background: #fff !important; background-image: none !important; border: 2px solid #0b2a6b !important; box-shadow: none !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body dialog.oo-nm a.oo-nm-util { background: #fff !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-fs-btn, html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body dialog.oo-nm .oo-nm-util.oo-vp-btn { background: rgba(255, 255, 255, .97) !important; }

  /* Contact Us: large gold serif link with a soft glow, like the website */
  html:not(#z):not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { display: block !important; width: auto !important; height: auto !important; min-height: 0 !important; padding: 0 !important; font: 700 23.2px/1.3 Georgia, serif !important; letter-spacing: .12em !important; text-transform: none !important; }
  html[data-oo-fsz="1.15"]:not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { font-size: 26.68px !important; }
  html[data-oo-fsz="1.3"]:not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { font-size: 30.16px !important; }
  html[data-oo-fsz="1.5"]:not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { font-size: 34.8px !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { color: #ffd98a !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body .oo-dir-contact :is(h3, h3 a, .oo-dir-addr) { text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 8px rgba(0, 0, 0, .6) !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body .oo-dir-contact h3 a { color: #b98a2e !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body .oo-dir-contact :is(h3, h3 a, .oo-dir-addr) { text-shadow: 0 0 6px #fff, 0 0 12px #fff !important; }
}

@media (max-width: 767.98px) {
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-vp-row { width: 100% !important; max-width: none !important; margin: 0 !important; grid-template-columns: minmax(0, 1fr) 54px 54px !important; gap: 5.6px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body dialog.oo-nm .oo-vp-row .oo-nm-util svg { width: 27px !important; height: 27px !important; }
}

/* ===== Phone footer parity with the mobile website (values measured on test.okobserver.org) ===== */
@media (max-width: 767.98px) {
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rev-t { display: block !important; margin: 0 0 10.4px !important; font: italic 400 32px/1.2 Georgia, "Times New Roman", serif !important; letter-spacing: normal !important; text-transform: none !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rev-q { display: block !important; font: italic 400 32px/38.4px "Playfair Display", Georgia, serif !important; letter-spacing: 1.92px !important; text-transform: none !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rev-a { display: block !important; margin: 8px 0 12.8px !important; font: 700 12.48px/15.2px Montserrat, system-ui, sans-serif !important; letter-spacing: 1.4976px !important; text-transform: uppercase !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-pill { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100% !important; height: 48px !important; padding: 0 20.8px !important; border-radius: 999px !important; background: #fff !important; color: #0b2a6b !important; box-shadow: none !important; font: 700 16.8px Montserrat, system-ui, sans-serif !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-pill span { font: 700 16.8px Montserrat, system-ui, sans-serif !important; color: #0b2a6b !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-pill svg, html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-pill img { width: 22.4px !important; height: 22.4px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rule { margin: 14px 0 9.6px !important; font: italic 400 23.2px/29px "Playfair Display", Georgia, serif !important; letter-spacing: normal !important; text-transform: none !important; text-align: center !important; display: block !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rule::before, html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rule::after { display: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-oodf { width: 272px !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; padding: 9.6px !important; border: .8px solid rgba(255, 255, 255, .28) !important; border-radius: 16px !important; background: #fff !important; box-shadow: none !important; box-sizing: border-box !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-oodf img { width: 100% !important; height: auto !important; max-width: 251.2px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-fol-t { margin: 0 0 9.6px !important; font: italic 400 23.2px/29px "Playfair Display", Georgia, serif !important; letter-spacing: normal !important; text-transform: none !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-fol a { width: 36.8px !important; height: 36.8px !important; border: 1.2px solid rgba(255, 255, 255, .28) !important; border-radius: 50% !important; background: #fff !important; box-shadow: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-fol a svg, html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-fol a img { width: 23px !important; height: 23px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-app-t { margin: 0 0 6px !important; font: italic 400 27.2px/31.28px Georgia, "Times New Roman", serif !important; letter-spacing: normal !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-app-msg { margin: 0 0 10px !important; font: 400 17.6px/25.52px "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif !important; text-align: center !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oof-legal { display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 0 28px !important; padding: 6.4px 0 !important; border: 0 !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oof-legal a { text-decoration: underline !important; }

  /* blue (dark) mode colors and shadows */
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body footer.oof :is(.oo-dir-rev-t, .oo-dir-rev-q, .oo-dir-rule, .oo-dir-fol-t, .oo-app-t, .oo-app-msg, .oof-legal, .oof-legal a, .oof-rr) { color: #fff !important; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, .85) !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rev-a { color: #ffd98a !important; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, .85) !important; }
  html:not([data-oo-theme~="light"]):not(#z):not(#z):not(#z) body footer.oof .oo-dir-addr { text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 8px rgba(0, 0, 0, .6) !important; }

  /* light mode colors */
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body footer.oof :is(.oo-dir-rev-t, .oo-dir-rev-q, .oo-dir-rev-a, .oo-dir-rule, .oo-dir-fol-t, .oo-app-t, .oo-app-msg, .oof-legal, .oof-legal a, .oof-rr) { color: #0b2a6b !important; text-shadow: none !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body footer.oof .oo-dir-rev-a { text-shadow: 0 0 6px #fff, 0 0 12px #fff !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body footer.oof .oo-dir-addr { text-shadow: 0 0 6px #fff, 0 0 12px #fff !important; }
  html[data-oo-theme~="light"]:not(#z):not(#z):not(#z) body footer.oof :is(.oo-dir-pill, .oo-dir-oodf, .oo-dir-fol a) { border-color: #d3def0 !important; }
}

@media (max-width: 767.98px) {
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-icons { display: flex !important; flex-wrap: nowrap !important; justify-content: center !important; gap: 5.6px !important; grid-template-columns: none !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-fol a { min-width: 0 !important; min-height: 0 !important; flex: 0 0 36.8px !important; }
  html:not(#z):not(#z):not(#z):not(#z) body footer.oof .oo-dir-rule { padding: 0 !important; }
}

/* Listen button and playback bar: blues and whites by mode (not gold), matching the read-aloud highlight. */
@media (max-width:640px){
  html:not([data-oo-theme~="light"]) body #app .post-detail-tts-row .tts-button{ background:#fff!important; border:2px solid #1f4fb0!important; }
  html[data-oo-theme~="light"] body #app .post-detail-tts-row .tts-button{ background:#1f4fb0!important; border:2px solid #fff!important; }
  html[data-oo-theme~="light"] body #app .post-detail-tts-row .tts-button::before{ width:34px; height:34px; background-color:#fff; background-size:74%; border-radius:50%; }
}
html:not([data-oo-theme~="light"]) body #app .post-detail-tts-row .tts-button::after{ background:#fff!important; }
html[data-oo-theme~="light"] body #app .post-detail-tts-row .tts-button::after{ background:#1f4fb0!important; }
html:not([data-oo-theme~="light"]) body #app .oo-listen-box .oo-lb-pp{ background:#fff!important; color:#0b3d91!important; }
html[data-oo-theme~="light"] body #app .oo-listen-box .oo-lb-pp{ background:#1f4fb0!important; color:#fff!important; }

/* Listen button: back to the plain speaker icon (the megaphone art is gone). */
html body #app .post-detail-tts-row .tts-button{ font-size:26px!important; line-height:1!important; color:#000!important; }
html body #app .post-detail-tts-row .tts-button::before{ content:none!important; display:none!important; }
html[data-oo-theme~="light"] body #app .post-detail-tts-row .tts-button{ color:#fff!important; }

/* Speaker button: pulses while the story is being read aloud, so readers can see it is talking. */
@keyframes oo-speak-ring{ 0%{ box-shadow:0 0 0 0 rgba(255,255,255,.75), 0 8px 20px rgba(0,0,0,.45); } 70%{ box-shadow:0 0 0 16px rgba(255,255,255,0), 0 8px 20px rgba(0,0,0,.45); } 100%{ box-shadow:0 0 0 0 rgba(255,255,255,0), 0 8px 20px rgba(0,0,0,.45); } }
@keyframes oo-speak-icon{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.18); } }
html body #app .post-detail-tts-row .tts-button.oo-speaking{ animation:oo-speak-ring 1.4s ease-out infinite; }
html body #app .post-detail-tts-row .tts-button.oo-speaking::after{ display:none!important; }
html body #app .post-detail-tts-row .tts-button.oo-speaking{ font-size:26px; }
@media (prefers-reduced-motion: reduce){ html body #app .post-detail-tts-row .tts-button.oo-speaking{ animation:none; } }

/* Read-aloud: soft tint over the sentence being read; the solid highlight slides through it letter by letter. */
::highlight(oo-read-sent){background-color:rgba(255,255,255,.2);color:inherit}
html[data-oo-theme~="light"] ::highlight(oo-read-sent){background-color:rgba(31,79,176,.16);color:inherit}

/* Rounded read-aloud highlight: shapes are drawn behind the text; the built-in highlight only recolours the text. */
::highlight(oo-read){background-color:transparent;color:#0b2a6b}
html[data-oo-theme~="light"] ::highlight(oo-read){background-color:transparent;color:#fff}
::highlight(oo-read-sent){background-color:transparent}
html[data-oo-theme~="light"] ::highlight(oo-read-sent){background-color:transparent}
.oo-hl-layer{position:absolute;left:0;top:0;width:100%;height:100%;z-index:-1;pointer-events:none;display:block}
.oo-hl-layer span,.oo-hl-layer i{display:block}
.oo-hl-layer i{position:absolute;border-radius:8px}
.oo-hl-sent i{background:rgba(255,255,255,.2)}
.oo-hl-fill i{background:rgba(255,255,255,.94)}
html[data-oo-theme~="light"] .oo-hl-sent i{background:rgba(31,79,176,.16)}
html[data-oo-theme~="light"] .oo-hl-fill i{background:#1f4fb0}

/* Speaker button while reading: ring pulse plus a gentle "talking" bounce of the icon. */
html body #app .post-detail-tts-row .tts-button.oo-speaking{ animation:oo-speak-ring 1.4s ease-out infinite, oo-speak-icon 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ html body #app .post-detail-tts-row .tts-button.oo-speaking{ animation:none; } }

/* Read-aloud highlight keeps the text colour; only the pill behind it changes (navy in dark mode, light blue in light mode). */
::highlight(oo-read){background-color:transparent;color:inherit}
html[data-oo-theme~="light"] ::highlight(oo-read){background-color:transparent;color:inherit}
.oo-hl-sent i{background:rgba(6,26,76,.30)}
.oo-hl-fill i{background:rgba(6,26,76,.72)}
html[data-oo-theme~="light"] .oo-hl-sent i{background:rgba(31,79,176,.12)}
html[data-oo-theme~="light"] .oo-hl-fill i{background:rgba(150,188,250,.75)}
/* desktop + tablet dark mode: the reading card is navy, so the pill must be a lighter blue to show */
@media (min-width:768px){
html:not([data-oo-theme~="light"]) .oo-hl-sent i{background:rgba(110,165,255,.24)}
html:not([data-oo-theme~="light"]) .oo-hl-fill i{background:rgba(70,130,235,.78)}
}

/* Home page: every section title has the same gap to its content. Featured Columnists had an extra 22px of
   grid padding (42px gap) and the Shop picture sat 2px closer (20px) than the rest (22px). */
@media (max-width:1023px){
  html body #app .oo-people .oo-people-grid { padding-top: 2px !important; }
  html body #app .oo-sec-shop .oo-shop { margin-top: 2px !important; }
}
/* Sections whose last item has no trailing room (Advertisers button, Shop picture) get it back, so the gap from
   the bottom of every section's content to the next header is the same (53px). */
@media (max-width:1023px){
  html body #app .oo-home > .oo-sec-sponsors:not(:last-child), html body #app .oo-home > .oo-sec-shop:not(:last-child) { margin-bottom: 30px !important; }
}

/* Footer / menu dividers in light mode: darker and bolder so they read clearly (gold rules, row dividers, column divider). */
html[data-oo-theme~="light"] #td-outer-wrap .oo-dir { --oo-g: #7a5410 !important; --oo-l: rgba(11,42,107,.62) !important; }
html:not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z)[data-oo-theme~="light"] body dialog.oo-nm .oo-dir h3 { border-bottom-width: 2.5px !important; }
html:not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z)[data-oo-theme~="light"] body dialog.oo-nm .oo-dir .oo-dir-list a { border-bottom-width: 1.5px !important; }
html:not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z):not(#z)[data-oo-theme~="light"] body dialog.oo-nm .oo-dir .oo-dir-g.oo-dir-a2 { border-left-width: 1.5px !important; }
html[data-oo-theme~="light"] #td-outer-wrap .oo-dir .oo-dir-rev-a::before,
html[data-oo-theme~="light"] #td-outer-wrap .oo-dir .oo-dir-rule::before,
html[data-oo-theme~="light"] #td-outer-wrap .oo-dir .oo-dir-rule::after { height: 3px !important; background: #7a5410 !important; opacity: 1 !important; }

/* 2026-11-23: phone sign-in button was square inside its round ring; make it a pill like the other buttons */
html body #app .login-submit{ border-radius:999px!important; }

/* 2026-11-23: sign-in error messages were small, thin and easy to miss; show them as a clear callout */
html body #app .login-error:not(:empty){ font-size:16px!important; font-weight:700!important; line-height:1.35!important; padding:11px 14px!important; border-radius:10px!important; color:#fff!important; background:#b3261e!important; border:1.5px solid #ffd0cc!important; }
html[data-oo-theme~="light"] body #app .login-error:not(:empty){ color:#7a1510!important; background:#fde8e6!important; border:1.5px solid #b3261e!important; }
