#schedule .home-schedule-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:20px 0 32px}
#schedule .home-schedule-actions>.home-calendar-link{margin:0;text-align:right;min-width:0}
#schedule .home-media-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;min-width:0}
#schedule .home-media-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:0;width:100%;padding:9px 14px;border:1px solid transparent;border-radius:7px;box-sizing:border-box;color:#34416c;font-size:13px;font-weight:700;line-height:1.5;white-space:nowrap;text-decoration:none;transition:background .15s ease}
#schedule .home-live-tab{background:#eaf5fb;border-color:#d3e6f1}
#schedule .home-short-tab{background:#fff0f4;border-color:#f2dce5}
#schedule .home-media-tab:not([aria-disabled="true"]):hover{filter:brightness(.97)}
#schedule .home-media-tab:focus-visible{outline:2px solid #435493;outline-offset:3px}
#schedule .home-media-tab[aria-disabled="true"]{opacity:.6;cursor:default;pointer-events:none}
#schedule .home-youtube-icon{width:20px;height:15px;flex:none}
#schedule .home-microphone-icon{width:20px;text-align:center;font-size:17px;line-height:1;flex:none}
@media(max-width:650px){#schedule .home-schedule-actions{grid-template-columns:minmax(0,1fr);gap:14px}#schedule .home-schedule-actions>.home-calendar-link{grid-row:1;justify-self:end}#schedule .home-schedule-actions>.home-media-tabs{grid-row:2;width:100%}#schedule .home-media-tabs{gap:8px}#schedule .home-media-tab{min-width:0;padding:9px 6px;font-size:12px}}

/* Header alignment applies only above the existing mobile breakpoint. */
@media(min-width:651px){#schedule .weekly-heading{width:100%;box-sizing:border-box;padding-right:0}#schedule .weekly-benefit-links{margin-left:auto;justify-content:flex-end}}
/* Only the month button moves into the existing card on mobile. */
@media(max-width:650px){#schedule .monthly-card>.home-calendar-link{margin:14px 0 4px;padding:0;text-align:right}#schedule .home-schedule-actions>.home-media-tabs{grid-row:1}}

/* Restore the mobile weekly title track overridden by legacy three-column CSS. */
@media(max-width:650px){
 #schedule .home-week-event.otoha-week-item{grid-template-columns:max-content minmax(0,1fr)!important}
}

/* Mobile weekly rows: remove legacy fixed date track and show full titles. */
@media(max-width:650px){
 #schedule .home-week-day{grid-template-columns:minmax(0,1fr)!important;height:auto}
 #schedule .home-week-event.otoha-week-item{height:auto;align-items:start}
 #schedule .home-week-event.otoha-week-item>b{width:auto;min-width:0;max-width:none;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
}
