:root {
  --brand: #ff6f6f;
  --brand-deep: #e85a5a;
  --brand-soft: #ffeaef;
  --pink: #fd66b5;
  --gold: #ffae00;
  --green: #5eb87b;
  --hn: #f7564d;
  --text: #333;
  --muted: #888;
  --line: #eee;
  --bg: #f0f0f0;
  --white: #fff;
  --w: 1200px;
  --nav-h: 66px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  min-width: 320px;
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
ul, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; padding: 0; }
li { list-style: none; }
img { border: 0; max-width: 100%; }
button { cursor: pointer; }
.wrap { width: var(--w); max-width: calc(100% - 32px); margin: 0 auto; }
.clear { clear: both; }
.ico { display: inline-block; vertical-align: middle; }

/* ===== NAV ===== */
.navbox {
  height: var(--nav-h);
  background: var(--brand);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 18px;
  flex-shrink: 0;
  height: var(--nav-h);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  color: #fff;
}
.logo-name {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  flex: 1;
}
.nav-links a,
.nav-links .idx {
  color: #fff;
  padding: 0 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  position: relative;
  height: var(--nav-h);
}
.nav-links .idx { padding: 0 28px 0 18px; margin-right: 6px; }
.nav-links a:hover,
.nav-links .idx:hover { background: rgba(0,0,0,.25); }
.nav-links a.ed,
.nav-links .idx.ed { background: rgba(0,0,0,.2); }
.nav-links a.ed:after,
.nav-links .idx.ed:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--bg);
}
.loginreg {
  width: 140px;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  background: rgba(0,0,0,.2);
  color: #fff;
  text-align: center;
  font-size: 14px;
}
.loginreg a { color: #fff; margin: 0 8px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
}

/* ===== BANNER ===== */
.bannerbox { position: relative; }
.iBanner {
  height: 442px;
  background: var(--brand-soft);
  overflow: hidden;
  position: relative;
}
.hero-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 80%, rgba(255,111,111,.35), transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(253,102,181,.25), transparent 45%),
    linear-gradient(120deg, #ffe3ea 0%, #ffd1d8 42%, #ffc4b8 100%);
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: 38%;
  top: -120px;
  background: rgba(255,255,255,.28);
}
.hero-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--w);
  max-width: calc(100% - 32px);
  color: #7a3a3a;
  z-index: 2;
  text-align: center;
}
.hero-copy p {
  margin: 14px auto 0;
  font-size: 16px;
  color: #8a5555;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  justify-content: center;
}
.hero-copy .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,111,111,.25);
  color: var(--brand);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-copy h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 2px;
  color: #4a2424;
}
.hero-stats b {
  display: block;
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
}
.hero-stats span { color: #9a6a6a; font-size: 12px; }

.zeai_reg {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin: 0 auto;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  pointer-events: none;
}
.regbox {
  width: 360px;
  height: 384px;
  position: absolute;
  right: 0;
  top: 29px;
  background: #fff;
  border-radius: 12px;
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 12px 40px rgba(120, 40, 40, .12);
}
.gyl {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  line-height: 40px;
  padding-top: 30px;
  margin-bottom: 10px;
}
.reg .dl {
  width: 260px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
}
.reg .dt { width: 50px; color: #333; }
.reg .dd { width: 210px; }
.sex-row { display: flex; gap: 18px; }
.sex-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sex-row input { accent-color: var(--brand); }
.select {
  width: 100%;
  height: 38px;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 0 12px;
  color: #666;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
}
.select:hover { box-shadow: 3px 3px 2px rgba(0,0,0,.08); }
.reg-btn {
  width: 260px;
  margin: 15px auto 0;
  display: block;
  height: 42px;
  border: 0;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
}
.reg-btn:hover { opacity: .88; }

/* ===== SEARCH ===== */
.sobox { width: 100%; height: 80px; background: #fff; }
.so {
  width: var(--w);
  max-width: calc(100% - 32px);
  height: 75px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.so h2 { font-size: 22px; color: #666; width: 76px; font-weight: 400; }
.so h4 { margin: 0 10px 0 16px; font-size: 14px; font-weight: 400; color: #666; }
.so h4.l0 { margin: 0 6px; }
.so .select { width: 80px; margin-top: 0; }
.so .select.age { width: 70px; }
.so .select.area { width: 180px; }
.photo-check {
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 75px;
  color: #333;
}
.photo-check input { accent-color: var(--brand); width: 16px; height: 16px; }
.so-submit {
  margin-left: 18px;
  width: 90px;
  height: 38px;
  border: 0;
  border-radius: 2px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.so-submit:hover { opacity: .85; }
.so .news {
  width: 300px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.so .news .dt {
  width: 45px; height: 45px;
  border-radius: 2px;
  background: #ddd;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.so .news .dd a {
  display: block;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.so .news .dd a:last-child { margin-top: 4px; }
.so .news .dd a:hover { color: var(--brand); }

/* ===== CARDS ===== */
.iubox, .article, .hongniang {
  width: var(--w);
  max-width: calc(100% - 32px);
  background: #fff;
  margin: 20px auto;
  padding: 25px 20px 16px;
  border-radius: var(--radius);
}
.iubox:hover, .partybox:hover, .datingbox:hover, .article:hover, .hongniang:hover {
  box-shadow: 0 0 24px rgba(0,0,0,.08);
}
.mod-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mod-head h1 {
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
}
.mod-head h1 b { color: #666; font-weight: 400; }
.mod-head .more { margin-left: auto; font-size: 16px; color: #888; }
.mod-head .more:hover { color: var(--brand); }
.unav { display: flex; margin-left: 24px; flex-wrap: wrap; flex: 1; }
.unav li {
  color: #999;
  line-height: 30px;
  padding: 0 18px;
  border-right: 1px solid #eee;
  cursor: pointer;
  font-size: 16px;
}
.unav li:first-child { border-left: 1px solid #eee; }
.unav li:last-child { border-right: 0; }
.unav li.ed { color: var(--brand); }
.unav li.ed b {
  width: 40%;
  height: 2px;
  background: var(--brand);
  display: block;
  margin: 0 auto;
}
.apply {
  margin-left: auto;
  border: 1px solid var(--brand);
  color: var(--brand);
  line-height: 36px;
  height: 36px;
  padding: 0 18px;
  border-radius: 30px;
  white-space: nowrap;
}
.apply:hover { opacity: .85; }

.ulist {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 16px;
  margin-top: 24px;
}
.ucard { position: relative; }
.ucard .mbox {
  display: block;
  height: 250px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: #f6d5d8;
}
.ucard .mbox .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.ucard .mbox .photo-fallback {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ucard .mbox .photo-fallback:before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
}
.ucard .mbox .photo-fallback:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 120px;
  border-radius: 80px 80px 0 0;
  background: rgba(255,255,255,.22);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}
.ucard .mbox em {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}
.ucard .mbox:hover em { opacity: 1; }
.ucard .mbox:hover .photo { transform: scale(1.1); filter: blur(6px); }
.ucard .mbox b {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  line-height: 36px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-weight: 400;
  border-radius: 30px;
}
.ucard .meta { margin-top: 10px; }
.ucard h4 {
  font-size: 16px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ucard h5 { color: #999; margin-top: 5px; font-size: 14px; }
.ucard:hover h4, .ucard:hover h5 { color: var(--brand); }
.badge-love {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 3;
}

/* ===== PARTY / DATING ===== */
.party-dating-box {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin: 20px auto;
  display: grid;
  grid-template-columns: 800px 1fr;
  gap: 20px;
}
.partybox, .datingbox {
  background: #fff;
  border-radius: var(--radius);
  min-height: 400px;
  padding: 25px 20px 15px;
}
.partybox h1 .dot { color: var(--gold); font-size: 26px; }
.datingbox h1 .dot { color: #fea2c8; font-size: 26px; }
.party-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #f5f5f5;
  min-height: 192px;
}
.party-cover {
  height: 190px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  display: block;
}
.party-item h4 { font-size: 16px; color: #333; margin-bottom: 10px; }
.party-item .djs { color: #e53; font-size: 14px; margin-bottom: 18px; }
.party-item .djs.off { color: #999; }
.party-item h6 { color: #999; font-size: 14px; margin-top: 8px; }
.party-item .btn {
  margin-top: 22px;
  display: inline-block;
  width: 115px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  border-radius: 42px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
}
.party-item .btn.off {
  background: #fff;
  border: 1px solid #dedede;
  color: #888;
}
.dating-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #f5f5f5;
}
.dating-item img, .dating-av {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
}
.dating-av {
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.dating-item h4 {
  font-size: 16px; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dating-item .djs { color: #999; font-size: 12px; margin-top: 6px; }
.dtbtn {
  width: 50px; height: 30px; line-height: 30px;
  border-radius: 15px; background: var(--brand); color: #fff;
  text-align: center; font-size: 14px;
}

/* ===== ARTICLE ===== */
.article h1 .dot { color: var(--green); font-size: 26px; }
.artnav { display: flex; gap: 8px; margin-left: 24px; flex-wrap: wrap; }
.artnav a { line-height: 30px; padding: 0 12px; color: #888; font-size: 16px; }
.artnav a.ed { color: var(--brand); }
.artnav a.ed b { display: block; width: 40%; height: 2px; background: var(--brand); margin: 0 auto; }
.art-grid {
  display: grid;
  grid-template-columns: 786px 354px;
  gap: 20px;
  margin-top: 22px;
}
.list1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 0;
}
.list1 .li3 {
  height: 150px;
  margin-bottom: 8px;
}
.list1 .li3 a {
  display: block;
  height: 100%;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.list1 .li3 span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 10px;
  line-height: 30px;
  background: rgba(0,0,0,.3);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list1 li:not(.li3) {
  padding: 0 10px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list1 li:not(.li3) a { color: #666; padding-left: 15px; position: relative; }
.list1 li:not(.li3) a:before {
  content: "●";
  position: absolute;
  left: 0;
  color: #ccc;
  font-size: 12px;
}
.list1 a:hover { color: var(--brand); }
.list2 h2 { font-size: 18px; color: #333; margin-bottom: 12px; }
.list2 li a {
  display: grid;
  grid-template-columns: 20px 1fr auto auto;
  gap: 8px;
  align-items: center;
  line-height: 38px;
  color: #666;
}
.list2 li a b {
  width: 20px; height: 20px; line-height: 20px;
  border-radius: 5px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 400; text-align: center;
}
.list2 li:nth-child(n+5) a b { background: #ccc; }
.list2 li a em {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list2 li a span, .list2 li a i { color: #aaa; font-size: 12px; font-style: normal; }
.list2 a:hover { color: var(--brand); }

/* ===== HONGNIANG ===== */
.hongniang h1 .dot { color: var(--hn); font-size: 24px; }
.hn-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.hn {
  text-align: center;
  cursor: pointer;
  padding-bottom: 8px;
}
.hn .p {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hn h3 { line-height: 40px; font-size: 16px; color: #333; margin-top: 10px; }
.hn h5 {
  width: 200px; margin: 0 auto; color: #888; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hn .ask {
  display: inline-block;
  margin-top: 12px;
  width: 120px;
  line-height: 32px;
  border: 1px solid var(--hn);
  color: var(--hn);
  border-radius: 30px;
}
.hn:hover h3 { color: var(--hn); font-weight: 700; }
.hn:hover .ask { background: var(--hn); color: #fff; }

/* ===== FOOTER ===== */
.bottom { margin-top: 30px; background: #fff; padding-top: 28px; }
.bottom-links {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 160px 160px 200px 190px 1fr;
  gap: 10px;
  min-height: 140px;
}
.bottom-links dt { font-size: 16px; color: #333; margin-bottom: 8px; }
.bottom-links dd a { display: block; color: #888; margin: 10px 0; }
.bottom-links dd a:hover { color: var(--brand); }
.qr { text-align: center; border-left: 1px solid #f5f5f5; }
.qr:last-of-type { border-right: 1px solid #f5f5f5; }
.qr-box {
  width: 108px; height: 108px;
  border: 1px solid #e1e1e1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: #fafafa;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-ph { color: #bbb; font-size: 12px; }
.qr span { display: block; color: #999; font-size: 12px; margin-top: 8px; }
.kf-card h3 { color: var(--brand); font-size: 22px; font-weight: 700; }
.kf-card p { font-size: 12px; color: #666; margin: 16px 0 18px; }
.kf-card a {
  display: block;
  width: 160px;
  height: 40px;
  line-height: 40px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  border-radius: 2px;
}
.bottom2 {
  border-top: 1px solid #f5f5f5;
  margin-top: 20px;
  padding: 16px 0 22px;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 50px;
  position: fixed;
  right: max(16px, calc((100% - var(--w)) / 2 - 66px));
  bottom: 120px;
  z-index: 22;
}
.sidebar li {
  width: 50px; height: 50px;
  background: #ddd;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  cursor: pointer;
  position: relative;
  font-size: 20px;
}
.sidebar li:hover, .sidebar li.brand { background: var(--brand); }
.sidebar li em {
  display: none;
  position: absolute;
  right: 58px;
  bottom: -40px;
  width: 200px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 10px;
  box-shadow: 3px 3px 5px rgba(0,0,0,.15);
  color: #888;
  font-size: 12px;
  text-align: center;
}
.sidebar li:hover em { display: block; }
#toTop { display: none; }

/* ===== MODAL ===== */
.mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mask.show { display: flex; }
.modal {
  background: #fff;
  width: 420px;
  max-width: 100%;
  border-radius: 10px;
  padding: 28px 28px 24px;
  position: relative;
  animation: pop .28s ease;
}
@keyframes pop {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal h2 { font-size: 20px; text-align: center; margin-bottom: 8px; }
.modal .sub { text-align: center; color: #888; margin-bottom: 18px; }
.modal .close {
  position: absolute; right: 12px; top: 8px;
  border: 0; background: none; font-size: 22px; color: #999;
}
.field { margin-bottom: 12px; }
.field input, .field select {
  width: 100%;
  height: 42px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  padding: 0 12px;
}
.modal .reg-btn { width: 100%; margin-top: 8px; }
.wx-box { text-align: center; }
.wx-box .qr-lg {
  width: 180px; height: 180px; margin: 12px auto 10px;
  border: 1px solid #eee;
  display: grid; place-items: center;
  background: #fafafa;
}
.skip { color: var(--brand); cursor: pointer; }

.toast {
  position: fixed;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  z-index: 100;
  display: none;
}

/* about page */
.about {
  width: var(--w);
  max-width: calc(100% - 32px);
  margin: 24px auto 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  min-height: 520px;
}
.about-l, .about-r {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
}
.about-l .webname { font-size: 18px; margin-top: 12px; }
.about-l .eng { color: #bbb; letter-spacing: 2px; font-size: 12px; margin-bottom: 20px; }
.about-l a {
  display: block;
  line-height: 44px;
  color: #666;
  border-bottom: 1px solid #f5f5f5;
}
.about-l a.ed, .about-l a:hover { color: var(--brand); }
.about-r h1 {
  font-size: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 18px;
  position: relative;
}
.about-r h1:after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 72px; height: 2px;
  background: var(--brand);
}
.about-r .us { color: #555; line-height: 2; font-size: 15px; }
.about-r .us p { margin-bottom: 12px; }

@media (max-width: 1240px) {
  .sidebar { right: 8px; }
}
@media (max-width: 1024px) {
  .ulist { grid-template-columns: repeat(4, 1fr); }
  .party-dating-box, .art-grid, .hn-list, .about { grid-template-columns: 1fr; }
  .bottom-links { grid-template-columns: repeat(3, 1fr); }
  .iBanner { height: 360px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--brand);
    height: auto;
    z-index: 50;
  }
  .nav-links.open a, .nav-links.open .idx { height: 44px; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 768px) {
  .sobox, .so { height: auto; }
  .so { flex-wrap: wrap; padding: 12px 0 16px; gap: 8px; }
  .so .news { width: 100%; margin: 8px 0 0; }
  .ulist, .hn-list { grid-template-columns: repeat(2, 1fr); }
  .party-item { grid-template-columns: 1fr; }
  .party-cover { height: 160px; }
  .list1 { grid-template-columns: 1fr; }
  .bottom-links { grid-template-columns: 1fr 1fr; }
  .sidebar { display: none; }
  .hero-copy h2 { font-size: 28px; }
}
