/* Overdrive 3.17 — reader experience. Small, final cascade layer. */

/* Search: useful destinations before a query is typed. */
.go-search__quick{margin-top:18px;padding-top:16px;border-top:1px solid var(--border);display:grid;gap:10px}
.go-search__quick[hidden]{display:none!important}
.go-search__quick-label,.go-home-continue__eyebrow{font-family:var(--font-mono);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}
.go-search__quick-links{display:flex;flex-wrap:wrap;gap:8px}
.go-search__quick-links a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--text);font-size:.82rem;font-weight:700;text-decoration:none}
.go-search__quick-links a:hover,.go-search__quick-links a:focus-visible{border-color:var(--lime);color:var(--lime-dim)}

/* Continue reading: private local history surfaced early, never a generic feed. */
html.go-has-continue .go-home-continue--early[hidden]{display:block!important}
html.go-has-continue .go-home-continue--early{min-height:310px}
.go-home-continue--early{padding-top:clamp(22px,3vw,34px);padding-bottom:clamp(10px,2vw,20px)}
.go-home-continue--early .go-section__head>div{display:grid;gap:4px}
.go-home-continue--early .go-product-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.go-home-continue--early .go-product-card{background:var(--slate)}
.go-home-continue--early .go-product-card p{display:none}
.go-reading-progress{display:block;position:relative;height:3px;margin-top:10px;border-radius:999px;overflow:hidden;background:var(--frame)}
.go-reading-progress>i{display:block;height:100%;background:var(--lime);border-radius:inherit}
.go-reading-progress__label{display:block;margin-top:6px;font-family:var(--font-mono);font-size:.7rem;color:var(--text-secondary)}

/* Quiet trust signal after the author module. */
.go-editorial-feedback{margin:10px 0 28px!important;font-size:.78rem!important;line-height:1.4!important;color:var(--text-secondary)!important}
.go-editorial-feedback a{color:inherit!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important}
.go-editorial-feedback a:hover{color:var(--lime-dim)!important}


/* Mobile home: one strong cover + two supporting stories; remove the second wall of three cards. */
@media (max-width:767px){
  body.home.go-verge .go-hero-visual__bottom{display:none!important}
  body.home.go-verge .go-hero-visual__side{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  body.home.go-verge .go-hero-visual__side .go-tile__title{font-size:clamp(.95rem,4.2vw,1.08rem);line-height:1.15}
  html.go-has-continue .go-home-continue--early{min-height:340px}
  .go-home-continue--early .go-section__head{align-items:flex-end}
  .go-home-continue--early .go-section__head .go-btn{min-height:38px;padding-inline:11px;font-size:.72rem}
  .go-home-continue--early .go-product-card-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  .go-home-continue--early .go-product-card{flex:0 0 min(78vw,310px);scroll-snap-align:start}
  .go-home-continue--early .go-product-card__media{aspect-ratio:16/9}
  .go-search__quick-links{gap:7px}
  .go-search__quick-links a{min-height:36px;padding:7px 10px;font-size:.78rem}
}

@media (prefers-reduced-motion:reduce){
  .go-home-continue--early .go-product-card-grid{scroll-behavior:auto}
}

/* ========================================================================== 
   3.17.2 — Mobile reader controls + permanent dark drawer hardening
   ========================================================================== */

/* The drawer is part of the permanent dark chrome in both themes. Keep every
   navigation row transparent so a late light-mode bundle cannot turn pieces of
   the drawer into white cards. */
body.go-verge .go-offcanvas,
body.go-verge .go-offcanvas__head,
body.go-verge .go-offcanvas__body,
body.go-verge .go-offcanvas__menu,
body.go-verge .go-offcanvas__submenu,
body.go-verge .go-offcanvas__group-row {
	background-color: #0b0712 !important;
	color: #f2f2f0 !important;
}
body.go-verge .go-offcanvas__menu a,
body.go-verge .go-offcanvas__submenu a,
body.go-verge .go-offcanvas__group-link,
body.go-verge .go-offcanvas__direct > a,
body.go-verge .go-offcanvas__group-toggle {
	background: transparent !important;
}

@media (max-width: 767px) {

	/* A second fixed circle on the opposite corner adds no essential article
	   function and repeatedly covers the last words of mobile lines. Keep the
	   desktop shortcut, but remove it from the mobile reading surface. */
	body.single-post.go-verge .go-backtop {
		display: none !important;
	}
}
