/* Вики «Рыбалка Онлайн» — копируется в public/wiki/wiki.css скриптом tools/build-wiki.js */
:root { --bg: #0b1e25; --panel: #12303a; --line: rgba(255,255,255,.12); --text: #eef6f2; --muted: rgba(238,246,242,.66);
  --accent: #3fcf98; --accent-dark: #1d8f68; --gold: #ffcd4d; --link: #7fd8ff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Rubik, system-ui, "Segoe UI", sans-serif; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; background: rgba(11,30,37,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { width: 120px; height: auto; }
.play { display: inline-block; background: linear-gradient(180deg, #4fe0a8, var(--accent-dark)); color: #062018; font-weight: 700;
  text-decoration: none; padding: 9px 14px; border-radius: 12px; white-space: nowrap; }
.play.big { padding: 13px 22px; font-size: 17px; }
main { max-width: 920px; margin: 0 auto; padding: 16px 16px 32px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.2; margin: 6px 0 14px; }
h2 { font-size: 21px; margin: 28px 0 10px; }
h2 a { color: var(--text); }
.lead { font-size: 17px; }
.tip { background: rgba(255,205,77,.08); border: 1px solid rgba(255,205,77,.35); border-radius: 12px; padding: 10px 14px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: center; }
.hero img { width: 100%; background: radial-gradient(circle, rgba(127,216,255,.12), transparent 70%); border-radius: 16px; }
.facts { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { width: 34%; color: var(--muted); font-weight: 500; }
.lvl { color: var(--gold); font-size: 13px; font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.fish { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px; text-decoration: none;
  color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.fish img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.fish span { font-weight: 600; }
.fish small { color: var(--muted); }
.fish:hover, .loc:hover, .tiles a:hover { border-color: var(--accent); }
.map { width: 100%; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 10px; }
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.loc { display: block; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.loc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.loc b, .loc span, .loc p { display: block; margin: 0; padding: 0 14px; }
.loc b { font-size: 18px; padding-top: 10px; }
.loc span { color: var(--gold); font-size: 13px; }
.loc p { color: var(--muted); padding-bottom: 14px; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.tiles a { display: block; padding: 14px; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.tiles b { display: block; font-size: 18px; }
.tiles span { color: var(--muted); font-size: 14px; }
ol, ul { padding-left: 22px; }
li { margin: 4px 0; }
.cta { margin-top: 32px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.play.tg { background: linear-gradient(180deg, #37b6f0, #1f8fd0); color: #fff; }
.play.max { background: linear-gradient(180deg, #8a6bff, #5b3fe0); color: #fff; }
@media (max-width: 480px) { .cta .btns .play { flex: 1 1 100%; text-align: center; } }
footer { border-top: 1px solid var(--line); padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .facts th { width: 40%; }
  .facts th, .facts td { padding: 9px 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { width: 96px; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .top .play { padding: 8px 12px; font-size: 14px; }
}
