.is2-event-page {
  color: #f5f5f5;
  font-family: inherit;
}
.is2-event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.is2-event-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 6px;
}
.is2-event-subtitle {
  color: #a1a1aa;
  font-size: 13px;
  margin: 0;
}
.is2-event-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 1100px) {
  .is2-event-grid.is2-event-grid-two { grid-template-columns: 420px minmax(0, 1fr); }
}
.is2-event-card {
  background: hsl(0, 0%, 7%);
  border: 1px solid hsl(0, 0%, 13%);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  overflow: hidden;
}
.is2-event-card-head {
  padding: 16px;
  border-bottom: 1px solid hsl(0, 0%, 13%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.is2-event-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.is2-event-card-body { padding: 16px; }
.is2-event-form {
  display: grid;
  gap: 12px;
}
.is2-event-label {
  display: grid;
  gap: 6px;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
}
.is2-event-input,
.is2-event-textarea,
.is2-event-select {
  width: 100%;
  border: 1px solid hsl(0,0%,16%);
  background: hsl(0,0%,5%);
  color: #f5f5f5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}
.is2-event-textarea { min-height: 96px; resize: vertical; }
.is2-event-input:focus,
.is2-event-textarea:focus,
.is2-event-select:focus { border-color: rgba(245,158,11,.55); box-shadow: 0 0 0 2px rgba(245,158,11,.12); }
.is2-event-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.is2-event-row-between { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.is2-event-btn {
  border: 1px solid hsl(0,0%,18%);
  background: hsl(0,0%,10%);
  color: #f5f5f5;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.is2-event-btn:hover { background: hsl(0,0%,14%); border-color: hsl(0,0%,26%); }
.is2-event-btn:disabled { opacity: .55; cursor: not-allowed; }
.is2-event-btn-primary { background: linear-gradient(90deg,#dc2626,#d97706); border-color: rgba(245,158,11,.35); color: white; }
.is2-event-btn-primary:hover { background: linear-gradient(90deg,#b91c1c,#b45309); }
.is2-event-btn-green { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.32); color: #6ee7b7; }
.is2-event-btn-red { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.30); color: #fca5a5; }
.is2-event-btn-amber { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.30); color: #fcd34d; }
.is2-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid hsl(0,0%,18%);
  background: hsl(0,0%,10%);
  color: #d4d4d8;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.is2-event-badge-green { color: #6ee7b7; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.30); }
.is2-event-badge-red { color: #fca5a5; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.30); }
.is2-event-badge-amber { color: #fcd34d; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.30); }
.is2-event-badge-blue { color: #93c5fd; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.30); }
.is2-event-muted { color: #a1a1aa; }
.is2-event-small { font-size: 12px; }
.is2-event-list { display: grid; gap: 14px; }
.is2-event-table-wrap { overflow-x: auto; border: 1px solid hsl(0,0%,13%); border-radius: 12px; }
.is2-event-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.is2-event-table th,
.is2-event-table td { padding: 10px 12px; border-bottom: 1px solid hsl(0,0%,13%); text-align: left; vertical-align: top; }
.is2-event-table th { color: #a1a1aa; font-weight: 800; background: hsl(0,0%,9%); }
.is2-event-table tr:last-child td { border-bottom: 0; }
.is2-event-empty {
  color: #a1a1aa;
  text-align: center;
  padding: 24px;
  border: 1px dashed hsl(0,0%,18%);
  border-radius: 12px;
}
.is2-event-alert {
  border-radius: 12px;
  border: 1px solid rgba(245,158,11,.30);
  background: rgba(245,158,11,.10);
  color: #fcd34d;
  padding: 12px;
  font-size: 12px;
  margin-bottom: 16px;
}
.is2-event-alert-red { border-color: rgba(239,68,68,.30); background: rgba(239,68,68,.10); color: #fca5a5; }
.is2-event-toast {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  border: 1px solid rgba(245,158,11,.35);
  background: rgba(12,12,12,.96);
  color: #f5f5f5;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  font-size: 13px;
}
.is2-event-wheel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border: 1px dashed rgba(245,158,11,.35);
  border-radius: 12px;
  background: rgba(245,158,11,.06);
}
.is2-event-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: hsl(240, 5%, 65%);
  cursor: pointer;
  text-align: left;
}
.is2-event-menu-btn:hover,
.is2-event-menu-btn.is-active {
  color: #fbbf24;
  background: linear-gradient(90deg, rgba(220,38,38,.20), rgba(217,119,6,.20));
  box-shadow: inset 0 0 0 1px rgba(239,68,68,.30);
}
.is2-event-menu-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.is2-event-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}
@media (min-width: 1180px) {
  .is2-event-detail-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}
.is2-event-detail-main { min-width: 0; }
.is2-event-section { margin-top: 16px; display: grid; gap: 12px; }
.is2-event-app-side {
  border: 1px solid hsl(0,0%,13%);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  min-width: 0;
  overflow: hidden;
}
.is2-event-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid hsl(0,0%,13%);
}
.is2-event-app-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 460px;
  overflow: auto;
}
.is2-event-app-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-bottom: 1px solid hsl(0,0%,12%);
}
.is2-event-app-item:last-child { border-bottom: 0; }
.is2-event-app-item strong {
  display: block;
  color: #f5f5f5;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.is2-event-app-item small {
  display: block;
  color: #a1a1aa;
  font-size: 11px;
  margin-top: 2px;
}
.is2-event-app-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 900;
}
.is2-event-app-empty {
  padding: 16px;
  color: #a1a1aa;
  font-size: 12px;
}
.is2-event-wheel-panel .is2-event-alert { margin-bottom: 0; }
.is2-event-wheel-closed {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(245,158,11,.28);
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(245,158,11,.10), rgba(255,255,255,.02) 55%, rgba(0,0,0,.12));
}
.is2-event-wheel-stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.44));
}
.is2-event-wheel-pointer {
  position: absolute;
  z-index: 5;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fef3c7;
  background: linear-gradient(180deg, #dc2626, #7f1d1d);
  border: 2px solid rgba(254,243,199,.86);
  box-shadow: 0 8px 22px rgba(0,0,0,.42);
  font-size: 24px;
  line-height: 1;
}
.is2-event-wheel-pointer::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid #991b1b;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.is2-event-wheel-disc {
  position: relative;
  width: 88%;
  height: 88%;
  border-radius: 999px;
  border: 10px solid #171717;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.15), inset 0 0 46px rgba(0,0,0,.35), 0 0 0 1px rgba(245,158,11,.28);
  transform: rotate(0deg);
  overflow: hidden;
  will-change: transform;
}
.is2-event-wheel-disc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.20), transparent 26%), radial-gradient(circle at center, transparent 0 57%, rgba(0,0,0,.18) 58% 100%);
  pointer-events: none;
}
.is2-event-wheel-label {
  --label-width: 34%;
  --label-height: 24px;
  --label-radius: 98%;
  --label-font: 12px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: var(--label-width);
  height: var(--label-height);
  margin-left: calc(var(--label-width) / -2);
  margin-top: calc(var(--label-height) / -2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform-origin: 50% 50%;
  transform: rotate(var(--angle)) translateX(var(--label-radius)) rotate(calc(-1 * var(--angle) + var(--wheel-counter-rotation, 0deg)));
  pointer-events: none;
  text-align: center;
}
.is2-event-wheel-label b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff7ed;
  font-size: var(--label-font);
  font-weight: 950;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.92);
}
.is2-event-wheel-hub {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #fbbf24, #b45309 65%, #451a03);
  border: 5px solid rgba(255,255,255,.82);
  color: #111827;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 8px 28px rgba(0,0,0,.44);
}
.is2-event-wheel-empty-label {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  color: #fef3c7;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.is2-event-winner {
  margin: 4px 0 0;
  border-radius: 12px;
  border: 1px solid rgba(16,185,129,.32);
  background: rgba(16,185,129,.10);
  color: #d1fae5;
  padding: 12px;
  font-size: 14px;
}
.is2-event-winner strong { color: #6ee7b7; font-weight: 900; }
@media (max-width: 640px) {
  .is2-event-wheel-stage { width: min(360px, 100%); }
  .is2-event-wheel-hub { width: 64px; height: 64px; font-size: 14px; }
  .is2-event-wheel-label { --label-font: 9px; --label-width: 32%; --label-radius: 88%; }
}

/* 20260503 event wheel menu v5: readable segment labels + winner alignment */
.is2-event-detail-list { gap: 18px; }
.is2-event-summary-card .is2-event-card-body { display: grid; gap: 6px; }
@media (min-width: 1180px) {
  .is2-event-detail-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}
.is2-event-app-side {
  position: sticky;
  top: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
}
.is2-event-app-head { padding: 10px 12px; }
.is2-event-app-list { max-height: 540px; }
.is2-event-app-item {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 10px;
}
.is2-event-app-index {
  width: 22px;
  height: 22px;
  font-size: 10px;
}
.is2-event-app-item strong { font-size: 11px; }
.is2-event-app-item small { font-size: 10px; }
.is2-event-wheel-stage { width: min(640px, 100%); }
.is2-event-wheel-disc {
  border-width: 12px;
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.16),
    inset 0 0 64px rgba(0,0,0,.32),
    0 0 0 1px rgba(245,158,11,.34),
    0 20px 70px rgba(0,0,0,.45);
}
.is2-event-wheel-disc::before {
  background:
    repeating-conic-gradient(from -90deg, rgba(255,255,255,.62) 0deg 0.9deg, transparent 0.9deg calc(360deg / var(--segment-count, 32))),
    radial-gradient(circle at 31% 24%, rgba(255,255,255,.22), transparent 24%),
    radial-gradient(circle at center, transparent 0 54%, rgba(0,0,0,.15) 55% 100%);
  mix-blend-mode: screen;
  opacity: .92;
}
.is2-event-wheel-disc::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,.25);
  pointer-events: none;
}
.is2-event-wheel-label {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.38));
}
.is2-event-wheel-label b {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.20), 0 2px 8px rgba(0,0,0,.34);
  backdrop-filter: blur(2px);
}

.is2-event-celebration {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(circle at center, rgba(15,23,42,.12), rgba(0,0,0,.58));
  overflow: hidden;
}
.is2-event-celebration.is-visible { opacity: 1; }
.is2-event-celebration-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid rgba(251,191,36,.32);
  background: linear-gradient(180deg, rgba(17,24,39,.82), rgba(2,6,23,.92));
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  animation: is2CelebrationPop 4.8s ease both;
}
.is2-event-celebration-kicker {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .35em;
  color: #fcd34d;
}
.is2-event-celebration-name {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(36px, 8vw, 74px);
  line-height: 1;
  font-weight: 900;
  color: #fff7ed;
  text-shadow: 0 0 18px rgba(251,191,36,.24), 0 8px 26px rgba(0,0,0,.35);
}
.is2-event-celebration-sub {
  font-size: 14px;
  color: #d1fae5;
  font-weight: 700;
}
.is2-event-firework {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 1;
}
.is2-event-firework span {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: calc(var(--size) * 2.8);
  border-radius: 999px;
  background: hsl(var(--hue), 96%, 62%);
  box-shadow: 0 0 14px hsla(var(--hue), 96%, 62%, .8);
  transform: rotate(var(--angle)) translateY(0);
  opacity: 0;
  animation: is2Firework var(--duration) ease-out var(--delay) infinite;
}
@keyframes is2Firework {
  0% { opacity: 0; transform: rotate(var(--angle)) translateY(0) scale(.4); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(1.05); }
}
@keyframes is2CelebrationPop {
  0% { transform: translateY(16px) scale(.9); opacity: 0; }
  10% { transform: translateY(0) scale(1); opacity: 1; }
  88% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-6px) scale(.98); opacity: 0; }
}
