/* Telegram support stays inside the existing dark dashboard tab. */
#tab-11 .support-card { max-width:880px; margin:0 auto; box-sizing:border-box; }
#tab-11 .support-card h1 { color:#f6d978; font-size:1.5rem; margin:0 0 16px; }
#tab-11 .support-card p { line-height:1.7; margin:12px 0; }
#tab-11 .support-card a[href="/privacy"] { color:#f6d978; display:inline-flex; align-items:center; min-height:44px; text-underline-offset:3px; }
#tab-11 .support-telegram-link { display:inline-flex; align-items:center; justify-content:center; min-height:46px; max-width:100%; padding:12px 20px; box-sizing:border-box; background:#edce70; border:1px solid #edce70; border-radius:8px; color:#101723; font-size:1rem; font-weight:700; text-align:center; white-space:normal; text-decoration:none; }
#tab-11 .support-telegram-link:hover { background:#ffe39a; border-color:#ffe39a; color:#101723; }
#tab-11 .support-card a:focus-visible { outline:3px solid #79bdff; outline-offset:4px; }

/* Shared dark contact surfaces; scoped to avoid changing the encyclopedia UI. */
.contact-page { margin:0; background:#0b101c; color:#c8d6e5; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",sans-serif; line-height:1.7; color-scheme:dark; }
.contact-page * { box-sizing:border-box; }
.contact-page a, .contact-public-links a { color:#f6d978; text-decoration:none; }
.contact-page a:hover, .contact-public-links a:hover { text-decoration:underline; }
.contact-page :focus-visible, .contact-public-links a:focus-visible, #tab-10 :focus-visible { outline:3px solid #79bdff; outline-offset:4px; }
.contact-header, .contact-footer { max-width:1200px; margin:auto; padding:24px; }
.contact-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #263247; }
.contact-brand { font-size:1.2rem; font-weight:750; }
.contact-brand span { display:block; font-size:.75rem; color:#9aadc1; font-weight:400; }
.contact-header nav, .contact-footer nav { display:flex; flex-wrap:wrap; gap:12px 24px; }
.contact-header nav a, .contact-footer nav a { display:inline-flex; align-items:center; min-height:44px; }
.contact-main { max-width:1200px; margin:auto; padding:36px 24px; }
.contact-heading { max-width:760px; margin-bottom:28px; }
.contact-kicker { color:#e3bd54; font-size:.75rem; letter-spacing:.15em; }
.contact-heading h1 { color:#f2f5fa; font-size:clamp(1.5rem,4vw,2rem); line-height:1.4; margin:8px 0 12px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:24px; align-items:start; }
.contact-card { min-width:0; background:#111827; border:1px solid #263247; border-radius:16px; padding:24px; }
.contact-card h2 { color:#f6d978; font-size:1.1rem; margin:0 0 12px; }
.contact-card h3 { color:#f6d978; font-size:1rem; }
.contact-muted, .contact-field small { color:#a4b4c7; font-size:.85rem; }
.contact-field { min-width:0; margin:18px 0; }
.contact-field label { display:block; font-weight:600; color:#e8eef8; margin-bottom:7px; }
.contact-field input, .contact-field select, .contact-field textarea { display:block; width:100%; max-width:100%; padding:11px 12px; border:1px solid #41526c; border-radius:8px; background:#0b101c; color:#f2f5fa; font:inherit; font-size:16px; }
.contact-field input, .contact-field select { min-height:46px; }
.contact-field textarea { resize:vertical; min-height:190px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color:#8497af; }
.contact-field small { display:block; margin-top:6px; }
.contact-field-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:16px; }
.contact-field-pair .contact-field { margin-top:0; margin-bottom:0; }
.contact-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.contact-actions { display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin-top:24px; }
.contact-submit { min-height:46px; padding:10px 24px; border:1px solid #e3bd54; border-radius:8px; background:#edce70; color:#101723; font:inherit; font-weight:750; cursor:pointer; }
.contact-submit:hover:not(:disabled) { background:#ffe39a; }
.contact-submit:disabled { opacity:.65; cursor:default; }
.contact-status { margin:20px 0 0; overflow-wrap:anywhere; white-space:pre-wrap; }
.contact-status:empty { margin:0; }
.contact-status[data-tone="error"], .contact-notice { color:#ffb4ac; }
.contact-status[data-tone="success"] { color:#85dfb1; }
.contact-help ul { padding-left:20px; }
.contact-help li { margin-bottom:16px; }
.contact-privacy { border-top:1px solid #263247; margin-top:24px; padding-top:8px; color:#a4b4c7; font-size:.88rem; }
.contact-footer { color:#a4b4c7; font-size:.85rem; border-top:1px solid #263247; }
.contact-skip { position:absolute; left:16px; top:-100px; padding:12px; background:#111827; z-index:100; }
.contact-skip:focus { top:10px; }
.contact-public-links { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 24px; padding:12px 20px; font-size:.85rem; }
.contact-public-links a { display:inline-flex; align-items:center; min-height:44px; }
.contact-inbox-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:0 0 16px; }
.contact-inbox-status { color:#a4b4c7; margin:12px 0; overflow-wrap:anywhere; }
.contact-inbox-list { display:grid; gap:16px; }
.contact-report { min-width:0; border:1px solid #263247; border-radius:12px; padding:20px; background:#111827; }
.contact-report h2 { color:#f6d978; font-size:1.1rem; margin:0 0 12px; overflow-wrap:anywhere; }
.contact-report dl { display:grid; grid-template-columns:7em minmax(0,1fr); gap:8px 16px; font-size:.9rem; }
.contact-report dt { color:#9aadc1; }
.contact-report dd { margin:0; color:#dce7f5; white-space:pre-wrap; overflow-wrap:anywhere; }
.contact-report-message { border-top:1px solid #263247; padding-top:16px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
@media(max-width:760px) {
  .contact-layout, .contact-field-pair { grid-template-columns:minmax(0,1fr); }
  .contact-main { padding:28px 16px; }
  .contact-card { padding:20px 16px; }
  .contact-header, .contact-footer { padding:16px; }
  .contact-report { padding:16px; }
  .contact-report dl { grid-template-columns:5em minmax(0,1fr); gap:8px 12px; }
}
