.mn-eventos-page #header, .mn-eventos-page .header-info-container { display: none; }
.mn-eventos-page #navbar { display: flex; align-items: center; justify-content: center; }
.ev-brand img { display: block; width: 88px; height: 56px; object-fit: cover; }
body.mn-eventos-page #container {
  width: min(1340px, calc(100% - 48px)); max-width: none; padding: 0;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.mn-eventos-page #content, .mn-eventos-page #content > .col-xs-12 { width: 100%; padding: 0; }
.ev {
  --ink: var(--theme-text-strong); --sub: var(--theme-text-muted);
  --purple: var(--theme-link); --gold: var(--mn-gold); --paper: var(--mn-bg);
  --rule: var(--theme-border); --wash: var(--theme-table-alt);
  --chart-surface: var(--mn-surface); --chart-heading: var(--mn-surface-raised);
  --chart-major: #49435e; --chart-minor: #2b273d;
  --free: #8dc9bf; --multiple: #ff9f80; --chart-font: "Segoe UI", system-ui, sans-serif;
  color: var(--ink); margin: 0 0 40px; font: 16px/1.45 "Chakra Petch", Arial, sans-serif;
}
html:not([data-theme="dark"]) .ev {
  --ink: #211937; --sub: #514966; --purple: #694098; --gold: #855600;
  --paper: var(--mn-bg); --rule: #d3c9e4; --wash: #7250a410;
  --chart-surface: #f6f2fb; --chart-heading: #ece5f5;
  --chart-major: #c3b3d7; --chart-minor: #ddd1eb;
  --free: #316d63; --multiple: #a4482e;
}
.ev *, .ev *::before, .ev *::after { box-sizing: border-box; }
.ev [hidden] { display: none !important; }
.ev h1, .ev h2, .ev p, .ev dl, .ev dd { margin: 0; }
.ev h1, .ev h2 { color: inherit; text-transform: none; }
.ev button { font: inherit; background: none; color: inherit; border: 0; cursor: pointer; }
.ev :focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ev-heading, .ev-explore { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ev-heading { padding: 20px 0 17px; }
.ev .ev-kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.ev-heading-title .ev-kicker { margin-bottom: 4px; }
.ev-heading h1 { font: 400 clamp(28px,3vw,44px)/1.08 "Russo One", sans-serif; letter-spacing: -.03em; }
.ev-clocks { display: flex; gap: 20px; }
.ev-clocks span, .ev-clocks strong { display: block; }
.ev-clocks span { color: var(--sub); font-size: 13px; }
.ev-clocks strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-body {
  --inset: clamp(14px, 1.25vw, 20px);
  display: grid; grid-template-columns: minmax(0,1fr); gap: 10px;
}
.ev-live, .ev-board, .ev-card {
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper);
}
.ev-live {
  --live-inset: clamp(var(--inset), 2.5vw, 30px);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: stretch; overflow: hidden; font: 14px/1.3 var(--chart-font);
}
.ev-feature {
  --hero-shade: linear-gradient(90deg,#161022 0%,#1a1125ed 36%,#21163170 80%,#140e2333);
  min-width: 0; padding: 17px var(--live-inset);
  display: grid; align-content: center; justify-items: start; gap: 6px;
  background: var(--hero-shade), url("../img/background-2600.jpg") center 29% / cover;
  color: #fff;
  border-inline-end: 1px solid var(--rule);
}
.ev #ev-live-state { color: var(--mn-gold-strong); font: 700 12px/1.2 var(--chart-font); letter-spacing: .09em; }
#content .ev #ev-feature-name { color: #fff; font: 400 clamp(26px, 3vw, 42px)/1.05 "Russo One", sans-serif; }
#ev-feature-map { color: #eee5f7; font-size: 15px; }
.ev #ev-details { color: #291c0f; background: var(--mn-gold-strong); border-radius: 4px; margin-top: 3px; padding: 5px 12px; min-height: 34px; font-weight: 700; }
.ev #ev-details:hover { background: #ffc96c; }
.ev #ev-details:focus-visible { outline-color: #291c0f; }
#ev-details span { margin-left: 5px; }
.ev-upcoming { display: grid; min-width: 0; align-content: center; padding: 15px var(--live-inset); }
#content .ev .ev-upcoming h2 { color: var(--ink); font: 400 21px/1.1 "Russo One", sans-serif; }
#ev-up-list { margin-top: 6px; }
.ev .ev-up-row {
  display: grid; grid-template-columns: 49px minmax(0, 1fr) max-content; align-items: baseline; align-content: center;
  gap: 0 10px; min-height: 34px; padding: 3px 0; text-align: left; width: 100%;
  border-bottom: 1px solid var(--rule);
}
.ev-alternative:hover, .ev-up-row:hover strong,
.ev-up-row:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.ev-up-clock { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--gold); }
.ev-up-row strong { font-weight: 600; }
.ev-in { color: var(--sub); font-size: 12px; }
.ev-board { padding: 13px var(--inset); min-width: 0; }
.ev-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 23%, 300px); align-items: start;
  grid-template-areas: "heading filters" "explore legend" "chart card";
  gap: 4px 18px;
}
.ev-tools { grid-area: heading; }
.ev-chart { grid-area: chart; min-width: 0; }
#content .ev .ev-tools h2 { color: var(--ink); font: 400 23px/1.2 "Russo One",sans-serif; }
.ev-tools p, .ev-footnote { color: var(--sub); font: 13px/1.4 var(--chart-font); }
.ev-tools p { margin-top: 3px; }
.ev-filters { grid-area: filters; display: flex; flex-wrap: wrap; align-self: center; gap: 0 8px; font: 13px/1.2 var(--chart-font); }
.ev-filters button { min-height: 28px; padding: 2px 0; color: var(--sub); border-bottom: 2px solid transparent; }
.ev-filters button[aria-pressed="true"] { color: var(--gold); border-bottom-color: currentColor; }
.ev-filters button:hover { color: var(--ink); }
.ev .ev-legend {
  grid-area: legend; display: flex; flex-wrap: wrap; align-items: center; align-self: center;
  gap: 2px 8px; padding: 0; margin: 0; list-style: none;
  color: var(--sub); font: 12px/1.2 var(--chart-font);
}
.ev-legend li { display: inline-flex; align-items: center; gap: 5px; }
.ev-legend li::before {
  content: ""; width: 13px; height: 8px; border-radius: 2px; background: var(--swatch, var(--sub));
}
.ev-legend .classic { --swatch: var(--ink); }
.ev-legend .boss { --swatch: var(--purple); }
.ev-legend .gold { --swatch: var(--gold); }
.ev-legend .free::before {
  border: 1px solid var(--free);
  background: repeating-linear-gradient(120deg,var(--free) 0 1px,transparent 1px 4px);
}
.ev-explore { grid-area: explore; align-self: center; min-width: 0; gap: 8px; color: var(--sub); font: 13px/1.2 var(--chart-font); }
.ev-explore button { color: var(--gold); padding: 4px 0; white-space: nowrap; }
.ev-explore button:hover { text-decoration: underline; }
.ev-explore input { appearance: none; flex: 1; width: auto; min-width: 0; margin: 0; height: 27px; background: transparent; cursor: ew-resize; }
.ev-explore input::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: var(--chart-major); }
.ev-explore input::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; margin-top: -5px; border-radius: 50%; background: var(--gold); }
.ev-explore input::-moz-range-track { height: 5px; border-radius: 4px; background: var(--chart-major); }
.ev-explore input::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: var(--gold); }
.ev-explore output { color: var(--sub); padding: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev-scroll {
  --label: 169px; --hour: clamp(150px, 19vw, 270px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline-start: var(--label);
  background: var(--paper);
  scrollbar-width: thin; scrollbar-color: var(--chart-major) var(--chart-surface);
}
#ev-grid {
  position: relative; width: calc(var(--label) + 24 * var(--hour)); overflow: clip;
  font: 14px/1.2 var(--chart-font); font-variant-numeric: tabular-nums;
}
.ev-row { display: grid; grid-template-columns: var(--label) 1fr; border-bottom: 1px solid var(--chart-minor); }
.ev-event { min-height: 33px; }
.ev-label {
  position: sticky; left: 0; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 3px 10px;
  background: linear-gradient(var(--wash), var(--wash)), var(--paper);
  border-right: 1px solid var(--chart-minor); font-weight: 600; line-height: 1.2;
}
.ev-track {
  position: relative;
  background-image: repeating-linear-gradient(90deg,var(--chart-major) 0 1px,transparent 1px var(--hour)),
    repeating-linear-gradient(90deg,var(--chart-minor) 0 1px,transparent 1px calc(var(--hour)/2)),
    repeating-linear-gradient(90deg,var(--wash) 0 1px,transparent 1px calc(var(--hour)/4));
  background-position-x: calc(var(--hour) * var(--hour-offset, 0));
}
.ev-event:hover .ev-track { background-color: var(--wash); }
.ev-axis { min-height: 29px; color: var(--sub); font-size: 12px; }
.ev-axis .ev-label { border-inline-end: 0; }
.ev-axis .ev-track {
  background-image: repeating-linear-gradient(90deg, var(--chart-major) 0 1px, transparent 1px calc(var(--hour)/4));
  background-size: 100% 4px; background-position-y: bottom; background-repeat: repeat-x;
}
.ev-tick { position: absolute; inset-block: 0; width: 1px; }
.ev-tick::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: var(--sub); }
.ev-tick.ev-half::after { height: 5px; opacity: .7; }
.ev-tick-label { position: absolute; top: 1px; left: var(--tick-shift, 0px); transform: translateX(-50%); white-space: nowrap; }
.ev-tick small { display: block; font-size: 10px; }
.ev-clipped-time { visibility: hidden; }
.ev-tick:not(.ev-half) { color: var(--ink); font-weight: 700; }
.ev-load { min-height: 28px; color: var(--sub); font-size: 13px; }
.ev-load-bar { position: absolute; bottom: 0; background: var(--purple); opacity: .7; }
.ev-load-bar.multiple { background: var(--multiple); opacity: .95; }
.ev-group { min-height: 21px; border-bottom-color: var(--chart-major); background: var(--chart-heading); color: var(--ink); }
.ev-group .ev-label {
  font-size: 12px; font-weight: 700; width: max-content; min-width: 100%; border-right: 0; white-space: nowrap;
  background: var(--chart-heading);
}
.ev-group .ev-label::before { content: ""; width: 8px; height: 5px; border-radius: 1px; background: currentColor; }
.ev-group .ev-track { background: none; }
.ev-row.boss { color: var(--purple); }
.ev-event.gold { color: var(--gold); background-color: color-mix(in srgb, var(--gold) 5%, transparent); }
.ev-event.gold .ev-label { background-color: color-mix(in srgb, var(--gold) 5%, var(--paper)); }
.ev-row.other { color: var(--sub); }
.ev-row.classic { color: var(--ink); }
.ev-count { flex-shrink: 0; color: inherit; padding: 1px 4px; border-radius: 3px; background: var(--chart-heading); font-size: 11px; }
.ev .ev-spawn {
  position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 2px; padding: 0; color: inherit;
  font: 650 12px/1.1 var(--chart-font); white-space: nowrap; text-align: left;
}
.ev-spawn::before { content: ""; position: absolute; inset: 0; min-width: 38px; border-radius: 4px; }
.ev-duration { display: block; width: 100%; height: 8px; border-radius: 2px; background: currentColor; opacity: .95; overflow: hidden; }
.ev-admission { display: block; height: 100%; background: repeating-linear-gradient(120deg,var(--paper) 0 2px,currentColor 2px 4px); }
.ev .ev-spawn:hover, .ev .ev-spawn:focus-visible, .ev .ev-spawn.is-current { color: var(--ink); }
.ev-spawn.is-current .ev-duration { opacity: 1; }
.ev .ev-spawn[aria-pressed="true"] { color: var(--gold); }
.ev-event.ev-picked .ev-track { background-color: var(--wash); }
.ev-event.ev-picked .ev-label { color: var(--gold); }
.ev-gaps { min-height: 26px; color: var(--free); font-size: 13px; }
.ev-gap {
  position: absolute; top: 5px; height: 15px; border: 1px solid var(--free); border-radius: 2px;
  background: repeating-linear-gradient(120deg,var(--free) 0 1px,transparent 1px 4px);
}
.ev-time-layer { pointer-events: none; position: absolute; inset: 0 0 0 var(--label); }
.ev-time-line { position: absolute; top: 0; bottom: 0; z-index: 2; width: 1px; background: var(--gold); }
.ev-time-line::before { content: ""; position: absolute; top: 24px; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.ev .ev-footnote { margin-top: 6px; }
.ev-card {
  grid-area: card; position: sticky; top: 16px; scroll-margin-top: 16px; min-width: 0;
  padding: var(--inset); color: var(--ink); background: var(--chart-surface);
  font: 14px/1.4 var(--chart-font);
}
.ev #ev-back { display: none; }
#content .ev .ev-card h2 { color: var(--ink); font: 400 25px/1.2 "Russo One",sans-serif; margin: 5px 0 2px; }
.ev-card dt, .ev-card dd small, #ev-quantity { color: var(--sub); font-size: 13px; }
.ev-card dt { font-weight: 600; margin-top: 12px; }
.ev-card dd { margin-top: 4px; overflow-wrap: anywhere; }
.ev-card dd small { display: block; }
.ev #ev-again { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--rule); color: var(--gold); font-size: 13px; }
.ev-also { margin-top: 10px; font-size: 13px; }
.ev-also summary { display: flex; align-items: center; gap: 7px; width: fit-content; color: var(--sub); cursor: pointer; }
.ev-also summary::-webkit-details-marker { display: none; }
.ev-also summary::before {
  content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0;
  transform: rotate(-45deg);
}
.ev-also[open] summary::before { transform: rotate(45deg); }
#ev-also-list { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; }
.ev .ev-alternative { min-height: 28px; padding: 2px 4px; color: var(--purple); text-align: left; }
@media (min-width: 801px) and (max-height: 950px) {
  .ev-heading { padding-block: 6px; }
  .ev-heading h1 { font-size: 32px; }
  .ev-body { gap: 6px; }
  .ev-board { padding-block: 7px; }
  .ev-tools-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .ev-tools p { margin-top: 0; }
  .ev-layout { row-gap: 2px; }
  .ev-filters button { min-height: 24px; }
  .ev-explore input { height: 24px; }
  .ev-event { min-height: 28px; }
  .ev-load { min-height: 24px; }
  .ev-gaps { min-height: 22px; }
  .ev-gap { top: 3px; }
}
@media (max-width: 800px) {
  .mn-eventos-page .ev-brand { display: none; }
  body.mn-eventos-page #container { width: calc(100% - 28px); }
  .ev-heading { padding: 16px 0; gap: 8px; }
  .ev-heading h1 { font-size: 30px; }
  .ev-clocks { gap: 10px; }
  .ev-clocks strong { font-size: 17px; }
  .ev-clocks span { font-size: 11px; }
  .ev-body { --inset: clamp(14px,4vw,22px); gap: 16px; }
  .ev-layout {
    grid-template-columns: minmax(0, 1fr); row-gap: 8px;
    grid-template-areas: "heading" "filters" "legend" "explore" "chart" "card";
  }
  .ev-live { grid-template-columns: 1fr; }
  .ev-feature {
    --hero-shade: linear-gradient(90deg,#161022f5 0%,#1a1125df 54%,#21163188 100%);
    padding-block: 12px; border-inline-end: 0; border-bottom: 1px solid var(--rule);
  }
  .ev-upcoming { padding-block: 9px; }
  .ev .ev-up-row { min-height: 40px; align-content: center; }
  .ev-filters { gap: 0 14px; font-size: 14px; }
  .ev .ev-legend { gap: 4px 12px; font: 14px/1.35 var(--chart-font); }
  .ev-filters button, .ev-explore button, .ev #ev-details { min-height: 44px; }
  .ev-explore input { height: 36px; }
  .ev-scroll { --label: 102px; --hour: 116px; }
  .ev-event { min-height: 39px; }
  .ev-label { font-size: 14px; gap: 4px; padding-inline: 6px; }
  .ev-clocks { flex: none; }
  .ev-card { position: static; }
  .ev .ev-alternative { min-height: 44px; }
  .ev #ev-back { display: block; color: var(--purple); margin-top: 8px; padding: 8px 0; min-height: 44px; text-decoration: underline; }
}
@media (max-width: 480px) {
  .ev-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ev-clocks { gap: 20px; }
  .ev-clocks span, .ev-clocks strong { display: inline; }
  .ev-clocks span { margin-right: 5px; }
  .ev-filters { column-gap: 10px; }
}

