/* Chord Lens — /youtube-to-chords, the long search page (P326 frame aZ665, grown in P328 frame CEyGs). The landing's tokens, type and FAQ;
   only its own blocks here. */

.yt-hero { overflow: hidden; isolation: isolate; padding-block: clamp(110px, 12vw, 170px) 0; }

.yt-hero__glow {
  position: absolute;
  top: -180px;
  right: -120px;
  z-index: -1;
  width: 900px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #e0184f55, #8b2be233 45%, transparent 75%);
  filter: blur(30px);
  pointer-events: none;
}

.yt-hero__title { margin: 0; font-weight: 400; }
.yt-hero__title .lp-display { display: block; font-size: clamp(64px, 11.5vw, 168px); color: var(--lp-ink); }
.yt-hero__title .lp-hand { margin-top: 0.5em; font-size: clamp(24px, 3vw, 44px); text-transform: uppercase; }

.yt-lede { max-width: 720px; margin: 28px 0 0; font-size: 20px; }

.yt-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* The still has its drop shadow baked into a transparent margin, about 8% on each side. */
/* The home page's live player (hero.css .lp-player), set under the hero copy. */
.yt-deck { display: flow-root; margin-top: 24px; }

/* Its own --lp-pad, so the chips' #links land under the header the way .lp-section reckons it. */
.yt-sec { --lp-pad: clamp(56px, 7vw, 110px); padding-block: var(--lp-pad) 0; }
.yt-note { font-size: 30px; }
.yt-text { max-width: 760px; margin: 28px 0 0; }

.yt-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.yt-way { padding: 32px; border: 1px solid #ffffff14; border-radius: 22px; background: #ffffff06; }
.yt-way h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.4px; color: #fff; }
.yt-way__sub { margin: 8px 0 0; font: 12px var(--lp-mono); color: var(--lp-ink-3); }
.yt-way ol { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.yt-way li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; font-size: 17px; line-height: 1.5; color: var(--lp-ink-2); }
.yt-way li::before { content: counter(step, decimal-leading-zero); font: 13px/1.9 var(--lp-mono); color: var(--lp-hot); }

.yt-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.yt-chips li { padding: 10px 18px; border-radius: 999px; background: #ffffff08; font-size: 15px; font-weight: 600; color: var(--lp-ink-2); }
.yt-chips li:first-child { background: #ff2d5526; box-shadow: inset 0 0 0 1px var(--lp-hot); color: #fff; }

.yt-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 48px 0 0; }
.yt-trio > div { padding-top: 24px; border-top: 1px solid #ffffff1f; }
.yt-trio dt { font: 12px var(--lp-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-ink-3); }
.yt-trio dd { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--lp-ink-2); }
.yt-trio .yt-trio__v { font: 600 40px/1 var(--lp-mono); color: var(--lp-ink); }

/* A link inside running copy: marked, since links inherit their colour (base.css). */
:is(.yt-text, .yt-prose) a { color: var(--lp-ink); text-decoration: underline; text-decoration-color: var(--lp-hot); text-underline-offset: 3px; }
:is(.yt-text, .yt-prose) a:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; border-radius: 4px; }

.yt-more { display: inline-block; margin-top: 20px; font-size: 17px; font-weight: 600; color: var(--lp-hot); text-decoration: none; }
.yt-more:hover { text-decoration: underline; }
.yt-more:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; border-radius: 4px; }

.yt .lp-faq { margin-top: clamp(56px, 7vw, 110px); }

/* P328: the long page's own blocks. */
.yt-updated { margin: 18px 0 0; font: 12px var(--lp-mono); letter-spacing: 0.08em; color: var(--lp-ink-3); }

.yt-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 40px; }
.yt-split > .yt-text { margin: 0; }
.yt-prose p { max-width: 640px; margin: 0 0 18px; }
.yt-aside { font-size: 15px; color: var(--lp-ink-3); }

.yt-card { padding: 24px 26px; border: 1px solid #ffffff14; border-radius: 20px; background: #ffffff06; }
.yt-card--hot { border-color: #ff2d5559; background: linear-gradient(160deg, #2a0c1c, #120910); }
.yt-card h3 { margin: 0; font-size: 19px; font-weight: 600; color: #fff; }
.yt-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--lp-ink-2); }
.yt-card__tag { float: right; margin-left: 12px; font: 11px var(--lp-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-ink-3); }
.yt-card--hot .yt-card__tag { color: var(--lp-hot); }
.yt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.yt-cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
/* A two-line heading with long lines: a size down, so it stays on two lines at desktop. */
.yt-h2--long { font-size: clamp(44px, 6.2vw, 92px); }
.yt-stack { display: grid; gap: 14px; }

/* At a glance: nine lines in one card. */
.yt-glance { margin: 0; padding: 12px 24px; list-style: none; border: 1px solid #ffffff14; border-radius: 24px; background: linear-gradient(160deg, #1d0a15, #0e0a0d); }
.yt-glance li { display: grid; grid-template-columns: 32px 1fr; gap: 0 16px; padding: 12px 0; border-bottom: 1px solid #ffffff10; }
.yt-glance li:last-child { border-bottom: 0; }
.yt-glance li::before { content: "\2713"; grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #ff2d5522; font-size: 15px; color: var(--lp-hot); }
.yt-glance b { font-size: 16px; font-weight: 600; color: #fff; }
.yt-glance span { font-size: 13px; color: var(--lp-ink-3); }

/* On this page: real links, wrapped as chips. */
.yt-toc { margin-top: 56px; }
.yt-toc p { margin: 0 0 12px; font: 11px var(--lp-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-ink-3); }
.yt-toc ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.yt-toc a { display: inline-flex; gap: 6px; padding: 9px 14px; border: 1px solid #ffffff1f; border-radius: 999px; font-size: 14px; color: var(--lp-ink); text-decoration: none; }
.yt-toc a::after { content: "\2193"; color: var(--lp-hot); }
.yt-toc a:hover { border-color: var(--lp-ink-3); }
.yt-toc a:focus-visible, .yt-strip a:focus-visible, .yt-link:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }

/* How to: four numbered cards. */
.yt-steps { counter-reset: step; }
.yt-steps li { counter-increment: step; }
.yt-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; font: 900 56px/0.9 var(--lp-display); color: #ffffff33; }
.yt-steps li:last-child { border-color: #ff2d5580; }
.yt-steps li:last-child::before { color: var(--lp-hot); }
.yt-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding: 18px 24px; border: 1px solid #ffffff14; border-radius: 16px; background: #ffffff06; }
.yt-strip p { margin: 0; max-width: 680px; font-size: 15px; color: var(--lp-ink-2); }
.yt-strip a, .yt-link { font-size: 15px; font-weight: 600; color: var(--lp-hot); text-decoration: none; }

/* Accuracy: the thirty-second check. */
.yt-check ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: check; display: grid; gap: 12px; }
.yt-check li { counter-increment: check; display: grid; grid-template-columns: 28px 1fr; font-size: 15px; line-height: 1.5; color: var(--lp-ink-2); }
.yt-check li::before { content: counter(check, decimal-leading-zero); font: 11px/2 var(--lp-mono); color: var(--lp-hot); }

/* Compared: a real table, scrolled sideways on a phone rather than squeezed. */
.yt-table { margin-top: 40px; overflow-x: auto; border: 1px solid #ffffff14; border-radius: 20px; }
.yt-table:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }
.yt-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.yt-table th, .yt-table td { padding: 16px 18px; border-top: 1px solid #ffffff10; text-align: left; vertical-align: top; color: var(--lp-ink-2); }
.yt-table thead th { border-top: 0; font: 11px var(--lp-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-ink-3); }
.yt-table tbody th { font-weight: 600; color: #fff; }
.yt-table .yt-us { background: #ff2d5512; font-weight: 600; color: #fff; }
.yt-table thead .yt-us { color: var(--lp-hot); }

/* In four lines. */
.yt-recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 40px 0 0; padding: 0; list-style: none; counter-reset: line; }
.yt-recap li { counter-increment: line; padding: 0 20px 0 0; }
.yt-recap li + li { padding-left: 20px; border-left: 1px solid #ffffff14; }
.yt-recap li::before { content: counter(line); display: block; margin-bottom: 16px; font: 32px/1 var(--lp-hand); color: var(--lp-gold); }
.yt-recap h3 { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.yt-recap p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--lp-ink-3); }

/* More from Chord Lens: whole-card links. */
.yt-more-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.yt-more-head .lp-h2 { font-size: clamp(40px, 5vw, 64px); }
.yt-links a { display: block; height: 100%; box-sizing: border-box; text-decoration: none; }
.yt-links a:hover { border-color: var(--lp-ink-3); }
.yt-links a:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }
.yt-links h3::after { content: " \2192"; color: var(--lp-ink-3); }

@media (max-width: 720px) {
  .yt-recap li + li { padding-left: 0; border-left: 0; }
  .yt-recap { gap: 28px; }
}
