:root {
  --bg: #0b1d26;
  --bg-soft: #102732;
  --card: #132f3b;
  --card-hover: #163643;
  --border: #1f4452;
  --border-soft: #1a3a47;
  --text: #eaf4f6;
  --text-dim: #a9c4cb;
  --text-dimmer: #7fa0a8;
  --accent: #35c2e0;
  --accent-soft: #1a8aa6;
  --accent-text: #04232c;
  --green: #3ecf8e;
  --yellow: #f2c94c;
  --red: #ff6b6b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-tap-highlight-color: transparent; }
body { min-height: 100vh; padding-bottom: 84px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; color: inherit; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(180deg, rgba(11,29,38,0.97), rgba(11,29,38,0.85)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); }
.topbar .brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-soft)); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.brand h1 { font-size: 16px; line-height: 1.1; }
.brand span.sub { display: block; font-size: 11px; color: var(--text-dimmer); font-weight: 400; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: 999px; font-size: 13px; }
.back-btn:hover { background: var(--card-hover); }
.weather-widget { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 13px; white-space: nowrap; }
.weather-widget .ico { font-size: 20px; }
.weather-widget .t { font-weight: 600; font-family: var(--font-head); }
.weather-widget .d { color: var(--text-dimmer); font-size: 11px; }
.container { max-width: 1100px; margin: 0 auto; padding: 16px; }
.hero { padding: 22px 18px 26px; margin-bottom: 18px; border-radius: var(--radius); background: radial-gradient(120% 140% at 10% -10%, rgba(53,194,224,0.18), transparent 60%), linear-gradient(160deg, var(--bg-soft), var(--bg)); border: 1px solid var(--border-soft); }
.hero h2 { font-size: 22px; margin-bottom: 6px; }
.hero p { color: var(--text-dim); font-size: 14px; max-width: 560px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.section-title h3 { font-size: 16px; }
.section-title .count { font-size: 12px; color: var(--text-dimmer); background: var(--card); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.rcard:hover { transform: translateY(-2px); border-color: var(--accent-soft); box-shadow: var(--shadow); }
.rcard .thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0e2531, #163643); overflow: hidden; }
.rcard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard .thumb .badge { position: absolute; top: 10px; left: 10px; background: rgba(10, 25, 32, 0.78); border: 1px solid rgba(255,255,255,0.08); color: var(--accent); font-size: 11px; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); z-index: 2; }
.noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-dimmer); font-size: 13px; text-align: center; padding: 10px; }
.rcard .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rcard h4 { font-size: 15px; line-height: 1.25; }
.rcard .loc { font-size: 12px; color: var(--text-dimmer); display: flex; align-items: center; gap: 5px; }
.rcard .desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.4; flex: 1; }
.rcard .fish-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.tag { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-dim); }
.rcard .actions { display: flex; gap: 8px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: var(--radius-sm); border: 1px solid transparent; flex: 1; transition: filter 0.15s ease, transform 0.1s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--bg-soft); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--card-hover); }
.btn-sm { padding: 7px 10px; font-size: 12px; }
.layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .layout { grid-template-columns: 2.1fr 1fr; align-items: start; } }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.panel h3 { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.chat-card { background: linear-gradient(135deg, #15313d, #0f2029); border: 1px solid var(--border-soft); }
.chat-card p { font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; }
.chat-card .tg-btn { display: flex; align-items: center; gap: 10px; background: #1c8ad0; color: #fff; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13.5px; }
.chat-card .tg-btn:hover { filter: brightness(1.07); }
.chat-card .tg-btn .ico { font-size: 18px; }
.ads-list { display: flex; flex-direction: column; gap: 10px; }
.ad-empty { border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 18px 12px; text-align: center; color: var(--text-dimmer); font-size: 12.5px; }
.ad-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12.5px; }
.ad-item .ad-title { font-weight: 600; margin-bottom: 3px; }
.ad-item .ad-meta { color: var(--text-dimmer); font-size: 11px; }
.ad-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ad-form input, .ad-form textarea { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); padding: 9px 10px; font-size: 13px; font-family: var(--font-body); resize: vertical; }
.ad-form input:focus, .ad-form textarea:focus { outline: none; border-color: var(--accent-soft); }
.detail-hero { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); margin-bottom: 18px; min-height: 160px; }
.detail-hero img { width: 100%; display: block; max-height: 360px; object-fit: cover; }
.detail-hero .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,26,0.92) 0%, rgba(8,20,26,0.15) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; z-index: 2; }
.detail-hero h2 { font-size: 22px; margin-bottom: 4px; }
.detail-hero .loc { color: var(--text-dim); font-size: 13px; }
.noimg-hero { width: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0e2531, #163643); color: var(--text-dimmer); font-size: 14px; text-align: center; padding: 20px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.detail-actions .btn { flex: none; padding: 11px 18px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.fact-chip { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 12px; min-width: 100px; }
.fact-chip .fl { color: var(--text-dimmer); display: block; font-size: 10.5px; margin-bottom: 2px; }
.fact-chip .fv { font-weight: 600; font-family: var(--font-head); font-size: 13px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.tab-btn { color: var(--text-dimmer); padding: 10px 14px; font-size: 13.5px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.fish-list { display: flex; flex-direction: column; gap: 8px; }
.fish-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.fish-item summary { list-style: none; cursor: pointer; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fish-item summary::-webkit-details-marker { display: none; }
.fish-item summary .fname { font-weight: 600; font-size: 14px; }
.fish-item summary .fkind { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.fkind.white { background: rgba(62,207,142,0.14); color: var(--green); }
.fkind.predator { background: rgba(255,107,107,0.14); color: var(--red); }
.fish-item .fbody { padding: 0 14px 14px; font-size: 13px; color: var(--text-dim); }
.fish-item .frow { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0; }
.fish-item .frow .fcell { font-size: 12.5px; }
.fish-item .frow .fcell b { display: block; color: var(--text); font-size: 13px; }
.fish-item .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.season-guide { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.season-guide .sg-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dimmer); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.season-switcher { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.season-chip { font-size: 11.5px; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-dim); }
.season-chip.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.season-panel { display: none; }
.season-panel.active { display: block; }
.season-panel .sp-recipe { font-size: 12.5px; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; line-height: 1.5; }
.season-panel .sp-tip { font-size: 12px; color: var(--text-dimmer); }
.map-wrap { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: #061219; }
.map-wrap img { width: 100%; display: block; }
.map-pin { position: absolute; width: 22px; height: 22px; margin-left: -11px; margin-top: -11px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #04232c; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.4); transition: transform 0.15s ease; }
.map-pin:hover { transform: scale(1.25); z-index: 5; }
.map-pin.dim { opacity: 0.25; }
.map-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--text-dimmer); margin-top: 10px; }
.map-legend .lg-item { display: flex; align-items: center; gap: 6px; }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.map-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.filter-chip { font-size: 11.5px; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-dim); }
.filter-chip.active { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(4, 12, 16, 0.6); z-index: 90; display: none; }
.sheet-backdrop.open { display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--card); border-top: 1px solid var(--border); border-radius: 20px 20px 0 0; padding: 18px; max-height: 72vh; overflow-y: auto; transform: translateY(100%); transition: transform 0.22s ease; }
.sheet.open { transform: translateY(0); }
.sheet .handle { width: 40px; height: 4px; background: var(--border); border-radius: 999px; margin: 0 auto 14px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--text-dim); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sheet h4 { font-size: 17px; margin-bottom: 4px; }
.sheet .sub { font-size: 12.5px; color: var(--text-dimmer); margin-bottom: 12px; }
.info-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; }
.info-list li { list-style: none; font-size: 13.5px; color: var(--text-dim); padding-left: 18px; position: relative; line-height: 1.5; }
.info-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.sources-list a { display: block; font-size: 12.5px; color: var(--accent); margin-bottom: 6px; word-break: break-all; }
.verify-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 4px 9px; border-radius: 999px; margin-bottom: 14px; }
.verify-badge.ok { background: rgba(62,207,142,0.12); color: var(--green); border: 1px solid rgba(62,207,142,0.3); }
.verify-badge.warn { background: rgba(242,201,76,0.12); color: var(--yellow); border: 1px solid rgba(242,201,76,0.3); }
.footer { text-align: center; padding: 30px 16px 10px; color: var(--text-dimmer); font-size: 11.5px; line-height: 1.6; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
.hidden { display: none !important; }
.flex-row { display: flex; align-items: center; gap: 8px; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
