.trending-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 0 8px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
}
.trending-ticker.visible {
  display: flex;
  align-items: center;
  opacity: 1;
}
.trending-ticker.ticker-hidden {
  opacity: 0;
  pointer-events: none;
}
@media only screen and (max-width: 760px) {
  .trending-ticker {
    display: none !important;
  }
}
.trending-ticker .trending-ticker-label {
  position: absolute;
  top: 0px;
  left: 12px;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}
.trending-ticker .trending-ticker-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.trending-ticker .trending-ticker-inner::-webkit-scrollbar {
  display: none;
}
.trending-ticker .trending-ticker-inner {
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 85%, transparent 100%);
}

body.has-trending-ticker .main-content {
  padding-top: 40px;
}
@media only screen and (max-width: 760px) {
  body.has-trending-ticker .main-content {
    padding-top: 40px;
  }
}

.trending-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.trending-pill:hover, .trending-pill:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}
.trending-pill.trending-pill-top {
  border-color: rgba(255, 69, 69, 0.6);
  background: rgba(255, 69, 69, 0.15);
  color: #fff;
}
.trending-pill.trending-pill-top:hover, .trending-pill.trending-pill-top:focus {
  background: rgba(255, 69, 69, 0.25);
  border-color: #ff4545;
}
.trending-pill .trending-pill-emoji {
  font-size: 1.4em;
  line-height: 1;
  vertical-align: -0.1em;
}
.trending-pill .trending-pill-days {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}
.trending-pill.category-movies {
  border-color: rgba(220, 50, 50, 0.7);
  background: rgba(220, 50, 50, 0.5);
}
.trending-pill.category-movies:hover, .trending-pill.category-movies:focus {
  background: rgb(220, 50, 50);
  border-color: rgb(220, 50, 50);
}
.trending-pill.category-tv {
  border-color: rgba(100, 60, 200, 0.7);
  background: rgba(100, 60, 200, 0.5);
}
.trending-pill.category-tv:hover, .trending-pill.category-tv:focus {
  background: rgb(100, 60, 200);
  border-color: rgb(100, 60, 200);
}
.trending-pill.category-sport {
  border-color: rgba(30, 150, 50, 0.7);
  background: rgba(30, 150, 50, 0.5);
}
.trending-pill.category-sport:hover, .trending-pill.category-sport:focus {
  background: rgb(30, 150, 50);
  border-color: rgb(30, 150, 50);
}
.trending-pill.category-gaming {
  border-color: rgba(50, 120, 220, 0.7);
  background: rgba(50, 120, 220, 0.5);
}
.trending-pill.category-gaming:hover, .trending-pill.category-gaming:focus {
  background: rgb(50, 120, 220);
  border-color: rgb(50, 120, 220);
}
.trending-pill.category-tech {
  border-color: rgba(100, 100, 100, 0.7);
  background: rgba(60, 60, 60, 0.5);
}
.trending-pill.category-tech:hover, .trending-pill.category-tech:focus {
  background: rgb(80, 80, 80);
  border-color: rgb(100, 100, 100);
}
.trending-pill.category-music {
  border-color: rgba(220, 50, 180, 0.7);
  background: rgba(220, 50, 180, 0.5);
}
.trending-pill.category-music:hover, .trending-pill.category-music:focus {
  background: rgb(220, 50, 180);
  border-color: rgb(220, 50, 180);
}
.trending-pill.category-holiday {
  border-color: rgba(200, 150, 30, 0.7);
  background: rgba(200, 150, 30, 0.5);
}
.trending-pill.category-holiday:hover, .trending-pill.category-holiday:focus {
  background: rgb(200, 150, 30);
  border-color: rgb(200, 150, 30);
}
.trending-pill.category-cultural {
  border-color: rgba(200, 120, 50, 0.7);
  background: rgba(200, 120, 50, 0.5);
}
.trending-pill.category-cultural:hover, .trending-pill.category-cultural:focus {
  background: rgb(200, 120, 50);
  border-color: rgb(200, 120, 50);
}
.trending-pill.category-awareness {
  border-color: rgba(50, 180, 180, 0.7);
  background: rgba(50, 180, 180, 0.5);
}
.trending-pill.category-awareness:hover, .trending-pill.category-awareness:focus {
  background: rgb(50, 180, 180);
  border-color: rgb(50, 180, 180);
}
.trending-pill.category-astro {
  border-color: rgba(60, 60, 140, 0.7);
  background: rgba(20, 20, 80, 0.6);
}
.trending-pill.category-astro:hover, .trending-pill.category-astro:focus {
  background: rgb(40, 40, 120);
  border-color: rgb(60, 60, 140);
}
.trending-pill.category-awards {
  border-color: rgba(180, 150, 30, 0.7);
  background: rgba(180, 150, 30, 0.5);
}
.trending-pill.category-awards:hover, .trending-pill.category-awards:focus {
  background: rgb(180, 150, 30);
  border-color: rgb(180, 150, 30);
}
.trending-pill.category-national {
  border-color: rgba(30, 60, 120, 0.7);
  background: rgba(30, 60, 120, 0.5);
}
.trending-pill.category-national:hover, .trending-pill.category-national:focus {
  background: rgb(30, 60, 120);
  border-color: rgb(30, 60, 120);
}

.trending-dropdown-menu {
  z-index: 1031;
  min-width: 420px;
  padding: 6px 0;
}
.trending-dropdown-menu .trending-dropdown-grid {
  display: flex;
  flex-direction: column;
}

.trending-dropdown-item {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}
.trending-dropdown-item .trending-pill-emoji {
  font-size: 1.6em;
  vertical-align: -0.15em;
  margin-right: 2px;
}
.trending-dropdown-item:hover, .trending-dropdown-item:focus {
  background: #f5f5f5;
  color: #111;
  text-decoration: none;
}
.trending-dropdown-item .trending-dropdown-days {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}

.nav-trending > a {
  color: #ff4545 !important;
}
.nav-trending > a:hover, .nav-trending > a:focus {
  color: #ff1212 !important;
}

.trending-tray-backdrop {
  display: none !important;
}
@media only screen and (max-width: 760px) {
  .trending-tray-backdrop {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 399;
  }
  .trending-tray-backdrop.open {
    display: block !important;
  }
}

.trending-tray {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 68px;
  z-index: 400;
  background: #1a1a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  padding: 14px 14px 16px;
  transform: translateY(calc(100% + 68px));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
@media only screen and (max-width: 760px) {
  .trending-tray {
    display: block;
  }
}
.trending-tray.open {
  transform: translateY(0);
  visibility: visible;
}
.trending-tray .trending-tray-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.trending-tray .trending-tray-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 75vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.trending-tray .trending-tray-pills::-webkit-scrollbar {
  display: none;
}
.trending-tray .trending-tray-pills .trending-pill {
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  width: 100%;
  justify-content: space-between;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.trending-tray .trending-tray-pills .trending-pill .trending-pill-days {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-left: auto;
  opacity: 1;
  flex-shrink: 0;
}

.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.2s ease;
  pointer-events: none;
}
.share-overlay.share-overlay-active {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}
.share-overlay.share-overlay-active .share-sheet {
  transform: translateY(0);
}

.share-sheet {
  background: #1a1a2e;
  border-radius: 16px 16px 0 0;
  padding: 16px 20px 24px;
  max-width: 480px;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
  text-align: center;
}
.share-sheet h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
}

.share-sheet-handle {
  width: 40px;
  height: 4px;
  background: #555;
  border-radius: 2px;
  margin: 0 auto 12px;
}

.share-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.share-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 56px;
}

.share-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.15s ease;
}
.share-icon-circle:hover {
  transform: scale(1.1);
}

.share-icon-label {
  font-size: 11px;
  color: #aaa;
}
.share-icon-label.share-toast {
  color: #25D366;
  font-weight: 600;
}

.share-close {
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  margin-top: 4px;
}
.share-close:hover {
  color: #fff;
}

@media only screen and (width: 768px) and (height: 1024px) {
  .uv-bottom-right {
    bottom: 110px !important;
  }
}
@media only screen and (max-width: 760px) {
  .uv-bottom-right {
    bottom: 50px !important;
    right: 5px !important;
  }
}

html, body {
  height: 100%;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}

@media only screen and (max-width: 760px) {
  .btn, .dropdown-menu, .dropdown-menu > li > a,
  .navbar-nav > li > a, .navbar-toggle,
  .form-control, .input-group, label,
  .alert, .well, .breadcrumb {
    font-size: 16px;
  }
}
html {
  background-color: rgb(30, 30, 30);
}

body {
  background-color: #222;
  padding-top: 80px;
}

.main-content {
  color: white;
}
.main-content a {
  color: #ff4545;
}
.main-content a:hover, .main-content a:focus {
  color: white;
}

.navbar:fullscreen {
  display: none;
}
.navbar {
  z-index: 100;
}

.navbar-default {
  background-color: transparent;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  border: none;
  height: 50px;
  min-height: 50px;
}
@media only screen and (max-width: 760px) {
  .navbar-default {
    height: 44px;
    min-height: 44px;
  }
}
.navbar-default .navbar-nav > li > a {
  color: white;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #ff4545;
}

.navbar-collapse.collapse {
  display: flex !important;
  align-items: center;
}
.navbar-collapse.collapse > .nav.navbar-nav {
  flex-shrink: 0;
}
@media only screen and (max-width: 760px) {
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-collapse.collapse.in {
    display: block !important;
  }
}

.navbar-collapse.in, .navbar-collapsing.in {
  background-color: rgba(255, 255, 255, 0.9);
}
.navbar-collapse.in .navbar-nav > li > a, .navbar-collapsing.in .navbar-nav > li > a {
  color: black;
}

.navbar-toggle {
  color: white;
  border: none;
}

.navbar-nav {
  padding-top: 0;
}
.navbar-nav > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar .navbar-brand {
  padding: 10px 12px;
}
.navbar .navbar-brand img {
  height: 30px;
  width: auto;
}
@media only screen and (max-width: 760px) {
  .navbar .navbar-brand {
    padding: 8px 10px;
  }
  .navbar .navbar-brand img {
    height: 26px;
  }
}

#wrap {
  height: auto !important;
  min-height: 100%;
}

.toolbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: solid red 2px;
}

.main-content {
  padding: 10px 32px;
}
@media (min-width: 1400px) {
  .main-content {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media only screen and (max-width: 760px) {
  .main-content {
    padding: 8px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
}

p, td, th, li {
  font-weight: 400;
}

h1 {
  margin: 8px 5px 4px;
  font-size: 1.4em;
  color: #ff4545;
}
.event-list > h1 {
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.5;
  margin: 4px 5px 2px;
}

.event-list > section > h2 {
  font-size: 0.65em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.35;
  margin: 0 5px 4px;
}

h2 {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.75);
  margin: 5px 5px 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h3 {
  font-size: 1.2em;
  font-weight: bold;
  color: white;
  margin: 15px 0 5px;
}

#push,
#footer {
  height: 40px;
}

#footer {
  background-color: #f5f5f5;
}

.affiliate {
  margin: 30px;
}

@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
#search-form {
  width: 300px;
}

#search-form .popover.left .arrow {
  top: 20px;
}

.ui-autocomplete {
  position: fixed;
  z-index: 30000;
  background-color: white;
  border: solid gray 1px;
}

.at-vertical-menu {
  position: fixed;
  top: 60px;
}

.at4-follow {
  position: fixed;
  top: 60px;
}

.container .credit {
  margin: 10px 0;
}

.disclaimer {
  color: white;
  text-align: center;
  padding: 5px;
}

@media (max-width: 979px) {
  .navbar-text .pull-right {
    float: none;
    padding-left: 5px;
    padding-right: 5px;
  }
}
.navigation {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-end-message {
  text-align: center;
  padding: 24px 0 80px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

#events-upcoming {
  padding: 20px 0;
}

.event-list {
  padding-top: 4px;
  margin: 2px;
  top: 91px;
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
}
@media only screen and (max-width: 760px) {
  .event-list {
    margin: 0;
    padding: 0 6px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    top: 44px;
    overflow-x: hidden;
  }
}
@media only screen and (max-width: 760px) {
  .event-list h1 {
    margin: 0;
    padding: 2px 10px 0;
    font-size: 1.3em;
  }
}
@media only screen and (max-width: 760px) {
  .event-list h2 {
    margin: 2px 0 0;
    padding: 0 10px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
  }
}
.event-list .category-description {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
  margin: 0 0 4px;
  padding: 0 4px;
}
@media only screen and (max-width: 760px) {
  .event-list .category-description {
    padding: 0 10px;
    font-size: 0.8em;
  }
}

.scroll-loader {
  text-align: center;
  padding: 20px 0 80px;
}

.scroll-loader-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ff4545;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#next-event, #last-event {
  display: none;
}

#current-event {
  padding: 5px 0;
}

#social {
  background-color: #8c8c8c;
  background-color: rgba(200, 200, 255, 0.3);
  padding-left: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-width: 600px;
}

#social + .popover {
  max-width: 600px;
  padding: 0;
}

#social + .popover > .popover-content {
  padding-top: 0;
}

#social + .popover > h3.popover-title {
  background-color: #005fbf;
  color: white;
  font-weight: bold;
  border-bottom: 0;
}

.social-follow {
  padding-left: 40px;
  margin: 10px;
}

.social-header {
  padding: 5px 5px 5px 25px;
  text-align: left;
  font-weight: bold;
  margin-left: -14px;
  margin-right: -14px;
  color: #005fbf;
  background-color: #aad4ff;
  border-bottom: solid blue 2px;
  border-top: solid blue 2px;
}

.social-close {
  text-align: right;
  margin: 10px;
}

.event-list #social {
  background-color: initial;
}

#disclaimer {
  bottom: 5px;
  left: 5px;
  position: absolute;
  z-index: 1000;
  font-size: 0.8em;
  color: #ccc;
  text-shadow: #000 1px 1px 2px;
}

#arrow_left,
#arrow_right {
  bottom: 30px;
  right: 30px;
  height: 40px;
  width: 30px;
  position: absolute;
  z-index: 1000;
}

#arrow_left {
  right: 86px;
}

#arrow_left:hover, #arrow_right:hover {
  bottom: 29px;
}

#arrow_left:active, #arrow_right:active {
  bottom: 28px;
}

#about.well {
  background-color: rgba(255, 255, 255, 0.6);
}

#about h3 {
  color: white;
}

/* Isotope */
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  transition-duration: 0.8s;
}

.isotope {
  transition-property: height, width;
}

.isotope .isotope-item {
  transition-property: transform, opacity;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  transition-duration: 0s;
}

.isotope.infinite-scrolling {
  transition: none;
}

.gutter-sizer {
  width: 2%;
  min-width: 5px;
  max-width: 30px;
}

.column-sizer {
  width: 300px;
}
@media only screen and (max-width: 1200px) {
  .column-sizer {
    width: calc(25% - 10px);
  }
}
@media only screen and (max-width: 900px) {
  .column-sizer {
    width: calc(33.333% - 10px);
  }
}

.isit {
  padding: 50px;
  text-align: center;
  font-size: xx-large;
}

.isit-yes, .isit-no {
  padding: 20px;
  text-align: center;
  font-size: 30vh;
}

h2 + .event-card-grid {
  margin-top: 0;
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  padding: 10px 0 30px;
}
@media only screen and (max-width: 760px) {
  .event-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.event-card-grid .event-card {
  width: 100%;
  float: none;
}

.event-card-grid ~ h2,
h2:has(+ .event-card-grid) {
  font-size: 1.1em;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 24px 0 8px;
}

@media only screen and (max-width: 660px) {
  #events-upcoming {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }
  #events-upcoming .column-sizer {
    display: none;
  }
}
.event-card {
  float: left;
  position: relative;
  height: 250px;
  width: 300px;
  margin: 2px;
  padding: 0;
  background-color: #333;
  overflow: visible;
  border-radius: 12px;
}
@media only screen and (max-width: 1200px) {
  .event-card {
    width: calc(25% - 10px);
    height: auto;
    aspect-ratio: 300/250;
  }
}
@media only screen and (max-width: 900px) {
  .event-card {
    width: calc(33.333% - 10px);
  }
}
@media only screen and (max-width: 660px) {
  .event-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 300/250;
    float: none;
    margin: 0;
    overflow: hidden;
  }
}
.event-card:hover {
  z-index: 20;
}
.event-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1) translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-in-out;
  will-change: transform;
}
@media only screen and (max-width: 600px) {
  .event-card img {
    max-width: 100%;
    min-height: 130px;
  }
}
@media only screen and (max-width: 760px) {
  .event-card:hover .event-days {
    background-image: none;
  }
}
.event-card:hover .event-date {
  opacity: 1;
  transform: translateY(0);
}
@media only screen and (max-width: 760px) {
  .event-card:hover .event-date {
    transform: none;
  }
}
.event-card:hover .event-badge-unconfirmed,
.event-card:hover .event-badge-tbd,
.event-card:hover .event-badge-cancelled,
.event-card:hover .event-badge-postponed {
  top: 72px;
  transition: top 0.25s ease-in-out;
}
@media only screen and (max-width: 760px) {
  .event-card:hover .event-badge-unconfirmed,
  .event-card:hover .event-badge-tbd,
  .event-card:hover .event-badge-cancelled,
  .event-card:hover .event-badge-postponed {
    top: 37px;
  }
}
.event-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
  will-change: transform;
}
.event-card .card-inner:hover {
  transform: scale(1.12);
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 660px) {
  .event-card .card-inner:hover {
    transform: none;
  }
}
.event-card a {
  display: block;
  text-decoration: none;
  color: black;
  width: 100%;
  height: 100%;
}
.event-card .event-days {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 3px 12px 10px 5px;
  z-index: 11;
  color: white;
  font-size: 1.9em;
  font-weight: 700;
  text-align: right;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  transition: font 0.25s ease-in-out;
  will-change: font;
}
@media only screen and (max-width: 760px) {
  .event-card .event-days {
    font-size: 1.4em;
    padding: 2px 4px 6px;
  }
}
.event-card .event-days.countdown-live {
  font-variant-numeric: tabular-nums;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 8px;
}
@media only screen and (max-width: 760px) {
  .event-card .event-days.countdown-live {
    gap: 3px;
    padding-top: 4px;
  }
}
.event-card .event-days .cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.event-card .event-days .cd-num {
  font-size: 1em;
}
.event-card .event-days .cd-label {
  font-size: 0.4em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.event-card .event-days .cd-sep {
  font-size: 0.7em;
  opacity: 0.5;
  align-self: flex-start;
  padding-top: 0.1em;
}
.event-card .event-overlay {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAQAAAAnZu5uAAAAEklEQVR4nGNi8IVBJgY4IMgEAEsyAYxT35K7AAAAAElFTkSuQmCC);
  background: rgba(0, 0, 0, 0.2);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}
@media only screen and (max-width: 760px) {
  .event-card .event-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    background-color: transparent;
  }
}
.event-card .event-overlay:hover {
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease-in-out;
}
@media only screen and (max-width: 760px) {
  .event-card .event-overlay:hover {
    background: none;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  }
}
.event-card .event-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 24px 8px 6px;
  color: white;
  font-size: 1.15em;
  font-weight: 500;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7);
  z-index: 11;
  line-height: 1.25;
}
@media only screen and (max-width: 760px) {
  .event-card .event-title {
    position: static;
    padding: 4px 6px 1px;
    font-size: 1em;
  }
}
.event-card .event-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  z-index: 10;
  pointer-events: none;
}
@media only screen and (max-width: 760px) {
  .event-card .event-overlay::after {
    display: none;
  }
}
.event-card .event-subtitle {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 8px 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95em;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  z-index: 12;
}
@media only screen and (max-width: 760px) {
  .event-card .event-subtitle {
    position: static;
    padding: 0 6px 1px;
    font-size: 0.85em;
  }
}
.event-card {
  /* When subtitle is present, push title up to make room */
}
.event-card .event-title.has-subtitle {
  bottom: 20px;
  padding-bottom: 2px;
}
.event-card {
  /* When trailer button is present, prevent title/subtitle from clipping under it */
}
.event-card:has(.card-trailer-btn) .event-title, .event-card:has(.card-trailer-btn) .event-subtitle {
  padding-right: 52px;
}
.event-card .event-date {
  display: block;
  position: absolute;
  top: 52px;
  right: 0;
  margin: 0;
  padding: 2px 8px;
  white-space: nowrap;
  overflow: hidden;
  z-index: 12;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78em;
  font-weight: 400;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media only screen and (max-width: 760px) {
  .event-card .event-date {
    position: static;
    opacity: 1;
    transform: none;
    text-align: left;
    padding: 0 6px 4px;
    font-size: 0.75em;
    transition: none;
  }
}
.event-card .event-badge-category {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
  z-index: 12;
  text-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.event-card .event-badge-category.category-movies {
  background: rgba(220, 50, 50, 0.6);
  border-color: rgba(220, 50, 50, 0.7);
}
.event-card .event-badge-category.category-tv {
  background: rgba(100, 60, 200, 0.6);
  border-color: rgba(100, 60, 200, 0.7);
}
.event-card .event-badge-category.category-sport {
  background: rgba(30, 150, 50, 0.6);
  border-color: rgba(30, 150, 50, 0.7);
}
.event-card .event-badge-category.category-gaming {
  background: rgba(50, 120, 220, 0.6);
  border-color: rgba(50, 120, 220, 0.7);
}
.event-card .event-badge-category.category-tech {
  background: rgba(60, 60, 60, 0.7);
  border-color: rgba(100, 100, 100, 0.7);
}
.event-card .event-badge-category.category-music {
  background: rgba(220, 50, 180, 0.6);
  border-color: rgba(220, 50, 180, 0.7);
}
.event-card .event-badge-category.category-holiday {
  background: rgba(200, 150, 30, 0.6);
  border-color: rgba(200, 150, 30, 0.7);
}
.event-card .event-badge-category.category-cultural {
  background: rgba(200, 120, 50, 0.6);
  border-color: rgba(200, 120, 50, 0.7);
}
.event-card .event-badge-category.category-awareness {
  background: rgba(50, 180, 180, 0.6);
  border-color: rgba(50, 180, 180, 0.7);
}
.event-card .event-badge-category.category-astro {
  background: rgba(20, 20, 80, 0.7);
  border-color: rgba(60, 60, 140, 0.7);
}
.event-card .event-badge-category.category-awards {
  background: rgba(180, 150, 30, 0.6);
  border-color: rgba(180, 150, 30, 0.7);
}
.event-card .event-badge-category.category-national {
  background: rgba(30, 60, 120, 0.6);
  border-color: rgba(30, 60, 120, 0.7);
}
.event-card .event-badge-category.category-politics {
  background: rgba(120, 30, 30, 0.6);
  border-color: rgba(120, 30, 30, 0.7);
}
@media only screen and (max-width: 760px) {
  .event-card .event-badge-category {
    top: 4px;
    left: 4px;
    font-size: 0.55em;
    padding: 3px 10px;
  }
}
.event-card .event-badge-unconfirmed {
  position: absolute;
  top: 55px;
  right: 6px;
  background: rgba(255, 165, 0, 0.85);
  color: white;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
  z-index: 12;
  text-shadow: none;
  transition: top 0.25s ease-in-out;
}
@media only screen and (max-width: 760px) {
  .event-card .event-badge-unconfirmed {
    top: 37px;
    right: 4px;
    font-size: 0.4em;
  }
}
.event-card:has(.event-badge-tbd) .event-days {
  color: #ff9800;
}
.event-card .event-badge-tbd,
.event-card .event-badge-cancelled {
  position: absolute;
  top: 55px;
  right: 6px;
  background: rgba(220, 50, 50, 0.85);
  color: white;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
  z-index: 12;
  text-shadow: none;
  transition: top 0.25s ease-in-out;
}
@media only screen and (max-width: 760px) {
  .event-card .event-badge-tbd,
  .event-card .event-badge-cancelled {
    top: 37px;
    right: 4px;
    font-size: 0.4em;
  }
}
.event-card .event-badge-postponed {
  position: absolute;
  top: 55px;
  right: 6px;
  background: rgba(120, 120, 120, 0.85);
  color: white;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 12px;
  z-index: 12;
  text-shadow: none;
  transition: top 0.25s ease-in-out;
}
@media only screen and (max-width: 760px) {
  .event-card .event-badge-postponed {
    top: 32px;
    right: 4px;
    font-size: 0.4em;
  }
}

.card-trailer-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, #e62222 0%, #b30000 100%);
  border: none;
  border-radius: 20px;
  padding: 0;
  width: 38px;
  height: 38px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.9;
  transition: width 0.25s ease-in-out, gap 0.25s ease-in-out, padding 0.25s ease-in-out, opacity 0.2s ease-in-out, transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), 0 2px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.card-trailer-btn:hover, .card-trailer-btn:focus {
  width: auto;
  gap: 4px;
  padding: 0 12px 0 6px;
  background: linear-gradient(180deg, #ff3333 0%, #cc0000 100%);
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.card-trailer-btn:active {
  transform: translateY(1px) scale(0.97);
  background: linear-gradient(180deg, #aa0000 0%, #880000 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.card-trailer-btn .card-trailer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.card-trailer-btn .card-trailer-label {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  transition: max-width 0.25s ease, opacity 0.2s ease;
}
.card-trailer-btn:hover .card-trailer-label, .card-trailer-btn:focus .card-trailer-label {
  max-width: 60px;
  opacity: 1;
}

.card-live-btn.card-live-expanded {
  width: auto !important;
  gap: 4px !important;
  padding: 0 12px 0 6px !important;
  opacity: 1 !important;
  animation: live-pulse 2s ease-in-out infinite;
}
.card-live-btn.card-live-expanded .card-trailer-label {
  max-width: 80px !important;
  opacity: 1 !important;
}

.card-live-btn {
  background: linear-gradient(180deg, rgba(230, 34, 34, 0.85) 0%, rgba(170, 0, 0, 0.85) 100%) !important;
}
.card-live-btn:hover, .card-live-btn:focus {
  background: rgba(255, 0, 0, 0.9) !important;
}

.card-live-btn .card-trailer-icon svg circle {
  fill: #fff;
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.date-countdowns {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.date-countdowns h2 {
  font-size: 1.1em;
  margin-bottom: 12px;
}
.date-countdowns .date-countdown-list {
  columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  .date-countdowns .date-countdown-list {
    columns: 3;
  }
}
.date-countdowns .date-countdown-list li {
  padding: 4px 0;
}
.date-countdowns .date-countdown-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85em;
}
.date-countdowns .date-countdown-list li a:hover {
  color: #fff;
}

.period-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.period-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9em;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.period-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.event-others {
  margin: 40px auto auto;
}
.event-others table {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
}
.event-others th, .event-others td {
  padding: 8px 12px;
  color: white;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.event-others thead tr th, .event-others thead tr td {
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}
.event-others tbody tr:hover th, .event-others tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.06);
}
.event-others tbody tr.current th, .event-others tbody tr.current td {
  font-weight: 700;
  color: #ff4545;
}
.event-others tr:last-child th, .event-others tr:last-child td {
  border-bottom: none;
}
.event-others a {
  color: white;
  text-decoration: none;
}
.event-others a:hover {
  text-decoration: underline;
}
.event-others .countdown-link {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.5);
}
.event-others .countdown-link:hover {
  color: #ff4545;
}

.when-is {
  font-size: 0.95em;
}
.when-is .whenis-image {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 0 20px;
}
.when-is .whenis-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.when-is .whenis-hero-broadcaster {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  margin-top: 8px;
}
.when-is .whenis-hero-broadcaster svg {
  vertical-align: -2px;
  margin-right: 4px;
  opacity: 0.7;
}
.when-is h1#event-header {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  padding: 0 20px 12px;
  font-size: 1.8em;
  text-align: center;
  border-bottom: solid #ff4545 2px;
}
@media only screen and (max-width: 760px) {
  .when-is h1#event-header {
    font-size: 1.4rem;
  }
}
.when-is h2 {
  margin-left: 0;
  margin-right: 0;
  padding-top: 15px;
  font-size: 1.4em;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: white;
}
@media only screen and (max-width: 760px) {
  .when-is h2 {
    font-size: 1.1rem;
    padding-top: 5px;
  }
}
@media only screen and (max-width: 760px) {
  .when-is p {
    font-size: 0.95rem;
  }
}
.when-is form {
  padding: 15px;
}
@media only screen and (max-width: 760px) {
  .when-is form {
    padding: 5px;
  }
}
.when-is h3 {
  margin-top: 30px;
}
.when-is h4 {
  margin-top: 10px;
  margin-bottom: 5px;
}
.when-is .well {
  padding: 10px;
  color: white;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.when-is .when-is #title, .when-is .when-is #details {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}
.when-is #title img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
}
.when-is .countdown {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 10px;
  margin: 15px auto;
  max-width: 400px;
  text-align: center;
}
.when-is #event-date-start, .when-is #event-date-end {
  font-size: 3em;
}
@media only screen and (max-width: 760px) {
  .when-is #event-date-start, .when-is #event-date-end {
    font-size: 4vh;
  }
}
.when-is #event-date-start, .when-is #event-date-end {
  color: white;
  font-weight: bold;
  text-align: center;
}
.when-is #event-date-start a {
  color: white;
  text-decoration: none;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
}
.when-is #event-date-start a:hover {
  border-bottom-color: #ff4545;
}
.when-is #event-duration-separator {
  text-align: center;
  font-size: 1.5em;
}

.event-alternate-names, .event-tags {
  font-size: 0.86em;
  color: #ccc;
}

ul.search-results li {
  padding-bottom: 10px;
}

.search-description {
  margin-bottom: 15px;
}

.mobile-footer-banner {
  z-index: 100;
  text-align: center;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  position: fixed;
  background-color: black;
}
@media only screen and (max-width: 760px) {
  .mobile-footer-banner {
    height: 50px;
  }
}
@media only screen and (width: 768px) and (height: 1024px) {
  .mobile-footer-banner {
    height: 90px;
  }
}

@media only screen and (max-width: 1024px) {
  .navbar-collapse {
    display: none !important;
  }
  .navbar-collapse.in {
    display: block !important;
  }
  .navbar-toggle {
    display: block;
  }
}
@media only screen and (max-width: 760px) {
  .navbar-toggle {
    display: none !important;
  }
}
.bottom-nav {
  display: none;
}
@media only screen and (max-width: 760px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 401;
    background: rgb(30, 30, 30);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1px);
  }
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 4px 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.7em;
  font-weight: 500;
  gap: 4px;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.bottom-nav a svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}
.bottom-nav a span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.bottom-nav a::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 56px;
  height: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), background 0.2s;
}
.bottom-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.bottom-nav a:active::after {
  width: 60px;
  height: 60px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0s;
}
.bottom-nav a:not(:active)::after {
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}
.bottom-nav a:hover, .bottom-nav a:focus {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.bottom-nav a:hover::before, .bottom-nav a:focus::before {
  transform: translateX(-50%) scaleX(1);
}
.bottom-nav a.active {
  color: #ff4545;
}
.bottom-nav a.active::before {
  transform: translateX(-50%) scaleX(1);
  background: rgba(255, 69, 69, 0.15);
}
.bottom-nav a.active svg {
  transform: translateY(-1px);
}
.bottom-nav a.active span {
  font-weight: 600;
}
.bottom-nav a i {
  font-size: 1.5em;
}

@keyframes m3-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes m3-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}
@keyframes m3-half-spin {
  to {
    transform: rotate(180deg);
  }
}
@keyframes m3-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes m3-shake {
  0%, 100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
}
.bottom-nav a svg.m3-spin, .desktop-pills a svg.m3-spin {
  animation: m3-spin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.bottom-nav a svg.m3-bounce, .desktop-pills a svg.m3-bounce {
  animation: m3-bounce 0.4s ease;
}
.bottom-nav a svg.m3-half-spin, .desktop-pills a svg.m3-half-spin {
  animation: m3-half-spin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bottom-nav a svg.m3-pop, .desktop-pills a svg.m3-pop {
  animation: m3-pop 0.35s ease;
}
.bottom-nav a svg.m3-shake, .desktop-pills a svg.m3-shake {
  animation: m3-shake 0.4s ease;
}

#menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 650;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
#menu-panel.menu-panel-open {
  transform: translateX(0);
}
#menu-panel.menu-panel-hidden {
  display: none;
}

.menu-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.menu-panel-header .panel-title {
  margin: 0;
  color: black;
  font-size: 1.1em;
  font-weight: 600;
}
.menu-panel-header button {
  background: none;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  opacity: 0.5;
  color: #333;
}
.menu-panel-header button:hover {
  opacity: 1;
}

.menu-panel-body {
  padding: 15px;
}

.menu-panel-nav {
  display: flex;
  flex-direction: column;
}
.menu-panel-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #333;
  text-decoration: none;
  font-size: 0.95em;
  border-radius: 4px;
  transition: background 0.15s;
}
.menu-panel-nav a:hover, .menu-panel-nav a:focus {
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #ff4545;
}
.menu-panel-nav a i {
  width: 20px;
  text-align: center;
  margin-right: 4px;
}
.menu-panel-nav .panel-nav-heading {
  display: block;
  color: #595959;
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0 2px 12px;
  padding: 0;
}
.menu-panel-nav .panel-nav-heading:first-child {
  margin-top: 6px;
}

.ongoing-events {
  margin-bottom: 24px;
}
.ongoing-events h2 {
  font-size: 1.2em;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.ongoing-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 768px) {
  .ongoing-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .ongoing-events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ongoing-event {
  margin-bottom: 0;
}

.ongoing-event-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.ongoing-event-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.ongoing-event-link:hover .ongoing-event-name {
  color: #fff;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}
.ongoing-event-link img {
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.ongoing-event-info {
  flex: 1;
  min-width: 0;
}

.ongoing-event-name {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ongoing-event-badge {
  font-size: 0.6em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 1px 6px;
  border-radius: 8px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ongoing-event-badge.category-movies {
  background: rgba(220, 50, 50, 0.5);
  border-color: rgba(220, 50, 50, 0.6);
}
.ongoing-event-badge.category-tv {
  background: rgba(100, 60, 200, 0.5);
  border-color: rgba(100, 60, 200, 0.6);
}
.ongoing-event-badge.category-sport {
  background: rgba(30, 150, 50, 0.5);
  border-color: rgba(30, 150, 50, 0.6);
}
.ongoing-event-badge.category-gaming {
  background: rgba(50, 120, 220, 0.5);
  border-color: rgba(50, 120, 220, 0.6);
}
.ongoing-event-badge.category-tech {
  background: rgba(60, 60, 60, 0.6);
  border-color: rgba(100, 100, 100, 0.6);
}
.ongoing-event-badge.category-music {
  background: rgba(220, 50, 180, 0.5);
  border-color: rgba(220, 50, 180, 0.6);
}
.ongoing-event-badge.category-holiday {
  background: rgba(200, 150, 30, 0.5);
  border-color: rgba(200, 150, 30, 0.6);
}
.ongoing-event-badge.category-cultural {
  background: rgba(200, 120, 50, 0.5);
  border-color: rgba(200, 120, 50, 0.6);
}
.ongoing-event-badge.category-awareness {
  background: rgba(50, 180, 180, 0.5);
  border-color: rgba(50, 180, 180, 0.6);
}
.ongoing-event-badge.category-astro {
  background: rgba(20, 20, 80, 0.6);
  border-color: rgba(60, 60, 140, 0.6);
}
.ongoing-event-badge.category-awards {
  background: rgba(180, 150, 30, 0.5);
  border-color: rgba(180, 150, 30, 0.6);
}
.ongoing-event-badge.category-national {
  background: rgba(30, 60, 120, 0.5);
  border-color: rgba(30, 60, 120, 0.6);
}
.ongoing-event-badge.category-calendar {
  background: rgba(100, 100, 100, 0.5);
  border-color: rgba(100, 100, 100, 0.6);
}
.ongoing-event-badge.category-time {
  background: rgba(80, 80, 80, 0.5);
  border-color: rgba(80, 80, 80, 0.6);
}

.ongoing-event-progress {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}
.ongoing-event-progress .progress-bar {
  background: #ff4545;
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.ongoing-event-days {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.6);
}

.year-progress {
  margin-bottom: 8px;
}
.year-progress .ongoing-event-progress {
  margin-top: 6px;
}

.year-progress-label {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

.day-navigation {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.day-navigation a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95em;
}
.day-navigation a:hover {
  color: #fff;
}

.day-navigation--top {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.day-navigation--top a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1em;
}
.day-navigation--top a:hover {
  color: #fff;
}

.date-picker-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.date-picker {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  font-size: 0.9em;
  cursor: pointer;
  color-scheme: dark;
}
.date-picker:hover, .date-picker:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.date-picker-prev, .date-picker-next {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 6px;
  cursor: pointer;
  font-size: 0.85em;
  line-height: 1;
  margin: 0 -2px;
}
.date-picker-prev:hover, .date-picker-next:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.date-picker-prev {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.date-picker-next {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.date-picker {
  border-radius: 0;
}

.year-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 0.95em;
}
.year-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.year-nav a:hover {
  color: #fff;
}
.year-nav strong {
  color: #fff;
}

.category-pills {
  display: flex;
  gap: 0;
  padding: 3px 4px;
  background: rgba(45, 45, 60, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  position: relative;
}
.category-pills::-webkit-scrollbar {
  display: none;
}
@supports not (backdrop-filter: blur(1px)) {
  .category-pills {
    background: rgba(45, 45, 60, 0.92);
  }
}

.mobile-category-pills {
  display: none;
}
@media only screen and (max-width: 760px) {
  .mobile-category-pills {
    display: none;
  }
  .mobile-category-pills.bottom-pills-visible {
    display: block;
  }
}

.category-pills-scroll {
  position: relative;
  display: flex;
  max-width: calc(100vw - 32px);
  pointer-events: auto;
}
.category-pills-scroll::before, .category-pills-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.category-pills-scroll::before {
  left: 0;
  border-radius: 100px 0 0 100px;
  background: linear-gradient(to right, rgba(45, 45, 60, 0.9), transparent);
}
.category-pills-scroll::after {
  right: 0;
  border-radius: 0 100px 100px 0;
  background: linear-gradient(to left, rgba(45, 45, 60, 0.9), transparent);
}
.category-pills-scroll.can-scroll-left::before {
  opacity: 1;
}
.category-pills-scroll.can-scroll-right::after {
  opacity: 1;
}

.category-pills-wrapper {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
@media only screen and (max-width: 760px) {
  .category-pills-wrapper {
    top: auto;
    bottom: calc(79px + env(safe-area-inset-bottom, 0px));
    z-index: 800;
  }
}

.category-pill {
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, background 0.2s ease;
}
.category-pill:hover, .category-pill:focus, .category-pill:active {
  color: rgba(255, 200, 200, 0.9);
  background: rgba(255, 50, 50, 0.15);
  text-decoration: none;
}
.category-pill.active {
  color: #fff;
  font-weight: 600;
}

.category-pill-slider {
  position: absolute;
  top: 3px;
  height: calc(100% - 6px);
  background: rgba(255, 50, 50, 0.85);
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(255, 50, 50, 0.3);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .category-pill-slider {
    transition: none;
  }
}

#browse-content {
  transition: opacity 0.15s ease;
  position: relative;
  min-height: 200px;
}
#browse-content.htmx-swapping {
  opacity: 0;
}

.browse-loader {
  display: none;
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}
.event-list.is-loading .browse-loader {
  display: block;
}

.browse-loader-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff4545;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.countdown-fab-group {
  display: none;
}
@media only screen and (max-width: 760px) {
  .countdown-fab-group {
    display: flex;
    flex-direction: row;
    gap: 6px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 399;
  }
}

.countdown-fab {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.8);
}
.countdown-fab svg {
  width: 18px;
  height: 18px;
}
.countdown-fab:hover, .countdown-fab:focus {
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

.calculator-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}
.calculator-page select option {
  background: #1e1e1e;
  color: #fff;
}

.calculator-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}
.calculator-breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.calculator-breadcrumb a:hover {
  color: #ff4545;
}
.calculator-breadcrumb span {
  margin: 0 4px;
}

.calculator-facts {
  margin-bottom: 30px;
}
.calculator-facts h2 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.fact-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 16px;
}
.fact-item .fact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.fact-item .fact-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.calculator-events {
  margin-bottom: 30px;
}
.calculator-events h2 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #fff;
}

.calculator-related {
  margin-bottom: 30px;
}
.calculator-related h2 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #fff;
}

.related-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.related-date-card {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 14px;
  text-decoration: none;
  color: #ddd;
  transition: border-color 0.15s, background 0.15s;
}
.related-date-card:hover {
  border-color: #ff4545;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
}
.related-date-card .related-date-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.related-date-card .related-date-sublabel {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.calculator-faq {
  margin-bottom: 30px;
}
.calculator-faq h2 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #fff;
}
.calculator-faq .faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}
.calculator-faq .faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #ddd;
}
.calculator-faq .faq-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.evp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.trailer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trailer-overlay-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.trailer-overlay-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.trailer-overlay-close:hover {
  color: #FFD700;
}

.trailer-overlay-embed {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.trailer-overlay-embed .plyr {
  border-radius: 8px;
}
.trailer-overlay-embed > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.trailer-overlay-embed:not(:has(.plyr)) {
  padding-bottom: 56.25%;
  height: 0;
}

.trailer-overlay .plyr {
  --plyr-color-main: #ff2d2d;
  --plyr-video-control-color: #fff;
  --plyr-video-control-background-hover: rgba(255, 45, 45, 0.8);
}

.trailer-cta-bar {
  margin-top: 8px;
}
.trailer-cta-bar .trailer-cta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: background 0.2s;
}
.trailer-cta-bar .trailer-cta-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}
.trailer-cta-bar .trailer-cta-icon {
  flex-shrink: 0;
  color: #ff2d2d;
}
.trailer-cta-bar .trailer-cta-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
}
.trailer-cta-bar .trailer-cta-text strong {
  color: #fff;
}
.trailer-cta-bar .trailer-cta-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  background: #ff2d2d;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.trailer-end-screen {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 8px;
}

.trailer-end-inner {
  text-align: center;
  padding: 24px;
}

.trailer-end-title {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .trailer-end-title {
    font-size: 16px;
  }
}

.trailer-end-btn,
a.trailer-end-btn,
a.trailer-end-btn:visited,
a.trailer-end-btn:active {
  display: inline-block;
  padding: 12px 32px;
  background: #ff2d2d;
  color: #fff !important;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.trailer-end-btn:hover,
a.trailer-end-btn:hover,
a.trailer-end-btn:visited:hover,
a.trailer-end-btn:active:hover {
  background: #e02020;
  color: #fff !important;
  text-decoration: none;
  transform: scale(1.03);
}

.trailer-end-replay {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #aaa;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}
.trailer-end-replay:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.trailer-overlay-title {
  color: #aaa;
  text-align: center;
  font-size: 13px;
  margin: 8px 0 0;
}

.trailer-ad-slot {
  width: 100%;
  min-height: 0;
  text-align: center;
  overflow: hidden;
}
.trailer-ad-slot.trailer-ad-top {
  margin-bottom: 8px;
}
.trailer-ad-slot.trailer-ad-bottom {
  margin-top: 8px;
}
.trailer-ad-slot ins {
  display: block;
}

@media (max-width: 480px) {
  .trailer-cta-bar .trailer-cta-link {
    gap: 6px;
    padding: 6px 10px;
  }
  .trailer-cta-bar .trailer-cta-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}
