/* Flip Hunter 2.8 — Bootstrap-first discovery & operations UX */
:root{
  --fh-ink:#0f172a;--fh-muted:#64748b;--fh-line:#e2e8f0;--fh-soft:#f8fafc;
  --fh-brand:#0f766e;--fh-brand-2:#14b8a6;--fh-accent:#f59e0b;--fh-danger:#dc2626;
  --fh-admin:#07111f;--fh-admin-panel:#0d1b2d;--fh-admin-line:#1e3a56;
}
body.public-v280{background:#f6f8fb;color:var(--fh-ink);font-family:"Segoe UI",Tahoma,Arial,sans-serif}
body.public-v280 a{color:inherit}.public-v280 .wrap{width:min(1320px,calc(100% - 28px));padding:22px 0}
.public-v280 .top{background:rgba(255,255,255,.96);border-bottom:1px solid var(--fh-line);box-shadow:0 6px 24px rgba(15,23,42,.04);backdrop-filter:blur(12px)}
.public-v280 .brand,.public-v280 .sidebrand{color:var(--fh-ink)}.public-v280 .brandmark{background:linear-gradient(135deg,#0f766e,#2dd4bf);color:#fff;box-shadow:none}
.public-v280 .nav a{color:#334155}.public-v280 .nav a:hover{background:#ecfdf5;color:#0f766e}
.public-v280 footer{color:#64748b;border-top:1px solid var(--fh-line);margin-top:36px}
.public-v280 .btn{background:#0f766e;color:#fff;box-shadow:none;border-radius:12px}.public-v280 .btn:hover{background:#115e59;color:#fff}.public-v280 .btn.secondary{background:#fff;color:#0f172a;border:1px solid var(--fh-line)}
.public-v280 input,.public-v280 select,.public-v280 textarea{background:#fff;color:#0f172a;border-color:#cbd5e1}.public-v280 input:focus,.public-v280 select:focus{border-color:#14b8a6;box-shadow:0 0 0 .2rem rgba(20,184,166,.14)}

/* Home */
.fh-market-header{background:linear-gradient(135deg,#072b2c 0%,#0f766e 55%,#115e59 100%);color:#fff;border-radius:26px;padding:34px;position:relative;overflow:hidden;box-shadow:0 22px 55px rgba(15,118,110,.18)}
.fh-market-header:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.06);left:-160px;top:-210px}.fh-market-header:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:rgba(245,158,11,.09);right:-120px;bottom:-180px}
.fh-market-header>*{position:relative;z-index:1}.fh-market-header h1{font-size:clamp(2rem,5vw,4rem);font-weight:900;letter-spacing:-1.4px;line-height:1.1}.fh-market-header p{font-size:1.05rem;color:#d8fffb;max-width:780px}
.fh-search-shell{background:#fff;border-radius:16px;padding:7px;display:flex;gap:8px;box-shadow:0 12px 28px rgba(0,0,0,.12);max-width:870px}.fh-search-shell input{border:0;margin:0;padding:14px 16px;box-shadow:none}.fh-search-shell button{white-space:nowrap;padding-inline:24px;border-radius:12px}
.fh-hero-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px;max-width:860px}.fh-hero-metric{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);padding:14px 16px;border-radius:14px}.fh-hero-metric b{display:block;font-size:1.45rem}.fh-hero-metric span{font-size:.78rem;color:#d7f7f3}
.fh-trust-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.fh-trust-pill{font-size:.78rem;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);padding:7px 10px;border-radius:999px}
.fh-section{margin-top:34px}.fh-section-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:14px}.fh-section-title h2{margin:0;font-size:1.55rem;font-weight:800}.fh-section-title p{margin:4px 0 0;color:#64748b}
.fh-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.fh-category-card{background:#fff;border:1px solid var(--fh-line);border-radius:18px;padding:18px 14px;min-height:135px;transition:.2s ease;box-shadow:0 4px 16px rgba(15,23,42,.03)}.fh-category-card:hover{transform:translateY(-3px);border-color:#99f6e4;box-shadow:0 12px 28px rgba(15,118,110,.09)}.fh-category-icon{width:48px;height:48px;border-radius:14px;background:#ecfdf5;color:#0f766e;display:grid;place-items:center;font-size:1.35rem;margin-bottom:14px}.fh-category-card b{display:block;font-size:.94rem}.fh-category-card small{color:#64748b}.fh-category-focus{display:inline-block;margin-top:8px;font-size:.68rem;color:#0f766e;background:#ccfbf1;padding:3px 7px;border-radius:999px}
.fh-deal-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fh-deal-tile{background:#fff;border:1px solid var(--fh-line);border-radius:18px;padding:18px}.fh-deal-tile b{display:block;font-size:1.15rem;margin-top:4px}.fh-deal-tile span{font-size:.78rem;color:#64748b}.fh-deal-tile strong{color:#0f766e;font-size:1.7rem}

/* Product cards */
.public-v280 .productgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.public-v280 .productcard,.public-v280 .card{background:#fff;border:1px solid var(--fh-line);color:#0f172a;box-shadow:0 5px 18px rgba(15,23,42,.04)}.public-v280 .productcard:hover,.public-v280 .card:hover{border-color:#99f6e4;box-shadow:0 14px 32px rgba(15,118,110,.08)}.public-v280 .productcard img{background:#fff}.public-v280 .productcard p,.public-v280 .cardmeta,.public-v280 .productcard span{color:#64748b}.public-v280 .cardbottom b,.public-v280 .price,.public-v280 .pricecell{color:#0f766e}
.public-v280 .panel{background:#fff;border-color:var(--fh-line);color:#0f172a;box-shadow:0 5px 18px rgba(15,23,42,.04)}.public-v280 .muted{color:#64748b}.public-v280 .chip{background:#fff;border-color:#dbe3ec;color:#334155}.public-v280 .chip.active{background:#0f766e;color:#fff;border-color:#0f766e}
.public-v280 .modernhero,.public-v280 .producthero{background:#fff;border-color:var(--fh-line);box-shadow:0 8px 25px rgba(15,23,42,.05)}.public-v280 .bestbox{background:#f0fdfa;border-color:#99f6e4}.public-v280 .bestbox b{color:#0f766e}.public-v280 .metachips span{background:#f8fafc;border-color:#e2e8f0;color:#334155}.public-v280 table th{background:#f8fafc;color:#475569}.public-v280 table td{border-color:#e2e8f0;color:#0f172a}
.fh-seo-note{font-size:.78rem;color:#64748b;max-width:840px;margin:0 auto;text-align:center;padding:16px}

/* Admin Bootstrap cockpit */
.adminbody.v280{background:#07111f!important;color:#e7eef7}.adminbody.v280 .adminlayout{grid-template-columns:265px minmax(0,1fr)}.adminbody.v280 .sidebar{background:#081523;border-left:1px solid #193149;padding:16px 12px}.adminbody.v280 .sidebrand{padding:8px 10px 18px}.adminbody.v280 .sidenav{gap:3px}.adminbody.v280 .sidenav .navgroup{font-size:.68rem;color:#67839d;padding:15px 12px 5px;text-transform:uppercase;letter-spacing:.08em}.adminbody.v280 .sidenav a{border-radius:12px;padding:11px 12px;font-size:.88rem}.adminbody.v280 .sidenav a.active{background:linear-gradient(135deg,#123b45,#153657);box-shadow:inset 0 0 0 1px #285267}.adminbody.v280 .adminmain{padding:20px 24px}.adminbody.v280 .admintop{padding:0 2px 6px}.adminbody.v280 .admintop h1{font-weight:800;letter-spacing:-.5px}.adminbody.v280 .panel,.adminbody.v280 .kpi{border-color:#1c3854;background:linear-gradient(180deg,#0e1f34,#0b1a2d);box-shadow:0 10px 24px rgba(0,0,0,.12)}.adminbody.v280 .kpi{border-radius:16px}.adminbody.v280 .kpi b{font-size:1.75rem}.adminbody.v280 .kpi span{color:#9fb5c9}.adminbody.v280 .btn{border-radius:11px}.adminbody.v280 table th{background:#0b1a2c}.adminbody.v280 .form-control,.adminbody.v280 .form-select{background:#081726;color:#eef7ff;border-color:#294c6d}.adminbody.v280 .form-control:focus,.adminbody.v280 .form-select:focus{background:#081726;color:#fff;border-color:#2dd4bf;box-shadow:0 0 0 .2rem rgba(45,212,191,.12)}
.fh-live-ops{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin-bottom:18px}.fh-live-main{position:relative;overflow:hidden}.fh-live-main:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(45,212,191,.14),transparent 68%);left:-60px;bottom:-110px}.fh-live-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.fh-live-badge{display:inline-flex;align-items:center;gap:7px;color:#8ff5d6;font-size:.75rem}.fh-live-task{font-size:1.35rem;font-weight:900;margin:12px 0 3px}.fh-live-sub{color:#8ea8bf;font-size:.85rem}.fh-live-progress{height:8px;background:#081523;border-radius:999px;overflow:hidden;margin-top:18px}.fh-live-progress i{display:block;height:100%;width:65%;background:linear-gradient(90deg,#22c55e,#2dd4bf);border-radius:999px;animation:fhbar 4s ease-in-out infinite alternate}@keyframes fhbar{from{width:20%}to{width:82%}}.fh-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.fh-live-stat{background:#081827;border:1px solid #1a3853;border-radius:12px;padding:11px}.fh-live-stat small{display:block;color:#7895ac}.fh-live-stat b{font-size:.98rem}.fh-focus-mini{display:grid;gap:9px}.fh-focus-mini a{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:11px;background:#081827;border:1px solid #1a3853}.fh-focus-mini a:hover{border-color:#2dd4bf}.fh-weight{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;border-radius:999px;background:#113d31;color:#9cf3c6;font-size:.72rem}
.fh-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fh-focus-card{border:1px solid #1f3b56;background:#0a1a2c;border-radius:14px;padding:14px}.fh-focus-card .form-range{accent-color:#2dd4bf}.fh-focus-card.disabled{opacity:.55}.fh-focus-card h3{font-size:.95rem;margin:0}.fh-focus-card small{color:#829bb1}.fh-demand-list{display:grid;gap:8px}.fh-demand-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #1a334b}.fh-demand-row:last-child{border:0}.fh-demand-row span{color:#9db0c3}.fh-noresult{color:#ffb4bd!important}
.fh-admin-quick{display:flex;gap:8px;flex-wrap:wrap}.fh-admin-quick a{font-size:.8rem;border:1px solid #24445f;background:#0a1b2d;border-radius:999px;padding:7px 10px;color:#cbe5f5}.fh-admin-quick a:hover{border-color:#2dd4bf;color:#fff}

@media(max-width:1200px){.fh-categories{grid-template-columns:repeat(4,1fr)}.fh-deal-strip{grid-template-columns:repeat(2,1fr)}.fh-focus-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:950px){.fh-live-ops{grid-template-columns:1fr}.fh-categories{grid-template-columns:repeat(3,1fr)}.fh-focus-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.fh-market-header{padding:24px 18px;border-radius:20px}.fh-search-shell{display:grid}.fh-hero-metrics{grid-template-columns:repeat(2,1fr)}.fh-categories{grid-template-columns:repeat(2,1fr)}.fh-deal-strip{grid-template-columns:1fr}.fh-focus-grid{grid-template-columns:1fr}.public-v280 .productgrid{grid-template-columns:1fr 1fr}.adminbody.v280 .adminmain{padding:14px 10px}.fh-live-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.public-v280 .productgrid{grid-template-columns:1fr}.fh-categories{grid-template-columns:1fr 1fr}.fh-hero-metrics{grid-template-columns:1fr 1fr}.fh-market-header h1{font-size:2rem}}

/* v3.0 Affiliate revenue intelligence */
.fh-affiliate-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.25rem 0;padding:1.35rem 1.5rem;border:1px solid rgba(56,189,248,.2);border-radius:22px;background:linear-gradient(135deg,rgba(14,165,233,.12),rgba(34,197,94,.08));box-shadow:0 18px 45px rgba(2,8,23,.06)}
.fh-affiliate-banner h2{margin:.2rem 0 .35rem;font-weight:850}.fh-affiliate-banner p{margin:0;color:var(--muted,#64748b)}
.affiliate-disclosure{max-width:1180px;margin:1rem auto;padding:.8rem 1rem;border:1px solid rgba(148,163,184,.28);border-radius:14px;background:rgba(148,163,184,.08);font-size:.88rem;color:var(--muted,#64748b)}
@media(max-width:720px){.fh-affiliate-banner{align-items:stretch;flex-direction:column}.fh-affiliate-banner .btn{width:100%}}
