/* THE SECTION UNDER THE APP (matchups part 1, 15 Nov 2026; Ben chose "underneath the app"). Loaded only by a page that
   has the section (api/compare.js withMore): a matchup in the list ("The quick version", the video, "Popular comparisons
   with these bikes") or a passing bike's own page ("Popular comparisons with this bike").

   The app stays exactly as it is, full screen. Its markup sits in #appWrap, one screen tall; "contain: layout" makes
   that box what the app's fixed parts are placed from, so at the top of the page everything is where it always was,
   and scrolling down moves the WHOLE app up and away, Buy buttons included. Nothing slides over the app.
   html.more is taken off by more.js while the bikes on screen aren't the pair the page arrived with: the box then
   vanishes (display: contents) and the page is the plain app again. */

html.more, html.more body { height: auto; overflow: visible; }
html.more { overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }		/* no scrollbar: it would take 15px off the app's width */
html.more::-webkit-scrollbar { display: none; }
html.more.moreLock { overflow: hidden; }		/* an overlay is up (more.js): the page doesn't scroll under it.. */
html.more.moreLock #more { display: none; }		/* ..and has nothing to scroll to: "overflow: hidden" alone still lets a script or the keyboard's focus scroll the
										   page (the Buy audit found the Buy panel's links pushed off the top that way, 15 Nov 2026). With the
										   section out of the layout the page is one screen tall, exactly as it is without the section */

#appWrap { display: contents; }
html.more #appWrap
{
	display: block;
	position: relative;
	height: 100vh;
	height: 100dvh;
	contain: layout;
	overflow: hidden;
	overflow: clip;
}

/* the hint: small, in the 2D view's bottom-right corner (the logo has the bottom-left on a desktop), under every overlay.
   A phone held upright has Buy and the maker's link along the bottom, so there it sits in the gap above Buy (more.js
   measures where Buy is: --moreHintUp). A button: on a phone the app takes the finger's drags, so a tap is the way down */
#moreHint { display: none; }
html.more #moreHint
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: absolute;
	right: 14px;
	bottom: 12px;
	z-index: 3;
	box-sizing: border-box;
	min-height: 32px;
	padding: 0 14px;
	border: 1px solid var(--bk-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--bk-blue);
	font-family: var(--head);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
html.more #moreHint::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }		/* 44px to tap */
html.more #moreHint:focus-visible { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
html.more.moreDown #moreHint { opacity: 0; pointer-events: none; }
@media (hover: hover) { html.more #moreHint:hover { border-color: var(--bk-blue); } }
html.more.phone.land #moreHint { right: max(12px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); }
html.more.phone:not(.land) #moreHint { right: auto; left: 50%; transform: translateX(-50%); bottom: var(--moreHintUp, 120px); }

/* the section */
#more { display: none; }
html.more #more
{
	display: block;
	background: var(--bk-light-blue);
	border-top: 1px solid var(--bk-border);
	color: var(--bk-text);
	font-family: var(--body);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.moreIn { box-sizing: border-box; max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
.moreNames { margin: 0 0 6px; font-family: var(--head); font-weight: 500; font-size: 13px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bk-text-grey); }
.moreA { color: var(--bk-bike1-tint-text); }
.moreB { color: var(--bk-bike2-text); }
.moreVs { color: var(--bk-text-grey); font-weight: 400; text-transform: none; }
.moreH { margin: 0 0 12px; font-family: var(--head); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--bk-navy); }
.moreText { margin: 0 0 32px; font-size: 18px; line-height: 1.6; }
#more .pkVideo { max-width: none; margin: 0 0 32px; }
.moreLinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bk-border); }
.moreLinks li { margin: 0; border-bottom: 1px solid var(--bk-border); }
.moreLinks a { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; min-height: 44px; padding: 8px 4px; box-sizing: border-box; color: var(--bk-blue); font-family: var(--head); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.moreLinks a:hover, .moreAll a:hover { text-decoration: underline; }
.moreLinks a:focus-visible, .moreAll a:focus-visible { outline: 2px solid var(--bk-blue); outline-offset: 2px; }
.moreAll { margin: 16px 0 0; font-size: 15px; }
.moreAll a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bk-blue); font-weight: 600; }
.moreUpRow { margin: 28px 0 0; }
.moreUpRow .topBtn { min-height: 44px; text-transform: uppercase; }
@media (max-width: 760px)
{
	.moreIn { padding: 28px 16px 44px; }
	.moreH { font-size: 22px; }
	.moreText { font-size: 17px; }
}
