/* PLAYROOM LOG: a readable notebook behind the red and yellow game shelf. */
:root {
  --paper: #fffcef;
  --ink: #161616;
  --red: #dc4544;
  --yellow: #ffe545;
  --muted: #62625a;
  --line: #d6d3c6;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.9 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid #254de0; outline-offset: 5px; }
.j-skip { position: absolute; top: -90px; background: white; padding: 15px; z-index: 10; }
.j-skip:focus { top: 0; }
.j-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(32px, calc((100% - 1160px)/2)); border-bottom: 2px solid var(--ink); }
.j-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.j-brand > span { display: block; width: 43px; line-height: 46px; font-size: 32px; font-weight: 950; text-align: center; background: var(--ink); color: var(--paper); transform: skew(-8deg); }
.j-brand b { font-size: 21px; letter-spacing: -1px; font-weight: 950; }
.j-header nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; font-weight: 700; }
.j-header nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.j-header nav a:hover { text-decoration: underline; }
.journal-wrap { width: calc(100% - 80px); max-width: 1160px; margin: auto; }
.j-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 25px 0 33px; color: var(--muted); font-size: 11px; }
.j-category { display: block; color: #a62626; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.article-header { border-bottom: 3px solid var(--ink); padding-bottom: 38px; margin-bottom: 44px; }
.article-opening { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 52px; align-items: start; }
.article-header h1 { font-size: clamp(30px, 3.2vw, 43px); font-weight: 900; line-height: 1.65; letter-spacing: -.04em; margin: 12px 0 24px; overflow-wrap: anywhere; }
.title-phrase, .title-explanation > span { display: inline-block; max-width: 100%; text-wrap: balance; }
.article-lead { font-size: 16px; line-height: 2.05; max-width: 45em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: 11px; color: var(--muted); margin-top: 22px; }
.article-game-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 800; margin-top: 10px; }
.article-edition { padding-top: 6px; }
.article-edition > p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; font-size: 10px; color: var(--muted); }
.journal-layout { display: grid; grid-template-columns: minmax(0, 780px) 220px; justify-content: space-between; gap: 60px; }
.article-body { min-width: 0; }
.article-section { padding-top: 8px; margin-top: 48px; scroll-margin-top: 30px; }
.article-section:first-child { margin-top: 0; }
.article-section > h2 { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; max-width: 740px; font-size: 25px; font-weight: 800; line-height: 1.7; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
.article-section > h2 > span { flex: 0 0 auto; color: #a62626; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.article-section > p { max-width: 43em; font-size: 16px; line-height: 2.15; margin-bottom: 22px; overflow-wrap: anywhere; }
.article-figure { margin: 0 0 30px; }
.article-figure > a { display: block; background: #f0ede2; border: 1px solid #c8c4b5; }
.article-figure > a:hover { outline: 2px solid var(--ink); outline-offset: 3px; }
.article-figure img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.article-figure figcaption { margin-top: 11px; font-size: 12px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.article-video { margin: 28px 0 30px; }
.article-video video { display: block; width: 100%; max-width: 100%; height: auto; background: #f0ede2; border: 1px solid #c8c4b5; }
.article-video figcaption { margin-top: 11px; font-size: 12px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.article-video figcaption > a { display: block; width: fit-content; min-height: 44px; align-content: center; margin-top: 5px; }
.article-cover { margin-bottom: 0; }
.article-cover img { max-height: 300px; }
.article-cover figcaption { font-size: 11px; }
.figure-stack { margin-top: 28px; }
.figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.figure-pair img { max-height: none; }
.figure-label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.article-sidebar { position: sticky; top: 30px; align-self: start; }
.article-sidebar details { border-top: 2px solid var(--ink); padding-top: 15px; }
.article-sidebar summary { min-height: 44px; padding-block: 10px; font-size: 12px; font-weight: 800; cursor: pointer; }
.article-sidebar ol { padding-left: 20px; margin: 14px 0 0; }
.article-sidebar li { padding: 0 0 12px 2px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-sidebar li > a { display: block; min-height: 44px; padding-block: 8px; }
.article-sidebar a { text-decoration: none; }
.article-sidebar a:hover { color: var(--ink); text-decoration: underline; }
.sidebar-play { display: inline-flex; min-height: 44px; align-items: center; margin-top: 16px; font-size: 12px; font-weight: 800; border-top: 1px solid var(--line); width: 100%; }
.article-play { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; padding: 24px 0; border-block: 2px solid var(--ink); margin: 50px 0 30px; }
.article-play > div { flex: 1 1 240px; }
.article-play span { font-size: 11px; color: var(--muted); }
.article-play h2 { font-size: 21px; line-height: 1.6; margin-top: 5px; }
.j-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 2px solid var(--ink); background: var(--yellow); font-size: 13px; font-weight: 800; text-decoration: none; }
.j-button:hover { background: var(--ink); color: var(--paper); }
.comment-link { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.author-note { display: flex; gap: 18px; padding: 12px 0 30px; }
.author-note > img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.author-note h2 { font-size: 14px; margin-bottom: 6px; }
.author-note p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 6px; max-width: 42em; }
.author-note a { font-size: 12px; display: inline-flex; align-items: center; min-height: 40px; }
.journal-related { border-top: 3px solid var(--ink); margin-top: 45px; padding: 30px 0 60px; }
.journal-related > h2 { font-size: 23px; margin-bottom: 18px; }
.journal-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.journal-card { min-width: 0; border-bottom: 1px solid var(--line); }
.journal-card > a { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; padding: 26px 0; text-decoration: none; }
.journal-card > a > img { width: 100%; aspect-ratio: 16/10; height: auto; object-fit: contain; background: #eeebdf; border: 1px solid #d5d0c0; }
.journal-card h2, .journal-card h3 { font-size: 23px; line-height: 1.7; letter-spacing: -.025em; margin: 6px 0 10px; }
.journal-card p { max-width: 50em; color: var(--muted); font-size: 14px; line-height: 1.9; }
.journal-card > a:hover h2, .journal-card > a:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.read-more { display: block; font-size: 12px; font-weight: 800; margin-top: 12px; }
.journal-index { margin-bottom: 70px; }
.journal-intro { padding: 0 0 28px; border-bottom: 3px solid var(--ink); }
.journal-intro h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.4; letter-spacing: -.04em; margin-bottom: 16px; }
.journal-intro > p { color: var(--muted); font-size: 15px; }
.journal-related .journal-card > a { grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding-block: 22px; }
.journal-related .journal-card h2, .journal-related .journal-card h3 { font-size: 20px; }
.journal-related .journal-card p { font-size: 12px; }
.info-page { max-width: 800px; padding-bottom: 70px; }
.info-page h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.6; margin: 10px 0 24px; letter-spacing: -.03em; }
.info-page section { margin-top: 36px; }
.info-page section h2 { font-size: 22px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
.info-page section p { font-size: 15px; line-height: 2.1; margin-bottom: 18px; }
.info-page > .j-button { margin-top: 24px; }
.j-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 3px solid var(--ink); background: var(--yellow); padding: 28px max(32px, calc((100% - 1160px)/2)); }
.j-footer b { font-size: 20px; font-weight: 900; letter-spacing: -.6px; }
.j-footer p { font-size: 11px; margin-top: 6px; }
.j-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }
.j-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1000px) {
  .article-opening { grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; }
  .journal-layout { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar { position: static; order: -1; }
  .article-sidebar details { padding: 14px 0; border-block: 1px solid var(--line); }
  .article-sidebar ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .sidebar-play { display: none; }
  .journal-layout { gap: 32px; }
  .article-section > p { max-width: none; }
}
@media (max-width: 650px) {
  .j-header { flex-wrap: wrap; gap: 7px 18px; padding: 15px 18px 9px; }
  .j-brand b { font-size: 18px; }
  .j-brand > span { width: 35px; line-height: 38px; font-size: 27px; }
  .j-header nav { gap: 24px; font-size: 12px; }
  .journal-wrap { width: calc(100% - 36px); }
  .j-breadcrumb { font-size: 11px; padding-block: 18px 24px; gap: 7px; }
  .article-opening { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .article-header { padding-bottom: 26px; margin-bottom: 26px; }
  .article-header h1 { font-size: 29px; line-height: 1.65; margin: 9px 0 18px; }
  .title-explanation { display: block; font-size: 22px; line-height: 1.65; margin-top: 7px; }
  .article-lead { font-size: 15px; line-height: 2; }
  .article-meta { margin-top: 18px; }
  .article-edition { display: block; padding-top: 0; }
  .article-cover { display: block; }
  .article-cover img { height: auto; width: 100%; max-height: 220px; object-fit: contain; }
  .article-cover figcaption { font-size: 11px; line-height: 1.85; margin-top: 10px; }
  .article-edition > p { margin-top: 12px; padding-top: 10px; }
  .article-sidebar ol { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar li { padding-bottom: 9px; }
  .article-section { margin-top: 36px; }
  .article-section > h2 { font-size: 22px; gap: 12px; margin-bottom: 20px; }
  .article-section > h2 > span { font-size: 11px; }
  .article-section > p { font-size: 16px; line-height: 2; margin-bottom: 20px; }
  .article-figure figcaption { font-size: 12px; }
  .figure-pair { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .article-play { gap: 14px 20px; margin-top: 36px; }
  .article-play > div { flex-basis: 100%; }
  .author-note { gap: 14px; }
  .author-note > img { width: 44px; height: 44px; }
  .journal-card > a { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding-block: 24px; }
  .journal-card h2, .journal-card h3 { font-size: 20px; line-height: 1.65; }
  .journal-card p { font-size: 13px; grid-column: 1/-1; }
  .journal-card .j-category { font-size: 10px; }
  .journal-related .journal-card > a { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .journal-related .journal-card h2, .journal-related .journal-card h3 { font-size: 18px; }
  .journal-related .journal-card p { display: none; }
  .journal-intro { padding-bottom: 22px; }
  .journal-intro h1 { font-size: 36px; margin-bottom: 12px; }
  .journal-intro > p { font-size: 14px; }
  .j-footer { flex-direction: column; align-items: start; padding: 24px 18px; gap: 18px; }
  .j-footer nav { gap: 12px 20px; }
}
@media (max-width: 370px) {
  .article-header h1 { font-size: 26px; }
  .figure-pair { grid-template-columns: minmax(0, 1fr); }
  .journal-card > a { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .journal-card > a > img { width: 100%; max-height: 180px; }
  .journal-related .journal-card > a { grid-template-columns: 75px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
