:root {
  color-scheme: dark;
  --navy: #061b35;
  --navy-deep: #020b17;
  --panel: #0d315c;
  --panel-deep: #041429;
  --panel-soft: #174d84;
  --line: rgba(119, 190, 255, 0.26);
  --line-strong: rgba(90, 214, 255, 0.5);
  --text: #f7fbff;
  --muted: #adc6e5;
  --cyan: #56dcff;
  --cyan-soft: #b8f0ff;
  --gold: #ffd84d;
  --gold-deep: #f2b91f;
  --success: #94ffc9;
  --danger: #ffc4c4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(86, 220, 255, 0.18), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(255, 216, 77, 0.08), transparent 28rem),
    linear-gradient(145deg, var(--navy), var(--navy-deep) 72%);
  color: var(--text);
}

.shell {
  width: min(920px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 32px 0;
}

.portal {
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(119, 190, 255, 0.32);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 34, 65, 0.94), rgba(5, 23, 44, 0.95));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 7vw, 4.25rem);
  line-height: 0.95;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(86, 220, 255, 0.08);
}

.lookup {
  display: grid;
  gap: 10px;
}

.lookup label {
  font-weight: 700;
}

.lookup-row {
  display: flex;
  gap: 10px;
}

input,
button {
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid rgba(151, 200, 255, 0.28);
  background: rgba(17, 47, 84, 0.9);
  color: var(--text);
  padding: 0 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input:focus {
  border-color: rgba(86, 220, 255, 0.7);
  outline: 3px solid rgba(86, 220, 255, 0.22);
  outline-offset: 2px;
}

button {
  border: 0;
  background: linear-gradient(180deg, #ffe875, var(--gold-deep));
  color: #061a33;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(242, 185, 31, 0.2);
}

button:hover {
  filter: brightness(1.03) saturate(1.04);
}

.alias {
  color: var(--muted);
}

.support-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(119, 190, 255, 0.22);
  color: var(--muted);
  font-size: 0.95rem;
}

.support-line a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-soft);
  font-weight: 800;
  text-decoration: none;
}

.support-line img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.support-line a:hover {
  color: #ffffff;
}

.message {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--danger);
}

.message.success {
  color: var(--success);
}

.vendor-card {
  margin-top: 18px;
  border: 1px solid rgba(119, 190, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 24, 47, 0.78), rgba(3, 14, 28, 0.78));
}

.vendor-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(13, 49, 92, 0.98), rgba(11, 42, 80, 0.98));
  border-bottom: 1px solid rgba(119, 190, 255, 0.24);
}

h2 {
  margin-bottom: 6px;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
  color: #ffffff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-grid article {
  padding: 22px;
  background: rgba(3, 15, 31, 0.42);
}

.info-grid article + article {
  border-left: 1px solid rgba(119, 190, 255, 0.22);
}

.event-actions {
  margin-top: 14px;
}

.event-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 71, 118, 0.68), rgba(8, 40, 76, 0.82));
  color: var(--cyan-soft);
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.event-button[hidden] {
  display: none;
}

.event-button:hover {
  background: linear-gradient(180deg, rgba(24, 89, 145, 0.82), rgba(10, 48, 91, 0.9));
  border-color: rgba(86, 220, 255, 0.82);
}

h3 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-list,
.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.code {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(29, 85, 142, 0.94), rgba(19, 68, 119, 0.94));
  border: 1px solid rgba(120, 190, 255, 0.28);
  padding: 10px 12px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.code {
  letter-spacing: 0;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 20px, 920px);
    align-items: start;
    padding-top: 16px;
  }

  .portal {
    padding: 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 82px;
    height: 82px;
  }

  .lookup-row,
  .vendor-header {
    flex-direction: column;
  }

  button {
    width: 100%;
    text-align: center;
  }

  .event-button {
    width: 100%;
  }

  .support-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
