/* Hupu community preview, aligned with the game's pitch-green identity. */
.hupu-hub { display: grid; gap: 16px; padding: 2px 0 28px; }
.hupu-hub-head { position: relative; overflow: hidden; padding: 23px 21px 21px; color: #f5f3e9; border-radius: 18px; background: linear-gradient(118deg, #153c2e 0%, #1b5e43 68%, #27764e 100%); }
.hupu-hub-head::after { content: ''; position: absolute; width: 190px; height: 190px; right: -68px; top: -100px; border: 1px solid rgba(231, 205, 119, .48); border-radius: 50%; box-shadow: 0 0 0 20px rgba(231,205,119,.05), 0 0 0 42px rgba(231,205,119,.04); }
.hupu-kicker { display: block; color: #b9cda9; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hupu-hub-head h1 { max-width: 300px; margin: 10px 0 6px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; letter-spacing: .015em; }
.hupu-hub-head p { max-width: 360px; margin: 0; color: rgba(245,243,233,.76); font-size: 12px; }
.hupu-identity { display: inline-flex; margin-top: 13px; padding: 5px 9px; border: 1px solid rgba(220,232,205,.25); border-radius: 999px; color: #e2e9d7; background: rgba(8,34,22,.2); font-size: 10px; }
.hupu-board, .hupu-perks, .hupu-chat { overflow: hidden; padding: 18px 16px 15px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.hupu-section-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hupu-section-top h2 { margin: 3px 0 0; color: var(--text); font-size: 18px; letter-spacing: -.025em; }
.hupu-section-top .hupu-kicker { color: var(--grass); font-size: 9px; }
.hupu-preview-badge { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #eadfbf; border-radius: 999px; color: #866a25; background: #fbf7e9; font-size: 10px; font-weight: 700; }
.hupu-muted { margin: 8px 0 14px; color: var(--text-2); font-size: 12px; line-height: 1.55; }
.hupu-board-summary { display: flex; align-items: baseline; gap: 8px; padding: 13px 14px; border-radius: 11px; color: #f6f2e6; background: #183f30; }
.hupu-board-summary b { color: #e7c66d; font-family: var(--font-num); font-size: 29px; line-height: 1; }
.hupu-board-summary span { color: rgba(246,242,230,.82); font-size: 11px; }
.hupu-board-summary em { margin-left: auto; color: #bed0b4; font-size: 10px; font-style: normal; }
.hupu-board-list { margin-top: 8px; }
.hupu-board-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; min-height: 43px; gap: 7px; border-bottom: 1px solid #efeee9; }
.hupu-board-row:nth-child(-n+3) { margin: 3px -8px; padding: 0 8px; border: 1px solid #e8e1cc; border-radius: 9px; background: #faf7ed; }
.hupu-board-row:nth-child(2) { background: #f4f5f3; border-color: #e3e6e2; }
.hupu-board-row:nth-child(3) { background: #faf4ef; border-color: #eddfd4; }
.hupu-board-row:last-child { border-bottom: 0; }
.hupu-board-row.is-me { margin: 0 -8px; padding: 0 8px; border-radius: 9px; background: #f0f6f0; }
.hupu-board-rank { color: #89958b; font-family: var(--font-num); font-size: 13px; font-weight: 700; }
.hupu-board-row:nth-child(1) .hupu-board-rank { color: #b8912f; }
.hupu-board-row:nth-child(2) .hupu-board-rank { color: #71818a; }
.hupu-board-row:nth-child(3) .hupu-board-rank { color: #aa7454; }
.hupu-board-name { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hupu-board-score { color: var(--grass); font-family: var(--font-num); font-size: 13px; }
.hupu-board-foot { margin-top: 9px; padding-top: 10px; border-top: 1px solid #efeee9; color: var(--text-3); font-size: 10px; line-height: 1.5; }
.hupu-perk-list { display: grid; }
.hupu-perk-row { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: start; gap: 9px; padding: 12px 0; border-top: 1px solid #efeee9; }
.hupu-perk-mark { padding-top: 1px; color: #a17f30; font-family: var(--font-num); font-size: 11px; font-weight: 700; }
.hupu-perk-copy b { color: var(--text); font-size: 12px; }
.hupu-perk-copy p { margin: 3px 0 0; color: var(--text-2); font-size: 11px; line-height: 1.5; }
.hupu-perk-tag { margin-top: 1px; padding: 3px 6px; border-radius: 6px; color: #38674d; background: #eef5ef; font-size: 9px; white-space: nowrap; }
.hupu-live-dot { flex: 0 0 auto; color: var(--grass); font-size: 10px; font-weight: 700; }
.hupu-live-dot::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #48a76a; box-shadow: 0 0 0 3px #e6f3e9; }
.hupu-thread-link { display: block; overflow: hidden; padding: 11px 12px; border: 1px solid #e9e7df; border-radius: 10px; color: #275f45; background: #f8f8f4; font-size: 12px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.hupu-chat-status { margin: 11px 0 7px; color: var(--text-2); font-size: 11px; }
.hupu-replies { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px 1px 10px; }
.hupu-reply { padding: 10px 11px; border: 1px solid #efeee9; border-radius: 11px; background: #fbfbf8; }
.hupu-reply-meta { display: flex; align-items: baseline; gap: 8px; }
.hupu-reply-meta b { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.hupu-reply-meta span { flex: 0 0 auto; color: var(--text-3); font-size: 10px; }
.hupu-reply-text { margin: 6px 0 0; color: #32443b; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.hupu-reply-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 10px; border-top: 1px solid #efeee9; }
.hupu-reply-form textarea { width: 100%; min-height: 42px; max-height: 100px; resize: vertical; padding: 10px 11px; border: 1px solid #e3e2db; border-radius: 10px; outline: none; color: var(--text); background: #fbfbf8; font: inherit; font-size: 12px; }
.hupu-reply-form textarea:focus { border-color: #4b8966; box-shadow: 0 0 0 3px rgba(47,156,103,.12); }
.hupu-reply-send { align-self: end; min-width: 58px; height: 39px; border: 0; border-radius: 10px; color: white; background: var(--grass); font-size: 12px; font-weight: 700; }
.hupu-reply-send:disabled { opacity: .55; }
.legacy-share-card > p { color: var(--text-2); font-size: 12px; }
.legacy-share-card #legacy-share { min-height: 42px; padding: 9px 14px; }
.legacy-share-card #legacy-share:disabled { cursor: wait; opacity: .68; }
.legacy-share-preview { margin: 10px 0; border-radius: 12px; overflow: hidden; background: #183f30; }
.legacy-share-preview canvas { display: block; width: min(100%, 320px); height: auto; margin: auto; }
.legacy-share-status { min-height: 18px; margin: 9px 0 0; color: var(--grass); font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .hupu-hub *, .hupu-hub *::before, .hupu-hub *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
