﻿:root {
  --bg-1: #ffffff;
  --bg-2: #ffffff;
  --text: #3b342d;
  --subtle: #7e6f5f;
  --card: rgba(255, 255, 255, 0.94);
  --line: rgba(133, 121, 108, 0.24);
  --accent: #8a7e72;
  --accent-2: #a19384;
  --pop-1: #9c7a56;
  --pop-2: #b99973;
  --pop-3: #ccb595;
  --control-h: 66px;
  --control-r: 20px;
  --control-bd: 1px solid rgba(133, 121, 108, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at -8% -10%, rgba(0, 0, 0, 0.02), transparent 62%),
    radial-gradient(1000px 580px at 108% 110%, rgba(0, 0, 0, 0.02), transparent 60%),
    linear-gradient(160deg, var(--bg-1) 8%, var(--bg-2) 100%);
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.shell {
  position: relative;
  min-height: 100vh;
  width: min(1080px, 100% - 36px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 18px 4px 0;
  z-index: 2;
  animation: slideDown 600ms ease-out both;
}

.top-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(133, 121, 108, 0.26);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 240, 232, 0.9));
  color: #6b6053;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(70, 60, 49, 0.1);
}

.top-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(130deg, #9ec28a, #6b9f73);
  box-shadow: 0 0 0 4px rgba(124, 167, 112, 0.16);
}

.top-time {
  height: 30px;
  min-width: 74px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(133, 121, 108, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: #615649;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #f3f3f3, #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(45, 45, 48, 0.12);
  font-weight: 800;
  color: #4f4f51;
  font-size: 13px;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 0 88px;
  z-index: 1;
}

.search-wrap {
  width: min(870px, 100%);
  text-align: center;
  animation: riseIn 760ms cubic-bezier(0.2, 0.86, 0.22, 1) both;
}

.logo-wrap {
  min-height: 98px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
}

.logo-image {
  max-height: 120px;
  max-width: min(520px, 88vw);
  width: auto;
  display: none;
  object-fit: contain;
}

.logo {
  font-size: clamp(42px, 7.3vw, 78px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 800;
  user-select: none;
}

.logo span {
  background: linear-gradient(120deg, #75695d 12%, #9f8f7c 46%, #75695d 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 26px rgba(90, 78, 64, 0.15);
}

.search-row {
  display: grid;
  grid-template-columns: 92px minmax(280px, 1fr);
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  height: var(--control-h);
  border-radius: var(--control-r);
  border: var(--control-bd);
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(45, 45, 48, 0.1);
  padding: 0 0 0 16px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-box:focus-within {
  border-color: rgba(156, 138, 118, 0.48);
  box-shadow: 0 22px 44px rgba(45, 45, 48, 0.14);
  transform: translateY(-1px);
}

.search-icon {
  font-size: 18px;
  opacity: 0.72;
  margin-right: 8px;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--text);
  outline: none;
  height: 100%;
  line-height: 1;
  font-weight: 500;
  min-width: 120px;
  padding-right: 8px;
}

.search-input::placeholder {
  color: #7a7a7b;
  font-weight: 500;
}

.engine-shell {
  position: relative;
  height: var(--control-h);
  width: 100%;
  z-index: 10;
}

.engine-trigger {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(114, 114, 115, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(240, 240, 241, 0.94));
  color: #4a4a4b;
  border-radius: var(--control-r);
  padding: 0 28px 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(45, 45, 48, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.engine-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #5b5b5d;
  border-bottom: 2px solid #5b5b5d;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.9;
}

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

.engine-shell.is-open .engine-trigger,
.engine-trigger:focus {
  border-color: rgba(156, 138, 118, 0.56);
  box-shadow:
    0 0 0 3px rgba(185, 153, 115, 0.18),
    0 10px 24px rgba(45, 45, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.engine-shell.is-open .engine-trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.engine-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(99, 115, 129, 0.35);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 34px rgba(45, 45, 48, 0.2);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.engine-shell.is-open .engine-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.engine-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #4a4a4b;
  border-radius: 10px;
  height: 34px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.engine-option:hover {
  background: rgba(185, 153, 115, 0.16);
  color: #6d5840;
}

.engine-option.is-active {
  background: linear-gradient(110deg, rgba(156, 122, 89, 0.18), rgba(185, 153, 115, 0.22));
  color: #644f39;
}

.icon-btn {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #49494a;
  background: rgba(226, 226, 227, 0.85);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  margin-right: 6px;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(210, 210, 212, 0.95);
}

.search-action {
  width: 88px;
  height: 100%;
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgba(66, 95, 101, 0.35);
  color: #fff;
  background:
    linear-gradient(115deg, var(--pop-1), var(--pop-2));
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 180ms ease, box-shadow 180ms ease;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.search-action:hover {
  filter: saturate(1.02) brightness(1.01);
}

.search-action:active {
  background: linear-gradient(115deg, #8f7151, #aa8a67);
}

.search-box:focus-within .search-action {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.tip {
  margin-top: 18px;
  font-size: 13px;
  color: #7a6a58;
  letter-spacing: 0.02em;
}

.tip strong {
  color: #6d5840;
  background: rgba(185, 153, 115, 0.16);
  border: 1px solid rgba(156, 122, 89, 0.26);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 800;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 12px;
  color: #8a7762;
  animation: fadeIn 1.4s ease both;
  z-index: 1;
}

.footer a {
  color: #7b5d3f;
  text-decoration: none;
  margin-left: 8px;
}

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



@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 780px) {
  body {
    overflow: auto;
  }

  .topbar {
    justify-content: center;
    padding-top: 14px;
  }

  .top-mini {
    gap: 6px;
  }

  .top-pill {
    height: 28px;
    padding: 0 8px;
  }

  .top-time {
    height: 28px;
    padding: 0 8px;
    min-width: 68px;
  }

  .hero {
    padding: 20px 0 84px;
  }

  .search-box {
    border-radius: 16px;
    padding: 0 0 0 12px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-input {
    height: 54px;
  }

  .search-action {
    width: 82px;
  }

  .logo-image {
    max-height: 76px;
  }
}



