/* 支持小镇页：复用官网设计 token，独立轻量样式 */
.support-page { background: linear-gradient(180deg, var(--canvas), var(--wash-pink, #ffeef4) 60%, var(--canvas)); min-height: 100vh; }
.support-nav { position: relative; top: auto; left: auto; transform: none; margin: 1rem auto 0; background: #fff; box-shadow: var(--shadow-1); }
.support-nav .nav-links a { color: var(--ink); text-shadow: none; }
.support-shell { width: min(64rem, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 4rem; }
.support-hero { max-width: 44rem; margin: 0 auto 2.4rem; text-align: center; }
.support-hero h1 { margin: .9rem 0 1.1rem; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.18; letter-spacing: -.03em; color: var(--ink-strong); }
.support-lead { color: var(--ink); line-height: 1.95; font-size: .98rem; margin-bottom: .8rem; text-align: left; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.support-card { position: relative; padding: 1.9rem 1.7rem; border: 1px solid var(--hairline-brand); border-radius: 1.7rem; background: #fff; box-shadow: 0 .5rem 1.7rem rgba(190,100,130,.09); }
.support-card.support-pay { grid-row: span 2; }
.support-tag { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .55rem; padding: .2rem .75rem; border-radius: 99rem; background: var(--brand-tint); color: var(--brand-deep); font-size: .78rem; font-weight: 900; letter-spacing: .06em; }
.support-card h2 { margin: .35rem 0 .7rem; font-size: 1.5rem; color: var(--ink-strong); }
.support-note { color: var(--ink-muted); font-size: .9rem; line-height: 1.85; }
.support-qr-zone { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: 1rem; }
.support-qr { width: min(300px, 72vw); height: auto; border: .5rem solid #fff; border-radius: 1.2rem; box-shadow: 0 .45rem 1.6rem rgba(91,66,82,.18); background: #fff; }
.support-qr-note { max-width: 22rem; color: var(--ink-muted); font-size: .84rem; line-height: 1.8; text-align: center; }
.support-privacy { margin-top: 1.1rem; padding-top: .95rem; border-top: 1px dashed var(--hairline-strong); color: var(--ink-muted); font-size: .78rem; line-height: 1.8; }
.support-lock { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin: 1.2rem auto .6rem; border-radius: 50%; background: var(--brand-tint); font-size: 1.5rem; }
.support-login-zone { text-align: center; color: var(--ink-muted); line-height: 1.85; padding: .6rem 0 1rem; }
.support-login-zone .btn { margin: .6rem auto; }
/* 这些区块自身带 display 规则，会盖过 hidden 属性的默认隐藏，需显式声明 */
.support-qr-zone[hidden], .support-form[hidden], .support-login-zone[hidden], .supporter-badge[hidden] { display: none; }
.support-mini { font-size: .78rem; }
.support-form { display: grid; gap: .9rem; margin-top: 1rem; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.support-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .88rem; }
.support-form input, .support-form textarea { min-width: 0; min-height: 46px; padding: .7rem .85rem; border: 1px solid #dcc7d1; border-radius: 1rem; background: #fffcfd; color: var(--ink); font: inherit; font-size: 16px; }
.support-form textarea { resize: vertical; }
.support-check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500 !important; line-height: 1.7; }
.support-check input { width: 18px; height: 18px; margin-top: .25rem; flex: none; accent-color: var(--brand); }
.support-feedback { min-height: 1.6rem; margin: 0; font-size: .88rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.support-feedback[data-kind="error"] { color: #a22b51; }
.support-feedback[data-kind="success"] { color: #34754c; }
.support-record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; flex-wrap: wrap; }
.support-records { display: grid; gap: .7rem; margin-top: .9rem; }
.support-item { display: grid; gap: .25rem; padding: .85rem 1rem; border-radius: 1.2rem; background: #fff7f3; border: 1px solid var(--hairline); }
.support-item-head { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.support-item strong { font-size: 1.05rem; }
.support-state { padding: .12rem .65rem; border-radius: 99rem; font-size: .76rem; font-weight: 900; }
.support-state[data-kind="pending"] { background: #fff0d6; color: #7b4d05; }
.support-state[data-kind="confirmed"] { background: #e9f7ef; color: #2c6b49; }
.support-state[data-kind="rejected"] { background: #f0edef; color: #715d69; }
.support-item small { color: var(--ink-muted); font-size: .78rem; }
.support-empty { padding: 1.6rem 0; color: var(--ink-muted); text-align: center; font-size: .92rem; }
.support-faq { max-width: 46rem; margin: 2.4rem auto 0; display: grid; gap: .7rem; }
.support-faq details { padding: 1rem 1.2rem; border-radius: 1.1rem; background: #fff; border: 1px solid var(--hairline); }
.support-faq summary { cursor: pointer; font-weight: 800; color: var(--ink-strong); }
.support-faq p { margin-top: .55rem; color: var(--ink-muted); font-size: .9rem; line-height: 1.85; }
.support-footer { margin-top: 2.2rem; text-align: center; color: var(--ink-muted); font-size: .9rem; }
.support-link { color: var(--brand-deep); text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 880px) { .support-grid { grid-template-columns: 1fr; } .support-card.support-pay { grid-row: auto; } .support-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .support-page * { transition: none !important; animation: none !important; } }

/* ── 感谢名单 · 小镇的灯（3D 感谢小路）── */
.thanks-section { margin: 0 0 2.4rem; }
.thanks-head { max-width: 46rem; margin: 0 auto 1.4rem; text-align: center; }
.thanks-head h2 { margin: .5rem 0 .8rem; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.02em; color: var(--ink-strong); }
.thanks-lead { max-width: 38rem; margin: 0 auto; color: var(--ink-muted); font-size: .94rem; line-height: 1.9; }
.thanks-road { position: relative; padding: .9rem; border: 1px solid var(--hairline-brand); border-radius: var(--r-xl); background: #fff; box-shadow: 0 .6rem 1.9rem rgba(190, 100, 130, .1); }
.thanks-canvas-wrap { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #ffd7e7, #ffe5ea 38%, #fdf1e6 72%, #e4f5da); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.thanks-canvas-wrap.is-fallback { display: none; }
#thanks-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; background: #fff7ec; }
#thanks-canvas:active { cursor: grabbing; }
.thanks-search { display: flex; gap: .6rem; max-width: 34rem; margin: 1rem auto .15rem; }
.thanks-search input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: .65rem 1.05rem; border: 1px solid #dcc7d1; border-radius: var(--r-pill); background: #fffcfd; color: var(--ink); font: inherit; font-size: 16px; }
.thanks-search input::placeholder { color: var(--ink-subtle); }
.thanks-search input:focus { outline: 3px solid var(--brand-tint); outline-offset: 1px; border-color: var(--brand); }
.thanks-search .btn { flex: none; }
.thanks-status { min-height: 1.55rem; margin: .55rem 0 0; text-align: center; color: var(--ink-muted); font-size: .9rem; line-height: 1.6; }
.thanks-status[data-kind="hit"] { color: var(--brand-deep); font-weight: 800; }
.thanks-status[data-kind="error"] { color: #a22b51; }
.thanks-text { margin-top: .75rem; text-align: center; }
.thanks-text summary { cursor: pointer; color: var(--brand-deep); font-size: .86rem; font-weight: 800; letter-spacing: .02em; }
.thanks-text summary:hover { text-decoration: underline; text-underline-offset: .18em; }
.thanks-text ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .45rem; max-width: 52rem; max-height: 16rem; margin: .85rem auto 0; padding: .15rem; overflow: auto; list-style: none; text-align: left; }
.thanks-entry { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem; width: 100%; padding: .45rem .75rem; border: 1px solid var(--hairline); border-radius: .75rem; background: #fffaf7; color: var(--ink); font: inherit; font-size: .85rem; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.thanks-entry:hover { border-color: var(--hairline-brand); background: var(--brand-tint); }
.thanks-entry.is-hit { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); font-weight: 800; }
.thanks-entry-no { flex: none; font-weight: 800; color: var(--brand-deep); }
.thanks-entry-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thanks-list-note { grid-column: 1 / -1; padding: .9rem 0; color: var(--ink-muted); font-size: .88rem; text-align: center; }
.thanks-more { margin: .65rem 0 0; color: var(--ink-muted); font-size: .8rem; }
@media (max-width: 880px) {
  .thanks-canvas-wrap { aspect-ratio: 4 / 3; }
  .thanks-search { flex-direction: column; }
  .thanks-search .btn { width: 100%; min-height: 44px; }
  .thanks-text ul { grid-template-columns: 1fr; max-height: 13rem; }
}

/* ── 我的小屋（感谢之路自定义编辑器）── */
.house-editor { margin: 1.1rem 0 0; padding: 1.5rem 1.6rem 1.4rem; border: 1px solid var(--hairline-brand); border-radius: var(--r-xl); background: linear-gradient(180deg, #fffdfb, #fff7f5); box-shadow: 0 .6rem 1.9rem rgba(190, 100, 130, .1); }
.house-editor[hidden] { display: none; }
.house-editor-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.house-editor-heading { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.house-editor-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; flex: none; border-radius: 1rem; color: #fff; background: linear-gradient(145deg, #ffb3cb, var(--brand)); box-shadow: 0 .25rem 0 var(--brand-deep); }
.house-editor-heading h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; margin: 0; font-size: 1.25rem; color: var(--ink-strong); }
.house-editor-no { color: var(--brand-deep); font-size: 1rem; letter-spacing: .02em; }
.house-editor-name { min-height: 1.2rem; margin: .2rem 0 0; color: var(--ink-muted); font-size: .9rem; overflow-wrap: anywhere; }
.house-editor-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.house-editor-tabs[hidden] { display: none; }
.house-tab { padding: .35rem .9rem; border: 1px solid var(--hairline-strong); border-radius: 99rem; background: #fff; color: var(--ink-muted); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.house-tab:hover { border-color: var(--brand); color: var(--brand-deep); }
.house-tab[aria-selected="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); }
.house-editor-main { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: 1.1rem; }
.house-preview-wrap { position: relative; width: 100%; max-width: 320px; aspect-ratio: 16 / 10; border-radius: 1.2rem; overflow: hidden; background: radial-gradient(circle at 30% 16%, #fff6e3 0%, #ffe3ec 40%, #ffd9e7 64%, #e8f7dd 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 .5rem 1.4rem rgba(190, 100, 130, .12); }
.house-preview-wrap::before { content: ""; position: absolute; right: 11%; top: 9%; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 251, 233, .95), rgba(255, 246, 210, .22) 66%, transparent 70%); pointer-events: none; }
#house-preview { display: block; width: 100%; height: 100%; }
.house-preview-note { position: absolute; left: .55rem; bottom: .55rem; margin: 0; padding: .22rem .65rem; border-radius: 99rem; background: rgba(255, 255, 255, .82); color: var(--ink-muted); font-size: .7rem; line-height: 1.5; pointer-events: none; }
.house-preview-wrap.is-fallback #house-preview { display: none; }
.house-preview-wrap.is-fallback::after { content: "3D 预览暂时无法显示；保存后，感谢之路上仍会更新你的小屋。"; position: absolute; inset: 1.4rem 1.2rem auto; color: var(--ink-muted); font-size: .84rem; line-height: 1.8; text-align: center; }
.house-options { display: grid; gap: .85rem; min-width: 0; }
.house-group { display: flex; align-items: flex-start; gap: .7rem; }
.house-group-label { flex: 0 0 4.6rem; padding-top: .42rem; color: var(--ink-muted); font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
.house-group-options { display: flex; flex-wrap: wrap; gap: .45rem; min-width: 0; }
.house-pill { min-height: 36px; padding: .38rem .9rem; border: 1px solid var(--hairline-strong); border-radius: 99rem; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.house-pill:hover { border-color: var(--brand); color: var(--brand-deep); }
.house-pill[aria-pressed="true"] { border-color: var(--brand); background: linear-gradient(180deg, #ffb1c8, var(--brand)); color: #fff; box-shadow: 0 .18rem 0 rgba(207, 79, 126, .3); }
.house-swatch { position: relative; width: 34px; height: 34px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--swatch, #ddd); box-shadow: 0 0 0 1px var(--hairline-strong), 0 .12rem .35rem rgba(91, 66, 82, .12); cursor: pointer; transition: transform .15s, box-shadow .2s; }
.house-swatch:hover { transform: translateY(-1px); }
.house-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--brand), 0 .18rem .5rem rgba(207, 79, 126, .25); }
.house-swatch[aria-pressed="true"]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #6b4a58; font-size: .9rem; font-weight: 900; }
.house-editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.2rem; }
.house-editor-actions .btn { padding: .62rem 1.3rem; font-size: .9rem; }
.house-editor-actions .btn[disabled] { cursor: progress; filter: saturate(.7); }
.house-editor-feedback { flex: 1 1 12rem; min-width: 0; min-height: 1.4rem; margin: 0; color: var(--ink-muted); font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.house-editor-feedback[data-kind="success"] { color: #2c6b49; font-weight: 700; }
.house-editor-feedback[data-kind="error"] { color: #a22b51; }
.house-hint { max-width: 46rem; margin: 1rem auto 0; text-align: center; color: var(--ink-muted); font-size: .8rem; }
.house-hint[hidden] { display: none; }
.house-hint summary { cursor: pointer; color: var(--ink-subtle); font-size: .8rem; }
.house-hint p { max-width: 38rem; margin: .55rem auto 0; font-size: .8rem; line-height: 1.8; }
@media (max-width: 880px) {
  .house-editor-main { grid-template-columns: 1fr; }
  .house-preview-wrap { max-width: 420px; }
}
@media (max-width: 560px) {
  .house-editor { padding: 1.2rem 1rem; }
  .house-group { flex-direction: column; gap: .35rem; }
  .house-group-label { flex: none; padding-top: 0; }
  .house-options { gap: .75rem; }
  .house-editor-actions .btn { width: 100%; }
  .house-editor-feedback { order: 3; flex-basis: 100%; text-align: center; }
}

/* —— 备案标注（参考极简页脚样式）—— */
.beian { margin-top: 2.2rem; font-size: .74rem; letter-spacing: .03em; color: rgba(154,130,144,.85); }
.beian a { color: inherit; text-decoration: none; }
.beian a:hover { text-decoration: underline; text-underline-offset: .18em; color: var(--brand-deep); }
