.conference-video-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.conference-background-video,
.conference-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.conference-background-video {
  object-fit: cover;
}

.conference-video-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
}

.conference-video-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(700px, 88vw);
  margin: 0 auto;
  padding: 4rem 0;
  color: #f0c94d;
  text-align: center;
}

.conference-centered-mark {
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(38rem, 72vw);
  max-height: 42svh;
  object-fit: contain;

  mix-blend-mode: screen;
  filter: saturate(0.9) sepia(0.2);
}

.conference-modal-statement {
  width: 100%;
  margin: 0;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 0.9;
  text-align: left;
  margin-bottom: 1.25rem;
}

.conference-mark {
  display: block;
  width: min(30rem, 78vw);
  max-height: 13rem;
  object-fit: contain;
  margin-bottom: 2rem;
  mix-blend-mode: screen;
  filter: saturate(0.9) sepia(0.2);
}

.conference-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.9;
}

.conference-name img {
  width: clamp(5rem, 13vw, 9rem);
  height: auto;
  filter: brightness(0) saturate(100%) invert(78%) sepia(68%) saturate(650%) hue-rotate(356deg) brightness(98%) contrast(91%);
}

.conference-date {
  margin: 0.4rem 0 2.8rem;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.95;
}

.conference-register-button {
  padding: 0.7rem 2.2rem;
  border: 3px solid currentColor;
  color: inherit;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1;
  text-decoration: none;
}

@media (max-width: 800px) {
  .conference-video-content {
    width: 84vw;
    padding: 3rem 0;
  }

  .conference-mark {
    width: 85vw;
    max-height: 10rem;
  }
}

.conference-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: transparent;
  pointer-events: none;
}

.conference-modal[hidden] {
  display: none;
}

.conference-modal-window {
  position: relative;
  width: min(560px, 92vw);
  padding: 0 1.25rem 1.25rem;
  background: #c0c0c0;
  color: #111113;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: 2px 2px 0 #000000;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  pointer-events: auto;
}

.conference-modal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -1.25rem 1.25rem;
  padding: 0.25rem 0.35rem 0.25rem 0.55rem;
  background: #000080;
  color: #ffffff;
  cursor: move;
  touch-action: none;
}

.conference-modal-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.conference-modal-title img {
  width: 4.2rem;
  height: 1.55rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.conference-modal-minimize {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #111113;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 0.75;
  cursor: pointer;
}

.conference-modal.minimized .conference-modal-body {
  display: none;
}

.conference-modal.minimized .conference-modal-window {
  width: min(520px, 92vw);
  padding-bottom: 0;
}

.conference-modal-close {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #111113;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 0.85;
  cursor: pointer;
}

.conference-modal-status {
  margin: 0.6rem 0 1.3rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.conference-progress {
  height: 2rem;
  padding: 0.18rem;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #f4f0e8;
  text-align: left;
}

.conference-progress span {
  display: block;
  width: 32%;
  height: 100%;
  background: #000080;
}

.conference-modal-body {
  text-align: center;
}

.conference-modal-info {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  line-height: 1.25;
}

.conference-modal-info p {
  margin: 0 0 0.7rem;
}

.conference-modal .conference-register-button {
  display: inline-block;
  min-width: 8rem;
  padding: 0.55rem 1.3rem;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #111113;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.conference-modal .conference-register-button:active {
  border-color: #404040 #ffffff #ffffff #404040;
}

.conference-progress {
  display: flex;
  gap: 0.2rem;
  height: 1.4rem;
  margin: 0 auto 1.4rem;
  padding: 0.18rem;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #f4f0e8;
}

.conference-progress span {
  flex: 1;
  background: #d0d0d0;
}

.conference-progress span.is-filled {
  background: #000080;
}

.conference-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.conference-register-button { cursor: pointer; }

.conference-info-modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  pointer-events: auto;
}

.conference-info-modal:not([open]) { display: none; }
.conference-info-modal::backdrop { background: rgba(0, 0, 0, 0.55); }
.conference-info-modal .conference-modal-titlebar { cursor: default; touch-action: auto; }
.conference-modal-window { max-height: calc(100svh - 2rem); overflow-y: auto; }

@media (max-width: 800px) {
  .conference-modal-window {
    padding-inline: 1rem;
  }

  .conference-modal-titlebar {
    margin-inline: -1rem;
  }
}

