* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #080808; --surface: #141414; --surface-2: #1b1b1b; --line: #242424; --text: #f5f5f5; --muted: #858585; --gold: #d9b65f; }
html, body { height: 100%; }
body { background: #000; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; }
.pc-wrap { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
.phone { position: relative; width: min(393px, calc(100vw - 32px)); height: min(852px, calc(100vh - 32px)); overflow: hidden; background: var(--bg); box-shadow: 0 12px 48px rgba(0,0,0,.55); }
.app { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.status { height: 38px; padding: 11px 20px 6px; display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; font-size: 14px; font-weight: 650; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.page-header { position: relative; min-height: 50px; padding: 0 54px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.page-header h1 { font-size: 15px; font-weight: 680; }
.back-link { position: absolute; left: 12px; top: 50%; width: 38px; height: 38px; display: grid; place-items: center; color: #e8e8e8; text-decoration: none; transform: translateY(-50%); }
.back-link svg { width: 19px; height: 19px; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 30px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.campaign-card { padding: 16px; border: 1px solid #4a3d20; border-radius: 16px; background: linear-gradient(145deg, rgba(94,72,26,.28), rgba(24,22,17,.96) 70%); }
.campaign-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.campaign-status { min-height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border: 1px solid #665735; border-radius: 999px; color: #d2b977; font-size: 9px; }
.campaign-link { color: #c0a45f; font-size: 10px; text-decoration: none; }
.campaign-card h2 { margin-top: 11px; font-size: 19px; line-height: 1.25; }
.campaign-card > p { margin-top: 7px; color: #968866; font-size: 10px; line-height: 1.55; }
.reward-balance-note { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(204,170,83,.18); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.reward-balance-note span { display: block; color: #9a8b67; font-size: 9px; }
.reward-balance-note strong { display: block; margin-top: 5px; color: #f3e5bd; font-size: 27px; line-height: 1; }
.reward-balance-note strong small { color: #8e8060; font-size: 10px; font-weight: 500; }
.invite-action { margin-top: 12px; min-height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 11px; background: #d7b661; color: #1d180d; font-size: 11px; font-weight: 750; text-decoration: none; }
.summary { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.summary div { padding: 11px 8px; text-align: center; }
.summary div + div { border-left: 1px solid var(--line); }
.summary strong { display: block; font-size: 14px; }
.summary span { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.section { margin-top: 22px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section h2 { font-size: 15px; }
.section-note { color: #6f6f6f; font-size: 8px; }
.rule-card { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.criteria { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.criteria div { min-height: 65px; padding: 10px; border-radius: 9px; background: #0e0e0e; }
.criteria strong { display: block; color: #c9c9c9; font-size: 10px; }
.criteria span { display: block; margin-top: 5px; color: #6f6f6f; font-size: 8px; line-height: 1.45; }
.tier-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 9px; }
.tier-table th, .tier-table td { padding: 8px 6px; border: 1px solid #2c2c2c; text-align: center; }
.tier-table th { color: #7d7d7d; background: #171717; font-weight: 500; }
.tier-table td { color: #b8b8b8; }
.tier-table td:last-child { color: var(--gold); font-weight: 700; }
.rule-tip { margin-top: 10px; color: #737373; font-size: 9px; line-height: 1.55; }
.tablist { margin-top: 22px; padding: 3px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 11px; background: #0d0d0d; }
.tab { height: 34px; border: 0; border-radius: 8px; background: transparent; color: #707070; font-size: 11px; cursor: pointer; }
.tab.is-active { background: #292929; color: #f2f2f2; font-weight: 650; }
.pane { display: none; margin-top: 12px; }
.pane.is-active { display: block; }
.progress-list, .reward-list { display: grid; gap: 10px; }
.progress-card, .reward-card { padding: 13px; border: 1px solid #242424; border-radius: 11px; background: var(--surface); }
.progress-top { display: flex; align-items: center; gap: 9px; }
.avatar { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #365063; border-radius: 50%; background: linear-gradient(135deg,#35586b,#1b2a32); color: #cde5f0; font-size: 10px; font-weight: 750; }
.avatar.purple { border-color: #55446a; background: linear-gradient(135deg,#5c4770,#2c2334); }
.avatar.green { border-color: #3c6456; background: linear-gradient(135deg,#426b5d,#21352e); }
.avatar.orange { border-color: #6e563a; background: linear-gradient(135deg,#745c3d,#392d20); }
.person { min-width: 0; flex: 1; }
.person strong { display: block; font-size: 11px; }
.person span { display: block; margin-top: 3px; color: #686868; font-size: 8px; }
.state { min-height: 20px; padding: 0 7px; display: inline-flex; align-items: center; border: 1px solid #3a5e50; border-radius: 999px; color: #7ec0a5; font-size: 8px; }
.state.wait { border-color: #5e4b31; color: #c49c5e; }
.progress-grid { margin-top: 11px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.progress-grid div { min-height: 48px; padding: 8px; border-radius: 8px; background: #0e0e0e; }
.progress-grid span { display: block; color: #666; font-size: 7px; }
.progress-grid strong { display: block; margin-top: 5px; color: #c7c7c7; font-size: 10px; }
.progress-note { margin-top: 9px; color: #707070; font-size: 8px; line-height: 1.5; }
.reward-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.reward-copy { min-width: 0; }
.reward-copy strong { display: block; font-size: 11px; }
.reward-copy span { display: block; margin-top: 4px; color: #686868; font-size: 8px; line-height: 1.45; }
.reward-amount { flex: 0 0 auto; color: var(--gold); font-size: 14px; font-weight: 750; }
.reward-meta { margin-top: 10px; padding-top: 9px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #242424; color: #666; font-size: 8px; }
.home-indicator { width: 128px; height: 5px; margin: 0 auto 6px; flex: 0 0 auto; border-radius: 999px; background: rgba(255,255,255,.34); }
@media (max-width: 420px) { .pc-wrap { padding: 0; } .phone { width: 100vw; height: 100dvh; } .project-back-link { display: none !important; } }
