:root {
  color-scheme: dark;
  --bg: #030910;
  --shell: rgba(6, 15, 27, 0.84);
  --panel: rgba(9, 25, 39, 0.78);
  --panel-strong: rgba(10, 30, 46, 0.92);
  --line: rgba(92, 225, 255, 0.22);
  --line-strong: rgba(102, 237, 255, 0.62);
  --cyan: #59e9ff;
  --mint: #6dffc9;
  --blue: #4e8cff;
  --text: #f2faff;
  --muted: #92b9ca;
  --subtle: #668fa1;
  --danger-soft: rgba(255, 171, 92, 0.12);
  --radius: 30px;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 30px 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 180, 220, 0.19), transparent 34%),
    radial-gradient(circle at 84% 72%, rgba(58, 89, 255, 0.14), transparent 32%),
    linear-gradient(155deg, #050c15 0%, #020912 54%, #07111b 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

body::before {
  top: -190px;
  left: -130px;
  background: #00b7d8;
}

body::after {
  right: -210px;
  bottom: -190px;
  background: #315bff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(68, 214, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 214, 239, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}

.nav-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(13, 32, 48, 0.55), rgba(3, 11, 20, 0.9)),
    var(--shell);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 70px rgba(19, 195, 225, 0.06);
  backdrop-filter: blur(20px);
  animation: shell-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.brand,
.topbar-actions,
.login-link,
.enter-link {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
}

.portal-brand-logo {
  display: block;
  width: clamp(174px, 22vw, 224px);
  height: auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(94, 236, 255, 0.48);
  border-radius: 17px;
  color: #f6feff;
  background:
    linear-gradient(145deg, rgba(84, 241, 255, 0.18), rgba(48, 85, 255, 0.08)),
    #071722;
  box-shadow: inset 0 0 24px rgba(73, 230, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-mark span {
  transform: translateX(-1px);
  font-size: 20px;
}

.brand-mark i {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(16px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: -0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.topbar-actions {
  gap: 9px;
}

.login-link,
.enter-link {
  min-height: 40px;
  gap: 7px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 13px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.login-link {
  border: 1px solid var(--line);
  color: #d6f6ff;
  background: rgba(7, 22, 35, 0.65);
}

.enter-link {
  border: 1px solid rgba(99, 238, 255, 0.48);
  color: #edfdff;
  background: linear-gradient(135deg, rgba(20, 168, 196, 0.28), rgba(44, 90, 216, 0.22));
  box-shadow: inset 0 0 20px rgba(78, 231, 255, 0.06);
}

.login-link:hover,
.enter-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(109, 255, 201, 0.08), 0 0 12px rgba(109, 255, 201, 0.8);
}

.hero {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 8px 0 28px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.55;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.eyebrow i {
  width: 21px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(31px, 5.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(92deg, #ffffff 2%, #7cf1ff 48%, #6c9dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero p {
  max-width: 660px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 16, 27, 0.82);
  box-shadow: inset 0 0 22px rgba(65, 219, 244, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 24px rgba(65, 219, 244, 0.06), 0 0 0 3px rgba(80, 224, 255, 0.06);
}

.hero-search > .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}

.hero-search input::placeholder {
  color: #6d91a2;
}

.hero-search button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(99, 238, 255, 0.45);
  border-radius: 13px;
  color: #f3feff;
  background: linear-gradient(135deg, #0c8298, #1c4fb8);
  box-shadow: 0 8px 22px rgba(19, 155, 192, 0.2);
  cursor: pointer;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 18px;
}

.metric-card {
  position: relative;
  display: grid;
  min-height: 112px;
  place-content: center;
  gap: 3px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
  background: rgba(6, 23, 37, 0.64);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: -45px;
  left: 50%;
  width: 105px;
  height: 55px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(82, 230, 255, 0.13);
  filter: blur(22px);
}

.metric-card strong {
  color: var(--cyan);
  font-size: clamp(23px, 4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.metric-card small {
  color: var(--muted);
  font-size: 11px;
}

.metric-icon {
  display: grid;
  margin: 0 auto 2px;
  place-items: center;
  color: rgba(100, 237, 255, 0.75);
  font-size: 14px;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gate-card {
  position: relative;
  display: flex;
  min-height: 102px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(135deg, rgba(9, 30, 46, 0.84), rgba(5, 17, 29, 0.9));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(112, 242, 255, 0.08) 44%, transparent 62%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.gate-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 0 30px rgba(53, 210, 238, 0.06);
}

.gate-card:hover::after {
  transform: translateX(110%);
}

.gate-primary {
  border-color: rgba(101, 240, 255, 0.4);
  background:
    radial-gradient(circle at 6% 50%, rgba(68, 235, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(12, 58, 73, 0.8), rgba(7, 24, 42, 0.92));
}

.gate-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(106, 237, 255, 0.32);
  border-radius: 15px;
  color: var(--cyan);
  background: rgba(44, 206, 230, 0.09);
  font-size: 24px;
}

.gate-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.gate-copy small {
  color: #4e91aa;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.gate-copy strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gate-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gate-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(74, 225, 247, 0.08);
}

.recent-section,
.quick-section {
  margin-top: 30px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  font-size: 10px;
  white-space: nowrap;
}

.heading-note {
  color: var(--subtle);
  font-size: 10px;
}

.recent-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}

.recent-track {
  display: flex;
  width: max-content;
  gap: 11px;
  padding-bottom: 8px;
  will-change: transform;
}

.recent-track.is-running {
  animation: recent-marquee var(--marquee-duration, 44s) linear infinite;
}

.recent-track:hover {
  animation-play-state: paused;
}

.recent-card {
  display: flex;
  width: 186px;
  min-width: 0;
  flex: 0 0 186px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(92, 225, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 23, 36, 0.76);
  scroll-snap-align: start;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.recent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 234, 255, 0.48);
  background: rgba(10, 34, 50, 0.88);
}

.recent-cover {
  position: relative;
  aspect-ratio: 16 / 8.3;
  overflow: hidden;
  background: #071521;
}

.recent-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.recent-card:hover .recent-cover img {
  transform: scale(1.04);
}

.recent-category {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(102, 237, 255, 0.25);
  border-radius: 7px;
  color: #d7fbff;
  background: rgba(2, 12, 20, 0.78);
  backdrop-filter: blur(8px);
  font-size: 9px;
}

.recent-body {
  display: flex;
  min-height: 89px;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
}

.recent-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ecfaff;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.recent-body span {
  margin-top: auto;
  overflow: hidden;
  color: var(--subtle);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skeleton-card {
  min-height: 195px;
  padding: 0;
}

.skeleton-card div,
.skeleton-card span,
.skeleton-card i {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(82, 153, 173, 0.08), rgba(102, 208, 229, 0.16), rgba(82, 153, 173, 0.08));
  background-size: 220% 100%;
  animation: skeleton 1.4s linear infinite;
}

.recent-empty {
  width: 100%;
  margin: 8px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(7, 23, 36, 0.76);
  font-size: 12px;
}

.skeleton-card div {
  height: 108px;
  border-radius: 0;
}

.skeleton-card span {
  width: 78%;
  height: 12px;
  margin: 16px 12px 0;
}

.skeleton-card i {
  width: 46%;
  height: 8px;
  margin: 10px 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.quick-link {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(6, 19, 30, 0.62);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-link:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: rgba(10, 41, 56, 0.76);
}

.quick-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(72, 218, 242, 0.08);
  font-size: 18px;
}

.quick-link > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.quick-link strong {
  font-size: 13px;
}

.quick-link small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-arrow {
  flex: 0 0 auto;
  color: #3acff0;
}

.notice-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 177, 98, 0.23);
  border-radius: 18px;
  background: linear-gradient(90deg, var(--danger-soft), rgba(7, 19, 30, 0.65));
}

.notice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #ffc47c;
  background: rgba(255, 174, 84, 0.1);
}

.notice-strip > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.notice-strip strong {
  font-size: 12px;
}

.notice-strip small {
  color: #b8a58f;
  font-size: 10px;
}

.official-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 180, 102, 0.3);
  border-radius: 20px;
  color: #ffc985;
  font-size: 9px;
}

.keep-section {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 4% 0%, rgba(255, 170, 58, 0.09), transparent 30%),
    rgba(4, 15, 25, 0.78);
}

.keep-heading,
.fraud-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.keep-hash {
  color: #ffad43;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.keep-heading h2,
.fraud-heading h2 {
  margin: 0;
  color: #f5fbff;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.keep-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.keep-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(92, 225, 255, 0.17);
  border-radius: 17px;
  background: rgba(9, 25, 38, 0.78);
}

.keep-step {
  display: grid;
  width: 34px;
  height: 28px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  color: #081018;
  background: linear-gradient(145deg, #ffc14f, #ff922c);
  font-size: 15px;
  font-weight: 900;
}

.keep-card h3 {
  margin: 0 0 8px;
  color: #f1fbff;
  font-size: 14px;
}

.keep-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.keep-card kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid rgba(146, 224, 244, 0.25);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: #dffbff;
  background: rgba(9, 32, 47, 0.9);
  font-family: inherit;
  font-size: 9px;
}

.fraud-section {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 176, 72, 0.22);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(117, 72, 16, 0.18), rgba(5, 17, 28, 0.72));
}

.fraud-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #ffc25f;
  background: rgba(255, 173, 67, 0.1);
  font-size: 17px;
}

.fraud-list {
  display: grid;
  gap: 9px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.fraud-list li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.fraud-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d3dce3;
}

.fraud-list b {
  color: #ffc768;
  font-weight: 700;
}

.portal-footer {
  display: grid;
  justify-items: center;
  gap: 15px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(92, 225, 255, 0.09);
  text-align: center;
}

.portal-footer > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portal-footer strong {
  font-size: 13px;
}

.portal-footer span,
.portal-footer small {
  color: var(--subtle);
  font-size: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-links > a:not(.footer-telegram) {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid rgba(92, 225, 255, 0.27);
  border-radius: 20px;
  color: #bfeffb;
  background: rgba(8, 28, 41, 0.72);
  font-size: 10px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-links > a:not(.footer-telegram):hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(10, 47, 63, 0.86);
}

.footer-telegram {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(89, 233, 255, 0.3);
  border-radius: 50%;
  color: #d8fdff;
  background:
    radial-gradient(circle at 38% 35%, rgba(89, 233, 255, 0.28), transparent 52%),
    rgba(7, 30, 41, 0.9);
  box-shadow:
    inset 0 0 18px rgba(89, 233, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.28);
  font-size: 23px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.footer-telegram:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 255, 201, 0.75);
  box-shadow:
    inset 0 0 20px rgba(89, 233, 255, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.36),
    0 0 20px rgba(89, 233, 255, 0.12);
}

@keyframes shell-in {
  from {
    transform: translateY(18px) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes skeleton {
  to {
    background-position: -220% 0;
  }
}

@keyframes recent-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 720px) {
  body {
    padding: 12px;
  }

  .nav-shell {
    padding: 19px 15px 24px;
    border-radius: 27px;
  }

  .topbar {
    align-items: flex-start;
    margin-bottom: 27px;
  }

  .brand-mark {
    width: 47px;
    height: 47px;
    border-radius: 14px;
  }

  .portal-brand-logo {
    width: 156px;
  }

  .enter-link {
    min-height: 37px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    gap: 20px;
    padding-top: 2px;
  }

  .hero p {
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-search {
    min-height: 54px;
    padding-left: 14px;
    border-radius: 16px;
  }

  .hero-search input {
    font-size: 12px;
  }

  .hero-search button {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 11px;
  }

  .metric-grid {
    gap: 7px;
    margin: 18px 0 12px;
  }

  .metric-card {
    min-height: 91px;
    padding: 12px 5px;
    border-radius: 17px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .metric-card small {
    font-size: 9px;
  }

  .metric-icon {
    font-size: 12px;
  }

  .gate-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gate-card {
    min-height: 82px;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 19px;
  }

  .gate-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
  }

  .gate-copy strong {
    font-size: 15px;
  }

  .gate-copy span {
    font-size: 10px;
  }

  .gate-arrow {
    width: 29px;
    height: 29px;
  }

  .recent-section,
  .quick-section {
    margin-top: 24px;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .recent-track {
    gap: 8px;
  }

  .recent-card {
    width: 176px;
    flex-basis: 176px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .quick-link {
    min-height: 62px;
    padding: 9px 12px;
  }

  .notice-strip {
    align-items: flex-start;
    padding: 12px;
  }

  .notice-strip small {
    line-height: 1.5;
  }

  .official-badge {
    display: none;
  }

  .keep-section {
    padding: 17px 15px;
  }

  .keep-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .keep-step {
    margin-bottom: 13px;
  }

  .fraud-section {
    padding: 17px 15px;
  }

  .route-zone {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .recent-viewport {
    overflow-x: auto;
    mask-image: none;
  }

  .recent-track.is-running {
    animation: none;
  }
}
