/* #1296 one-tap copy of /wp-content/mu-plugins/tbt-reviews-wall/tbt-reviews.css */
/* TBT reviews wall (owner no. 407). Vanilla CSS, no plugin. Brand colors are the platforms' own (Google, Facebook, Trustpilot).
   Light by default; dark follows the site (html.dark, body.dark, [data-theme="dark"]) or the phone when data-theme="auto". */
.tbtr{--tbtr-bg:#fff;--tbtr-tile:#fff;--tbtr-ink:#1f2328;--tbtr-ink2:#57606a;--tbtr-line:#e3e6ea;--tbtr-chip:#f3f5f7;--tbtr-focus:#1a73e8;
  --tbtr-g:#1a73e8;--tbtr-fb:#1877f2;--tbtr-tp:#00b67a;--tbtr-star:#fbbc04;--tbtr-r:16px;
  color:var(--tbtr-ink);font:inherit;line-height:1.5;max-width:1200px;margin:0 auto;padding:8px 16px 32px;box-sizing:border-box}
.tbtr *,.tbtr *::before,.tbtr *::after{box-sizing:border-box}
html.dark .tbtr,body.dark .tbtr,[data-theme="dark"] .tbtr,.tbtr[data-theme="dark"]{--tbtr-tile:#1b1f24;--tbtr-ink:#e8eaed;--tbtr-ink2:#a9b0b8;--tbtr-line:#30363d;--tbtr-chip:#22272e;--tbtr-focus:#8ab4f8;--tbtr-g:#8ab4f8;--tbtr-fb:#5aa0ff}
@media (prefers-color-scheme:dark){.tbtr[data-theme="auto"]{--tbtr-tile:#1b1f24;--tbtr-ink:#e8eaed;--tbtr-ink2:#a9b0b8;--tbtr-line:#30363d;--tbtr-chip:#22272e;--tbtr-focus:#8ab4f8;--tbtr-g:#8ab4f8;--tbtr-fb:#5aa0ff}}

.tbtr-head{text-align:center;margin:0 0 20px}
.tbtr-title{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.25rem);line-height:1.2;margin:0 0 8px;font-weight:700;color:var(--tbtr-ink)}
.tbtr-sub{margin:0 auto;max-width:720px;color:var(--tbtr-ink2);font-size:.98rem;min-height:3em}
.tbtr-sub b{color:var(--tbtr-ink)}
.tbtr-plats{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0 0;padding:0;list-style:none;min-height:44px}
.tbtr-plat{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--tbtr-line);border-radius:999px;background:var(--tbtr-tile);font-size:.9rem;color:var(--tbtr-ink);text-decoration:none}
@media (hover:hover) and (pointer:fine){a.tbtr-plat:hover{border-color:currentColor}}
.tbtr-plat svg{width:18px;height:18px;flex:none}

.tbtr-filters{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:20px 0}
.tbtr-f{appearance:none;border:1px solid var(--tbtr-line);background:var(--tbtr-tile);color:var(--tbtr-ink);border-radius:999px;padding:8px 16px;font:inherit;font-size:.92rem;cursor:pointer;display:inline-flex;gap:6px;align-items:center;min-height:40px}
.tbtr-f svg{width:16px;height:16px}
.tbtr-f[aria-pressed="true"]{background:var(--tbtr-ink);color:var(--tbtr-tile);border-color:var(--tbtr-ink)}
.tbtr-f:focus-visible,.tbtr-more:focus-visible,.tbtr-rm:focus-visible,.tbtr-src:focus-visible,.tbtr-ph:focus-visible{outline:2px solid var(--tbtr-focus);outline-offset:2px}

.tbtr-grid{display:flex;gap:16px;align-items:flex-start}
.tbtr-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:16px}
.tbtr-tile{position:relative;background:var(--tbtr-tile);border:1px solid var(--tbtr-line);border-radius:var(--tbtr-r);padding:18px 18px 14px;
  border-top:4px solid var(--tbtr-brand);box-shadow:0 1px 2px rgba(0,0,0,.04);contain:layout paint}
.tbtr-tile[data-p="google"]{--tbtr-brand:var(--tbtr-g)}
.tbtr-tile[data-p="facebook"]{--tbtr-brand:var(--tbtr-fb)}
.tbtr-tile[data-p="trustpilot"]{--tbtr-brand:var(--tbtr-tp)}
.tbtr-tile[data-link]{cursor:pointer}
@media (hover:hover) and (pointer:fine){.tbtr-tile[data-link]:hover{box-shadow:0 4px 16px rgba(0,0,0,.08)}}
.tbtr-top{display:flex;gap:12px;align-items:center;margin:0 0 10px}
.tbtr-av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:700;color:#fff;font-size:1.05rem;overflow:hidden;background:var(--tbtr-brand)}
.tbtr-av img{width:40px;height:40px;object-fit:cover;display:block}
.tbtr-av[data-t="blue"]{background:#1a73e8}.tbtr-av[data-t="red"]{background:#d93025}.tbtr-av[data-t="yellow"]{background:#e37400}.tbtr-av[data-t="green"]{background:#188038}
.tbtr-who{min-width:0;flex:1}
.tbtr-name{font-weight:600;font-size:.98rem;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbtr-date{font-size:.82rem;color:var(--tbtr-ink2);margin:0}
.tbtr-badge{flex:none;width:24px;height:24px}
.tbtr-rate{display:flex;align-items:center;gap:8px;margin:0 0 8px;min-height:20px}
.tbtr-stars{display:inline-flex;gap:1px}
.tbtr-stars svg{width:18px;height:18px;fill:var(--tbtr-star)}
.tbtr-tile[data-p="trustpilot"] .tbtr-stars{gap:2px}
.tbtr-tile[data-p="trustpilot"] .tbtr-stars span{width:20px;height:20px;background:var(--tbtr-tp);display:grid;place-items:center}
.tbtr-tile[data-p="trustpilot"] .tbtr-stars svg{width:14px;height:14px;fill:#fff}
.tbtr-rec{display:inline-flex;align-items:center;gap:6px;font-size:.88rem;font-weight:600;color:var(--tbtr-fb)}
.tbtr-rec svg{width:16px;height:16px;fill:currentColor}
.tbtr-label{font-size:.78rem;color:var(--tbtr-ink2);display:inline-flex;align-items:center;gap:4px}
.tbtr-label svg{width:14px;height:14px;fill:var(--tbtr-brand)}
.tbtr-ttl{font-weight:600;margin:0 0 4px;font-size:.98rem}
.tbtr-txt{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:.95rem;color:var(--tbtr-ink)}
.tbtr-txt[data-clamp]{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.tbtr-rm{appearance:none;background:none;border:0;padding:4px 0;margin:2px 0 0;color:var(--tbtr-brand);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.tbtr-phs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0 0}
.tbtr-ph{appearance:none;border:0;padding:0;border-radius:8px;overflow:hidden;aspect-ratio:1;background:var(--tbtr-chip);cursor:zoom-in}
.tbtr-ph img{width:100%;height:100%;object-fit:cover;display:block}
.tbtr-foot{display:flex;justify-content:space-between;align-items:center;margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--tbtr-line);font-size:.84rem;color:var(--tbtr-ink2)}
.tbtr-src{color:var(--tbtr-brand);text-decoration:none;font-weight:600}
@media (hover:hover) and (pointer:fine){.tbtr-src:hover{text-decoration:underline}}

.tbtr-skel{height:220px;border-radius:var(--tbtr-r);background:var(--tbtr-chip);border:1px solid var(--tbtr-line)}
.tbtr-moreb{display:flex;justify-content:center;margin:24px 0 0;min-height:48px}
.tbtr-more{appearance:none;border:1px solid var(--tbtr-ink);background:var(--tbtr-tile);color:var(--tbtr-ink);border-radius:999px;padding:12px 28px;font:inherit;font-weight:600;cursor:pointer;min-height:48px}
.tbtr-more[hidden]{display:none}
.tbtr-note{text-align:center;color:var(--tbtr-ink2);font-size:.82rem;margin:16px 0 0}
.tbtr-all{display:inline-block;margin:16px 0 0;color:var(--tbtr-g);font-weight:600;text-decoration:none}

/* reserved space before the feed arrives (CLS 0): wall 3 rows of skeletons, strip one row */
.tbtr[data-mode="wall"] .tbtr-grid:empty{min-height:720px}
.tbtr[data-mode="strip"] .tbtr-grid{min-height:260px}

/* phone: one card wide, swipe sideways */
@media (max-width:639px){
  .tbtr{padding:8px 0 24px}
  .tbtr-head,.tbtr-filters,.tbtr-note,.tbtr-moreb{padding:0 16px}
  .tbtr-filters{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tbtr-filters::-webkit-scrollbar{display:none}
  .tbtr-f{flex:none}
  .tbtr-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:0 16px 8px;scroll-padding:0 16px;scrollbar-width:none;align-items:stretch;-webkit-overflow-scrolling:touch}
  .tbtr-grid::-webkit-scrollbar{display:none}
  .tbtr-col{display:contents}
  .tbtr-tile,.tbtr-skel{flex:0 0 86%;scroll-snap-align:start}
  .tbtr[data-mode="wall"] .tbtr-grid:empty{min-height:300px}
  .tbtr-count{display:block;text-align:center;font-size:.82rem;color:var(--tbtr-ink2);margin:8px 0 0}
}
@media (min-width:640px){.tbtr-count{display:none}}

/* lightbox */
.tbtr-lb{border:0;padding:0;background:transparent;max-width:96vw;max-height:92vh}
.tbtr-lb::backdrop{background:rgba(0,0,0,.85)}
.tbtr-lb img{max-width:96vw;max-height:86vh;display:block;border-radius:8px}
.tbtr-lb button{position:fixed;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#111;font-size:22px;cursor:pointer}
.tbtr-tile{transition:box-shadow .15s}

/* #1357 platform-true tiles (Job G): Google 4-colour top strip + wordmark, Facebook blue top + red Recommends + grey default avatar +
   wordmark, white "View on" links on the dark wall (ink colour on a light wall), Trustpilot unchanged. Same card size. */
.tbtr{--tbtr-link:var(--tbtr-ink)}
html.dark .tbtr,body.dark .tbtr,[data-theme="dark"] .tbtr,.tbtr[data-theme="dark"]{--tbtr-link:#fff}
@media (prefers-color-scheme:dark){.tbtr[data-theme="auto"]{--tbtr-link:#fff}}
.tbtr-src{color:var(--tbtr-link)}
.tbtr-tile[data-p="google"]{border-top-color:transparent;background:linear-gradient(90deg,#4285F4 0 25%,#EA4335 25% 50%,#FBBC05 50% 75%,#34A853 75% 100%) 0 0/100% 4px no-repeat border-box,var(--tbtr-tile) padding-box}
.tbtr-tile[data-p="facebook"]{border-top-color:#1877F2}
.tbtr-tile[data-p="facebook"] .tbtr-av{background:#BCC0C4}
.tbtr-av svg{width:40px;height:40px;display:block}
.tbtr-tile[data-p="facebook"] .tbtr-rec{color:#F02849}
.tbtr-tile[data-p="facebook"] .tbtr-rec svg{width:18px;height:18px}
.tbtr-wm{line-height:1;white-space:nowrap}
.tbtr-wm-g{font-family:"Product Sans","Google Sans",Roboto,Arial,sans-serif;font-size:1rem;font-weight:500;letter-spacing:-.2px}
.tbtr-wm-fb{color:#1877F2;font-family:Helvetica,Arial,sans-serif;font-size:1.05rem;font-weight:700;letter-spacing:-.5px}
