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

:root {
  --primary: #1a56db;
  --primary-dark: #1642a8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --border: #e5e7eb;
  --radius: 14px;
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover { background: var(--bg-soft); color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #f3f6fc 0%, #e8effb 100%);
  padding: 88px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.28);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover { background: rgba(26, 86, 219, 0.08); }

/* Features */
.features { padding: 56px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.feature-item svg { color: var(--primary); margin-bottom: 10px; }

.feature-item h3 { font-size: 16px; margin-bottom: 6px; }

.feature-item p { font-size: 13px; color: var(--text-light); }

/* Sections */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 40px;
}

.sub-title {
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  margin: 48px 0 24px;
}

/* Devices */
.devices { padding: 72px 0; background: var(--bg-soft); }

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.device-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.device-card:hover {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1);
  transform: translateY(-4px);
}

.device-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26, 86, 219, 0.1);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.device-card h3 { font-size: 19px; margin-bottom: 4px; }

.device-chip { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 14px; }

.device-spec {
  list-style: none;
  margin-bottom: 14px;
}

.device-spec li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.device-spec li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

.device-use {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover { color: var(--primary-dark); }

/* Scenes */
.scenes { padding: 72px 0; }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scene-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.scene-item:hover {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-4px);
}

.scene-item svg { color: var(--primary); margin-bottom: 10px; }

.scene-item h3 { font-size: 16px; margin-bottom: 6px; }

.scene-item p { font-size: 13.5px; color: var(--text-light); }

/* Services */
.services { padding: 72px 0; background: var(--bg-soft); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  background: var(--bg);
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  color: var(--primary);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
}

/* Footer */
.site-footer {
  margin: auto 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* Modal */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-mask.show { display: flex; }

.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.modal-close:hover { background: var(--bg-soft); color: var(--text); }

.modal-qr {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto 16px;
}

.modal-tip {
  font-size: 14px;
  color: var(--text-light);
}

/* Mobile (<= 1024px) */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .main-nav.open { display: flex; }

  .nav-link { padding: 12px 12px; font-size: 16px; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 36px; letter-spacing: 2px; }
  .hero-sub { font-size: 16px; letter-spacing: 1px; }
  .hero-desc { font-size: 14.5px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .device-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 24px; }
  .devices { padding: 56px 0; }
  .scenes { padding: 56px 0; }
  .services { padding: 56px 0; }
}

/* Small mobile (<= 480px) */
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Inner pages */
.page-main { padding: 48px 0 64px; }

.page-head { text-align: center; margin-bottom: 40px; }

.page-head h1 { font-size: 32px; font-weight: 800; }

.page-head p {
  color: var(--text-light);
  margin-top: 10px;
  font-size: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-body .devices { background: transparent; padding: 0; }

.more-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.more-link:hover { color: var(--primary-dark); }

.scene-tip {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 12px;
}

.scene-cta { text-align: center; margin-top: 48px; }

.scene-cta p { margin-bottom: 16px; color: var(--text-light); }

/* Footer */
.footer-inner { text-align: center; padding: 22px 0 0; }

.footer-links { margin-bottom: 12px; font-size: 14px; }

.footer-links a { color: var(--text-light); transition: color 0.2s; }

.footer-links a:hover { color: var(--primary); }

.footer-links .sep { margin: 0; color: var(--border); }

.footer-copy { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }

.footer-icp a { font-size: 13px; color: var(--text-light); }

.footer-icp a:hover { color: var(--primary); }

/* Legal pages */
.privacy-wrap { max-width: 900px; margin: 0 auto; }

.privacy-head { text-align: center; margin-bottom: 32px; }

.privacy-head h1 { font-size: 28px; font-weight: 800; }

.privacy-head .meta {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 8px;
  white-space: pre-line;
  line-height: 1.8;
}

.privacy-card h2 { font-size: 19px; margin: 30px 0 12px; }

.privacy-card h3 { font-size: 16px; margin: 22px 0 8px; }

.privacy-card p { font-size: 14.5px; margin-bottom: 10px; line-height: 1.8; }

.privacy-card ol { padding-left: 22px; margin-bottom: 10px; }

.privacy-card li { font-size: 14.5px; margin-bottom: 6px; line-height: 1.8; }

@media (max-width: 1024px) {
  .page-main { padding: 32px 0 48px; }
  .page-head h1 { font-size: 26px; }
  .privacy-head h1 { font-size: 23px; }
  .footer-links { font-size: 12.5px; }
}

/* 装修服务清单标签（复用 .device-tag 药丸样式） */
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.svc-tags .device-tag { margin-bottom: 0; font-weight: 500; }

/* 装修服务·卡片（图文取自小程序详情页；预约弹小程序码） */
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc-cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--bg-soft); }
.svc-cover-ph { display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-light); }
.svc-body { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-name { font-size: 15px; font-weight: 600; text-align: center; color: var(--text); }
.svc-desc { font-size: 12.5px; color: var(--text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: #fff; background: linear-gradient(90deg, #FF7C22, #FF4D00); border-radius: 999px; padding: 3px 9px; }
.svc-tag-ic { width: 14px; height: 14px; flex-shrink: 0; }
.svc-book { display: block; text-align: center; margin: 12px; padding: 0 10px; height: 42px; line-height: 42px; border: none; border-radius: 999px; background: linear-gradient(90deg, #ff9a3c, #ff7a00); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-font-smoothing: antialiased; }
.svc-book:hover { filter: brightness(1.05); }
@media (max-width: 1024px) { .svc-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .svc-cards { grid-template-columns: 1fr; } }

.svc-group + .svc-group { margin-top: 46px; }
.svc-group .section-title {
  margin-bottom: 24px;
  color: var(--cat, #0052ff);
  filter: saturate(1.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.svc-group .section-title::before,
.svc-group .section-title::after {
  content: "";
  flex: 1 1 auto;
  max-width: 260px;
  height: 24px;
  border-radius: 0;
  background-image: repeating-linear-gradient(-45deg, currentColor 0 5px, transparent 5px 10px);
  opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000);
}
.svc-group .section-title::after {
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0), #000);
  mask-image: linear-gradient(270deg, rgba(0,0,0,0), #000);
}

/* 立即预约表单弹窗（电脑版；手机端仍弹小程序码） */
.bkf-mask { display: none; position: fixed; inset: 0; background: rgba(17,24,39,.45); z-index: 1000; align-items: center; justify-content: center; }
.bkf-mask.show { display: flex; }
.bkf-box { width: 520px; max-width: 92vw; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.bkf-hd { position: relative; padding: 18px 20px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--border); }
.bkf-x { position: absolute; right: 10px; top: 10px; border: none; background: transparent; font-size: 16px; color: #999; cursor: pointer; }
.bkf-form { padding: 18px 20px 4px; }
.bkf-row { display: flex; align-items: center; margin-bottom: 14px; }
.bkf-row > label { width: 112px; flex-shrink: 0; font-size: 14px; color: var(--text); }
.bkf-row > label i { color: #e60000; font-style: normal; }
.bkf-row .bkf-inp, .bkf-name input, .bkf-name select, .bkf-row > input, .bkf-row > select { height: 40px; border: 1px solid var(--border); border-radius: 8px; padding: 0 12px; font-size: 14px; box-sizing: border-box; background: #fff; }
.bkf-row > input, .bkf-row > select { flex: 1; }
.bkf-name { flex: 1; display: flex; gap: 8px; }
.bkf-name input { flex: 1; min-width: 0; }
.bkf-name select { width: 96px; flex: none; }
.bkf-city { cursor: pointer; background: #fff; }
.bkf-actions { display: flex; gap: 12px; padding: 8px 20px 20px; }
.bkf-btn { flex: 1; height: 42px; border: none; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; }
.bkf-cancel { background: #eef1f6; color: #374151; }
.bkf-submit { background: linear-gradient(90deg,#ff9a3c,#ff7a00); color: #fff; }
/* 城市右侧滑出面板 */
.area-panel { position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 88vw; background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .25s; z-index: 1100; display: flex; flex-direction: column; }
.area-panel.show { transform: translateX(0); }
.area-veil { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1050; }
.area-veil.show { display: block; }
.area-hd { display: flex; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 700; }
.area-hd .area-back { margin-right: 8px; cursor: pointer; font-size: 20px; line-height: 1; color: var(--primary); visibility: hidden; }
.area-hd .area-close { margin-left: auto; cursor: pointer; color: #999; }
.area-list { flex: 1; overflow-y: auto; padding: 6px 0; }
.area-item { padding: 12px 18px; font-size: 14px; color: var(--text); cursor: pointer; }
.area-item:hover { background: var(--bg-soft); }


/* 装修动态（数据来自小程序 reno_news） */
.reno-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reno-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.reno-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--bg-soft); }
.reno-cover-ph { display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; }
.reno-bd { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.reno-tag { align-self: flex-start; font-size: 11px; color: var(--primary); background: rgba(26,86,219,.08); border-radius: 999px; padding: 2px 8px; }
.reno-item h3 { font-size: 16px; margin: 0; }
.reno-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--text-light); }
.reno-txt { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reno-stats { display: flex; gap: 14px; font-size: 12px; color: var(--text-light); margin-top: auto; }
.reno-empty { grid-column: 1 / -1; text-align: center; color: var(--text-light); padding: 40px 0; }
@media (max-width: 1024px) { .reno-list { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .reno-list { grid-template-columns: 1fr; } }

/* 装修动态：与小程序 reno-news 严格一致（样式搬自 reno-news.wxss，rpx→px） */
.rn-wrap { max-width: 440px; margin: 0 auto; background: #F5F6FA; }
/* 装修动态（reno-news，独立样式类 rn-*；紧凑信息流） */
.rn-page {
  min-height: 100vh;
  background: #F5F6FA;
  padding-bottom: 80px;
}

/* 状态栏占位（自定义导航，隐藏微信原生返回栏） */
.rn-status {
  width: 100%;
}

/* 头部标题行 */
.rn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  margin-bottom: 12px;
}
.rn-title {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
}
.rn-all {
  font-size: 13px;
  color: #888888;
}

/* 筛选标签栏 */
.rn-tabs {
  white-space: nowrap;
  padding: 0 16px;
  margin-bottom: 16px;
}
.rn-tab {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: #F0F1F5;
  color: #555555;
  font-size: 13px;
  margin-right: 8px;
}
.rn-tab-on {
  background: #FFFFFF;
  color: #FF6B22;
}

/* 信息流卡片 */
.rn-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin: 0 16px 16px;
}

/* 作者行 */
.rn-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.rn-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0F1F5;
  flex-shrink: 0;
}
.rn-name {
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  margin-left: 8px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rn-tag {
  font-size: 11px;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  flex-shrink: 0;
}
.rn-tag-gz { background: #6366F1; }
.rn-tag-sd { background: #22C55E; }
.rn-tag-def { background: #909399; }
.rn-time {
  font-size: 12px;
  color: #888888;
  margin-left: auto;
  flex-shrink: 0;
}

/* 标题行 */
.rn-ptitle {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.rn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  margin-right: 6px;
}
.rn-ptx {
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  flex: 1;
}

/* 正文 */
.rn-content {
  font-size: 13px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 12px;
  word-break: break-all;
}

/* 图片网格（仿朋友圈九宫格；宽度按容器/屏幕动态计算，间距约 10px=10px） */
.rn-imgs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.rn-imgw {
  position: relative;
  margin-right: 5px;
  margin-bottom: 5px;
}
.rn-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #F0F1F5;
}
.rn-cols1 .rn-imgw {
  width: 262.5px;
  padding-bottom: 350px;
  margin-right: 0;
}
.rn-cols2 .rn-imgw {
  width: calc((100% - 5px) / 2);
  padding-bottom: calc((100% - 5px) / 2);
}
.rn-cols2 .rn-imgw:nth-child(2n) { margin-right: 0; }
.rn-cols3 .rn-imgw {
  width: calc((100% - 10px) / 3);
  padding-bottom: calc((100% - 10px) / 3);
}
.rn-cols3 .rn-imgw:nth-child(3n) { margin-right: 0; }

/* 视频（3:4，宽度同单图；刷到后静音自动播放，点击预览有声） */
.rn-videow {
  position: relative;
  width: 262.5px;
  height: 350px;
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 5px;
}
.rn-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.rn-video-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* 位置 / 浏览量 / 点赞行 */
.rn-acts {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rn-loc {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-right: 8px;
}
.rn-loc-tx {
  font-size: 12px;
  color: #888888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rn-acts-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.rn-view,
.rn-like {
  display: flex;
  align-items: center;
}
.rn-view {
  margin-right: 12px;
}
.rn-act-ic {
  width: 17px;
  height: 17px;
  margin-right: 4px;
}
.rn-act-n {
  font-size: 12px;
  color: #888888;
}
.rn-act-on {
  color: #FF6B22;
}

/* 空态 / 加载 */
.rn-empty {
  text-align: center;
  color: #888888;
  font-size: 13px;
  padding: 60px 0;
}
.rn-load {
  text-align: center;
  color: #AAAAAA;
  font-size: 12px;
  padding: 8px 0 12px;
}
.rn-more-end {
  text-align: center;
  color: #AAAAAA;
  font-size: 12px;
  padding: 8px 0 12px;
}

/* 底部 */
.rn-foot {
  text-align: center;
  color: #555555;
  font-size: 14px;
  padding: 12px 0 20px;
}

/* 底部发布动态按钮 */
.rn-pubbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: #FFFFFF;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.04);
}
.rn-pub {
  height: 42px;
  line-height: 42px;
  text-align: center;
  background: #FF6B22;
  color: #FFFFFF;
  font-size: 15px;
  border-radius: 21px;
}


/* ===== 新增：列表视频加载转圈 ===== */
.rn-video-load {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.rn-video-spin {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: rn-spin 0.8s linear infinite;
}
@keyframes rn-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rn-desc { text-align: center; color: #888888; font-size: 13px; padding: 14px 16px 2px; }

/* 装修动态：图片预览 / 视频播放 */
.rn-viewer { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; align-items: center; justify-content: center; }
.rn-viewer.show { display: flex; }
.rn-v-img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.rn-v-close { position: absolute; top: 14px; right: 20px; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.rn-v-prev, .rn-v-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 0 18px; user-select: none; }
.rn-v-prev { left: 8px; }
.rn-v-next { right: 8px; }
.rn-videow { cursor: pointer; }
.rn-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; pointer-events: none; }
.rn-play-ic { width: 100%; height: 100%; display: block; }

.rn-video { object-fit: cover; }
.rn-imgw { cursor: pointer; }
.rn-v-video { max-width: 92vw; max-height: 88vh; background: #000; }
