/* ============================================================
   拾窗 · 子页面公共骨架
   ============================================================ */

/* ---------- 顶部题栏 ---------- */
.page-bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 26px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .14em; color: var(--ink-soft);
}
.page-bar .back-home {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--pine-deep); text-decoration: none;
  letter-spacing: .14em; transition: opacity .2s ease;
}
.page-bar .back-home:hover { opacity: .7; }
.page-bar .crumb {
  opacity: .55;
  font-family: var(--kai);
  letter-spacing: .3em;
}
/* 面包屑：小路上的三块踏脚石 */
.page-bar .crumb::before {
  content: "路过的窗台";
  margin-right: 10px;
  opacity: .8;
}
.page-bar .room-name {
  margin-left: auto;
  font-family: var(--serif); font-size: 14px;
  letter-spacing: .4em; text-indent: .4em; color: var(--ink);
}
body.night .page-bar { background: color-mix(in srgb, #1d2329 88%, transparent); }

/* ---------- 版心 ---------- */
.page-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 46px 22px 40px;
}

/* ---------- 窗框：每页开场 ---------- */
.win-frame {
  position: relative;
  margin: 0 auto 18px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 4px;
  /* 不设 overflow:hidden——会把热区 tooltip 和点击气泡裁掉；
     圆角裁剪改由 img/figcaption 自己承担 */
  box-shadow: var(--shadow);
  background: var(--paper-dim);
}
.win-frame img { display: block; width: 100%; height: auto; border-radius: 3px; }
.win-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-radius: 0 0 3px 3px;
  padding: 26px 18px 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .25em; color: rgba(255, 253, 246, .85);
  background: linear-gradient(180deg, transparent, rgba(30, 26, 20, .55));
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* 房间标题 */
.room-head { text-align: center; margin-bottom: 34px; }
.room-head h1 {
  font-family: var(--kai);
  font-size: 34px; font-weight: 400;
  letter-spacing: .5em; text-indent: .5em;
  color: #4a3a2c;
}
.room-head .sub {
  margin-top: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .3em; color: var(--ink-faint);
}
.room-head .sub b { font-weight: 400; }

/* 占位内容提示（待站长填充） */
.tbd {
  padding: 34px 20px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px; letter-spacing: .2em;
}
.tbd code {
  font-family: var(--mono); font-size: 12px;
  color: var(--term-green); background: var(--term-bg);
  padding: 3px 10px; border-radius: 3px; letter-spacing: .05em;
}
