/* Shinigami article: the established patch-notes type and palette, translucent purple glass panels,
   real game media and item art. Scoped to .shin-notes so the shared feature styles stay untouched. */
.shin-notes {
  --article-width: 1280px;
  --glass-bg: linear-gradient(180deg, rgba(178, 140, 242, .1), rgba(178, 140, 242, .04));
  --glass-border: rgba(178, 140, 242, .24);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 32px rgba(6, 3, 12, .28);
  --gold-glass: linear-gradient(180deg, rgba(226, 192, 130, .12), rgba(226, 192, 130, .04));
  --muted-text: #b6a9c8;
  background-image:
    radial-gradient(900px 560px at 78% 220px, rgba(160, 40, 70, .16) 0%, rgba(160, 40, 70, 0) 70%),
    radial-gradient(1100px 700px at 30% 360px, #21142d 0%, var(--void) 74%);
}
.shin-notes .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shin-notes .glass, .shin-notes .quest-box, .shin-notes .item-feature, .shin-notes .item-card,
.shin-notes .glass-callout, .shin-notes .table-wrap, .shin-notes .drop-details, .shin-notes .people > div,
.shin-notes .targets > div, .shin-notes .title-card, .shin-notes .callout-with-art, .shin-notes .fix-groups > div {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
}

/* Hero */
.shin-notes .patch-hero { grid-template-columns: 1fr 1.16fr; gap: 38px; padding: 18px 0 32px; }
.shin-notes .patch-hero h1 { font-size: clamp(54px, 6.4vw, 84px); letter-spacing: .01em; }
.shin-notes .patch-deck { max-width: 500px; margin-bottom: 14px; }
.shin-notes .hero-detail { max-width: 48ch; color: var(--muted-text); font-size: 15px; line-height: 1.75; }
.shin-notes .update-status { display: inline-block; padding: 7px 12px; border: 1px solid var(--glass-border); border-radius: 4px; background: rgba(178, 140, 242, .07); color: var(--gold-hi); font-size: 13px; font-weight: 600; }
.shin-hero-shot { margin: 0; overflow: hidden; border: 1px solid var(--glass-border); border-radius: 10px; background: #080609; box-shadow: 0 18px 50px rgba(6, 3, 12, .45); }
.shin-hero-shot img { display: block; width: 100%; height: auto; }
.shin-hero-shot figcaption { padding: 13px 17px; color: var(--muted-text); font-size: 12px; line-height: 1.6; }
.shin-notes .chapter-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 12px; }
.shin-notes .chapter-links a { display: block; min-width: 0; padding: 15px 17px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--glass-bg); color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.55; }
.shin-notes .chapter-links a:hover { border-color: var(--purple-hi); }
.shin-notes .chapter-links span { display: block; margin-bottom: 3px; color: var(--gold-hi); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Layout and contents */
.shin-notes .patch-layout { grid-template-columns: 188px minmax(0, 1fr); gap: 40px; }
.shin-notes .patch-contents { max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 6px; }
.shin-notes .patch-contents a { min-height: 34px; padding: 5px 0; gap: 10px; }
.shin-notes .patch-contents a span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--glass-border); border-radius: 50%; color: var(--gold-hi); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.shin-notes .patch-contents .contents-also { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--article-rule); color: var(--muted-text); }

/* Sections */
.shin-notes .section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--gold-hi); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.shin-notes .step-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid rgba(226, 192, 130, .5); border-radius: 50%; background: var(--gold-glass); color: var(--gold-hi); font: 400 15px/1 var(--display); letter-spacing: 0; }
.shin-notes .follow-on-title { margin: 38px 0 16px; padding-top: 26px; border-top: 1px solid var(--article-rule); font: 400 28px/1.2 var(--display); }
.shin-notes .follow-on-title span { display: block; margin-top: 6px; color: var(--purple-hi); font: 600 12px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.shin-notes .patch-section h3 { color: var(--text); }
.shin-notes .patch-section h4 { margin: 0 0 6px; color: var(--text); font-size: 15px; font-weight: 600; }
.shin-notes code { padding: 2px 5px; border-radius: 3px; background: var(--void-2); color: #dacde9; font-size: .88em; }
.shin-notes .game-shot { background: rgba(8, 6, 9, .8); border-color: var(--glass-border); }
.shin-notes .game-shot figcaption strong { color: var(--gold-hi); }
.shin-notes .pixel-shot img { image-rendering: pixelated; }

/* Video and GIF media */
.shin-media { margin: 26px 0 30px; overflow: hidden; background: #080609; border: 1px solid var(--glass-border); border-radius: 10px; }
.shin-media video { display: block; width: 100%; height: auto; background: #080609; }
.shin-media .media-still { display: none; width: 100%; height: auto; }
.shin-media figcaption { padding: 13px 16px 15px; color: var(--muted-text); font-size: 13px; line-height: 1.65; }
.shin-media figcaption strong { color: var(--gold-hi); }
.shin-media figcaption a { display: inline-flex; align-items: center; min-height: 32px; margin-left: 6px; text-underline-offset: 3px; }
/* Single clips and stills stay near their native 720-960 px, so they stay sharp and the page stays scannable. */
.shin-notes .patch-section > .shin-media, .shin-notes .skill-block > .shin-media, .shin-notes .patch-section > .game-shot { max-width: 860px; }
/* A single still never grows past its own pixels. */
.shin-notes .patch-section > .game-shot { width: fit-content; }
.shin-notes .media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin: 24px 0 28px; }
.shin-notes .media-grid .shin-media { display: flex; flex-direction: column; margin: 0; }
.shin-notes .media-grid .shin-media video { flex: 1 1 auto; min-height: 0; object-fit: contain; }

/* Fact rows */
.shin-notes .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0; padding: 18px 0; border-block: 1px solid var(--article-rule); }
.shin-notes .facts > div { min-width: 0; padding: 4px 18px; }
.shin-notes .facts > div + div { border-left: 1px solid var(--article-rule); }
.shin-notes .facts strong { display: block; margin-bottom: 4px; color: var(--gold-hi); font: 400 27px/1.2 var(--display); }
.shin-notes .facts span { color: var(--muted-text); font-size: 13px; line-height: 1.5; }

/* The people of the island */
.shin-notes .people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 28px; }
.shin-notes .people > div { display: flex; min-width: 0; flex-direction: column; padding: 14px 14px 16px; }
.shin-notes .people img { display: block; width: auto; max-width: 100%; height: 108px; margin: 0 auto 10px; object-fit: contain; image-rendering: pixelated; }
.shin-notes .people h4 span { display: block; color: var(--purple-hi); font-size: 12px; font-weight: 400; }
.shin-notes .people p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.shin-notes .shot-pair { display: grid; grid-template-columns: .82fr 1fr; gap: 18px; align-items: start; margin: 8px 0 0; }
.shin-notes .shot-pair .game-shot { margin: 0 0 18px; }
.shin-notes .shot-pair .game-shot:first-child img { image-rendering: pixelated; }

/* Quest */
.shin-notes .quest-box { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: center; margin: 28px 0; padding: 22px; }
.shin-notes .quest-box p { font-size: 15px; }
.shin-notes .quest-teaser { margin: 0; }
.shin-notes .bring-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; color: #c9bdd8; font-size: 14px; }
.shin-notes .bring-list li, .shin-notes .recipe li, .shin-notes .log-strip li { display: flex; align-items: center; gap: 10px; }
.shin-notes .bring-list img, .shin-notes .recipe img, .shin-notes .log-strip img, .shin-notes .steps-table img,
.shin-notes .loot-art img, .shin-notes .item-card img, .shin-notes .item-feature > img, .shin-notes .quest-rewards img,
.shin-notes .card-intro img, .shin-notes .callout-with-art img { image-rendering: pixelated; object-fit: contain; }
.shin-notes .quest-rewards { display: grid; grid-template-columns: .7fr 1fr 1fr 1fr; gap: 14px; margin: 26px 0 20px; }
.shin-notes .quest-rewards > div { display: flex; min-width: 0; min-height: 140px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 12px; border: 1px solid rgba(226, 192, 130, .28); border-radius: 8px; background: var(--gold-glass); text-align: center; }
.shin-notes .quest-rewards strong { color: var(--gold-hi); font-size: 16px; }
.shin-notes .quest-rewards .reward-number { font: 400 clamp(30px, 3.4vw, 42px)/1.1 var(--display); }
.shin-notes .quest-rewards .reward-number.small { font-size: clamp(26px, 2.8vw, 34px); }
.shin-notes .quest-rewards span { color: var(--muted-text); font-size: 13px; line-height: 1.5; }
.shin-notes .quest-rewards img { width: 96px; height: 64px; }

/* Items */
.shin-notes .item-feature { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 24px; align-items: center; margin: 24px 0; padding: 20px 22px; }
.shin-notes .item-feature > img { width: 144px; height: 96px; }
.shin-notes .item-feature h3 { margin-bottom: 10px; color: var(--gold-hi); font: 400 24px/1.2 var(--display); }
.shin-notes .item-feature .section-lead { margin-bottom: 14px; }
.shin-notes .stat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.shin-notes .stat-list > div { min-width: 0; padding: 8px 10px; border: 1px solid rgba(178, 140, 242, .16); border-radius: 6px; background: rgba(11, 8, 18, .45); }
.shin-notes .stat-list dt { color: var(--muted-text); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.shin-notes .stat-list dd { margin: 2px 0 0; color: var(--text); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.shin-notes .stat-list.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 260px; margin: 10px 0 0; }
.shin-notes .recipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 18px; padding: 0; list-style: none; }
.shin-notes .recipe li { min-width: 0; padding: 10px 12px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--glass-bg); color: #c9bdd8; font-size: 14px; line-height: 1.35; }
.shin-notes .recipe strong { color: var(--gold-hi); }
.shin-notes .item-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.shin-notes .item-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; }
.shin-notes .item-card img { width: 96px; height: 64px; margin-bottom: 8px; }
.shin-notes .item-card h3 { margin: 0 0 2px; color: var(--gold-hi); font-size: 17px; }
.shin-notes .item-card .item-meta { margin: 0 0 10px; color: var(--purple-hi); font-size: 12px; }
.shin-notes .item-card p { font-size: 14px; line-height: 1.6; }
.shin-notes .item-card .item-source { margin: auto 0 0; padding-top: 12px; border-top: 1px solid rgba(178, 140, 242, .16); color: var(--muted-text); font-size: 13px; }
.shin-notes .item-card .item-source strong { color: var(--gold-hi); }
.shin-notes .item-card .stat-list { margin-bottom: 12px; }
.shin-notes .worn-shot img { image-rendering: pixelated; }

/* Skills */
.shin-notes .skill-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.shin-notes .skill-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--glass-bg); color: var(--text); font-size: 13px; text-decoration: none; }
.shin-notes .skill-chips a:hover { border-color: var(--purple-hi); }
.shin-notes .skill-block { scroll-margin-top: 92px; }
.shin-notes .callout-with-art { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin: 20px 0; padding: 16px 20px; }
.shin-notes .callout-with-art img { width: 96px; height: 64px; }
.shin-notes .callout-with-art p { margin: 0; font-size: 15px; }

/* Tables */
.shin-notes .table-wrap { margin: 20px 0; overflow-x: auto; }
.shin-notes .table-wrap table { width: 100%; border-collapse: collapse; color: #c5b8d4; font-size: 14px; text-align: left; }
.shin-notes .table-wrap caption { padding: 15px 18px 10px; color: var(--text); font: 600 16px/1.5 var(--body); text-align: left; }
.shin-notes .table-wrap caption span { display: block; color: var(--muted-text); font-size: 12px; font-weight: 400; }
.shin-notes .table-wrap th, .shin-notes .table-wrap td { padding: 9px 14px; border-top: 1px solid rgba(178, 140, 242, .14); vertical-align: middle; }
.shin-notes .table-wrap thead th { color: var(--muted-text); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.shin-notes .table-wrap tbody th { color: var(--text); font-weight: 400; }
.shin-notes .loot-table .loot-art { width: 64px; padding-right: 4px; }
.shin-notes .loot-art img { display: block; width: 48px; height: 32px; border-radius: 6px; background: radial-gradient(closest-side, rgba(236, 228, 212, .16), rgba(236, 228, 212, 0)); }
.shin-notes .loot-table td:nth-child(3) { color: var(--muted-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.shin-notes .loot-table .loot-odds { color: var(--gold-hi); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shin-notes .loot-table thead th:last-child { text-align: right; }
.shin-notes .loot-table .unique-row { background: rgba(226, 192, 130, .08); }
.shin-notes .loot-table .unique-row th { color: var(--gold-hi); font-weight: 600; }
.shin-notes .loot-table .nothing-row th, .shin-notes .loot-table .nothing-row .loot-odds { color: #8d82a0; }
.shin-notes .loot-blank { display: block; width: 48px; height: 32px; }
.shin-notes .steps-table tbody th { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.shin-notes .steps-table tbody th img { flex: none; width: 48px; height: 32px; }
.shin-notes .steps-table td:nth-child(3), .shin-notes .steps-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.shin-notes .tea-table td:nth-child(2), .shin-notes .tea-table td:nth-child(3), .shin-notes .tea-table td:nth-child(4) { color: var(--gold-hi); }
.shin-notes .table-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin: 20px 0; }
.shin-notes .table-pair .table-wrap { margin: 0 0 18px; }

/* Thieving targets */
.shin-notes .targets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.shin-notes .targets > div { min-width: 0; padding: 14px 14px 16px; text-align: center; }
.shin-notes .targets img { display: block; height: 104px; width: auto; max-width: 100%; margin: 0 auto 10px; object-fit: contain; image-rendering: pixelated; }
.shin-notes .targets .target-chest { height: 86px; margin-top: 10px; margin-bottom: 18px; border-radius: 6px; }
.shin-notes .targets h3 { margin: 0 0 6px; font-size: 16px; }
.shin-notes .targets h3 span { display: block; color: var(--gold-hi); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.shin-notes .targets p { margin: 0; font-size: 13.5px; line-height: 1.55; }

/* Yomi */
.shin-notes .depths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.shin-notes .depths .game-shot { margin: 0; }
.shin-notes .bestiary .npc-art { width: 76px; padding-right: 0; }
.shin-notes .bestiary .npc-art img { display: block; width: 64px; height: 76px; object-fit: contain; image-rendering: pixelated; }
.shin-notes .bestiary tbody th { min-width: 110px; color: var(--text); font-weight: 600; }
.shin-notes .bestiary tbody th span, .shin-notes .bestiary td span { display: block; color: var(--gold-hi); font-size: 12px; font-weight: 400; }
.shin-notes .bestiary td:last-child { white-space: nowrap; }
.shin-notes .rules-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 18px 0 8px; padding: 0 0 0 18px; color: #c5b8d4; font-size: 14.5px; line-height: 1.6; }
.shin-notes .rules-list li::marker { color: var(--purple-hi); }
.shin-notes .drop-list { display: grid; gap: 10px; margin: 20px 0; }
.shin-notes .drop-details { overflow: hidden; }
.shin-notes .drop-details summary { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 16px; color: var(--text); cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.shin-notes .drop-details summary::-webkit-details-marker { display: none; }
.shin-notes .drop-details summary::after { content: "+"; margin-left: auto; color: var(--purple-hi); font: 400 22px/1 var(--body); }
.shin-notes .drop-details[open] summary::after { content: "−"; }
.shin-notes .drop-details summary:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -4px; }
.shin-notes .drop-details summary img { width: 34px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.shin-notes .drop-details summary span { color: var(--muted-text); font-size: 12px; font-weight: 400; }
.shin-notes .drop-details .table-wrap { margin: 0; border: 0; border-top: 1px solid rgba(178, 140, 242, .16); border-radius: 0; background: rgba(11, 8, 18, .35); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the summary already names the monster; keep the caption for screen readers only */
.shin-notes .drop-details caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Akaoni */
.shin-notes .mechanics { display: grid; gap: 12px; margin: 16px 0 24px; padding: 0; list-style: none; counter-reset: mechanic; }
.shin-notes .mechanics li { position: relative; padding: 13px 16px 13px 54px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--glass-bg); color: #c5b8d4; font-size: 15px; line-height: 1.65; counter-increment: mechanic; }
.shin-notes .mechanics li::before { content: counter(mechanic); position: absolute; top: 12px; left: 14px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid rgba(226, 192, 130, .5); border-radius: 50%; color: var(--gold-hi); font: 400 14px/1 var(--display); }
.shin-notes .mechanics strong { color: var(--text); }
.shin-notes .title-card { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 22px 0 0; padding: 20px; border-color: rgba(226, 192, 130, .34); background: var(--gold-glass); text-align: center; }
.shin-notes .title-card span { color: var(--muted-text); font-size: 13px; }
.shin-notes .title-card strong { color: var(--gold-hi); font: 400 32px/1.2 var(--display); }

/* Around the island */
.shin-notes .small-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
.shin-notes .small-features p { font-size: 15px; }
.shin-notes .log-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 18px; padding: 0; list-style: none; }
.shin-notes .log-strip li { min-width: 0; padding: 8px 10px; border: 1px solid var(--glass-border); border-radius: 8px; background: var(--glass-bg); color: #c9bdd8; font-size: 13px; line-height: 1.35; }
.shin-notes .log-strip li.tier-iv { border-color: rgba(226, 192, 130, .34); background: var(--gold-glass); }

/* Also in this release */
.shin-notes .also-divider { margin: 18px 0 0; padding: 30px 26px 28px; border: 1px solid var(--glass-border); border-radius: 12px; background:
  radial-gradient(420px 180px at 90% 0%, rgba(178, 140, 242, .16), rgba(178, 140, 242, 0)), var(--glass-bg); box-shadow: var(--glass-shadow); scroll-margin-top: 92px; }
.shin-notes .also-divider h2 { margin: 0 0 10px; color: var(--text); font: 400 clamp(29px, 3vw, 38px)/1.17 var(--display); }
.shin-notes .also-divider p:not(.section-kicker) { max-width: 64ch; margin: 0; color: #c9bdd8; font-size: 16px; line-height: 1.7; }
.shin-notes .also-divider + .patch-section { border-top: 0; }
.shin-notes .card-intro { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; margin: 18px 0; }
.shin-notes .card-intro img { width: 96px; height: 64px; }
.shin-notes .card-intro .section-lead { margin: 0; }
.shin-notes .glass-callout { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--purple-hi); }
.shin-notes .glass-callout h3 { color: var(--gold-hi); }
.shin-notes .glass-callout p { font-size: 15px; }

/* From your suggestions */
.shin-notes .item-feature h4 { margin: 0 0 10px; color: var(--gold-hi); font: 400 24px/1.2 var(--display); }
.shin-notes .how-to { display: grid; gap: 6px; margin: 0; padding: 0 0 0 22px; color: #c5b8d4; font-size: 15px; line-height: 1.6; }
.shin-notes .how-to li::marker { color: var(--gold-hi); font-weight: 600; }
.shin-notes .how-to strong { color: var(--text); }
.shin-notes .media-grid > .game-shot { display: flex; flex-direction: column; margin: 0; }
.shin-notes .media-grid > .game-shot img { flex: 1 1 auto; min-height: 0; object-fit: contain; }
.shin-notes .fix-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 24px; }
.shin-notes .fix-groups > div { min-width: 0; padding: 16px 18px 18px; }
.shin-notes .fix-groups > .fix-tall { grid-column: 2; grid-row: 1 / span 2; }
.shin-notes .fix-groups h4 { margin: 0 0 10px; color: var(--purple-hi); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.shin-notes .fix-groups ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shin-notes .fix-groups li { color: #c5b8d4; font-size: 14.5px; line-height: 1.6; }
.shin-notes .fix-groups li strong { color: var(--text); }

.shin-notes .preview-note { margin: 26px 0 14px; color: #9487a4; font-size: 13px; }
.shin-notes .patch-end { margin-top: 10px; }

@media (max-width: 1100px) {
  .shin-notes .patch-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 26px; }
  .shin-notes .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .item-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .table-pair { grid-template-columns: 1fr; }
  .shin-notes .quest-rewards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .recipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shin-notes .patch-hero { grid-template-columns: 1fr; gap: 26px; }
  .shin-notes .patch-hero h1 { font-size: clamp(54px, 10vw, 76px); }
  .shin-notes .chapter-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .patch-layout { grid-template-columns: 1fr; gap: 0; }
  .shin-notes .patch-contents { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; max-height: none; overflow: visible; margin: 0 0 18px; padding: 16px 0 12px; border-top: 1px solid var(--article-rule); }
  .shin-notes .patch-contents h2 { grid-column: 1 / -1; margin-bottom: 4px; }
  .shin-notes .patch-contents .contents-also { margin-top: 10px; padding-top: 12px; }
  .shin-notes .patch-contents a { min-height: 40px; }
  .shin-notes .quest-box { grid-template-columns: 1fr; }
  .shin-notes .depths { grid-template-columns: 1fr 1fr; }
  .shin-notes .targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shin-notes .patch-heading { padding: 18px 16px 24px; }
  .shin-notes .patch-layout { padding-inline: 16px; }
  .shin-notes .patch-hero { padding: 12px 0 22px; }
  .shin-notes .patch-hero h1 { font-size: clamp(46px, 13vw, 60px); }
  .shin-notes .patch-deck { font-size: 17px; }
  .shin-notes .chapter-links { grid-template-columns: 1fr; gap: 8px; }
  .shin-notes .chapter-links a { padding: 11px 14px; }
  .shin-notes .patch-section { padding: 26px 0 30px; }
  .shin-notes .patch-section p { font-size: 15px; }
  .shin-notes .follow-on-title { font-size: 24px; }
  .shin-media, .shin-notes .game-shot { margin-block: 20px; }
  .shin-media figcaption { padding: 11px 13px 13px; }
  .shin-notes .media-grid { grid-template-columns: 1fr; gap: 14px; }
  .shin-notes .facts { grid-template-columns: 1fr; padding: 6px 0; }
  .shin-notes .facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 2px; }
  .shin-notes .facts > div + div { border-left: 0; border-top: 1px solid var(--article-rule); }
  .shin-notes .facts strong { flex: none; margin: 0; font-size: 22px; white-space: nowrap; }
  .shin-notes .facts span { text-align: right; }
  .shin-notes .people { gap: 10px; }
  .shin-notes .people > div { padding: 12px 11px 13px; }
  .shin-notes .people img { height: 84px; }
  .shin-notes .people p { font-size: 13px; }
  .shin-notes .shot-pair { grid-template-columns: 1fr; }
  .shin-notes .quest-box { padding: 16px; }
  .shin-notes .quest-rewards > div { min-height: 118px; }
  .shin-notes .item-feature { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .shin-notes .item-feature > img { width: 96px; height: 64px; }
  .shin-notes .stat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .recipe { grid-template-columns: 1fr; }
  .shin-notes .item-cards { grid-template-columns: 1fr; }
  .shin-notes .small-features { grid-template-columns: 1fr; gap: 12px; }
  .shin-notes .log-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shin-notes .rules-list { grid-template-columns: 1fr; }
  .shin-notes .depths { grid-template-columns: 1fr; }
  .shin-notes .table-wrap table { font-size: 13px; }
  .shin-notes .table-wrap th, .shin-notes .table-wrap td { padding: 8px 9px; }
  .shin-notes .loot-table .loot-art { width: 44px; }
  .shin-notes .loot-art img, .shin-notes .loot-blank { width: 36px; height: 24px; }
  .shin-notes .steps-table tbody th { min-width: 0; }
  .shin-notes .steps-table thead { display: none; }
  .shin-notes .steps-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; padding: 10px 12px; border-top: 1px solid rgba(178, 140, 242, .14); }
  .shin-notes .steps-table tbody th { grid-column: 1 / -1; }
  .shin-notes .steps-table th, .shin-notes .steps-table td { padding: 0; border: 0; }
  .shin-notes .steps-table td:nth-child(2) { grid-column: 1 / -1; color: var(--muted-text); }
  .shin-notes .tea-table td:last-child { grid-column: 1 / -1; }
  .shin-notes .bestiary thead { display: none; }
  .shin-notes .bestiary tr { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 12px; padding: 12px; border-top: 1px solid rgba(178, 140, 242, .14); }
  .shin-notes .bestiary th, .shin-notes .bestiary td { padding: 0; border: 0; }
  .shin-notes .bestiary .npc-art { grid-row: span 4; width: 64px; }
  .shin-notes .bestiary td[data-label]::before { content: attr(data-label) ": "; color: var(--muted-text); }
  .shin-notes .bestiary td:last-child { white-space: normal; }
  .shin-notes .bestiary td span { display: inline; }
  .shin-notes .bestiary td span::before { content: ", "; color: var(--muted-text); }
  .shin-notes .callout-with-art { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .shin-notes .callout-with-art img { width: 64px; height: 43px; }
  .shin-notes .card-intro { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .shin-notes .card-intro img { width: 64px; height: 43px; }
  .shin-notes .also-divider { padding: 22px 18px; }
  .shin-notes .mechanics li { padding: 12px 13px 12px 48px; font-size: 14px; }
  .shin-notes .mechanics li::before { left: 12px; }
  .shin-notes .item-feature h4 { font-size: 21px; }
  .shin-notes .fix-groups { grid-template-columns: 1fr; gap: 10px; }
  .shin-notes .fix-groups > .fix-tall { grid-column: auto; grid-row: auto; }
  .shin-notes .fix-groups > div { padding: 14px 15px 16px; }
  .shin-notes .fix-groups li { font-size: 14px; }
}
@media (max-width: 380px) {
  .shin-notes .people { grid-template-columns: 1fr; }
  .shin-notes .targets { grid-template-columns: 1fr; }
  .shin-notes .quest-rewards { grid-template-columns: 1fr; }
  .shin-notes .log-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .shin-notes *, .shin-notes *::before, .shin-notes *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .shin-media video { display: none; }
  .shin-media .media-still { display: block; }
}
@media print {
  .shin-notes .chapter-links, .shin-notes .patch-contents, .shin-notes .patch-read, .shin-notes .skill-chips { display: none; }
  .shin-notes .patch-hero, .shin-notes .patch-layout { display: block; }
  .shin-media video { display: none; }
  .shin-media .media-still { display: block; }
  .shin-media, .shin-notes .game-shot, .shin-notes .table-wrap, .shin-notes .item-card { break-inside: avoid; }
}
