/* The production DOM uses a non-interactive div as the filter heading.
 * FastAPI keeps a real button for keyboard operation; neutralise only the
 * browser control defaults so its layout remains the literal schedule.css. */
.legacy-public:has(.legacy-schedule){font-family:Roboto,sans-serif}.legacy-schedule .sidebar-filter-block__title{display:block;width:100%;white-space:normal}
/* Production hides the native checkbox with `display:none`, which also removes
 * it from keyboard navigation.  Keep the literal label appearance while
 * retaining a real, focusable control for the FastAPI accessibility contract. */
.legacy-schedule .checkbox input[type='checkbox']{display:block;position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The source card uses a div for this block.  Our semantic time element is
 * inline by default, so make that single substitution preserve schedule.css
 * geometry (including its 65px date rhythm). */
.legacy-schedule time.game-item__date{display:block}
/* `inner.php` renders the schedule page-top as the shared `page-top` with
 * `50% 0 / cover no-repeat`.  Keep those literal image properties after the
 * local inline URL, without reintroducing the retired custom schedule cascade. */
.legacy-inner--schedule .page-top--schedule{background-position:50% 0;background-repeat:no-repeat;background-size:cover}
/* At the 500px source capture the second literal schedule filter has a
   195px content box and wraps after «конкретный».  A native button's local
   Roboto metrics are narrower than legacy's div, so retain the source box. */
@media(max-width:639px){.legacy-schedule .sidebar-filter-block:nth-child(2) .sidebar-filter-block__title{padding-right:20px;padding-left:20px}}
/* The source fixes this column to 250px, so an imported long venue or price
   can paint over its following action/status. Let the ticket grow while
   preserving its date rhythm and the vertical used-ticket edge. */
.legacy-schedule .game-item-content-right{height:auto;min-height:250px}.legacy-schedule .game-item__date{height:auto;min-height:65px}.legacy-schedule .game-item__address,.legacy-schedule .game-item__price{overflow-wrap:anywhere}.legacy-schedule .game-item__social{border:0;cursor:pointer}
.legacy-schedule .games-category-tag[role='group']{cursor:default}.legacy-schedule a.games-category-tag{color:#fff;text-decoration:none}.legacy-schedule .games-category-tag__filter{display:block;color:inherit;text-decoration:none}.legacy-schedule .games-category-tag__filter:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* Shared with the homepage share panel; scoped to schedule because the
   homepage already imports this source block through legacy-home-v1.css. */
.legacy-schedule .legacy-home-dialog{width:min(560px,calc(100vw - 28px));max-height:min(78vh,720px);margin:auto;padding:0;border:0;background:transparent;color:#302f40;overflow:visible}.legacy-schedule .legacy-home-dialog::backdrop{background:rgba(35,34,52,.78);backdrop-filter:blur(3px)}.legacy-schedule .legacy-home-dialog__box{position:relative;max-height:inherit;overflow:auto;padding:34px;border-top:5px solid #e52016;background:#fff;box-shadow:0 22px 70px rgba(10,9,21,.42)}.legacy-schedule .legacy-home-dialog__close{position:absolute;top:12px;right:12px;display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:50%;color:#5a587e;background:#eeedf3;font:400 28px/1 Arial,sans-serif;cursor:pointer}.legacy-schedule .legacy-home-dialog__close:hover,.legacy-schedule .legacy-home-dialog__close:focus-visible{color:#302f40;background:#fcea1c;transform:rotate(90deg);outline:none}.legacy-schedule .legacy-home-dialog__header{padding-right:38px;border-bottom:1px solid #dedde6}.legacy-schedule .legacy-home-dialog__header p{margin:0 0 5px;color:#807e90;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.legacy-schedule .legacy-home-dialog__header h2{margin:0 0 18px;color:#302f40;font-family:'Code-Pro-Black-LC',Arial,sans-serif;font-size:26px;line-height:1.08;text-transform:uppercase;overflow-wrap:anywhere}.legacy-schedule .legacy-home-dialog__body{margin-top:22px;color:#585668;font:16px/1.5 'Myriad Pro',Arial,sans-serif}.legacy-schedule .legacy-home-share-dialog__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.legacy-schedule .legacy-home-share-dialog__actions a,.legacy-schedule .legacy-home-share-dialog__actions button,.legacy-schedule .legacy-home-share-dialog__copy{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:8px 14px;border:0;border-radius:22px;color:#302509;background:#fcea1c;font:700 13px/1 'Myriad Pro',Arial,sans-serif;text-decoration:none;text-transform:uppercase;cursor:pointer;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}.legacy-schedule .legacy-home-share-dialog__actions a:nth-child(2){color:#fff;background:#3972b7}.legacy-schedule .legacy-home-share-dialog__actions a:nth-child(3){color:#fff;background:#5a587e}.legacy-schedule .legacy-home-share-dialog__actions button{color:#fff;background:#2f2e42}.legacy-schedule .legacy-home-share-dialog__actions a:hover,.legacy-schedule .legacy-home-share-dialog__actions button:hover,.legacy-schedule .legacy-home-share-dialog__copy:hover,.legacy-schedule .legacy-home-share-dialog__actions a:focus-visible,.legacy-schedule .legacy-home-share-dialog__actions button:focus-visible,.legacy-schedule .legacy-home-share-dialog__copy:focus-visible{transform:translateY(-2px);box-shadow:0 6px 15px rgba(30,28,51,.22);outline:3px solid #fcea1c;outline-offset:2px}.legacy-schedule .legacy-home-share-dialog__copy{width:100%;margin-top:10px;color:#fff;background:#e53018}.legacy-schedule .legacy-home-dialog__status{min-height:1.5em;margin:12px 0 0;color:#4d4b5e;font-size:14px;font-weight:600;text-align:center}
@media(max-width:760px){.legacy-schedule .legacy-home-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.legacy-schedule .legacy-home-dialog__box{padding:28px 20px 24px}.legacy-schedule .legacy-home-dialog__header h2{font-size:22px}.legacy-schedule .legacy-home-share-dialog__actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.legacy-schedule .legacy-home-dialog__close,.legacy-schedule .legacy-home-share-dialog__actions a,.legacy-schedule .legacy-home-share-dialog__actions button,.legacy-schedule .legacy-home-share-dialog__copy{transition:none}}
.legacy-schedule .schedule-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:0 15px 36px;color:#e6e5ec;font-size:14px;text-align:center}.legacy-schedule .schedule-pagination [data-schedule-page-label]{color:#b9b7c8}.legacy-schedule .schedule-pagination__loading{color:#fcea1c;font-weight:700}.legacy-schedule .schedule-pagination__status{min-height:1.4em}.legacy-schedule .schedule-pagination__retry,.legacy-schedule .schedule-pagination__noscript{min-height:36px;padding:7px 16px;border:1px solid #fcea1c;border-radius:19px;color:#302509;background:#fcea1c;font:700 12px/1 Roboto,Arial,sans-serif;text-decoration:none;text-transform:uppercase;cursor:pointer}.legacy-schedule .schedule-pagination__retry:hover,.legacy-schedule .schedule-pagination__retry:focus-visible,.legacy-schedule .schedule-pagination__noscript:hover,.legacy-schedule .schedule-pagination__noscript:focus-visible{background:#fff;outline:3px solid #fcea1c;outline-offset:2px}.legacy-schedule .schedule-pagination__sentinel{display:block;width:100%;height:1px;flex-basis:100%}
.legacy-schedule .game-item__status--past{background:#e8e6df!important;color:#706d67!important}.legacy-schedule .game-item__status--past span{font-weight:800;text-decoration:line-through}
