* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #dcdcdc;
  color: #111;
}

.frame {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  border: 0;
  overflow: hidden;
  background: #dcdcdc;
}

.page-fade { animation: fade-in 0.45s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-page {
  min-height: 100vh;
  padding: 16px 18px 12px;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand h1 { margin: 0; font-size: clamp(22px, 1.85vw, 36px); font-weight: 800; }
.brand-icon {
  width: clamp(34px, 2.4vw, 46px);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background: transparent;
  mix-blend-mode: screen;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  padding: 5px 12px;
  border: 0;
  border-radius: 4px;
  background: #d67f84;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 800;
  transition: background-color 0.25s ease, transform 0.18s ease;
}

.btn:hover,
.btn:focus-visible { background: #e49da3; transform: translateY(-1px); }

.pink-panel {
  position: relative;
  margin-top: 12px;
  min-height: 0;
  flex: 1;
  padding: 14px 16px 8px;
  border-radius: 4px;
  background: #d07d81;
  display: flex;
  flex-direction: column;
}

.pink-panel h2 {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(39px, 4.2vw, 52px);
  font-weight: 900;
}

.panel-lead {
  margin: 6px auto 0;
  max-width: 560px;
  text-align: center;
  color: #fff;
  font-size: clamp(9px, 0.8vw, 12px);
  line-height: 1.95;
  font-weight: 800;
}

.event-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.event-card { position: relative; }

.event-hit {
  width: 100%;
  padding: 0;
  border: 6px solid #ededed;
  border-radius: 6px;
  background: #ededed;
  cursor: pointer;
}

.event-hit img {
  width: 100%;
  height: 162px;
  object-fit: contain;
  object-position: center;
  background: #f6f6f6;
  display: block;
}

.event-hit span {
  display: block;
  padding: 5px 6px 7px;
  text-align: center;
  color: #141414;
  font-size: clamp(14px, 1.45vw, 28px);
  font-weight: 900;
}

.event-popup {
  position: absolute;
  left: 50%;
  top: 38px;
  z-index: 12;
  width: 93%;
  min-height: 200px;
  padding: 20px 12px 16px;
  border-radius: 22px;
  background: #9d5357;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.event-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.event-popup h3 {
  margin: 8px 0 0;
  text-align: center;
  color: #000;
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 900;
}

.event-popup p {
  margin: 8px 0 0;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 2;
  font-weight: 700;
}

.popup-close {
  position: absolute;
  top: 2px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #1d2330;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.popup-close:hover,
.popup-close:focus-visible { color: #111; }

.copyright {
  margin: auto 0 0;
  text-align: center;
  color: #fff;
  font-size: clamp(12px, 1.1vw, 18px);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}






