.city-location-liveops {
  border-color: rgba(239, 197, 141, 0.5);
  background: linear-gradient(145deg, rgba(58, 42, 22, 0.92), rgba(16, 22, 34, 0.95));
}

.city-location-icon[data-city-icon="pass"] {
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 197, 141, 0.42);
  background: radial-gradient(circle, rgba(239, 197, 141, 0.24), rgba(8, 12, 16, 0.8));
  background-image: none;
  color: #ffe2a8;
  font-family: Georgia, serif;
  font-size: 18px;
}

.city-location-icon[data-city-icon="pass"]::before { content: "✦"; }

.liveops-badge {
  border-color: rgba(239, 197, 141, 0.8);
  background: #d9a457;
  color: #160f06;
  font-weight: 700;
}

.liveops-overlay {
  z-index: 19;
  padding: 0;
  background: #06080b;
  backdrop-filter: none;
}

.liveops-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 14px max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 80% 0%, rgba(239, 197, 141, 0.12), transparent 42%),
    radial-gradient(circle at 10% 30%, rgba(98, 215, 232, 0.08), transparent 46%),
    #06080b;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 197, 141, 0.42) transparent;
}

.liveops-header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -14px;
  padding: max(17px, env(safe-area-inset-top)) 14px 12px;
  background: linear-gradient(to bottom, rgba(6, 8, 11, 0.99) 70%, rgba(6, 8, 11, 0.86));
}

.liveops-header h1 {
  margin: 4px 0 0;
  color: #f0e1cd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.liveops-balance {
  display: grid;
  gap: 2px;
  align-self: center;
  color: rgba(221, 209, 191, 0.66);
  font-size: 11px;
  text-align: right;
}

.liveops-balance strong { color: #efc58d; font-weight: 600; }

.liveops-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 10px;
}

.liveops-tab {
  position: relative;
  min-height: 36px;
  padding: 6px 4px;
  border: 1px solid rgba(239, 197, 141, 0.22);
  background: rgba(14, 16, 20, 0.9);
  color: rgba(221, 209, 191, 0.7);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.liveops-tab[aria-selected="true"] {
  border-color: rgba(239, 197, 141, 0.7);
  background: linear-gradient(160deg, rgba(74, 52, 24, 0.9), rgba(16, 18, 22, 0.94));
  color: #ffe7bf;
}

.liveops-tab-badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #d9a457;
  color: #160f06;
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

.liveops-tab-badge[hidden] { display: none; }

.liveops-status {
  margin: 30px 0;
  color: rgba(221, 209, 191, 0.62);
  font-family: Georgia, serif;
  font-size: 12px;
  text-align: center;
}

.liveops-status[hidden],
.liveops-panel[hidden] { display: none; }

.liveops-panel { display: grid; gap: 8px; }

.liveops-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.liveops-section-head h2,
.liveops-pass-summary h2 {
  margin: 0;
  color: #eee1ce;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.liveops-section-head small,
.liveops-note,
.liveops-empty {
  color: rgba(221, 209, 191, 0.55);
  font-size: 11px;
  line-height: 1.4;
}

.liveops-note { margin: 8px 2px 0; }
.liveops-empty { margin: 0; }

.liveops-task-list,
.liveops-shop-list,
.liveops-cosmetic-list { display: grid; gap: 6px; }

.liveops-task,
.liveops-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(190, 145, 91, 0.24);
  background: rgba(10, 12, 15, 0.92);
}

.liveops-task-ready {
  border-color: rgba(98, 215, 232, 0.55);
  background: linear-gradient(110deg, rgba(98, 215, 232, 0.1), transparent 60%), rgba(8, 12, 15, 0.94);
}

.liveops-task-claimed { opacity: 0.6; }

.liveops-task-copy,
.liveops-product-copy { display: grid; gap: 5px; min-width: 0; }

.liveops-task-copy strong,
.liveops-product-copy strong {
  color: #eee1ce;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.liveops-task-copy small,
.liveops-product-copy small { color: rgba(221, 209, 191, 0.6); font-size: 11px; }

.liveops-product-copy p {
  margin: 0;
  color: rgba(221, 209, 191, 0.66);
  font-size: 12px;
  line-height: 1.35;
}

.liveops-product-blocker { color: #9fdcb6 !important; }

.liveops-meter {
  height: 5px;
  overflow: hidden;
  background: rgba(221, 209, 191, 0.1);
}

.liveops-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a45f2d, #e2a35f, #62d7e8);
  box-shadow: 0 0 8px rgba(226, 163, 95, 0.4);
}

.liveops-claim {
  min-width: 78px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(98, 215, 232, 0.55);
  background: rgba(20, 52, 60, 0.85);
  color: #d6f8fb;
  font-size: 12px;
  cursor: pointer;
}

.liveops-claim:disabled {
  border-color: rgba(221, 209, 191, 0.16);
  background: rgba(20, 22, 26, 0.8);
  color: rgba(221, 209, 191, 0.45);
  cursor: default;
}

.liveops-pass-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(239, 197, 141, 0.36);
  background: linear-gradient(150deg, rgba(64, 44, 20, 0.6), rgba(10, 12, 16, 0.94));
}

.liveops-pass-summary > div:first-child { display: grid; gap: 6px; }
.liveops-pass-summary small { color: rgba(221, 209, 191, 0.6); font-size: 11px; }

.liveops-pass-tier {
  margin: 0;
  color: rgba(221, 209, 191, 0.7);
  font-size: 12px;
}

.liveops-pass-tier strong { color: #ffe2a8; font-size: 18px; font-weight: 600; }

.liveops-pass-actions { display: grid; gap: 6px; }
.liveops-pass-actions [hidden] { display: none; }

.liveops-track-legend,
.liveops-pass-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.liveops-track-legend {
  margin-top: 4px;
  color: rgba(221, 209, 191, 0.5);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.liveops-track-legend span:last-child { color: #efc58d; }

.liveops-pass-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liveops-pass-level {
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 209, 191, 0.14);
  color: rgba(221, 209, 191, 0.5);
  font-family: Georgia, serif;
  font-size: 13px;
}

.liveops-pass-row.reached .liveops-pass-level {
  border-color: rgba(239, 197, 141, 0.6);
  color: #ffe2a8;
}

.liveops-pass-row.current .liveops-pass-level {
  background: rgba(239, 197, 141, 0.16);
  box-shadow: 0 0 10px rgba(239, 197, 141, 0.3);
}

.liveops-reward {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 6px;
  padding: 6px;
  border: 1px solid rgba(190, 145, 91, 0.18);
  background: rgba(10, 12, 15, 0.9);
}

.liveops-reward > .liveops-reward-label:first-child { grid-column: 1 / -1; }

.liveops-reward-label {
  color: rgba(238, 225, 206, 0.86);
  font-size: 11px;
  line-height: 1.25;
}

.liveops-reward .liveops-claim {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 28px;
  padding: 3px 6px;
  font-size: 11px;
}

.liveops-reward.available { border-color: rgba(98, 215, 232, 0.5); }
.liveops-reward.claimed { opacity: 0.55; }
.liveops-pass-row > .liveops-reward:last-child { border-color: rgba(239, 197, 141, 0.28); }
.liveops-pass-row > .liveops-reward.available:last-child { border-color: rgba(239, 197, 141, 0.7); }

.liveops-product-pass,
.liveops-product-bundle {
  border-color: rgba(239, 197, 141, 0.5);
  background: linear-gradient(120deg, rgba(74, 52, 24, 0.55), rgba(10, 12, 15, 0.94) 70%);
}

.liveops-buy {
  min-width: 82px;
  white-space: nowrap;
}

.liveops-look-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(190, 145, 91, 0.24);
  background: rgba(10, 12, 15, 0.92);
}

.liveops-look-preview div { display: grid; gap: 3px; }
.liveops-look-preview strong { color: #eee1ce; font-family: Georgia, serif; font-size: 15px; font-weight: 500; }
.liveops-look-preview small { color: #efc58d; font-size: 12px; }

.liveops-cosmetic {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid rgba(221, 209, 191, 0.16);
  background: rgba(12, 14, 18, 0.9);
  color: rgba(238, 225, 206, 0.86);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.liveops-cosmetic.equipped {
  border-color: rgba(98, 215, 232, 0.6);
  color: #d6f8fb;
}

.liveops-cosmetic:disabled { cursor: default; }

/* Seeker frame: shared by the pass screen, the Seeker Hall and the guild roster. */
.seeker-frame {
  --frame-a: rgba(221, 209, 191, 0.3);
  --frame-b: rgba(221, 209, 191, 0.12);
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--frame-a), var(--frame-b), var(--frame-a));
  padding: 3px;
}

.seeker-frame > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b0e13;
  color: #eee1ce;
  font-family: Georgia, serif;
  font-size: 18px;
}

.seeker-frame.mini {
  width: 20px;
  height: 20px;
  padding: 3px;
}

.seeker-frame.mini::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0b0e13;
  content: "";
}

.seeker-frame.radiant {
  box-shadow: 0 0 10px color-mix(in srgb, var(--frame-a) 60%, transparent);
  animation: seekerFrameGlow 2.8s ease-in-out infinite alternate;
}

@keyframes seekerFrameGlow {
  from { filter: brightness(0.95); }
  to { filter: brightness(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .seeker-frame.radiant { animation: none; }
}

.profile-chip.has-frame .profile-initial,
.profile-chip.has-frame img {
  box-shadow: 0 0 0 2px var(--frame-a), 0 0 0 4px var(--frame-b);
}

.profile-chip.has-frame.radiant .profile-initial,
.profile-chip.has-frame.radiant img {
  box-shadow: 0 0 0 2px var(--frame-a), 0 0 0 4px var(--frame-b), 0 0 12px var(--frame-a);
}

.character-name-frame,
.guild-roster-frame {
  margin-right: 6px;
  vertical-align: -3px;
}

.seeker-title-tag {
  display: inline-block;
  margin-top: 2px;
  color: #efc58d;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.seeker-title-tag[hidden] { display: none; }

.revive-offer {
  display: grid;
  gap: 6px;
  margin: 10px 0 4px;
  padding: 10px;
  border: 1px solid rgba(239, 197, 141, 0.45);
  background: linear-gradient(140deg, rgba(64, 44, 20, 0.55), rgba(10, 12, 15, 0.9));
  text-align: left;
}

.revive-offer[hidden] { display: none; }
.revive-offer p { margin: 0; color: rgba(238, 225, 206, 0.8); font-size: 12px; line-height: 1.35; }
