/* VGSources' blog — Patch Notes (look.blog = 'console'). The shared editorial markup drawn in VGSources' own console language
   (src/lib/ui/sites/vgsources/*): the game menu's dark panel behind the masthead and the cards, Chakra Petch set in capitals for
   labels, violet for the brand and cyan for state, patch-note version tags for dates. The panels stay dark in both themes, as a
   game's menu does; the reading column follows the site's theme. */

.jr-kicker { display: inline-block; padding: 2px 7px; border: 1px solid #22d3ee; border-radius: 4px; font: 600 .68rem/1.4 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #22d3ee; }
a.jr-kicker:hover { background: #22d3ee; color: #120f1f; }
.jr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font: 500 .82rem/1.4 var(--font-text); color: var(--muted); font-variant-numeric: tabular-nums; }
.jr-meta > * + *::before { content: '//'; margin: 0 .55em; color: #6d28d9; }
.jr-meta a { color: var(--ink); font-weight: 700; }
.jr-pic { display: block; overflow: hidden; background: #1a1630; }
.jr-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a:hover .jr-pic img { transform: scale(1.04); }
.jr-hl { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; line-height: 1.15; text-wrap: balance; color: var(--ink); margin: 0; }
span.jr-hl { display: block; }
.jr-rule { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; font: 700 1.2rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.jr-rule::before { content: '>'; color: #22d3ee; }
.jr-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- the masthead: the game menu ---------- */
.jr-mast { margin: 6px 0 0; padding: clamp(22px, 3.4vw, 40px); background: #120f1f; border: 1px solid #2a2446; border-radius: 12px; color: #e9e6f7; }
.jr-mast .jr-kicker { border-color: #a78bfa; color: #c4b5fd; }
.jr-mast h1 { font: 700 clamp(2.4rem, 1.6rem + 3.2vw, 4rem)/1 var(--font-display); letter-spacing: .01em; text-transform: uppercase; color: #fff; margin: 12px 0 12px; }
.jr-mast h1::after { content: '_'; color: #22d3ee; margin-left: 4px; animation: jr-blink 1.1s steps(1) infinite; }
@keyframes jr-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .jr-mast h1::after { animation: none; } }
.jr-mast--sm h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.jr-mast-stand { max-width: 620px; font-size: 1.04rem; line-height: 1.6; color: #9b95b8; }
.jr-mast-stand p { margin: 0; }
.jr-sections { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.jr-sections a { padding: 6px 12px; border: 1px solid #2a2446; border-radius: 6px; font: 600 .78rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #e9e6f7; }
.jr-sections a:hover, .jr-sections a[aria-current] { border-color: #a78bfa; color: #fff; background: #241c45; }

/* ---------- the lead ---------- */
.jr-lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin: 18px 0 14px; background: #120f1f; border: 1px solid #2a2446; border-radius: 12px; overflow: hidden; color: #e9e6f7; transition: border-color .15s; }
.jr-lead:hover { color: #fff; border-color: #a78bfa; }
.jr-lead .jr-pic { width: 100%; height: 100%; min-height: 280px; }
.jr-lead-t { display: grid; gap: 12px; justify-items: start; align-content: center; min-width: 0; padding: clamp(18px, 2.6vw, 30px); }
.jr-lead .jr-hl { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); color: #fff; }
.jr-lead p { margin: 0; font-size: 1rem; line-height: 1.6; color: #9b95b8; }
.jr-lead .jr-meta { color: #9b95b8; }
.jr-more-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #a78bfa; border-radius: 6px; font: 700 .78rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #c4b5fd; }
.jr-lead:hover .jr-more-link { background: #a78bfa; color: #120f1f; }
.jr-lead:not(:has(.jr-pic)) { grid-template-columns: minmax(0, 1fr); }

/* ---------- three stories ---------- */
.jr-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.jr-trio > a { display: grid; gap: 8px; align-content: start; background: #120f1f; border: 1px solid #2a2446; border-radius: 12px; overflow: hidden; color: #e9e6f7; min-width: 0; padding-bottom: 14px; transition: border-color .15s, transform .15s; }
.jr-trio > a:hover { color: #fff; border-color: #a78bfa; transform: translateY(-2px); }
.jr-trio .jr-pic { aspect-ratio: 460 / 215; }
.jr-trio .jr-kicker { justify-self: start; margin: 4px 12px 0; }
.jr-trio .jr-hl { font-size: 1.12rem; padding: 0 12px; color: #fff; }
.jr-trio .jr-meta { padding: 0 12px; color: #9b95b8; }

/* ---------- the index: patch notes, the date as a version tag ---------- */
.jr-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jr-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid #6d28d9; border-radius: 10px; color: var(--ink); }
.jr-row:hover { color: var(--ink); border-left-color: #22d3ee; }
.jr-date { grid-area: 1 / 1; display: grid; justify-items: start; gap: 2px; font-variant-numeric: tabular-nums; }
.jr-date b { font: 700 1.1rem/1 var(--font-display); }
.jr-date b::before { content: 'v'; color: #6d28d9; margin-right: 1px; }
.jr-date span { font: 600 .66rem/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jr-row .jr-row-t { grid-area: 1 / 2; display: grid; gap: 5px; align-content: center; justify-items: start; min-width: 0; }
.jr-row .jr-pic { grid-area: 1 / 3; aspect-ratio: 460 / 215; border-radius: 6px; }
.jr-row .jr-hl { font-size: clamp(1.04rem, .96rem + .3vw, 1.2rem); }
.jr-row p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jr-row:not(:has(.jr-pic)) { grid-template-columns: 112px minmax(0, 1fr); }

.jr-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 28px 0 8px; }
.jr-pager > a, .jr-pager .page-numbers:not(.dots) { display: inline-grid; place-items: center; min-height: 40px; min-width: 40px; padding: 0 14px; border: 1px solid #2a2446; border-radius: 6px; background: #120f1f; color: #e9e6f7; font: 700 .8rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.jr-pager > a:hover, .jr-pager a.page-numbers:hover, .jr-pager .page-numbers.current { border-color: #22d3ee; color: #22d3ee; }
.jr-pager .page-numbers.dots { color: var(--muted); }
.jr-pager-no { color: var(--muted); font: 700 .8rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- the home page's block ---------- */
.jr-home { padding: 26px 0 8px; }
.jr-home-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.jr-home-head h2 { margin: 0; font: 700 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.jr-home-head .jr-more-link { color: var(--ink); border-color: var(--line); }
.jr-home-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding-top: 14px; }
.jr-home-lead { display: grid; gap: 8px; align-content: start; background: #120f1f; border: 1px solid #2a2446; border-radius: 12px; overflow: hidden; color: #e9e6f7; padding-bottom: 14px; }
.jr-home-lead:hover { color: #fff; border-color: #a78bfa; }
.jr-home-lead .jr-pic { aspect-ratio: 460 / 215; }
.jr-home-lead .jr-kicker { justify-self: start; margin: 4px 12px 0; }
.jr-home-lead .jr-hl { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); padding: 0 12px; color: #fff; }
.jr-home-lead .jr-meta { padding: 0 12px; color: #9b95b8; }
.jr-home-list { display: grid; gap: 8px; align-content: start; }
.jr-home-list a { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid #6d28d9; border-radius: 10px; color: var(--ink); }
.jr-home-list a:hover { color: var(--ink); border-left-color: #22d3ee; }
.jr-home-list .jr-hl { font-size: 1rem; margin-top: 4px; }
.jr-home-list .jr-pic { aspect-ratio: 460 / 215; border-radius: 6px; }

/* ---------- WordPress: the article ---------- */
.jr-art { padding-bottom: 32px; }
.jr-head { display: grid; gap: 12px; justify-items: start; max-width: 820px; margin: 4px 0 22px; }
.jr-head h1 { font: 700 clamp(2rem, 1.4rem + 2.4vw, 3.2rem)/1.05 var(--font-display); margin: 0; text-wrap: balance; }
.jr-stand { margin: 0; font-size: clamp(1.06rem, 1rem + .4vw, 1.2rem); line-height: 1.55; color: var(--muted); }
.jr-head .jr-meta { padding: 8px 12px; border: 1px solid var(--line); border-left: 3px solid #6d28d9; border-radius: 8px; }
.jr-hero { margin: 0 0 28px; border: 1px solid #2a2446; border-radius: 12px; overflow: hidden; background: #120f1f; }
.jr-hero img { width: 100%; height: auto; max-height: 600px; object-fit: cover; display: block; }
.jr-hero figcaption { padding: 8px 12px; font-size: .84rem; color: #9b95b8; }
.jr-body { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: clamp(26px, 4vw, 52px); align-items: start; }
.jr-body--full { grid-template-columns: minmax(0, 780px); }
.jr-art .pdt-paper { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; overflow: clip; overflow-clip-margin: 8px; } /* clip: an ad or embed wider than a phone must never widen the page */
.jr-art .entry-content { font-size: 1.07rem; line-height: 1.75; max-width: 70ch; }
.jr-art .entry-content h2 { font: 700 clamp(1.35rem, 1.15rem + .8vw, 1.75rem)/1.2 var(--font-display); margin: 1.9em 0 .6em; padding-left: 12px; border-left: 3px solid #6d28d9; }
.jr-art .entry-content h3 { font: 700 1.18rem/1.25 var(--font-display); margin: 1.6em 0 .45em; }
.jr-art .entry-content a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.jr-art .entry-content ul li::marker, .jr-art .entry-content ol li::marker { color: #6d28d9; font-weight: 700; }
/* code and console output are this blog's everyday content (errors, file paths, commands) */
.jr-art .entry-content pre, .jr-art .entry-content code { background: #120f1f; color: #e9e6f7; border-radius: 6px; }
.jr-art .entry-content code { padding: .1em .4em; }
.jr-art .entry-content pre { padding: 14px 16px; border: 1px solid #2a2446; }
.jr-art .entry-content pre code { padding: 0; }
.jr-art .entry-content blockquote { margin: 1.7em 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid #22d3ee; border-radius: 8px; color: var(--ink); }
.jr-art .entry-content blockquote p { margin: 0 0 .6em; } .jr-art .entry-content blockquote p:last-child { margin: 0; }
.jr-art .entry-content img, .jr-art .entry-content figure img { border-radius: 8px; }
.jr-art .entry-content th { background: #120f1f; color: #e9e6f7; font: 700 .78rem/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.jr-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.jr-tags span { font: 700 .72rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jr-tags a { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; font: 600 .8rem/1.4 var(--font-display); color: var(--ink); }
.jr-tags a:hover { border-color: #22d3ee; color: var(--brand); }
.jr-hop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; }
.jr-hop a { display: grid; gap: 6px; align-content: start; padding: 14px 16px; background: #120f1f; border: 1px solid #2a2446; border-radius: 10px; color: #e9e6f7; min-width: 0; }
.jr-hop a:hover { color: #fff; border-color: #a78bfa; }
.jr-hop .jr-hl { font-size: 1.08rem; color: inherit; }
.jr-hop a.nx { text-align: right; justify-items: end; }
.jr-hop a.nx:only-child { grid-column: 2; }
.jr-next { margin-top: 6px; }
.pdt-side.jr-side .widget { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; padding: 0 14px 10px; overflow: hidden; }
.pdt-side.jr-side .widget-title { margin: 0 -14px 8px; padding: 9px 14px; background: #120f1f; color: #e9e6f7; font: 700 .76rem/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.pdt-side.jr-side .pdt-latest-list li { padding: 9px 0; }
.pdt-side.jr-side .pdt-latest-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.pdt-side.jr-side .pdt-latest-list a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.pdt-side.jr-side .pdt-latest-list img { grid-row: span 2; width: 96px; height: 45px; object-fit: cover; display: block; border-radius: 4px; }
.pdt-side.jr-side .pdt-latest-t { font: 600 .94rem/1.25 var(--font-display); color: var(--ink); }
.pdt-side.jr-side .pdt-latest-d { font-size: .74rem; color: var(--muted); }
.pdt-side.jr-side .ym-latest-posts-widget { --ym-latest-accent: #6d28d9; }
.pdt-side.jr-side .ym-sidebar-latest-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; min-block-size: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pdt-side.jr-side .ym-sidebar-latest-card:last-child { border-bottom: 0; }
.pdt-side.jr-side .ym-sidebar-latest-media { aspect-ratio: 460 / 215; border-radius: 4px; }
.pdt-side.jr-side .ym-sidebar-latest-rank { background: #22d3ee; color: #120f1f; box-shadow: none; border-radius: 3px; }
.pdt-side.jr-side .ym-sidebar-latest-title { font: 600 .94rem/1.25 var(--font-display); color: var(--ink); }
.jr-art .pdt-comments { margin-top: 36px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.jr-art .pdt-comments h2, .jr-art .pdt-comments .comment-reply-title { font: 700 1.2rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.jr-list { padding-bottom: 32px; }
.jr-list .jr-body { margin-top: 18px; grid-template-columns: minmax(0, 1fr) 312px; }
.jr-list .jr-body--full { grid-template-columns: minmax(0, 1fr); }
.jr-empty { padding: 36px 0; color: var(--muted); }

@media (max-width: 1080px) { .jr-body, .jr-list .jr-body { grid-template-columns: minmax(0, 1fr); } .jr-body > .pdt-side { max-width: 640px; } }
@media (max-width: 900px) {
  .jr-lead { grid-template-columns: minmax(0, 1fr); }
  .jr-lead .jr-pic { min-height: 0; aspect-ratio: 460 / 215; }
  .jr-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-row { grid-template-columns: 96px minmax(0, 1fr) 120px; }
  .jr-home-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .jr-trio { grid-template-columns: minmax(0, 1fr); }
  .jr-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .jr-row .jr-date { grid-area: 1 / 1; display: flex; gap: 8px; align-items: baseline; }
  .jr-row .jr-row-t { grid-area: 2 / 1; }
  .jr-row .jr-pic { display: none; }
  .jr-row p { display: none; }
  .jr-hop { grid-template-columns: minmax(0, 1fr); }
  .jr-hop a.nx { text-align: left; justify-items: start; }
  .jr-hop a.nx:only-child { grid-column: auto; }
  .jr-art .entry-content { font-size: 1.03rem; }
  .jr-meta > * + *::before { content: none; }
  .jr-meta { column-gap: 10px; }
}
