/* ============ 房价牌模板样式：6 套模板 × 横屏/竖屏 ============ */
.board-root {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; flex-direction: column;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --room-anim: fadeUp .5s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .35; } }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 3.5vh 5vw 2.5vh; flex: none; }
.head-right { display: flex; align-items: center; gap: 2vw; }
.board-weather { display: flex; align-items: center; gap: .7vw; font-size: 2vh; opacity: .85; }
.wx-txt { white-space: nowrap; }
/* ============ 天气温度读数（2026-11-19） ============
   原来温度是拼在 .wx-txt 里的纯文本（"haze 12°"），
   字号与描述完全一致、中间只隔一个空格，电视上远看就是一串糊字。
   现在温度单独成 .wx-temp：数字略大 + 加粗 + 等宽数字，
   度符号缩小一号并上提，中间隔开一段距离 —— 远看先读到温度。 */
.wx-temp { display: inline-flex; align-items: baseline; gap: .06em;
           margin-left: .12em; white-space: nowrap;
           font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-temp .wx-num { font-size: 1.18em; line-height: 1; letter-spacing: -.01em; }
.wx-temp .wx-deg { font-size: .78em; line-height: 1; opacity: .85; }
.wx-city { opacity: .7; margin-left: .9vw; white-space: nowrap; }
.hotel-name { font-size: calc(var(--fs-hotel, 3.8vh) * 1.1); font-weight: 800; letter-spacing: .12em; }
.clock { text-align: right; }
.clk-date { display: block; font-size: 2.0vh; opacity: .75; }
.clk-time { display: block; font-size: 2.4vh; font-weight: 600; font-variant-numeric: tabular-nums; }
.board-foot { flex: none; padding: 2vh 5vw 3vh; }
.notice { font-size: 2.6vh; font-weight: 600; margin-bottom: 1vh; animation: blink 2.4s ease-in-out infinite; }
/* ============ 底部滚动通知（多条跑马灯轮播） ============ */
.notice-wrap { position: relative; height: 4.4vh; min-height: 3vh; overflow: hidden; margin-bottom: .8vh; }
.notice-item { position: absolute; inset: 0; display: flex; align-items: center;
               opacity: 0; transform: translateY(1.2vh); transition: opacity .55s ease, transform .55s ease; }
.notice-item.on { opacity: 1; transform: none; }
.notice-scroll { display: flex; white-space: nowrap; will-change: transform; font-size: var(--fs-notice, 2.4vh); font-weight: 600;
                 animation: marquee 18s linear infinite; }
.notice-dup { padding-right: 0; }
.notice-item.static .notice-scroll { animation: none; justify-content: center; width: 100%; }
.notice-item.static .notice-dup:last-child { display: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.music-hint { position: fixed; right: 1.6vw; bottom: 1.6vh; z-index: 60; display: none;
                align-items: center; gap: .6vw; padding: .8vh 1.4vw; border-radius: 999px;
                background: rgba(15,23,42,.72); color: #e2e8f0; font-size: 1.8vh; cursor: pointer; }
.music-hint.show { display: flex; }
.music-hint .mi { font-size: 2.4vh; line-height: 1; }
.music-hint.muted { opacity: .55; }
.sc-foot { flex: none; padding: 0 3vw 1.4vh; }
.sc-foot .notice-wrap { margin-bottom: 0; }
/* 技术支持署名：所有房价牌左下角的小字。
   要求「不喧宾夺主，但仔细一看能看到」——字号用 vh 跟着屏幕缩放，
   横竖屏视觉比例一致；透明度压到 .42，浅色/深色主题都靠 inherit 取色。 */
.pb-tech {
  position: absolute; left: 3vw; bottom: .35vh;
  z-index: 4;                 /* 低于滚动通知(25)，永远不压住跑马灯 */
  font-size: 1.05vh; font-weight: 400; letter-spacing: .04em;
  line-height: 1; opacity: .42; color: inherit;
  white-space: nowrap; pointer-events: none;
}
/* 展示型底部联系信息：电话 + 地址 + 二维码 */
.sc-contact { display: flex; align-items: center; gap: 1.6vw; margin-bottom: .8vh; font-size: 1.9vh; opacity: .82; }
.sc-contact .ct-phone { font-weight: 700; }
.sc-contact .ct-addr { opacity: .8; }
.sc-contact .ct-qr { height: 6.4vh; width: 6.4vh; object-fit: contain; background: #fff; padding: .3vh;
                    border-radius: .6vh; box-shadow: 0 .3vh 1vh rgba(0,0,0,.25); margin-left: auto; }
.o-portrait .hotel-name { font-size: 4.8vh; }
.full-stamp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 50; pointer-events: none; }
.full-stamp .stamp-text {
  /* 印章整体尺寸只由「字号」驱动，内距/边框/圆角/阴影全部用 em 跟着缩放。
     旧写法 font-size:11vh + padding:2vh 5vw 混用两种视口单位：9:16 竖屏上
     vh 被拉到 211px、宽度却只有 1080px，四个字放不下被挤成两行，
     再叠加 -16° 旋转后外接框冲出屏幕（占屏宽 113%）。
     现在字号由宽度约束 + 强制单行；印章挂在 .sc-gallery 内（见 renderer.js），
     由图片容器自己居中，横竖屏都不需要按视口硬算偏移，也不会压住价格表。 */
  font-size: min(7vh, 8.5vw);
  white-space: nowrap; box-sizing: border-box;
  font-weight: 900; color: #e02020; letter-spacing: .12em;
  border: .1em double #e02020; outline: .03em solid #e02020; outline-offset: .05em;
  padding: .22em .55em; border-radius: .1em; background: rgba(255,255,255,.14);
  transform: rotate(-16deg);
  text-shadow: 0 0 .18em rgba(224,32,32,.35);
  animation: stampIn .55s cubic-bezier(.2,1.4,.4,1) both;
}
/* 全部房型满房时已有「今日满房」大印章，照片上不再叠加一层
   「已满房」半透明遮罩（否则同一句话说两遍，画面也变脏）。
   部分房型满房时轮播到该房型，这个遮罩仍正常显示。 */
.sc-root.board-full .sc-ph-sold { display: none; }
@keyframes stampIn {
  /* 入场放大幅度收敛到 1.45，否则动画首帧也会把印章撑出屏幕 */
  0%   { opacity: 0; transform: rotate(-16deg) scale(1.45); }
  65%  { opacity: 1; transform: rotate(-16deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-16deg) scale(1); }
}
/* ============ 房型图片 / 多价格列 / Logo / 联系信息 ============ */
/* logo 收口：去掉刺眼白底白边，改由圆角 + 柔和投影收口（logo 本身是蓝底圆角方块，自带收口）。
   无 logo 时该 <img> 根本不渲染，区域直接露背景色。 */
.head-logo { height: 6.5vh; margin-right: 1.6vw; border-radius: 1.1vh; background: transparent; padding: 0; box-shadow: 0 .35vh 1.1vh rgba(0,0,0,.32); object-fit: contain; display: block; }
.ct-qr { height: 10.5vh; background: #fff; padding: .5vh; border-radius: 1vh; flex: none; box-shadow: 0 .3vh 1.2vh rgba(0,0,0,.2); }
/* ============================================================
 * 展示型版式（横屏）：顶部日期天气条 + 左图片廊 + 右价格表
 * ============================================================ */
.sc-root { --sc-accent: #58b4ff; --sc-price: #ffffff; --sc-tbl-bg: rgba(10,38,86,.55);
           --sc-th-bg: rgba(23,86,165,.42); --sc-line: rgba(90,170,255,.25);
           --sc-ribbon: #2b9ee0; --sc-ph-bg: #0b1c42; --sc-hot: rgba(64,158,255,.20);
           --sc-top-bg: rgba(4,12,32,.85); --sc-focus-price: #ffffff; color: #eaf2ff; }
/* 顶栏两行：
     第一行酒店名（Logo + 名称），第二行日期/时间/天气。
     横屏时并排，竖屏时由 .o-portrait 规则改成纵向堆叠。 */
.sc-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 2vw;
          padding: 1.5vh 3vw; background: var(--sc-top-bg); font-size: 1.9vh; letter-spacing: .04em; }
.sc-meta { display: flex; align-items: baseline; gap: 2vw; }
.sc-left { display: flex; align-items: baseline; gap: 1vw; }
.sc-date { opacity: .95; }
.sc-time { font-size: 1.9vh; font-weight: 400; line-height: 1; letter-spacing: .04em; opacity: .95; }
.sc-hotel { display: flex; align-items: center; justify-content: center; gap: .8vw; text-align: center;
            font-size: var(--fs-hotel, 3.8vh); font-weight: 700; color: var(--sc-accent); letter-spacing: .12em;
            text-shadow: 0 0 1.4vh rgba(255,255,255,.12); min-width: 0; }
.sc-hotel .hotel-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-hotel .head-logo { height: 4.6vh; margin-right: 0; }
.sc-topright { justify-self: end; }
.sc-weather { display: flex; align-items: center; gap: .7vw; opacity: .9; }
.sc-main { flex: 1; display: flex; gap: 2.4vw; padding: 1.8vh 3vw 2.6vh; min-height: 0; }
.sc-gallery { width: 40%; display: flex; flex-direction: column; gap: 1vh; min-height: 0; }
.sc-ph { position: relative; flex: 1; min-height: 0; border-radius: 1vh; overflow: hidden;
         background: var(--sc-ph-bg); box-shadow: 0 .5vh 1.6vh rgba(0,0,0,.35); }
.sc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 中间主图：完整展示整张照片（contain 不裁切），柔和底色衬底 */
.sc-ph-mid { flex: 3.2; background:
  radial-gradient(120% 90% at 50% 40%, rgba(255,255,255,.10), rgba(0,0,0,.18)), var(--sc-ph-bg); }
.sc-ph-mid img { object-fit: contain; }
/* 上下：缩小的过渡条，直接铺满，不做模糊过渡 */
.sc-ph-small { flex: .62; }
.sc-ph-small img { object-fit: cover; }
.sc-ribbon { position: absolute; top: 1.4vh; right: -1.4vh; transform: rotate(38deg);
             background: var(--sc-ribbon); color: #fff; font-size: 1.8vh; font-weight: 700;
             letter-spacing: .08em; padding: .45vh 2.6vh; box-shadow: 0 .4vh 1.2vh rgba(0,0,0,.45); }
.sc-seal { display: none; position: absolute; right: 1.2vh; bottom: 1.2vh; width: 5.4vh; height: 5.4vh;
           border-radius: .6vh; background: #c62828; color: #fff; writing-mode: vertical-rl;
           align-items: center; justify-content: center; font-size: 2.1vh; font-family: "KaiTi","STKaiti",serif;
           letter-spacing: .12em; box-shadow: 0 .3vh 1vh rgba(0,0,0,.35); }
.sc-right { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sc-table { flex: 1; background: var(--sc-tbl-bg); border-radius: var(--sk-radius, .8vh); overflow: hidden;
             display: flex; flex-direction: column; backdrop-filter: blur(3px); }
.tp-custom .sc-ph { border-radius: var(--sk-radius, 1vh); }
.tp-custom .sc-hotel { letter-spacing: .06em; }
.sc-tr { display: flex; align-items: center; padding: 1.35vh 2vw; font-size: var(--fs-room, 2.6vh);
         border-bottom: 1px solid var(--sc-line); flex: 1; }
.sc-tr:last-child { border-bottom: none; }
.sc-th { color: var(--sc-accent); font-size: 2.4vh; background: var(--sc-th-bg); flex: none;
         padding: 1.5vh 2vw; letter-spacing: .06em; }
.sc-tr > span:first-child { flex: 1.5; text-align: left; }
.sc-tr > span:not(:first-child) { flex: 1; text-align: center; }
/* 价格表头整行居中：首列「房型」原本左对齐，与价格列保持一致的居中效果 */
.sc-th > span:first-child { text-align: center; }
/* 2026-11-09：主推房不再用「整行加深颜色条」表示。
   旧规则是给带 hot 类的行套上高亮行底色、并把房型名变色加粗，现已删除；
   现在只在房型名后面跟一个红色 HOT 小标，整行仍用主题原本的表格底色。
   各主题里遗留的高亮行色变量仅为兼容旧皮肤数据保留，页面已不再消费。 */
/* 房型名列 = 名称 + HOT 标 + 状态标。名称过长时省略号收尾，
   两个徽标固定不收缩、始终同一行，避免竖屏房型列把「满房」挤到第二行。 */
/* 房型列「联动居中」（2026-11-10）：
   --sc-name-w 由 renderer.js 的 roomNameWidthStyle() 按【最长房型名】
   动态算出（em），名称区据此定宽并把文字居中。表头「房型」本就在同一列
   （横/竖屏第一列都固定 40%）的中心，于是表头与所有房型名落在同一条
   中心线上。徽标放进 .sc-tags 绝对定位贴名称区右侧，不参与居中计算，
   所以带 HOT/满房的行房型名也不会被挤偏。 */
.sc-name { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; }
.sc-rname { flex: none; width: var(--sc-name-w, 6em); max-width: 100%; text-align: center;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-tags { position: absolute; left: calc(50% + var(--sc-name-w, 6em) / 2 + .25em);
           top: 50%; transform: translateY(-50%);
           display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.sc-name .sc-hottag, .sc-name .sc-soldtag, .sc-name .sc-stat { margin-left: 0; flex: none; }
.sc-hottag { display: inline-block; font-style: normal; font-size: .56em; line-height: 1;
             font-weight: 800; letter-spacing: .06em; color: #fff; background: #e11d2e;
             padding: .22em .42em; margin-left: .55em; border-radius: .28em;
             vertical-align: middle; white-space: nowrap;
             box-shadow: 0 .1em .35em rgba(0,0,0,.3); }
/* 满房行整行红字时，HOT 标始终保持白字红底，不被继承色或删除线影响 */
.sc-tr.sold .sc-hottag { color: #fff !important; text-decoration: none; }
/* 竖屏房型列只有 40% 宽：徽标再收紧一号、间距缩小，
   保证名称区 + 徽标完整同一行且不压到右侧价格列。 */
.sc-root.o-portrait .sc-tags { gap: .16em; }
.sc-root.o-portrait .sc-hottag { font-size: .48em; padding: .18em .24em; }
.sc-root.o-portrait .sc-soldtag,
.sc-root.o-portrait .sc-stat { font-size: .56em; padding: .1em .28em; }
/* 非 16:9（4:3 会议平板、视口被压小的电视）：房型列变窄，
   绝对定位的 .sc-tags 会溢出这一列，把 HOT/满房 压到右侧价格数字上。
   让徽标回到文档流、紧跟定宽名称，整体由 flex 居中：不溢出、不截字。 */
@media (max-aspect-ratio: 15/10) {
  .sc-tags { position: static; left: auto; right: auto; top: auto; transform: none; gap: .25em; }
  .sc-rname { width: var(--sc-name-w, 6em); max-width: none; flex: none; }
  .sc-hottag { font-size: .5em; padding: .18em .3em; margin-left: 0; }
  .sc-soldtag, .sc-stat { font-size: .58em; }
}
.sc-tr.sold .sc-name, .sc-tr.sold .sc-p { color: #ff5a5a !important; }
.sc-tr.sold .sc-soldtag { text-decoration: none; }
.sc-p { color: var(--sc-price); font-size: var(--fs-price, 2.6vh); }
/* 数字与「元」装进同一行盒并严格基线对齐：消除中英文字体度量差异
   造成的视觉高低不齐（原来 488 和 元 的底边看着不在一条线上）。 */
.sc-p-in { display: inline-flex; align-items: baseline; white-space: nowrap; position: relative; }
.sc-p .yuan { font-style: normal; font-size: .72em; margin-left: .2em; opacity: .85; line-height: 1; }
/* 满房行的删除线：改用一条贯穿整段「数字+元」的直线。
   原 text-decoration:line-through 会按各自字号分别计算位置，
   数字(1em)与「元」(.72em)的线高度不同 → 断成高低两截、不在一条线上。 */
.sc-tr.sold .sc-p { text-decoration: none; }
.sc-tr.sold .sc-p-in::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: .075em; min-height: 1px; transform: translateY(-50%);
  background: currentColor; opacity: .9; pointer-events: none;
}
.sc-none { opacity: .35; }
.sc-stat { font-style: normal; font-size: .72em; font-weight: 700; margin-left: .5em;
           padding: .1em .45em; border-radius: .3em; vertical-align: middle; white-space: nowrap; }
.sc-stat-tight { background: #ea580c; color: #fff; }
.sc-stat-bad { background: #dc2626; color: #fff; }
.sc-soldtag { font-style: normal; font-size: .68em; font-weight: 700; margin-left: .6em;
              padding: .1em .5em; border-radius: .3em; background: #dc2626; color: #fff !important; }
.sc-table { position: relative; }
.focus-band { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; z-index: 3;
              border-left: .45vh solid rgba(37,99,235,.55);
              background: linear-gradient(90deg, rgba(37,99,235,.15), rgba(37,99,235,.02) 72%);
              transition: transform .42s cubic-bezier(.4,0,.2,1), height .42s cubic-bezier(.4,0,.2,1); }
.sc-root .focus-band { border-left-color: var(--sc-accent);
              background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,0) 70%); }
.sc-tr.is-focus .sc-name { color: var(--sc-accent); font-weight: 700; }
.sc-tr.is-focus .sc-p { color: var(--sc-focus-price, #ffffff); }
.sc-gallery { transition: opacity .22s ease; }
.sc-gallery.swapping { opacity: 0; }
.sc-ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
              /* ⚠️ 不能写死白色：浅底主题（米白/淡青/纯白）上白字几乎看不见，
                 占位符里的房型名会直接消失。跟随主题的基础文字色。 */
              color: var(--sc-ph-label, rgba(255,255,255,.5));
              font-size: 2.2vh; letter-spacing: .1em;
              background: repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 10px, transparent 10px 20px); }
/* 中间大图缓慢推镜，增加画面呼吸感 */
.sc-ph-mid img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.sc-ph-sold { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
              background: rgba(20,0,0,.42); color: #ff6b6b; font-size: 2.8vh; font-weight: 800; letter-spacing: .22em;
              text-shadow: 0 .2vh .6vh rgba(0,0,0,.5); }
/* 「已满房」文字包一层 span 做红底白字徽标：横屏时容器改为顶部整行
   text-align:center，徽标自然落在图片最上居中（见横屏段覆盖规则）。 */
.sc-ph-sold > span { display: inline-block; background: rgba(220,38,38,.94); color: #fff;
                     font-size: 2.4vh; font-weight: 800; letter-spacing: .16em;
                     padding: .7vh 1.8vh; border-radius: .6vh; text-shadow: none;
                     box-shadow: 0 .3vh 1vh rgba(0,0,0,.32); }
/* 竖屏时改为上下布局：图片横排在上、价格表在下 */
.sc-root.o-portrait .sc-main { flex-direction: column; }
.sc-root.o-portrait .sc-gallery { width: 100%; flex-direction: row; height: 34vh; }
.sc-root.o-portrait .sc-ph-mid { flex: 2.6; }
.sc-root.o-portrait .sc-hotel { font-size: 4.4vh; }
/* ============ 13. 星空蓝（横屏） ============ */
.tp-starry {
  --sc-accent: #5cb6ff; --sc-price: #ffffff; --sc-tbl-bg: rgba(10,40,92,.55);
  --sc-th-bg: rgba(24,88,168,.42); --sc-line: rgba(96,176,255,.26);
  --sc-ribbon: #2f9fe0; --sc-ph-bg: linear-gradient(135deg,#0b1c42,#123a72); --sc-hot: rgba(64,158,255,.20);
  --sc-top-bg: linear-gradient(90deg, rgba(3,9,28,.95), rgba(6,24,58,.62));
  background-color: #030817;
  background-image:
    radial-gradient(ellipse at 78% 16%, rgba(30,90,200,.30), transparent 62%),
    radial-gradient(1.3px 1.3px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 34% 62%, #cfe4ff, transparent),
    radial-gradient(1.5px 1.5px at 58% 14%, #fff, transparent),
    radial-gradient(1px 1px at 72% 44%, #a9d4ff, transparent),
    radial-gradient(1.2px 1.2px at 88% 28%, #fff, transparent),
    radial-gradient(1px 1px at 22% 78%, #d8e9ff, transparent),
    radial-gradient(1.1px 1.1px at 46% 88%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 80% 72%, #bcdcff, transparent),
    radial-gradient(1px 1px at 66% 32%, #fff, transparent),
    radial-gradient(1px 1px at 8% 48%, #e3efff, transparent);
}
/* ============ 14. 甜蜜粉（横屏） ============ */
.tp-sweetpink {
  --sc-accent: #ff9ac8; --sc-price: #ffe9f4; --sc-tbl-bg: rgba(88,18,54,.50);
  --sc-th-bg: rgba(150,32,82,.42); --sc-line: rgba(255,150,200,.25);
  --sc-ribbon: #ff5f9e; --sc-ph-bg: linear-gradient(135deg,#3a0d26,#6b1440); --sc-hot: rgba(255,90,160,.18);
  --sc-top-bg: linear-gradient(90deg, rgba(56,10,30,.95), rgba(96,22,58,.58));
  background-color: #12040c;
  background-image:
    radial-gradient(circle at 62% 18%, rgba(255,120,180,.22) 0 6%, transparent 6.4%),
    radial-gradient(circle at 30% 62%, rgba(255,90,160,.16) 0 8%, transparent 8.4%),
    radial-gradient(circle at 78% 62%, rgba(255,140,200,.14) 0 5%, transparent 5.4%),
    radial-gradient(circle at 46% 86%, rgba(255,110,175,.12) 0 4%, transparent 4.4%),
    radial-gradient(circle at 88% 40%, rgba(255,190,225,.10) 0 3%, transparent 3.4%),
    linear-gradient(160deg, #35081c, #12040c);
}
/* ============ 15. 宝石蓝（横屏） ============ */
.tp-gemblue {
  --sc-accent: #3ec9d8; --sc-price: #e8fbff; --sc-tbl-bg: rgba(8,44,62,.55);
  --sc-th-bg: rgba(14,88,112,.44); --sc-line: rgba(60,200,215,.25);
  --sc-ribbon: #2f9bd0; --sc-ph-bg: linear-gradient(135deg,#052230,#0a3d52); --sc-hot: rgba(50,200,215,.18);
  --sc-top-bg: linear-gradient(90deg, rgba(3,28,42,.95), rgba(6,50,72,.62));
  background-color: #03151f;
  background-image:
    radial-gradient(ellipse at 70% 8%, rgba(0,190,220,.22), transparent 58%),
    linear-gradient(160deg, #062634, #02121c);
}
/* ============ 16. 中国水墨风（横屏） ============ */
.tp-ink {
  --sc-accent: #d8b878; --sc-price: #ece5d8; --sc-tbl-bg: rgba(0,0,0,.34);
  --sc-th-bg: rgba(42,37,30,.55); --sc-line: rgba(216,184,120,.22);
  --sc-ribbon: #d8b878; --sc-ph-bg: #17150f; --sc-hot: rgba(216,184,120,.14);
  --sc-top-bg: linear-gradient(90deg, rgba(8,8,8,.92), rgba(20,18,14,.6));
  background-color: #0a0a0a;
  background-image:
    radial-gradient(62% 46% at 92% 104%, rgba(200,200,190,.16), transparent 70%),
    radial-gradient(46% 34% at 74% 104%, rgba(165,165,155,.12), transparent 72%),
    radial-gradient(80% 30% at 104% 78%, rgba(120,120,112,.10), transparent 74%),
    radial-gradient(30% 22% at 58% 102%, rgba(180,180,170,.09), transparent 74%),
    linear-gradient(160deg, #101010, #050505);
}
.tp-ink .sc-seal { display: flex; }
.tp-ink .sc-hotel { font-family: "Songti SC","STSong","SimSun",serif; }
.tp-ink .sc-name { font-family: "Songti SC","STSong","SimSun",serif; }
/* ============ 17. 清新绿（横屏） ============ */
.tp-freshgreen {
  --sc-accent: #c3e75a; --sc-price: #eaffd0; --sc-tbl-bg: rgba(10,58,40,.45);
  --sc-th-bg: rgba(20,92,56,.44); --sc-line: rgba(195,231,90,.22);
  --sc-ribbon: #a9d63b; --sc-ph-bg: linear-gradient(135deg,#0b3a2c,#12503a); --sc-hot: rgba(195,231,90,.14);
  --sc-top-bg: linear-gradient(90deg, rgba(12,54,38,.92), rgba(18,72,48,.58));
  background-color: #06231b;
  background-image:
    radial-gradient(ellipse at 78% 12%, rgba(150,230,90,.16), transparent 58%),
    linear-gradient(160deg, #0d3b2c, #06231b);
}
/* ============ 18. 工业灰（横屏） ============ */
.tp-industrial {
  --sc-accent: #e8edf2; --sc-price: #f4f7fa; --sc-tbl-bg: rgba(18,20,24,.55);
  --sc-th-bg: rgba(48,52,58,.6); --sc-line: rgba(255,255,255,.14);
  --sc-ribbon: #c9ced6; --sc-ph-bg: linear-gradient(135deg,#2b2f36,#3a3f47); --sc-hot: rgba(255,255,255,.10);
  --sc-top-bg: linear-gradient(90deg, rgba(26,28,32,.92), rgba(48,52,58,.6));
  background-color: #1a1c20;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, rgba(0,0,0,.035) 2px 4px),
    linear-gradient(160deg, #2b2e34, #14161a);
}
/* ============ 19. 木纹棕（横屏） ============ */
.tp-wood {
  --sc-accent: #e3bd8c; --sc-price: #f5e3cb; --sc-tbl-bg: rgba(58,30,12,.45);
  --sc-th-bg: rgba(92,46,18,.44); --sc-line: rgba(227,189,140,.22);
  --sc-ribbon: #d9a86a; --sc-ph-bg: linear-gradient(135deg,#3a2210,#5a3a1c); --sc-hot: rgba(227,189,140,.14);
  --sc-top-bg: linear-gradient(90deg, rgba(48,26,10,.92), rgba(84,50,20,.58));
  background-color: #2a1708;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 3px, rgba(255,255,255,.02) 3px 5px, transparent 5px 11px),
    linear-gradient(160deg, #472a12, #1d1108);
}
/* ============ 20. 欧式古典（横屏） ============ */
.tp-euroclassic {
  --sc-accent: #e3c076; --sc-price: #f1e6cd; --sc-tbl-bg: rgba(20,14,8,.55);
  --sc-th-bg: rgba(62,44,22,.5); --sc-line: rgba(227,192,118,.25);
  --sc-ribbon: #e3c076; --sc-ph-bg: linear-gradient(135deg,#241a10,#3b2a18); --sc-hot: rgba(227,192,118,.13);
  --sc-top-bg: linear-gradient(90deg, rgba(26,18,10,.94), rgba(58,40,20,.6));
  background-color: #150e07;
  background-image:
    radial-gradient(ellipse at 50% -12%, rgba(227,192,118,.14), transparent 58%),
    repeating-radial-gradient(circle at 22% 26%, rgba(227,192,118,.05) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #2c1f11, #140d06);
}
.tp-euroclassic .sc-top { border-bottom: .25vh solid rgba(227,192,118,.45); }
.tp-euroclassic .sc-hotel { font-family: "Songti SC","STSong","SimSun",serif; letter-spacing: .16em; }
/* ============ 21. 典雅紫（横屏） ============ */
.tp-elegantpurple {
  --sc-accent: #c98bff; --sc-price: #f2e8ff; --sc-tbl-bg: rgba(52,16,96,.50);
  --sc-th-bg: rgba(96,32,170,.45); --sc-line: rgba(201,139,255,.25);
  --sc-ribbon: #d95fff; --sc-ph-bg: linear-gradient(135deg,#2c0f52,#4a1a80); --sc-hot: rgba(201,139,255,.16);
  --sc-top-bg: linear-gradient(90deg, rgba(38,12,74,.94), rgba(70,22,124,.58));
  background-color: #150733;
  background-image:
    radial-gradient(circle at 86% 14%, rgba(201,139,255,.26) 0 20%, transparent 20.5%),
    radial-gradient(circle at 86% 14%, transparent 0 32%, rgba(160,80,255,.16) 32.2% 32.8%, transparent 33%),
    radial-gradient(circle at 12% 88%, rgba(120,60,220,.18) 0 24%, transparent 24.5%),
    linear-gradient(160deg, #2a0f52, #150733);
}
/* ============ 低配模式（电视端 APP 设置里可开） ============
   目标：老旧电视盒子（1GB 内存 / 弱 GPU）上不掉帧
   手段：关掉毛玻璃、背景滤镜、Ken Burns 推镜、跑马灯动画等重绘开销 */
.low-spec .sc-table,
.low-spec .sc-ph,
.low-spec .ct-qr {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.low-spec .sc-ph-mid img {
    animation: none !important;      /* 关闭推镜缩放 */
    transform: none !important;
}
.low-spec .sc-gallery {
    transition: none !important;      /* 图廊切换改为瞬时 */
}
.low-spec .notice-scroll {
    animation: none !important;       /* 跑马灯停止滚动，改由 JS 控制（见下） */
}
.low-spec .sc-ph {
    box-shadow: none !important;
}
.low-spec .sc-ribbon,
.low-spec .sc-seal {
    box-shadow: none !important;
}
/* 低配模式下把动画元素降为简单淡入，避免持续重绘 */
.low-spec .notice-item {
    transition: opacity .2s linear !important;
}
.board-root .hotel-name, .board-root .sc-hotel, .board-root .sc-name, .board-root .sc-p, .board-root .notice-scroll{ font-family: var(--font, inherit); }
.board-root .hotel-name, .board-root .sc-hotel, .board-root .sc-name{ font-family: var(--font-custom, var(--font, inherit)); }
/* 酒店名称可单独指定字体：--font-hotel 由 typographyStyle 在显式选择时输出，
   未设置（-1）则回落到自定义字体 / 全局字体，与表头字体互不影响。
   放在上面两条之后，保证优先级足够覆盖主题自带的 font-family。 */
.board-root .hotel-name, .board-root .sc-hotel {
    font-family: var(--font-hotel, var(--font-custom, var(--font, inherit)));
}
/* ============================================================
 * 竖屏专属版式 v4（2026-11-06）
 *   顶部：logo + 酒店名【整体居中】，字号放大
 *   第二行：左 = 年月日 星期几 时间（时钟图标）
 *            右 = 城市（定位图标）+ 天气（天气图标）
 *   中部：单张大图（PPT 式横向轮换）
 *   下部：价格表（表头加大；按房型数量自适应）
 *   底部：热线 → 地址 → 滚动消息，各一行；二维码右下角
 * ============================================================ */
/* ── 顶栏小图标 ──
   内部是内联 SVG（iconSvg() 生成），尺寸写在 SVG 属性里，
   这里只管对齐与颜色 —— 不用 mask，避免尺寸被 CSS 覆盖算不出来。 */
.ic {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; opacity: .72; vertical-align: -.28em;
  line-height: 0;
}
.ic svg { display: block; width: 1.45em; height: 1.45em; }
/* ── 顶部：logo + 酒店名整体居中，字号放大 ── */
.sc-root.o-portrait .sc-top {
  display: flex; flex-direction: column; align-items: stretch;
  gap: .9vh; padding: 2.6vh 5vw 1.6vh;
}
.sc-root.o-portrait .sc-hotel {
  justify-content: center; gap: 1.4vw;
  font-size: calc(var(--fs-hotel, 3.8vh) * 1.5);
  letter-spacing: .06em;
  /* 新建屏酒店名/logo 还没填时，空 flex 行高度会塌成 0，
     顶栏只剩一行时间，v4 的「品牌行 + 信息行」骨架就没了。
     给个最小高度，保证任何数据状态下版式比例都一致。 */
  min-height: 6.6vh;
}
/* logo 明确尺寸与不被压缩 */
.sc-root.o-portrait .sc-hotel .head-logo {
  height: 6.2vh; width: auto; flex: 0 0 auto;
  object-fit: contain; border-radius: .8vh;
}
.sc-root.o-portrait .sc-hotel .hotel-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ⚠️ 顶栏第二行：左 日期时间 / 右 城市+天气
 *
 *   踩过的三个坑（都实测过，别再犯）：
 *   ① flex + flex-basis:auto → 右侧组内容宽度只算出 12px，
 *      图标和文字被压扁、竖排换行。
 *   ② grid + auto 列 → 因为 overflow:hidden 算不出 max-content，
 *      同样压成 12px。
 *   ③ float:right → CSS 规范规定 float 会把元素的 display「块化」，
 *      inline-flex 被算成 flex，还得再修回去。
 *
 *   正解：flex 布局 + 右侧组显式 width:max-content。
 *   max-content 让浏览器按内容算出真实宽度，不受容器剩余空间影响。
 */
.sc-root.o-portrait .sc-meta {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1.4vw;
}
.sc-root.o-portrait .sc-left,
.sc-root.o-portrait .sc-right {
  display: flex; align-items: center; gap: .7vw;
  font-size: 2.1vh; white-space: nowrap;
  /* ⚠️ 必须显式写 row ——
     基础规则 .sc-right 有 flex-direction: column（那是给价格表容器用的），
     竖屏规则只覆盖了 display，方向被继承下来，
     结果顶栏右侧的图标竖着排了三行（高度 76px）。 */
  flex-direction: row;
}
/* 左侧日期：过长时省略 */
.sc-root.o-portrait .sc-left {
  flex: 0 1 auto; min-width: 0; overflow: hidden;
}
.sc-root.o-portrait .sc-left > span { overflow: hidden; text-overflow: ellipsis; }
/* 右侧：max-content 保证按内容算出真实宽度（不会被压成 12px） */
.sc-root.o-portrait .sc-right {
  flex: 0 0 max-content; width: max-content; min-width: 0; margin-left: auto;
}
.sc-root.o-portrait .sc-right .sc-weather {
  display: inline-flex; align-items: center; gap: .5vw; white-space: nowrap;
}
.sc-root.o-portrait .sc-right .sc-city { white-space: nowrap; }
/* 图标固定尺寸，不能被压扁 */
.sc-root.o-portrait .ic { flex: 0 0 auto; display: inline-block; }
/* 日期里的「年」字在竖屏省掉，省出宽度给右侧 */
.sc-root.o-portrait .sc-date .yr { display: none; }
/* ── 中部：单张大图 ── */
.sc-root.o-portrait .sc-main { flex-direction: column; gap: 1.6vh; padding: 0 4vw 1.6vh; }
.sc-root.o-portrait .sc-gallery {
  /* 展示框与素材同规格：2048×1366（3:2 横图）。
     height 由宽度按 3:2 反算，不再写死 38%，整张照片完整显示、不裁不变形。
     9:16 屏上 3:2 约占主区 49% 高，所以兜底上限放到 60%：
     设成 44% 会把框压成 1.8:1（实测踩过），照片又被裁掉上下。 */
  width: 100%; flex: none; height: auto; min-height: 0;
  aspect-ratio: 3 / 2; max-height: 60%;
  display: block; position: relative; overflow: hidden;
  border-radius: 1.4vh;
  box-shadow: 0 .4vh 1.6vh rgba(0,0,0,.14);
}
.sc-root.o-portrait .sc-ph:not(.sc-ph-mid) { display: none; }
.sc-root.o-portrait .sc-ph-mid { flex: 1; border-radius: 1.4vh; overflow: hidden; }
.sc-root.o-portrait .sc-ph-slide { position: absolute; inset: 0; }
.sc-root.o-portrait .sc-ph-slide img { width: 100%; height: 100%; object-fit: cover; }
/* 轮播指示点 */
.sc-root.o-portrait .sc-dots {
  position: absolute; right: 1.6vh; bottom: 1.4vh;
  display: flex; gap: .7vh; z-index: 3;
}
.sc-root.o-portrait .sc-dots i {
  width: .9vh; height: .9vh; border-radius: 50%;
  background: rgba(255,255,255,.5); display: block;
}
.sc-root.o-portrait .sc-dots i.on { background: #fff; width: 2.6vh; border-radius: .5vh; }
/* 占位符（没配图时） */
.sc-root.o-portrait .sc-ph-label {
  inset: auto 0 0 0; top: auto; height: auto;
  padding: 1.8vh 1.6vh 2.8vh;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.42) 100%);
  color: #fff; font-size: 3vh;
}
/* ── 价格表：表头加大 + 按房型数量自适应 ── */
/* 价格表容器：必须撑满整行 —— .sc-main 是 column 布局，
   它作为 flex item 没有宽度约束的话，表格会收缩到内容宽度。 */
.sc-root.o-portrait .sc-price { width: 100%; flex: 1; min-height: 0; }
.sc-root.o-portrait .sc-table { display: flex; flex-direction: column; height: 100%; }
.sc-root.o-portrait .sc-th {
  font-size: 2.5vh; font-weight: 800; letter-spacing: .06em;
  padding: 1.5vh 2.6vw; flex: none;
  border-bottom: 1.5px solid var(--sc-line);
}
.sc-root.o-portrait .sc-tr {
  font-size: 2.35vh; padding: 1.3vh 2.6vw;
  flex: 1 1 0; min-height: 0;   /* 各行均分剩余高度 */
}
.sc-root.o-portrait .sc-tr > span:first-child { flex: 0 0 40%; }
.sc-root.o-portrait .sc-p { font-size: 2.5vh; }
/* 房型很少（1–3 个）时，.sc-tr 的 flex:1 1 0 会把唯一一行拉到
   占满整个下半屏，表头与数据之间出现巨大空白，看起来像一块空色卡。
   改成固定行高 + 表格内容垂直居中：表格紧凑，剩余空间匀给主题背景，
   与 5 行房型时的 v4 观感保持一致。 */
.sc-root.o-portrait .sc-price[data-sparse="1"] {
  display: flex; align-items: center;
}
.sc-root.o-portrait .sc-price[data-sparse="1"] .sc-table {
  height: auto; width: 100%;   /* 表格只包住表头 + 数据行，不再铺满下半屏 */
}
.sc-root.o-portrait .sc-table[data-count="1"] .sc-tr:not(.sc-th),
.sc-root.o-portrait .sc-table[data-count="2"] .sc-tr:not(.sc-th),
.sc-root.o-portrait .sc-table[data-count="3"] .sc-tr:not(.sc-th) {
  flex: 0 0 auto; min-height: 7vh; max-height: 10vh;
}
/* 房型多时压缩：≤5 正常 / 6-8 缩小 / >8 更紧凑 */
.sc-root.o-portrait .sc-table[data-count="6"] .sc-th,
.sc-root.o-portrait .sc-table[data-count="7"] .sc-th,
.sc-root.o-portrait .sc-table[data-count="8"] .sc-th { font-size: 2.2vh; padding: 1.1vh 2.2vw; }
.sc-root.o-portrait .sc-table[data-count="6"] .sc-tr,
.sc-root.o-portrait .sc-table[data-count="7"] .sc-tr,
.sc-root.o-portrait .sc-table[data-count="8"] .sc-tr { font-size: 2.1vh; padding: .9vh 2.2vw; }
.sc-root.o-portrait .sc-table[data-count="6"] .sc-p,
.sc-root.o-portrait .sc-table[data-count="7"] .sc-p,
.sc-root.o-portrait .sc-table[data-count="8"] .sc-p { font-size: 2.2vh; }
.sc-root.o-portrait .sc-table[data-count="9"] .sc-th,
.sc-root.o-portrait .sc-table[data-count="10"] .sc-th,
.sc-root.o-portrait .sc-table[data-count="11"] .sc-th,
.sc-root.o-portrait .sc-table[data-count="12"] .sc-th { font-size: 2vh; padding: .9vh 2vw; }
.sc-root.o-portrait .sc-table[data-count="9"] .sc-tr,
.sc-root.o-portrait .sc-table[data-count="10"] .sc-tr,
.sc-root.o-portrait .sc-table[data-count="11"] .sc-tr,
.sc-root.o-portrait .sc-table[data-count="12"] .sc-tr { font-size: 1.95vh; padding: .6vh 2vw; }
.sc-root.o-portrait .sc-table[data-count="9"] .sc-p,
.sc-root.o-portrait .sc-table[data-count="10"] .sc-p,
.sc-root.o-portrait .sc-table[data-count="11"] .sc-p,
.sc-root.o-portrait .sc-table[data-count="12"] .sc-p { font-size: 2vh; }
/* 房型更多（13+）：只压字号，不再压行高（否则太挤读不出来） */
.sc-root.o-portrait .sc-table[data-count="13"] .sc-th { font-size: 1.9vh; }
.sc-root.o-portrait .sc-table[data-count="13"] .sc-tr { font-size: 1.85vh; padding: .5vh 1.8vw; }
.sc-root.o-portrait .sc-table[data-count="13"] .sc-p { font-size: 1.9vh; }
/* 焦点行（与图片轮播联动）：左侧竖条 + 淡底 + 加粗 */
.sc-root.o-portrait .sc-tr.is-focus { background: var(--sc-focus-bg, rgba(139,115,85,.14)); }
.sc-root.o-portrait .sc-tr.is-focus .sc-name { color: var(--sc-accent); font-weight: 800; }
.sc-root.o-portrait .sc-tr { position: relative; }
.sc-root.o-portrait .sc-tr.is-focus::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .5vh;
  background: var(--sc-accent); border-radius: 0 .4vh .4vh 0;
}
/* ── 底部：左列三行，右列二维码 ──
   ⚠️ .sc-foot 必须纵向排列 —— 之前是 flex 横向，
   .sc-notices 又设了 flex:1，直接把 contact 挤没了
   （第二次上线渲染出来底部整块是空的）。 */
.sc-root.o-portrait .sc-foot {
  padding: 0 4vw 1.6vh;
  display: flex; flex-direction: column; align-items: stretch; gap: .3vh;
  /* 联系信息/滚动消息都为空时保留底部骨架，避免主区被拉到贴着屏幕底边 */
  min-height: 11vh;
}
.sc-root.o-portrait .sc-contact {
  flex: none; width: 100%; min-width: 0; margin: 0;
  display: flex; align-items: flex-end; gap: 1.6vw;
}
.sc-root.o-portrait .ct-lines { flex: 1; min-width: 0; }
.sc-root.o-portrait .ct-line {
  font-size: 2.05vh; line-height: 1.7;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 标签自带「：」，右间距收窄，避免冒号与内容之间空得过开 */
.sc-root.o-portrait .ct-line b { font-weight: 700; margin-right: .35vw; }
.sc-root.o-portrait .ct-line.ct-addr { opacity: .74; }
.sc-root.o-portrait .ct-qr {
  width: 8.6vh; height: 8.6vh; flex: none;
  border-radius: .8vh; box-shadow: 0 .3vh 1vh rgba(0,0,0,.2);
}
/* 滚动消息：contact 下面独占一行，不压二维码 */
.sc-root.o-portrait .sc-notices {
  flex: none; width: 100%; min-width: 0; margin-top: 0;
}
.sc-root.o-portrait .notice-wrap { height: 3.4vh; min-height: 2.4vh; margin-bottom: 0; }
.sc-root.o-portrait .notice-scroll { font-size: 2vh; }
/* ==== 以下由 tools/build-skins.js 自动生成，请勿手改 ==== */

/* ============================================================
 * 新版展示型主题（2026-11-06 设计师交付 / 2026-11-09 改版）
 *   横屏：左 42% 单大图 / 右 58% 价格表铺满（所有主题统一）
 *   竖屏：上 38% 单大图 / 下 62% 价格表（不变）
 *   sc-flip 类保留仅兼容旧模板数据，不再翻转布局方向。
 * ============================================================ */
.sc-root.sc-flip:not(.o-portrait) .sc-main { flex-direction: row; }

/* ============ 水墨清雅（ink-elegant） ============ */
.tp-ink-elegant {
  --sc-accent: #534533; --sc-price: #342920; --sc-tbl-bg: rgba(255,250,240,.75);
  --sc-th-bg: rgba(240,235,220,.6); --sc-line: rgba(139,115,85,.25);
  --sc-ribbon: #53462e; --sc-hot: rgba(139,115,85,.1); --sc-ph-bg: rgba(0,0,0,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(250,248,240,.95), rgba(240,235,220,.6));
  --sc-ph-label: #342920;
  color: var(--sc-price);
  --sc-focus-price: #342920;
  background-color: #F5F0E5;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 朱砂古韵（cinnabar-classic） ============ */
.tp-cinnabar-classic {
  --sc-accent: #E8C87A; --sc-price: #F0E0B8; --sc-tbl-bg: rgba(80,15,15,.62);
  --sc-th-bg: rgba(120,25,25,.5); --sc-line: rgba(232,200,122,.2);
  --sc-ribbon: #D4AF5A; --sc-hot: rgba(232,200,122,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(60,10,10,.95), rgba(100,20,20,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #5A1010;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 青瓷雅集（celadon-elegant） ============ */
.tp-celadon-elegant {
  --sc-accent: #334f46; --sc-price: #1b322a; --sc-tbl-bg: rgba(240,248,245,.75);
  --sc-th-bg: rgba(220,235,228,.6); --sc-line: rgba(90,138,122,.25);
  --sc-ribbon: #374c45; --sc-hot: rgba(90,138,122,.1); --sc-ph-bg: rgba(0,0,0,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(245,250,248,.95), rgba(220,235,228,.6));
  --sc-ph-label: #1b322a;
  color: var(--sc-price);
  --sc-focus-price: #1b322a;
  background-color: #E8F0EC;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 星空商务（starry-business） ============ */
.tp-starry-business {
  --sc-accent: #E8C87A; --sc-price: #F0E0B8; --sc-tbl-bg: rgba(8,18,38,.62);
  --sc-th-bg: rgba(15,30,60,.5); --sc-line: rgba(232,200,122,.2);
  --sc-ribbon: #D4AF5A; --sc-hot: rgba(232,200,122,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(5,12,28,.95), rgba(12,25,50,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #0A1628;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 典雅欧式（euro-elegant） ============ */
.tp-euro-elegant {
  --sc-accent: #D4AF5A; --sc-price: #F0E0B8; --sc-tbl-bg: rgba(35,18,45,.62);
  --sc-th-bg: rgba(50,25,65,.5); --sc-line: rgba(212,175,90,.2);
  --sc-ribbon: #C9A04A; --sc-hot: rgba(212,175,90,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(25,12,35,.95), rgba(45,22,55,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #2A1535;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 森林原木（forest-wood） ============ */
.tp-forest-wood {
  --sc-accent: #C89A5A; --sc-price: #E8D0A8; --sc-tbl-bg: rgba(35,22,12,.62);
  --sc-th-bg: rgba(55,35,20,.5); --sc-line: rgba(200,154,90,.2);
  --sc-ribbon: #B8863A; --sc-hot: rgba(200,154,90,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(25,15,8,.95), rgba(45,30,15,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #2A1A10;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 极简禅白（zen-minimal） ============ */
.tp-zen-minimal {
  --sc-accent: #494949; --sc-price: #2d2d2d; --sc-tbl-bg: rgba(255,255,255,.8);
  --sc-th-bg: rgba(245,245,245,.7); --sc-line: rgba(136,136,136,.25);
  --sc-ribbon: #494949; --sc-hot: rgba(136,136,136,.08); --sc-ph-bg: rgba(0,0,0,.03);
  --sc-top-bg: linear-gradient(90deg, rgba(255,255,255,.95), rgba(245,245,245,.6));
  --sc-ph-label: #2d2d2d;
  color: var(--sc-price);
  --sc-focus-price: #2d2d2d;
  background-color: #FAFAFA;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 莫兰迪暖粉（morandi-pink） ============ */
.tp-morandi-pink {
  --sc-accent: #5b423b; --sc-price: #3c2620; --sc-tbl-bg: rgba(255,250,248,.75);
  --sc-th-bg: rgba(250,235,230,.6); --sc-line: rgba(212,154,138,.25);
  --sc-ribbon: #56443e; --sc-hot: rgba(212,154,138,.1); --sc-ph-bg: rgba(0,0,0,.03);
  --sc-top-bg: linear-gradient(90deg, rgba(255,250,248,.95), rgba(250,235,230,.6));
  --sc-ph-label: #3c2620;
  color: var(--sc-price);
  --sc-focus-price: #3c2620;
  background-color: #FDF5F2;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 工业都市（urban-industrial） ============ */
.tp-urban-industrial {
  --sc-accent: #E8782A; --sc-price: #F0E0D0; --sc-tbl-bg: rgba(20,20,22,.65);
  --sc-th-bg: rgba(40,40,45,.5); --sc-line: rgba(232,120,42,.2);
  --sc-ribbon: #D46820; --sc-hot: rgba(232,120,42,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(15,15,18,.95), rgba(35,35,40,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #151518;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 深海蓝调（deep-sea-blue） ============ */
.tp-deep-sea-blue {
  --sc-accent: #4A9AE8; --sc-price: #E0F0FF; --sc-tbl-bg: rgba(5,20,45,.65);
  --sc-th-bg: rgba(10,40,80,.5); --sc-line: rgba(74,154,232,.2);
  --sc-ribbon: #2A7AC8; --sc-hot: rgba(74,154,232,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(3,12,30,.95), rgba(8,30,60,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #051530;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(255,255,255,.06), transparent 58%);
}

/* ============ 星空深蓝（starry-blue） ============ */
.tp-starry-blue {
  --sc-accent: #E8C87A; --sc-price: #F0E0B8; --sc-tbl-bg: rgba(8,18,38,.62);
  --sc-th-bg: rgba(15,30,60,.5); --sc-line: rgba(232,200,122,.2);
  --sc-ribbon: #D4AF5A; --sc-hot: rgba(232,200,122,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(5,12,28,.95), rgba(12,25,50,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #0A1628;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(30,90,200,.32), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(64,158,255,.20), transparent 58%),
    linear-gradient(135deg, #0A1628, #36404f);
}

/* ============ 典雅紫金（elegant-purple） ============ */
.tp-elegant-purple {
  --sc-accent: #D4AF5A; --sc-price: #F0E0B8; --sc-tbl-bg: rgba(35,18,45,.62);
  --sc-th-bg: rgba(50,25,65,.5); --sc-line: rgba(212,175,90,.2);
  --sc-ribbon: #C9A04A; --sc-hot: rgba(212,175,90,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(25,12,35,.95), rgba(45,22,55,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #2A1535;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(140,90,200,.30), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(212,175,90,.16), transparent 58%),
    linear-gradient(135deg, #2A1535, #503f59);
}

/* ============ 墨韵东方（ink-oriental） ============ */
.tp-ink-oriental {
  --sc-accent: #5d460d; --sc-price: #342a18; --sc-tbl-bg: rgba(255,250,240,.72);
  --sc-th-bg: rgba(240,230,210,.6); --sc-line: rgba(139,105,20,.25);
  --sc-ribbon: #5d4518; --sc-hot: rgba(139,105,20,.1); --sc-ph-bg: rgba(0,0,0,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(250,245,235,.95), rgba(240,230,210,.6));
  --sc-ph-label: #342a18;
  color: var(--sc-price);
  --sc-focus-price: #342a18;
  background-color: #F5F0E5;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(139,115,85,.16), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(60,50,40,.14), transparent 58%),
    linear-gradient(135deg, #F5F0E5, #f7f3ea);
}

/* ============ 森林暖木（forest-timber） ============ */
.tp-forest-timber {
  --sc-accent: #C89A5A; --sc-price: #E8D0A8; --sc-tbl-bg: rgba(35,22,12,.62);
  --sc-th-bg: rgba(55,35,20,.5); --sc-line: rgba(200,154,90,.2);
  --sc-ribbon: #B8863A; --sc-hot: rgba(200,154,90,.12); --sc-ph-bg: rgba(255,255,255,.05);
  --sc-top-bg: linear-gradient(90deg, rgba(25,15,8,.95), rgba(45,30,15,.6));
  --sc-ph-label: rgba(255,255,255,.5);
  color: var(--sc-price);
  --sc-focus-price: #ffffff;
  background-color: #2A1A10;
  background-image:
    radial-gradient(ellipse at 80% 14%, rgba(120,160,90,.20), transparent 62%),
    radial-gradient(ellipse at 12% 86%, rgba(200,154,90,.16), transparent 58%),
    linear-gradient(135deg, #2A1A10, #50433b);
}

/* ── 房型密度分档兜底（2026-11-08 代码审查）────────────────
   data-count 是枚举式规则，≥14 时没有任何一档命中，文字会溢出；
   横屏原本完全没有压缩规则。改用 renderer.js 计算的 data-tier
   做无空洞兜底，横竖屏同时覆盖。 */
.sc-root .sc-table[data-tier="xl"] .sc-th { font-size: 1.9vh; padding: .6vh 1.8vw; }
.sc-root .sc-table[data-tier="xl"] .sc-tr { font-size: 1.8vh; padding: .35vh 1.8vw; }
.sc-root .sc-table[data-tier="xl"] .sc-p  { font-size: 1.9vh; }
.sc-root .sc-table[data-tier="xxl"] .sc-th { font-size: 1.6vh; padding: .4vh 1.5vw; }
.sc-root .sc-table[data-tier="xxl"] .sc-tr { font-size: 1.5vh; padding: .15vh 1.5vw; overflow: hidden; }
.sc-root .sc-table[data-tier="xxl"] .sc-p  { font-size: 1.6vh; }

/* ============================================================
 * 横屏专属版式 v5（2026-11-09，按设计稿统一所有横屏主题）
 *   顶部第一行：Logo + 酒店名【整体居中】，字号放大
 *   顶部第二行：左 = 年月日 星期几 时间（时钟图标）
 *               右 = 城市（定位图标）+ 天气（天气图标）
 *   中部：左侧【单张大图】一张一张显示，上下不要小图
 *         右侧房型价格表【铺满整个区域】，房型与价格同一行
 *   底部：订房热线 → 地址 → 滚动消息，二维码右下角
 *   ⚠️ 这里只作用于 .o-landscape，竖屏 v4 完全不受影响。
 * ============================================================ */
/* ── 顶栏：两行、酒店名居中 ── */
/* 顶栏适当加高（2026-11-15 第二轮：客户要求酒店名区域更舒展、压缩中部） */
.sc-root.o-landscape .sc-top {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 1.2vh; padding: 2.4vh 3vw 1.6vh;
}
.sc-root.o-landscape .sc-hotel {
  justify-content: center; gap: 1.2vw;
  font-size: calc(var(--fs-hotel, 3.8vh) * 1.55);
  letter-spacing: .06em;
  min-height: 7vh;
}
.sc-root.o-landscape .sc-hotel .head-logo {
  height: 6.2vh; width: auto; flex: 0 0 auto; margin-right: 0;
  object-fit: contain; border-radius: .8vh;
}
.sc-root.o-landscape .sc-hotel .hotel-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ── 顶栏第二行：时间居左 / 城市天气居右 ──
   基础规则里 .sc-right 有 flex-direction: column（历史遗留），
   这里必须显式改回 row，否则右侧图标会竖着排三行。 */
.sc-root.o-landscape .sc-meta {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1.4vw;
  position: relative;   /* 右侧「城市+天气」用绝对定位贴右，见下 */
}
.sc-root.o-landscape .sc-left,
.sc-root.o-landscape .sc-right {
  display: flex; align-items: center; gap: .7vw;
  font-size: 2vh; white-space: nowrap; flex-direction: row;
}
.sc-root.o-landscape .sc-left { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.sc-root.o-landscape .sc-left > span { overflow: hidden; text-overflow: ellipsis; }
/* 地点 + 天气固定在顶栏第二行最右侧。
   ⚠️ 2026-11-15：原来靠 width:max-content + margin-left:auto 推到右边，
   老版本电视 WebView 不认 max-content，右侧组就紧跟在日期时间后面挤在左上角。
   改成相对 .sc-meta 的绝对定位（top/bottom:0 + align-items:center 垂直居中），
   不依赖 flex 分配、不依赖 transform，任何内核都稳定贴右。 */
.sc-root.o-landscape .sc-right {
  position: absolute; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center; flex-direction: row;
  gap: .7vw; white-space: nowrap;
  width: auto; flex: none; min-width: 0; margin-left: 0;
  font-size: 2vh;
}
/* 左侧日期时间留出右半空间，窄屏也不会和右侧天气叠在一起 */
.sc-root.o-landscape .sc-left { max-width: 58%; }
.sc-root.o-landscape .sc-right .sc-weather {
  display: inline-flex; align-items: center; gap: .5vw; white-space: nowrap;
}
.sc-root.o-landscape .sc-right .sc-city { white-space: nowrap; }
.sc-root.o-landscape .ic { flex: 0 0 auto; display: inline-block; }
/* ── 中部：左单大图 / 右价格表铺满 ── */
.sc-root.o-landscape .sc-main {
  flex-direction: row; align-items: stretch;
  gap: 2vw; padding: .4vh 3vw .6vh;   /* 中部收紧，把高度让给顶栏与底部 */
}
.sc-root.o-landscape .sc-gallery {
  /* 左图右价，上下齐平。
     ⚠️ 2026-11-15：原来写的是 width:auto + aspect-ratio:1/1 由高度反算宽度，
     但电视自带 WebView（TV Bro 走系统 WebView）版本偏老，不支持 aspect-ratio，
     且内部图片全是 position:absolute → 容器宽度被算成 0，整个图片栏消失、
     价格表铺满全宽。改为显式百分比宽度，所有内核都能算出确定尺寸。 */
  /* 高度靠 align-self:stretch 吃满主区，不写 height:100% ——
     老电视 WebView 里 flex item 的百分比高度解析不稳定，会让内部图片的
     height:100% 一起失效，照片只显示上半截、下面留一大块空框。 */
  width: 42%; flex: 0 0 42%;
  min-width: 26vw;   /* 老内核 flex 收缩异常时也不至于塌成 0 */
  max-width: 48%;    /* 非 16:9 屏幕兜底：别把价格表挤没 */
  display: block; position: relative; align-self: stretch;
  overflow: hidden; border-radius: 1.2vh;
  background: rgba(255,255,255,.07);   /* 图片万一加载失败，框仍可见，便于定位问题 */
  box-shadow: 0 .4vh 1.6vh rgba(0,0,0,.28);
}
.sc-root.o-landscape .sc-ph:not(.sc-ph-mid) { display: none; }
/* 四边显式定位，不用 inset:0 简写（老 WebView 可能不认，导致 slide 尺寸按内容算） */
.sc-root.o-landscape .sc-ph-mid,
.sc-root.o-landscape .sc-ph-slide {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  border-radius: 1.2vh; overflow: hidden;
}
/* 图片绝对定位填满 slide：不再依赖 img 在文档流里按原始比例撑高，
   老内核下也能整框铺满，不会上面一张图、下面一片空白。 */
.sc-root.o-landscape .sc-ph-slide img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* 「已满房」标签放到图片最上方居中（2026-11-15）。
   原规则用 inset:0 做全屏遮罩，老电视 WebView 不解析 inset 简写 →
   元素塌成文字大小并落在图片左上角。横屏改为顶部整行容器
   （四边显式定位 + bottom:auto 清掉遮罩）+ text-align:center，
   徽标 inner span 用 inline-block 居中，不依赖 flex / transform / aspect-ratio。 */
.sc-root.o-landscape .sc-ph-sold {
  position: absolute; top: 1.4vh; left: 0; right: 0; bottom: auto;
  width: 100%; height: auto;
  display: block; text-align: center;
  background: none; color: #fff;
  font-size: 2.2vh; z-index: 5; text-shadow: none;
}
/* 全部房型满房时仍遵守「今日满房」大印章去重规则 */
.sc-root.o-landscape.board-full .sc-ph-sold { display: none !important; }
.sc-root.o-landscape .sc-ph-sold > span { vertical-align: top; }
.sc-root.o-landscape .sc-ph-slide { transition: opacity .28s ease, transform .28s ease; }
.sc-root.o-landscape .sc-gallery.pb-sliding .sc-ph-slide { opacity: .25; transform: translateX(-1.5%); }
.sc-root.o-landscape .sc-dots {
  position: absolute; right: 1.4vh; bottom: 1.2vh;
  display: flex; gap: .6vh; z-index: 3;
}
.sc-root.o-landscape .sc-dots i {
  width: .8vh; height: .8vh; border-radius: 50%;
  background: rgba(255,255,255,.5); display: block;
}
.sc-root.o-landscape .sc-dots i.on { background: #fff; width: 2.4vh; border-radius: .4vh; }
/* ⚠️ .sc-price 原本没有 flex:1，右侧表格只按内容宽度收缩，
   设计稿要求「房价表格铺满整个区域」—— 这里补上。 */
.sc-root.o-landscape .sc-price { flex: 1; min-width: 0; display: flex; }
.sc-root.o-landscape .sc-table {
  flex: 1; width: 100%; height: 100%;
  display: flex; flex-direction: column;
}
.sc-root.o-landscape .sc-th { font-size: 2.4vh; font-weight: 800; letter-spacing: .06em; }
/* 房型名与价格保持同一行；不覆盖 data-tier 的字号/内边距压缩档
   （那边选择器特异性更高，≥14 房型仍能自动收紧）。 */
.sc-root.o-landscape .sc-tr { flex: 1 1 0; min-height: 0; white-space: nowrap; position: relative; }
.sc-root.o-landscape .sc-tr > span:first-child { flex: 0 0 40%; }
/* 图片轮播焦点行：左侧竖条 + 淡底 + 加粗 */
.sc-root.o-landscape .sc-tr.is-focus { background: var(--sc-focus-bg, rgba(139,115,85,.14)); }
.sc-root.o-landscape .sc-tr.is-focus .sc-name { color: var(--sc-accent); font-weight: 800; }
.sc-root.o-landscape .sc-tr.is-focus::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .45vh;
  background: var(--sc-accent); border-radius: 0 .4vh .4vh 0;
}
/* ── 底部：热线 / 地址两行，二维码右下，滚动消息独立一行 ── */
.sc-root.o-landscape .sc-foot {
  position: relative; padding: 1.2vh 3vw 2.2vh;
  min-height: 10.5vh;   /* 底部留高：热线/地址在上、通知居中在下，互不挤压 */
  display: flex; flex-direction: column; align-items: stretch; gap: .2vh;
}
.sc-root.o-landscape .sc-contact {
  flex: none; width: 100%; min-width: 0; margin: 0;
  display: flex; align-items: flex-end; gap: 1.2vw;
  padding-right: 9vh;   /* 给右下角二维码留出位置 */
}
.sc-root.o-landscape .ct-lines { flex: 1; min-width: 0; }
.sc-root.o-landscape .ct-line {
  font-size: 1.9vh; line-height: 1.55;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 同竖屏：标签自带「：」，右间距收窄 */
.sc-root.o-landscape .ct-line b { font-weight: 700; margin-right: .3vw; }
.sc-root.o-landscape .ct-line.ct-addr { opacity: .74; }
.sc-root.o-landscape .ct-qr {
  position: absolute; right: 3vw; bottom: .8vh;
  width: 8vh; height: 8vh; margin: 0; flex: none;
  border-radius: .8vh; box-shadow: 0 .3vh 1vh rgba(0,0,0,.2);
}
/* 滚动通知栏：屏幕底端居中（2026-11-15 第三轮修正）。
   老电视 WebView 里 initNotices 的 getBoundingClientRect 测量会失败，
   误判成「文字太长要跑马灯」；而 flex 的 justify-content:center 在这类
   内核上也不生效，两条叠加 → 文字贴在容器左边缘（客户两次反馈偏左）。
   这里彻底绕开 flex 与 JS 测量，改用 CSS2.1 的 block + text-align:center
   + inline 文本流，任何 WebView 都会把文字放在屏幕正中。
   容器用 left/right:0 + width:100% 吃满整行，中心即屏幕中心。 */
.sc-root.o-landscape .sc-notices {
  position: absolute; left: 0; right: 0; bottom: 1vh;
  width: 100%; margin: 0; padding: 0;
  text-align: center; z-index: 25;
}
.sc-root.o-landscape .notice-wrap {
  width: 100%; height: 3.2vh; min-height: 2.2vh;
  margin-bottom: 0; text-align: center;
}
.sc-root.o-landscape .sc-notices .notice-item {
  display: block; width: 100%; text-align: center;
}
.sc-root.o-landscape .sc-notices .notice-scroll {
  display: block !important;   /* 关掉 flex，text-align:center 才作用于文字 */
  width: 100%; text-align: center;
  animation: none !important;
  transform: none !important;  /* 压掉 marquee 的 translateX(-50%) */
}
.sc-root.o-landscape .sc-notices .notice-dup {
  display: inline; padding: 0;  /* 纯文本流，随父级居中 */
}
.sc-root.o-landscape .sc-notices .notice-dup:last-child { display: none !important; }
