/* Ping Census - hextech theme. Dark (default) and light via [data-theme]. */

:root,
[data-theme="dark"] {
  --bg: #010a13;
  --bg-2: #0a1428;
  --panel: #0d1c28;
  --panel-edge: #1e3244;
  --ink: #f0e6d2;
  /* hextech parchment */
  --dim: #8fa3ad;
  --gold: #c8aa6e;
  --gold-bright: #f0d491;
  --teal: #0ac8b9;
  --teal-dim: #005a82;
  --win: #4caf7d;
  --loss: #c85c5c;
  --glow: 0 0 18px rgba(10, 200, 185, 0.35);
  --bg-grad: radial-gradient(1200px 600px at 70% -10%, #0a2836 0%, var(--bg) 60%);
}

[data-theme="light"] {
  --bg: #f4efe4;
  --bg-2: #e9e2d0;
  --panel: #fdfaf2;
  --panel-edge: #d5c9a8;
  --ink: #1e2328;
  --dim: #6b6f76;
  --gold: #9a7c3c;
  --gold-bright: #7a5f24;
  --teal: #067f8c;
  --teal-dim: #9cc4cf;
  --win: #2e7d55;
  --loss: #a94040;
  --glow: none;
  --bg-grad: radial-gradient(1200px 600px at 70% -10%, #efe6cd 0%, var(--bg) 60%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-grad) fixed, var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
}

/* ------------------------------------------------ header / footer */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--panel-edge);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 18px;
}

.brand em {
  color: var(--gold);
  font-style: normal;
}

.brand-mark {
  color: var(--teal);
}

.footer {
  text-align: center;
  color: var(--dim);
  font-size: 12px;
  padding: 40px 20px;
}

.frame {
  max-width: 1060px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* theme toggle shows the icon for the theme you'd switch TO */
[data-theme="dark"] .theme-icon-dark {
  display: none;
}

[data-theme="light"] .theme-icon-light {
  display: none;
}

/* ------------------------------------------------ panels & type */
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 18px 0;
  position: relative;
}

/* hextech corner accents */
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 12px;
}

h2 {
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.gold {
  color: var(--gold-bright);
}

.gold-text {
  color: var(--gold);
}

.teal {
  color: var(--teal);
}

.glow {
  text-shadow: var(--glow);
}

.hint,
.meta {
  color: var(--dim);
  font-size: 14px;
}

.note {
  border-left: 3px solid var(--teal);
  background: var(--panel);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dim);
  border-radius: 0 8px 8px 0;
}

.eyebrow {
  letter-spacing: 4px;
  color: var(--dim);
  font-size: 12px;
  margin: 20px 0 4px;
}

.center {
  text-align: center;
}

.error-msg {
  color: var(--loss);
  font-weight: 600;
}

/* ------------------------------------------------ hero + search */
.hero {
  text-align: center;
  padding: 44px 0 12px;
}

.hero h1 {
  font-size: 52px;
}

.hero .sub {
  color: var(--dim);
  max-width: 620px;
  margin: 0 auto;
}

.search-panel {
  max-width: 860px;
  margin: 24px auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 2.6fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.field-queues {
  grid-column: 1 / -1;
}

.form-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--panel-edge);
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 30%, transparent);
}

/* ------------------------------------------------ buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  font-size: 14px;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1e2328;
  border: none;
}

.btn-gold:hover {
  box-shadow: 0 0 16px color-mix(in srgb, var(--gold) 55%, transparent);
}

.btn-teal {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-teal:hover {
  box-shadow: var(--glow);
}

.btn-ghost {
  border-color: var(--panel-edge);
  color: var(--dim);
}

.btn-big {
  width: 100%;
  padding: 15px;
  font-size: 16px;
}

/* ------------------------------------------------ autocomplete */
.ac-wrap {
  position: relative;
}

.ac-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.ac-list li {
  padding: 9px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.ac-list li:hover,
.ac-list li.active {
  background: var(--bg-2);
  color: var(--gold-bright);
}

/* ------------------------------------------------ progress */
.progress {
  margin-top: 18px;
}

.progress-track {
  height: 10px;
  border-radius: 5px;
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid var(--panel-edge);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width .3s ease;
}

.progress-msg {
  color: var(--dim);
  font-size: 13px;
  margin-top: 8px;
}

/* ------------------------------------------------ profile */
.profile-head {
  text-align: center;
}

.archetype {
  font-size: 44px;
}

.blurb {
  color: var(--dim);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  text-align: center;
  padding: 20px 12px;
}

.stat-big {
  display: block;
  font-size: 34px;
  font-weight: 800;
}

.stat-big small {
  font-size: 18px;
  color: var(--dim);
}

.stat-label {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.two-col>.panel {
  display: flex;
  flex-direction: column;
}

.two-col>.panel .chart {
  flex: 1;
}

.chart {
  min-height: 380px;
}

.chart-tall {
  min-height: 460px;
}

.ping-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ping-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 130px 96px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--panel-edge);
}

.ping-list .rank-badge {
  justify-self: end;
  text-align: center;
  min-width: 86px;
}

.ping-list li:last-child {
  border-bottom: none;
}

.ping-icon {
  width: 22px;
  height: 22px;
  color: var(--teal);
  display: inline-block;
}

.ping-icon svg,
.ping-icon img {
  width: 100%;
  height: 100%;
}

.ping-name {
  font-weight: 600;
}

.ping-bar {
  height: 8px;
  background: color-mix(in srgb, var(--panel-edge) 55%, var(--bg-2));
  border: 1px solid var(--panel-edge);
  border-radius: 5px;
  overflow: hidden;
}

.ping-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.ping-val {
  color: var(--dim);
  font-size: 12px;
  white-space: nowrap;
}

.facts {
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
}

.facts strong {
  color: var(--ink);
}

.card-preview {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--panel-edge);
  margin-bottom: 12px;
}

/* ------------------------------------------------ compare */
.vs-title {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
}

.vs {
  color: var(--dim);
  font-size: 22px;
}

.vs-cards {
  grid-template-columns: 1fr 1fr;
}

.vs-stat .stat-big {
  font-size: 24px;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.vs-table th,
.vs-table td {
  overflow-wrap: anywhere;
}

.vs-table th,
.vs-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid var(--panel-edge);
}

.vs-table .ping-cell {
  color: var(--dim);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.vs-table .num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vs-table .winner {
  color: var(--gold-bright);
}

@media (max-width: 780px) {

  .form-grid,
  .stat-cards,
  .two-col,
  .vs-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .archetype {
    font-size: 30px;
  }
}

/* ------------------------------------------------ win/loss takeaways */
.takeaways {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.takeaways li {
  padding: 10px 14px;
  margin-bottom: 8px;
  border-left: 3px solid var(--gold);
  background: var(--bg-2);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}

.win-text {
  color: var(--win);
}

.loss-text {
  color: var(--loss);
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1px solid var(--panel-edge);
  color: var(--dim);
}

.tag-solid {
  border-color: var(--teal);
  color: var(--teal);
}

.ac-region {
  float: right;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid var(--panel-edge);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ------------------------------------------------ profile v2 additions */
.summoner-name {
  font-size: 46px;
  margin-bottom: 0;
  word-break: break-word;
}

.summoner-name .tagline {
  color: var(--dim);
  font-size: 24px;
  margin-left: 6px;
}

.is-line {
  color: var(--dim);
  font-style: italic;
  margin: 2px 0;
}

.archetype {
  margin-top: 0;
}

.provenance {
  font-size: 11px;
  opacity: 0.7;
}

.headline-panel {
  text-align: center;
}

.headline-sentence {
  font-size: 20px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

.ping-permin {
  display: block;
  color: var(--dim);
  font-weight: 400;
  font-size: 11px;
}

.rank-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.rank-badge.rank-hot {
  background: var(--gold);
  color: #1e2328;
  box-shadow: 0 0 10px color-mix(in srgb, var(--gold) 50%, transparent);
}

.rank-badge.rank-quiet {
  border-color: var(--panel-edge);
  color: var(--dim);
}

.notable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.notable-card {
  background: var(--bg-2);
  border: 1px solid var(--panel-edge);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notable-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal);
}

.notable-big {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-bright);
}

.notable-sub {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
}

.takeaways {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.takeaways li {
  padding: 8px 0;
  border-bottom: 1px solid var(--panel-edge);
  font-size: 15px;
}

.takeaways li:last-child {
  border-bottom: none;
}

.win-text {
  color: var(--win);
}

.loss-text {
  color: var(--loss);
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9px;
  margin-left: 8px;
  border: 1px solid var(--panel-edge);
  color: var(--dim);
  white-space: nowrap;
}

.tag-solid {
  border-color: var(--teal);
  color: var(--teal);
}

.smooth-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 11px;
}

.smooth-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.share-flex {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.share-flex .card-preview {
  max-width: 340px;
}

.share-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr auto;
  gap: 10px;
  align-items: start;
}

.ac-region {
  float: right;
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 1px;
}

/* ------------------------------------------------ ping wheel loader */
.wheel-mount {
  display: flex;
  justify-content: center;
  margin: 10px 0 18px;
}

.pw-frame {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 18%, transparent),
    inset 0 0 24px color-mix(in srgb, var(--gold) 10%, transparent);
}

@keyframes pw-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pw-rotor {
  position: absolute;
  inset: 0;
  animation: pw-spin linear infinite;
}

.pw-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pw-wedge {
  fill: color-mix(in srgb, var(--bg) 55%, transparent);
  stroke: color-mix(in srgb, var(--gold) 18%, transparent);
  stroke-width: 1.5;
  transition: fill .25s ease, stroke .25s ease;
}

@keyframes pw-pulse {
  from {
    opacity: .45;
  }

  to {
    opacity: .85;
  }
}

.pw-wedge.pw-active {
  animation: pw-pulse .45s ease-out infinite alternate;
}

.pw-nodes {
  position: absolute;
  inset: 0;
}

.pw-node {
  position: absolute;
  left: 50%;
  top: 50%;
}

.pw-circle {
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.pw-circle img,
.pw-circle .pw-svg {
  width: 55%;
  height: 55%;
  display: block;
}

.pw-circle .pw-svg svg {
  width: 100%;
  height: 100%;
}

@keyframes pw-node-pulse {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.18);
  }
}

.pw-circle-active {
  border-color: var(--pw-color);
  box-shadow: 0 0 14px var(--pw-color);
  animation: pw-node-pulse .45s ease-out infinite alternate;
}

.pw-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 4px double var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  z-index: 5;
  gap: 5px;
}

.pw-loading {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

.pw-status {
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------ mobile polish */
@media (max-width: 780px) {
  .frame {
    padding: 20px 12px 40px;
  }

  .panel {
    padding: 18px 16px;
  }

  .topbar {
    padding: 12px 16px;
  }

  .summoner-name {
    font-size: 32px;
  }

  .summoner-name .tagline {
    font-size: 16px;
  }

  .archetype {
    font-size: 30px;
  }

  .headline-sentence {
    font-size: 16px;
  }

  .stat-big {
    font-size: 26px;
  }

  .share-flex {
    flex-direction: column;
  }

  .share-flex .card-preview {
    max-width: 100%;
  }

  .compare-grid,
  .form-row {
    grid-template-columns: 1fr;
    display: grid;
    gap: 10px;
  }

  .ping-list li {
    grid-template-columns: 22px 1fr auto;
  }

  .ping-list .ping-bar {
    display: none;
  }

  .pw-frame {
    width: 250px;
    height: 250px;
  }

  .pw-hub {
    width: 118px;
    height: 118px;
    border-width: 3px;
  }

  .pw-circle {
    width: 34px !important;
    height: 34px !important;
  }

  .vs-table {
    font-size: 13px;
  }

  .vs-table th,
  .vs-table td {
    padding: 8px 6px;
  }

  .chart {
    min-height: 300px;
  }
}


/* ------------------------------------------------ queue multi-select */
.queue-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.queue-check {
  position: relative;
}

.queue-check input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.queue-check span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--panel-edge);
  color: var(--dim);
  background: var(--bg-2);
  transition: all .15s ease;
  user-select: none;
}

.queue-check input:checked+span {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: color-mix(in srgb, var(--gold) 12%, var(--bg-2));
  box-shadow: 0 0 8px color-mix(in srgb, var(--gold) 30%, transparent);
}

.queue-check input:focus-visible+span {
  outline: 2px solid var(--teal);
}

/* ------------------------------------------------ share wheel */
.share-side {
  flex: 1;
  align-items: center;
}

.sw-frame {
  margin: 0 auto;
  cursor: default;
}

.sw-wedge {
  pointer-events: auto;
  cursor: pointer;
}

.pw-nodes .pw-node {
  pointer-events: none;
}

.sw-node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.sw-circle,
.sw-label {
  pointer-events: auto;
  cursor: pointer;
}

.sw-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.sw-label-active {
  transform: scale(1.1);
}

.sw-hub {
  gap: 0;
}

.sw-hub-text {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* ------------------------------------------------ champion icons */
.champ-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--gold);
  outline: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  outline-offset: 3px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--gold) 35%, transparent);
  margin-bottom: 4px;
}

/* zero-usage pings */
.ping-bar-empty {
  opacity: 0.35;
}

.rank-badge.rank-never {
  border-style: dashed;
  border-color: var(--panel-edge);
  color: var(--dim);
}

/* compare queue chips row */
.compare-queues {
  margin-top: 12px;
}

@media (max-width: 780px) {
  .sw-frame {
    width: 250px;
    height: 250px;
  }

  .sw-label {
    font-size: 8px;
  }
}


/* ------------------------------------------------ queue groups */
.queue-groups {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.queue-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  border: 1px dashed var(--panel-edge);
  border-radius: 8px;
}

.queue-group-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

@media (max-width: 780px) {
  .queue-groups {
    flex-direction: column;
    gap: 10px;
  }
}

/* pro tip on the home page */
.pro-tip {
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--teal) 7%, var(--panel));
}

/* icons inside the compare tables */
.vs-table .ping-cell {
  display: table-cell;
}

.vs-table .ping-cell .ping-icon {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  margin-right: 6px;
  color: var(--teal);
  display: inline-block;
}

/* ------------------------------------------------ contact form */
.contact-panel {
  max-width: 760px;
  margin: 24px auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-panel .field {
  margin-bottom: 14px;
}

.contact-panel label small {
  color: var(--dim);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.contact-panel textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--panel-edge);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  line-height: 1.5;
}

.contact-panel textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 30%, transparent);
}

.char-hint {
  text-align: right;
  margin: 4px 0 0;
  font-size: 11px;
}

.contact-error {
  margin-bottom: 14px;
}

/* honeypot: invisible to humans, present in the DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-sent {
  text-align: center;
  padding: 20px 0;
}

.contact-sent-mark {
  font-size: 46px;
  color: var(--teal);
  margin: 0;
  text-shadow: var(--glow);
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}