:root {
  --bg: #040608;
  --bg-deep: #0a0f12;
  --text: #f6f8fa;
  --muted: #9ca3a9;
  --line: #1a2024;
  --line-strong: #273038;
  --accent: #84da4f;
  --accent-soft: rgba(132, 218, 79, 0.2);
  --stage-vh: 100vh;
  --legal-mini-offset: 10px;
  --legal-mini-reserve: 52px;
}

@supports (height: 100svh) {
  :root {
    --stage-vh: 100svh;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  background-color: #040608;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  background-color: #040608;
  background:
    radial-gradient(1200px 560px at 15% -10%, rgba(32, 56, 34, 0.55) 0%, transparent 60%),
    radial-gradient(1000px 560px at 85% -5%, rgba(20, 48, 41, 0.48) 0%, transparent 62%),
    linear-gradient(180deg, #060a0d 0%, #040608 100%);
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 32%, rgba(132, 218, 79, 0.07), transparent 58%);
}

body.is-searching {
  overflow-y: auto;
}

.shell {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(1040px, 100%);
  min-height: var(--stage-vh);
  padding: 0 18px 0;
}

.search-stage {
  min-height: var(--stage-vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: var(--legal-mini-reserve);
  transition: min-height 0.28s ease, padding-top 0.28s ease;
}

.search-wrap {
  width: min(740px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: gap 0.24s ease, margin 0.24s ease;
}

.brand-orb {
  width: 122px;
  height: 122px;
  border-radius: 32px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(132, 218, 79, 0.15), transparent 60%),
    linear-gradient(160deg, rgba(10, 17, 21, 0.95), rgba(5, 8, 11, 0.95));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: width 0.24s ease, height 0.24s ease, border-radius 0.24s ease;
}

.brand-logo {
  width: 76px;
  height: 76px;
  filter: brightness(0) invert(1) contrast(300%);
  opacity: 1;
  transform: translateZ(0);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition:
    width 0.24s ease,
    height 0.24s ease;
}

.brand-logo.is-pulsing {
  animation: logoHeartbeatLogo 2.35s cubic-bezier(0.2, 0.62, 0.24, 1) infinite;
}

@keyframes logoHeartbeatLogo {
  0% {
    transform: translateZ(0) scale(1);
  }
  16% {
    transform: translateZ(0) scale(1.04);
  }
  32% {
    transform: translateZ(0) scale(1.1);
  }
  48% {
    transform: translateZ(0) scale(1.05);
  }
  64% {
    transform: translateZ(0) scale(1.09);
  }
  82% {
    transform: translateZ(0) scale(1.03);
  }
  100% {
    transform: translateZ(0) scale(1);
  }
}

.brand-word {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #f8fafb;
  font-size: clamp(36px, 4.4vw, 44px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-trademark {
  position: absolute;
  right: -24px;
  top: -17px;
  width: 16px;
  height: 16px;
  opacity: 0.97;
  pointer-events: none;
}

.tm-ring {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1.35px solid rgba(248, 250, 251, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(6, 10, 13, 0.78);
}

.tm-r {
  color: #f8fafb;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-0.25px);
}

.brand-tagline {
  margin: 0;
  max-width: 620px;
  color: #b4bcc2;
  font-size: 14px;
  line-height: 1.38;
  letter-spacing: 0.012em;
  text-align: center;
}

.pause-accent {
  color: #d98787;
  font-weight: 590;
}

.search-shell {
  position: relative;
  border: 1px solid #29323b;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(9, 13, 17, 0.96), rgba(6, 10, 13, 0.98));
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

body.is-idle .search-shell::after {
  opacity: 1;
  animation: idlePulse 2.2s ease-in-out infinite;
}

@keyframes idlePulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(132, 218, 79, 0.04), 0 0 0 0 rgba(132, 218, 79, 0);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(132, 218, 79, 0.22), 0 0 0 6px rgba(132, 218, 79, 0.08);
  }
}

.search-shell:focus-within {
  border-color: rgba(132, 218, 79, 0.58);
  box-shadow:
    0 0 0 3px rgba(132, 218, 79, 0.14),
    0 20px 42px rgba(0, 0, 0, 0.5);
}

.query-input {
  width: 100%;
  height: 72px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 23px;
  font-weight: 540;
  letter-spacing: 0;
  padding: 0 22px;
}

.query-input::placeholder {
  color: #899197;
}

.search-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #0d1216;
}

.search-progress {
  width: 0;
  height: 100%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #2c3237, var(--accent));
}

.suggestions {
  list-style: none;
  margin: 0;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #202830;
  background: linear-gradient(180deg, rgba(11, 15, 18, 0.98), rgba(8, 11, 14, 0.98));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
  display: none;
}

.suggestions.show {
  display: block;
}

.suggestions li + li {
  margin-top: 4px;
}

.suggestion-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e4e8eb;
  text-align: left;
  padding: 11px 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.suggestion-btn:hover,
.suggestion-btn.selected {
  background: #141b21;
  color: #fcfffd;
}

.hint {
  min-height: 20px;
  margin: 2px 6px 0;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.notify-prompt {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 2px 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(132, 218, 79, 0.26);
  background:
    radial-gradient(540px 180px at 6% -80%, rgba(132, 218, 79, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 15, 18, 0.96), rgba(7, 11, 14, 0.98));
}

.notify-prompt.show {
  display: flex;
}

.notify-copy {
  min-width: 0;
}

.notify-title {
  margin: 0;
  color: #e8f4e0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 620;
  letter-spacing: 0.015em;
}

.notify-body {
  margin: 2px 0 0;
  color: #adbbaf;
  font-size: 11.5px;
  line-height: 1.35;
}

.notify-action {
  flex-shrink: 0;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(132, 218, 79, 0.5);
  background: rgba(132, 218, 79, 0.14);
  color: #eaf6e3;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.notify-action:hover {
  border-color: rgba(132, 218, 79, 0.74);
  background: rgba(132, 218, 79, 0.2);
}

body.is-searching .search-stage {
  min-height: 164px;
  align-items: flex-start;
  padding-top: 14px;
  padding-bottom: 0;
}

body.is-searching .search-wrap {
  width: min(700px, 100%);
}

body.is-searching .brand-mark {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 2px;
}

body.is-searching .brand-orb {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

body.is-searching .brand-logo {
  width: 20px;
  height: 20px;
}

body.is-searching .brand-word {
  font-size: 21px;
}

body.is-searching .brand-trademark {
  right: -14px;
  top: -8px;
  width: 10px;
  height: 10px;
}

body.is-searching .tm-ring {
  border-width: 1.1px;
}

body.is-searching .tm-r {
  font-size: 5px;
}

body.is-searching .brand-tagline {
  display: none;
}

body.is-searching .search-shell {
  border-radius: 16px;
}

body.is-input-locked .search-shell {
  border-color: rgba(217, 135, 135, 0.42);
  box-shadow:
    0 0 0 2px rgba(217, 135, 135, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.42);
}

.query-input:disabled {
  cursor: not-allowed;
  color: #b3bbc0;
  opacity: 0.85;
}

body.is-searching .query-input {
  height: 58px;
  font-size: 18px;
}

.results-stage {
  padding-top: 8px;
}

.result-list {
  margin: 0 auto;
  width: min(700px, 100%);
  position: relative;
  padding-left: 28px;
}

.result-list.has-empty-state {
  padding-left: 0;
}

/* ── Editorial timeline thread ── */
.result-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    #253028 0px,
    #253028 5px,
    transparent 5px,
    transparent 11px
  );
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.result-list.has-empty-state::before {
  display: none;
}

body.is-searching .result-list::before {
  opacity: 1;
}

/* ── Connector transition label ── */
.card-connector {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.card-connector.has-text {
  display: flex;
}

.card-connector::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(132, 218, 79, 0.25), transparent);
}

/* ── Timeline node dot ── */
.result-card {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.26s ease forwards;
  border-bottom: 1px solid #181f24;
  padding: 14px 2px;
  position: relative;
}

.result-card::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #3a5a30;
  background: var(--bg);
  z-index: 1;
  transition: border-color 0.4s ease, background 0.4s ease;
}

/* Dot is loading — inner fill breathes green */
.result-card.is-loading::before {
  border-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(132, 218, 79, 0.55);
  animation: dotPulse 1.2s ease-in-out infinite, dotGlow 1.2s ease-out infinite;
}

/* Dot is ready — solid green fill, no outward glow */
.result-card.is-ready::before {
  background: var(--accent);
  border-color: var(--accent);
  animation: none;
}

@keyframes dotPulse {
  0%, 100% {
    background: rgba(132, 218, 79, 0.1);
  }
  50% {
    background: rgba(132, 218, 79, 0.6);
  }
}

@keyframes dotGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(132, 218, 79, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(132, 218, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(132, 218, 79, 0);
  }
}



@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-link {
  display: block;
  color: inherit;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.source-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a2a9ae;
  font-size: 13px;
}

.source-domain {
  text-decoration: none;
  color: #a2a9ae;
  transition: color 0.2s ease;
}

.source-domain:hover {
  color: var(--accent);
}

.favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  background: #202325;
}

.country-flag {
  font-size: 17px;
}

.card-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  color: #f4f7f8;
}

.card-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.52;
  color: #d5d9dc;
}

.card-summary-detail {
  display: none;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #b8c2c8;
}

body.show-summary-detail .card-summary-detail.has-content {
  display: block;
}

.skeleton-lines {
  margin-top: 6px;
}

.skeleton-line {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 7px;
  margin-bottom: 9px;
}

.skeleton-line.short {
  width: 74%;
  margin-bottom: 0;
}

.shimmer {
  background: linear-gradient(90deg, #171a1d 25%, #22262a 50%, #171a1d 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.empty-state {
  border: 1px solid #1f2730;
  border-radius: 16px;
  padding: 14px;
  color: #acb3b8;
  background: #0c0f11;
  margin-bottom: 14px;
}

.empty-state-rich {
  padding: 16px 16px 14px;
  background:
    radial-gradient(640px 220px at 18% -24%, rgba(132, 218, 79, 0.12) 0%, transparent 62%),
    #0c0f11;
}

.empty-state-title {
  margin: 0 0 6px;
  color: #eef5f0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 620;
  letter-spacing: 0.01em;
}

.empty-state-message {
  margin: 0;
  color: #b9c0c5;
  font-size: 14px;
  line-height: 1.5;
}

.empty-state-action {
  margin: 10px 0 0;
  color: #d8e9d0;
  font-size: 13px;
  line-height: 1.45;
}

body.not-found-page {
  overflow-y: auto;
}

.not-found-shell {
  display: flex;
  flex-direction: column;
}

.not-found-stage {
  min-height: var(--stage-vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 92px;
}

.not-found-card {
  width: min(720px, 100%);
  border: 1px solid #25323c;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(620px 280px at 50% -10%, rgba(132, 218, 79, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(12, 18, 22, 0.97), rgba(7, 11, 14, 0.98));
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.not-found-brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.not-found-brand .brand-orb {
  width: 94px;
  height: 94px;
  border-radius: 26px;
}

.not-found-brand .brand-logo {
  width: 58px;
  height: 58px;
}

.not-found-brand .brand-word {
  font-size: clamp(32px, 5vw, 40px);
}

.not-found-brand .brand-trademark {
  right: -22px;
  top: -16px;
}

.not-found-code {
  margin: 4px 0 0;
  color: #a3b0b7;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  line-height: 1.4;
}

.not-found-title {
  margin: 0;
  color: #f5f9fa;
  font-size: clamp(32px, 5.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.not-found-copy {
  margin: 0;
  max-width: 560px;
  color: #b2bdc4;
  font-size: 15px;
  line-height: 1.55;
}

.not-found-actions {
  margin-top: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.not-found-button {
  min-width: 220px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(132, 218, 79, 0.62);
  background: linear-gradient(180deg, rgba(132, 218, 79, 0.2), rgba(132, 218, 79, 0.11));
  color: #f0f7ec;
  text-decoration: none;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.not-found-button:hover {
  transform: translateY(-1px);
  border-color: rgba(132, 218, 79, 0.86);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.flow-footer {
  text-align: center;
  padding: 32px 0 16px;
  font-size: 11px;
  color: var(--muted, #9ca3a9);
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 0.4s ease 0.2s forwards;
}

.share-row {
  text-align: center;
  margin-top: 14px;
  padding: 10px 0 80px;
  opacity: 0;
  animation: fadeUp 0.4s ease 0.35s forwards;
}

.result-list.has-empty-state .share-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(132, 218, 79, 0.12);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted, #9ca3a9);
  background: transparent;
  border: 1px solid rgba(132, 218, 79, 0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.share-btn:hover {
  color: var(--accent);
  border-color: rgba(132, 218, 79, 0.4);
  background: rgba(132, 218, 79, 0.04);
}

.share-btn.copied {
  color: var(--accent);
  border-color: var(--accent);
}

.share-btn.disabled,
.share-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  color: #7f878d;
  border-color: rgba(127, 135, 141, 0.24);
  background: transparent;
}

.search-lock-state .empty-state-action {
  margin-top: 9px;
  color: #d9e1e5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  word-break: break-word;
}

.legal-mini {
  position: fixed;
  left: 50%;
  bottom: var(--legal-mini-offset);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(41, 50, 59, 0.75);
  background: rgba(8, 11, 14, 0.7);
  backdrop-filter: blur(6px);
  font-size: 11px;
  line-height: 1.2;
  max-width: calc(100vw - 24px);
}

.legal-link {
  color: #aeb8bf;
  text-decoration: none;
}

.legal-link:hover {
  color: #d6dce1;
}

.legal-sep {
  color: #6e7780;
}

body.is-searching .legal-mini {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --legal-mini-offset: calc(env(safe-area-inset-bottom, 0px) + 14px);
    --legal-mini-reserve: calc(env(safe-area-inset-bottom, 0px) + 64px);
  }

  .shell {
    padding: 0 10px 0;
  }

  .search-wrap {
    gap: 8px;
  }

  .brand-mark {
    gap: 7px;
    margin-bottom: 2px;
  }

  .brand-orb {
    width: 90px;
    height: 90px;
    border-radius: 24px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-word {
    font-size: 34px;
  }

  .brand-tagline {
    max-width: 320px;
    padding: 0 8px;
    font-size: 11.5px;
    line-height: 1.35;
    text-align: center;
  }

  .brand-tagline #taglineSuffix {
    display: none;
  }

  .search-shell {
    border-radius: 18px;
  }

  .query-input {
    height: 58px;
    font-size: 17px;
    padding: 0 14px;
  }

  .query-input::placeholder {
    font-size: 14px;
  }

  body.is-searching .brand-word {
    font-size: 19px;
  }

  .hint {
    margin: 2px 4px 0;
    font-size: 11px;
  }

  .notify-prompt {
    margin: 3px 1px 0;
    padding: 9px 10px;
    border-radius: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .notify-title {
    font-size: 11.2px;
  }

  .notify-body {
    font-size: 10.6px;
  }

  .notify-action {
    width: 100%;
    height: 32px;
    font-size: 10.8px;
  }

  .brand-trademark {
    right: -19px;
    top: -15px;
    width: 13px;
    height: 13px;
  }

  .tm-ring {
    border-width: 1.2px;
  }

  .tm-r {
    font-size: 6px;
  }

  body.is-searching .brand-trademark {
    right: -11px;
    top: -7px;
    width: 9px;
    height: 9px;
  }

  body.is-searching .tm-r {
    font-size: 4px;
  }

  .card-title {
    font-size: 18px;
  }

  .result-list {
    padding-left: 22px;
  }

  .result-list::before {
    left: 4px;
  }

  .result-card::before {
    left: -22px;
    width: 7px;
    height: 7px;
  }

  .card-connector {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .not-found-stage {
    padding: 14px 0 90px;
    align-items: flex-start;
  }

  .not-found-card {
    border-radius: 22px;
    padding: 22px 16px 20px;
    gap: 12px;
  }

  .not-found-brand .brand-orb {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .not-found-brand .brand-logo {
    width: 46px;
    height: 46px;
  }

  .not-found-brand .brand-word {
    font-size: 34px;
  }

  .not-found-brand .brand-trademark {
    right: -19px;
    top: -15px;
    width: 13px;
    height: 13px;
  }

  .not-found-title {
    font-size: 33px;
  }

  .not-found-copy {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .not-found-button {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 13px;
  }

  .legal-mini {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(41, 50, 59, 0.78);
    background: rgba(8, 11, 14, 0.78);
    backdrop-filter: blur(6px);
    font-size: 10.4px;
    line-height: 1.2;
  }

  .legal-mini .legal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cfd7dc;
    font-size: 10.4px;
    letter-spacing: 0.01em;
  }

  .legal-mini .legal-sep {
    display: inline;
    color: #6e7780;
  }
}

@media (max-width: 360px) {
  .legal-mini {
    max-width: calc(100vw - 16px);
    font-size: 9.8px;
    gap: 3px;
    padding: 5px 9px;
  }

  .legal-mini .legal-link {
    font-size: 9.8px;
    letter-spacing: 0;
  }
}
