/* =========================================================
   确幸有你 · 浪漫交友 H5  —  共享样式
   设计风格：温暖浪漫 / 玫瑰粉 × 紫罗兰渐变 / 圆角卡片 / 柔和阴影
   响应式：移动优先，PC 自动多列网格 + 顶部导航
   零依赖，file:// 可直接打开
   ========================================================= */

:root {
  --rose: #ff5c8a;
  --rose-deep: #f0396c;
  --violet: #8a5cf6;
  --violet-deep: #6d3bf0;
  --gold: #ffb454;
  --ink: #2b2330;
  --ink-soft: #6b6470;
  --ink-faint: #9a93a3;
  --bg: #fff6f8;
  --bg-soft: #fff0f4;
  --card: #ffffff;
  --line: #f1e3ea;
  --grad: linear-gradient(135deg, #ff7eb3 0%, #ff5c8a 40%, #8a5cf6 100%);
  --grad-soft: linear-gradient(135deg, #fff0f5 0%, #f3ecff 100%);
  --shadow: 0 8px 28px rgba(255, 92, 138, 0.12);
  --shadow-soft: 0 4px 16px rgba(120, 90, 150, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --header-h: 58px;
  --tab-h: 60px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 14px; }
.section { padding: 26px 0; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 16px; gap: 10px;
}
.section-title h2 {
  font-size: 20px; position: relative; padding-left: 14px;
}
.section-title h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 20px; border-radius: 4px; background: var(--grad);
}
.section-title .more {
  font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 2px;
}
.section-title .more::after { content: "›"; font-size: 18px; line-height: 1; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--grad); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s;
}
.btn:active { transform: scale(.96); }
.btn.ghost { background: #fff; color: var(--rose-deep); border: 1.5px solid var(--line); box-shadow: none; }
.btn.block { width: 100%; }
.btn.sm { padding: 7px 14px; font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: var(--shadow);
}
.logo .name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu { display: none; gap: 4px; margin-left: 10px; }
.nav-menu a {
  padding: 8px 13px; border-radius: 999px; font-size: 14px; color: var(--ink-soft); font-weight: 600;
}
.nav-menu a.active, .nav-menu a:hover { color: var(--rose-deep); background: var(--bg-soft); }
.topbar .spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.avatar-mini {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-soft);
}

/* ---------- 底部 Tab（移动端） ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tab-h);
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ink-faint); font-size: 11px; font-weight: 600;
}
.tabbar a .ic { font-size: 21px; line-height: 1; }
.tabbar a.active { color: var(--rose-deep); }
.tabbar a.active .ic { transform: translateY(-1px); }
body.has-tab { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }

/* ---------- Footer ---------- */
.footer { background: #fbf3f7; border-top: 1px solid var(--line); margin-top: 10px; }
.footer .wrap { padding: 26px 14px; }
.footer .cols { display: grid; grid-template-columns: 1fr; gap: 18px; }
.footer h4 { font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.footer a { display: block; color: var(--ink-soft); font-size: 13px; padding: 3px 0; }
.footer a:hover { color: var(--rose-deep); }
.footer .copy { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink-faint); font-size: 12px; text-align: center; }
.footer .slogan { font-size: 13px; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #ff8fb3 0%, #ff5c8a 38%, #8a5cf6 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 88% 12%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(360px 200px at 10% 90%, rgba(255,255,255,.14), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding: 34px 14px 30px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.2); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: 30px; line-height: 1.25; letter-spacing: .5px; }
.hero h1 .hl { color: #fff3b0; }
.hero p { margin: 12px 0 20px; font-size: 15px; opacity: .95; max-width: 520px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .cta .btn.ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }

/* 数据看板 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.stats .item {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px; padding: 12px 8px; text-align: center;
}
.stats .num { font-size: 22px; font-weight: 800; }
.stats .lab { font-size: 12px; opacity: .92; margin-top: 2px; }

/* ---------- 会员卡片 ---------- */
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); transition: transform .14s ease, box-shadow .14s ease;
}
.mcard:active { transform: translateY(2px); }
.mcard .ph {
  position: relative; aspect-ratio: 3/4; background: var(--grad-soft); overflow: hidden;
}
.mcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.mcard .ph .online {
  position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.35); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 999px; display: flex; align-items: center; gap: 4px;
}
.mcard .ph .online i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px rgba(74,222,128,.4); }
.mcard .ph .vip {
  position: absolute; right: 8px; top: 8px; background: linear-gradient(135deg,#ffd76a,#ff9f43);
  color: #7a4a00; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px;
}
.mcard .ph .fav {
  position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.32); color: #fff; display: grid; place-items: center; font-size: 15px; border: none;
}
.mcard .ph .fav.on { background: var(--rose); }
.mcard .body { padding: 10px 12px 13px; }
.mcard .body .nm { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.mcard .body .nm .g { font-size: 12px; }
.mcard .body .meta { color: var(--ink-soft); font-size: 12.5px; margin-top: 4px; }
.mcard .body .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag {
  font-size: 11px; color: var(--violet-deep); background: #f3ecff; padding: 3px 8px; border-radius: 999px;
}
.tag.rose { color: var(--rose-deep); background: var(--bg-soft); }

/* ---------- 筛选栏 ---------- */
.filterbar {
  position: sticky; top: var(--header-h); z-index: 40; background: var(--card);
  border-bottom: 1px solid var(--line); padding: 10px 14px;
}
.filterbar .chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filterbar .chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip.active { color: #fff; background: var(--grad); border-color: transparent; }
.subfilters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.subfilters select {
  border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 13px; color: var(--ink);
  background: #fff; font-family: inherit;
}
.sort-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 2px 4px; color: var(--ink-faint); font-size: 13px; }

/* ---------- 会员详情 ---------- */
.detail-hero { position: relative; }
.gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--grad-soft); }
.gallery .slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: auto; height: clamp(240px, 42vh, 340px); background: var(--grad-soft); display: flex; align-items: center; justify-content: center; }
.gallery .slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-tap-highlight-color: transparent; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 8px; }
.gallery-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e3d4dd; }
.gallery-dots i.on { background: var(--rose); width: 18px; border-radius: 999px; }

/* 照片点击放大灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(15,8,15,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: env(safe-area-inset-top, 0) 12px env(safe-area-inset-bottom, 0); }
.lightbox.show { display: flex; }
.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-out; }
.lb-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.lb-nav.prev { left: 10px; }
.lb-nav.next { right: 10px; }
.lb-cap { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.82); font-size: 13px; }
.detail-card { background: #fff; border-radius: var(--radius); margin: -18px 12px 0; position: relative; padding: 16px; box-shadow: var(--shadow); }
.detail-card .nm { font-size: 22px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; }
.detail-card .nm .age { font-size: 16px; color: var(--rose-deep); }
.detail-card .nm .vip { font-size: 11px; background: linear-gradient(135deg,#ffd76a,#ff9f43); color: #7a4a00; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.detail-card .verified { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.detail-card .verified span { font-size: 12px; color: #1aa179; background: #e7f8f1; padding: 3px 9px; border-radius: 999px; }
.detail-card .intro { font-size: 14px; color: var(--ink-soft); background: var(--bg-soft); border-radius: 12px; padding: 12px; margin-top: 6px; }
.detail-actions { display: flex; gap: 10px; margin-top: 14px; }
.detail-actions .btn { flex: 1; }
.info-block { background: #fff; border-radius: var(--radius); margin: 14px 12px; padding: 14px 16px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.info-block h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-block h3 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.kv .row { display: flex; gap: 6px; font-size: 13.5px; }
.kv .row .k { color: var(--ink-faint); flex: 0 0 auto; }
.kv .row .v { color: var(--ink); font-weight: 600; }

/* 猜你喜欢 */
.guess { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guess .mcard .body .nm { font-size: 13px; }

/* ---------- 列表卡片（案例/活动/资讯） ---------- */
.card-list { display: flex; flex-direction: column; gap: 12px; }
.fcard {
  display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.fcard .thumb { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--grad-soft); }
.fcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.fcard .info { flex: 1; min-width: 0; }
.fcard .info h3 { font-size: 15.5px; }
.fcard .info .sub { color: var(--ink-faint); font-size: 12px; margin: 3px 0; }
.fcard .info .desc { color: var(--ink-soft); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard .info .pill { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--violet-deep); background: #f3ecff; padding: 2px 9px; border-radius: 999px; }

/* 大图详情 */
.feature-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); background: var(--grad-soft); }
.article { font-size: 15px; line-height: 1.9; color: var(--ink); }
.article p { margin: 12px 0; }
.article h3 { font-size: 17px; margin: 20px 0 8px; }

/* ---------- 贴士 / 桃花运 ---------- */
.luck-box {
  background: var(--grad); color: #fff; border-radius: var(--radius); padding: 16px; margin: 0 12px 14px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.luck-box .score { font-size: 38px; font-weight: 800; line-height: 1; }
.luck-box .score small { font-size: 14px; font-weight: 600; opacity: .9; }
.luck-box .txt { font-size: 13px; opacity: .95; }
.luck-box .txt b { font-size: 15px; display: block; margin-bottom: 2px; }
.tips-cat { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 4px; scrollbar-width: none; }
.tips-cat::-webkit-scrollbar { display: none; }
.tip-card {
  background: #fff; border-radius: var(--radius); padding: 14px 16px; margin: 0 12px 12px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start;
}
.tip-card .emo { font-size: 26px; flex: 0 0 auto; }
.tip-card h3 { font-size: 15.5px; }
.tip-card p { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; }

/* ---------- 关于 / Tabs ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px 0; scrollbar-width: none; position: sticky; top: var(--header-h); background: var(--bg); z-index: 30; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 0 0 auto; border: none; background: transparent; color: var(--ink-soft); font-weight: 600; font-size: 14px;
  padding: 10px 4px; border-bottom: 2.5px solid transparent;
}
.tabs button.active { color: var(--rose-deep); border-color: var(--rose); }
.panel { padding: 16px 14px; }
.panel h2 { font-size: 18px; margin-bottom: 6px; }
.panel p, .panel li { color: var(--ink-soft); font-size: 14px; }
.panel ul { padding-left: 18px; }
.panel li { list-style: disc; margin: 6px 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.info-grid .cell { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.info-grid .cell .k { color: var(--ink-faint); font-size: 12px; }
.info-grid .cell .v { font-weight: 700; font-size: 15px; margin-top: 2px; }

/* ---------- 表单（登录/注册/资料） ---------- */
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 30px 18px; }
.auth-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-card h2 { font-size: 22px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--ink-faint); font-size: 13px; margin: 6px 0 18px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 14px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); }
.field textarea { resize: vertical; min-height: 80px; }
.seg { display: flex; gap: 8px; }
.seg label {
  flex: 1; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.seg input { display: none; }
.seg input:checked + span { color: var(--rose-deep); }
.seg label:has(input:checked) { border-color: var(--rose); background: var(--bg-soft); color: var(--rose-deep); }
.auth-switch { text-align: center; margin-top: 14px; font-size: 13px; color: var(--ink-faint); }
.auth-switch a { color: var(--rose-deep); font-weight: 600; }

/* 个人中心 */
.profile-head { background: var(--grad); color: #fff; padding: 22px 16px; display: flex; align-items: center; gap: 14px; }
.profile-head img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,255,255,.6); object-fit: cover; }
.profile-head .nm { font-size: 19px; font-weight: 800; }
.profile-head .meta { font-size: 13px; opacity: .95; }
.profile-menu { background: #fff; margin: 12px; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid var(--line); overflow: hidden; }
.profile-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.profile-menu a:last-child { border-bottom: none; }
.profile-menu a .ic { font-size: 18px; width: 22px; text-align: center; }
.profile-menu a .arrow { margin-left: auto; color: var(--ink-faint); }
.empty-tip { text-align: center; color: var(--ink-faint); padding: 40px 16px; font-size: 14px; }
.empty-tip .em { font-size: 40px; }

/* ---------- Toast / Modal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: rgba(43,35,48,.92); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px;
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 86%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-mask {
  position: fixed; inset: 0; background: rgba(20,10,20,.5); z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 420px; padding: 20px; box-shadow: var(--shadow);
  max-height: calc(100vh - 40px); overflow-y: auto; animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.modal h3 { font-size: 18px; margin-bottom: 12px; }
.modal .modal-actions { display: flex; gap: 10px; margin-top: 16px; }

/* ---------- 杂项 ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fade-in { animation: fade .4s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.banner-tip {
  margin: 0 12px 14px; background: #fff7e6; border: 1px solid #ffe1a8; color: #9a6b00;
  border-radius: 12px; padding: 10px 13px; font-size: 13px; display: flex; gap: 8px; align-items: center;
}

/* ---------- 响应式：PC ---------- */
@media (min-width: 720px) {
  .nav-menu { display: flex; }
  .tabbar { display: none; }
  body.has-tab { padding-bottom: 0; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .stats { grid-template-columns: repeat(3, 160px); max-width: 560px; }
  .member-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .fcard .thumb { flex-basis: 132px; width: 132px; height: 132px; }
  .guess { grid-template-columns: repeat(6, 1fr); }
  .kv { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .luck-box { max-width: 520px; margin-left: auto; margin-right: auto; }
  .section { padding: 36px 0; }
}
@media (min-width: 1024px) {
  .member-grid { grid-template-columns: repeat(5, 1fr); }
}
