/* Spy v3: second design pass, Nov 2026. Every rule is scoped to body.spyv3 (mu-plugin spy-v3.php).
   Same case-file look as v2: ink, beige tabs, gold figures. */

/* ---------- logo tiles (home wall, group pages) ---------- */
body.spyv3 .sv-grid,body.spyv3.category .grid.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
body.spyv3 a.sv-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:44px;text-decoration:none;color:var(--ink);font:600 .875rem/1.2 var(--sans);text-align:center;border-radius:6px}
body.spyv3 a.sv-tile:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
body.spyv3 .sv-tile img{display:block;width:100%;height:auto;aspect-ratio:5 / 2;object-fit:contain;background:#fff;border:1px solid var(--edge);border-radius:6px}
body.spyv3 a.sv-tile:hover img{border-color:var(--ink)}
body.spyv3 .sv-tile[hidden]{display:none}
body.spyv3 .sv-tile.sv-plain span,body.spyv3 a.spy-more-card.sv-plain .spy-more-n{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:5 / 2;padding:4px;background:#fff;border:1px solid var(--edge);border-radius:6px;font:700 .9375rem/1.1 var(--serif)}
@media (min-width:721px){body.spyv3 .sv-grid,body.spyv3.category .grid.grid-3{grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:20px 14px}}

/* ---------- home: the wall ---------- */
body.spyv3 .sv-wall{margin:22px 0 6px;background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:0 16px 18px}
body.spyv3 .sv-tab{display:inline-block;margin:0 0 14px;font:800 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--tab);background:var(--ink);padding:8px 11px 7px;border-radius:0 0 5px 5px}
body.spyv3 .sv-h{font-size:1.5rem;line-height:1.12;margin:0 0 6px}
body.spyv3 .sv-sub{margin:0 0 14px;font-size:1rem;color:var(--ink-2)}
body.spyv3 .sv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.spyv3 .sv-find{display:flex;margin:0 0 6px;border:2px solid var(--ink);border-radius:10px;overflow:hidden;background:var(--sheet)}
body.spyv3 .sv-find:focus-within{box-shadow:0 0 0 3px rgba(228,184,96,.7)}
body.spyv3 .sv-find input{flex:1;min-width:0;min-height:48px;border:0;background:transparent;padding:0 14px;font:600 1.0625rem var(--sans);color:var(--ink);outline:none;-webkit-appearance:none;appearance:none}
body.spyv3 .sv-find button{flex:none;border:0;background:var(--ink);color:var(--tab);font:700 .9375rem var(--sans);padding:0 16px;cursor:pointer}
body.spyv3 .sv-lbl{margin:18px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--ink);font:800 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
body.spyv3 .sv-none{margin:16px 0 0;font-size:1rem}
body.spyv3 .sv-wall.sv-filter .sv-all{margin-top:16px}
body.spyv3 .sv-wall:not(.open):not(.sv-filter) .sv-all,body.spyv3 .sv-wall:not(.open):not(.sv-filter) .sv-all-l{display:none}
body.spyv3 .sv-wall.open .sv-top,body.spyv3 .sv-wall.open .sv-top-l,body.spyv3 .sv-wall.sv-filter .sv-top,body.spyv3 .sv-wall.sv-filter .sv-top-l,body.spyv3 .sv-wall.sv-filter .sv-all-l,body.spyv3 .sv-wall.sv-filter .sv-more,body.spyv3 .sv-wall.open .sv-more{display:none}
body.spyv3 .sv-more{display:block;width:100%;min-height:48px;margin:18px 0 0;border:2px solid var(--ink);border-radius:10px;background:var(--card);color:var(--ink);font:700 1rem var(--sans);cursor:pointer}
body.spyv3 .sv-more:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
body.spyv3.home .hero-search{display:none}
body.spyv3.home .hero p{margin-bottom:0}

/* ---------- group pages ---------- */
body.spyv3.category .grid.grid-3{background:var(--card);border:1px solid var(--edge);border-radius:14px;padding:18px 16px;margin-bottom:40px}

/* ---------- posts: tab that jumps to the payout tool ---------- */
body.spyv3 .entry-content a.sx-tool{position:relative;display:inline-block;vertical-align:top;margin:0 0 12px 8px;padding:8px 28px 7px 10px;font:800 12px/1 var(--sans);letter-spacing:.06em;color:var(--ink);text-decoration:none;border-radius:0 0 5px 5px;background:#e4b860 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M5 13l7 7 7-7'/%3E%3C/svg%3E") right 9px center/12px 12px no-repeat}
body.spyv3 .entry-content a.sx-tool::after{content:"";position:absolute;left:0;right:0;top:0;bottom:-17px}
body.spyv3 .entry-content a.sx-tool:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
body.spyv3 .ppl{scroll-margin-top:12px}
@media (max-width:380px){body.spyv3 .entry-content .sx-tab{font-size:11px;letter-spacing:.05em;padding-left:9px;padding-right:9px}body.spyv3 .entry-content a.sx-tool{font-size:11px;letter-spacing:.04em;margin-left:6px;padding-left:8px;padding-right:24px;background-position:right 7px center}}

/* ---------- posts: one block of logos at the foot ---------- */
body.spyv3 .spy-more-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
body.spyv3 .entry-content a.spy-more-card{position:relative;padding:0;gap:6px;background:none;border:0;border-radius:6px;box-shadow:none;min-height:44px}
body.spyv3 .spy-more-card img{width:100%;height:auto;aspect-ratio:5 / 2;background:#fff}
body.spyv3 .spy-more-n{font:600 .875rem/1.2 var(--sans)}
body.spyv3 .spy-more-s{font:600 .8125rem/1.15 var(--sans);color:var(--acc-2);margin-top:-3px}
@media (min-width:768px){body.spyv3 .spy-more-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 14px}}

/* ---------- phones: shorter lists under the article ---------- */
@media (max-width:720px){
body.spyv3 .sidebar .widget{padding:16px 16px 18px;margin-bottom:14px}
body.spyv3 .sidebar .groups,body.spyv3 .sidebar .latest-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.spyv3 .sidebar .groups li,body.spyv3 .sidebar .latest-list li{gap:6px;align-items:center;min-height:46px;padding:0 10px;border:1px solid var(--edge);border-radius:8px;background:#fff;font-size:.9375rem;line-height:1.2}
body.spyv3 .sidebar li a{flex:1 1 auto;display:flex;align-items:center;align-self:stretch;min-height:44px;padding:0}
body.spyv3 .sidebar .groups span{flex:none}
body.spyv3 .sidebar .latest-list span{display:none}
body.spyv3 .masthead .search input{min-height:44px}
body.spyv3 .masthead .search button{min-height:44px}
body.spyv3 .site-foot ul{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
body.spyv3 .foot-grid{gap:22px}
body.spyv3 .layout{padding-bottom:16px}
body.spyv3 .site-foot{margin-top:20px}
}