.menu-btn{background:transparent;border:0;color:#fff;font-size:30px;line-height:1;cursor:pointer;margin-right:6px;padding:6px 10px;vertical-align:middle;display:inline-flex;align-items:center;justify-content:center}
.card.head .menu-btn,.topline .menu-btn{font-size:30px !important}
.menu-btn .menu-btn-icon,.card.head .menu-btn .menu-btn-icon{font-size:30px !important;line-height:1;display:inline-block;font-weight:700;vertical-align:middle}
.topline{display:flex;align-items:center;gap:10px}
.head-race-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.race-pill{color:#fff;font-size:26px;font-weight:700;line-height:1;padding:6px 0;border-radius:8px;cursor:pointer;white-space:nowrap}
.head-eventname{font-size:21px;font-weight:700;color:#fff;margin-top:6px;display:block}
.head .meta{font-size:20px;opacity:.95;color:#fff;line-height:1.5;margin-top:4px}
.head-status{display:none}
.head #eventsHint{color:#b8e6c8;font-size:11px}
.right-state{background:transparent !important;box-shadow:none !important;color:#ffe56a;font-weight:600;padding:6px 12px;border-radius:0;font-size:30px}
.card.head .right-state{font-size:30px !important}
.right-state .state-open{color:#e5484d}

.drawer-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;z-index:40}
.drawer{position:fixed;left:0;top:0;bottom:0;width:50%;min-width:280px;max-width:400px;background:#f0f0f0;transform:translateX(-100%);transition:.2s;z-index:41;overflow:auto}
.drawer.open{transform:translateX(0)}
.drawer-head{background:#0f713c;color:#fff;padding:12px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.drawer-head-left{min-width:0}
.drawer-head b{font-size:1.3em;font-weight:700;display:block;line-height:1.25}
.drawer-head-sub{font-size:15px;opacity:.9;margin-top:2px}
.drawer-version{flex-shrink:0;font-size:13px;opacity:.95;white-space:nowrap;align-self:center}
.drawer-head>div{font-size:15px}
.drawer-admin-link{padding:10px 12px;background:#0f713c;border-bottom:1px solid rgba(255,255,255,.2)}
.drawer-admin-link a{color:#fff;font-size:15px;text-decoration:none;font-weight:600}
.drawer-admin-link a:hover{text-decoration:underline}
.drawer-date{background:#666;color:#fff;padding:10px;font-size:17px;line-height:1.4;border-top:1px solid #888;cursor:pointer;user-select:none}
.drawer-date:first-child{border-top:none}
.drawer-date-collapsed::after{content:' ▶';opacity:.8;font-size:15px}
.drawer-date-expanded::after{content:' ▼';opacity:.8;font-size:15px}
.drawer-date-races{background:transparent !important;box-shadow:none !important}
#drawerBody .race-item{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #ddd;background:transparent !important;box-shadow:none !important;cursor:pointer}
#drawerBody .race-item.active{background:transparent !important;box-shadow:none !important}
#drawerBody .race-item .main{font-size:21px !important;line-height:1.3}
#drawerBody .race-item-time{font-size:21px !important;color:#666;box-shadow:none !important;line-height:1.3}
#drawerBody .race-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
#drawerBody .race-item-ended{font-size:20px;font-weight:700;color:#0d47a1}
.race-item .main{font-size:21px !important}
.race-item-time{font-size:21px !important;color:#666;box-shadow:none !important}
.race-item{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #ddd;background:transparent !important;box-shadow:none !important;cursor:pointer}
.race-item.active{background:transparent !important;box-shadow:none !important}
.race-item .sub{font-size:15px;color:#666}
