:root {
  --navy: #123a56;
  --navy-deep: #0c2a40;
  --ink: #1d2d3a;
  --muted: #687b88;
  --line: #e3e9ed;
  --paper: #ffffff;
  --tint: #f4f7f9;
  --coral: #f26542;
  --coral-dark: #dc4e2c;
  --teal: #147e72;
  --amber: #c8811b;
  --shadow: 0 14px 38px rgba(15, 48, 70, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.ico { width: 22px; height: 22px; flex: 0 0 auto; }
.ico.tiny { width: 15px; height: 15px; stroke-width: 2.6; }
.ico.mini { width: 17px; height: 17px; }
.kicker {
  display: inline-block; color: var(--coral); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; margin-bottom: 8px;
}
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.center-cta { text-align: center; margin-top: 42px; }

.btn-solid, .btn-outline, .btn-plain, .btn-light, .btn-danger, .btn-success, .btn-plain {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 9px; padding: 10px 19px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn-solid { background: var(--coral); color: #fff; }
.btn-solid:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-outline { border-color: #cdd8de; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }
.btn-plain { color: var(--navy); background: transparent; }
.btn-plain:hover { color: var(--coral); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #fff5f1; color: var(--coral-dark); }
.btn-danger { background: #fff1ed; color: #b6482a; border-color: #f4d5ca; }
.btn-danger:hover { background: #ffe4db; }
.btn-success { background: #eaf6f2; color: var(--teal); border-color: #c4e5dd; }
.btn-success:hover { background: #d9f0ea; }
.btn-outline.sm, .btn-plain.sm, .btn-danger.sm, .btn-success.sm { padding: 6px 11px; font-size: 13px; }
.btn-solid.lg, .btn-outline.lg, .btn-light.lg { padding: 13px 26px; font-size: 15px; }
.block { display: flex; width: 100%; }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 6px; }
.link-btn:hover { color: var(--coral); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; }
.text-link:hover { color: var(--coral); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.header-inner { height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 43px; height: 43px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; color: var(--navy-deep); letter-spacing: .02em; font-weight: 800; }
.brand-text small { font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 14px; color: #415565; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--coral); border-bottom-color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.auth-name { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--navy); font-weight: 600; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); margin-left: auto; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 58%;
  transform: scale(1.03); opacity: .42;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9,34,52,.97) 0%, rgba(12,42,64,.9) 48%, rgba(12,42,64,.45) 100%);
}
.hero-inner {
  position: relative; z-index: 2; min-height: 500px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 66px 0;
}
.hero-copy { max-width: 690px; color: #fff; }
.eyebrow { display: inline-block; color: #ffb9a7; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.24; margin: 16px 0 18px; letter-spacing: -.02em; font-weight: 800; }
.hero-copy > p { font-size: 16px; color: #d5e2ea; max-width: 560px; margin: 0 0 30px; }
.hero-search {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px;
  padding: 6px 6px 6px 18px; max-width: 620px; box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.hero-search .ico { color: var(--muted); }
.hero-search input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: 15px; color: var(--ink); }
.hero-tags { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #b9ccd8; font-size: 13px; }
.hero-tags a { padding: 4px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; }
.hero-tags a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-side { width: 280px; flex: 0 0 auto; display: grid; gap: 14px; }
.hero-note { display: flex; gap: 12px; align-items: flex-start; padding: 17px; border-radius: 12px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.hero-note .ico { color: #ff9b7e; margin-top: 3px; }
.hero-note strong { display: block; font-size: 14px; }
.hero-note span { display: block; font-size: 12px; color: #c7d7e1; line-height: 1.6; }

/* section heads */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h2 { font-size: 32px; line-height: 1.3; margin: 0 0 7px; color: var(--navy-deep); letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }

/* categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: all .2s ease; min-height: 205px; }
.cat-card:hover { transform: translateY(-4px); border-color: #f3c1b3; box-shadow: var(--shadow); }
.cat-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px;
  background: #eef5f5; color: var(--teal); margin-bottom: 16px; }
.cat-icon .ico { width: 27px; height: 27px; }
.cat-card strong { font-size: 17px; color: var(--navy-deep); }
.cat-desc { font-size: 13px; color: var(--muted); margin: 7px 0 14px; line-height: 1.65; flex: 1; }
.cat-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--coral); }

/* post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: all .2s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0cdc2; }
.post-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe8ec; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-cover img { transform: scale(1.045); }
.pill { display: inline-block; background: rgba(18,58,86,.9); color: #fff; border-radius: 99px;
  font-size: 12px; padding: 4px 12px; font-weight: 600; }
.post-cover .pill { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--navy); }
.pill.lg { font-size: 13px; padding: 6px 15px; background: #eef3f5; color: var(--navy); }
.post-body { padding: 19px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { margin: 0 0 9px; font-size: 17px; line-height: 1.5; color: var(--navy-deep); }
.post-body p { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 16px; font-size: 12px; color: #8b9aa5; border-top: 1px solid #eef2f4; padding-top: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* feature */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: all .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-cover { position: relative; height: 210px; }
.feature-cover img { width: 100%; height: 100%; object-fit: cover; }
.feature-no { position: absolute; right: 16px; bottom: -19px; font-size: 52px; font-weight: 800;
  color: rgba(255,255,255,.95); text-shadow: 0 2px 12px rgba(0,0,0,.25); font-style: italic; }
.feature-body { padding: 26px 22px 22px; }
.feature-body h3 { font-size: 17px; margin: 12px 0 8px; color: var(--navy-deep); line-height: 1.5; }
.feature-body p { color: var(--muted); font-size: 13px; margin: 0 0 14px; }

/* about */
.about-section { background: #fbfcfc; border-top: 1px solid #eef2f4; border-bottom: 1px solid #eef2f4; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 68px; align-items: center; }
.about-copy h2 { font-size: 32px; color: var(--navy-deep); margin: 0 0 18px; line-height: 1.35; }
.about-copy > p { color: #4e6271; margin: 0 0 14px; font-size: 15px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.about-points > div { border-left: 2px solid var(--coral); padding-left: 13px; }
.about-points .ico { color: var(--coral); width: 21px; height: 21px; }
.about-points strong { display: block; font-size: 14px; margin: 5px 0 2px; }
.about-points span { font-size: 12px; color: var(--muted); }
.about-visual { position: relative; }
.about-visual img { width: 100%; height: 420px; object-fit: cover; border-radius: 18px; }
.about-badge { position: absolute; left: -22px; bottom: 22px; background: var(--navy); color: #fff;
  padding: 14px 24px; border-radius: 12px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 26px; line-height: 1.1; }
.about-badge span { font-size: 12px; color: #bcd0dc; }

/* band */
.publish-band { background: var(--navy); color: #fff; padding: 50px 0; }
.publish-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.publish-band .kicker { color: #ffb9a7; }
.publish-band h2 { margin: 0 0 6px; font-size: 28px; }
.publish-band p { margin: 0; color: #c3d3de; font-size: 14px; }

/* footer */
.site-footer { background: #0c2638; color: #b7c9d4; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.35fr; gap: 44px; padding-bottom: 48px; }
.footer-logo .brand-text strong { color: #fff; }
.footer-logo .brand-text small { color: #8fa8b8; }
.footer-brand > p { font-size: 13px; line-height: 1.85; margin: 18px 0; max-width: 320px; }
.footer-stat { display: flex; gap: 18px; font-size: 12px; color: #87a1b1; }
.footer-stat span { display: inline-flex; align-items: center; gap: 5px; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 5px 0 18px; }
.footer-col > a { display: block; font-size: 13px; margin-bottom: 10px; }
.footer-col > a:hover { color: #ff9e83; }
.footer-col p { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 0 0 12px; }
.footer-col p .ico { color: #ff9e83; margin-top: 3px; }
.footer-col a:hover { color: #ff9e83; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  display: flex; justify-content: space-between; font-size: 12px; color: #8fa8b8; }
.footer-bottom a:hover { color: #fff; }

/* page hero */
.page-hero { background: linear-gradient(180deg, #f3f7f9 0%, #fff 100%); border-bottom: 1px solid #eef2f4; padding: 40px 0 34px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8495a1; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--coral); }
.page-hero h1 { font-size: 34px; color: var(--navy-deep); margin: 0 0 7px; }
.page-hero > .container > p { margin: 0; color: var(--muted); font-size: 14px; }
.detail-hero { padding-bottom: 30px; }
.detail-hero .pill { margin-bottom: 13px; }
.detail-hero h1 { font-size: 32px; max-width: 860px; line-height: 1.45; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* list */
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; }
.list-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 5px 5px 5px 15px; margin-bottom: 26px; }
.list-search .ico { color: var(--muted); }
.list-search input { flex: 1; border: 0; outline: 0; min-width: 0; }
.list-layout .post-grid { grid-template-columns: repeat(2, 1fr); }
.list-side { display: grid; gap: 18px; align-content: start; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.side-card h3 { font-size: 15px; margin: 0 0 15px; color: var(--navy-deep); }
.side-cats { display: grid; gap: 2px; }
.side-cats a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; font-size: 13px; color: #455b69; }
.side-cats a:hover, .side-cats a.active { background: #f0f5f6; color: var(--coral); }
.side-cats a span { margin-left: auto; color: #94a3ad; font-size: 12px; }
.side-contact p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed #d6e0e5; border-radius: 14px; }
.empty .ico { width: 38px; height: 38px; color: #aebec8; margin: 0 auto 12px; }
.empty p { margin: 0 0 16px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination a { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 8px; font-size: 13px; }
.pagination a.active, .pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* detail */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 38px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.detail-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #eef2f4; aspect-ratio: 4 / 3; }
.detail-gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-summary { background: #f0f6f6; border-left: 3px solid var(--teal); padding: 16px 20px;
  border-radius: 0 10px 10px 0; color: #36535c; font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.detail-text p { margin: 0 0 18px; font-size: 15px; color: #3d5160; line-height: 1.95; }
.detail-tags { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.detail-tags a { background: #eef3f5; color: var(--navy); padding: 5px 13px; border-radius: 99px; font-weight: 600; }
.detail-side { display: grid; gap: 18px; align-content: start; }
.publisher-row { display: flex; gap: 11px; align-items: center; margin-bottom: 16px; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px;
  background: #e6f0f2; color: var(--navy); font-weight: 800; }
.avatar.lg { width: 52px; height: 52px; font-size: 20px; }
.publisher-row strong { display: block; font-size: 14px; }
.publisher-row span:not(.avatar) { font-size: 12px; color: var(--muted); }
.contact-line { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--navy); }
.contact-line .ico { color: var(--coral); }
.contact-hint { font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.publisher .btn-outline { margin-top: 16px; }
.related-list { display: grid; gap: 13px; }
.related-list a { display: flex; gap: 10px; align-items: center; }
.related-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 7px; }
.related-list strong { display: block; font-size: 12px; line-height: 1.55; color: #2b4150; }
.related-list small { color: #95a3ad; font-size: 11px; }
.related-list a:hover strong { color: var(--coral); }

/* auth */
.auth-wrap { min-height: 640px; display: grid; place-items: center; padding: 54px 24px;
  background: linear-gradient(160deg, #f3f8f9 0%, #fff 60%); }
.auth-card { width: min(940px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: #fff;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-intro { background: var(--navy); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; }
.auth-intro .brand-text strong { color: #fff; }
.auth-intro .brand-text small { color: #a6bdcb; }
.auth-intro h1 { font-size: 30px; margin: 60px 0 10px; }
.auth-intro > p { color: #c5d6e0; font-size: 14px; margin: 0; }
.auth-points { margin-top: auto; display: grid; gap: 12px; }
.auth-points > div { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #d3e0e8; }
.auth-points .ico { color: #ff9e83; }
.auth-form { padding: 44px 46px; }
.auth-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs a { padding-bottom: 12px; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 600; }
.auth-tabs a.active { color: var(--coral); border-color: var(--coral); }
.auth-form label:not(.check-line) { display: block; font-size: 13px; font-weight: 600; color: #344b5a; margin-bottom: 17px; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"],
.auth-form input:not([type]) { width: 100%; margin-top: 7px; padding: 11px 13px;
  border: 1px solid #dbe4e9; border-radius: 9px; outline: 0; font-weight: 400; }
.auth-form input:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,101,66,.1); }
.check-line { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: #4b6070; margin: 4px 0 12px; }
.check-line input { margin-top: 5px; accent-color: var(--coral); }
.check-line a { color: var(--coral); font-weight: 600; }
.form-error { min-height: 20px; color: #c4472a; font-size: 13px; margin: 6px 0; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.auth-switch a { color: var(--coral); font-weight: 700; }

/* forms */
.form-page { max-width: 920px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 8px 26px rgba(20,55,80,.05); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid label, .form-grid > .full { font-size: 13px; font-weight: 600; color: #344b5a; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; margin-top: 8px; padding: 11px 13px;
  border: 1px solid #dbe4e9; border-radius: 9px; outline: 0; background: #fff; color: var(--ink); font-weight: 400; resize: vertical; }
.field-hint { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; }
.upload-box { grid-column: 1 / -1; border: 1.5px dashed #cfdce2; border-radius: 12px; padding: 20px; background: #fafcfd; }
.upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted);
  cursor: pointer; padding: 18px; text-align: center; }
.upload-placeholder .ico { width: 34px; height: 34px; color: var(--teal); }
.upload-placeholder strong { color: var(--navy); font-size: 14px; }
.upload-placeholder span { font-size: 12px; }
.upload-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.upload-list:empty { display: none; }
.thumb { position: relative; width: 124px; height: 88px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 3px; top: 3px; border: 0; border-radius: 50%; width: 22px; height: 22px;
  background: rgba(255,255,255,.92); color: #a33c24; display: grid; place-items: center; padding: 0; }
.thumb button .ico { width: 14px; height: 14px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.form-actions .form-error { margin-right: auto; }

/* mine & admin */
.me-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.me-user { display: flex; align-items: center; gap: 13px; }
.me-user strong { display: block; font-size: 16px; }
.me-user span:not(.avatar) { font-size: 13px; color: var(--muted); }
.me-list, .admin-list { display: grid; gap: 14px; }
.me-row, .admin-row { display: flex; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--line);
  border-radius: 13px; background: #fff; }
.me-row img, .admin-row img { width: 120px; height: 84px; object-fit: cover; border-radius: 9px; flex: 0 0 auto; }
.me-info, .admin-info { flex: 1; min-width: 0; }
.me-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.me-title > a { font-weight: 700; font-size: 15px; color: var(--navy-deep); }
.me-title > a:hover { color: var(--coral); }
.me-info > p, .admin-info > p { font-size: 12px; color: var(--muted); margin: 4px 0 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-time { font-size: 12px; color: #96a4ae; display: inline-flex; align-items: center; gap: 5px; }
.me-actions, .admin-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.status { font-size: 11px; padding: 2px 9px; border-radius: 99px; font-weight: 700; }
.status.ok { background: #e9f6f1; color: var(--teal); }
.status.wait { background: #fff4e3; color: var(--amber); }
.status.no { background: #fbede9; color: #b85435; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: 13px; padding: 18px 20px; }
.stat-card span { color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; font-size: 30px; color: var(--navy-deep); line-height: 1.35; }
.stat-card .ico { position: absolute; right: 16px; bottom: 16px; color: #e0e9ed; width: 32px; height: 32px; }
.admin-bar { margin-bottom: 16px; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 16px; font-size: 13px; color: var(--muted); }
.admin-tabs button.active, .admin-tabs button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-row[data-status="rejected"] { opacity: .72; }
.admin-hero { background: linear-gradient(180deg, #f3f7f9, #fff); }

/* policy */
.policy-page { max-width: 840px; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 42px; }
.policy-card .policy-lead { color: #4a6070; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.policy-card h2 { font-size: 16px; color: var(--navy-deep); margin: 24px 0 8px; }
.policy-card p { color: #526675; font-size: 14px; line-height: 1.9; margin: 0 0 8px; }
.policy-card > .btn-outline { margin-top: 26px; }

/* responsive */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .header-inner { gap: 18px; }
  .brand-text strong { font-size: 15px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-side { display: none; }
}
@media (max-width: 860px) {
  .container { width: min(100% - 32px, 1180px); }
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .main-nav { display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 16px 20px; flex-direction: column; align-items: flex-start;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.open .header-actions { display: flex; position: absolute; top: 280px; left: 16px; right: 16px;
    background: #fff; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
  .hero-inner { min-height: auto; padding: 52px 0; }
  .hero h1 { font-size: 38px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search button { width: 100%; }
  .section { padding: 60px 0; }
  .section-head h2, .about-copy h2 { font-size: 26px; }
  .list-layout, .detail-layout { grid-template-columns: 1fr; }
  .list-side, .detail-side { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-visual img { height: 300px; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-intro h1 { margin-top: 24px; }
  .auth-points { margin-top: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .me-row, .admin-row { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .category-grid, .post-grid, .feature-grid, .list-side, .detail-side, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .me-row img, .admin-row img { width: 100%; height: 160px; }
  .me-actions, .admin-actions { width: 100%; justify-content: flex-start; }
  .publish-band-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-points { grid-template-columns: 1fr; }
  .form-card, .policy-card, .auth-form { padding: 22px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery figure:first-child { aspect-ratio: 4 / 3; }
  .page-hero h1 { font-size: 26px; }
}
