@font-face {
  font-family: 'Chosunilbo Myungjo';
  src: url('assets/Chosunilbo_myungjo.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #090c14;
  --ink-soft: #121725;
  --white: #f7f3ef;
  --mist: #c8c4c3;
  --line: rgba(237, 225, 217, .13);
  --accent: #c45b56;
  --accent-soft: #d5a593;
  --font-large: clamp(34px, 3.2vw, 44px);
  --font-normal: clamp(16px, 1.25vw, 18px);
  --font-small: clamp(12px, 1vw, 14px);
  --sans: 'Pretendard Variable', Pretendard, sans-serif;
  --serif: 'Chosunilbo Myungjo', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 var(--font-normal)/1.8 var(--sans); overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; background: url('assets/city-background.webp') center / cover no-repeat; pointer-events: none; }
body.menu-open { overflow: hidden; }
main, footer { position: relative; z-index: 1; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #f1aa8d; outline-offset: 5px; }

.page-progress { display: none; }

.site-header { position: fixed; z-index: 90; top: 0; left: 0; right: 0; height: 82px; padding: 0 max(32px, 4.5vw); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(#05070abf, #05070a15); transition: background .35s, height .35s; }
.site-header.scrolled { height: 68px; background: #0a0d17ed; backdrop-filter: blur(18px); }
.brand { flex: none; width: clamp(126px, 13vw, 188px); line-height: 0; }
.brand img { width: 100%; height: auto; filter: invert(1); mix-blend-mode: screen; }
.social-link, .music-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: #e8d7d0; opacity: .78; text-decoration: none; transition: color .2s, opacity .2s; }
.social-link { margin-left: auto; }
.social-link:hover, .music-toggle:hover { color: var(--white); opacity: 1; }
.social-link svg { display: block; width: 18px; height: 18px; fill: currentColor; filter: drop-shadow(0 2px 5px #000a); }
.music-toggle { cursor: pointer; }
.music-toggle.is-playing { color: var(--accent-soft); opacity: 1; }
.music-icon { font-size: var(--font-normal); line-height: 1; filter: drop-shadow(0 2px 5px #000a); }
.menu-toggle { flex: none; width: 72px; height: 72px; border: 1px solid #e9d5cd99; border-radius: 50%; background: #1b1a22a3; color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; transition: background .25s, transform .25s; }
.menu-toggle:hover { background: #9e4448; transform: rotate(5deg); }
.menu-toggle span { font-size: var(--font-small); letter-spacing: .08em; font-weight: 600; line-height: 1.2; }
.menu-toggle i { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded='true'] i:nth-of-type(1) { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] i:nth-of-type(2) { transform: translateY(-3px) rotate(-45deg); }
.site-header.scrolled .menu-toggle { width: 58px; height: 58px; }

.chapter-menu[hidden] { display: none; }
.chapter-menu { position: fixed; z-index: 95; top: 82px; right: 0; width: min(445px, 100%); max-height: calc(100svh - 82px); overflow-y: auto; padding: 30px 38px 42px; background: #eee8df; color: #1a1c24; box-shadow: -20px 24px 80px #0008; animation: menu-enter .3s ease both; }
.site-header.scrolled + .chapter-menu { top: 68px; max-height: calc(100svh - 68px); }
.chapter-menu > p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 19px; font: 700 var(--font-small) var(--sans); letter-spacing: .12em; }
.chapter-menu > p span { color: #a65153; font-size: var(--font-small); }
.chapter-menu a { display: flex; align-items: baseline; gap: 20px; border-bottom: 1px solid #1d223333; padding: 14px 0; font: 400 var(--font-normal)/1.3 var(--serif); text-decoration: none; transition: color .2s, padding-left .2s; }
.chapter-menu a span { font: 600 var(--font-small) var(--sans); color: #a55354; }
.chapter-menu a:hover, .chapter-menu a.active { color: #a53e44; padding-left: 7px; }


.hero { position: relative; min-height: 720px; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero-photo { position: absolute; z-index: -2; inset: 0; background: url('assets/city-background.webp') center 49% / cover no-repeat; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #080b1380 0%, #080b1326 52%, transparent 100%), linear-gradient(0deg, #090c1459 0%, transparent 28%); }
.hero-inner { width: min(850px, calc(100% - 72px)); margin: 18px auto 0; position: relative; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 32px auto 12px; line-height: 0; width: min(100%, 790px); }
.hero h1 img { display: block; width: 100%; height: auto; filter: invert(1); mix-blend-mode: screen; }
.quote { font: 400 var(--font-normal)/1.6 var(--serif); margin: 0 0 29px; text-shadow: 0 3px 15px #000; }
.glitch-quote { position: relative; isolation: isolate; animation: glitch-text 3.2s steps(1, end) infinite; }
.glitch-quote::before, .glitch-quote::after { content: attr(data-text); position: absolute; inset: 0; width: 100%; color: #f7f1ee; text-align: center; opacity: 0; pointer-events: none; }
.glitch-quote::before { clip-path: inset(9% 0 54%); text-shadow: -5px 0 #68c9d2; animation: glitch-slice-top 3.2s steps(1, end) infinite; }
.glitch-quote::after { clip-path: inset(51% 0 7%); text-shadow: 5px 0 #e97383; animation: glitch-slice-bottom 3.2s steps(1, end) infinite; }
.summary { max-width: 850px; padding-top: 20px; font-size: var(--font-small); line-height: 2.55; word-break: keep-all; }
.summary-line { padding: 5px 9px; background: #fff; color: #151820; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.scroll-link { position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px; display: flex; align-items: center; gap: 15px; color: #f0e5df; font: 700 var(--font-small) var(--sans); letter-spacing: .24em; text-decoration: none; }
.scroll-link span { display: grid; place-items: center; width: 34px; height: 50px; border: 1px solid #e1c7bb9c; border-radius: 25px; font-size: var(--font-normal); animation: cue 2.4s ease-in-out infinite; }

.reading-area { position: relative; isolation: isolate; width: min(100%, 1480px); margin: 0 auto; padding: 0 max(48px, 5vw) 50px; }
.reading-area::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.document-section { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); column-gap: clamp(45px, 6vw, 110px); position: relative; min-height: 80svh; padding: clamp(115px, 12vw, 190px) clamp(35px, 6vw, 95px); border-top: 1px solid #ffffff70; scroll-margin-top: 68px; background: linear-gradient(112deg, #111521b8, #0b0d1899 62%, #0c0e1780); backdrop-filter: blur(5px); }
.document-section:nth-child(even) { background: linear-gradient(112deg, #171321b0, #0f111f9c 62%, #0b101b80); }
.document-section.world { background: linear-gradient(120deg, #0c111bbd, #121927a3 62%, #0b101d91); }
.document-section.character { background: linear-gradient(120deg, #171722b5, #17121e9e 68%, #0e10178f); }
.reading-area .document-section { isolation: isolate; overflow: clip; background: #242426; backdrop-filter: none; }
.reading-area .document-section::before { content: ''; position: absolute; z-index: -1; right: -80px; bottom: -100px; width: min(36vw, 380px); aspect-ratio: 1; background: url('assets/ouroboros-divider-clean.png') center / contain no-repeat; filter: brightness(7) grayscale(1); mix-blend-mode: screen; opacity: .38; pointer-events: none; }
.reading-area .document-section::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: clamp(260px, 35vw, 480px); background: url('assets/rough-grain.svg') left bottom / 256px 256px repeat; mix-blend-mode: screen; opacity: .32; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); pointer-events: none; }
.section-heading { align-self: start; position: sticky; top: 130px; display: flex; align-items: flex-start; gap: 16px; max-width: 280px; }
.index { color: #db8d84; font: 700 var(--font-small) var(--sans); letter-spacing: .12em; padding-top: 7px; }
.ja { margin: 0 0 8px; color: #cda79a; font: 400 var(--font-small)/1.4 var(--serif); letter-spacing: .04em; }
.section-heading h2 { margin: 0; color: var(--white); font: 800 var(--font-large)/1.16 var(--sans); letter-spacing: -.055em; word-break: keep-all; }
.document-body { min-width: 0; max-width: 820px; color: #c7c4c6; font-size: var(--font-normal); line-height: 1.5; overflow-wrap: anywhere; }
.document-body > p { margin: 0 0 1.85em; }
.document-body strong { color: #fff; font-size: inherit; font-weight: 800; letter-spacing: -.025em; }
.document-body a { color: #efb49f; text-underline-offset: 4px; }
.document-body hr { margin: 50px 0; border: 0; }
.dialogue-quote { max-width: 690px; margin: 52px 0 52px auto; color: #aaa8ad; text-align: right; font: 400 var(--font-normal)/1.5 var(--serif); word-break: keep-all; }
.dialogue-quote p { margin: 0; }
.dialogue-quote cite { display: block; margin-top: 10px; color: #929097; font: normal var(--font-small)/1.5 var(--serif); }
.document-body .setting-entry { margin: 78px 0 55px; }
.world .setting-entry ~ .setting-entry { border-top: 1px solid rgba(237, 225, 217, .28); padding-top: 38px; }
.setting-entry h3 { margin: 0; font: 800 var(--font-normal)/1.22 var(--sans); letter-spacing: -.045em; color: #fff; }
.setting-entry .setting-name { margin: 7px 0 23px; color: #d6a293; font-size: var(--font-normal); font-weight: 700; }
.setting-entry p { margin: 0; }

.table-wrap { margin: 0 0 55px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--font-small); line-height: 1.5; }
th, td { padding: 20px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #fff; font-size: var(--font-small); font-weight: 800; background: #b248481b; }
td { color: #e6e1e1; }
td:first-child { color: #e7af9f; font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tr > :not(:last-child) { border-right: 1px solid var(--line); }

/* Notice formatting follows the same section layout as the rest of the guide. */
.notice .table-wrap { margin-bottom: 60px; border: 1px solid #d8a99a55; background: #151619ab; box-shadow: 0 18px 48px #0004; }
.notice table { table-layout: fixed; }
.notice th, .notice td { padding: 21px 22px; }
.notice th { font-size: var(--font-small); text-align: center; }
.notice th:not(:last-child) { background: #ffffff0b; color: #c7c4c6; font-weight: 500; }
.notice th:last-child { background: #9d494b38; color: #fff6ed; font-weight: 800; }
.notice table:has(th:nth-child(3)) th:first-child { width: 19%; }
.notice table:has(th:nth-child(3)) th:nth-child(2) { width: 30%; }
.notice table:not(:has(th:nth-child(3))) th:first-child { width: 50%; }
.notice td:first-child { color: #c7c4c6; font-weight: 400; }
.notice td:last-child { background: #9d494b18; color: #fff6ed; font-weight: 700; }
.notice tbody tr:nth-child(even) { background: #ffffff08; }
.notice .document-figure { max-width: 520px; margin: 0 auto 62px; }
.document-body img { display: block; max-width: 100%; height: auto; }
.notice .document-body > img, .notice .document-body > p > img { width: min(100%, 520px); margin: 0 auto 62px; }
.document-body .document-figure.image-width-320 { max-width: 320px; margin-inline: auto; }
.document-body .document-figure.image-width-520 { max-width: 520px; margin-inline: auto; }
.document-body .document-figure.image-width-770 { max-width: 770px; margin-inline: auto; }
.document-body .document-figure.image-width-full { max-width: 100%; margin-inline: auto; }
.document-body img.image-width-320 { width: min(100%, 320px); margin-inline: auto; }
.document-body img.image-width-520 { width: min(100%, 520px); margin-inline: auto; }
.document-body img.image-width-770 { width: min(100%, 770px); margin-inline: auto; }
.document-body img.image-width-full { width: 100%; margin-inline: auto; }
.document-body .text-size-12, .document-body font[size="2"] { font-size: var(--font-small); }
.document-body .text-size-15, .document-body .text-size-20, .document-body font[size="3"], .document-body font[size="4"] { font-size: var(--font-normal); }
.document-body .text-size-26, .document-body .text-size-34, .document-body font[size="5"], .document-body font[size="6"] { font-size: var(--font-large); }
.notice .document-body strong { font-size: inherit; color: #fff6ed; }
.notice .document-body > figure:has(> br:only-child), .notice .document-body img:not([src]) { display: none; }
.notice .document-body > figure:has(> h3) { max-width: none; margin: 0 0 46px; overflow: visible; }
.notice .document-body > figure h3 { margin: 0 0 20px; color: #fff; font-size: var(--font-normal); }
.notice .document-body > figure p { margin: 0 0 12px; line-height: 1.75; }
.notice .document-body > h3 { margin: 54px 0 20px; padding-bottom: 12px; border-bottom: 1px solid #d8a99a55; color: #fff; font-size: var(--font-normal); }
.notice .document-body > h3:has(> br:only-child), .notice .document-body > p:has(> br:only-child) { display: none; }
.notice .document-body > ul { margin: 0 0 44px; padding-left: 1.4em; line-height: 1.8; }
.notice .document-body > ul li { margin-bottom: 9px; }
.notice .document-body:has(> h3) > p { margin-bottom: 14px; line-height: 1.8; }
.notice .document-body:has(> h3) > p:last-child { margin-top: 38px; }
.notice .document-body > .notice-table-title { margin: 12px 0 18px; padding: 0; border: 0; color: #fff; font-size: var(--font-normal); font-weight: 800; line-height: 1.35; }
.notice .document-body .notice-feature-heading { margin: 54px 0 22px; padding: 0 0 13px; border-bottom: 1px solid #d8a99a55; color: #fff6ed; font-size: var(--font-normal); font-weight: 800; line-height: 1.4; }
.notice .document-body .notice-feature-heading strong { color: inherit; font-size: inherit; }
.notice .document-body .notice-feature-copy { margin: 0 0 15px; line-height: 1.8; }
.notice .document-body .notice-feature-list { display: grid; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.notice .document-body .notice-feature-list li { position: relative; margin: 0; padding: 12px 16px 12px 31px; border-left: 2px solid #d5a59388; background: #ffffff09; line-height: 1.65; }
.notice .document-body .notice-feature-list li::before { content: ''; position: absolute; left: 14px; top: 22px; width: 5px; height: 5px; border-radius: 50%; background: #d5a593; }
.notice .document-body .notice-feature-list li p { margin: 0; }
.notice .document-body .notice-feature-closing { margin: 32px 0 8px; padding: 23px 0 0; border-top: 1px solid #d8a99a55; color: #fff6ed; font-weight: 700; line-height: 1.8; }
.notice .document-body .notice-feature-closing-line { margin: 0 0 8px; color: #fff6ed; font-weight: 700; line-height: 1.8; }

.system .document-body > h3:has(> br:only-child) { display: none; }
.system .document-body > h3:first-child { margin: 0 0 30px; padding-bottom: 20px; border-bottom: 1px solid #d8a99a55; color: #fff6ed; font: 700 var(--font-normal)/1.55 var(--sans); }
.system .document-body > h3:not(:first-child):not(:has(> br:only-child)) { margin: 32px 0 14px; padding-bottom: 10px; border-bottom: 1px solid #d8a99a55; color: #f1c3b4; font: 800 var(--font-normal)/1.4 var(--sans); }
.system .document-body > h3 + p { margin: 0 0 12px; color: #fff6ed; font-size: var(--font-normal); line-height: 1.5; }
.system .document-body > h3 + p strong { color: inherit; font-size: inherit; }
.system .document-body > p { margin: 0 0 18px; line-height: 1.8; }
.system .document-body > p:last-child { margin-bottom: 0; }

.qa-content { min-width: 0; max-width: 820px; }
.qa .document-body { line-height: 1.85; word-break: keep-all; }
.qa .document-body > h3 { margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid #d8a99a66; color: #f1c3b4; font: 800 var(--font-normal)/1.4 var(--sans); }
.qa .document-body > h3:not(:first-child) { margin-top: 50px; }
.qa .document-body > p { margin: 0 0 14px; }
.qa .document-body > p:has(> strong:first-child) { margin: 28px 0 11px; color: #fff5ef; }
.qa .document-body > p:has(> strong:first-child) strong { font-size: inherit; line-height: 1.55; }
.qa .document-body > hr { margin: 40px 0; border-top: 1px solid #d8a99a44; }
.qa .document-body strong { font-size: inherit; color: #fff5ef; }
.qa .document-body > p:last-child { margin-bottom: 30px; }
.qa-contact { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: max-content; max-width: 100%; min-width: 190px; margin-inline: auto; padding: 15px 21px; border: 1px solid #e2ad9f; background: #a65254; color: #fffaf7; font: 700 var(--font-normal)/1.3 var(--sans); text-decoration: none; transition: background .2s, transform .2s; }
.qa-contact:hover, .qa-contact:focus-visible { background: #bd6765; transform: translateY(-2px); }
.qa-contact:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.document-figure { margin: 54px 0 70px; overflow: hidden; }
.document-figure img { display: block; width: 100%; height: auto; border: 1px solid #e9d7d52c; box-shadow: 0 24px 60px #0009; }
.document-figure figcaption { margin: 14px 0 0; color: inherit; font: inherit; text-align: center; overflow-wrap: anywhere; }
.document-figure figcaption:empty, .document-figure figcaption:has(> br:only-child) { display: none; }
.document-figure.image-4 { max-width: 550px; margin-inline: auto; }
.document-figure.image-6 { max-width: 390px; margin-inline: auto; }
.document-figure.image-6 img { background: #050507; }
.runes { color: #e0a8a0; font: 400 var(--font-small)/1.5 var(--serif); letter-spacing: .08em; word-break: break-all; }
.profile-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.profile-content { min-width: 0; max-width: 820px; }
.profile-link { margin-top: 38px; }
.profile-body p { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.profile-body p:last-child { border-bottom: 0; }
.profile-body strong { display: block; margin-bottom: 6px; font-size: var(--font-normal); font-weight: 800; }

footer { max-width: 1480px; min-height: 150px; margin: auto; padding: 35px max(48px, 5vw) 70px; display: flex; justify-content: center; align-items: flex-end; color: #ddd1cd; font-size: var(--font-small); }
footer a { text-decoration: none; border-bottom: 1px solid #ebc7b69b; padding-bottom: 7px; }
footer a:hover { color: #fff; }

.js .reveal, .js .document-figure { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.8,.22,1); }
.js .reveal.visible, .js .document-figure.visible { opacity: 1; transform: none; }
.js .document-figure img { transform: scale(1.035); transition: transform 1.2s ease; }
.js .document-figure.visible img { transform: scale(1); }
@keyframes cue { 50% { transform: translateY(6px); } }
@keyframes glitch-text { 0%, 59%, 79%, 100% { transform: none; text-shadow: 0 3px 15px #000; } 60%, 66%, 73% { transform: translateX(-5px); text-shadow: 5px 0 #68c9d2, -5px 0 #e97383; } 63%, 70%, 76% { transform: translateX(5px); text-shadow: -5px 0 #68c9d2, 5px 0 #e97383; } }
@keyframes glitch-slice-top { 0%, 59%, 64%, 69%, 79%, 100% { opacity: 0; transform: none; } 60%, 66%, 73% { opacity: 1; transform: translate(9px, -4px); } 63%, 70%, 76% { opacity: 1; transform: translate(-8px, 3px); } }
@keyframes glitch-slice-bottom { 0%, 59%, 64%, 69%, 79%, 100% { opacity: 0; transform: none; } 60%, 66%, 73% { opacity: .95; transform: translate(-9px, 4px); } 63%, 70%, 76% { opacity: .95; transform: translate(8px, -3px); } }
@keyframes menu-enter { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .document-section { grid-template-columns: minmax(160px, .3fr) minmax(0, 1fr); column-gap: 50px; padding-inline: 5vw; }
}
@media (max-width: 850px) {
  .site-header { height: 70px; padding: 0 24px; }
  .site-header.scrolled { height: 64px; }
  .menu-toggle { width: 58px; height: 58px; }
  .site-header.scrolled .menu-toggle { width: 52px; height: 52px; }
  .chapter-menu { top: 70px; max-height: calc(100svh - 70px); }
  .site-header.scrolled + .chapter-menu { top: 64px; max-height: calc(100svh - 64px); }
  .hero::before { background: linear-gradient(90deg, #080b1380, #080b1333 68%, transparent), linear-gradient(0deg, #090c1459, transparent 30%); }
  .reading-area { padding-inline: 28px; }
  .document-section { display: block; min-height: 0; padding: 105px clamp(30px, 7vw, 65px); }
  .section-heading { position: relative; top: auto; max-width: none; margin-bottom: 80px; }
  .document-body { max-width: 100%; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 64px; }
  .site-header { height: 64px; padding-inline: 16px; gap: 12px; }
  .brand { width: 116px; }
  .social-link, .music-toggle { width: 42px; height: 42px; }
  .menu-toggle, .site-header.scrolled .menu-toggle { width: 48px; height: 48px; }
  .chapter-menu, .site-header.scrolled + .chapter-menu { top: 64px; width: 100%; max-height: calc(100svh - 64px); padding: 25px 27px 35px; }
  .hero { min-height: 660px; height: 100svh; }
  .hero-photo { background-position: 51% center; }
  .hero::before { background: linear-gradient(90deg, #080b1373, #080b132b), linear-gradient(0deg, #090c1459, transparent 38%); }
  .hero-inner { width: calc(100% - 44px); margin: -25px auto 0; }
  .hero h1 { width: min(100%, 520px); margin: 25px auto; }
  .summary { line-height: 2.65; }
  .scroll-link { left: 50%; bottom: 30px; }
  .reading-area { padding: 0; }
  .document-section { padding: 84px 24px 95px; scroll-margin-top: 64px; }
  .reading-area .document-section::before { right: -55px; bottom: -75px; width: min(72vw, 290px); }
  .section-heading { gap: 15px; margin-bottom: 68px; }
  .dialogue-quote { margin-block: 42px; }
  .document-body .setting-entry { margin: 60px 0 42px; }
  .table-wrap { border: 0; margin-bottom: 50px; overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr { margin-bottom: 15px; border: 1px solid var(--line); background: #ffffff08; }
  td { border: 0; border-bottom: 1px solid var(--line); padding: 13px 17px; white-space: normal !important; }
  tr > :not(:last-child) { border-right: 0; }
  td::before { content: attr(data-label); display: block; color: #c8998f; font-size: var(--font-small); font-weight: 700; margin-bottom: 3px; }
  td[data-label='']::before { display: none; }
  td:first-child { color: #fff; }
  td:last-child { border-bottom: 0; }
  .notice .table-wrap { margin-bottom: 46px; }
  .notice .notice-comparison { overflow: hidden; }
  .notice .notice-comparison table { display: table; width: 100%; font-size: var(--font-small); line-height: 1.5; }
  .notice .notice-comparison thead { display: table-header-group; }
  .notice .notice-comparison tbody { display: table-row-group; width: auto; }
  .notice .notice-comparison tr { display: table-row; width: auto; margin: 0; border: 0; background: transparent; }
  .notice .notice-comparison tr:nth-child(even) { background: #ffffff08; }
  .notice .notice-comparison th, .notice .notice-comparison td { display: table-cell; width: auto; padding: 12px 10px; vertical-align: middle; border-bottom: 1px solid var(--line); }
  .notice .notice-comparison th { font-size: inherit; }
  .notice .notice-comparison th:first-child { width: 50%; }
  .notice .notice-comparison tr > :not(:last-child) { border-right: 1px solid var(--line); }
  .notice .notice-comparison td::before { content: none; display: none; }
  .notice .notice-comparison td:first-child { background: transparent; color: #c7c4c6; }
  .notice .notice-comparison tbody tr:last-child td { border-bottom: 0; }
  .notice .document-figure { margin-bottom: 42px; }
  .profile-body { grid-template-columns: 1fr; }
  footer { padding: 32px 24px 60px; }
}
@media (max-width: 360px) {
  .social-link, .music-toggle { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glitch-quote, .glitch-quote::before, .glitch-quote::after { animation: none; }
  .scroll-link span { animation: none; }
  .js .reveal, .js .document-figure { opacity: 1; transform: none; transition: none; }
  .js .document-figure img { transform: none; transition: none; }
}
