:root {
  --bg: #111;
  --card: #fff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --orange: #ff8a00;
  --yellow: #ffd24a;
  --red: #e23b4a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(circle at 20px 20px, rgba(255,255,255,0.035) 0 10px, transparent 11px) 0 0 / 72px 72px,
    #141414;
  color: #f2f2f2;
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px; z-index: 9; }
.wrap { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }

.top { background: #0d0d0d; border-bottom: 1px solid #2a2a2a; position: sticky; top: 0; z-index: 20; }
.top-row { display: grid; grid-template-columns: auto 1fr minmax(220px, 320px); gap: 16px; align-items: center; padding: 14px 0 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-bubble {
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe27a, #ff9a1f 55%, #e25b00);
  display: grid; place-items: center;
  color: #7a2a00; font-size: 26px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
}
.logo-words { font-family: "Lilita One", Nunito, sans-serif; font-size: 28px; letter-spacing: 0.02em; line-height: 1; }
.logo-words span { display: block; font-size: 12px; letter-spacing: 0.18em; color: var(--yellow); }
.logo-words em { font-style: normal; background: var(--orange); color: #1a1a1a; border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.welcome { margin: 0; color: #ddd; font-size: 14.5px; }
.welcome a { color: #7ec8ff; font-weight: 800; }
.top-search { display: flex; background: #fff; border-radius: 8px; overflow: hidden; }
.top-search input { flex: 1; border: 0; padding: 10px 12px; font: inherit; min-width: 0; color: #111; }
.top-search button { border: 0; background: #2f6fed; color: #fff; font-weight: 800; padding: 0 16px; cursor: pointer; }
nav.primary { display: flex; gap: 18px; justify-content: center; padding: 0 0 10px; }
nav.primary a { color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; }
nav.primary a[aria-current="page"], nav.primary a:hover { color: var(--yellow); }
.menu-btn { display: none; background: #222; color: #fff; border: 1px solid #444; border-radius: 8px; padding: 8px 10px; }

.page-title { font-size: 15px; font-weight: 800; text-align: center; margin: 18px 0 12px; color: #fff; }

.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 28px; }
.dir-card {
  background: #fff; color: var(--ink);
  border-radius: 12px; padding: 14px 14px 16px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 0 rgba(0,0,0,.25);
}
.dir-card h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.dir-card > p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; min-height: 38px; }
.dir-card ol { list-style: none; margin: 0 0 12px; padding: 0; }
.dir-card li { border-top: 1px solid #f0f0f0; }
.dir-card li a { display: flex; gap: 8px; align-items: baseline; text-decoration: none; color: #163a66; font-weight: 800; padding: 6px 2px; }
.dir-card li a:hover { color: var(--red); }
.pill { font-style: normal; margin-left: 6px; background: #e8f8ee; color: #0d6b45; font-size: 11px; border-radius: 99px; padding: 1px 6px; vertical-align: 1px; }
.dir-card li span { color: #888; width: 1.2em; font-weight: 800; }
.seeall {
  margin-top: auto; display: block; text-align: center; text-decoration: none;
  color: #fff; font-weight: 800; border-radius: 8px; padding: 10px 8px;
}
.seeall:hover { filter: brightness(1.08); }

.crumbs { color: #bbb; font-size: 13px; margin: 14px 0; }
.crumbs a { color: #9fd0ff; }
.sheet {
  background: #fff; color: var(--ink);
  border-radius: 14px; padding: 18px 18px 22px; margin-bottom: 28px;
  box-shadow: 0 8px 0 rgba(0,0,0,.25);
}
.sheet h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.sheet .dek, .sheet > p.dek { color: #444; }
.site-list { list-style: none; margin: 12px 0 0; padding: 0; }
.site-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.site-name { display: flex; gap: 8px; align-items: baseline; font-weight: 800; font-size: 18px; color: #163a66; text-decoration: none; }
.site-name span { color: var(--orange); }
.site-row p { margin: 4px 0 0 1.6em; color: #444; }
.visit {
  background: var(--red); color: #fff; text-decoration: none; font-weight: 800;
  border-radius: 8px; padding: 10px 14px; white-space: nowrap;
}
.visit:hover { filter: brightness(1.08); }
.visit.big { display: inline-block; background: #2f9e4f; margin-top: 8px; }

.review-top { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.big-score { width: 92px; height: 92px; border-radius: 16px; background: #1a1a1a; color: var(--yellow); display: grid; place-items: center; text-align: center; }
.big-score b { font-size: 32px; line-height: 1; }
.big-score span { font-size: 12px; color: #fff; }
.bestfor { color: #444; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.similar { padding-left: 18px; }
.similar a { color: #163a66; font-weight: 800; }

.posts { display: grid; gap: 10px; }
.post-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.post-card h3 { margin: 4px 0; }
.date { color: #777; font-size: 13px; }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; color: #666; }
.faq details, .sheet details { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.form { display: grid; gap: 8px; max-width: 520px; }
.form input, .form textarea { font: inherit; padding: 8px; border-radius: 8px; border: 1px solid #ccc; }
.search-hits { display: grid; gap: 8px; }
.hit { display: block; background: #fff; color: #111; text-decoration: none; border-radius: 10px; padding: 12px; margin-bottom: 8px; }
.hero-search { display: flex; gap: 8px; }
.hero-search input { flex: 1; border-radius: 8px; border: 0; padding: 12px; font: inherit; }
.btn { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 12px 16px; font-weight: 800; cursor: pointer; }

footer.site { background: #0d0d0d; color: #cfcfcf; padding: 22px 0; border-top: 1px solid #2a2a2a; }
.foot-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
footer a { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 4px 0; }
.legal-note { margin-top: 14px; color: #8d8d8d; font-size: 13px; }

.age { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: grid; place-items: center; z-index: 50; padding: 16px; }
html.age-ok .age, .age[hidden] { display: none; }
.age-card { background: #fff; color: #111; border-radius: 16px; padding: 20px; width: min(440px, 100%); }
.age-actions { display: flex; gap: 8px; }
.age-actions .btn { background: #2f9e4f; }
.age-actions .secondary { background: #eee; color: #111; }

@media (max-width: 1000px) {
  .dir-grid { grid-template-columns: 1fr 1fr; }
  .top-row { grid-template-columns: 1fr auto; }
  .welcome, .top-search, nav.primary { display: none; }
  .menu-btn { display: inline-flex; }
  body.nav-open nav.primary, body.nav-open .welcome, body.nav-open .top-search {
    display: flex; flex-direction: column; padding: 8px 0;
  }
  body.nav-open .top-row { grid-template-columns: 1fr; }
  .proscons, .review-top, .foot-row, .site-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dir-grid { grid-template-columns: 1fr; }
  .dir-card { min-height: 0; }
}
