:root {
  --ink: #1d2620; --muted: #5f6d64; --line: #dde3dc; --paper: #fff; --cream: #f5f3ec;
  --accent: #2f5d3a; --accent-dark: #22452b; --accent-soft: #e4efe6; --gold: #b8862b;
  --radius: 12px; --shadow: 0 10px 28px rgba(29, 38, 32, .10);
}
html[data-activity="fishing"] { --accent: #1f5f8b; --accent-dark: #164567; --accent-soft: #e2eef7; --gold: #2b8aa3; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-header { background: var(--accent-dark); color: #fff; position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; } .brand:hover { text-decoration: none; }
.brand .mark { font-size: 1.3rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav a { color: rgba(255,255,255,.88); padding: 8px 10px; border-radius: 8px; font-size: .93rem; font-weight: 500; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.14); text-decoration: none; }
.nav a.cta { background: var(--gold); color: #fff; font-weight: 600; }
.nav a.switch { opacity: .75; font-size: .85rem; }
.pill { display: inline-block; background: var(--gold); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 4px; }
main.wrap { padding-top: 26px; padding-bottom: 50px; }
.flash { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-dark); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert.error { background: #fbe7e4; color: #8a2c1f; border: 1px solid #f0bdb4; }
.alert.success { background: #e5f6e9; color: #1e6b34; border: 1px solid #b9e3c4; }
h1 { font-size: 1.9rem; margin: 0 0 10px; line-height: 1.2; } h2 { font-size: 1.3rem; margin: 0 0 12px; } h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.grid { display: grid; gap: 18px; } .grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn.outline { background: transparent; color: var(--accent); } .btn.outline:hover { background: var(--accent-soft); }
.btn.small { padding: 5px 12px; font-size: .85rem; } .btn.danger { background: #a33; border-color: #a33; }
.inline-form { display: inline; }
.field { margin-bottom: 16px; } .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.field textarea { min-height: 110px; resize: vertical; } .hint { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: .93rem; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; }
.checks label:hover { background: var(--accent-soft); } .checks input { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chip { background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 3px 11px; font-size: .83rem; font-weight: 500; }
.chip.gold { background: #fdf3df; color: #7a5200; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-dark); }
.badge.warn { background: #fdf3df; color: #7a5200; } .badge.off { background: #eee; color: #666; }
.score { font-weight: 800; color: var(--accent); font-size: 1.4rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; flex: none; }
.member { display: flex; gap: 14px; align-items: flex-start; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; display: block; }
.hero { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff; border-radius: var(--radius); padding: 42px 30px; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: 2.3rem; } .hero p { font-size: 1.1rem; max-width: 42em; opacity: .95; }
.hero .btn { background: var(--gold); border-color: var(--gold); }
.steps { counter-reset: s; } .steps li { list-style: none; margin: 0 0 10px; padding-left: 36px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.resume-row { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 8px; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; } th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .resume-row { grid-template-columns: 1fr 80px; } .resume-row input:last-child { grid-column: 1 / -1; } .hero { padding: 30px 20px; } .hero h1 { font-size: 1.8rem; } }
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px; }
.msg { max-width: 85%; } .msg.me { align-self: flex-end; text-align: right; } .msg.them { align-self: flex-start; }
.msg .bubble { display: inline-block; text-align: left; padding: 8px 12px; border-radius: 14px; background: #eef0ea; font-size: .95rem; }
.msg.me .bubble { background: var(--accent); color: #fff; } .msg .meta { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.card.locked { background: #f8f7f2; border-style: dashed; }
