/* Amped Up Dad Post Builder — front end. Uses the theme's tokens when present. */
.audpb-disclosure, .audpb-byline, .audpb-tldr, .audpb-picks, .audpb-glance, .audpb-card, .audpb-pc,
.audpb-specs, .audpb-table-wrap, .audpb-verdict, .audpb-authorbox, .audpb-toc, .audpb-faq, .audpb-sticky, .audpb-inline-cta {
	--a-bg: var(--bg, #0d0d0c);
	--a-alt: var(--bg-alt, #171614);
	--a-ink: var(--ink, #050505);
	--a-paper: var(--paper, #f2efe4);
	--a-red: var(--red, #ff1e1e);
	--a-red-deep: var(--red-deep, #a80f0f);
	--a-yellow: var(--yellow, #d8bd6a);
	--a-line: var(--line, #38352e);
	--a-head: 'Anton', 'Impact', sans-serif;
	--a-body: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	box-sizing: border-box;
}
.audpb-disclosure *, .audpb-picks *, .audpb-glance *, .audpb-card *, .audpb-pc *, .audpb-verdict *, .audpb-sticky *, .audpb-table-wrap * { box-sizing: border-box; }

.audpb-disclosure { font-size: .9rem; line-height: 1.4; opacity: .75; border-left: 3px solid var(--a-yellow); padding: .4rem .8rem; margin: 0 0 .75rem; }
.audpb-byline { font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--a-yellow); margin: 0 0 1.25rem; }
.audpb-byline .audpb-author { color: var(--a-paper); font-weight: 700; }

/* Badges & stars */
.audpb-badge { display: inline-block; font-family: var(--a-head); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: var(--a-yellow); color: var(--a-ink); padding: .2rem .55rem; border: 2px solid var(--a-ink); transform: rotate(-2deg); margin-bottom: .4rem; line-height: 1.2; }
.audpb-stars { position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; color: var(--a-line); vertical-align: middle; }
.audpb-stars::before { content: "★★★★★"; }
.audpb-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--a-yellow); }
.audpb-stars__fill::before { content: "★★★★★"; }
.audpb-score { font-family: var(--a-head); font-size: 1rem; vertical-align: middle; }
.audpb-rating { margin: .2rem 0 .5rem; }

/* Buttons — matches the theme's .btn-primary */
.audpb-btn, .audpb-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--a-head); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; background: var(--a-red); color: var(--a-ink) !important; border: 3px solid var(--a-ink); box-shadow: 6px 6px 0 var(--a-ink); padding: .8rem 1.3rem; line-height: 1.1; text-align: center; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; cursor: pointer; }
.audpb-btn:hover, .audpb-btn:focus-visible { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--a-ink); background: #ff3b3b; }
.audpb-btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--a-ink); }
.audpb-btn:focus-visible { outline: 3px solid var(--a-yellow); outline-offset: 3px; }
.audpb-btn--sm { font-size: .9rem; padding: .55rem .9rem; box-shadow: 4px 4px 0 var(--a-ink); }
.audpb-btn--ghost, .audpb-btn--ghost:visited { background: var(--a-paper); }
.audpb-btn--ghost:hover { background: #fff; }
.audpb-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: .8rem 0 .3rem; }
.audpb-price { font-size: .85rem; opacity: .7; margin: .35rem 0 0; }
.audpb-inline-cta { margin: 1.25rem 0 2rem; }

/* TL;DR */
.audpb-tldr { background: var(--a-paper); color: var(--a-ink); border: 3px solid var(--a-ink); box-shadow: 6px 6px 0 var(--a-red); padding: 1rem 1.2rem; margin: 0 0 1.75rem; }
.audpb-tldr p { margin: .3rem 0 0; font-size: 1.15rem; line-height: 1.45; color: var(--a-ink); }
.audpb-tldr a { color: var(--a-red-deep); }
.audpb-tldr__label { font-family: var(--a-head); text-transform: uppercase; letter-spacing: .06em; color: var(--a-red-deep); }

/* Quick picks */
.audpb-picks { background: var(--a-alt); border: 3px solid var(--a-paper); padding: 1.1rem; margin: 0 0 2rem; }
.audpb-picks__label { font-family: var(--a-head); font-size: 1.5rem; text-transform: uppercase; margin: 0 0 .8rem; color: var(--a-paper); }
.audpb-picks__list { list-style: none; margin: 0; padding: 0; counter-reset: pick; }
.audpb-pick { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .75rem 0; border-top: 1px dashed var(--a-line); }
.audpb-pick:first-child { border-top: 0; }
.audpb-pick--top { background: rgba(255, 30, 30, .08); margin: 0 -.6rem; padding: .75rem .6rem; border: 2px solid var(--a-red); }
.audpb-pick__img img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 2px solid var(--a-ink); display: block; }
.audpb-pick__info { display: flex; flex-direction: column; min-width: 0; }
.audpb-pick__info .audpb-badge { align-self: flex-start; }
.audpb-pick__name { font-family: var(--a-head); font-size: 1.15rem; color: var(--a-paper) !important; text-decoration: none; line-height: 1.15; }
.audpb-pick__name:hover { color: var(--a-yellow) !important; }
.audpb-pick__for { font-size: .95rem; opacity: .8; }

/* At a glance (single review) + product card */
.audpb-glance, .audpb-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; align-items: center; background: var(--a-alt); border: 3px solid var(--a-paper); padding: 1.2rem; margin: 0 0 1.5rem; }
.audpb-glance { border-color: var(--a-red); box-shadow: 8px 8px 0 var(--a-red-deep); margin-bottom: 2rem; }
.audpb-glance__media img, .audpb-card__media img { width: 100%; height: auto; max-height: 340px; object-fit: contain; background: #fff; border: 3px solid var(--a-ink); display: block; }
.audpb-glance__name, .audpb-card__name { font-family: var(--a-head); font-size: 1.6rem; line-height: 1.1; margin: 0; color: var(--a-paper); text-transform: uppercase; }
.audpb-bestfor { margin: .2rem 0; font-size: 1.05rem; }
.audpb-bestfor strong { color: var(--a-yellow); }
.audpb-mini-pros { list-style: none; padding: 0; margin: .5rem 0; }
.audpb-mini-pros li { padding-left: 1.4rem; position: relative; margin: .2rem 0; }
.audpb-mini-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--a-yellow); font-weight: 700; }

/* Pros / cons */
.audpb-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.audpb-pc__col { border: 2px solid var(--a-line); padding: .9rem 1rem; background: var(--a-alt); }
.audpb-pc__col--pro { border-top: 5px solid var(--a-yellow); }
.audpb-pc__col--con { border-top: 5px solid var(--a-red); }
.audpb-pc__title { font-family: var(--a-head); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .4rem; }
.audpb-pc ul { list-style: none; margin: 0; padding: 0; }
.audpb-pc li { position: relative; padding-left: 1.4rem; margin: .3rem 0; line-height: 1.35; }
.audpb-pc__col--pro li::before { content: "+"; position: absolute; left: 0; color: var(--a-yellow); font-weight: 800; }
.audpb-pc__col--con li::before { content: "–"; position: absolute; left: 0; color: var(--a-red); font-weight: 800; }

/* Specs */
.audpb-specs { border: 2px solid var(--a-line); margin: 0 0 1.25rem; }
.audpb-specs summary { cursor: pointer; padding: .6rem 1rem; font-family: var(--a-head); text-transform: uppercase; letter-spacing: .04em; }
.audpb-specs table { width: 100%; border-collapse: collapse; margin: 0; }
.audpb-specs th, .audpb-specs td { text-align: left; padding: .45rem 1rem; border-top: 1px solid var(--a-line); font-size: 1rem; }
.audpb-specs th { width: 40%; color: var(--a-yellow); font-weight: 600; }

/* Comparison table */
.audpb-table-wrap { overflow-x: auto; margin: 0 0 2rem; border: 3px solid var(--a-paper); }
.audpb-table { width: 100%; border-collapse: collapse; min-width: 560px; margin: 0; }
.audpb-table th { font-family: var(--a-head); text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: .7rem; background: var(--a-paper); color: var(--a-ink); }
.audpb-table td { padding: .7rem; border-top: 1px solid var(--a-line); vertical-align: middle; }
.audpb-table tr.is-top td { background: rgba(255, 30, 30, .08); }
.audpb-table__prod { display: flex; align-items: center; gap: .7rem; }
.audpb-table__prod img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 2px solid var(--a-ink); }
.audpb-table__prod div { display: flex; flex-direction: column; align-items: flex-start; }

/* TOC */
.audpb-toc { border: 2px dashed var(--a-line); padding: .4rem 1rem; margin: 1.5rem 0 2rem; }
.audpb-toc summary { cursor: pointer; font-family: var(--a-head); text-transform: uppercase; letter-spacing: .05em; padding: .4rem 0; }
.audpb-toc ol { margin: .3rem 0 .6rem 1.2rem; padding: 0; }
.audpb-toc li { margin: .25rem 0; }
.audpb-toc a { color: var(--a-paper); }
.audpb-toc a:hover { color: var(--a-yellow); }

/* FAQ */
.audpb-faq__item { border-bottom: 1px solid var(--a-line); }
.audpb-faq__item summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; position: relative; }
.audpb-faq__item summary::-webkit-details-marker { display: none; }
.audpb-faq__item summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font-family: var(--a-head); font-size: 1.5rem; color: var(--a-red); }
.audpb-faq__item[open] summary::after { content: "–"; }
.audpb-faq__item summary h3 { display: inline; font-size: 1.2rem; margin: 0; }
.audpb-faq__a { padding: 0 0 .8rem; }

/* Verdict */
.audpb-verdict { background: var(--a-paper); color: var(--a-ink); border: 3px solid var(--a-ink); box-shadow: 8px 8px 0 var(--a-red); padding: 1.3rem; margin: 0 0 2rem; }
.audpb-verdict p { color: var(--a-ink); }
.audpb-verdict__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; border-top: 2px dashed var(--a-ink); padding-top: 1rem; margin-top: .5rem; }
.audpb-verdict__pick img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 2px solid var(--a-ink); }
.audpb-verdict__pick > div { display: flex; flex-direction: column; flex: 1 1 160px; align-items: flex-start; }
.audpb-verdict__pick strong { font-family: var(--a-head); font-size: 1.3rem; text-transform: uppercase; }

/* Author box */
.audpb-authorbox { border-left: 5px solid var(--a-red); background: var(--a-alt); padding: 1rem 1.2rem; margin: 2rem 0; }
.audpb-authorbox__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--a-yellow); }
.audpb-authorbox strong { font-family: var(--a-head); font-size: 1.3rem; text-transform: uppercase; }
.audpb-authorbox p { margin: .3rem 0 0; }

/* Sticky mobile bar */
.audpb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: none; align-items: center; gap: .75rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--a-bg); border-top: 3px solid var(--a-red); transform: translateY(110%); transition: transform .25s ease; }
.audpb-sticky.is-visible { transform: translateY(0); }
.audpb-sticky__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.audpb-sticky__txt .audpb-badge { align-self: flex-start; font-size: .65rem; margin-bottom: .15rem; }
.audpb-sticky__txt strong { font-family: var(--a-head); color: var(--a-paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.audpb-sticky__x { background: none; border: 0; color: var(--a-paper); font-size: 1.6rem; line-height: 1; padding: .2rem .3rem; cursor: pointer; }
@media (max-width: 782px) { .audpb-sticky:not([hidden]) { display: flex; } }
.audpb-sticky .audpb-badge { transform: none; border-width: 1px; padding: .1rem .35rem; }
.audpb-sticky__txt strong { font-size: 1rem; line-height: 1.15; }
.audpb-sticky .audpb-btn { flex: none; font-size: .8rem; padding: .55rem .7rem; white-space: nowrap; box-shadow: 3px 3px 0 var(--a-ink); }

/* Reveal */
.audpb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.audpb-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
	.audpb-table { min-width: 0; }
	.audpb-table thead { display: none; }
	.audpb-table, .audpb-table tbody, .audpb-table tr, .audpb-table td { display: block; width: 100%; }
	.audpb-table tr { padding: .8rem; border-top: 2px solid var(--a-line); }
	.audpb-table tr:first-child { border-top: 0; }
	.audpb-table td { border: 0; padding: .2rem 0; }
	.audpb-table td[data-label="Best for"]::before, .audpb-table td[data-label="Rating"]::before { content: attr(data-label) ": "; color: var(--a-yellow); font-weight: 600; }
	.audpb-table td .audpb-btn { width: 100%; margin-top: .4rem; }
	.audpb-glance, .audpb-card { grid-template-columns: 1fr; gap: 1rem; }
	.audpb-pc { grid-template-columns: 1fr; }
	.audpb-pick { grid-template-columns: 56px 1fr; }
	.audpb-pick .audpb-btn { grid-column: 1 / -1; width: 100%; }
	.audpb-actions .audpb-btn { width: 100%; }
	.audpb-pick__img img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.audpb-btn, .audpb-sticky, .audpb-reveal { transition: none; }
}
@media (max-width: 640px) { .audpb-table tr.is-top { background: rgba(255, 30, 30, .08); } .audpb-table tr.is-top td { background: none; } }
.audpb-sticky .audpb-badge { white-space: nowrap; }

/* ==========================================================================
   v1.1 — readable on any background.
   Dark boxes set their own light text so a theme's "paper" article color
   (dark ink on cream) can't leak in and make black-on-black text.
   ========================================================================== */
html body :is(.audpb-picks, .audpb-glance, .audpb-card, .audpb-pc__col, .audpb-authorbox, .audpb-toc, .audpb-specs, .audpb-sticky) {
	color: var(--a-paper);
}
html body :is(.audpb-picks, .audpb-glance, .audpb-card, .audpb-pc__col, .audpb-authorbox, .audpb-toc, .audpb-specs, .audpb-sticky) :is(p, li, td, summary, h3, h4) {
	color: inherit;
}
html body :is(.audpb-toc, .audpb-specs) { background: var(--a-alt); }
html body .audpb-pc__title { color: var(--a-paper); }
html body .audpb-pc__col--pro .audpb-pc__title { color: var(--a-yellow); }
html body .audpb-pc__col--con .audpb-pc__title { color: #ff6a6a; }
html body .audpb-pc__col--con li::before { color: #ff6a6a; }
html body .audpb-bestfor strong, html body .audpb-specs th { color: var(--a-yellow); }
html body .audpb-toc a { color: var(--a-paper); }
html body .audpb-toc a:hover { color: var(--a-yellow); }
html body .audpb-badge { color: var(--a-ink); }
html body .audpb-authorbox strong { color: var(--a-paper); }
html body .audpb-pick__for { opacity: .85; }

/* Price tier tag (auto-set from the live price). */
html body .audpb-tier { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--a-head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: .3rem .55rem; border: 2px solid currentColor; margin: .5rem 0 0; opacity: 1; }
html body .audpb-tier::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
html body .audpb-tier--1 { color: #7fd38a; }
html body .audpb-tier--2 { color: var(--a-yellow); }
html body .audpb-tier--3 { color: #ff9a4a; }
html body .audpb-tier--4 { color: #ff6a6a; }
html body .audpb-table .audpb-tier { margin: 0; font-size: .7rem; }

/* Single affiliate disclosure, styled as a "Heads up" note. */
html body .audpb-disclosure { opacity: 1; font-size: .92rem; line-height: 1.45; border: 2px dashed currentColor; border-left-width: 2px; background: rgba(216, 189, 106, .16); padding: .7rem .9rem; margin: 0 0 1.25rem; }
/* The theme prints its own notice on every post; built posts already have one. */
body.audpb-built .aff-notice { display: none !important; }

/* ==========================================================================
   v1.1.1
   ========================================================================== */

/* Comparison table: light paper card with black text, so it never ends up
   cream-on-cream whatever the theme does to tables. */
html body .audpb-table-wrap { background: var(--a-paper); color: #111; border: 3px solid var(--a-ink); box-shadow: 6px 6px 0 var(--a-ink); }
html body .audpb-table-wrap .audpb-table, html body .audpb-table-wrap .audpb-table tr { background: transparent; }
html body .audpb-table-wrap .audpb-table th { background: var(--a-ink); color: var(--a-paper); border: 0; }
html body .audpb-table-wrap .audpb-table td { background: var(--a-paper); color: #111; border-top: 1px solid rgba(0, 0, 0, .18); }
html body .audpb-table-wrap .audpb-table td strong { color: #111; }
html body .audpb-table-wrap .audpb-table tr.is-top td { background: #f7dcd6; }
html body .audpb-table-wrap .audpb-badge { border-color: var(--a-ink); }
html body .audpb-table-wrap .audpb-tier--1 { color: #1b6e2c; }
html body .audpb-table-wrap .audpb-tier--2 { color: #8a6a00; }
html body .audpb-table-wrap .audpb-tier--3 { color: #b4520f; }
html body .audpb-table-wrap .audpb-tier--4 { color: #a80f0f; }
@media (max-width: 640px) {
	html body .audpb-table-wrap .audpb-table tr { border-top: 2px solid rgba(0, 0, 0, .2); }
	html body .audpb-table-wrap .audpb-table td { border: 0; background: transparent; }
	html body .audpb-table-wrap .audpb-table tr.is-top { background: #f7dcd6; }
	html body .audpb-table-wrap .audpb-table td::before { color: var(--a-red-deep) !important; }
}

/* Buttons: lighter condensed type with a white outline so black-on-red reads easily. */
html body .audpb-btn, html body .audpb-btn:visited {
	font-family: var(--a-body);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: .06em;
	color: #050505 !important;
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}
html body .audpb-btn--sm { font-size: 1.02rem; }
html body .audpb-sticky .audpb-btn { font-size: .95rem; }

/* v1.1.3: Key specs as a cream card with black text (matches the comparison table). */
html body .audpb-specs { background: var(--a-paper); color: #111; border: 3px solid var(--a-ink); }
html body .audpb-specs summary { color: #111; }
html body .audpb-specs table, html body .audpb-specs tr { background: transparent; }
html body .audpb-specs th, html body .audpb-specs td { background: var(--a-paper); color: #111; border-top: 1px solid rgba(0, 0, 0, .18); }
html body .audpb-specs th { color: var(--a-red-deep); font-weight: 700; }
