/* Etkinlikler — canlı hub */
.ev {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  color: #f7f1e4;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 90% 50% at 20% -10%, rgba(126, 232, 112, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 45% at 90% 10%, rgba(246, 196, 69, 0.12), transparent 48%),
    linear-gradient(180deg, #0c1830 0%, #071018 100%);
  user-select: none;
}
.ev button { -webkit-tap-highlight-color: transparent; }
.ev svg { display: block; flex-shrink: 0; }

.ev-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  padding:
    calc(8px + env(safe-area-inset-top, 0px))
    10px
    8px;
  border-bottom: 1px solid rgba(126, 232, 112, 0.22);
  background: rgba(8, 16, 30, 0.78);
}
.ev-top h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.ev-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #f6c445;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ev-back svg { width: 22px; height: 22px; }
.ev-back:active { transform: scale(0.95); }
.ev-pad { width: 40px; height: 40px; }
.ev-top-wide {
  grid-template-columns: 44px 1fr auto;
}
.ev-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ev-info {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #f6c445;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ev-info svg { width: 20px; height: 20px; }
.ev-info:active { transform: scale(0.95); }
.ev-reward-btn {
  overflow: visible;
  background:
    radial-gradient(circle at 50% 40%, rgba(246, 196, 69, 0.22), transparent 70%),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 196, 69, 0.35);
}
.ev-reward-ico {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.ev-info.has-dot::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ee870;
  box-shadow: 0 0 0 2px rgba(8, 16, 30, 0.9);
  z-index: 1;
}
.tq-reward-sheet .ev-tier {
  margin: 0;
}
.modal-card-sheet .tq-reward-sheet {
  max-height: min(52vh, 420px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ev-hero,
.ev-feat {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1.5px solid rgba(126, 232, 112, 0.28);
  background:
    linear-gradient(135deg, rgba(126, 232, 112, 0.1), transparent 45%),
    linear-gradient(180deg, #16301c, #0d1a2c);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
.ev-feat.tone-raid {
  border-color: rgba(255, 110, 90, 0.35);
  background:
    linear-gradient(135deg, rgba(255, 110, 90, 0.12), transparent 45%),
    linear-gradient(180deg, #301818, #0d1a2c);
}
.ev-feat.tone-pass {
  border-color: rgba(110, 190, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(110, 190, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #152838, #0d1a2c);
}
.ev-feat.tone-tourney {
  border-color: rgba(246, 196, 69, 0.42);
  background:
    linear-gradient(135deg, rgba(246, 196, 69, 0.14), transparent 45%),
    linear-gradient(180deg, #2a220c, #0d1a2c);
}
.ev-hero-art,
.ev-feat-art {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(246, 196, 69, 0.35);
  background: #0a1424;
}
.ev-hero-img,
.ev-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ev-hero-txt strong,
.ev-feat-txt strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}
.ev-hero-txt p,
.ev-feat-txt p {
  margin: 4px 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(247, 241, 228, 0.62);
}
.ev-hero-txt em {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  color: #9fe870;
}
.ev-feat-txt .ev-tag { margin-bottom: 6px; display: inline-flex; }

.ev-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ev-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6ec8ff, #9fe870);
}

.ev-sched {
  margin: 0 0 12px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(126, 232, 112, 0.28);
  background:
    linear-gradient(160deg, rgba(126, 232, 112, 0.08), transparent 55%),
    rgba(8, 16, 28, 0.85);
}
.ev-sched-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ev-sched-head strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.ev-sched-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.55);
}
.ev-sched-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-sched-row {
  display: grid;
  grid-template-columns: 7.2em 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 700;
}
.ev-sched-row b {
  font-variant-numeric: tabular-nums;
  color: #f6c445;
}
.ev-sched-row span {
  color: rgba(247, 241, 228, 0.88);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev-sched-row em {
  font-style: normal;
  font-size: 10px;
  color: rgba(247, 241, 228, 0.45);
  text-align: right;
  white-space: nowrap;
}
.ev-sched-row.is-on {
  border-color: rgba(126, 232, 112, 0.45);
  background: rgba(126, 232, 112, 0.1);
}
.ev-sched-row.is-on em {
  color: #9fe870;
  font-weight: 800;
}
.ev-sched-note {
  margin: 8px 2px 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(247, 241, 228, 0.4);
}

.ev-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ev-card {
  display: grid;
  grid-template-columns: 68px 1fr 22px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, #15263c, #0d1a2c);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.ev-card.tone-war {
  border-color: rgba(246, 196, 69, 0.38);
  background:
    linear-gradient(135deg, rgba(246, 196, 69, 0.1), transparent 45%),
    linear-gradient(180deg, #1a2a18, #0d1a2c);
}
.ev-card.tone-raid {
  border-color: rgba(255, 110, 90, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 110, 90, 0.1), transparent 45%),
    linear-gradient(180deg, #2a1818, #0d1a2c);
}
.ev-card.tone-pass {
  border-color: rgba(110, 190, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(110, 190, 255, 0.1), transparent 45%),
    linear-gradient(180deg, #152838, #0d1a2c);
}
.ev-card.tone-tourney {
  border-color: rgba(246, 196, 69, 0.42);
  background:
    linear-gradient(135deg, rgba(246, 196, 69, 0.12), transparent 45%),
    linear-gradient(180deg, #2a220c, #0d1a2c);
}
.ev-card.is-live {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(126, 232, 112, 0.12);
}
.ev-card.is-ready {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 16px rgba(246, 196, 69, 0.18);
}
.ev-card:active { transform: scale(0.985); }

.ev-card-art {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(246, 196, 69, 0.35);
  background: #0a1424;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ev-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ev-card-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ev-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ev-card-top strong {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 241, 228, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ev-tag.is-live {
  color: #123018;
  background: linear-gradient(180deg, #b6f28a, #7ad84a);
  border-color: rgba(80, 160, 50, 0.5);
}
.ev-tag.is-ready {
  color: #1a1204;
  background: linear-gradient(180deg, #ffe08a, #f0b020);
  border-color: rgba(160, 110, 20, 0.5);
}
.ev-card-sub {
  font-size: 12px;
  font-weight: 800;
  color: #9fe870;
}
.ev-card-blurb {
  font-size: 11px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.5);
  line-height: 1.3;
}
.ev-card-go {
  font-size: 22px;
  font-weight: 700;
  color: rgba(247, 241, 228, 0.35);
}

.ev-panel {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(22, 34, 52, 0.92), rgba(10, 18, 30, 0.95));
}
.ev-panel h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #f6c445;
}
.ev-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ev-panel-meta { min-width: 0; }

.ev-claim {
  flex: 0 0 auto;
  min-width: 64px;
  padding: 8px 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  color: #1a1204;
  background: linear-gradient(180deg, #ffe08a, #f0b020);
  border: 1px solid rgba(160, 110, 20, 0.55);
  box-shadow: 0 4px 12px rgba(246, 196, 69, 0.28);
}
.ev-claim:active { transform: scale(0.96); }
.ev-claim.is-done,
.ev-claim.is-off {
  color: rgba(247, 241, 228, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ev-tiers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ev-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(110, 190, 255, 0.2);
  background: rgba(0, 0, 0, 0.22);
}
.ev-tier.is-ready {
  border-color: rgba(246, 196, 69, 0.45);
  background: rgba(246, 196, 69, 0.08);
}
.ev-tier.is-got { opacity: 0.72; }
.ev-tier.is-lock { opacity: 0.55; }
.ev-tier-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ev-tier-main strong {
  font-size: 13px;
  font-weight: 900;
}
.ev-tier-main em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.5);
}

.ev-note {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(247, 241, 228, 0.48);
}
.ev-link {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  color: #ffe08a;
  background: rgba(246, 196, 69, 0.1);
  border: 1px solid rgba(246, 196, 69, 0.35);
}
.ev-link:active { transform: scale(0.985); }

/* 1v1 Turnuva — lonca savaşı eşleşme stili */
.tq-match-wrap {
  padding-bottom: 4px;
}
.tq-match-wrap .lgw-vs-side em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: rgba(247, 241, 228, 0.7);
}
.tq-match-wrap .lgw-vs-board.is-mine {
  margin-bottom: 2px;
}
.tq-match-wrap .is-wide-tq {
  grid-column: 1 / -1;
  width: 100%;
}
