/* hachiru.com 首页（q1324）：月光夜色，手机和电脑一套 */
:root {
  --夜: #0b0d14;
  --夜深: #05060a;
  --月: #eef0f7;
  --淡: #9aa0b4;
  --线: rgba(238, 240, 247, .22);
  --光: rgba(180, 196, 255, .28);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 80% at 50% 18%, #1b2033 0%, var(--夜) 55%, var(--夜深) 100%) fixed, var(--夜);
  color: var(--月);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.台 {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.脸 {
  width: clamp(132px, 38vw, 196px);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 60px var(--光), 0 4px 18px rgba(0, 0, 0, .6);
  margin-bottom: 28px;
}
.脸.小 { width: clamp(96px, 26vw, 128px); }
.名 {
  margin: 0;
  font-size: clamp(40px, 11vw, 60px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}
.名.中 { font-size: clamp(28px, 8vw, 38px); }
.小名 { margin: 6px 0 0; color: var(--淡); font-size: 15px; letter-spacing: .3em; }
.一句 { margin: 22px 0 0; font-size: clamp(17px, 4.6vw, 20px); max-width: 26em; }
.淡话 { margin: 10px 0 0; color: var(--淡); font-size: 15px; }
.口 {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  justify-content: center;
}
.钮 {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--线);
  color: var(--月);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: background .15s, transform .15s;
}
.钮:hover { background: rgba(255, 255, 255, .06); }
.钮:active { transform: scale(.98); }
.钮.主 { background: var(--月); color: var(--夜); border-color: var(--月); }
.钮.主:hover { background: #ffffff; }
.钮:focus-visible { outline: 2px solid #9fb2ff; outline-offset: 3px; }
.口:has(.钮:only-child) .钮 { flex: 0 1 200px; }
.脚 { text-align: center; color: var(--淡); font-size: 13px; padding: 16px 16px 24px; opacity: .7; }
@media (max-width: 340px) { .口 { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .钮 { transition: none; } }
@media (min-width: 900px) {
  .脸 { width: 228px; }
  .名 { font-size: 72px; }
  .一句 { font-size: 21px; }
  .口 { max-width: 400px; }
}
.一句 span { display: inline-block; }
