:root {
  --p2-ink: #0b1f3a;
  --p2-main: #2563eb;
  --p2-main-deep: #1d4ed8;
  --p2-light: #0ea5e9;
  --p2-bg: #f4f7fc;
  --p2-bg-soft: #eaf1fb;
  --p2-card: #ffffff;
  --p2-text: #16263d;
  --p2-muted: #5d7190;
  --p2-line: #dde6f4;
  --p2-radius: 12px;
  --p2-radius-lg: 18px;
  --p2-shadow: 0 10px 28px -16px rgba(13, 42, 94, 0.25);
  --p2-shadow-lg: 0 22px 44px -20px rgba(13, 42, 94, 0.32);
  --p2-width: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--p2-bg);
  color: var(--p2-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.p2-wrap { width: min(var(--p2-width), 92%); margin-inline: auto; }
.p2-block { padding: 84px 0; }

.p2-title { max-width: 700px; margin-bottom: 46px; }
.p2-title h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.p2-title h2 em { font-style: normal; color: var(--p2-main); }
.p2-title p { color: var(--p2-muted); font-size: 0.98rem; }

.p2-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 10px;
  font-size: 0.96rem; font-weight: 700; white-space: nowrap;
  transition: transform .22s, box-shadow .22s, background .22s;
}
.p2-btn-solid { background: var(--p2-main); color: #fff; box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .55); }
.p2-btn-solid:hover { background: var(--p2-main-deep); transform: translateY(-2px); }
.p2-btn-line { background: #fff; color: var(--p2-main); border: 1.5px solid var(--p2-main); }
.p2-btn-line:hover { background: var(--p2-bg-soft); transform: translateY(-2px); }
.p2-btn-soft { background: rgba(14, 165, 233, .12); color: #0369a1; border: 1.5px solid rgba(14, 165, 233, .4); }
.p2-btn-soft:hover { background: rgba(14, 165, 233, .2); transform: translateY(-2px); }

.p2-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--p2-line);
  transition: box-shadow .3s;
}
.p2-head.p2-collapse { box-shadow: 0 8px 24px -14px rgba(13, 42, 94, .4); }
.p2-head-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.p2-brand { font-size: 1.42rem; font-weight: 800; color: var(--p2-main); letter-spacing: 1px; white-space: nowrap; }
.p2-nav { display: flex; gap: 26px; }
.p2-nav a { color: var(--p2-muted); font-size: .92rem; font-weight: 600; transition: color .22s; }
.p2-nav a:hover { color: var(--p2-main); }
.p2-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.p2-burger span { display: block; width: 24px; height: 2px; background: var(--p2-main); border-radius: 2px; transition: transform .3s, opacity .3s; }
.p2-burger.p2-on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.p2-burger.p2-on span:nth-child(2) { opacity: 0; }
.p2-burger.p2-on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.p2-hero { padding: 126px 0 78px; background: linear-gradient(170deg, #eef4fd 0%, #f4f7fc 60%, #e9f2fb 100%); }
.p2-hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 46px; align-items: center; }
.p2-hero-pic { border-radius: var(--p2-radius-lg); overflow: hidden; box-shadow: var(--p2-shadow-lg); border: 1px solid var(--p2-line); }
.p2-hero-pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.p2-hero-chip { display: inline-block; padding: 6px 15px; border-radius: 999px; background: rgba(37, 99, 235, .1); color: var(--p2-main-deep); font-size: .8rem; font-weight: 700; margin-bottom: 20px; }
.p2-hero-copy h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.24; margin-bottom: 16px; color: var(--p2-ink); }
.p2-hero-copy h1 strong { color: var(--p2-main); }
.p2-hero-copy p { color: var(--p2-muted); font-size: 1.02rem; max-width: 520px; margin-bottom: 30px; }
.p2-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.p2-stat { padding: 0; transform: translateY(-40px); }
.p2-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p2-stat-card { background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 26px 20px; text-align: center; box-shadow: var(--p2-shadow); }
.p2-stat-num { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--p2-main); line-height: 1.2; margin-bottom: 6px; }
.p2-stat-label { color: var(--p2-muted); font-size: .88rem; }

.p2-live { background: var(--p2-bg); }
.p2-room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.p2-room { background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius-lg); overflow: hidden; box-shadow: var(--p2-shadow); transition: transform .24s, box-shadow .24s; }
.p2-room:hover { transform: translateY(-5px); box-shadow: var(--p2-shadow-lg); }
.p2-room-cover { position: relative; }
.p2-room-cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.p2-room-tag { position: absolute; top: 13px; left: 13px; padding: 4px 12px; border-radius: 8px; background: rgba(37, 99, 235, .92); color: #fff; font-size: .73rem; font-weight: 700; }
.p2-room-info { padding: 22px 24px 24px; }
.p2-room-info h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.p2-room-info p { color: var(--p2-muted); font-size: .9rem; margin-bottom: 14px; }
.p2-room-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.p2-pill { padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--p2-bg-soft); color: var(--p2-main-deep); }
.p2-online { margin-left: auto; font-size: .8rem; font-weight: 700; color: #0369a1; }

.p2-play { background: var(--p2-bg-soft); }
.p2-play-list { display: grid; gap: 16px; }
.p2-play-row { display: flex; gap: 20px; align-items: center; background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius); padding: 22px 26px; box-shadow: var(--p2-shadow); transition: transform .22s; }
.p2-play-row:hover { transform: translateX(6px); }
.p2-play-no { flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--p2-main); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; }
.p2-play-row h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 4px; }
.p2-play-row p { color: var(--p2-muted); font-size: .9rem; }

.p2-moment { background: var(--p2-bg); }
.p2-moment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.p2-moment-card { display: flex; gap: 22px; background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius-lg); padding: 22px; box-shadow: var(--p2-shadow); }
.p2-moment-card img { flex: 0 0 150px; width: 150px; height: 200px; object-fit: cover; border-radius: var(--p2-radius); }
.p2-moment-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.p2-moment-card p { color: var(--p2-muted); font-size: .9rem; }

.p2-review { background: var(--p2-bg-soft); }
.p2-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p2-review-card { background: var(--p2-card); border: 1px solid var(--p2-line); border-left: 4px solid var(--p2-main); border-radius: var(--p2-radius); padding: 26px 24px; box-shadow: var(--p2-shadow); }
.p2-review-stars { color: #f59e0b; letter-spacing: 2px; font-size: .92rem; margin-bottom: 12px; }
.p2-review-text { font-size: .92rem; margin-bottom: 18px; }
.p2-review-user { display: flex; align-items: center; gap: 11px; }
.p2-review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--p2-bg-soft); color: var(--p2-main); display: grid; place-items: center; font-weight: 800; }
.p2-review-user .nm { font-weight: 700; font-size: .9rem; }
.p2-review-user .rl { color: var(--p2-muted); font-size: .78rem; }

.p2-faq { background: var(--p2-bg); }
.p2-faq-list { max-width: 840px; margin-inline: auto; display: grid; }
.p2-faq-item { background: var(--p2-card); border: 1px solid var(--p2-line); border-radius: var(--p2-radius); margin-bottom: 13px; overflow: hidden; }
.p2-faq-item summary { padding: 19px 24px; font-weight: 700; font-size: .96rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.p2-faq-item summary::-webkit-details-marker { display: none; }
.p2-faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--p2-main); font-weight: 400; }
.p2-faq-item[open] summary { color: var(--p2-main); }
.p2-faq-item[open] summary::after { content: "−"; }
.p2-faq-body { padding: 0 24px 20px; color: var(--p2-muted); font-size: .92rem; }

.p2-foot { background: #0b1f3a; color: rgba(255, 255, 255, .68); padding: 60px 0 30px; }
.p2-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; margin-bottom: 36px; }
.p2-foot-brand .p2-brand { color: #fff; display: inline-block; margin-bottom: 14px; }
.p2-foot-brand p { font-size: .89rem; color: rgba(255, 255, 255, .52); max-width: 370px; }
.p2-foot-col h4 { color: #fff; font-size: .96rem; margin-bottom: 16px; }
.p2-foot-col a, .p2-foot-col li { display: block; color: rgba(255, 255, 255, .52); font-size: .87rem; margin-bottom: 11px; }
.p2-foot-col a:hover { color: #7dd3fc; }
.p2-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .36); }

.p2-top { position: fixed; right: 24px; bottom: 26px; z-index: 95; width: 46px; height: 46px; border-radius: 12px; background: var(--p2-main); color: #fff; display: grid; place-items: center; font-size: 1.15rem; font-weight: 800; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .55); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.p2-top.p2-show { opacity: 1; visibility: visible; transform: translateY(0); }

.p2-fade { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.p2-fade.p2-in { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .p2-room-grid { grid-template-columns: 1fr; }
  .p2-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .p2-review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .p2-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 24px 6%; gap: 20px; border-bottom: 1px solid var(--p2-line); }
  .p2-nav.p2-open { display: flex; }
  .p2-burger { display: flex; }
  .p2-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .p2-block { padding: 64px 0; }
  .p2-hero { padding: 106px 0 60px; }
  .p2-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .p2-moment-grid { grid-template-columns: 1fr; }
  .p2-moment-card { flex-direction: column; }
  .p2-moment-card img { width: 100%; height: 240px; flex: none; }
  .p2-foot-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 520px) {
  .p2-stat-grid { grid-template-columns: 1fr; }
  .p2-hero-actions .p2-btn { flex: 1 1 100%; }
  .p2-play-row { flex-direction: column; text-align: center; }
}
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--p2-main); outline-offset: 2px; border-radius: 4px; }

@media (min-width: 901px) {
  .p2-head-in { flex-direction: row-reverse; }
}
