
:root {
  --st-paper: #f7f4ee;
  --st-card: #fbf8f1;
  --st-ink: #1d1d1f;
  --st-sub: #5f5b55;
  --st-dim: #8d867b;
  --st-gold: #8a6f43;
  --st-line: rgba(29, 29, 31, .12);
  --st-line-soft: rgba(29, 29, 31, .07);
  --st-ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

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

body.start {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--st-paper);
  color: var(--st-ink);
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


body.start::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 50% 24%, rgba(226, 180, 95, .13), transparent 68%),
    radial-gradient(40% 30% at 82% 78%, rgba(138, 111, 67, .07), transparent 70%);
}

body.start::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--st-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--st-line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 46%, #000 20%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 46%, #000 20%, transparent 78%);
  opacity: .5;
}


.st-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 3.4vw, 44px);
}

.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.st-brand img {
  width: 26px;
  height: 26px;
  display: block;
}

.st-brand .st-word {
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .01em;
}

.st-brand .st-ver {
  margin-left: 2px;
  padding: 2px 7px;
  border: 1px solid var(--st-line);
  border-radius: 5px;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--st-dim);
}

.st-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  background: rgba(251, 248, 241, .7);
  color: var(--st-ink);
  font-size: 13.5px;
  text-decoration: none;
  transition: background .28s var(--st-ease), border-color .28s var(--st-ease), transform .28s var(--st-ease);
}

.st-btn:hover {
  background: #fff;
  border-color: rgba(29, 29, 31, .22);
  transform: translateY(-1px);
}

.st-btn--dark {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #f7f4ee;
}

.st-btn--dark:hover {
  background: #2b2b2e;
  border-color: #2b2b2e;
}


.st-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 40px) clamp(24px, 6vh, 72px);
  text-align: center;
}

.st-logo {
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(62px, 8.6vw, 128px);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0;
  color: #151517;
}

.st-tagline {
  margin: clamp(14px, 1.8vw, 20px) 0 0;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--st-dim);
}

.st-slogan {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  font-size: clamp(14px, 1.15vw, 16px);
  letter-spacing: .04em;
  color: var(--st-sub);
}


.st-search {
  position: relative;
  width: min(720px, 88vw);
  margin-top: clamp(26px, 3.4vw, 40px);
}

.st-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 12px 0 20px;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  background: var(--st-card);
  box-shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 18px 34px -28px rgba(29, 29, 31, .32);
  transition: border-color .24s var(--st-ease), box-shadow .24s var(--st-ease), transform .24s var(--st-ease);
}

.st-field:focus-within {
  border-color: rgba(138, 111, 67, .55);
  box-shadow: 0 0 0 4px rgba(226, 180, 95, .16), 0 22px 40px -30px rgba(29, 29, 31, .38);
}

.st-field svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--st-dim);
}

.st-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--st-ink);
  font-size: 16px;
  font-family: inherit;
}

.st-input::placeholder {
  color: #a49d92;
}

.st-submit {
  flex: none;
  height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: #1d1d1f;
  color: #f7f4ee;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: background .24s var(--st-ease), transform .24s var(--st-ease);
}

.st-submit:hover { background: #2b2b2e; transform: translateY(-1px); }


.st-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  max-height: min(46vh, 380px);
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  background: var(--st-card);
  box-shadow: 0 2px 4px rgba(29, 29, 31, .05), 0 26px 48px -34px rgba(29, 29, 31, .42);
  text-align: left;
  display: none;
}

.st-panel.is-open { display: block; }

.st-group {
  padding: 9px 12px 5px;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--st-dim);
}

.st-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.st-item.is-active { background: rgba(226, 180, 95, .16); }

.st-item .st-t {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--st-ink);
  white-space: nowrap;
}

.st-item .st-d {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--st-dim);
}

.st-item .st-go {
  flex: none;
  font-size: 12px;
  color: var(--st-gold);
  opacity: 0;
  transition: opacity .2s ease;
}

.st-item.is-active .st-go { opacity: 1; }

.st-empty {
  padding: 18px 12px 20px;
  font-size: 13px;
  color: var(--st-dim);
  text-align: center;
}


.st-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--st-dim);
}

.st-hot span { margin-right: 2px; }

.st-hot a {
  padding: 6px 12px;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  color: var(--st-sub);
  text-decoration: none;
  transition: background .22s var(--st-ease), color .22s var(--st-ease), border-color .22s var(--st-ease);
}

.st-hot a:hover {
  background: #fff;
  border-color: rgba(29, 29, 31, .2);
  color: var(--st-ink);
}


.st-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 clamp(18px, 4vw, 40px) clamp(20px, 3vh, 30px);
  font-family: ui-monospace, "Consolas", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: #a09a90;
  text-transform: uppercase;
}

.st-foot i {
  width: 1px;
  height: 11px;
  background: var(--st-line);
}


.st-rise {
  opacity: 0;
  transform: translateY(10px);
  animation: stRise .62s var(--st-ease) forwards;
}

.st-rise:nth-child(1) { animation-delay: .04s; }
.st-rise:nth-child(2) { animation-delay: .12s; }
.st-rise:nth-child(3) { animation-delay: .20s; }
.st-rise:nth-child(4) { animation-delay: .28s; }
.st-rise:nth-child(5) { animation-delay: .36s; }

@keyframes stRise {
  to { opacity: 1; transform: none; }
}


@media (max-width: 720px) {
  .st-top { padding: 16px 18px; }
  .st-brand .st-word { font-size: 19px; }
  .st-btn { height: 36px; padding: 0 14px; font-size: 12.5px; }
  .st-btn--hide { display: none; }
  .st-logo { font-size: clamp(54px, 17vw, 84px); }
  .st-tagline { letter-spacing: .26em; font-size: 10px; }
  .st-field { height: 56px; padding-left: 16px; border-radius: 14px; }
  .st-submit { height: 38px; padding: 0 16px; }
  .st-item .st-d { display: none; }
  .st-hot { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-rise { animation-duration: 1s; }
  .st-btn:hover, .st-submit:hover { transform: none; }
}

@media (max-width: 720px) {
  .st-input { font-size: 15px; }
  .st-foot { flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: .1em; text-align: center; }
  .st-foot i { display: none; }
}

.st-btn .st-art {
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: 0;
  margin-left: 1px;
}
@media (max-width: 720px) {
  .st-btn .st-art { font-size: 14px; }
}

.st-item--web {
  margin-bottom: 6px;
  background: rgba(29, 29, 31, .035);
}
.st-item--web .st-t { color: var(--st-ink); }
.st-item--web .st-d { color: var(--st-sub); }
.st-item--web.is-active { background: rgba(226, 180, 95, .22); }
.st-search .st-panel .st-item--web + .st-group { padding-top: 12px; }

.st-main.is-searching .st-hot {
  opacity: 0;
  visibility: hidden;
}
.st-input::-webkit-search-cancel-button,
.st-input::-webkit-search-decoration {
  -webkit-appearance: none;
  display: none;
}

.st-main { padding-bottom: clamp(60px, 10vh, 120px); }
.st-search { margin-top: clamp(22px, 2.6vw, 32px); }

.st-main {
  padding-top: clamp(4px, 1.4vh, 18px);
  padding-bottom: clamp(84px, 17vh, 200px);
}
@media (max-width: 720px) {
  .st-main { padding-bottom: clamp(72px, 15vh, 160px); }
}

.st-main {
  padding-bottom: clamp(104px, 23vh, 264px);
}
@media (max-width: 720px) {
  .st-main { padding-bottom: clamp(84px, 20vh, 200px); }
}
