/* 子页面：游戏介绍 / 最新公告 / 问题须知 */

.page-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 40px; }
.page-index { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.page-index p { padding: 0 0 10px 18px; font-size: 12px; letter-spacing: 0.3em; color: var(--gold-2); }
.page-index a { display: flex; gap: 10px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; transition: 0.2s; }
.page-index a span { font-family: var(--font-display); color: var(--gold-2); }
.page-index a:hover { color: var(--gold); border-left-color: var(--gold); }
.notice-index a { flex-direction: column; gap: 0; line-height: 1.5; }
.notice-index a span { font: 12px var(--font-body); color: var(--gold-2); }

.page-section + .page-section { margin-top: 64px; }
.block-title { display: flex; align-items: center; gap: 12px; font: 32px/1.2 var(--font-display); letter-spacing: 0.1em; color: var(--paper); }
.block-lead { margin-top: 10px; color: var(--muted); }
/* 版块内的分组小标题（如「版本特色」下的「公测福利」） */
.block-sub { display: flex; align-items: center; gap: 10px; margin-top: 38px; font: 22px/1.25 var(--font-display); letter-spacing: 0.12em; color: var(--paper); }
.block-sub::before { content: ''; width: 3px; height: 20px; background: var(--gold); }

.promise-band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line); background: rgba(14, 23, 48, 0.55); }
.promise-band div { display: flex; flex-direction: column; padding: 20px 24px; }
.promise-band div + div { border-left: 1px solid var(--line); }
.promise-band strong { font: 24px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.promise-band span { font-size: 13px; color: var(--muted); }

.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.prose-grid .prose-card + .prose-card { margin-top: 0; }
.prose-card h3, .prose-card h4 { font: 22px var(--font-display); color: var(--gold); letter-spacing: 0.08em; }
.prose-card p { margin-top: 10px; font-size: 14px; }
.prose-card .text-link { margin-left: 6px; }

.sect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.sect-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; border: 1px solid rgba(230, 196, 124, 0.16); background: rgba(14, 23, 48, 0.55); transition: border-color 0.2s; }
.sect-item:hover { border-color: var(--gold); }
.sect-item img { width: 84px; height: 140px; object-fit: cover; object-position: 50% 0; border: 1px solid rgba(230, 196, 124, 0.3); }
.sect-item h3 { display: flex; align-items: center; gap: 10px; font: 24px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.sect-type { padding: 0 6px; border: 1px solid rgba(255, 179, 92, 0.5); color: var(--q-orange); font: 12px/20px var(--font-body); letter-spacing: 0.1em; }
.sect-type.is-inner { border-color: var(--line-ice); color: var(--ice); }
.sect-role-line { margin-top: 2px; font-size: 13px; color: var(--paper); }
.sect-role-line small { margin-left: 8px; font-size: 12px; color: var(--ice); }
.sect-item.is-new { grid-template-columns: 84px 1fr; border-color: rgba(230, 196, 124, 0.45); background: linear-gradient(135deg, rgba(64, 48, 22, 0.55), rgba(14, 23, 48, 0.7)); }
.sect-new-icons { display: grid; grid-template-columns: 40px 40px; gap: 4px; align-content: start; }
.sect-new-icons img { width: 40px; height: 40px; border: 1px solid rgba(230, 196, 124, 0.5); }
.sect-type.is-new-tag { border-color: var(--gold); background: var(--gold); color: #241707; }
.sect-item p:last-child { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.dungeon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.dungeon-card { display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid rgba(230, 196, 124, 0.16); background: linear-gradient(180deg, rgba(19, 32, 63, 0.6), rgba(8, 13, 28, 0.6)); transition: border-color 0.2s, transform 0.2s; }
.dungeon-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.dungeon-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dungeon-top h3 { font: 24px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.dungeon-top span { font-size: 13px; color: var(--ice); font-variant-numeric: tabular-nums; }
.dungeon-card p { margin-top: 8px; font-size: 14px; color: rgba(239, 231, 213, 0.85); }
.dungeon-card .dungeon-bosses { font-size: 13px; color: var(--muted); }
.dungeon-card .boss-icons { display: flex; gap: 6px; margin-top: 14px; }
.dungeon-card .boss-icons img { width: 38px; height: 38px; }
.dungeon-card img.q-green { border: 1px solid rgba(127, 220, 127, 0.55); }
.dungeon-card img.q-blue { border: 1px solid rgba(111, 185, 255, 0.65); }
.dungeon-card img.q-purple { border: 1px solid rgba(198, 144, 255, 0.7); }
.dungeon-card img.q-orange { border: 1px solid rgba(255, 179, 92, 0.8); }

.steps { counter-reset: step; list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 20px 16px 72px; border: 1px solid rgba(230, 196, 124, 0.14); background: rgba(14, 23, 48, 0.5); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold-2); border-radius: 50%; color: var(--gold); font: 18px var(--font-display); }
.steps b { font: 19px var(--font-display); color: var(--paper); font-weight: 400; letter-spacing: 0.08em; }
.steps p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.steps a, .inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.inline-link { padding: 0; border: 0; background: none; font-size: inherit; }

.map-filter { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.map-filter input { width: 110px; height: 38px; padding: 0 12px; border: 1px solid rgba(230, 196, 124, 0.3); background: rgba(3, 6, 14, 0.6); color: #fff; font-size: 15px; outline: none; }
.map-filter input:focus { border-color: var(--gold); }
.map-table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid rgba(230, 196, 124, 0.16); }
.map-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.map-table th, .map-table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid rgba(230, 196, 124, 0.08); }
.map-table thead th { position: sticky; top: 0; background: #0f1830; font-weight: 400; font-size: 12px; letter-spacing: 0.2em; color: var(--gold-2); }
.map-table tbody th { font: 17px var(--font-display); color: var(--paper); font-weight: 400; letter-spacing: 0.08em; white-space: nowrap; }
.map-table td:nth-child(2) { color: var(--ice); font-variant-numeric: tabular-nums; white-space: nowrap; }
.map-table td:last-child { color: var(--muted); }
.map-table tr.is-fit { background: rgba(230, 196, 124, 0.1); }
.map-table tr.is-fit th { color: var(--gold); }
.fit-tag { margin-left: 8px; padding: 0 6px; background: var(--gold); color: #241707; font: 11px/18px var(--font-body); letter-spacing: 0.1em; vertical-align: middle; }

/* 公告 */
.notices { display: grid; gap: 18px; }
.notice { padding: 26px 30px; border: 1px solid rgba(230, 196, 124, 0.16); background: rgba(14, 23, 48, 0.55); scroll-margin-top: calc(var(--header-h) + 24px); }
.notice.is-target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.notice header { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.notice h2 { margin: 10px 0 12px; font: 26px/1.35 var(--font-display); color: var(--paper); letter-spacing: 0.06em; }
.notice p { color: rgba(239, 231, 213, 0.86); }
.notice p + p { margin-top: 8px; }
.notice p.notice-important { padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(230, 196, 124, 0.09); color: var(--paper); }

/* 问题须知 */
.faq details { margin-top: 12px; border: 1px solid rgba(230, 196, 124, 0.16); background: rgba(14, 23, 48, 0.55); }
.faq details[open] { border-color: rgba(230, 196, 124, 0.4); }
.faq summary { position: relative; padding: 16px 52px 16px 20px; cursor: pointer; list-style: none; font-size: 16px; color: var(--paper); letter-spacing: 0.04em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--gold); }
.faq details > p, .faq details > ol { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.faq details > ol { padding-left: 40px; }
.faq details a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.faq code { padding: 1px 6px; background: rgba(3, 6, 14, 0.7); border: 1px solid rgba(230, 196, 124, 0.2); color: var(--paper); font-size: 13px; }
.faq-contact { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); }

@media (max-width: 1000px) {
  .sect-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .page-index { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 6px; border-left: 0; }
  .page-index p { display: none; }
  .page-index a { padding: 6px 12px; border: 1px solid var(--line); margin: 0; }
  .notice-index { display: none; }
  .prose-grid, .dungeon-grid { grid-template-columns: 1fr; }
  .promise-band { grid-template-columns: 1fr; }
  .promise-band div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .sect-grid { grid-template-columns: 1fr; }
  .notice { padding: 20px 18px; }
  .block-title { font-size: 26px; }
}

/* ===== 新玩法调研（vote.html）：每个玩法分别选 支持 / 不支持 ===== */
.survey-tip { margin-top: 10px; padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(230, 196, 124, 0.08); color: var(--paper); }
.survey-panel { margin-top: 14px; padding: 22px 24px; border: 1px solid rgba(230, 196, 124, 0.16); background: rgba(14, 23, 48, 0.55); }
.survey-head h2 { margin: 0; font: 24px/1.3 var(--font-display); color: var(--paper); letter-spacing: 0.06em; }
.survey-lead { margin-top: 8px; color: rgba(239, 231, 213, 0.86); }
.survey-form { margin-top: 18px; }
.survey-features { display: grid; gap: 14px; }
.survey-feature { padding: 18px; border: 1px solid rgba(230, 196, 124, 0.18); background: rgba(10, 17, 36, 0.45); transition: border-color 0.2s; }
.survey-feature.is-picked { border-color: var(--gold); background: rgba(230, 196, 124, 0.08); }
.survey-feature-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.survey-option-no { font: 22px/1 var(--font-display); color: rgba(230, 196, 124, 0.45); }
.survey-feature.is-picked .survey-option-no { color: var(--gold); }
.survey-feature-head strong { font: 20px var(--font-display); color: var(--paper); letter-spacing: 0.06em; }
.survey-feature-head em { font-style: normal; font-size: 12px; letter-spacing: 0.08em; color: var(--gold); border: 1px solid rgba(230, 196, 124, 0.4); padding: 2px 6px; }
.survey-option-sum { margin-top: 8px; color: rgba(239, 231, 213, 0.86); }
.survey-option-points { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.survey-option-points li { list-style: disc; }
.survey-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.survey-choice { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 108px; justify-content: center; padding: 9px 18px; border: 1px solid rgba(230, 196, 124, 0.28); background: rgba(6, 10, 22, 0.5); color: var(--paper); font-size: 14.5px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.survey-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.survey-choice:hover { border-color: rgba(230, 196, 124, 0.7); }
.survey-choice.is-support:has(input:checked) { border-color: var(--gold); background: rgba(230, 196, 124, 0.16); color: var(--gold); }
.survey-choice.is-oppose:has(input:checked) { border-color: var(--red); background: rgba(185, 71, 59, 0.2); color: #f6c2b6; }
.survey-choice:has(input:checked)::after { content: "✓"; font-size: 13px; }
.survey-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.survey-qq { flex: 1 1 220px; min-width: 0; padding: 11px 14px; border: 1px solid rgba(230, 196, 124, 0.3); background: rgba(6, 10, 22, 0.6); color: var(--paper); font: 15px var(--font-body); }
.survey-qq::placeholder { color: rgba(239, 231, 213, 0.4); }
.survey-qq:focus { outline: none; border-color: var(--gold); }
.survey-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.survey-submit { flex: 0 0 auto; }
.survey-msg { margin-top: 12px; font-size: 14px; color: var(--muted); }
.survey-msg.is-error { color: #f0a08e; }
.survey-msg.is-ok { color: var(--gold); }
.survey-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(230, 196, 124, 0.16); }
.survey-result-title { font: 15px var(--font-display); color: var(--paper); letter-spacing: 0.1em; }
.survey-result-title [data-survey-total] { color: var(--gold); font-variant-numeric: tabular-nums; }
.survey-result-block { margin-top: 16px; }
.survey-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.survey-result-name { font: 15px var(--font-display); color: var(--paper); letter-spacing: 0.06em; }
.survey-result-block.is-mine .survey-result-name::after { content: " · 已提交"; font: 12px var(--font-body); color: var(--gold); }
.survey-result-num { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.survey-split { display: flex; height: 14px; margin-top: 8px; border-radius: 3px; overflow: hidden; background: rgba(230, 196, 124, 0.1); }
.survey-split i { display: flex; align-items: center; justify-content: center; height: 100%; width: 0; font-style: normal; transition: width 0.6s ease; overflow: hidden; }
.survey-split i.is-support { background: linear-gradient(90deg, rgba(230, 196, 124, 0.55), var(--gold)); }
.survey-split i.is-oppose { background: rgba(185, 71, 59, 0.65); }
.survey-split-legend em { font-style: normal; color: var(--gold); font-variant-numeric: tabular-nums; }
.survey-split-legend .is-oppose em { color: #f6c2b6; }
.survey-split-legend { display: flex; gap: 18px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.survey-split-legend span { display: inline-flex; align-items: center; gap: 6px; }
.survey-split-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.survey-split-legend .is-support i { background: var(--gold); }
.survey-split-legend .is-oppose i { background: rgba(185, 71, 59, 0.65); }
.survey-split-legend b { color: var(--paper); font-variant-numeric: tabular-nums; }
.survey-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 680px) {
  .survey-panel { padding: 16px; }
  .survey-choice { flex: 1 1 40%; min-width: 0; }
  .survey-actions { flex-direction: column; align-items: stretch; }
  .survey-submit { width: 100%; }
}