/* v13 機台廳 arcadehall — 深底橘紅霓虹街機廳（雙模式：預設深、亮模式暖白底＋實色橘） */
/* 佈局 DNA：斜切 clip-path 面板＋橘紅霓虹光，機台卡以網格陳列，窄體大寫標題像招牌燈箱。 */
/* 變體軸：斜切方向（左切／右切）、霓虹色相（橘／紅／琥珀）、機台網格欄數（2／3／4）。 */

:root {
  /* ===== primitive · 霓虹橘 12 階 ===== */
  --hl-d1:#3e2304; --hl-d2:#4d2b05; --hl-d3:#603606; --hl-d4:#734107; --hl-d5:#864c09; --hl-d6:#9e590a;
  --hl-d7:#bb690c; --hl-d8:#dd7c0e; --hl-d9:#f6911e; --hl-d10:#f0a44c; --hl-d11:#f7c182; --hl-d12:#fce7cf;
  --hl-l1:#fefaf6; --hl-l2:#fdf4ea; --hl-l3:#fcecd9; --hl-l4:#fae2c7; --hl-l5:#f8d6af; --hl-l6:#f6c893;
  --hl-l7:#f2b46e; --hl-l8:#ee9a3a; --hl-l9:#b25f00; --hl-l10:#935106; --hl-l11:#c57111; --hl-l12:#7a460b;
  /* ===== primitive · 中性（帶暖棕微偏） ===== */
  --hl-nd1:#1c1a17; --hl-nd2:#23201d; --hl-nd3:#2d2925; --hl-nd4:#37322d; --hl-nd5:#423c36; --hl-nd6:#504a43;
  --hl-nd7:#625b53; --hl-nd8:#787068; --hl-nd9:#736b63; --hl-nd10:#888077; --hl-nd11:#beb8b1; --hl-nd12:#eeedec;
  --hl-nl1:#fdfcfc; --hl-nl2:#f8f7f6; --hl-nl3:#f3f1ef; --hl-nl4:#ece9e7; --hl-nl5:#e4e0dc; --hl-nl6:#dad5d0;
  --hl-nl7:#cbc4be; --hl-nl8:#b3aba3; --hl-nl9:#a8998a; --hl-nl10:#968573; --hl-nl11:#7f7061; --hl-nl12:#3d3833;

  /* ===== 非色彩代幣 ===== */
  --hall-r: 4px;
  --hall-r-lg: 5px;
  --hall-skew: 14px;
  --hall-font-head: "Oswald", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --hall-font-body: "Roboto Condensed", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --hall-gap: 16px;
  --hall-pad: 20px;
  --hall-max: 1180px;

  /* ===== chrome（招牌燈箱／頁尾兩模式維持深，保住街機霓虹識別） ===== */
  --hall-chrome-bg: #17130f;
  --hall-chrome-bg1: #221d17;
  --hall-chrome-line: #3a332b;
  --hall-chrome-text: #ffffff;
  --hall-chrome-muted: #a1968a;
  --hall-chrome-accent: #f68b1f;

  /* ===== semantic · 深色（預設） ===== */
  --hall-bg: var(--hl-nd1);
  --hall-bg-deep: #120f0d;
  --hall-panel: var(--hl-nd3);
  --hall-panel-2: var(--hl-nd4);
  --hall-panel-3: #1b1712;
  --hall-line: var(--hl-nd5);
  --hall-orange: var(--hl-d9);
  --hall-red: #fd0e0e;
  --hall-amber: #ffc107;
  --hall-btn-text: #2a1400;
  --hall-text: var(--hl-nd12);
  --hall-title: #ffffff;
  --hall-muted: var(--hl-nd11);
  --hall-faint: var(--hl-nd8);
  --hall-star: #ffc107;
  --hall-link-hover: #ffb254;
  --hall-zebra: rgba(255, 255, 255, .025);
  --hall-neon-o: 0 0 14px rgba(246, 139, 31, .5);
  --hall-neon-r: 0 0 16px rgba(253, 14, 14, .45);
  --hall-neon-mix: 0 0 26px rgba(253, 60, 14, .35);
  --hall-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

/* ===== semantic · 亮模式 ===== */
[data-mode="light"] {
  --hall-bg: var(--hl-nl1);
  --hall-bg-deep: #efeae5;
  --hall-panel: #ffffff;
  --hall-panel-2: #ffffff;
  --hall-panel-3: #f6f2ee;
  --hall-line: #e6ded6;
  --hall-orange: var(--hl-l9);
  --hall-red: #c62020;
  --hall-amber: #b07a00;
  --hall-btn-text: #ffffff;
  --hall-text: var(--hl-nl12);
  --hall-title: #2a221b;
  --hall-muted: var(--hl-nl11);
  --hall-faint: #9c8d7d;
  --hall-star: #b07a00;
  --hall-link-hover: #8a4a00;
  --hall-zebra: rgba(60, 40, 20, .035);
  --hall-neon-o: 0 2px 8px rgba(178, 95, 0, .16);
  --hall-neon-r: 0 2px 8px rgba(198, 32, 32, .14);
  --hall-neon-mix: 0 6px 18px rgba(178, 95, 0, .14);
  --hall-shadow: 0 10px 28px rgba(60, 40, 20, .10);
}
@media (prefers-color-scheme: light) {
  :root:not([data-mode]) {
    --hall-bg: var(--hl-nl1); --hall-bg-deep: #efeae5; --hall-panel: #ffffff; --hall-panel-2: #ffffff;
    --hall-panel-3: #f6f2ee; --hall-line: #e6ded6; --hall-orange: var(--hl-l9); --hall-red: #c62020;
    --hall-amber: #b07a00; --hall-btn-text: #ffffff; --hall-text: var(--hl-nl12); --hall-title: #2a221b;
    --hall-muted: var(--hl-nl11); --hall-faint: #9c8d7d; --hall-star: #b07a00; --hall-link-hover: #8a4a00;
    --hall-zebra: rgba(60, 40, 20, .035);
    --hall-neon-o: 0 2px 8px rgba(178, 95, 0, .16); --hall-neon-r: 0 2px 8px rgba(198, 32, 32, .14);
    --hall-neon-mix: 0 6px 18px rgba(178, 95, 0, .14); --hall-shadow: 0 10px 28px rgba(60, 40, 20, .10);
  }
}
/* @check text=#eeedec bg=#1c1a17 muted=#beb8b1 primary=#f6911e btntext=#2a1400 mode=dark */
/* @check text=#3d3833 bg=#fdfcfc muted=#7f7061 primary=#b25f00 btntext=#ffffff mode=light */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(760px 380px at 88% -6%, rgba(246, 139, 31, .12), transparent 60%),
    radial-gradient(640px 340px at 6% 2%, rgba(253, 14, 14, .10), transparent 55%),
    var(--hall-bg);
  color: var(--hall-text);
  font-family: var(--hall-font-body);
  font-size: 15px; line-height: 1.6;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; }
a { color: var(--hall-orange); text-decoration: none; }
a:hover { color: var(--hall-link-hover); }
h1, h2, h3, h4 { font-family: var(--hall-font-head); text-transform: uppercase; letter-spacing: .05em; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }

.hall-wrap { max-width: var(--hall-max); margin: 0 auto; padding: 0 18px; }

/* 斜切面板通用（右上角切斜） */
.hall-clip {
  clip-path: polygon(0 0, calc(100% - var(--hall-skew)) 0, 100% var(--hall-skew), 100% 100%, var(--hall-skew) 100%, 0 calc(100% - var(--hall-skew)));
}

/* ---------- 導覽（頂欄招牌燈箱） ---------- */
.hall-bar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, var(--hall-chrome-bg1), var(--hall-chrome-bg));
  border-bottom: 2px solid var(--hall-chrome-accent);
  box-shadow: 0 2px 18px rgba(246, 139, 31, .28);
}
.hall-bar__in { max-width: var(--hall-max); margin: 0 auto; padding: 0 18px; display: flex; align-items: center; gap: 20px; height: 64px; }
.hall-brand { display: flex; align-items: center; gap: 10px; font-family: var(--hall-font-head); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .1em; color: var(--hall-chrome-text); text-shadow: 0 0 14px rgba(246, 139, 31, .45); }
.hall-brand__mark { width: 32px; height: 32px; flex: 0 0 auto; background: linear-gradient(135deg, var(--hall-chrome-accent), #fd0e0e); clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); box-shadow: 0 0 14px rgba(246, 139, 31, .5); }
.hall-menu { display: flex; gap: 3px; margin-left: auto; flex-wrap: wrap; }
.hall-menu a { color: var(--hall-chrome-muted); font-family: var(--hall-font-head); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; padding: 9px 14px; border-radius: var(--hall-r); }
.hall-menu a:hover, .hall-menu a[aria-current] { color: var(--hall-chrome-text); background: rgba(246, 139, 31, .14); box-shadow: inset 0 0 0 1px rgba(246, 139, 31, .4); }
.hall-burger { display: none; margin-left: auto; width: 42px; height: 40px; background: transparent; border: 2px solid var(--hall-chrome-accent); border-radius: var(--hall-r); color: var(--hall-chrome-accent); font-size: 18px; cursor: pointer; }

/* 模式切換鈕（招牌燈箱風：橘描邊圓角＋霓虹光；☀/☾ 由 script 切） */
.hall-mode {
  width: 44px; height: 40px; display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--hall-chrome-accent); font-size: 15px; font-family: var(--hall-font-head); font-weight: 600;
  border: 2px solid rgba(246, 139, 31, .5); border-radius: var(--hall-r);
}
.hall-mode:hover { box-shadow: 0 0 14px rgba(246, 139, 31, .45); border-color: var(--hall-chrome-accent); }

/* ---------- 麵包屑 ---------- */
.hall-crumb { max-width: var(--hall-max); margin: 0 auto; padding: 16px 18px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--hall-faint); }
.hall-crumb a { color: var(--hall-muted); }
.hall-crumb b { color: var(--hall-orange); font-weight: 600; }

/* ---------- 骨架 ---------- */
.hall-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--hall-gap); max-width: var(--hall-max); margin: 0 auto; padding: 20px 18px; }
.hall-col { display: flex; flex-direction: column; gap: var(--hall-gap); min-width: 0; }
.hall-col--side { align-self: start; position: sticky; top: 82px; }

/* ---------- 通用斜切面板 ---------- */
.hall-panel {
  background: linear-gradient(155deg, var(--hall-panel-2), var(--hall-panel) 60%, var(--hall-panel-3));
  border: 1px solid var(--hall-line);
  border-radius: var(--hall-r-lg);
  padding: var(--hall-pad);
  position: relative;
}
.hall-panel--neon { box-shadow: var(--hall-neon-mix), var(--hall-shadow); border-color: rgba(246, 139, 31, .35); }
.hall-panel__t { font-size: 17px; color: var(--hall-title); margin: 0 0 14px; padding-bottom: 11px; border-bottom: 1px solid var(--hall-line); position: relative; }
.hall-panel__t::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background: linear-gradient(90deg, var(--hall-orange), var(--hall-red)); box-shadow: var(--hall-neon-o); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }

/* ---------- 工具表單卡 ---------- */
.hall-form { display: flex; flex-direction: column; gap: 14px; }
.hall-field { display: flex; flex-direction: column; gap: 6px; }
.hall-lbl { font-family: var(--hall-font-head); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--hall-muted); }
.hall-input, .hall-select { background: var(--hall-bg-deep); border: 1px solid var(--hall-line); color: var(--hall-text); border-radius: var(--hall-r); padding: 11px 12px; font-family: var(--hall-font-body); font-size: 15px; width: 100%; }
.hall-input:focus, .hall-select:focus { outline: none; border-color: var(--hall-orange); box-shadow: var(--hall-neon-o); }
.hall-radios { display: flex; gap: 9px; flex-wrap: wrap; }
.hall-radio { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--hall-line); border-radius: var(--hall-r); background: var(--hall-bg-deep); font-size: 14px; color: var(--hall-muted); cursor: pointer; }
.hall-radio input { accent-color: var(--hall-orange); }
.hall-radio:hover { border-color: var(--hall-orange); color: var(--hall-title); }
.hall-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hall-btn { font-family: var(--hall-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; padding: 11px 22px; border: 0; border-radius: var(--hall-r); cursor: pointer; background: linear-gradient(120deg, var(--hall-orange), var(--hall-red)); color: var(--hall-btn-text); box-shadow: var(--hall-neon-o); }
.hall-btn:hover { box-shadow: var(--hall-neon-mix); }
.hall-btn--ghost { background: transparent; color: var(--hall-orange); box-shadow: inset 0 0 0 1px var(--hall-orange); }
.hall-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--hall-red), var(--hall-neon-o); }

/* ---------- 結果貼文卡 ---------- */
.hall-post { display: flex; flex-direction: column; gap: 12px; }
.hall-post__top { display: flex; align-items: center; gap: 12px; }
.hall-ava { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(from 200deg, var(--hall-orange), var(--hall-red), var(--hall-amber), var(--hall-orange)); display: grid; place-items: center; color: #2a1400; font-family: var(--hall-font-head); font-weight: 700; box-shadow: var(--hall-neon-o); }
.hall-post__who { display: flex; flex-direction: column; min-width: 0; }
.hall-post__name { font-family: var(--hall-font-head); font-weight: 600; text-transform: uppercase; font-size: 15px; color: var(--hall-title); letter-spacing: .03em; }
.hall-post__sub { font-size: 13px; color: var(--hall-faint); }
.hall-chip { display: inline-block; font-family: var(--hall-font-head); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--hall-r); background: rgba(246, 139, 31, .14); color: var(--hall-orange); box-shadow: inset 0 0 0 1px rgba(246, 139, 31, .4); }
.hall-id { margin-left: auto; font-size: 11.5px; color: var(--hall-faint); letter-spacing: .04em; }
.hall-post__body { font-size: 15px; color: var(--hall-text); }
.hall-brief { background: var(--hall-bg-deep); border: 1px solid var(--hall-line); border-left: 3px solid var(--hall-orange); border-radius: var(--hall-r); padding: 13px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hall-brief__k { font-size: 11.5px; color: var(--hall-muted); text-transform: uppercase; letter-spacing: .04em; display: block; }
.hall-brief__v { font-family: var(--hall-font-head); font-size: 19px; font-weight: 700; color: var(--hall-orange); }
.hall-stars { display: inline-flex; gap: 2px; color: var(--hall-star); font-size: 17px; letter-spacing: 2px; }
.hall-stars .off { color: var(--hall-line); }
.hall-acts { display: flex; gap: 6px; border-top: 1px solid var(--hall-line); padding-top: 11px; flex-wrap: wrap; }
.hall-act { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: var(--hall-muted); font-size: 14px; padding: 6px 12px; border-radius: var(--hall-r); cursor: pointer; font-family: var(--hall-font-body); }
.hall-act:hover { color: var(--hall-orange); background: rgba(246, 139, 31, .08); }
.hall-act__i { font-size: 15px; }

/* ---------- 平台數據 ---------- */
.hall-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hall-stat { text-align: center; padding: 16px 8px; border-right: 1px solid var(--hall-line); }
.hall-stat:last-child { border-right: 0; }
.hall-stat__n { font-family: var(--hall-font-head); font-weight: 700; font-size: 27px; color: var(--hall-title); text-shadow: var(--hall-neon-o); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hall-stat__l { font-size: 12px; color: var(--hall-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- 熱門排行 ---------- */
.hall-rank { list-style: none; margin: 0; padding: 0; }
.hall-rank li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--hall-line); }
.hall-rank li:last-child { border-bottom: 0; }
.hall-rank__no { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; font-family: var(--hall-font-head); font-weight: 700; font-size: 14px; color: var(--hall-faint); border: 1px solid var(--hall-line); border-radius: var(--hall-r); }
.hall-rank li:nth-child(-n+3) .hall-rank__no { color: var(--hall-btn-text); background: linear-gradient(120deg, var(--hall-orange), var(--hall-red)); box-shadow: var(--hall-neon-o); border-color: transparent; }
.hall-rank__t { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-rank__d { font-size: 12px; color: var(--hall-red); font-family: var(--hall-font-head); flex: none; }

/* 側欄補充：機台廳快訊（平衡側欄長度） */
.hall-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hall-feed li { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.hall-feed .hall-fk { flex: none; font-family: var(--hall-font-head); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--hall-red); }
.hall-feed .hall-fv { flex: 1; min-width: 0; font-size: 14px; color: var(--hall-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 文章卡 ---------- */
.hall-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hall-gap); }
.hall-art { background: var(--hall-panel); border: 1px solid var(--hall-line); border-radius: var(--hall-r-lg); overflow: hidden; }
.hall-art__thumb { aspect-ratio: 16/9; position: relative; background: linear-gradient(135deg, #4a2a08, #1c1006); }
.hall-art__thumb::after { content: attr(data-tag); position: absolute; left: 10px; top: 10px; font-family: var(--hall-font-head); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; background: linear-gradient(120deg, var(--hall-orange), var(--hall-red)); color: var(--hall-btn-text); border-radius: var(--hall-r); font-weight: 600; }
.hall-art__b { padding: 13px; display: flex; flex-direction: column; gap: 7px; }
.hall-art__t { font-family: var(--hall-font-head); font-size: 15px; color: var(--hall-title); text-transform: none; letter-spacing: .01em; }
.hall-art__x { font-size: 14px; color: var(--hall-muted); }
.hall-art__m { font-size: 12px; color: var(--hall-faint); text-transform: uppercase; }

/* ---------- 文章內文 ---------- */
.hall-article h2 { font-size: 22px; color: var(--hall-title); margin-top: 1.3em; }
.hall-article h3 { font-size: 17px; color: var(--hall-orange); text-transform: none; margin-top: 1.1em; }
.hall-article p { margin: 0 0 1em; }
.hall-article table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.hall-article th, .hall-article td { border: 1px solid var(--hall-line); padding: 9px 11px; text-align: left; }
.hall-article th { background: var(--hall-bg-deep); color: var(--hall-orange); font-family: var(--hall-font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.hall-quote { border-left: 3px solid var(--hall-red); background: rgba(253, 14, 14, .07); padding: 12px 16px; margin: 1.2em 0; font-style: italic; border-radius: 0 var(--hall-r) var(--hall-r) 0; }
.hall-faq { border: 1px solid var(--hall-line); border-radius: var(--hall-r); margin: 9px 0; background: var(--hall-bg-deep); }
.hall-faq summary { cursor: pointer; padding: 12px 14px; font-family: var(--hall-font-head); text-transform: uppercase; letter-spacing: .03em; font-size: 14px; color: var(--hall-title); list-style: none; display: flex; justify-content: space-between; }
.hall-faq summary::-webkit-details-marker { display: none; }
.hall-faq summary::after { content: "+"; color: var(--hall-orange); font-size: 18px; }
.hall-faq[open] summary::after { content: "\2212"; }
.hall-faq__b { padding: 0 14px 13px; color: var(--hall-muted); font-size: 14px; }

/* ---------- 工具牆 / 機台卡網格 ---------- */
.hall-machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hall-gap); }
.hall-machine {
  background: linear-gradient(160deg, var(--hall-panel-2), var(--hall-panel));
  border: 1px solid var(--hall-line); border-radius: var(--hall-r-lg); padding: 16px; cursor: pointer;
  display: flex; flex-direction: column; gap: 9px; transition: box-shadow .15s, transform .15s;
  position: relative; overflow: hidden;
}
.hall-machine::before { content: ""; position: absolute; right: -18px; top: -18px; width: 60px; height: 60px; background: radial-gradient(circle, rgba(246,139,31,.25), transparent 70%); }
.hall-machine:hover { box-shadow: var(--hall-neon-mix), var(--hall-shadow); transform: translateY(-3px); border-color: rgba(246,139,31,.5); }
.hall-machine__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--hall-r); background: rgba(246, 139, 31, .14); box-shadow: inset 0 0 0 1px rgba(246, 139, 31, .4); color: var(--hall-orange); font-size: 19px; }
.hall-machine__t { font-family: var(--hall-font-head); text-transform: uppercase; font-size: 15px; color: var(--hall-title); letter-spacing: .02em; }
.hall-machine__x { font-size: 14px; color: var(--hall-muted); }

/* ---------- 影片 16:9 ---------- */
.hall-video { position: relative; aspect-ratio: 16/9; border-radius: var(--hall-r-lg); overflow: hidden; border: 1px solid var(--hall-line); background: linear-gradient(135deg, #3a2308, #170e05); }
.hall-video__play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(120deg, var(--hall-orange), var(--hall-red)); display: grid; place-items: center; box-shadow: var(--hall-neon-mix); }
.hall-video__play::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.hall-video__label { position: absolute; left: 12px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 9px; border-radius: var(--hall-r); }

/* ---------- 圖片網格 2×2 ---------- */
.hall-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hall-g2 > div { aspect-ratio: 4/3; border-radius: var(--hall-r); border: 1px solid var(--hall-line); }
.hall-ga { background: linear-gradient(135deg, #4a2a08, #8a4e0f); }
.hall-gb { background: linear-gradient(135deg, #4a0808, #8a1010); }
.hall-gc { background: linear-gradient(135deg, #4a3a08, #8a6e10); }
.hall-gd { background: linear-gradient(135deg, #2a1c08, #5a3c12); }

/* ---------- 分頁 ---------- */
.hall-pager { display: flex; gap: 6px; justify-content: center; padding: 6px 0; flex-wrap: wrap; }
.hall-pager a, .hall-pager span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--hall-line); border-radius: var(--hall-r); font-family: var(--hall-font-head); font-size: 14px; color: var(--hall-muted); }
.hall-pager a:hover { border-color: var(--hall-orange); color: var(--hall-orange); }
.hall-pager .cur { background: linear-gradient(120deg, var(--hall-orange), var(--hall-red)); color: var(--hall-btn-text); border-color: transparent; box-shadow: var(--hall-neon-o); }

/* ---------- footer ---------- */
.hall-footer { border-top: 2px solid var(--hall-chrome-accent); margin-top: 32px; background: var(--hall-chrome-bg); }
.hall-footer__in { max-width: var(--hall-max); margin: 0 auto; padding: 30px 18px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.hall-footer h4 { font-size: 14px; color: var(--hall-chrome-text); }
.hall-footer a { display: block; color: var(--hall-chrome-muted); font-size: 14px; padding: 3px 0; }
.hall-footer .hall-art__x { color: var(--hall-chrome-muted); }
.hall-footer__copy { border-top: 1px solid var(--hall-chrome-line); text-align: center; color: var(--hall-chrome-muted); font-size: 12.5px; padding: 14px; text-transform: uppercase; letter-spacing: .04em; }

.hall-h { font-size: 18px; color: var(--hall-title); margin: 4px 0 2px; }

/* ---------- 響應式 ---------- */
@media (max-width: 900px) {
  .hall-layout { grid-template-columns: 1fr; }
  .hall-col--side { position: static; }
  .hall-arts, .hall-machines { grid-template-columns: repeat(2, 1fr); }
  .hall-footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hall-menu { display: none; width: 100%; flex-direction: column; order: 3; }
  .hall-menu.is-open { display: flex; }
  .hall-burger { display: inline-grid; place-items: center; }
  .hall-mode { margin-left: auto; }
  .hall-bar__in { flex-wrap: wrap; height: auto; padding: 10px 18px; }
}
@media (max-width: 560px) {
  .hall-arts, .hall-machines, .hall-stats { grid-template-columns: 1fr; }
  .hall-brief { grid-template-columns: 1fr 1fr; }
  .hall-footer__in { grid-template-columns: 1fr; }
  /* 斜切量在窄幅縮小，避免切到文字 */
  :root { --hall-skew: 9px; }
}

/* ---------- 輔助與可及性 ---------- */
::selection { background: rgba(246, 139, 31, .4); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--hall-amber);
  outline-offset: 2px;
}

.hall-btn:disabled, .hall-btn[aria-disabled="true"] {
  background: var(--hall-line);
  color: var(--hall-faint);
  box-shadow: none;
  cursor: not-allowed;
}

/* 提示框（公告／注意事項） */
.hall-notice {
  border: 1px solid rgba(255, 193, 7, .45);
  border-left: 3px solid var(--hall-amber);
  background: rgba(255, 193, 7, .08);
  border-radius: var(--hall-r);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--hall-text);
}
.hall-notice--danger {
  border-color: rgba(253, 14, 14, .45);
  border-left-color: var(--hall-red);
  background: rgba(253, 14, 14, .08);
}

/* 空狀態 */
.hall-empty { text-align: center; padding: 34px 16px; color: var(--hall-faint); }
.hall-empty__ico { font-size: 34px; display: block; margin-bottom: 8px; opacity: .7; }

/* 表格斑馬紋（長表可讀性） */
.hall-article tbody tr:nth-child(even) td { background: var(--hall-zebra); }

/* 動效減量 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* v2 visual direction: boutique neon arcade */
body { background-image:radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--hall-orange) 13%,transparent),transparent 32%),linear-gradient(90deg,color-mix(in srgb,var(--hall-line) 18%,transparent) 1px,transparent 1px); background-size:auto,54px 100%; }
.hall-top { position:sticky; top:0; z-index:80; backdrop-filter:blur(16px); box-shadow:0 14px 42px rgba(35,19,6,.22); }
.hall-wrap { max-width:1420px; }
.hall-panel { border-color:color-mix(in srgb,var(--hall-orange) 14%,var(--hall-line)); box-shadow:0 13px 32px rgba(67,39,14,.1); transition:transform .18s ease,box-shadow .18s ease; }
.hall-panel--neon { background-image:linear-gradient(135deg,color-mix(in srgb,var(--hall-orange) 7%,var(--hall-panel)),var(--hall-panel)); border-top:4px solid var(--hall-orange); }
.hall-panel:hover { box-shadow:0 20px 42px rgba(67,39,14,.14); }
.hall-btn:not(.hall-btn--ghost) { box-shadow:0 9px 22px color-mix(in srgb,var(--hall-orange) 27%,transparent); }
.hall-gallery i { filter:saturate(1.14) contrast(1.03); }

/* ========== 廣告版位（hall-marquee｜街機招牌跑馬燈框氣質・純 CSS 燈泡點框；正式站預設 hidden） ========== */
/* 語意變數：占位示意用 mode-aware --hall-orange/--hall-muted 自動雙模式適配，深底清楚不刺眼 */
.hall-marquee { position: relative; }
.hall-marquee[hidden] { display: none !important; }                  /* hidden 保底：無素材塌陷不留白框 */

/* 店家推廣標示（橘→紅漸層招牌小牌，深字壓亮・清楚可辨・合規） */
.hall-marquee__tag {
  position: absolute; z-index: 3; top: 9px; right: 9px;
  font-family: var(--hall-font-head); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px;
  color: var(--hall-btn-text); background: linear-gradient(120deg, var(--hall-orange), var(--hall-red));
  border-radius: var(--hall-r); box-shadow: var(--hall-neon-o);
}
/* 占位示意（banner 類）＋跑馬燈燈泡點框（純 CSS，靜態不過度動畫） */
.hall-marquee__ph {
  position: relative; display: grid; place-items: center; text-align: center; gap: 2px;
  font-family: var(--hall-font-head); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--hall-muted);
  border: 1px dashed color-mix(in srgb, var(--hall-orange) 48%, var(--hall-line));
  background: color-mix(in srgb, var(--hall-orange) 7%, transparent);
  border-radius: var(--hall-r); padding: 16px 12px;
}
.hall-marquee__ph b { display: block; color: var(--hall-orange); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
.hall-marquee__ph::before, .hall-marquee__ph::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 5px; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, var(--hall-orange) 1.3px, transparent 1.7px);
  background-size: 11px 5px; background-repeat: repeat-x;
}
.hall-marquee__ph::before { top: 6px; }
.hall-marquee__ph::after { bottom: 6px; }

.hall-marquee--top { max-width: var(--hall-max); margin: 16px auto 0; padding: 0 18px; }
.hall-marquee--top .hall-marquee__ph { min-height: 74px; }
.hall-marquee--side .hall-marquee__ph { min-height: 252px; }
.hall-marquee--side-b .hall-marquee__ph { min-height: 322px; }
.hall-marquee--article-end { margin: 6px 0 2px; }
.hall-marquee--article-end .hall-marquee__ph { min-height: 92px; }

/* 原生位共用：body 穿透，卡皮由 root 自身提供 */
.hall-marquee--feed .hall-marquee__body,
.hall-marquee--result .hall-marquee__body,
.hall-marquee--article .hall-marquee__body { display: contents; }

/* 原生 AD-RESULT：高意圖 CTA 卡（root 已帶 hall-panel 霓虹皮膚） */
.hall-marquee--result .hall-marquee__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hall-marquee__cta-ico { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--hall-r); font-size: 20px; background: rgba(246,139,31,.14); box-shadow: inset 0 0 0 1px rgba(246,139,31,.4); color: var(--hall-orange); }
.hall-marquee__cta-main { flex: 1; min-width: 170px; }
.hall-marquee__cta-t { font-family: var(--hall-font-head); text-transform: uppercase; font-size: 15px; color: var(--hall-title); letter-spacing: .02em; }
.hall-marquee__cta-x { font-size: 13.5px; color: var(--hall-muted); margin: 3px 0 0; }

/* 原生 AD-ARTICLE：in-article 融入（左橘條 inset，標示走行內避開文字） */
.hall-marquee--article { margin: 1.2em 0; padding: 13px 16px; background: var(--hall-bg-deep); border: 1px solid var(--hall-line); border-left: 3px solid var(--hall-orange); border-radius: var(--hall-r); }
.hall-marquee--article .hall-marquee__tag { position: static; display: inline-block; margin-bottom: 7px; }
.hall-marquee__in-t { font-family: var(--hall-font-head); text-transform: uppercase; font-size: 14px; color: var(--hall-title); letter-spacing: .02em; margin-bottom: 3px; }
.hall-marquee__in-x { font-size: 13.5px; color: var(--hall-muted); margin: 0; }
.hall-marquee__in-x a { color: var(--hall-orange); }

/* AD-STICKY 行動底部（桌機隱藏，≤768px 顯示・可 × 關閉） */
.hall-marquee--sticky { display: none; }
.hall-marquee__close {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; cursor: pointer;
  background: var(--hall-panel); color: var(--hall-muted); border: 1px solid var(--hall-line);
  border-radius: 50%; font-size: 15px; line-height: 1; z-index: 4;
}
.hall-marquee__close:hover { color: var(--hall-orange); border-color: var(--hall-orange); }
@media (max-width: 768px) {
  .hall-marquee--sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 44px 8px 12px; background: linear-gradient(180deg, var(--hall-chrome-bg1), var(--hall-chrome-bg));
    border-top: 2px solid var(--hall-chrome-accent); box-shadow: 0 -6px 22px rgba(0,0,0,.45);
  }
  /* 有 app-shell 底部 tab 時，sticky 讓位到 tab 上方，不互相遮擋（統一 84px，見手機廣告強化段） */
  body.has-ipb-shell-tabbar .hall-marquee--sticky { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .hall-marquee--sticky .hall-marquee__tag { top: 6px; right: auto; left: 12px; }
  .hall-marquee--sticky .hall-marquee__ph { min-height: 46px; margin: 0; background: transparent; border-color: color-mix(in srgb, var(--hall-orange) 46%, var(--hall-chrome-line)); color: var(--hall-chrome-muted); }
  .hall-marquee--sticky .hall-marquee__ph::before { top: 3px; } .hall-marquee--sticky .hall-marquee__ph::after { bottom: 3px; }
}

/* ========== 手機廣告強化（只在 ≤768px 生效；桌機完全不變，全用語意變數雙模式跟隨） ========== */
/* 側欄回流卡與插頁測試鈕：桌機不出現（回流卡預設塌陷同基礎位，插頁預設 hidden） */
.hall-marquee--reflow { display: none; }
.hall-inter-demo { display: none; }

@media (max-width: 768px) {
  /* 1) 側欄回流：手機隱藏側欄 side 版位、改由 feed 內原生回流卡承接庫存 */
  .hall-col--side .hall-marquee--side { display: none; }
  .hall-marquee--reflow { display: block; }
  .hall-marquee--feed, .hall-marquee--reflow { cursor: pointer; }             /* 原生卡整卡可點（大點擊區） */

  /* 2) AD-RESULT 手機大 CTA：整卡全寬、CTA 全寬 48px、字加大、整卡大點擊區 */
  .hall-marquee--result { cursor: pointer; }
  .hall-marquee--result .hall-marquee__cta { flex-direction: column; align-items: stretch; }
  .hall-marquee--result .hall-marquee__cta-main { min-width: 0; }
  .hall-marquee--result .hall-btn { width: 100%; min-height: 48px; font-size: 15px; }

  /* 3) AD-STICKY 迷你 CTA 條：圖示＋文案＋CTA＋×，讓位底部 tab 上方（統一 84px），整條高 ≤56px */
  body.has-ipb-shell-tabbar .hall-marquee--sticky { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .hall-marquee--sticky { padding: 5px 12px; z-index: 1300; }                 /* 5+44+5＋上緣 2px 描邊＝56px 上限 */
  .hall-marquee--sticky .hall-marquee__body { display: flex; align-items: center; gap: 10px; }
  .hall-marquee__mini-ico {
    width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--hall-r);
    font-size: 18px; background: rgba(246,139,31,.16); box-shadow: inset 0 0 0 1px rgba(246,139,31,.45); color: var(--hall-chrome-accent);
  }
  .hall-marquee__mini-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .hall-marquee--sticky .hall-marquee__tag { position: static; align-self: flex-start; box-shadow: none; padding: 1px 8px; font-size: 9.5px; }
  .hall-marquee__mini-txt { font-size: 12.5px; color: var(--hall-chrome-text); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hall-marquee__mini-cta { flex: 0 0 auto; min-height: 44px; padding: 0 16px; display: inline-grid; place-items: center; font-size: 15px; }
  /* × 改走 flex 排位（不絕對定位壓住 CTA），與 CTA 不重疊 */
  .hall-marquee--sticky .hall-marquee__close { position: static; transform: none; flex: 0 0 auto; }

  /* 4) AD-INTERSTITIAL 插頁：全屏遮罩＋置中卡；z-index 高於 sticky(1300)／底部 tab(999)／mode-switch(1200) */
  .hall-inter-demo {
    display: inline-flex; align-items: center; gap: 6px; position: fixed; z-index: 1000;
    top: max(72px, calc(env(safe-area-inset-top) + 58px)); left: max(10px, env(safe-area-inset-left));
    padding: 8px 12px; min-height: 40px; cursor: pointer;
    font-family: var(--hall-font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase;
    color: var(--hall-orange); background: var(--hall-panel); border: 1px solid rgba(246,139,31,.5);
    border-radius: var(--hall-r); box-shadow: var(--hall-shadow);
  }
  .hall-marquee--interstitial { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 22px; }
  .hall-marquee__scrim { position: absolute; inset: 0; background: rgba(10,7,4,.74); backdrop-filter: blur(3px); }
  .hall-marquee__inter {
    position: relative; z-index: 1; width: min(360px, 92vw); text-align: center;
    background: linear-gradient(155deg, var(--hall-panel-2), var(--hall-panel) 60%, var(--hall-panel-3));
    border: 1px solid rgba(246,139,31,.42); border-radius: var(--hall-r-lg); padding: 26px 22px 20px;
    box-shadow: var(--hall-neon-mix), var(--hall-shadow);
  }
  .hall-marquee--interstitial .hall-marquee__tag { position: static; display: inline-block; margin-bottom: 12px; }
  .hall-marquee__inter-img {
    width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 34px;
    border-radius: var(--hall-r-lg); background: rgba(246,139,31,.13); box-shadow: inset 0 0 0 1px rgba(246,139,31,.38); color: var(--hall-orange);
  }
  .hall-marquee__inter-t { font-family: var(--hall-font-head); text-transform: uppercase; font-size: 18px; color: var(--hall-title); letter-spacing: .02em; }
  .hall-marquee__inter-x { font-size: 13.5px; color: var(--hall-muted); margin: 8px 0 18px; }
  .hall-marquee__inter-cta { width: 100%; min-height: 48px; font-size: 15px; display: inline-grid; place-items: center; }
  .hall-marquee__inter-skip {
    display: inline-block; margin-top: 12px; padding: 8px 14px; min-height: 40px; cursor: pointer;
    background: transparent; border: 0; color: var(--hall-faint); font-size: 12.5px; font-family: var(--hall-font-body);
  }
  .hall-marquee__inter-skip:hover { color: var(--hall-orange); }
  .hall-marquee__inter-close { position: absolute; top: 10px; right: 10px; transform: none; }

  /* 5) 手機 CTA 全面加大：文章內廣告連結 44px、字 ≥15px（其餘 CTA 於各版位已加大） */
  .hall-marquee__in-x a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
}
