/* ===========================================================================
   polymarket_01 — clone of polymarket.com (light theme, Inter, blue accent).
   Built from a Playwright probe of the live source (June 2026):
   body #fff / text near-black, accent blue #1452f0, Yes #30a159 / No #e23939,
   light borders #e6e8ea, rounded cards. Home = featured market + hot topics
   rail + dense "All markets" prediction-card grid.
   ========================================================================== */

:root {
	--bg:          #ffffff;
	--surface:     #ffffff;
	--surface-2:   #f5f6f8;   /* search bar, hover fills */
	--surface-3:   #eceef1;
	--text:        #14141a;
	--text-2:      #6b7280;   /* secondary */
	--text-3:      #9aa1ad;   /* tertiary */
	--border:      #e6e8ea;
	--border-2:    #d8dbdf;
	--blue:        #1452f0;
	--blue-hover:  #0f43cf;
	--blue-soft:   #eaf0fe;
	--yes:         #1f9d57;
	--yes-bg:      #e7f4ec;
	--yes-bg-h:    #d6ecdf;
	--no:          #e23939;
	--no-bg:       #fbe9e9;
	--no-bg-h:     #f6dada;
	--gold:        #e6a700;
	--purple-1:    #7b5cff;
	--purple-2:    #b15cff;
	--shadow-sm:   0 1px 2px rgba(16,24,40,.06);
	--shadow:      0 4px 16px rgba(16,30,70,.08);
	--r-sm:   6px;
	--r:      10px;
	--r-card: 12px;
	--r-lg:   18px;
	--r-pill: 999px;
	--maxw:   1200px;
	--header-h: 60px;
	--nav-h:   46px;
	--ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ff);
	font-size: 15px;
	line-height: 1.5;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 600; font-size: 14px; line-height: 1;
	padding: 0 16px; height: 38px; border: 1px solid transparent;
	border-radius: var(--r); transition: background .15s, color .15s, border-color .15s, transform .05s;
	white-space: nowrap; cursor: pointer; background: none;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--surface-3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-sm { height: 32px; font-size: 13px; padding: 0 12px; }
.btn-lg { height: 46px; font-size: 16px; padding: 0 24px; }

/* ===========================================================================
   APP-DOWNLOAD BANNER (top, dismissible, slides in)
   ========================================================================== */
.appbar { background: linear-gradient(90deg, var(--blue), #3b6df5); color: #fff; }
.appbar[hidden] { display: none; }
.appbar.show { animation: appbar-in .35s ease both; }
@keyframes appbar-in { from { max-height: 0; opacity: 0; } to { max-height: 56px; opacity: 1; } }
.appbar-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.appbar-msg { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.appbar-msg i { font-size: 15px; flex-shrink: 0; }
.appbar-msg b { font-weight: 700; }
.appbar-cta { background: #fff; color: var(--blue); margin-left: auto; flex-shrink: 0; }
.appbar-cta:hover { background: var(--blue-soft); }
.appbar-close { background: none; border: 0; color: #fff; opacity: .85; width: 30px; height: 30px; font-size: 15px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); }
.appbar-close:hover { opacity: 1; background: rgba(255,255,255,.18); }
@media (max-width: 480px){ .appbar-msg { font-size: 12px; } }

/* ===========================================================================
   HEADER
   ========================================================================== */
.pm-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.pm-header-top { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.pm-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.pm-logo img { height: 26px; width: auto; }

.pm-search { flex: 1; max-width: 520px; position: relative; }
.pm-search input {
	width: 100%; height: 40px; border: 1px solid var(--border); background: var(--surface-2);
	border-radius: var(--r-pill); padding: 0 16px 0 40px; font-size: 14px; color: var(--text);
	outline: none; transition: border-color .15s, background .15s;
}
.pm-search input:focus { border-color: var(--blue); background: #fff; }
.pm-search input::placeholder { color: var(--text-3); }
.pm-search .s-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14px; pointer-events: none; }

.pm-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pm-howit { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 0 8px; }
.pm-howit:hover { color: var(--text); }
.pm-howit i { color: var(--blue); }
/* Login = blue button so it stands out. On desktop it's a blue-outline button
   (the filled register button stays the primary CTA beside it); on mobile —
   where register is hidden and login is the only header action — it becomes a
   solid blue button to pop (see the 720px media query). */
.pm-login { font-size: 14px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid var(--blue); padding: 0 16px; height: 38px; border-radius: var(--r); display: inline-flex; align-items: center; transition: background .15s, color .15s; }
.pm-login:hover { background: var(--blue-soft); color: var(--blue-hover); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; color: var(--text); font-size: 20px; align-items: center; justify-content: center; }

/* category bar */
.pm-cats { border-top: 1px solid var(--border); }
.pm-cats-inner { display: flex; align-items: center; gap: 4px; height: var(--nav-h); overflow-x: auto; scrollbar-width: none; }
.pm-cats-inner::-webkit-scrollbar { display: none; }
.cat {
	display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
	font-size: 14px; font-weight: 540; color: var(--text-2); height: 100%;
	padding: 0 10px; border-bottom: 2px solid transparent; white-space: nowrap;
	transition: color .15s, border-color .15s;
}
.cat i { font-size: 13px; }
.cat:hover { color: var(--text); }
.cat.active { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.cat.is-hot { color: var(--gold); }
.cat.is-hot.active { border-bottom-color: var(--gold); }
/* On-site cluster pages — emphasised, sit before the affiliate categories. */
.cat-article { color: var(--text); font-weight: 600; }
.cat-article:hover { color: var(--blue); }
.cat-div { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; margin: 0 6px; align-self: center; }

/* ===========================================================================
   HOME (article)
   ========================================================================== */
main { display: block; }
.home { padding: 20px 0 40px; }

/* featured row: big market card + side rail */
.feat-row { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; margin-bottom: 28px; align-items: start; }

/* featured market card */
.feat-card {
	border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
	box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 380px;
}
.feat-crumb { font-size: 13px; color: var(--text-2); font-weight: 540; display: flex; gap: 6px; align-items: center; }
.feat-crumb i { font-size: 10px; color: var(--text-3); }
.feat-head { display: flex; align-items: center; gap: 14px; }
.feat-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.feat-title { font-size: 24px; font-weight: 700; letter-spacing: -.4px; margin: 0; }
.feat-body { display: grid; grid-template-columns: minmax(220px,300px) minmax(0,1fr); gap: 24px; align-items: stretch; }
@media (max-width: 720px){ .feat-body { grid-template-columns: 1fr; } }

/* outcome list */
.outcomes { display: flex; flex-direction: column; gap: 2px; }
.outcome { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--border); }
.outcome:last-child { border-bottom: 0; }
.outcome-flag { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.outcome-ic { width: 26px; height: 26px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; font-size: 12px; }
.outcome-name { font-weight: 600; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.outcome-pct { font-weight: 700; font-size: 17px; width: 52px; text-align: right; }
.outcome-yn { display: flex; gap: 6px; }
.yn { height: 30px; min-width: 54px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.yn-yes { background: var(--yes-bg); color: var(--yes); }
.yn-yes:hover { background: var(--yes-bg-h); }
.yn-no  { background: var(--no-bg); color: var(--no); }
.yn-no:hover { background: var(--no-bg-h); }

/* probability chart (pure CSS/SVG) */
.feat-chart { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: var(--text-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.chart-svg { flex: 1; width: 100%; min-height: 150px; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.feat-foot b { color: var(--text-2); font-weight: 600; }

/* side rail */
.rail { display: flex; flex-direction: column; gap: 16px; }
.combo {
	border-radius: var(--r-lg); padding: 20px; color: #fff; position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
}
.combo .badge { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: var(--r-pill); }
.combo-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
.combo .combo-title { display: block; margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.combo p { margin: 0 0 16px; font-size: 13px; opacity: .9; line-height: 1.45; }
.combo .btn { background: #fff; color: #6b3df0; }
.combo .btn:hover { background: #f1ecff; }

.hot { border: 1px solid var(--border); border-radius: var(--r-card); padding: 6px 4px 8px; }
.hot-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; padding: 8px 12px 6px; }
.hot-head i { color: var(--text-3); font-size: 12px; }
.hot-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); }
.hot-row:hover { background: var(--surface-2); }
.hot-rank { width: 16px; text-align: center; font-weight: 700; color: var(--text-3); font-size: 13px; }
.hot-name { flex: 1; font-weight: 600; font-size: 14px; }
.hot-vol { font-size: 12px; color: var(--text-2); }
.hot-vol .fire { color: #ff6a2c; margin-left: 4px; }
.hot-explore { margin-top: 2px; }

/* ---------- all markets ---------- */
.markets-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 16px; }
.markets-head .markets-title { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -.3px; }
.markets-tools { display: flex; gap: 8px; color: var(--text-2); }
.markets-tools button { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; }
.markets-tools button:hover { background: var(--surface-2); color: var(--text); }

.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }

.mcard {
	border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
	padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .15s, border-color .15s;
}
.mcard:hover { box-shadow: var(--shadow); border-color: var(--border-2); }
.mcard-top { display: flex; align-items: flex-start; gap: 10px; }
.mcard-thumb { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.mcard-thumb.ic { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; border: 0; }
.mcard-thumb.tile { border: 0; }
.mcard-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard-title:hover { color: var(--blue); }

/* binary market: big % with chance arc. flex:1 makes the block fill the slack
   between title and footer so the % + Yes/No sit centred in the card (cards in
   a grid row stretch to the tallest sibling). */
.mcard-binary { display: flex; align-items: center; gap: 12px; flex: 1; }
.chance { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.chance svg { width: 52px; height: 52px; display: block; transform: rotate(-90deg); }
.chance-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.chance-num { font-weight: 700; font-size: 14px; color: var(--text); }
.chance-lab { font-size: 8px; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; margin-top: 2px; }
.mcard-yn { flex: 1; display: flex; gap: 8px; }
.mcard-yn .yn { flex: 1; height: 38px; }

/* multi-outcome market: stacked rows */
.mrows { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex: 1; }
.mrow { display: flex; align-items: center; gap: 8px; }
.mrow-name { flex: 1; font-size: 13px; font-weight: 540; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-pct { font-size: 13px; font-weight: 700; color: var(--text-2); width: 38px; text-align: right; }
.mrow-yn { display: flex; gap: 5px; }
.mrow-yn .yn { height: 26px; min-width: 40px; font-size: 11px; }

.mcard-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: auto; }
.mcard-foot .vol { font-weight: 600; color: var(--text-2); }
.mcard-foot .acts { display: flex; gap: 12px; }
.mcard-foot .acts i:hover { color: var(--text); }

.markets-more { display: flex; justify-content: center; margin-top: 24px; }

/* ===========================================================================
   PROSE / SEO content
   ========================================================================== */
.content { padding: 8px 0 48px; }
.content--home { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 8px; }
.prose { max-width: var(--maxw); margin: 0 auto; }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin: 0 0 18px; }
.prose h2 { font-size: 23px; font-weight: 700; letter-spacing: -.3px; margin: 32px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.prose p { margin: 0 0 16px; color: #2a2d34; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose img { display: block; max-width: 100%; height: auto; margin: 18px auto; border-radius: var(--r-card); border: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 3px solid var(--blue); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-2); }

/* ===========================================================================
   TOPLIST
   ========================================================================== */
.toplist { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.toprow {
	display: grid; grid-template-columns: 44px 1fr auto auto auto; align-items: center; gap: 16px;
	border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); padding: 16px 18px;
	box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s;
}
.toprow:hover { box-shadow: var(--shadow); border-color: var(--border-2); }
.toprow.featured { border-color: var(--blue); box-shadow: 0 4px 16px rgba(20,82,240,.12); }
.toprow-rank { font-size: 22px; font-weight: 800; color: var(--text-3); }
.toprow.featured .toprow-rank { color: var(--blue); }
.toprow-name { font-size: 17px; font-weight: 700; }
.toprow-pill { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .3px; }
.toprow-rating { text-align: center; }
.toprow-rating .num { font-size: 20px; font-weight: 800; color: var(--yes); }
.toprow-rating .den { font-size: 12px; color: var(--text-3); }
.toprow-bonus { font-size: 14px; color: var(--text-2); font-weight: 500; max-width: 200px; }
@media (max-width: 680px){
	.toprow { grid-template-columns: 36px 1fr auto; row-gap: 6px; }
	.toprow-bonus { grid-column: 2 / 4; max-width: none; }
	.toprow .btn { grid-column: 1 / 4; }
}

/* ===========================================================================
   REVIEW
   ========================================================================== */
.review-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 920px){ .review-wrap { grid-template-columns: 1fr; } }
.review-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.review-card { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.review-card-head { padding: 22px; text-align: center; border-bottom: 1px solid var(--border); }
.review-card-head .rc-logo { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); font-size: 28px; }
.review-card-head h3 { margin: 0 0 4px; font-size: 19px; font-weight: 700; }
.review-rating { display: inline-flex; align-items: baseline; gap: 3px; margin-top: 6px; }
.review-rating .num { font-size: 26px; font-weight: 800; color: var(--yes); }
.review-rating .den { font-size: 13px; color: var(--text-3); }
.review-meta { padding: 8px 22px 6px; }
.review-meta-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.review-meta-row:last-child { border-bottom: 0; }
.review-meta-row span:first-child { color: var(--text-2); }
.review-meta-row span:last-child { font-weight: 600; }
.review-card-cta { padding: 16px 22px 22px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
@media (max-width: 560px){ .pros-cons { grid-template-columns: 1fr; } }
.pc { border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px; }
.pc h4 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pc.pros h4 { color: var(--yes); }
.pc.cons h4 { color: var(--no); }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { font-size: 14px; padding: 6px 0 6px 24px; position: relative; color: #2a2d34; }
.pc.pros li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--yes); position: absolute; left: 0; font-size: 12px; }
.pc.cons li::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--no); position: absolute; left: 0; font-size: 12px; }

/* ===========================================================================
   LANDING
   ========================================================================== */
.landing-hero { text-align: center; padding: 56px 16px 40px; background: radial-gradient(120% 120% at 50% 0%, var(--blue-soft) 0%, #fff 60%); }
.landing-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -.8px; margin: 0 auto 14px; max-width: 760px; line-height: 1.1; }
.landing-hero p { font-size: 18px; color: var(--text-2); max-width: 600px; margin: 0 auto 26px; }
.landing-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.landing-feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; max-width: 980px; margin: 40px auto; padding: 0 16px; }
@media (max-width: 760px){ .landing-feats { grid-template-columns: 1fr; } .landing-hero h1 { font-size: 30px; } }
.lfeat { border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; text-align: center; }
.lfeat i { font-size: 26px; color: var(--blue); margin-bottom: 12px; }
.lfeat h3 { margin: 0 0 6px; font-size: 17px; }
.lfeat p { font-size: 14px; color: var(--text-2); margin: 0; }

/* ===========================================================================
   FOOTER
   ========================================================================== */
.pm-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 28px; margin-top: 24px; }
.pm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px){ .pm-footer-grid { grid-template-columns: 1fr 1fr; } }
.pm-footer-brand img { height: 26px; margin-bottom: 12px; }
.pm-footer-brand p { font-size: 13px; color: var(--text-2); max-width: 320px; margin: 0 0 14px; line-height: 1.5; }
.pm-foot-socials { display: flex; gap: 10px; }
.pm-foot-socials a { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.pm-foot-socials a:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); }
.pm-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); margin: 0 0 12px; font-weight: 700; }
.pm-footer-col a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; }
.pm-footer-col a:hover { color: var(--text); }
.pm-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; font-size: 12px; color: var(--text-3); }
.pm-footer-bottom .age { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 20px; border: 1px solid var(--text-3); border-radius: 4px; font-weight: 700; font-size: 11px; margin-right: 6px; }
.pm-disclaimer { display: flex; align-items: center; }

/* ===========================================================================
   MOBILE NAV / OVERLAY / BOTTOM BAR / COOKIE
   ========================================================================== */
.mnav { position: fixed; top: 0; right: 0; width: 86%; max-width: 360px; height: 100%; background: #fff; z-index: 70; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(0,0,0,.12); overflow-y: auto; }
.mnav.open { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.mnav-head img { height: 24px; }
.mnav-close { border: 0; background: none; font-size: 22px; color: var(--text-2); width: 36px; height: 36px; }
.mnav-actions { display: flex; gap: 10px; padding: 16px; }
.mnav-list { padding: 8px 0; }
.mnav-list a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-weight: 540; font-size: 15px; color: var(--text); }
.mnav-list a:hover, .mnav-list a.active { background: var(--surface-2); }
.mnav-list a i { width: 18px; text-align: center; color: var(--text-3); }
.overlay { position: fixed; inset: 0; background: rgba(15,18,30,.45); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .25s; }
.overlay.show { opacity: 1; visibility: visible; }

.bottombar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; background: #fff; border-top: 1px solid var(--border); }
.bottombar-nav { display: flex; }
.bottombar-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; font-size: 10px; color: var(--text-2); font-weight: 600; }
.bottombar-nav a i { font-size: 17px; }
.bottombar-nav a.active { color: var(--blue); }

.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 28px rgba(0,0,0,.16); border-radius: var(--r-card); padding: 16px 18px; z-index: 80; }
.cookie.hidden { display: none; }
.cookie p { margin: 0 0 12px; font-size: 13px; color: var(--text-2); }
.cookie-actions { display: flex; gap: 10px; }

/* ===========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px){
	.feat-row { grid-template-columns: 1fr; }
	.market-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px){
	.pm-howit { display: none; }
	.market-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px){
	/* Mobile: a single menu trigger — the bottom-bar "Меню". The header burger
	   stays hidden. Drop the search bar; show Реєстрація as the header CTA. */
	.pm-search { display: none; }
	.pm-login { display: none; }
	.pm-actions .btn-register { display: inline-flex; margin-left: auto; }
	.pm-cats { display: none; }
	.bottombar { display: block; }
	main { padding-bottom: 64px; }
	.feat-title { font-size: 20px; }
}
@media (max-width: 480px){
	.market-grid { grid-template-columns: 1fr; }
}
