/* Tu Cerquita (сайт 7) - тёмно-сливовая ночная доска, акцент коралл/персик. Классы tq-*, с сайтами 1-6 не пересекаются. Mobile first. */
:root {
  --bg: #1b1024; --bg2: #241533; --card: #2c1b3d; --line: #40305a; --ink: #f6ecf3; --soft: #b8a6c6; --mute: #8f7fa0;
  --coral: #ff6f61; --coral-dk: #e8584a; --peach: #ffb088; --chip: #35254a; --ok: #7ad3a3; --bad: #ff8a7a; --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body.tq-has-sticky { padding-bottom: 60px; }
a { color: var(--peach); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: #fff; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h1 small { display: block; font-size: .9rem; font-weight: 500; color: var(--soft); }
h2 { font-size: 1.15rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; color: var(--soft); }
p { margin: 0 0 .9em; }
.tq-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.tq-top { background: rgba(27, 16, 36, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(6px); }
.tq-top-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; }
.tq-logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 1.15rem; letter-spacing: .01em; }
.tq-logo b { color: var(--coral); }
.tq-logo svg, .tq-foot-brand svg { width: 22px; height: 28px; }
.tq-logo svg .pin, .tq-foot-brand svg .pin { fill: var(--coral); }
.tq-logo svg .heart, .tq-foot-brand svg .heart { fill: var(--bg); }
.tq-nav { display: flex; align-items: center; gap: 14px; }
.tq-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.tq-btn { display: inline-block; background: var(--coral); color: #1b1024 !important; text-decoration: none; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: .92rem; cursor: pointer; font-family: inherit; }
.tq-btn:hover { background: var(--coral-dk); }
.tq-btn-big { padding: 13px 22px; font-size: 1rem; }
.tq-btn-wide { display: block; text-align: center; margin: 14px 0 6px; }
.tq-btn-line { display: inline-block; background: none; border: 2px solid var(--line); color: var(--ink); border-radius: 999px; padding: 11px 20px; font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit; font-size: .95rem; }
.tq-btn-line:hover { border-color: var(--peach); }

.tq-crumbs { font-size: .82rem; color: var(--mute); padding-top: 12px; }
.tq-crumbs a { color: var(--soft); text-decoration: none; }
.tq-crumbs i { font-style: normal; margin: 0 6px; opacity: .6; }

.tq-head, .tq-hero { padding: 16px 0 6px; }
.tq-hero { padding: 36px 0 22px; }
.tq-hero h1 { font-size: 2rem; }
.tq-lead { color: var(--soft); max-width: 780px; font-size: 1.02rem; }
.tq-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tq-facts span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: .8rem; color: var(--soft); }

.tq-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; margin-top: 8px; }
.tq-main > section { margin-bottom: 22px; }
.tq-side { display: none; }

/* фильтры-чипы */
.tq-filters { margin: 8px 0 14px; }
.tq-filters-tog { display: block; width: 100%; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.tq-filters-tog i { float: right; font-style: normal; color: var(--peach); }
.tq-filters-in { display: none; background: var(--bg2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; padding: 12px 14px 4px; }
.tq-filters-in h2 { display: none; }
body.tq-filters-open .tq-filters-in { display: block; }
.tq-clear { display: inline-block; font-size: .85rem; margin-bottom: 8px; }
.tq-fg { padding: 6px 0 8px; }
.tq-fg h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 0 0 6px; }
.tq-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tq-chips a, .tq-chips span { background: var(--chip); border-radius: 8px; padding: 4px 10px; font-size: .82rem; color: var(--ink); text-decoration: none; }
.tq-chips a em { font-style: normal; color: var(--mute); margin-left: 5px; font-size: .74rem; }
.tq-chips a:hover, .tq-chips a.on, .tq-chips span.on { background: var(--coral); color: #1b1024; }
.tq-chips a:hover em, .tq-chips a.on em { color: #4a2a2a; }
.tq-chips-l a, .tq-chips-l span { font-size: .88rem; padding: 6px 12px; }

/* лента объявлений */
.tq-feed { display: grid; gap: 12px; }
.tq-ad { display: grid; grid-template-columns: 84px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; position: relative; }
.tq-ad.tq-new { border-color: #6a4a5a; }
.tq-ad.tq-new::after { content: "nuevo"; position: absolute; top: 10px; right: 12px; background: var(--peach); color: #1b1024; font-size: .66rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; text-transform: uppercase; }
.tq-ad-ph, .tq-prof-ph { position: relative; display: block; background: linear-gradient(160deg, #3b2650, #22132f); border-radius: 10px; aspect-ratio: 1; overflow: hidden; text-decoration: none; }
.tq-ad-ph svg, .tq-prof-ph svg { width: 100%; height: 100%; fill: #5c4472; }
.tq-ad-ph span, .tq-prof-ph span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(27, 16, 36, .85); color: var(--soft); font-size: .6rem; text-align: center; padding: 3px 2px; line-height: 1.2; }
.tq-ad-top { font-size: .84rem; color: var(--soft); margin-bottom: 3px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.tq-ad-top b { color: #fff; font-size: .95rem; }
.tq-ad-top time { color: var(--mute); font-size: .78rem; }
.tq-ad h3 { font-size: 1rem; margin: 0 0 4px; color: #fff; }
.tq-ad h3 a { color: #fff; text-decoration: none; }
.tq-ad h3 a:hover { color: var(--peach); }
.tq-ad p { margin: 0 0 8px; font-size: .9rem; color: var(--soft); }
.tq-ad .tq-chips a, .tq-ad .tq-chips span { font-size: .74rem; padding: 2px 8px; }
.tq-note { font-size: .72rem; color: var(--mute); margin: 8px 0 0; }
.tq-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tq-pager a, .tq-pager b { padding: 7px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--ink); }
.tq-pager b { background: var(--coral); color: #1b1024; border-color: var(--coral); }

.tq-box { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 20px; }
.tq-box h3 { margin-top: 12px; }
.tq-soft { color: var(--soft); font-size: .92rem; }
.tq-near { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.tq-near li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.tq-near small { color: var(--mute); white-space: nowrap; }
.tq-zips { font-size: .8rem; color: var(--mute); margin: 10px 0 0; }
.tq-zips span { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; margin: 2px 0; }
.tq-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.tq-cities a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; text-decoration: none; background: var(--card); }
.tq-cities a:hover { border-color: var(--coral); }
.tq-cities b { display: block; font-size: .92rem; color: #fff; }
.tq-cities small { color: var(--mute); font-size: .76rem; }
.tq-az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.tq-az a { font-weight: 800; text-decoration: none; padding: 2px 8px; border-radius: 6px; background: var(--chip); color: var(--ink); }
.tq-local p { color: var(--soft); font-size: .95rem; }
.tq-faq details { border-top: 1px solid var(--line); padding: 9px 0; }
.tq-faq summary { cursor: pointer; font-weight: 700; color: var(--peach); }
.tq-faq p { margin: 6px 0 0; color: var(--soft); }
.tq-steps ol { margin: 0 0 10px; padding-left: 20px; color: var(--soft); }
.tq-steps li { margin-bottom: 6px; }
.tq-more { font-size: .92rem; margin: 12px 0 0; }
.tq-list { margin: 0; padding-left: 18px; }
.tq-list li { margin-bottom: 6px; }
.tq-guides { list-style: none; padding: 0; }
.tq-guides li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.tq-guides p { color: var(--soft); font-size: .9rem; margin: 2px 0 0; }

.tq-join { border: 1px solid var(--coral); background: linear-gradient(160deg, #2e1a3f, #241533); }
.tq-join p { color: var(--soft); }
.tq-form { display: grid; gap: 10px; max-width: 460px; }
.tq-form label { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; }
.tq-form input[type=email] { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: #fff; }
.tq-form input[type=email]:focus { outline: 2px solid var(--peach); border-color: transparent; }
.tq-form .tq-chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .84rem; color: var(--soft); }
.tq-form .tq-chk input { margin-top: 4px; accent-color: var(--coral); }
.tq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tq-err { color: var(--bad); font-weight: 600; }
.tq-ok { color: var(--ok); font-weight: 600; }
.tq-narrow { max-width: 600px; margin: 24px auto; }
.tq-article h2 { font-size: 1.05rem; margin-top: 1.3em; }
.tq-article p, .tq-article li { color: var(--soft); }
.tq-article ul { padding-left: 20px; }
.tq-fine { font-size: .78rem; color: var(--mute); }

/* объявление */
.tq-prof { display: grid; grid-template-columns: 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 14px 0 20px; }
.tq-prof-ph { max-width: 200px; }
.tq-prof-ph span { font-size: .74rem; padding: 6px; }
.tq-prof h1 { font-size: 1.35rem; }
.tq-prof-text { font-size: 1.02rem; margin-top: 10px; }
.tq-table { width: 100%; border-collapse: collapse; }
.tq-table th, .tq-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.tq-table th { width: 36%; color: var(--mute); font-weight: 600; }

/* слоты баннеров: пустой слот не рендерится (views.slot) */
.tq-slot { display: flex; justify-content: center; margin: 0 0 16px; overflow: hidden; }
.tq-slot-infeed { margin: 2px 0; }
.tq-slot-profile { margin-top: 12px; }
.tq-slot-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg); border-top: 1px solid var(--line); margin: 0; padding: 4px 0; min-height: 50px; }
.tq-sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; background: var(--coral); color: #1b1024; text-align: center; font-weight: 800; padding: 13px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
body.tq-has-sticky .tq-sticky-cta { bottom: 66px; }

.tq-foot { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 90px; font-size: .86rem; color: var(--soft); }
.tq-foot-brand { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.tq-foot-brand b { color: #fff; }
.tq-foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }
.tq-foot-links a { color: var(--ink); text-decoration: none; }

@media (min-width: 720px) {
  h1 { font-size: 1.9rem; }
  .tq-ad { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .tq-ad-ph span { font-size: .66rem; }
  .tq-prof { grid-template-columns: 220px 1fr; gap: 22px; padding: 20px; }
  .tq-filters-tog { display: none; }
  .tq-filters-in { display: block; border-top: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 6px; }
  .tq-filters-in h2 { display: block; font-size: 1rem; }
  .tq-sticky-cta { display: none; }
  .tq-foot { padding-bottom: 24px; }
  body.tq-has-sticky { padding-bottom: 0; }
  .tq-slot-sticky { display: none; }
}
@media (min-width: 1000px) {
  .tq-grid { grid-template-columns: 1fr 300px; gap: 24px; }
  .tq-side { display: block; position: sticky; top: 72px; }
  .tq-side:empty { display: none; }
}
@media (max-width: 480px) {
  .tq-nav a:not(.tq-btn) { display: none; }
  .tq-hero h1 { font-size: 1.55rem; }
  .tq-ad { grid-template-columns: 70px 1fr; gap: 10px; padding: 10px; }
  .tq-ad-ph span { font-size: .52rem; }
}
