/* ==========================================================================
   mj98bot.com — 名爵游戏房间988888 内页（游戏大厅房卡风）
   独立骨架：房卡 + 座位环 + 玩法卡带
   ========================================================================== */

.rm-page { background: #07131f; color: #d8e8f1; }

/* ---------- Hero ---------- */
.rm-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 78% 22%, rgba(14, 116, 144, .28), transparent 65%),
    radial-gradient(520px 320px at 10% 82%, rgba(201, 162, 39, .1), transparent 66%),
    linear-gradient(160deg, #0a2433, #07131f 62%, #040b12);
  padding: 26px 0 58px;
}

.rm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 92%);
}

.rm-hero .container { position: relative; }

.rm-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.rm-hero .crumb { color: #5f7f92; }
.rm-hero .crumb a:hover { color: #7dd3fc; }

.rm-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(74, 222, 128, .08);
  border: 1px solid rgba(74, 222, 128, .3);
  color: #4ade80;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
}

.rm-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.14); }

.rm-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: center;
}

.rm-hero-grid > * { min-width: 0; }

.rm-hero h1 {
  margin-top: 16px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.6px;
  color: #f2f9fd;
}

.rm-hero h1 em {
  font-style: normal;
  font-family: Georgia, serif;
  color: #e8cf85;
  letter-spacing: 1px;
}

.rm-hero .lead {
  margin-top: 18px;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #93aec0;
}

.rm-hero .lead strong { color: #f2f9fd; }

.rm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rm-hero .btn-room { color: #f2f9fd; border-color: rgba(232, 207, 133, .5); }
.rm-hero .btn-room b { color: #e8cf85; }

.rm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #5f7f92;
}
.rm-hero-meta b { color: #7dd3fc; }

.rm-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, .25);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6);
}

/* ---------- 房卡 ---------- */
.rm-card-section { margin-top: -28px; position: relative; z-index: 2; }

.rm-card {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  background: linear-gradient(150deg, #0d2b3e, #061722);
  border: 1px solid rgba(232, 207, 133, .35);
  border-radius: 16px;
  overflow: hidden;
}

.rm-card-main { padding: 30px 34px; }
.rm-card-main .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: #7dd3fc; }
.rm-card-main .no {
  margin-top: 6px;
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 4px;
  color: #e8cf85;
}
.rm-card-main .sub { margin-top: 8px; font-size: 13px; color: #93aec0; letter-spacing: 2px; }

.rm-card-main dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(232, 207, 133, .28);
}
.rm-card-main dt { font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px; color: #5f7f92; }
.rm-card-main dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #f2f9fd; }
.rm-card-main dd.green { color: #4ade80; }

.rm-card-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  background: rgba(232, 207, 133, .05);
  border-left: 1px dashed rgba(232, 207, 133, .32);
}
.rm-card-stub .big { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; color: #e8cf85; }
.rm-card-stub .small { font-size: 11px; color: #5f7f92; letter-spacing: 1px; }
.rm-card-stub .stamp {
  margin-top: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(74, 222, 128, .5);
  color: #4ade80;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  transform: rotate(-4deg);
}

/* ---------- 通用 ---------- */
.rm-sec { padding: 66px 0; }
.rm-sec.alt { background: #081b28; }

.rm-head { max-width: 720px; margin-bottom: 30px; }
.rm-head .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.2px; color: #7dd3fc; text-transform: uppercase; }
.rm-head h2 { margin-top: 9px; font-size: clamp(23px, 2.9vw, 33px); font-weight: 900; line-height: 1.32; color: #f2f9fd; letter-spacing: -.3px; }
.rm-head p { margin-top: 9px; font-size: 14.5px; color: #93aec0; line-height: 1.85; }
.rm-head a { color: #7dd3fc; font-weight: 700; }

/* ---------- 信息磁贴 ---------- */
.rm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.rm-tile {
  padding: 18px 20px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .16);
}
.rm-tile span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px; color: #5f7f92; }
.rm-tile b { display: block; margin-top: 7px; font-size: 20px; font-weight: 800; color: #f2f9fd; }
.rm-tile b.gold { color: #e8cf85; }
.rm-tile b.green { color: #4ade80; }
.rm-tile small { display: block; margin-top: 3px; font-size: 11.5px; color: #5f7f92; }

/* ---------- 座位 ---------- */
.rm-seats-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.rm-seats-wrap > * { min-width: 0; }

.rm-seat-ring {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px dashed rgba(125, 211, 252, .25);
}

.rm-seat-ring .center {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a2331;
  border: 1px solid rgba(232, 207, 133, .4);
  text-align: center;
}

.rm-seat-ring .center b { display: block; font-family: Georgia, serif; font-size: 24px; color: #e8cf85; }
.rm-seat-ring .center span { display: block; font-family: var(--mono); font-size: 9px; color: #5f7f92; letter-spacing: 2px; }

.rm-seat {
  position: absolute;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #0d2b3e;
  border: 1px solid rgba(125, 211, 252, .35);
  font-family: var(--mono);
  font-size: 9.5px;
  color: #93aec0;
}

.rm-seat.s1 { top: -22px; left: calc(50% - 22px); }
.rm-seat.s2 { top: 20%; right: -10px; }
.rm-seat.s3 { bottom: 20%; right: -10px; }
.rm-seat.s4 { bottom: -22px; left: calc(50% - 22px); }
.rm-seat.s5 { bottom: 20%; left: -10px; }
.rm-seat.s6 { top: 20%; left: -10px; }
.rm-seat.me { border-color: rgba(232, 207, 133, .7); color: #e8cf85; background: #1a2a22; }

.rm-seat-notes { display: grid; gap: 10px; }

.rm-seat-notes div {
  padding: 16px 18px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .14);
}
.rm-seat-notes b { display: block; font-size: 13.5px; color: #f2f9fd; }
.rm-seat-notes p { margin-top: 4px; font-size: 12.5px; color: #93aec0; line-height: 1.8; }

/* ---------- 准入 ---------- */
.rm-conds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.rm-cond {
  padding: 24px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .16);
}
.rm-cond .n {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(74, 222, 128, .1);
  color: #4ade80;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.rm-cond h3 { margin-top: 12px; font-size: 15.5px; font-weight: 800; color: #f2f9fd; }
.rm-cond p { margin-top: 6px; font-size: 13px; color: #93aec0; line-height: 1.8; }

/* ---------- 流程 ---------- */
.rm-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }

.rm-flow div {
  padding: 22px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .16);
}
.rm-flow div::before {
  counter-increment: f;
  content: "0" counter(f);
  font-family: Georgia, serif;
  font-size: 30px;
  color: rgba(232, 207, 133, .45);
  line-height: 1;
}
.rm-flow h3 { margin-top: 9px; font-size: 15px; font-weight: 800; color: #f2f9fd; }
.rm-flow p { margin-top: 5px; font-size: 12.5px; color: #93aec0; line-height: 1.8; }

/* ---------- 时间表 ---------- */
.rm-table-wrap { overflow-x: auto; border: 1px solid rgba(125, 211, 252, .16); background: #0a2331; }

.rm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 600px; }

.rm-table th {
  text-align: left;
  padding: 12px 16px;
  background: #08222f;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.1px;
  color: #7dd3fc;
  border-bottom: 1px solid rgba(125, 211, 252, .16);
}

.rm-table td { padding: 13px 16px; border-bottom: 1px solid rgba(125, 211, 252, .08); color: #93aec0; }
.rm-table tr:last-child td { border-bottom: 0; }
.rm-table td:first-child { color: #f2f9fd; font-weight: 700; }
.rm-table .open { color: #4ade80; font-weight: 700; }
.rm-table .maint { color: #e8cf85; font-weight: 700; }

/* ---------- 玩法 ---------- */
.rm-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.rm-mode {
  padding: 22px;
  background: linear-gradient(150deg, #0d2b3e, #081b28);
  border: 1px solid rgba(125, 211, 252, .16);
  transition: border-color .2s, transform .2s;
}
.rm-mode:hover { border-color: rgba(232, 207, 133, .4); transform: translateY(-3px); }

.rm-mode .tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; color: #7dd3fc; }
.rm-mode h3 { margin-top: 8px; font-size: 16px; font-weight: 800; color: #f2f9fd; }
.rm-mode p { margin-top: 6px; font-size: 13px; color: #93aec0; line-height: 1.8; }

/* ---------- 规则 ---------- */
.rm-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rm-rule {
  padding: 20px 22px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .14);
  border-left: 3px solid #0e7490;
}
.rm-rule b { display: block; font-size: 14px; color: #f2f9fd; }
.rm-rule b::before { content: "RULE "; font-family: var(--mono); font-size: 9.5px; color: #7dd3fc; letter-spacing: 1px; }
.rm-rule p { margin-top: 5px; font-size: 13px; color: #93aec0; line-height: 1.8; }

/* ---------- 角色 ---------- */
.rm-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.rm-role { padding: 22px; background: #0a2331; border: 1px solid rgba(125, 211, 252, .16); }
.rm-role .tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(125, 211, 252, .1); color: #7dd3fc; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; }
.rm-role.admin .tag { background: rgba(201, 162, 39, .14); color: #e8cf85; }
.rm-role h3 { margin-top: 10px; font-size: 16px; font-weight: 800; color: #f2f9fd; }
.rm-role ul { margin-top: 10px; display: grid; gap: 6px; font-size: 12.5px; color: #93aec0; }
.rm-role li { display: flex; gap: 8px; line-height: 1.7; }
.rm-role li::before { content: "·"; color: #7dd3fc; }

/* ---------- 排查 ---------- */
.rm-faq { display: grid; gap: 8px; max-width: 860px; }

.rm-acc { background: #0a2331; border: 1px solid rgba(125, 211, 252, .16); }

.rm-acc .acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #f2f9fd;
}
.rm-acc .acc-trigger::after { content: "+"; color: #7dd3fc; font-size: 16px; transition: transform .25s; }
.rm-acc.is-open .acc-trigger::after { transform: rotate(45deg); }
.rm-acc .acc-body { display: none; padding: 0 18px 15px; font-size: 13px; color: #93aec0; line-height: 1.85; }
.rm-acc.is-open .acc-body { display: block; }
.rm-acc .acc-body a { color: #7dd3fc; font-weight: 700; }

/* ---------- 安全 ---------- */
.rm-safe { display: grid; gap: 8px; max-width: 860px; }

.rm-safe li {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .12);
  font-size: 13px;
  color: #93aec0;
  line-height: 1.75;
}
.rm-safe li::before { content: "▸"; color: #7dd3fc; }

/* ---------- 相关 ---------- */
.rm-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.rm-rel a {
  padding: 16px 18px;
  background: #0a2331;
  border: 1px solid rgba(125, 211, 252, .14);
  transition: border-color .2s, transform .2s;
}
.rm-rel a:hover { border-color: rgba(125, 211, 252, .42); transform: translateY(-2px); }
.rm-rel b { display: block; font-size: 13.5px; color: #f2f9fd; }
.rm-rel span { display: block; margin-top: 3px; font-size: 12px; color: #5f7f92; }

/* ---------- CTA ---------- */
.rm-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(14, 116, 144, .28), transparent 70%),
    #040b12;
  padding: 68px 0;
  text-align: center;
  border-top: 1px solid rgba(125, 211, 252, .14);
}
.rm-cta h2 { font-size: clamp(24px, 3.1vw, 36px); font-weight: 900; color: #f2f9fd; }
.rm-cta p { margin: 11px auto 0; max-width: 580px; font-size: 14px; color: #93aec0; }
.rm-cta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.rm-cta .tg-link { border-color: rgba(125, 211, 252, .3); color: #d8e8f1; }
.rm-cta .tg-link:hover { background: rgba(14, 116, 144, .16); border-color: #7dd3fc; }
.rm-cta .btn-room { color: #d8e8f1; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .rm-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .rm-card { grid-template-columns: 1fr; }
  .rm-card-stub { border-left: 0; border-top: 1px dashed rgba(232, 207, 133, .32); flex-direction: row; align-items: center; justify-content: space-between; }
  .rm-tiles { grid-template-columns: 1fr 1fr; }
  .rm-seats-wrap { grid-template-columns: 1fr; }
  .rm-conds { grid-template-columns: 1fr; }
  .rm-flow { grid-template-columns: 1fr 1fr; }
  .rm-modes { grid-template-columns: 1fr 1fr; }
  .rm-rules { grid-template-columns: 1fr; }
  .rm-roles { grid-template-columns: 1fr; }
  .rm-rel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .rm-sec { padding: 52px 0; }
  .rm-card-main { padding: 24px; }
  .rm-card-main dl { grid-template-columns: 1fr 1fr; }
  .rm-tiles { grid-template-columns: 1fr; }
  .rm-flow { grid-template-columns: 1fr; }
  .rm-modes { grid-template-columns: 1fr; }
  .rm-rel { grid-template-columns: 1fr; }
  .rm-actions .btn { width: 100%; }
}