:root {
  --ink: #172617;
  --ink-2: #1d311d;
  --ink-3: #244024;
  --neon: #69ff69;
  --cyan: #00ffff;
  --pink: #ff69b4;
  --paper: #f2fff2;
  --muted: #a8c9a8;
  --r: 28px;
  --bar: 88px;
  --chrome: linear-gradient(178deg, #ffffff 0%, #d8ecf6 30%, #93b3c6 52%, #ffffff 74%, #b9d3e0 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: calc(var(--bar) + 28px);
  background:
    radial-gradient(62vw 48vh at 88% -8%, rgba(255, 105, 180, 0.26), transparent 62%),
    radial-gradient(52vw 42vh at 2% 8%, rgba(0, 255, 255, 0.18), transparent 64%),
    radial-gradient(80vw 58vh at 50% 108%, rgba(105, 255, 105, 0.14), transparent 66%),
    var(--ink);
  background-attachment: scroll;
  color: var(--paper);
  font-family: "Raleway", "Lora", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--neon);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- 页头 ---------- */
.masthead {
  position: relative;
  display: block;
  padding: 1.5rem 0 0.6rem;
  overflow: hidden;
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.masthead::before {
  width: 190px;
  height: 190px;
  right: -46px;
  top: -70px;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(255, 105, 180, 0.5) 45%, rgba(0, 255, 255, 0.18) 72%, transparent 74%);
  filter: blur(0.4px) drop-shadow(0 0 18px rgba(255, 105, 180, 0.5));
  animation: bob 9s ease-in-out infinite;
}

.masthead::after {
  width: 66px;
  height: 66px;
  right: 118px;
  top: 30px;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.9), rgba(105, 255, 105, 0.45) 52%, transparent 70%);
  animation: bob 6.5s ease-in-out infinite reverse;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  letter-spacing: 0.06em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 12px rgba(0, 255, 255, 0.35));
}

.brand-mark {
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  background: linear-gradient(150deg, #ff69b4, #00ffff 58%, #69ff69);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.75), inset 0 -3px 6px rgba(0, 0, 0, 0.35);
  flex: none;
}

.brand-glow {
  margin: 0.35rem 0 0;
  height: 3px;
  width: min(320px, 62%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--neon));
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

/* ---------- hero ---------- */
.hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.2rem 0 1.6rem;
  background-image: radial-gradient(46vw 34vh at 82% 42%, rgba(255, 105, 180, 0.16), transparent 70%);
  background-repeat: no-repeat;
}

.hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: flex-end;
}

.hero-txt {
  text-align: right;
}

.hero-ico {
  flex: none;
  width: clamp(38px, 9vw, 64px);
  height: clamp(38px, 9vw, 64px);
  color: var(--neon);
  transform: rotate(var(--rot));
  filter: drop-shadow(0 0 12px rgba(105, 255, 105, 0.8));
  animation: spin 14s linear infinite;
}

h1 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.85rem, 6vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(255, 105, 180, 0.45));
  overflow-wrap: anywhere;
}

/* ---------- 内容区 ---------- */
.stage {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
  padding-bottom: 1rem;
}

.rail {
  position: sticky;
  top: 0.9rem;
  align-self: start;
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--r);
  background: linear-gradient(165deg, rgba(0, 255, 255, 0.14), rgba(255, 105, 180, 0.12) 55%, rgba(105, 255, 105, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.rail-h {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.55);
}

.rail-list {
  list-style: none;
  margin: 0.2rem 0 0.6rem;
  padding: 0;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.15rem 0.55rem;
  border-radius: 14px;
  color: var(--paper);
  font-size: 16px;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.rail-list a::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 0.55rem;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(140deg, var(--pink), var(--cyan));
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
}

.rail-list a:hover {
  background: rgba(23, 38, 23, 0.55);
  color: var(--neon);
  transform: translateX(3px);
}

.rail-top {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 16px;
  background: rgba(23, 38, 23, 0.6);
  color: var(--neon);
}

.sheet {
  min-width: 0;
  max-width: 74ch;
  overflow-wrap: anywhere;
}

.sheet > article {
  background: var(--ink-2);
  border-radius: var(--r);
  padding: 1.35rem 1.25rem 1.5rem;
  margin: 0 0 1.1rem;
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  scroll-margin-top: 1rem;
  scroll-margin-bottom: calc(var(--bar) + 16px);
}

.sheet > article:nth-child(even) {
  background: var(--ink-3);
}

.sheet p {
  margin: 0 0 1rem;
  font-size: 17px;
}

.sheet h2 {
  margin: 0 0 0.1rem;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.3rem, 3.6vw, 1.72rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.35));
}

.sheet h3 {
  margin: 1.4rem 0 0.1rem;
  font-size: 1.1rem;
  color: var(--neon);
  letter-spacing: 0.02em;
}

hr {
  border: 0;
  height: 2px;
  border-radius: 2px;
  margin: 0.65rem 0 1rem;
  background: linear-gradient(90deg, var(--pink), var(--cyan) 55%, var(--neon));
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
}

.sheet ul,
.sheet ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.sheet li {
  margin-bottom: 0.4rem;
}

.sheet li::marker {
  color: var(--pink);
}

.sheet strong {
  color: var(--neon);
}

.sheet blockquote {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(0, 255, 255, 0.1);
  color: var(--paper);
}

.sheet figure {
  margin: 1rem 0;
}

.sheet img {
  border-radius: 18px;
}

.sheet time {
  display: inline-block;
  font-size: 16px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* ---------- 页脚 ---------- */
.base {
  margin-top: 2.2rem;
  padding: 1.6rem 1.25rem 1.4rem;
  border-radius: var(--r) var(--r) 0 0;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.1), rgba(23, 38, 23, 0.94) 42%, #101b10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.base-grid {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 1.8rem;
  align-items: start;
}

.sub-h {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 12px rgba(255, 105, 180, 0.6);
}

.sub-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sub-form input {
  flex: 1 1 8rem;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #d5e8ee);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.18);
}

.gloss {
  min-height: 44px;
  padding: 0.4rem 1.2rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10200f;
  cursor: pointer;
  background: linear-gradient(152deg, #ffffff 0%, var(--pink) 30%, var(--cyan) 66%, var(--neon) 100%);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.42), 0 0 18px rgba(0, 255, 255, 0.42);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.gloss:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 105, 180, 0.6);
}

.gloss:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.42);
}

.base-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.base-nav dl {
  margin: 0;
}

.base-nav dt {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.base-nav dt a {
  color: var(--cyan);
}

.base-nav dd {
  margin: 0;
}

.base-nav dd a,
.base-nav dt a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.1rem;
  font-size: 16px;
  color: var(--muted);
}

.base-nav dd a:hover,
.base-nav dt a:hover {
  color: var(--neon);
}

.base-end {
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(105, 255, 105, 0.24);
  text-align: center;
}

.base-end p {
  margin: 0.15rem 0;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- 底部固定条 ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(19, 32, 19, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(105, 255, 105, 0.3);
  box-shadow: 0 -14px 30px -20px rgba(0, 255, 255, 0.7);
}

.tabbar-in {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabbar-in::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 16px;
  color: var(--paper);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.tab:hover {
  background: rgba(0, 255, 255, 0.16);
  color: var(--neon);
  transform: translateY(-2px);
}

.tab[aria-current] {
  background: linear-gradient(150deg, rgba(255, 105, 180, 0.42), rgba(0, 255, 255, 0.34));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 16px rgba(0, 255, 255, 0.4);
}

.tab-ico {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--neon);
  transform: rotate(var(--rot));
  filter: drop-shadow(0 0 5px rgba(105, 255, 105, 0.8));
}

.tel {
  margin-left: auto;
  font-weight: 700;
  color: #11200f;
  background: linear-gradient(150deg, #ffffff, var(--cyan) 45%, var(--neon));
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
}

.tel:hover {
  color: #0b1a0b;
  background: linear-gradient(150deg, #ffffff, var(--pink) 45%, var(--cyan));
}

.tel .tab-ico {
  color: #11200f;
}

/* ---------- 动效 ---------- */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes spin {
  to { transform: rotate(calc(var(--rot) + 360deg)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .masthead::before,
  .masthead::after,
  .hero-ico { animation: none; }
  .tab,
  .rail-list a,
  .gloss { transition: none; }
}

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
    padding: 0.8rem 0.9rem 0.9rem;
  }

  .rail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
  }

  .rail-list li {
    flex: 0 0 auto;
  }

  .rail-list a {
    background: rgba(23, 38, 23, 0.5);
    font-size: 16px;
  }

  .sheet {
    max-width: none;
  }

  .base-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .frame {
    padding: 0 0.75rem;
  }

  .base {
    padding: 1.4rem 0.75rem 1.2rem;
  }

  .base-nav {
    gap: 0.7rem;
  }

  .hero {
    min-height: 42vh;
  }

  .tabbar-in {
    padding: 0.45rem 0.5rem;
  }
}

@media (min-width: 901px) {
  .tabbar-in {
    justify-content: center;
    padding: 0.6rem 1rem;
  }

  .tel {
    margin-left: 1rem;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
