@charset "UTF-8";
/* 汐颜官网增量视觉层
   仅调整视觉与交互表现，不改动页面业务、接口或账号协议。 */

:root {
  --bg: #fbfbfa;
  --surface: #f3f4f2;
  --surface2: #e9ebe8;
  --line: #e1e4df;
  --ink: #1c2320;
  --ink2: #4f5a54;
  --ink3: #7a857e;
  --blue: #2f64d6;
  --blue-d: #2651b2;
  --blue-bg: #edf2fb;
  --green: #26724e;
  --green-bg: #eef6f1;
  --amber: #8a5f16;
  --amber-bg: #fff6e4;
  --red: #b64149;
  --red-bg: #fdf0f0;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 7px;
  --silk: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 68px;
  --shadow: 0 8px 24px -22px rgba(28, 35, 32, .4);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { max-width: 100%; }
body { background: var(--bg); color: var(--ink); font-size: 15px; overflow-x: hidden; }
body :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(47, 100, 214, .24);
  outline-offset: 2px;
}
::selection { background: rgba(47, 100, 214, .17); }
.wrap { width: min(1120px, 100% - 48px); max-width: 1120px; padding: 0; margin-inline: auto; }
#splash { display: none !important; }

/* 导航 */
.nav-in { display: flex; align-items: center; height: 100%; }
.brand { display: flex; align-items: center; }
.brand-ico { display: block; overflow: hidden; flex: none; }
.brand-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nlinks { display: flex; align-items: center; }
.nlinks a { color: var(--ink2); text-decoration: none; }
.nlinks a:hover { color: var(--ink); text-decoration: none; }
.nlinks a::after { background: var(--blue); }
.nav-right { margin-left: auto; display: flex; align-items: center; }
#navUser { display: flex; align-items: center; }
.btn-login-text, .btn-login-main { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-login-text:hover, .btn-login-main:hover { text-decoration: none; }
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 250, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
#nav.scrolled { background: rgba(251, 251, 250, .98); border-bottom-color: var(--line); }
.nav-in { max-width: 1120px; padding: 0; gap: 28px; }
.brand { font-size: 15.5px; font-weight: 700; gap: 9px; }
.brand-ico { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.nlinks { gap: 22px; margin-left: 8px; font-size: 13.5px; color: var(--ink2); }
.nlinks a { padding: 7px 0; }
.nlinks a::after { bottom: 2px; height: 1.5px; border-radius: 0; }
.nav-right, #navUser { gap: 8px; }
.btn-login-text { border: 0; background: transparent; color: var(--ink2); border-radius: 7px; font-size: 13px; padding: 7px 9px; }
.btn-login-main {
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: none;
}
.btn-login-main:hover { transform: none; box-shadow: none; background: var(--blue-d); }
.btn-login-main:active { transform: translateY(1px); }
.avatar { background: var(--blue); border-radius: 8px; }
.avatar-btn { border-radius: 8px; padding: 3px 8px 3px 3px; }

/* Hero */
#hero, #hero.home-warm {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 64px;
  text-align: left;
  background: transparent;
}
#hero::before { display: none; }
.home #hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  column-gap: 52px;
  row-gap: 0;
  align-items: center;
}
.free-note {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0 0 38px;
  padding: 12px 0 13px;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2px 24px;
  align-items: baseline;
}
.free-note b { color: var(--ink); font-size: 13px; font-weight: 700; margin: 0; letter-spacing: 0; }
.free-note span { color: var(--ink2); font-size: 12.5px; line-height: 1.7; }
.free-note em { grid-column: 2; color: var(--ink3); font-size: 12px; margin-top: 1px; }
.free-note a { color: var(--blue-d); text-decoration: none; font-weight: 600; }
.free-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow {
  grid-column: 1;
  justify-self: start;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue-d);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  letter-spacing: .02em;
}
.eyebrow i { width: 5px; height: 5px; background: var(--blue); }
#hero h1 {
  grid-column: 1;
  margin: 14px 0 0;
  max-width: 620px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -.035em;
  text-align: left;
}
#hero h1 em { color: var(--blue); }
#hero .sub {
  grid-column: 1;
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink2);
  text-align: left;
}
#hero .hero-cta { grid-column: 1; justify-content: flex-start; gap: 10px; margin-top: 26px; }
.btn-hero {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn-hero.primary { background: var(--blue); box-shadow: none; }
.btn-hero.primary:hover { background: var(--blue-d); box-shadow: none; transform: none; }
.btn-hero.ghost { color: var(--ink2); background: transparent; border: 1px solid var(--line); }
.btn-hero.ghost:hover { background: var(--surface); color: var(--ink); transform: none; }
.btn-hero:active { transform: translateY(1px) !important; }
#hero .hero-pills {
  grid-column: 1;
  justify-content: flex-start;
  gap: 7px 18px;
  margin-top: 24px;
  padding: 0;
}
#hero .pill {
  position: relative;
  padding: 0 0 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink3);
  font-size: 12px;
}
#hero .pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9aaaa1;
}
.hero-preview {
  grid-column: 2;
  grid-row: 2 / span 5;
  align-self: center;
  margin: 4px 0 0;
  border: 1px solid #d7dcd7;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 44px -40px rgba(28, 35, 32, .6);
}
.hero-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink3);
  font-size: 10.5px;
}
.hero-preview-bar b { color: var(--ink2); font-weight: 600; }
.hero-preview img { width: 100%; height: auto; display: block; }
.hero-preview figcaption { padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 10.5px; line-height: 1.5; }
.hl { opacity: 1; transform: none; filter: none; transition: none; }
.rv { opacity: 1; transform: none; transition: none; }

/* 区块 */
section { padding: 66px 0; }
.sec-head { text-align: left; margin: 0 0 30px; }
.sec-head h2 { font-size: clamp(25px, 3vw, 31px); font-weight: 720; letter-spacing: -.025em; }
.sec-head p { max-width: 620px; margin: 9px 0 0; font-size: 14px; color: var(--ink2); text-align: left; }
#features { border-top: 1px solid var(--line); }
.feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; perspective: none; }
.feat {
  transform: none !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 21px;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.feat::before { display: none; }
.feat > * { transform: none !important; }
.feat:hover { border-color: #b9c4bb; background: #fdfdfc; }
.feat-ico { width: 36px; height: 36px; border-radius: 8px; background: var(--blue-bg); color: var(--blue-d); transition: none; }
.feat-ico svg { width: 19px; height: 19px; }
.feat:hover .feat-ico { background: var(--blue-bg); color: var(--blue-d); transform: none; }
.feat h3 { margin-top: 14px; font-size: 15.5px; font-weight: 700; letter-spacing: 0; }
.feat p { margin-top: 6px; font-size: 13px; color: var(--ink2); line-height: 1.75; }
.feat .fmore { margin-top: 13px; font-size: 12px; font-weight: 600; color: var(--ink3); opacity: 1; transform: none; transition: color 160ms ease; }
.feat:hover .fmore { color: var(--blue-d); }
.feat:hover .fmore svg { transform: none; }

/* 账号 */
#account { background: #f5f6f3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#account .sec-head { max-width: 660px; margin: 0 auto 24px; }
.acc-card {
  max-width: 660px;
  margin: 0 auto;
  padding: 28px 30px 26px;
  border-radius: 12px;
  border-color: #dce1dc;
  box-shadow: none;
}
.acc-msg { border-radius: 8px; }
.seg { border-radius: 8px; background: #eff1ee; }
.seg-slide { border-radius: 6px; box-shadow: 0 1px 2px rgba(28,35,32,.08); }
.seg button { border-radius: 6px; }
.inwrap { border-radius: 8px; border-width: 1px; background: #f7f8f6; }
.inwrap:focus-within { box-shadow: 0 0 0 3px rgba(47,100,214,.1); }
.inwrap input { min-height: 42px; padding: 10px 12px; font-size: 14px; }
.btn-vcode { border-radius: 6px; }
.btn-main {
  min-height: 42px;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: none;
  font-size: 14px;
  transition: background-color 160ms ease;
}
.btn-main:hover:not(:disabled) { background: var(--blue-d); box-shadow: none; transform: none; }
.btn-main:active:not(:disabled) { transform: translateY(1px); }
.acc-avatar { background: var(--blue); box-shadow: none; border-radius: 50%; }
.acc-state { border-radius: 6px; padding: 5px 9px; }
.acc-state i { box-shadow: none; }
.acc-grid { gap: 8px; }
.acc-cell { border-radius: 8px; background: #f7f8f6; padding: 12px 14px; }
.badge-vip, .badge-free, .invite-copy, .tier .t-btn, .dev-me { border-radius: 5px; }
.invite, .devcard { border-radius: 8px; background: #f7f8f6; }
.dev-row { border-radius: 7px; }
.dev-row:hover { border-color: #bdc8bf; transform: none; }
.dev-ico { border-radius: 7px; }
.dev-unbind { border-radius: 6px; }
.btn-logout { border-radius: 8px; margin-top: 14px; }
.tier .t-bar { height: 5px; }
.tier .t-bar i { background: var(--blue); }

/* 下载 */
.dl-card {
  max-width: 820px;
  margin: 0;
  text-align: left;
  padding: 26px 28px;
  border-radius: 12px;
  border-color: #dce1dc;
  box-shadow: none;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title action"
    "icon meta action"
    "note note note";
  align-items: center;
  gap: 3px 18px;
}
.dl-ico { grid-area: icon; width: 64px; height: 64px; margin: 0; border-radius: 12px; box-shadow: none; align-self: start; }
.dl-card h3 { grid-area: title; margin: 0; font-size: 18px; }
.dl-meta { grid-area: meta; margin: 2px 0 0; }
.dl-card .hero-cta { grid-area: action; margin: 0 !important; justify-content: flex-end; }
.dl-card .hero-cta .btn-hero { padding: 10px 15px; font-size: 13px; }
.dl-note { grid-area: note; margin-top: 18px; padding: 10px 12px; border-radius: 7px; background: var(--surface); font-size: 12.5px; }
#download { border-top: 1px solid var(--line); }

/* 关于与统计 */
#about { padding-top: 56px; }
#about p { max-width: 760px; margin: 0; text-align: left; font-size: 14px; line-height: 1.95; color: var(--ink2); }
#site-stats { padding: 0 0 58px; }
.site-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: stretch;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-card {
  min-width: 0;
  padding: 19px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.stat-card:last-child { border-right: 0; }
.stat-num { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.stat-label { margin-top: 4px; font-size: 12px; }
footer { border-top: 1px solid var(--line); background: transparent; padding: 24px 0 34px; font-size: 11.5px; text-align: left; }
footer .wrap { color: var(--ink3); }

/* 邀请页（register.php）与通用弹窗 */
.invite-page #hero { padding: calc(var(--nav-h) + 52px) 0 46px; text-align: center; }
.invite-page #hero .wrap { max-width: 820px; }
.invite-page .eyebrow { margin-inline: auto; }
.invite-page #hero h1 { margin: 14px auto 0; font-size: clamp(34px, 5vw, 48px); text-align: center; letter-spacing: -.03em; }
.invite-page #hero .sub { margin: 16px auto 0; max-width: 640px; text-align: center; }
.invite-page .hero-cta { justify-content: center; }
.invite-page .hero-pills { justify-content: center; }
.invite-page .pill { padding: 0 0 0 11px; }
.invite-page section { padding: 52px 0; }
.invite-page .sec-head { text-align: center; }
.invite-page .sec-head p { margin-inline: auto; text-align: center; }
.inv-card, .join-card { border-radius: 12px !important; box-shadow: none !important; border-color: #dce1dc !important; }
.inv-reg, .grp-chip { border-radius: 7px !important; box-shadow: none !important; }
.modal { border-radius: 12px !important; box-shadow: 0 22px 56px -28px rgba(28,35,32,.45) !important; }
.mask { background: rgba(28,35,32,.38) !important; -webkit-backdrop-filter: blur(3px) !important; backdrop-filter: blur(3px) !important; }

/* 维护页 */
.offline-page { background: #f6f7f4 !important; }
.offline-page .card {
  border-radius: 12px !important;
  border-color: #dfe3dc !important;
  box-shadow: 0 20px 52px -42px rgba(28,35,32,.45) !important;
}
.offline-page .badge { border-radius: 6px !important; background: #eef2fb !important; border-color: #dce4f2 !important; color: #2f5094 !important; }
.offline-page .pulse { box-shadow: none !important; animation: none !important; }

/* 顾问页 */
.advisor-page .logo,
.advisor-page .avatar,
.advisor-page .wlogo {
  background: var(--blue, #3267d6) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.advisor-page header { height: 58px; padding: 8px 18px; }
.advisor-page .hbtn { border-radius: 7px; }
.advisor-page .msg.me .cont { background: #3267d6; box-shadow: none; border-radius: 12px 12px 4px 12px; }
.advisor-page .composer { border-radius: 10px; box-shadow: 0 8px 28px -28px rgba(18,26,48,.45); }
.advisor-page .card { border-radius: 9px; box-shadow: none; }
.advisor-page .card:hover { transform: none; }
.advisor-page #send { border-radius: 7px; }
.advisor-page .chip { border-radius: 6px; }

/* 响应式 */
@media (max-width: 960px) {
  .home #hero .wrap { grid-template-columns: 1fr; row-gap: 30px; }
  .hero-preview { grid-column: 1; grid-row: auto; margin-top: 4px; max-width: 720px; }
  .free-note { margin-bottom: 30px; }
  #hero h1 { font-size: clamp(36px, 7vw, 48px); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nlinks { display: none; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  #nav { height: auto; min-height: 62px; }
  .nav-in { padding: 7px 0 0; gap: 0 12px; flex-wrap: wrap; }
  .brand { min-height: 44px; font-size: 14.5px; }
  .brand-ico { width: 28px; height: 28px; }
  .nav-right { margin-left: auto; }
  .btn-login-text { padding: 7px 5px; }
  .btn-login-main { padding: 7px 11px; }
  .nlinks {
    display: flex;
    order: 3;
    width: 100%;
    gap: 20px;
    margin-top: 6px;
    padding: 2px 0 7px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nlinks::-webkit-scrollbar { display: none; }
  .nlinks a { flex: none; padding: 7px 0; font-size: 12.5px; }
  #hero { padding-top: 126px; padding-bottom: 44px; }
  .home #hero .wrap { row-gap: 24px; }
  .free-note { display: block; margin-bottom: 26px; }
  .free-note b { font-size: 12.5px; }
  .free-note span { margin-top: 4px; }
  .free-note em { margin-top: 6px; }
  #hero h1 { font-size: 34px; line-height: 1.2; }
  #hero .hero-pills { margin-top: 20px; }
  section { padding: 48px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 24px; }
  .feat-grid { grid-template-columns: 1fr; gap: 10px; }
  .feat { padding: 19px 18px; }
  .acc-card { padding: 22px 18px 20px; }
  .acc-grid { grid-template-columns: 1fr; }
  .dl-card {
    display: block;
    padding: 22px 20px;
  }
  .dl-ico { width: 56px; height: 56px; }
  .dl-card h3 { margin-top: 14px; }
  .dl-card .hero-cta { margin-top: 18px !important; justify-content: flex-start; flex-wrap: wrap; }
  .dl-note { margin-top: 16px; }
  .site-stats { grid-template-columns: 1fr; }
  .stat-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-card:last-child { border-bottom: 0; }
  .invite-page #hero h1 { font-size: 33px; }
  .invite-page .hero-cta { flex-direction: column; }
  .invite-page .hero-cta .btn-hero { width: 100%; justify-content: center; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  #hero h1 { font-size: 31px; }
  #hero .hero-cta .btn-hero { flex: 1; padding-inline: 12px; }
  .brand > :not(.brand-ico):not(.brand-name) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
