/* ============================================================
   Minecraft 空岛服务器官网 - 样式表
   主题:淡蓝天空 · 空岛 · 动态特效(漂云 / 浮空方块 / 滚动显现 / 标题流光)
   ============================================================ */

:root {
  /* 色板(淡蓝天空主题) */
  --bg:         #e9f4fc;   /* 页面背景(淡蓝白) */
  --bg-alt:     #dcecf7;   /* 交替背景(稍深淡蓝) */
  --panel:      #ffffff;   /* 卡片面板(白) */
  --panel-2:    #f3f9fe;   /* 悬浮面板 */
  --border:     #b6d3e8;   /* 边框 */
  --border-soft:#cfe2f0;   /* 浅边框 */
  --green:      #43a047;   /* 草方块绿(按钮主色) */
  --green-bright:#2e7d32;  /* 强调绿(文字用,深色保证浅底可读) */
  --green-dark: #2e7d32;
  --gold:       #b8860b;   /* 强调金 */
  --red:        #d32f2f;   /* 离线红 */
  --red-dark:   #b71c1c;
  --blue:       #1976d2;   /* 信息蓝 */
  --text:       #24384a;   /* 正文(深蓝灰) */
  --muted:      #5b7284;   /* 次要文字 */
  --muted-2:    #8aa0b2;   /* 更次要文字 */

  /* 字体 */
  --font-body: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-pixel: "Press Start 2P", "Courier New", monospace;

  /* 其他 */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 6px 22px rgba(38, 99, 148, .14);
  --maxw: 1120px;
  --nav-h: 60px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #dff0fc;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background-image:
    linear-gradient(180deg, rgba(207,233,250,.96), rgba(234,247,255,.92) 45%, rgba(217,238,250,.94)),
    radial-gradient(circle at 50% -12%, rgba(255,255,255,.78), transparent 34%),
    radial-gradient(circle at 16% 18%, rgba(110,214,156,.10), transparent 22%),
    radial-gradient(circle at 84% 14%, rgba(25,118,210,.10), transparent 18%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  animation: bgDrift 18s ease-in-out infinite alternate;
  position: relative;
}

@keyframes bgDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 34px, 0 -18px, 30px 18px, -24px 24px;
  }
}

@keyframes bgDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 18px, 0 -10px, 18px 10px, -14px 14px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(46, 125, 50, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 50, .14) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.62), transparent 35%);
  background-size: 22px 22px, 22px 22px, 72px 72px, 72px 72px, 100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  opacity: .34;
  animation: gridPulse 10s ease-in-out infinite alternate;
}

@keyframes gridPulse {
  0%   { opacity: .28; transform: translateY(0); }
  100% { opacity: .44; transform: translateY(8px); }
}

body.grid-reactive::before {
  opacity: .56;
}

body.grid-reactive {
  background-position: center calc(50% + var(--bg-shift-y, 0px));
}

a, button, input, textarea, select {
  position: relative;
  z-index: 1;
}

body > * {
  position: relative;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 84%, rgba(110,214,156,.14) 0 22px, transparent 23px),
    radial-gradient(circle at 76% 76%, rgba(25,118,210,.12) 0 18px, transparent 19px),
    radial-gradient(circle at 52% 58%, rgba(255,255,255,.10) 0 12px, transparent 13px),
    radial-gradient(circle at 24% 32%, rgba(110,214,156,.08) 0 16px, transparent 17px);
  background-size: 420px 320px, 520px 360px, 340px 260px, 460px 300px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: .8;
  animation: driftClouds 26s linear infinite;
}

@keyframes driftClouds {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(24px, -18px, 0); }
  100% { transform: translate3d(-18px, 14px, 0); }
}

::selection { background: rgba(46, 125, 50, .22); }

img { max-width: 100%; display: block; }

a { color: var(--green-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 滚动显现(JS 自动加 .reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 导航栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel);
  font-size: 12px; letter-spacing: 1px;
  color: var(--text);
}
.logo .logo-icon {
  width: 34px; height: 34px;
  background: var(--green);   /* 图片加载前的底色,加载失败时也不难看 */
  border-radius: 6px;
  overflow: hidden;
  display: block;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.35);
}
.logo .logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.logo:hover { text-decoration: none; color: var(--green-bright); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; transition: .15s;
}
.nav-links a:hover { background: rgba(46,125,50,.08); color: var(--green-bright); text-decoration: none; }
.nav-links a.active { background: rgba(46,125,50,.12); color: var(--green-bright); font-weight: 600; }

.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; padding: 6px; }

/* ---------- 页头横幅(内页用) ---------- */
.page-head {
  position: relative;
  padding: 46px 0 26px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 34px;
}
.page-head::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 20px;
  width: 8px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  opacity: .75;
}
.page-head::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  width: 160px;
  height: 82px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(110,214,156,.12), rgba(25,118,210,.08));
  border: 1px solid rgba(255,255,255,.45);
  opacity: .7;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
}
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head p { color: var(--muted); max-width: 720px; }
.crumb { font-size: 13px; color: var(--muted-2); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--green-bright); }

/* ---------- 首页 Hero(空岛天空) ---------- */
.hero {
  position: relative;
  padding: 64px 0 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #cfe9fa, #eaf7ff 45%, #d9eefa);
  background-size: 260% 260%;
  animation: skyShift 16s ease-in-out infinite alternate;
}
@keyframes skyShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,125,50,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,50,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* 天空特效层:漂云 + 浮空草方块 */
.sky-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; transition: transform .5s ease-out; will-change: transform; }

.mouse-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: .95;
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .98);
  filter: blur(1px);
  opacity: 0;
  animation: cloudDrift linear infinite;
  box-shadow: 0 10px 28px rgba(255,255,255,.22);
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.c1 { width: 280px; height: 66px; top: 12%;  left: -320px; animation-duration: 16s; }
.c1::before { width: 100px; height: 100px; top: -46px; left: 42px; }
.c1::after  { width: 72px; height: 72px; top: -28px; left: 158px; }
.c2 { width: 220px; height: 52px; top: 36%;  left: -260px; animation-duration: 22s; animation-delay: 4s; }
.c2::before { width: 82px; height: 82px; top: -36px; left: 34px; }
.c2::after  { width: 62px; height: 62px; top: -22px; left: 120px; }
.c3 { width: 190px; height: 44px; top: 62%;  left: -240px; animation-duration: 28s; animation-delay: 10s; opacity: .95; }
.c3::before { width: 68px; height: 68px; top: -30px; left: 28px; }
.c3::after  { width: 50px; height: 50px; top: -16px; left: 96px; }

@keyframes cloudDrift {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  6%   { opacity: 1; }
  50%  { transform: translateX(calc(50vw + 150px)) translateY(-10px); opacity: .95; }
  100% { transform: translateX(calc(100vw + 380px)) translateY(6px); opacity: 0; }
}

/* 浮空草方块(空岛"虚空飘浮"感) */
.island {
  position: absolute;
  bottom: -46px;
  width: 34px; height: 34px;
  border-radius: 6px;
  background: linear-gradient(180deg, #6fd34f 0 38%, #8a5a34 38%);
  box-shadow: 0 10px 22px rgba(38, 99, 148, .34);
  opacity: 0;
  animation: islandFloat linear infinite;
}
.island::after { /* 底部阴影椭圆 */
  content: "";
  position: absolute; left: 50%; bottom: -8px;
  width: 58px; height: 16px; transform: translateX(-50%);
  background: rgba(38, 99, 148, .24); border-radius: 50%;
}
.i1 { left: 6%; width: 42px; height: 42px; animation-duration: 6s; }
.i2 { left: 24%; width: 30px; height: 30px; animation-duration: 8s; animation-delay: 1s; }
.i3 { left: 48%; width: 26px; height: 26px; animation-duration: 7s;  animation-delay: 3s; }
.i4 { left: 70%; width: 36px; height: 36px; animation-duration: 9s; animation-delay: .5s; }
.i5 { left: 88%; width: 24px; height: 24px; animation-duration: 10s; animation-delay: 2s; }

@keyframes islandFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: .92; }
  100% { transform: translateY(-118vh) rotate(58deg); opacity: 0; }
}

.hero-title { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: .5px; color: #1e3a5f; }
.hero-title .accent {
  background: linear-gradient(90deg, #2e7d32, #1976d2, #2e7d32);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero-sub { margin: 14px 0 30px; color: #4a6174; max-width: 660px; font-size: 17px; }

/* 服务器地址大卡片 */
.address-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.address-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.address-value {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 24px; font-weight: 700; color: var(--green-bright);
  letter-spacing: .5px;
}
.address-value .port { color: var(--muted); font-weight: 400; font-size: 18px; }

.copy-btn {
  margin-left: auto;
  background: var(--green); color: #ffffff;
  border: 0; border-radius: var(--radius-sm);
  padding: 10px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
  transition: .15s;
}
.copy-btn:hover { background: var(--green-bright); box-shadow: 0 4px 14px rgba(46,125,50,.35), inset 0 -3px 0 rgba(0,0,0,.18); }
.copy-btn.copied { background: var(--gold); color: #fff; }

/* 状态徽章 */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); }
.badge.online { color: var(--green-bright); border-color: rgba(46,125,50,.4); background: rgba(46,125,50,.08); }
.badge.online .dot { background: var(--green); box-shadow: 0 0 8px rgba(46,125,50,.8); animation: pulse 1.6s infinite; }
.badge.offline { color: var(--red); border-color: rgba(211,47,47,.4); background: rgba(211,47,47,.07); }
.badge.offline .dot { background: var(--red); }
.badge.checking .dot { background: var(--gold); animation: blink 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

/* ---------- 统计卡片 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 30px 0 10px; }
.stat {
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(38,99,148,.08);
  transition: transform .18s, box-shadow .18s;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat .k { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.stat .v { font-size: 22px; font-weight: 700; }
.stat .v.green { color: var(--green-bright); }
.stat .v.gold  { color: var(--gold); }
.stat .v.blue  { color: var(--blue); }
.stat .v.small { font-size: 17px; word-break: break-all; }

/* ---------- 通用板块 ---------- */
.section {
  position: relative;
  padding: 44px 0;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46,125,50,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,50,.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 72%, rgba(25,118,210,.10) 0 1px, transparent 2px);
  background-size: 32px 32px, 32px 32px, 260px 260px, 340px 340px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  opacity: .16;
  animation: sectionGridDrift 24s linear infinite;
}
.section > .container,
.section > .sec-head,
.section > .panel,
.section > .cards,
.section > .forum-head,
.section > #profile-wrap,
.section > .address-card,
.section > .gallery {
  position: relative;
  z-index: 1;
}
.section.alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0) 28%),
    linear-gradient(135deg, rgba(46,125,50,.06), rgba(255,255,255,0) 40%),
    linear-gradient(225deg, rgba(25,118,210,.06), rgba(255,255,255,0) 40%),
    var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section.band {
  background:
    linear-gradient(135deg, rgba(46,125,50,.04), rgba(255,255,255,0) 30%),
    linear-gradient(225deg, rgba(25,118,210,.05), rgba(255,255,255,0) 28%),
    rgba(255,255,255,.16);
}
@keyframes sectionGridDrift {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(18px, 12px, 0); }
}

.sec-head {
  margin-bottom: 24px;
  position: relative;
  padding-left: 14px;
}
.sec-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}
.sec-head .tag {
  display: inline-block; font-family: var(--font-pixel); font-size: 10px;
  color: var(--gold); letter-spacing: 1px; margin-bottom: 8px;
}
.sec-head h2 { font-size: 26px; color: #1e3a5f; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 640px; }

/* 板块导航卡片(首页) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
  display: block;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)),
    var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 22px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, rgba(110,214,156,.14), transparent 70%);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46,125,50,.55); box-shadow: var(--shadow); text-decoration: none; }
.card .ico { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; }
.card .go { display: inline-block; margin-top: 12px; color: var(--green-bright); font-size: 14px; font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  background: var(--green); color: #ffffff;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
  transition: .15s;
}
.btn:hover { background: var(--green-bright); box-shadow: 0 4px 14px rgba(46,125,50,.35), inset 0 -3px 0 rgba(0,0,0,.18); text-decoration: none; color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { border-color: var(--green); color: var(--green-bright); box-shadow: none; }
.btn.gold { background: var(--gold); }
.btn.gold:hover { filter: brightness(1.1); }

/* ---------- 面板/盒子 ---------- */
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78)),
    var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(38,99,148,.07);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(110,214,156,.06), transparent 36%, rgba(25,118,210,.05));
  pointer-events: none;
}
.panel + .panel { margin-top: 18px; }
.panel h3 { font-size: 19px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.panel h3 .ico { font-size: 20px; }
.panel p { color: var(--text); }
.panel p + p { margin-top: 8px; }

.note {
  border-left: 3px solid var(--gold);
  background: #fdf6e3;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; font-size: 14px; color: #5b4632;
}
.note.green { border-color: var(--green); background: #eef7ec; color: #2e5d2a; }
.note.red   { border-color: var(--red); background: #fdeeee; color: #7c2f2a; }
.note.blue  { border-color: var(--blue); background: #e8f2fc; color: #1f4a72; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border-soft); }
th { color: var(--muted); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(46,125,50,.05); }
td code, .cmd {
  font-family: "Consolas", "Courier New", monospace;
  background: #eef7f0; border: 1px solid #cfe8d3;
  padding: 2px 8px; border-radius: 4px; font-size: 14px; color: var(--green-bright);
  white-space: nowrap;
}

/* ---------- 列表 ---------- */
ul.tick, ol.steps { list-style: none; }
ul.tick li { padding: 7px 0 7px 30px; position: relative; }
ul.tick li::before {
  content: "✔"; position: absolute; left: 2px; top: 7px;
  color: var(--green-bright); font-weight: 700;
}
ol.steps { counter-reset: step; }
ol.steps > li {
  position: relative; padding: 6px 0 6px 52px; margin-bottom: 14px;
}
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 4px;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}
ol.steps h4 { font-size: 17px; margin-bottom: 2px; }

/* ---------- 手风琴(FAQ) ---------- */
.acc {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.76)),
    var(--panel);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(38,99,148,.06);
}
.acc::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  opacity: .75;
}
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: 0; color: var(--text);
  padding: 16px 20px 16px 24px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left;
}
.acc-head .arr { transition: transform .2s; color: var(--green-bright); }
.acc.open .acc-head .arr { transform: rotate(90deg); }
.acc-head:hover { background: rgba(46,125,50,.05); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc-body-inner { padding: 0 20px 18px 24px; color: var(--muted); }
.acc.open .acc-body { max-height: 600px; }
.acc-body-inner a { color: var(--green-bright); }

/* ---------- 截图画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.g-item {
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--border-soft); background: var(--panel);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.g-item:hover { transform: scale(1.02); border-color: rgba(46,125,50,.5); box-shadow: var(--shadow); }
.g-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.g-item .cap { padding: 10px 14px; font-size: 14px; color: var(--muted); }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 18, 26, .92);
  display: none; align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 8px; box-shadow: 0 10px 60px rgba(0,0,0,.6); }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #cfd9e0; font-size: 14px; background: rgba(0,0,0,.5); padding: 6px 16px; border-radius: 999px; }
.lb-close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: 0; }

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 30%),
    var(--bg-alt);
  margin-top: 50px;
  padding: 34px 0 28px;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(110,214,156,.06), transparent 35%, rgba(25,118,210,.05));
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer .addr { font-family: "Consolas", monospace; color: var(--muted); font-size: 14px; }
.footer .copy { color: var(--muted-2); font-size: 13px; }
.footer-links a { margin-left: 14px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--green-bright); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 22px; font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: .25s; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    padding: 8px 12px 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .address-value { font-size: 19px; }
  .copy-btn { margin-left: 0; width: 100%; }
  .hero { padding: 44px 0 20px; }
  .i3, .c3 { display: none; }
}

/* ---------- 无障碍:减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero, .cloud, .island, .hero-title .accent { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   论坛 / 个人中心 / 登录注册 组件
   ============================================================ */

/* ---------- 导航：登录态入口 ---------- */
.nav-auth { display: flex; align-items: center; gap: 8px; }
.nav-auth a { font-weight: 600; }
.nav-auth .nav-login { color: var(--green-bright); }
.nav-sep { color: var(--border); font-size: 13px; }
.nav-logout { color: var(--muted) !important; font-size: 14px; }

/* ---------- 登录 / 注册弹窗 ---------- */
.auth-modal {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 18, 26, .55);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.auth-modal.show { display: flex; }
.auth-box {
  position: relative; width: 100%; max-width: 380px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 26px 22px;
}
.auth-close {
  position: absolute; top: 10px; right: 14px; background: none; border: 0;
  font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer;
}
.auth-close:hover { color: var(--text); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.auth-tab {
  flex: 1; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.auth-tab.active { color: var(--green-bright); border-bottom-color: var(--green); }
.auth-form .field { display: block; margin-bottom: 14px; }
.auth-form .field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.auth-form input {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
}
.auth-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-hint { min-height: 18px; font-size: 13px; margin-bottom: 8px; }
.auth-hint.err { color: var(--red); }
.auth-hint.ok  { color: var(--green-bright); }
.auth-note { margin-top: 14px; font-size: 12px; color: var(--muted-2); line-height: 1.6; }

/* ---------- 论坛页通用 ---------- */
.forum-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.forum-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.forum-tab {
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: .15s;
}
.forum-tab:hover { color: var(--green-bright); border-color: rgba(46,125,50,.5); }
.forum-tab.active { background: var(--green); border-color: var(--green); color: #fff; }

.post-list { display: flex; flex-direction: column; gap: 12px; }
.post-item {
  display: block; background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 16px 20px;
  transition: transform .15s, border-color .15s, box-shadow .15s; color: var(--text);
}
.post-item:hover { transform: translateY(-2px); border-color: rgba(46,125,50,.5); box-shadow: var(--shadow); text-decoration: none; }
.post-title { font-size: 17px; font-weight: 700; color: #1e3a5f; margin-bottom: 6px; }
.post-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.post-meta .sect-tag { background: #eef7f0; border: 1px solid #cfe8d3; color: var(--green-bright); padding: 1px 9px; border-radius: 999px; font-size: 12px; }
.post-snippet { margin-top: 8px; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.empty-box { text-align: center; padding: 50px 20px; color: var(--muted); background: var(--panel); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ---------- 帖子详情 ---------- */
.post-detail { background: var(--panel); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 2px 10px rgba(38,99,148,.07); }
.post-detail h1 { font-size: 25px; color: #1e3a5f; margin-bottom: 10px; word-break: break-word; }
.post-detail .post-body { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); color: var(--text); line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.comments { margin-top: 30px; }
.comments h3 { font-size: 18px; margin-bottom: 14px; }
.comment { border-left: 3px solid var(--border); padding: 10px 16px; margin-bottom: 12px; background: var(--panel-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.comment-meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.comment-meta .c-name { color: var(--green-bright); font-weight: 600; }
.comment-body { color: var(--text); white-space: pre-wrap; word-break: break-word; }
.comment .del-btn { margin-left: auto; font-size: 12px; color: var(--muted-2); background: none; border: 0; cursor: pointer; }
.comment .del-btn:hover { color: var(--red); }
.comment-form { margin-top: 20px; }
.comment-form textarea { width: 100%; box-sizing: border-box; min-height: 90px; resize: vertical; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--text); background: #fff; }
.comment-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }

/* 发帖弹窗（复用 .auth-modal 结构思路） */
.editor-modal {
  position: fixed; inset: 0; z-index: 400; background: rgba(10,18,26,.55);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.editor-modal.show { display: flex; }
.editor-box { position: relative; width: 100%; max-width: 620px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.editor-box h3 { margin-bottom: 14px; }
.editor-box .field { margin-bottom: 14px; }
.editor-box label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.editor-box input, .editor-box select, .editor-box textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--text); background: #fff; }
.editor-box textarea { min-height: 160px; resize: vertical; }
.editor-box input:focus, .editor-box select:focus, .editor-box textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }
.editor-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }

/* ---------- 个人中心 ---------- */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.profile-card { background: var(--panel); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(38,99,148,.07); text-align: center; }
.profile-card .avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 800; }
.profile-card .p-name { font-size: 20px; font-weight: 700; color: #1e3a5f; }
.profile-card .p-role { font-size: 13px; color: var(--muted); margin-top: 4px; }
.profile-card .v-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.v-badge.ok { background: rgba(46,125,50,.1); color: var(--green-bright); border: 1px solid rgba(46,125,50,.4); }
.v-badge.no { background: rgba(211,47,47,.08); color: var(--red); border: 1px solid rgba(211,47,47,.35); }
.profile-card .p-rows { margin-top: 16px; text-align: left; border-top: 1px solid var(--border-soft); padding-top: 14px; }
.profile-card .p-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.profile-card .p-row .k { color: var(--muted); }

.verify-flow { margin-top: 16px; text-align: left; }
.verify-flow .field { margin-bottom: 12px; }
.verify-flow label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.verify-flow input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; }
.verify-flow input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }
.verify-steps { font-size: 13px; color: var(--muted); margin: 12px 0 16px; line-height: 1.8; }
.verify-steps ol { padding-left: 18px; }

.game-data .stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.game-data .stat-row:last-child { border-bottom: 0; }
.game-data .stat-row .k { color: var(--muted); }

/* ---------- 论坛/个人中心 响应式补充 ---------- */
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .post-detail { padding: 18px; }
  .editor-box { padding: 18px; }
}

/* ---------- 加载/错误提示条 ---------- */
.loading-bar, .err-bar { text-align: center; padding: 24px; color: var(--muted); }
.err-bar { color: var(--red); }

/* ---------- 头像 / PAPI 信息 ---------- */
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; vertical-align: -9px; margin-right: 5px; }

/* ---------- 通用对话框（二次确认 / 单选） ---------- */
.rpt-dlg-mask {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10, 18, 26, .5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .16s ease;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.rpt-dlg-mask.show { opacity: 1; }
.rpt-dlg {
  width: 100%; max-width: 400px; background: #fff; border-radius: 14px;
  padding: 20px 20px 18px; box-shadow: 0 18px 50px rgba(10, 18, 26, .3);
  transform: translateY(8px) scale(.985); transition: transform .18s cubic-bezier(.2, .8, .3, 1);
}
.rpt-dlg-mask.show .rpt-dlg { transform: none; }
.rpt-dlg-title { font-size: 17px; font-weight: 700; color: #1e3a5f; margin-bottom: 8px; }
.rpt-dlg-text { font-size: 14px; color: #5c6b7f; line-height: 1.7; word-break: break-word; }
.rpt-dlg-text b { color: #1f2d3d; }
.rpt-dlg-text .hl { color: #d32f2f; font-weight: 600; }
.rpt-dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.rpt-dlg-actions .btn { min-width: 92px; }
.btn.danger { background: #d32f2f; border-color: #d32f2f; color: #fff; }
.btn.danger:hover { background: #b71c1c; border-color: #b71c1c; }
.rpt-dlg-opts { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow: auto; }
.rpt-dlg-opt {
  text-align: left; padding: 11px 14px; border: 1px solid var(--border-soft);
  border-radius: 10px; background: #fff; cursor: pointer;
  font-size: 14px; font-family: inherit; color: #1f2d3d; transition: .14s;
}
.rpt-dlg-opt:hover { border-color: var(--green); background: rgba(61, 153, 112, .06); }
.rpt-dlg-opt.cur { border-color: var(--green); background: rgba(61, 153, 112, .1); font-weight: 600; }
.rpt-dlg-opt .cur-tag { font-size: 11px; color: var(--green-bright); margin-left: 6px; font-weight: 500; }
body.rpt-dlg-open { overflow: hidden; }

/* ---------- 玩家名片（点头像弹出） ---------- */
.rpt-ucard { max-width: 384px; }
.ucard-loading, .ucard-err { padding: 22px 4px; text-align: center; font-size: 14px; color: #8794a5; }
.ucard-top { display: flex; align-items: center; gap: 14px; }
.ucard-av {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #3D9970, #1976d2); color: #fff;
  display: grid; place-items: center; font-size: 28px; font-weight: 800;
}
.ucard-av img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.ucard-id { min-width: 0; }
.ucard-name {
  font-size: 18px; font-weight: 700; color: #1e3a5f; line-height: 1.3;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; word-break: break-all;
}
.ucard-sub { font-size: 12.5px; color: #8794a5; margin-top: 5px; }
.ucard-sub.ok { color: #2e7d32; }
.ucard-sub.no { color: #d32f2f; }
.ucard-online { font-size: 12.5px; color: #8794a5; margin-top: 3px; }
.ucard-rows { margin-top: 16px; border-top: 1px solid rgba(16,32,48,.07); padding-top: 6px; }
.ucard-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.ucard-row .k { color: #8794a5; flex: 0 0 auto; }
.ucard-row .v { color: #1f2d3d; font-weight: 600; text-align: right; word-break: break-all; }
.ucard-row .v .mute { color: #a8b2bf; font-weight: 500; }
.ucard-stats { display: flex; gap: 8px; margin: 12px 0 2px; }
.ucard-stat { flex: 1; text-align: center; background: rgba(61,153,112,.07); border-radius: 10px; padding: 9px 4px; }
.ucard-stat b { display: block; font-size: 17px; color: #1e3a5f; line-height: 1.25; }
.ucard-stat span { font-size: 11.5px; color: #8794a5; }

/* 可点击的头像/用户名 */
[data-user] { cursor: pointer; }
[data-user]:hover { opacity: .88; }
@media (max-width: 640px) {
  .rpt-dlg { padding: 18px 16px 16px; }
  .rpt-dlg-actions { flex-direction: column-reverse; }
  .rpt-dlg-actions .btn { width: 100%; }
}

/* ---------- 置顶标记（论坛列表 / 详情页 / 个人中心共用） ---------- */
.pin-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px;
  background: rgba(255, 203, 71, .28); color: #9a7400; margin-right: 6px; vertical-align: 1px;
}
.avatar-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar-pick .pick {
  width: 78px; text-align: center; border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 7px 5px 5px; cursor: pointer;
  background: var(--panel); transition: .15s;
}
.avatar-pick .pick:hover { border-color: var(--green); transform: translateY(-2px); }
.avatar-pick .pick.sel { border-color: var(--green); background: rgba(46,125,50,.08); }
.avatar-pick .pick img { width: 58px; height: 58px; border-radius: 8px; margin: 0 auto 4px; image-rendering: pixelated; }
.avatar-pick .pick .n { font-size: 12px; color: var(--muted); word-break: break-all; line-height: 1.3; }
.info-box {
  white-space: pre-wrap; word-break: break-word;
  font-family: "Consolas", "Courier New", monospace; font-size: 13px;
  background: #f7fbfe; border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text);
}

/* ---------- 论坛美化 v1.5 ---------- */
.post-item { display: block; }
.post-row { display: flex; gap: 14px; align-items: flex-start; }
.post-avatar { flex: 0 0 40px; }
.post-avatar img { width: 40px; height: 40px; border-radius: 8px; image-rendering: pixelated; background: #eef4fa; }
.post-main { flex: 1; min-width: 0; }
.role-badge {
  display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px;
  background: rgba(46,125,50,.1); color: var(--green-bright); border: 1px solid rgba(46,125,50,.35);
  margin-left: 4px; vertical-align: 1px;
}
.role-badge.admin { background: #fdf3e0; color: #b8860b; border-color: rgba(184,134,11,.4); }
.role-badge.mini { padding: 0 6px; font-size: 10px; }
.author-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--panel-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 10px 14px; margin: 14px 0 0;
}
.author-avatar { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; background: #eef4fa; }
.author-avatar.letter, .c-avatar.letter { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); }
.author-info .author-name { font-weight: 700; }
.author-game { font-size: 13px; color: var(--muted); margin-top: 2px; }
.comment-head { display: flex; gap: 10px; align-items: flex-start; }
.c-avatar { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; background: #eef4fa; flex: 0 0 28px; }
.comment { border-left: 3px solid var(--border); padding: 10px 14px; margin-bottom: 12px; background: var(--panel-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.comment-meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.comment-body { margin-top: 6px; }
.post-img {
  max-width: 100%; max-height: 420px; border-radius: 8px;
  display: block; margin: 10px 0; box-shadow: 0 2px 10px rgba(38,99,148,.12);
}
.ed-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ed-toolbar .muted { font-size: 12px; }
.game-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.game-row:last-child { border-bottom: 0; }
.game-avatar { width: 36px; height: 36px; border-radius: 8px; image-rendering: pixelated; background: #eef4fa; }
.game-info .game-name { font-weight: 600; }
.game-info .game-sub { font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.game-info .uuid { font-family: Consolas, monospace; font-size: 11px; color: var(--muted-2); }

/* ---------- 点赞 / 列表图片预览 v1.6 ---------- */
.like-row { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.like-btn {
  border: 1px solid var(--border); background: var(--panel); color: var(--muted);
  border-radius: 999px; padding: 6px 16px; font-size: 15px; cursor: pointer; transition: .15s;
}
.like-btn:hover { border-color: var(--red); color: var(--red); }
.like-btn.on { background: #fdeeee; border-color: var(--red); color: var(--red); }
.like-num { color: var(--muted); font-size: 13px; }
.post-imgs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.post-imgs img {
  width: 96px; height: 72px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border-soft); background: #eef4fa;
}
