@import url('https://fonts.googleapis.com/css?family=Bungee+Shade');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0c111a;
  --panel: #151c27;
  --panel-soft: #1c2533;
  --line: #242f41;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #6366f1;
  --accent: #00f5ff;
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, #0a1018 100%);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

a {
  color: var(--primary);
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(95%, 1600px);
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  flex: 1;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.site-topbar {
  position: relative;
  min-height: 4rem;
  margin-bottom: 1.35rem;
}

.wordmark {
  position: absolute;
  top: -0.45rem;
  left: 0;
  margin: 0;
  line-height: 1;
  z-index: 2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 auto;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.nav-link {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(99, 102, 241, 0.15);
}

.logo-img {
  display: block;
  width: 240px;
  max-width: 70vw;
  height: auto;
  margin: 1rem auto;
}

.tagline {
  margin: 0.25rem 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}

.warning-note {
  max-width: 720px;
  margin: 0.75rem auto 2.25rem;
  color: var(--warning);
  font-size: 0.92rem;
}

.glitch {
  position: relative;
  display: inline-block;
  font-family: 'Bungee Shade', cursive;
  font-size: clamp(2.35rem, 5.8vw, 3.65rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  color: var(--primary);
  filter: drop-shadow(0 0 16px rgba(0, 245, 255, 0.22));
  text-shadow: 0 0 18px rgba(99, 102, 241, 0.42);
  animation: glitch-flicker 3.8s infinite steps(1, end);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glitch::before {
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 34%);
  left: 3px;
  text-shadow: -2px 0 var(--accent);
  animation: glitch-b 1.9s infinite alternate-reverse;
}

.glitch::after {
  clip-path: polygon(0 64%, 100% 64%, 100% 100%, 0 100%);
  left: -3px;
  text-shadow: 2px 0 var(--primary);
  animation: glitch-a 2.4s infinite alternate;
}

.search-bar-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2.5rem;
}

#lookupForm {
  width: min(100%, 960px);
  padding: 0.65rem;
  border: 1px solid rgba(0, 245, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(21, 28, 39, 0.96), rgba(12, 17, 26, 0.96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.lookup-controls {
  display: grid;
  grid-template-columns: minmax(142px, 0.42fr) minmax(0, 2fr) 3.4rem;
  gap: 0.65rem;
  align-items: start;
}

.lookup-type-control,
.lookup-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.lookup-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
}

.lookup-type-control select,
.lookup-field input {
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  outline: none;
  background: rgba(12, 17, 26, 0.82);
  color: var(--text);
  font-size: 1rem;
  text-transform: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lookup-type-control select {
  appearance: none;
  padding-right: 2.25rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 1.05rem) 50%,
    calc(100% - 0.72rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.36rem 0.36rem, 0.36rem 0.36rem;
  cursor: pointer;
}

.lookup-type-control select:focus,
.lookup-field input:focus {
  border-color: rgba(0, 245, 255, 0.55);
  background: rgba(12, 17, 26, 0.96);
  box-shadow: 0 0 0 4px rgba(0, 245, 255, 0.09);
}

.lookup-field.has-error input {
  border-color: rgba(239, 68, 68, 0.78);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.lookup-field input::placeholder {
  color: var(--muted);
}

.field-error {
  min-height: 0.95rem;
  color: var(--danger);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

#lookupForm button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  width: 3.4rem;
  height: 3.15rem;
  margin-top: calc(0.74rem * 1.2 + 0.35rem);
  overflow: visible;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #e7fbff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: inset 0 0 18px rgba(0, 245, 255, 0.08);
  isolation: isolate;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

#lookupForm button::before,
#lookupForm button::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

#lookupForm button::before {
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--optx-angle, 0deg), #a855f7, #64ffda, #ed4502, #2a83db, #a855f7);
  animation: optx-border-rotate 8s linear infinite;
  z-index: 1;
}

#lookupForm button::after {
  inset: 2px;
  border-radius: 11px;
  background: linear-gradient(135deg, #101827, #071018);
  z-index: 2;
}

#lookupForm button .button-glow {
  position: absolute;
  inset: -7px;
  border-radius: 19px;
  background: conic-gradient(from var(--optx-angle, 0deg), #8b2cff, #00f5ff, #ff3d00, #1d4ed8, #8b2cff);
  filter: blur(14px) saturate(1.45);
  opacity: 0.62;
  animation: optx-border-rotate 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

#lookupForm button i {
  position: relative;
  z-index: 3;
}

#lookupForm button:hover {
  filter: brightness(1.08);
  box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.14);
}

#lookupForm button:hover .button-glow {
  opacity: 0.7;
}

.results {
  width: 100%;
}

.result-summary {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: var(--muted);
}

.result-summary span {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.status-legend {
  display: flex;
  justify-content: center;
  gap: 1rem 1.35rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 2rem;
}

.lookup-mode-help {
  display: flex;
  justify-content: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  max-width: 860px;
  margin: -0.85rem auto 1.6rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.lookup-mode-help span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lookup-mode-help .mode-help-direct {
  color: var(--success);
}

.lookup-mode-help .mode-help-manual {
  color: var(--warning);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.legend-online,
.status-online {
  color: var(--success);
}

.legend-checking,
.status-checking {
  color: var(--warning);
}

.legend-offline,
.status-offline {
  color: var(--danger);
}

.legend-unknown,
.status-unknown {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 5.5rem;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-checking .status-dot {
  animation: pulse-glow 1.6s infinite ease-in-out;
}

.status-online .status-dot,
.legend-online {
  box-shadow: 0 0 10px var(--success);
  animation: status-blink 2s infinite ease-in-out;
}

.status-checking .status-dot,
.legend-checking {
  box-shadow: 0 0 10px var(--warning);
  animation: pulse-glow 1.6s infinite ease-in-out;
}

.status-offline .status-dot,
.legend-offline {
  box-shadow: 0 0 10px var(--danger);
  animation: status-blink 2.4s infinite ease-in-out;
}

.status-unknown .status-dot,
.legend-unknown {
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.72);
  animation: status-blink 2.8s infinite ease-in-out;
}

.tables-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.table-wrapper {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper h3 {
  margin: 0 0 0.85rem;
  color: var(--text);
  text-align: left;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  font-size: 0.84rem;
}

thead th {
  padding: 0.85rem;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

tbody td {
  padding: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
  overflow-wrap: break-word;
}

tbody td:not(.site-cell) {
  overflow-wrap: anywhere;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

th:nth-child(1),
td:nth-child(1) {
  width: 3.25rem;
  text-align: center;
}

th:nth-child(3),
td:nth-child(3) {
  width: 7.75rem;
  text-align: center;
}

th:nth-child(2),
td:nth-child(2) {
  width: 14rem;
}

th:nth-child(4),
td:nth-child(4),
th:nth-child(5),
td:nth-child(5) {
  width: 5.5rem;
  text-align: center;
}

td a {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

td a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

td a:hover {
  color: var(--accent);
}

td a:hover::after {
  width: 100%;
}

.site-cell {
  color: var(--text);
  font-weight: 600;
  min-width: 14rem;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.site-cell span:first-child {
  display: inline-block;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.mode-badge {
  display: inline-flex;
  margin-left: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--warning);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  word-break: normal;
  white-space: nowrap;
}

.mode-badge.direct {
  border-color: var(--success);
  color: var(--success);
}

.not-available,
.empty-state {
  color: var(--muted);
}

.scan-section {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.75rem;
  border: 1px solid rgba(100, 255, 218, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(21, 28, 39, 0.98), rgba(12, 17, 26, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(100, 255, 218, 0.14), transparent 34%);
  box-shadow: var(--shadow);
  text-align: center;
}

.scan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.07) 42%, transparent 58%);
  opacity: 0.55;
  transform: translateX(-120%);
  animation: scan-reflect 7s ease-in-out infinite;
  pointer-events: none;
}

.scan-section h2 {
  position: relative;
  margin: 0 auto 0.65rem;
  color: var(--text);
  font-size: 1.75rem;
}

.scan-lead {
  position: relative;
  max-width: 620px;
  margin: 0 auto 0.65rem;
  color: var(--accent);
  font-weight: 700;
}

.scan-note {
  position: relative;
  max-width: 680px;
  margin: 0 auto 1.55rem;
  color: var(--muted);
  line-height: 1.6;
}

.scan-provider-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.scan-provider {
  position: relative;
  overflow: hidden;
  width: min(100%, 280px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(28, 37, 51, 0.78);
  text-align: center;
}

.scan-provider h3 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.08rem;
}

.scan-provider p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.scan-provider a {
  position: relative;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
}

.scan-provider a:hover {
  color: var(--accent);
}

.scan-provider a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.scan-provider a:hover::after {
  width: 100%;
}

.removal-section {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.removal-hero,
.alias-panel {
  border: 1px solid rgba(100, 255, 218, 0.14);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21, 28, 39, 0.96), rgba(12, 17, 26, 0.96));
  box-shadow: var(--shadow);
}

.removal-hero {
  padding: 1.65rem;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.removal-hero h2 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.removal-hero p,
.alias-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.removal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin: 1rem 0;
}

.removal-card {
  position: relative;
  width: min(100%, 260px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(28, 37, 51, 0.74);
  text-align: center;
}

.card-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.removal-card h3,
.alias-panel h3 {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: 1.08rem;
}

.removal-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.broker-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.7rem;
}

.removal-card a,
.temp-mail-list a {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.removal-card a::after,
.temp-mail-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.removal-card a:hover,
.temp-mail-list a:hover {
  color: var(--accent);
}

.removal-card a:hover::after,
.temp-mail-list a:hover::after {
  width: 100%;
}

.alias-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
}

.temp-mail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
}

.about-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
}

.optx-intro-container {
  position: relative;
  width: min(92%, 900px);
  margin: 3rem auto;
  border-radius: 14px;
  isolation: isolate;
}

.optx-intro-container::before,
.optx-intro-container::after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 16px;
  background: conic-gradient(from var(--optx-angle, 0deg), #a855f7, #64ffda, #ed4502, #2a83db, #a855f7);
  animation: optx-border-rotate 8s linear infinite;
}

.optx-intro-container::before {
  z-index: -1;
}

.optx-intro-container::after {
  z-index: -2;
  filter: blur(42px);
  opacity: 0.72;
}

.optx-intro-content {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--panel) 100%);
  text-align: center;
}

.optx-intro-logo {
  width: 140px;
  height: auto;
  margin-bottom: 0.5rem;
}

.optx-intro-content h2 {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 2.3rem;
}

.about-paragraph {
  color: #d7dee8;
  line-height: 1.8;
}

.warning-note-bordered {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--warning);
  color: var(--warning);
  line-height: 1.75;
  text-align: left;
}

footer {
  width: 100%;
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--primary);
  text-align: center;
  font-size: 0.82rem;
}

footer p {
  max-width: 100%;
  margin: 0;
  overflow-wrap: break-word;
  line-height: 1.5;
}

@keyframes glitch-a {
  0% {
    clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
    transform: translateX(0);
  }

  20% {
    clip-path: polygon(0 65%, 100% 65%, 100% 95%, 0 95%);
    transform: translateX(-6px);
  }

  40% {
    clip-path: polygon(0 60%, 100% 60%, 100% 90%, 0 90%);
    transform: translateX(2px);
  }

  60% {
    clip-path: polygon(0 55%, 100% 55%, 100% 85%, 0 85%);
    transform: translateX(-7px);
  }

  80% {
    clip-path: polygon(0 50%, 100% 50%, 100% 80%, 0 80%);
    transform: translateX(3px);
  }

  100% {
    clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
    transform: translateX(0);
  }
}

@keyframes glitch-b {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
    transform: translateX(0);
  }

  20% {
    clip-path: polygon(0 5%, 100% 5%, 100% 35%, 0 35%);
    transform: translateX(6px);
  }

  40% {
    clip-path: polygon(0 10%, 100% 10%, 100% 40%, 0 40%);
    transform: translateX(-2px);
  }

  60% {
    clip-path: polygon(0 15%, 100% 15%, 100% 45%, 0 45%);
    transform: translateX(7px);
  }

  80% {
    clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%);
    transform: translateX(-3px);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
    transform: translateX(0);
  }
}

@keyframes glitch-flicker {
  0%,
  8%,
  12%,
  33%,
  37%,
  72%,
  76%,
  100% {
    opacity: 1;
    transform: skewX(0deg);
  }

  9% {
    opacity: 0.82;
    transform: skewX(4deg);
  }

  34% {
    opacity: 0.9;
    transform: skewX(-3deg);
  }

  73% {
    opacity: 0.86;
    transform: translateX(2px) skewX(2deg);
  }
}

@keyframes scan-reflect {
  0%,
  38% {
    transform: translateX(-120%);
  }

  68%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes optx-border-rotate {
  to {
    --optx-angle: 359deg;
  }
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(251, 191, 36, 0);
  }

  50% {
    opacity: 0.65;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
  }
}

@property --optx-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: true;
}

@media (max-width: 980px) {
  .tables-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 1.25rem 0.75rem;
  }

  .main-nav {
    width: 100%;
  }

  .site-topbar {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .wordmark {
    top: 0;
    transform: none;
  }

  .nav-link {
    flex: 1;
    padding-inline: 0.6rem;
  }

  #lookupForm {
    width: 100%;
  }

  .lookup-controls {
    grid-template-columns: 1fr;
  }

  #lookupForm button {
    width: 3.4rem;
    justify-self: center;
    margin-top: 0;
  }

  .lookup-fields {
    grid-template-columns: 1fr;
  }

  th:nth-child(3),
  td:nth-child(3) {
    width: 7.5rem;
  }

  th:nth-child(4),
  td:nth-child(4),
  th:nth-child(5),
  td:nth-child(5) {
    width: 4.75rem;
  }

  tbody td,
  thead th {
    padding: 0.7rem 0.55rem;
  }

  table {
    min-width: 720px;
    table-layout: auto;
    font-size: 0.78rem;
  }

  th:nth-child(2),
  td:nth-child(2) {
    width: 13rem;
  }

  .site-cell {
    min-width: 13rem;
    font-size: 0.72rem;
  }

  .mode-badge {
    font-size: 0.58rem;
  }

  .scan-section {
    padding: 1.25rem;
  }

  .removal-hero,
  .alias-panel {
    padding: 1.15rem;
  }

  .alias-panel {
    grid-template-columns: 1fr;
  }

  .temp-mail-list {
    justify-content: flex-start;
  }
}
