/* =========================================================================
   86'd Me Phase 3 landing pages.
   Approved six-page design, scoped to .lp86-shell so the Phase 1 header, Phase 2
   homepage, article templates, ads and legacy desktop pages remain unchanged.
   ========================================================================= */

.lp86-shell {
	--hp86-paper: #fff;
	--hp86-ink: #141414;
	--hp86-muted: #4a4a4a;
	--hp86-rule: #e4e1dc;
	--hp86-red: #b0151c;
	--hp86-orange: #ff6319;
	--hp86-purple: #7a2bb8;
	--hp86-display: 'Roboto Serif', Georgia, serif;
	--hp86-deck: 'Roboto Serif', Georgia, serif;
	--hp86-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hp86-gutter: max(16px, env(safe-area-inset-left, 0px));
	--hp86-gutter-right: max(16px, env(safe-area-inset-right, 0px));
	--hp86-rule-heavy: 3px solid var(--hp86-ink);
	--lp86-accent: var(--hp86-ink);
	background: var(--hp86-paper);
	color: var(--hp86-ink);
	font-family: var(--hp86-body);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-height: normal;
	text-align: left;
	text-transform: none;
	-webkit-text-size-adjust: 100%;
}
.lp86-c-navy { --lp86-accent: #00008b; }
.lp86-c-orange { --lp86-accent: var(--hp86-orange); }
.lp86-c-yellow { --lp86-accent: #fccc0a; }
.lp86-c-green { --lp86-accent: #6cbe45; }
.lp86-shell *, .lp86-shell *::before, .lp86-shell *::after { box-sizing: border-box; }
.lp86-shell a, .lp86-shell a:visited, .lp86-shell a:hover, .lp86-shell a:focus, .lp86-shell a:active {
	background: none; color: inherit; font: inherit; font-stretch: inherit; letter-spacing: inherit; text-decoration: none; text-transform: inherit; transition: none;
}
.lp86-shell p, .lp86-shell h1, .lp86-shell h2, .lp86-shell h3, .lp86-shell ul, .lp86-shell li, .lp86-shell article, .lp86-shell section, .lp86-shell nav { margin: 0; padding: 0; }
.lp86-shell h1, .lp86-shell h2, .lp86-shell h3 { clear: none; color: inherit; font-style: normal; }
.lp86-shell ul, .lp86-shell li { list-style: none; }
.lp86-shell img { border: 0; box-shadow: none; max-width: 100%; vertical-align: middle; }
.lp86-shell svg { display: block; overflow: visible; }
.lp86-shell a:focus-visible, .lp86-shell button:focus-visible { border-radius: 6px; outline: 3px solid var(--hp86-orange); outline-offset: 3px; }
.lp86-site-main { overflow: visible; }

.lp86-page {
	display: flex; flex-direction: column; gap: 22px;
	margin: 0 auto; max-width: 520px; padding: 14px var(--hp86-gutter-right) 34px var(--hp86-gutter); width: 100%;
}
.lp86-feed { display: flex; flex-direction: column; gap: 22px; }
.lp86-skip { background: var(--hp86-ink); border-radius: 6px; color: #fff !important; font-weight: 600; left: 8px; padding: 10px 14px; position: absolute; top: -80px; z-index: 2000; }
.lp86-skip:focus { top: 8px; }

/* Section masthead */
.lp86-masthead { align-items: center; column-gap: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.lp86-masthead__title {
	font-family: var(--hp86-display); font-size: clamp(26px, 7.4vw, 40px); font-stretch: 70%; font-style: italic !important; font-weight: 800;
	letter-spacing: .005em; line-height: 1; padding: 0 0 9px 26px; position: relative; text-transform: uppercase; text-wrap: balance;
}
.lp86-masthead__title::after, .lp86-hook::after {
	border-bottom: 3px solid var(--lp86-accent); border-bottom-left-radius: 16px; border-left: 3px solid var(--lp86-accent);
	bottom: 0; content: ""; height: 18px; left: 0; pointer-events: none; position: absolute; right: 0;
}
.lp86-masthead__title::after { transform: translateY(5px); }
.lp86-masthead__dek { font-family: var(--hp86-deck); font-size: 15px; font-style: italic; grid-column: 1 / -1; line-height: 1.4; margin-top: 10px !important; max-width: 60ch; }
.lp86-masthead__icon { border-radius: 10px; display: block; height: 52px; width: 52px; }
.lp86-hook {
	font-family: var(--hp86-display); font-size: 18px; font-stretch: 80%; font-style: italic !important; font-weight: 800;
	letter-spacing: .01em; line-height: 1.1; padding: 0 0 7px 22px !important; position: relative; text-transform: uppercase;
}
.lp86-hook::after { border-bottom-left-radius: 14px; height: 15px; }

/* Adaptive filters */
.lp86-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lp86-chip {
	align-items: center; background: var(--hp86-paper) !important; border: 1.5px solid var(--hp86-ink); border-radius: 999px !important;
	display: inline-flex; font-family: var(--hp86-display) !important; font-size: 13.5px !important; font-stretch: 75%; font-weight: 800 !important;
	justify-content: center; letter-spacing: .03em !important; min-height: 44px; padding: 0 16px !important; text-transform: uppercase !important;
}
.lp86-chip[aria-current="page"] { background: var(--hp86-ink) !important; color: #fff !important; }

/* Lead and secondary pair */
.lp86-top, .lp86-lead { display: flex; flex-direction: column; }
.lp86-top { gap: 18px; }
.lp86-lead { gap: 10px; }
.lp86-lead__media, .lp86-card__media { display: block; position: relative; }
.lp86-lead__img { aspect-ratio: 16 / 9; background: var(--hp86-rule); border-radius: 8px; display: block; height: auto; object-fit: cover; width: 100%; }
.lp86-shell .hp86-feature__badges { bottom: -14px; display: flex; flex-wrap: wrap; gap: 8px; left: 12px; position: absolute; z-index: 3; }
.lp86-shell .hp86-badge { border-radius: 999px; font-family: var(--hp86-body); font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: normal; padding: 7px 14px; text-transform: uppercase; }
.lp86-shell .hp86-badge--category { background: var(--hp86-orange); color: #fff; }
.lp86-shell .hp86-badge--type { background: var(--hp86-ink); color: #fff; }
.lp86-lead__text { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.lp86-lead__title { font-family: var(--hp86-display); font-size: clamp(26px, 7.6vw, 34px); font-stretch: 56%; font-weight: 800; letter-spacing: -.01em; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.lp86-lead__summary { color: var(--hp86-muted); font-family: var(--hp86-deck); font-size: 16.5px; font-stretch: 82%; line-height: 1.45; }
.lp86-meta { align-items: baseline; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.lp86-byline { color: var(--hp86-purple); font-family: var(--hp86-display); font-size: 14px; font-stretch: 65%; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lp86-date { color: var(--hp86-muted); font-family: var(--hp86-body); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp86-pair { border-top: var(--hp86-rule-heavy); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 14px; }
.lp86-pair > .lp86-card + .lp86-card { border-left: 1.5px solid var(--hp86-ink); margin-left: 12px; padding-left: 12px; }
.lp86-card { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lp86-card__img { aspect-ratio: 4 / 3; background: var(--hp86-rule); border-radius: 8px; display: block; height: auto; object-fit: cover; width: 100%; }
.lp86-card__kicker { color: var(--hp86-red); font-family: var(--hp86-display); font-size: 12px; font-stretch: 62%; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp86-card__title { font-family: var(--hp86-display); font-size: 18px; font-stretch: 60%; font-weight: 800; line-height: 1.1; text-wrap: balance; }
.lp86-card__summary { color: var(--hp86-muted); display: none; font-family: var(--hp86-deck); font-size: 14.5px; font-stretch: 85%; line-height: 1.4; }
.lp86-stretch { position: relative; }
.lp86-stretch .lp86-cover::after { content: ""; inset: 0; position: absolute; z-index: 1; }
.lp86-stretch .lp86-above { position: relative; z-index: 2; }
.lp86-cover:focus-visible { outline: 0; }
.lp86-stretch:has(.lp86-cover:focus-visible) { border-radius: 8px; outline: 3px solid var(--hp86-orange); outline-offset: 4px; }

/* Story list, copied from the approved Phase 2 row pattern */
.lp86-list { display: flex; flex-direction: column; gap: 10px; }
.lp86-shell .hp86-stories { border-top: var(--hp86-rule-heavy); display: flex; flex-direction: column; }
.lp86-shell .hp86-story { align-items: center; border-bottom: var(--hp86-rule-heavy); display: grid; gap: 14px; grid-template-columns: 38% minmax(0, 1fr) 20px; height: 100%; padding-block: 12px; }
.lp86-shell .hp86-story__image { aspect-ratio: 4 / 3; background: var(--hp86-rule); border-radius: 8px; display: block; height: auto; object-fit: cover; width: 100%; }
.lp86-shell .hp86-story__kicker { color: var(--hp86-red); font-family: var(--hp86-display); font-size: 12px; font-stretch: 62%; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp86-shell .hp86-story__title { font-family: var(--hp86-display); font-size: 20px; font-stretch: 60%; font-weight: 800; line-height: 1.1; margin: 2px 0 4px; text-wrap: balance; }
.lp86-shell .hp86-story__summary { color: var(--hp86-muted); font-family: var(--hp86-deck); font-size: 14.5px; font-stretch: 85%; line-height: 1.4; }
.lp86-shell .hp86-story__arrow { color: var(--hp86-red); }
.lp86-new { animation: lp86-in .35s ease both; }
@keyframes lp86-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Buttons and short states */
.lp86-more { align-items: stretch; display: flex; flex-direction: column; gap: 8px; }
.lp86-btn {
	align-items: center; background: var(--hp86-paper); border: 2px solid var(--hp86-ink); border-radius: 8px; color: var(--hp86-ink);
	cursor: pointer; display: inline-flex; font-family: var(--hp86-display); font-size: 15.5px; font-stretch: 75%; font-weight: 800;
	justify-content: center; letter-spacing: .03em; min-height: 48px; padding: 0 22px; text-transform: uppercase;
}
.lp86-btn:hover { background: var(--hp86-ink); color: #fff; }
.lp86-btn--solid { background: var(--hp86-red); border-color: var(--hp86-red); color: #fff !important; }
.lp86-btn--solid:hover { background: #8e1016; border-color: #8e1016; }
.lp86-status, .lp86-endnote { color: var(--hp86-muted); font-size: 13px; margin: 0; text-align: center; }
.lp86-status { font-family: var(--hp86-body); font-variant-numeric: tabular-nums; }
.lp86-endnote { font-family: var(--hp86-deck); font-size: 15px; font-style: italic; }
.lp86-empty { align-items: center; border-bottom: var(--hp86-rule-heavy); border-top: var(--hp86-rule-heavy); display: flex; flex-direction: column; font-family: var(--hp86-deck); font-size: 16px; font-style: italic; gap: 14px; padding: 18px 0 !important; text-align: center; }

/* Optional ads collapse completely unless Advanced Ads returns content */
.lp86-ad { align-items: center; border-bottom: 1.5px solid var(--hp86-rule); border-top: 1.5px solid var(--hp86-rule); display: flex; flex-direction: column; padding-block: 12px; }
.lp86-ad:empty { display: none; }
.lp86-ad--top { border: 0; padding: 0; }
.lp86-ad--top img { display: block; height: auto; width: 100%; }
.lp86-adrow { border-bottom: var(--hp86-rule-heavy); }
.lp86-adrow .lp86-ad { border: 0; padding-block: 14px; }

/* More sections */
.lp86-explore { border-top: var(--hp86-rule-heavy); display: flex; flex-direction: column; gap: 14px; padding-top: 16px !important; }
.lp86-shell .hp86-tiles { display: grid; gap: 6px; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 520px; width: 100%; }
.lp86-shell .hp86-tile { align-items: center; display: flex; flex-direction: column; gap: 6px; min-width: 0; text-align: center; }
.lp86-shell .hp86-tile img { aspect-ratio: 1; border-radius: 12px; display: block; height: auto; transition: transform .15s ease; width: 100%; }
.lp86-shell a.hp86-tile:hover img { transform: translateY(-2px); }
.lp86-shell .hp86-tile span { font-family: var(--hp86-display); font-size: 11px; font-stretch: 70%; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
.lp86-shell .hp86-tile[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lp86-shell .hp86-tile[aria-current="page"] img { outline: 3px solid var(--hp86-ink); outline-offset: 2px; }

/* Games */
.lp86-playpill { align-items: center; align-self: center; background: var(--hp86-ink); border-radius: 999px; color: #fff; display: inline-flex; font-family: var(--hp86-body); font-size: 12px; font-weight: 600; justify-content: center; letter-spacing: .06em; min-height: 30px; padding: 0 10px; text-transform: uppercase; }
.lp86-card .lp86-playpill { align-self: flex-start; margin-top: auto; }
.lp86-shell .hp86-story--game { grid-template-columns: 38% minmax(0, 1fr) auto; }
.lp86-lead__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lp86-seriesblock { display: flex; flex-direction: column; gap: 12px; }
.lp86-series { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp86-series__card { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.lp86-series__img { aspect-ratio: 1; border-radius: 10px; display: block; height: auto; object-fit: cover; width: 100%; }
.lp86-series__title { font-family: var(--hp86-display); font-size: 15px; font-stretch: 60%; font-weight: 800; line-height: 1.1; text-wrap: balance; }
.lp86-series__when { color: var(--hp86-muted); font-family: var(--hp86-body); font-size: 12px; line-height: 1.3; }

/* Videos: no iframe or video element exists until Play is pressed */
.lp86-player { aspect-ratio: 16 / 9; background: #111; border-radius: 8px; display: block; overflow: hidden; position: relative; }
.lp86-player__image, .lp86-player iframe, .lp86-player video { border: 0; display: block; height: 100%; object-fit: cover; width: 100%; }
.lp86-play { align-items: center; background: transparent !important; border: 0 !important; cursor: pointer; display: flex; inset: 0; justify-content: center; padding: 0 !important; position: absolute; width: 100%; z-index: 3; }
.lp86-play__icon { align-items: center; background: var(--hp86-red); border-radius: 50%; box-shadow: 0 4px 18px rgba(0,0,0,.3); display: flex; height: 68px; justify-content: center; transition: transform .15s ease; width: 68px; }
.lp86-play:hover .lp86-play__icon { transform: scale(1.06); }
.lp86-card .lp86-play__icon { height: 46px; width: 46px; }
.lp86-duration { background: rgba(20,20,20,.85); border-radius: 4px; bottom: 8px; color: #fff; font-family: var(--hp86-body); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600; padding: 3px 7px; position: absolute; right: 8px; z-index: 2; }
.lp86-thumb { aspect-ratio: 16 / 9; background: var(--hp86-rule); border-radius: 8px; display: block; overflow: hidden; position: relative; width: 100%; }
.lp86-thumb__image { display: block; height: 100%; object-fit: cover; width: 100%; }
.lp86-thumb__play { align-items: center; background: var(--hp86-red); border-radius: 50%; display: flex; height: 34px; justify-content: center; left: 50%; margin: -17px 0 0 -17px; position: absolute; top: 50%; width: 34px; }
.lp86-thumb .lp86-duration { bottom: 5px; font-size: 11px; padding: 2px 5px; right: 5px; }

@media (min-width: 700px) {
	.lp86-page { max-width: 720px; }
	.lp86-card__title { font-size: 21px; }
	.lp86-card__summary { display: block; }
	.lp86-pair > .lp86-card + .lp86-card { margin-left: 20px; padding-left: 20px; }
	.lp86-more { align-items: center; }
	.lp86-series { gap: 16px; }
	.lp86-series__title { font-size: 18px; }
}

@media (min-width: 1024px) {
	.lp86-page { gap: 28px; max-width: 1120px; }
	.lp86-feed { gap: 28px; }
	.lp86-masthead__icon { border-radius: 12px; height: 64px; width: 64px; }
	.lp86-top { align-items: start; column-gap: 0; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
	.lp86-top--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
	.lp86-top .lp86-lead { padding-right: 28px; }
	.lp86-top--solo .lp86-lead { padding-right: 0; }
	.lp86-lead__title { font-size: 44px; }
	.lp86-lead__summary { font-size: 18px; }
	.lp86-top:not(.lp86-top--solo) .lp86-lead__img { aspect-ratio: 3 / 2; }
	.lp86-pair { border-left: 1.5px solid var(--hp86-ink); border-top: 0; grid-template-columns: minmax(0, 1fr); padding-left: 28px; padding-top: 0; row-gap: 18px; }
	.lp86-pair > .lp86-card + .lp86-card { border-left: 0; border-top: var(--hp86-rule-heavy); margin-left: 0; padding-left: 0; padding-top: 16px; }
	.lp86-pair .lp86-card__img { aspect-ratio: 16 / 9; }
	.lp86-pair .lp86-card__summary { display: none; }
	.lp86-list .hp86-stories { column-gap: 56px; column-rule: 1.5px solid var(--hp86-ink); columns: 2; display: block; }
	.lp86-list .hp86-stories > li { break-inside: avoid; }
	.lp86-list .hp86-story__title { font-size: 22px; }
	.lp86-series__title { font-size: 20px; }
}

@media (max-width: 400px) {
	.lp86-shell .hp86-tile span { font-size: 10.5px; font-stretch: 54%; letter-spacing: 0; }
}
@media (max-width: 360px) {
	.lp86-shell .hp86-story__title { font-size: 18px; font-stretch: 54%; hyphens: auto; }
	.lp86-shell .hp86-story--game { gap: 10px; grid-template-columns: 34% minmax(0, 1fr) auto; }
	.lp86-playpill { font-size: 11px; padding: 0 8px; }
}

/* Approved menu scroll correction, scoped to landing pages. */
html.hp86-menu-lock body.lp86-body { overflow: visible; }
html.hp86-menu-open body.lp86-body .lp86-page { overflow: visible !important; }

@media (prefers-reduced-motion: reduce) {
	.lp86-new { animation: none; }
	.lp86-play__icon, .lp86-shell .hp86-tile img { transition: none; }
}

/* Keep the long Reviews masthead clear of its icon on narrow phones. */
@media (max-width: 360px) {
	.lp86-shell[data-section="reviews"] .lp86-masthead__title { font-size: 20px; }
}

/* Restore the masthead underline gap on the five draft landing sections. */
.lp86-shell:not([data-section="videos"]) .lp86-masthead__title { padding-bottom: 9px; }

/* Mobile-only masthead refinement; retain the existing total vertical padding. */
@media (max-width: 699px) {
	.lp86-shell:not([data-section="videos"]) .lp86-masthead__title {
		padding: 6px 0 3px 10px;
		overflow-wrap: anywhere;
	}
}

/* Games & Fun lead action: retain the intended solid and hover backgrounds. */
.lp86-shell[data-section="games-fun"] .lp86-lead__actions > a.lp86-btn--solid {
    background-color: var(--hp86-red);
}
.lp86-shell[data-section="games-fun"] .lp86-lead__actions > a.lp86-btn--solid:hover {
    background-color: #8e1016;
}
