/* ==========================================================================
   168名爵房间988888 内页骨架：中式门牌风 · 居中印章 Hero + 房间目录 + 进门三步
   ========================================================================== */

:root {
  --rm-red: #8c1c1c;
  --rm-red-dk: #5c1010;
  --rm-gold: #e0b955;
  --rm-gold-lt: #f6e2ad;
  --rm-bg: #fdfaf5;
  --rm-ink: #2a1616;
  --rm-muted: #7a6660;
  --rm-line: #ecdfd0;
}

body.rm-page {
  background: var(--rm-bg);
  color: var(--rm-ink);
}

.rm-page .brand-mark { background: linear-gradient(140deg, #c53030, #8c1c1c); color: #fdf3e0; box-shadow: 0 6px 16px rgba(140, 28, 28, .3); }
.rm-page .brand-text em { color: var(--rm-red); }
.rm-page .site-nav a.is-active { color: var(--rm-red); }
.rm-page .site-nav a::after { background: var(--rm-red); }
.rm-page .btn-login { background: linear-gradient(135deg, #c53030, #8c1c1c); box-shadow: 0 8px 20px rgba(140, 28, 28, .26); }

/* ---------------- Hero：居中 ---------------- */
.rm-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  text-align: center;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(224, 185, 85, .22), transparent 66%),
    linear-gradient(180deg, #fffdf9, var(--rm-bg));
}

.rm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(140, 28, 28, .035) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}

.rm-hero-inner { position: relative; z-index: 2; }

.rm-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 4px;
  background: var(--rm-red);
  color: #fdf3e0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
}

.rm-hero h1 {
  margin: 26px 0 6px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.5px;
}

.rm-hero h1 span { color: var(--rm-red); }

.rm-plate {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  margin: 6px 0 20px;
}

.rm-plate strong {
  font-family: Georgia, serif;
  font-size: clamp(54px, 8.5vw, 104px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(100deg, #c53030, #8c1c1c 55%, #5c1010);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rm-plate em {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--rm-muted);
}

.rm-hero .lead {
  max-width: 660px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--rm-muted);
}

.rm-hero .lead strong { color: var(--rm-ink); }

.rm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 40px;
}

.rm-actions .btn-primary {
  background: linear-gradient(135deg, #c53030, #8c1c1c);
  color: #fff;
  box-shadow: 0 16px 36px rgba(140, 28, 28, .26);
}

.rm-actions .btn-room {
  background: #fff;
  border: 1.5px solid var(--rm-line);
  color: var(--rm-red);
}

.rm-actions .btn-room b { letter-spacing: 2px; }

.rm-hero-figure {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--rm-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(140, 28, 28, .07);
}

.rm-hero-figure img { border-radius: 14px 14px 0 0; }

.rm-hero-figure figcaption {
  padding: 12px 0 14px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--rm-muted);
}

/* ---------------- 房间目录 ---------------- */
.rm-directory {
  background: var(--rm-red-dk);
  color: #f7e9d3;
  padding: 56px 0 64px;
}

.dir-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}

.dir-head h2 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 900;
  color: #fff;
}

.dir-head span { font-size: 12px; letter-spacing: 3px; color: rgba(247, 233, 211, .55); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.room-cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(247, 233, 211, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .22s, background .22s, transform .22s;
}

.room-cell:hover {
  border-color: rgba(224, 185, 85, .6);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-3px);
}

.room-cell .no {
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: #f6e2ad;
  min-width: 86px;
}

.room-cell .meta strong { display: block; font-size: 14px; color: #fff; }
.room-cell .meta span { font-size: 12px; color: rgba(247, 233, 211, .6); }

.room-cell.featured {
  grid-column: span 3;
  background: linear-gradient(100deg, #a32121, #7a1717);
  border-color: var(--rm-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.room-cell.featured .no { font-size: 30px; color: #fff; }
.room-cell.featured .meta strong { font-size: 16px; }
.room-cell.featured .badge-now {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--rm-gold);
  color: #4a120f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------------- 进门三步 ---------------- */
.rm-section { padding: 86px 0; }

.rm-head { max-width: 720px; margin-bottom: 40px; }

.rm-head .k {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(140, 28, 28, .08);
  color: var(--rm-red);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
}

.rm-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.3;
}

.rm-head p { font-size: 15.5px; color: var(--rm-muted); }

.steps-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rm-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.step-cell {
  padding: 34px 30px;
  border-right: 1px solid var(--rm-line);
}

.step-cell:last-child { border-right: 0; }

.step-cell .big-no {
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
  color: rgba(140, 28, 28, .16);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-cell h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step-cell p { font-size: 14px; line-height: 1.85; color: var(--rm-muted); }
.step-cell p strong { color: var(--rm-ink); }

/* ---------------- 规则 + 时间 ---------------- */
.rm-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: start;
}

.rule-panel {
  padding: 34px;
  border: 1px solid var(--rm-line);
  border-radius: 16px;
  background: #fff;
}

.rule-panel h3 { font-size: 19px; font-weight: 900; margin-bottom: 18px; }

.rule-panel .rule {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px dashed var(--rm-line);
}

.rule-panel .rule:first-of-type { border-top: 0; padding-top: 0; }

.rule-panel .rule .idx {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--rm-red);
  padding-top: 2px;
}

.rule-panel .rule h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.rule-panel .rule p { font-size: 13.5px; line-height: 1.8; color: var(--rm-muted); }
.rule-panel .rule p a { color: var(--rm-red); font-weight: 600; }

.hours-panel {
  padding: 34px;
  border-radius: 16px;
  background: linear-gradient(160deg, #8c1c1c, #5c1010);
  color: #f7e9d3;
}

.hours-panel h3 { font-size: 19px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.hours-panel .sub { font-size: 13px; color: rgba(247, 233, 211, .6); margin-bottom: 20px; }

.hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(247, 233, 211, .16);
  font-size: 14px;
}

.hour-row:first-of-type { border-top: 0; }
.hour-row .t { color: rgba(247, 233, 211, .82); }
.hour-row .s { font-weight: 700; color: #f6e2ad; }
.hour-row .s.maint { color: #ffb4a2; }

.hours-panel .tip {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(247, 233, 211, .25);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(247, 233, 211, .7);
}

/* ---------------- FAQ ---------------- */
.rm-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.rm-faq .acc-item {
  border: 1px solid var(--rm-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s;
}

.rm-faq .acc-item.is-open { border-color: rgba(140, 28, 28, .35); }

.rm-faq .acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--rm-ink);
}

.rm-faq .acc-trigger .sign {
  margin-left: auto;
  flex: none;
  width: 20px; height: 20px;
  position: relative;
}

.rm-faq .acc-trigger .sign::before,
.rm-faq .acc-trigger .sign::after {
  content: "";
  position: absolute;
  inset: 50% 0;
  height: 2px;
  background: var(--rm-red);
  transition: transform .25s;
}

.rm-faq .acc-trigger .sign::after { transform: rotate(90deg); }
.rm-faq .acc-item.is-open .acc-trigger .sign::after { transform: rotate(0); }

.rm-faq .acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.rm-faq .acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.rm-faq .acc-panel > div { overflow: hidden; }
.rm-faq .acc-panel p { padding: 0 22px 20px; font-size: 13.5px; line-height: 1.85; color: var(--rm-muted); }
.rm-faq .acc-panel a { color: var(--rm-red); font-weight: 600; }

/* ---------------- 相关 ---------------- */
.rm-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.rm-related a {
  padding: 24px;
  border: 1px solid var(--rm-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.rm-related a:hover { border-color: rgba(140, 28, 28, .35); transform: translateY(-3px); }
.rm-related strong { display: block; font-size: 15px; margin-bottom: 5px; }
.rm-related span { font-size: 12.5px; color: var(--rm-muted); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-cell.featured { grid-column: span 2; }
  .steps-three { grid-template-columns: 1fr; }
  .step-cell { border-right: 0; border-bottom: 1px solid var(--rm-line); }
  .step-cell:last-child { border-bottom: 0; }
  .rm-split { grid-template-columns: 1fr; }
  .rm-faq { grid-template-columns: 1fr; }
  .rm-related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rm-hero { padding-top: 46px; }
  .rm-hero h1 { font-size: 27px; }
  .rm-plate { flex-direction: column; align-items: center; gap: 4px; }
  .rm-plate strong { font-size: 58px; }
  .rm-actions .btn { width: 100%; }
  .room-grid { grid-template-columns: 1fr; }
  .room-cell.featured { grid-column: span 1; flex-wrap: wrap; }
  .room-cell.featured .badge-now { margin-left: 0; }
  .rm-section { padding: 60px 0; }
  .rule-panel, .hours-panel { padding: 24px 20px; }
  .rm-directory { padding: 40px 0 48px; }
}
