
    @font-face {
      font-family: "UnlimitedPie";
      src: url("/local/templates/bcf_2021/font/upie.woff2") format("woff2"),
           url("/local/templates/bcf_2021/font/upie.woff") format("woff"),
           url("/local/templates/bcf_2021/font/upie.ttf") format("truetype");
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

    .bfm-schedule{
      --yellow: #FFE66A;
      --red: #E14466;
      --blue: #0E77BA;
      --pink: #F5C1D5;
      --orange: #F8B534;
      --ink: #282828;
      --white: #fff;
      --line: rgba(40, 40, 40, 0.12);
      --header-h: 84px;
      --radius: 28px;
      --font: "Geologica", "Segoe UI", sans-serif;
      --display: "UnlimitedPie", "Geologica", "Segoe UI", sans-serif;
    }

    .bfm-schedule *{ box-sizing: border-box; }

    .bfm-schedule{ scroll-padding-top: 96px; }

    .bfm-schedule{
      margin: 0;
      min-height: 0;
      font-family: var(--font);
      color: var(--ink);
      background: transparent;
      line-height: 1.4;
    }

    .bfm-schedule a{ color: var(--blue); }

    .bfm-schedule button, .bfm-schedule input, .bfm-schedule select{ font-family: inherit; }

    .bfm-schedule .bg-blob, .bfm-schedule .bg-sun{
      position: fixed;
      pointer-events: none;
      z-index: 0;
    }

    .bfm-schedule .bg-blob{
      width: min(560px, 80vw);
      height: min(560px, 80vw);
      left: -180px;
      top: 280px;
      background: rgba(255, 255, 255, 0.45);
      border-radius: 58% 42% 62% 38%;
    }

    .bfm-schedule .bg-sun{
      width: 210px;
      height: 210px;
      right: -28px;
      bottom: 24px;
      background:
        radial-gradient(circle at center, transparent 0 54px, var(--yellow) 55px 62px, transparent 63px),
        repeating-conic-gradient(from 0deg, var(--orange) 0 7deg, transparent 7deg 18deg);
      border-radius: 50%;
    }

    .bfm-schedule .bg-sun::after{
      content: "";
      position: absolute;
      inset: 68px;
      border-radius: 50%;
      background: var(--orange);
    }

    .bfm-schedule .top{
      position: sticky;
      top: 0;
      z-index: 30;
      background: transparent;
    }

    .bfm-schedule .top-inner, .bfm-schedule .wrap{
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .bfm-schedule .top-inner{
      min-height: var(--header-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 12px 0;
    }

    .bfm-schedule .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--ink);
      min-width: 0;
    }

    .bfm-schedule .brand-mark{
      flex: 0 0 auto;
      font-family: var(--display);
      font-size: 42px;
      line-height: 0.85;
      color: var(--blue);
      letter-spacing: -0.04em;
    }

    .bfm-schedule .brand-text{
      display: flex;
      flex-direction: column;
      font-weight: 700;
      font-size: 13px;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .bfm-schedule .brand-text span:last-child{ color: var(--red); }

    .bfm-schedule .top-actions{
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }

    .bfm-schedule .lang-toggle{
      display: inline-flex;
      align-items: stretch;
      padding: 3px;
      border-radius: 999px;
      background: var(--pink);
      gap: 2px;
    }

    .bfm-schedule .lang-toggle button{
      flex: 1 1 auto;
      border: 0;
      background: transparent !important;
      color: var(--ink);
      border-radius: 999px;
      padding: 6px 12px;
      font: inherit;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.04em;
      cursor: pointer;
    }

    .bfm-schedule .lang-toggle button[aria-pressed="true"]{
      background: var(--blue);
      color: var(--white);
    }

    .bfm-schedule .pdf-btn, .bfm-schedule .reset{
      cursor: pointer;
    }

    .bfm-schedule .pdf-btn{
      border: 0;
      border-radius: 999px;
      background: var(--blue);
      color: var(--white);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.02em;
      padding: 10px 18px;
      text-transform: uppercase;
    }

    .bfm-schedule .pdf-btn:hover:not(:disabled){ transform: scale(1.03); }

    .bfm-schedule .pdf-btn:disabled{
      opacity: 0.7;
      cursor: progress;
    }

    .bfm-schedule .girl-badge{
      position: relative;
      z-index: 2;
      flex: 0 0 auto;
      margin: 0;
      padding: 0;
    }

    .bfm-schedule .girl-badge img{
      display: block;
      width: 132px;
      height: 132px;
    }

    .bfm-schedule .hero{
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
      margin: 6px auto 40px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
    }

    .bfm-schedule .hero-copy{
      min-width: 0;
      flex: 1 1 auto;
      padding-right: 168px;
    }

    .bfm-schedule .hero-dog{
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      width: auto;
      max-width: 240px;
      object-fit: contain;
      object-position: right center;
      pointer-events: none;
      user-select: none;
    }

    .bfm-schedule .kicker{
      margin: 0 0 6px;
      color: var(--red);
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 13px;
    }

    .bfm-schedule h1{
      margin: 0;
      font-family: var(--display);
      font-weight: normal;
      font-size: clamp(28px, 5.4vw, 72px);
      line-height: 0.9;
      letter-spacing: 0.01em;
      color: var(--blue);
      text-transform: uppercase;
    }

    .bfm-schedule .lead{
      margin: 10px 0 0;
      color: var(--blue);
      font-weight: 700;
      font-size: clamp(16px, 2vw, 22px);
    }

    .bfm-schedule .panel{
      position: relative;
      z-index: 1;
      width: 100%;
      margin: 0;
      background: transparent;
      border: 0;
      border-radius: 0;
      padding: 0 0 28px;
      box-shadow: none;
    }

    .bfm-schedule .filters{
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .bfm-schedule .field{ display: flex; flex-direction: column; gap: 4px; }

    .bfm-schedule .field span, .bfm-schedule .search-label{
      font-size: 12px;
      font-weight: 700;
      color: var(--blue);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .bfm-schedule select, .bfm-schedule .search{
      width: 100%;
      border: 2px solid transparent;
      background: #fff8d4;
      color: var(--ink);
      border-radius: 999px;
      padding: 12px 16px;
      font-size: 16px;
      outline: none;
    }

    .bfm-schedule select:focus, .bfm-schedule .search:focus, .bfm-schedule .lang-toggle button:focus-visible, .bfm-schedule .pdf-btn:focus-visible, .bfm-schedule .reset:focus-visible, .bfm-schedule .chip:focus-visible{
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(14, 119, 186, 0.2);
    }

    .bfm-schedule .filter-actions{
      display: flex;
      align-items: flex-end;
    }

    .bfm-schedule .reset{
      border: 0;
      background: transparent !important;
      color: var(--blue);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-size: 16px;
      font-weight: 600;
      padding: 12px 4px;
    }

    .bfm-schedule .days{
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 8px 0 2px;
      scrollbar-width: thin;
    }

    .bfm-schedule .chip{
      flex: 0 0 auto;
      border: 0;
      background: #fff8d4;
      color: var(--ink);
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
    }

    .bfm-schedule .chip[aria-pressed="true"]{
      background: var(--blue);
      color: var(--white);
    }

    .bfm-schedule .meta-row{
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: baseline;
      margin: 4px 0 0;
      color: #5c5c5c;
      font-size: 14px;
    }

    .bfm-schedule .schedule{ margin-top: 2px; }

    .bfm-schedule .day-title{
      margin: 22px 0 8px;
      font-family: var(--display);
      font-size: 28px;
      font-weight: normal;
      color: var(--blue);
      text-transform: uppercase;
    }

    .bfm-schedule .card{
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 4px 12px;
      padding: 14px 0;
      background: transparent !important;
      border: 0 !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      border-bottom: 1px solid var(--line) !important;
    }

    .bfm-schedule .card-time{
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      font-size: 18px;
    }

    .bfm-schedule .card-meta{
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
    }

    .bfm-schedule .card-title{
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin: 0;
      grid-column: 1 / -1;
      font-size: 17px;
      font-weight: 700;
      line-height: 1.3;
    }

    .bfm-schedule .card-title > span, .bfm-schedule .cell-title-inner > span{
      flex: 1 1 auto;
      min-width: 0;
    }

    .bfm-schedule .program-link{
      flex: 0 0 auto;
      display: inline-flex;
      width: 22px;
      height: 22px;
      margin-top: 1px;
      color: var(--blue);
    }

    .bfm-schedule .program-link svg{ display: block; width: 100%; height: 100%; }
    .bfm-schedule .program-link:hover{ color: var(--red); }

    .bfm-schedule a.ticket-link{
      display: flex;
      width: fit-content;
      margin-top: 6px;
      color: var(--white);
      background: var(--blue);
      border-radius: 999px;
      padding: 3px 10px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
      line-height: 1.3;
      text-decoration: none;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .bfm-schedule a.ticket-link:hover{ background: var(--red); color: var(--white); }

    .bfm-schedule .card-block, .bfm-schedule .card-venue{
      margin: 0;
      grid-column: 1 / -1;
      color: #444;
    }

    .bfm-schedule .card-block{ font-size: 14px; color: var(--red); font-weight: 600; }

    .bfm-schedule .venue-address{
      margin-top: 2px;
      font-style: italic;
      font-weight: 400;
      font-size: 0.92em;
      line-height: 1.35;
      color: #666;
    }

    .bfm-schedule .age{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 42px;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      background: #eee;
    }

    .bfm-schedule .age-kid{ background: var(--pink); }
    .bfm-schedule .age-teen{ background: #ffe1a8; }
    .bfm-schedule .age-mid{ background: #d7ecf8; color: var(--blue); }
    .bfm-schedule .age-adult{ background: var(--ink); color: var(--white); }

    .bfm-schedule .dur{
      font-variant-numeric: tabular-nums;
      font-weight: 600;
      font-size: 14px;
    }

    .bfm-schedule .is-tba{ color: #777; font-weight: 600; }

    .bfm-schedule .empty{
      margin: 28px 0 12px;
      font-size: 18px;
    }

    .bfm-schedule .table-wrap{ display: none; }

    .bfm-schedule .schedule-table{
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    .bfm-schedule .schedule-table th:nth-child(1), .bfm-schedule .schedule-table td:nth-child(1){ width: 76px; }
    .bfm-schedule .schedule-table th:nth-child(2){ width: 32%; }
    .bfm-schedule .schedule-table th:nth-child(4){ width: 18%; }
    .bfm-schedule .schedule-table th:nth-child(5){ width: 84px; }
    .bfm-schedule .schedule-table th:nth-child(6){ width: 88px; }

    .bfm-schedule .schedule-table th{
      position: sticky;
      top: var(--header-h);
      z-index: 2;
      background: var(--white);
      text-align: left;
      color: var(--blue);
      font-size: 13px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      padding: 10px 8px;
      border-bottom: 2px solid var(--blue);
    }

    .bfm-schedule .schedule-table td{
      padding: 12px 8px;
      border-bottom: 1px solid var(--line);
      vertical-align: top;
    }

    .bfm-schedule .schedule-table tbody tr:hover td{ background: #fffbeb; }

    .bfm-schedule .day-row td{
      padding-top: 22px;
      border-bottom: 0;
      font-family: var(--display);
      font-size: 26px;
      color: var(--blue);
      text-transform: uppercase;
      background: var(--white);
    }

    .bfm-schedule .cell-time{ font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .bfm-schedule .cell-title{ font-weight: 700; }

    .bfm-schedule .cell-title-inner{
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .bfm-schedule .cell-block{ color: #444; }

    .bfm-schedule .sleeping{
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 4px 0 28px;
      display: flex;
      justify-content: center;
    }

    .bfm-schedule .sleeping img{
      display: block;
      width: min(560px, 100%);
      height: auto;
      pointer-events: none;
      user-select: none;
    }

    .bfm-schedule footer{
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 0 0 36px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      align-items: center;
      font-size: 14px;
    }

    .bfm-schedule footer a{ font-weight: 700; text-decoration: none; }
    .bfm-schedule footer a:hover{ text-decoration: underline; }

    .bfm-schedule .pdf-status{
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      z-index: 40;
      background: var(--ink);
      color: var(--white);
      border-radius: 999px;
      padding: 10px 16px;
      font-size: 14px;
      display: none;
    }

    .bfm-schedule .pdf-status.show{ display: block; }

    .bfm-schedule #pdf-mount{
      position: fixed;
      left: 0;
      top: 0;
      z-index: -1;
      background: #fff;
    }

    .bfm-schedule .pdf-sheet, .bfm-schedule .pdf-sheet *{
      box-sizing: border-box;
    }

    .bfm-schedule .pdf-sheet{
      background: #fff;
      color: #282828;
      font-family: "Geologica", "Segoe UI", sans-serif;
      overflow: hidden;
    }

    .bfm-schedule .pdf-sheet h1{
      margin: 0 0 6px;
      font-size: 26px;
      line-height: 1.05;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .bfm-schedule .pdf-narrow h1{ font-size: 22px; }

    .bfm-schedule .pdf-kicker, .bfm-schedule .pdf-lead, .bfm-schedule .pdf-note, .bfm-schedule .pdf-dayhead, .bfm-schedule .pdf-title, .bfm-schedule .pdf-sub{
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .bfm-schedule .pdf-kicker{
      margin: 0;
      color: #E14466;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 11px;
    }

    .bfm-schedule .pdf-lead{ margin: 0 0 6px; color: #0E77BA; font-weight: 700; font-size: 13px; }
    .bfm-schedule .pdf-note{ margin: 0 0 10px; color: #555; font-size: 11px; }

    .bfm-schedule .pdf-dayhead{
      margin: 14px 0 2px;
      color: #0E77BA;
      font-family: "UnlimitedPie", "Geologica", sans-serif;
      text-transform: uppercase;
      font-size: 16px;
      font-weight: normal;
      line-height: 1.15;
    }

    .bfm-schedule .pdf-line{
      display: flex;
      align-items: flex-start;
      gap: 8px;
      width: 100%;
      max-width: 100%;
      padding: 7px 0;
      border-bottom: 1px solid #ececec;
      break-inside: avoid;
      page-break-inside: avoid;
    }

    .bfm-schedule .pdf-time{
      flex: 0 0 44px;
      font-weight: 800;
      font-size: 12px;
      font-variant-numeric: tabular-nums;
    }

    .bfm-schedule .pdf-body{
      flex: 1 1 auto;
      min-width: 0;
    }

    .bfm-schedule .pdf-title{
      font-weight: 700;
      font-size: 12px;
      line-height: 1.3;
    }

    .bfm-schedule .pdf-sub{
      margin-top: 2px;
      color: #333;
      font-size: 11px;
      line-height: 1.3;
    }

    .bfm-schedule .pdf-meta{
      flex: 0 0 auto;
      text-align: right;
      font-weight: 700;
      font-size: 11px;
      line-height: 1.35;
      white-space: nowrap;
    }

    .bfm-schedule .pdf-narrow .pdf-title{ font-size: 14px; }
    .bfm-schedule .pdf-narrow .pdf-sub, .bfm-schedule .pdf-narrow .pdf-time, .bfm-schedule .pdf-narrow .pdf-meta{ font-size: 13px; }

    .bfm-schedule .pdf-cols{
      display: flex;
      align-items: flex-start;
      gap: 8px;
      width: 100%;
      max-width: 100%;
    }

    .bfm-schedule .pdf-cols > div{
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .bfm-schedule .pdf-head{
      margin: 0 0 2px;
      padding: 2px 0 6px;
      border-bottom: 3px solid #FFE66A;
      color: #0E77BA;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.02em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    .bfm-schedule .pdf-row{
      padding: 6px 0;
      border-bottom: 1px solid rgba(40, 40, 40, 0.12);
      font-size: 11px;
      line-height: 1.3;
      break-inside: avoid;
      page-break-inside: avoid;
    }

    .bfm-schedule .pdf-desktop .c-time{ flex: 0 0 11mm; text-align: left; font-variant-numeric: tabular-nums; }
    .bfm-schedule .pdf-desktop .c-block{ flex: 3.2 1 0; }
    .bfm-schedule .pdf-desktop .c-title{ flex: 2.6 1 0; }
    .bfm-schedule .pdf-desktop .c-venue{ flex: 1.6 1 0; }
    .bfm-schedule .pdf-desktop .c-age{ flex: 0 0 9.5mm; text-align: right; }
    .bfm-schedule .pdf-desktop .c-dur{ flex: 0 0 10mm; text-align: left; font-variant-numeric: tabular-nums; }

    .bfm-schedule .pdf-desktop .pdf-head .c-age, .bfm-schedule .pdf-desktop .pdf-head .c-dur{ white-space: nowrap; }

    .bfm-schedule .pdf-desktop .pdf-row .c-time{ font-weight: 800; white-space: nowrap; }
    .bfm-schedule .pdf-desktop .pdf-row .c-block{ color: #444; }
    .bfm-schedule .pdf-desktop .pdf-row .c-title{ font-weight: 700; }
    .bfm-schedule .pdf-desktop .pdf-row .c-dur{ font-weight: 600; white-space: normal; }

    .bfm-schedule .pdf-sheet .age{
      min-width: 0;
      padding: 1px 6px;
      font-size: 11px;
    }

    .bfm-schedule .pdf-desktop .pdf-dayhead{
      margin: 12px 0 2px;
      font-size: 18px;
      break-after: avoid;
      page-break-after: avoid;
    }

    @media (min-width: 768px) {
      .bfm-schedule .filters{
        grid-template-columns: 1fr 1.4fr auto;
        align-items: end;
      }
      .bfm-schedule .card{
        grid-template-columns: 72px minmax(0, 1fr) auto;
        align-items: start;
        column-gap: 16px;
      }
      .bfm-schedule .card-time{ grid-row: 1 / span 3; font-size: 20px; padding-top: 2px; }
      .bfm-schedule .card-meta{ grid-column: 3; grid-row: 1; }
      .bfm-schedule .card-title, .bfm-schedule .card-block, .bfm-schedule .card-venue{ grid-column: 2; }
      .bfm-schedule .panel{ width: 100%; padding: 0 0 32px; }
    }

    @media (min-width: 1200px) {
      .bfm-schedule .filters{
        grid-template-columns: 1fr 1.6fr auto;
        align-items: end;
      }
      .bfm-schedule .cards{ display: none; }
      .bfm-schedule .table-wrap{ display: block; }
      .bfm-schedule .top-inner, .bfm-schedule .hero, .bfm-schedule .sleeping, .bfm-schedule footer{
        width: min(1180px, calc(100% - 48px));
      }
      .bfm-schedule .panel{ width: 100%; }
    }

    @media (max-width: 767px) {
      .bfm-schedule .top-inner{ align-items: flex-start; }
      .bfm-schedule .brand-mark{ font-size: 34px; }
      .bfm-schedule .brand-text{ font-size: 11px; }
      .bfm-schedule .top-actions{ flex-direction: column; align-items: stretch; }
      .bfm-schedule .pdf-btn{ padding: 10px 12px; font-size: 12px; }
      .bfm-schedule .panel{ border: 0; border-radius: 0; }
      .bfm-schedule .bg-sun{ width: 140px; height: 140px; }
      .bfm-schedule .girl-badge{ display: none; }
      .bfm-schedule .hero{ gap: 8px; align-items: flex-start; }
      .bfm-schedule .hero-copy{ padding-right: 0; }
      .bfm-schedule .hero-dog{
        position: static;
        top: auto;
        height: auto;
        max-height: none;
        max-width: none;
        width: 96px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .bfm-schedule .lang-toggle button, .bfm-schedule .pdf-btn{ transition: none; }
    }

    .bfm-schedule #print-root{ display: none; }

/* Встройка в страницу расписания: те же кнопки и карточки, что у классического вида. */

.bfm-schedule .brand,
.bfm-schedule .hero,
.bfm-schedule .sleeping,
.bfm-schedule footer,
.bfm-schedule .bg-blob,
.bfm-schedule .bg-sun,
.bfm-schedule .top {
  display: none;
}

.bfm-schedule {
  min-height: 0;
  height: auto;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 0 2rem;
  background: transparent;
  color: var(--dark-grey26, #282828);
  font-family: var(--geologica), "Geologica", sans-serif;
  line-height: 1.4;
}

.bfm-schedule button {
  width: auto;
  margin: 0;
  font-family: inherit;
}

.schedule-view-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  max-width: 75rem;
  margin: 0 auto 1.75rem;
  border: 0;
}

.schedule-view-tabs .schedule-view-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--blue26, #0E77BA);
  border-radius: 16px;
  background: #fff;
  color: var(--blue26, #0E77BA);
  box-shadow: none;
  font-family: var(--upie), "UnlimitedPie", sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: lowercase;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.schedule-view-tabs .schedule-view-tab:hover,
.schedule-view-tabs .schedule-view-tab.is-active,
.schedule-view-tabs .schedule-view-tab.is-active:hover {
  background: var(--blue26, #0E77BA);
  border-color: var(--blue26, #0E77BA);
  color: #fff;
}

#view-classic[hidden],
#view-filters[hidden] {
  display: none !important;
}

#view-filters {
  width: 100%;
  height: auto;
  min-height: 0;
  background: transparent;
}

.bfm-schedule .panel {
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.schedule-view-tabs .pdf-btn,
.bfm-schedule .pdf-btn {
  display: none;
  width: auto;
  margin: 0 0 0 auto;
  align-self: center;
  border: 2px solid var(--blue26, #0E77BA);
  border-radius: 999px;
  background: #fff;
  color: var(--blue26, #0E77BA);
  font-family: var(--geologica), "Geologica", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 0.7rem 1.4rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

body.is-filter-tab .schedule-view-tabs .pdf-btn {
  display: inline-flex;
  align-items: center;
}

.schedule-view-tabs .pdf-btn:hover:not(:disabled),
.bfm-schedule .pdf-btn:hover:not(:disabled) {
  transform: none;
  background: var(--blue26, #0E77BA);
  color: #fff;
}

.bfm-schedule .field span,
.bfm-schedule .search-label {
  color: var(--blue26, #0E77BA);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bfm-schedule select,
.bfm-schedule .search {
  border: 2px solid var(--blue26, #0E77BA);
  background: #fff;
  color: var(--dark-grey26, #282828);
  border-radius: 999px;
  font-size: 1rem;
}

.bfm-schedule .reset {
  color: var(--blue26, #0E77BA);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.bfm-schedule .reset:hover {
  text-decoration: underline;
}

.bfm-schedule .chip {
  border: 2px solid var(--blue26, #0E77BA);
  background: #fff;
  color: var(--blue26, #0E77BA);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.bfm-schedule .chip:hover,
.bfm-schedule .chip[aria-pressed="true"] {
  background: var(--blue26, #0E77BA);
  color: #fff;
}

.bfm-schedule .ages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
}

.bfm-schedule .ages-label {
  margin-right: 2px;
  color: var(--blue26, #0E77BA);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bfm-schedule .meta-row {
  color: var(--dark-grey26, #282828);
  font-size: 0.95rem;
}

.bfm-schedule .day-title,
.bfm-schedule .day-row td {
  font-family: var(--upie), "UnlimitedPie", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--blue26, #0E77BA);
  text-transform: lowercase;
}

.bfm-schedule .day-row td {
  padding: 1.6rem 0.4rem 0.35rem;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  line-height: 1.05;
  background: #fff;
}

.bfm-schedule .schedule-table th {
  top: var(--bfm-mast, 84px);
  background: #fff;
  color: var(--blue26, #0E77BA);
  font-family: var(--geologica), "Geologica", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--blue26, #0E77BA);
}

.bfm-schedule .schedule-table td {
  padding: 0.95rem 0.55rem;
}

.bfm-schedule .schedule-table tbody tr:hover td {
  background: rgba(14, 119, 186, 0.04);
}

.bfm-schedule .schedule-table tbody tr.day-row:hover td,
.bfm-schedule .day-row td {
  background: #fff;
}

.bfm-schedule .cell-time {
  font-size: 1.15rem;
}

.bfm-schedule .cell-block,
.bfm-schedule .card-block {
  color: var(--dark-grey26, #282828);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bfm-schedule .cell-title,
.bfm-schedule .card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.bfm-schedule .age,
.bfm-schedule .age-kid,
.bfm-schedule .age-teen,
.bfm-schedule .age-mid,
.bfm-schedule .age-adult {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  border: 1px solid var(--blue26, #0E77BA);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--blue26, #0E77BA);
  font-size: 0.95rem;
  font-weight: 700;
}

.bfm-schedule button.age-tag {
  cursor: pointer;
  appearance: none;
  line-height: 1;
}

.bfm-schedule button.age-tag:hover,
.bfm-schedule button.age-tag[aria-pressed="true"] {
  background: var(--blue26, #0E77BA);
  border-color: var(--blue26, #0E77BA);
  color: #fff;
}

.bfm-schedule a.ticket-link {
  margin-top: 0.55rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--blue26, #0E77BA);
  border-radius: 999px;
  background: #fff;
  color: var(--blue26, #0E77BA);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color .2s ease, color .2s ease;
}

.bfm-schedule a.ticket-link:hover {
  background: var(--blue26, #0E77BA);
  color: #fff;
}

.bfm-schedule .card {
  content-visibility: auto;
  contain-intrinsic-size: auto 96px;
}

.bfm-schedule .card,
.bfm-schedule .cards .card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-bottom: 1px solid rgba(14, 119, 186, 0.18) !important;
}

@media (max-width: 700px) {
  .schedule-view-tabs .schedule-view-tab {
    width: 100%;
    min-height: 46px;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    font-family: var(--geologica), "Geologica", sans-serif;
    font-size: 1rem;
    font-weight: 600;
  }

  .bfm-schedule .panel {
    padding: 0 0 1rem;
    border: 0;
    border-radius: 0;
  }

  .schedule-view-tabs .pdf-btn,
  body.is-filter-tab .schedule-view-tabs .pdf-btn {
    width: auto;
    margin-left: auto;
  }
}
