@charset "UTF-8";
:root {
  --night: #0d0a14; --night-soft: #20192e; --paper: #eee6f5; --ink: #ddd5e8; --surface: #15111f;
  --muted: #a69aae; --line: #3a3048; --gold: #e3cd94; --rust: #bca2dd; --ice: #a3cbd1;
  --serif: "Rajdhani", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", sans-serif;
  --sans: "DM Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  font-family: var(--sans); color: var(--paper); background: var(--night);
  font-synthesis: none; scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button:disabled { opacity: .5; cursor: wait; }
img { max-width: 100%; display: block; }
.page-gate { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px; text-align: center; }
.page-gate a, .page-gate button { padding: 12px 20px; color: var(--paper); background: transparent; border: 1px solid #79638e; }
.page-gate p { max-width: 44ch; line-height: 1.8; }
.site-header { height: 88px; padding: 0 5vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #c6aad925; gap: 24px; }
.signature { display: flex; gap: 14px; align-items: center; text-decoration: none; font-size: 13px; letter-spacing: .14em; }
.header-right, .language-buttons { display: flex; align-items: center; gap: 6px; }
.header-right { gap: 26px; }
.header-home { color: #b1a4c2; text-decoration: none; font-size: 12px; }
.language-buttons button { background: transparent; border: 0; padding: 9px; font-size: 12px; color: #ada1ba; border-bottom: 1px solid transparent; }
.language-buttons button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.hero { position: relative; overflow: hidden; min-height: 660px; display: flex; align-items: center; padding: 72px 7vw 96px; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: .82; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0a14 0%, #0d0a14df 30%, #0d0a1430 75%), linear-gradient(0deg, #0d0a14 0%, transparent 48%); }
.hero-content { position: relative; z-index: 1; max-width: 510px; }
.eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.hero .eyebrow { color: var(--gold); display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(78px, 8vw, 126px); line-height: .85; letter-spacing: -.025em; text-transform: uppercase; margin: 30px 0; }
.hero h1 span { display: block; }
.hero h1 em { font-weight: 500; font-size: .36em; font-style: normal; color: var(--gold); }
.hero-link { display: inline-flex; gap: 34px; color: var(--gold); text-decoration: none; font-size: 12px; border-bottom: 1px solid #c3a1e080; padding-bottom: 10px; }
.hero-side { position: absolute; z-index: 1; bottom: 40px; right: 5vw; color: #b9a8d0; font-size: 10px; letter-spacing: .18em; }
.journal { background: var(--surface); color: var(--ink); padding: 0 6vw 80px; }
.journal-bar { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 18px; border-bottom: 1px solid var(--line); }
.journal-bar .eyebrow { color: var(--rust); }
.archive-toggle { padding: 12px 0 12px 20px; border: 0; background: transparent; color: var(--ink); font-size: 12px; display: flex; gap: 18px; align-items: center; }
.archive-toggle[aria-expanded="true"] { color: var(--rust); }
.archive { padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 20px; }
.archive-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.archive-entry { text-align: left; background: transparent; border: 1px solid var(--line); padding: 20px; color: var(--ink); }
.archive-entry[aria-current="page"] { background: #2d2340; border-color: #9875bd; }
.archive-entry small { display: block; color: var(--muted); margin-bottom: 12px; font-size: 10px; letter-spacing: .08em; }
.archive-entry strong { font-family: var(--serif); font-weight: 600; font-size: 23px; }
.article-grid { display: grid; grid-template-columns: 185px minmax(0, 760px); gap: clamp(30px, 5vw, 90px); justify-content: center; align-items: start; padding-top: 60px; }
.contents { position: sticky; top: 30px; font-size: 11px; }
.contents .eyebrow { color: var(--muted); margin-bottom: 24px; }
.contents nav { display: grid; gap: 17px; }
.contents a { display: flex; gap: 12px; color: #afa3c1; text-decoration: none; line-height: 1.6; }
.contents a:hover { color: var(--rust); }
.contents a span { color: #9b84b6; font-size: 9px; padding-top: 2px; }
.contents-foot { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.post { min-width: 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.post-meta .latest { padding: 5px 8px; background: #332748; color: #d1b1f0; letter-spacing: .07em; }
.post-title { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 66px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin: 20px 0; }
.post-deck { font-family: var(--serif); font-size: 21px; color: #ada0bb; line-height: 1.7; }
.post-byline { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 10px; color: #aaa1b5; padding: 22px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.post-byline a { margin-left: auto; }
.post-body { font-family: var(--sans); font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 26px; white-space: pre-line; }
.post-body p:first-child { font-size: 20px; }
.post-body h3 { font-family: var(--serif); font-size: 31px; font-weight: 600; line-height: 1.45; margin: 52px 0 22px; scroll-margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-body h3 .chapter-number { display: block; font-family: var(--sans); font-size: 10px; font-weight: 500; color: var(--rust); letter-spacing: .1em; margin-bottom: 8px; }
.post-body hr { border: 0; width: 64px; border-top: 1px solid #6b557f; margin: 40px auto; }
.post-body .source-link { display: inline-block; font: 12px var(--sans); margin: 0 24px 16px 0; color: var(--rust); }
.media-frame { margin: 32px 0; background: #0d0b13; color: #c5b9d4; }
.media-frame video, .media-frame img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.media-frame video { aspect-ratio: 16/9; }
.media-frame figcaption { font: 10px/1.8 var(--sans); display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 16px; letter-spacing: .03em; }
.media-frame button { background: transparent; border: 0; color: var(--gold); text-decoration: underline; font: inherit; }
.media-state { padding: 32px 20px; font: 12px var(--sans); }
.media-unavailable { font: 12px var(--sans); padding: 20px; }
.reward-source { color: var(--rust); font-size: 12px; display: inline-block; margin: 8px 0 24px; }
.support { margin-top: 64px; padding-top: 38px; border-top: 1px solid #705980; }
.support .eyebrow { color: var(--rust); }
.support-intro { font-size: 13px; color: #b4a7c2; line-height: 1.9; max-width: 49ch; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 25px; }
.paypal-support { background: #251d34; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; }
.paypal-support img { width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; background: white; padding: 5px; }
.paypal-support strong { font-size: 13px; }
.paypal-support small { color: #b7a7c9; font-size: 10px; }
.platform-support { display: flex; flex-direction: column; }
.platform-support a { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; text-decoration: none; align-items: center; }
.platform-support a:first-child { border-top: 1px solid var(--line); }
.platform-support strong { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.platform-support small { display: block; color: #a99abc; font-size: 10px; margin-top: 7px; }
.article-signoff { text-align: right; font: italic 28px var(--serif); margin-top: 34px; color: #b9a2d1; }
.cien-section { padding: 60px 6vw 50px; max-width: 1600px; margin: auto; }
.cien-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 35px; }
.cien-heading .eyebrow { color: var(--gold); }
.cien-heading h2 { font: 500 34px var(--serif); margin: 15px 0 0; }
.cien-heading a { color: #c7b6d8; font-size: 11px; white-space: nowrap; }
.cien-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #b092d030; }
.cien-entry { display: flex; flex-direction: column; color: var(--paper); text-decoration: none; padding: 25px 20px 20px; border-right: 1px solid #b092d025; min-height: 185px; transition: background .2s; }
.cien-entry:first-child { padding-left: 0; }
.cien-entry:last-child { border-right: 0; }
.cien-entry:hover { background: #ffffff05; }
.cien-entry small { font-size: 9px; color: #a89cba; margin-bottom: 20px; }
.cien-entry strong { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.65; }
.cien-entry span { color: var(--gold); margin-top: auto; padding-top: 20px; font-size: 15px; }
.feed-note { font-size: 10px; color: #ac9eb9; line-height: 1.8; margin-top: 24px; }
.site-footer { display: flex; justify-content: space-between; padding: 28px 6vw; border-top: 1px solid #b092d025; gap: 20px; font-size: 10px; color: #a291b2; letter-spacing: .08em; }
.site-footer a { text-decoration: none; }
.loading-post { padding: 50px 0; min-height: 300px; color: var(--muted); }
.error-action { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 12px 20px; }
:lang(zh) .post-body, :lang(ja) .post-body, :lang(ko) .post-body { font-size: 16px; line-height: 2.1; }
@media (min-width: 1550px) { .journal { padding-left: max(6vw, calc((100vw - 1300px)/2)); padding-right: max(6vw, calc((100vw - 1300px)/2)); } }
@media (max-width: 980px) {
  .article-grid { grid-template-columns: minmax(0, 760px); padding-top: 40px; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
  .contents nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
  .contents-foot { display: none; }
  .contents .eyebrow { margin-bottom: 16px; }
  .cien-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cien-entry { border-bottom: 1px solid #b092d025; padding: 22px 0; min-height: 155px; }
  .cien-entry:nth-child(even) { border-right: 0; padding-left: 22px; }
  .cien-entry:nth-child(odd) { padding-right: 22px; }
}
@media (max-width: 600px) {
  .site-header { height: auto; min-height: 76px; padding: 18px 6vw; gap: 18px; flex-wrap: wrap; }
  .signature { font-size: 11px; }
  .header-right { gap: 12px; }
  .header-home { display: none; }
  .language-buttons { gap: 2px; }
  .language-buttons button { padding: 7px; font-size: 10px; }
  .hero { min-height: 470px; padding: 60px 7vw 90px; }
  .hero-image { inset: 0; width: 100%; opacity: .7; object-position: 57% center; }
  .hero::after { background: linear-gradient(90deg,#0d0a14e0,#0d0a1450), linear-gradient(0deg,#0d0a14,transparent); }
  .hero h1 { font-size: clamp(68px, 17vw, 100px); }
  .hero-side { bottom: 24px; font-size: 8px; }
  .journal { padding-bottom: 50px; }
  .journal-bar { min-height: 76px; }
  .journal-bar .eyebrow { letter-spacing: .12em; font-size: 9px; }
  .archive-toggle { font-size: 11px; gap: 10px; }
  .post-title { font-size: 37px; }
  .post-deck { font-size: 18px; }
  .post-body { font-size: 17px; }
  .post-body h3 { font-size: 26px; }
  .post-body p:first-child { font-size: 18px; }
  .support-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .paypal-support { padding: 16px 10px; }
  .platform-support strong { font-size: 25px; }
  .cien-heading { align-items: start; flex-direction: column; }
  .cien-heading h2 { font-size: 29px; }
  .cien-entry strong { font-size: 16px; }
  .site-footer { flex-wrap: wrap; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } * { transition: none !important; } }

.hero-link { padding: 14px 22px; border: 1px solid #baa0d36b; background: #20132dcc; color: #ebdafb; }
.hero-link:hover { border-color: var(--gold); background: #362041; }
.archive-entry, .paypal-support, .media-frame { position: relative; }
.archive-entry::before, .paypal-support::before, .media-frame::before { content: ""; position: absolute; pointer-events: none; width: 10px; height: 10px; left: -1px; top: -1px; border-left: 2px solid var(--ice); border-top: 2px solid var(--ice); }
.archive-entry::after, .paypal-support::after, .media-frame::after { content: ""; position: absolute; pointer-events: none; width: 10px; height: 10px; right: -1px; bottom: -1px; border-right: 2px solid var(--ice); border-bottom: 2px solid var(--ice); }
.archive-entry[aria-current="page"]::before, .archive-entry[aria-current="page"]::after { border-color: var(--gold); }
.post-title { font-weight: 600; }
.post-body h3 { color: #eadff4; }
.post-body h3 .chapter-number { color: var(--ice); }
.post-body p:first-child { font-size: inherit; }
.journal-bar { border-top: 1px solid #6b528345; }
.contents a:hover, .source-link:hover { color: var(--gold); }
.media-frame img { image-rendering: auto; }
:lang(zh) .post-body, :lang(ja) .post-body, :lang(ko) .post-body { font-size: 15px; }

/* Desktop text sizes: keep mobile/tablet typography unchanged. */
@media (min-width: 981px) {
  .journal-bar .eyebrow { font-size: 14px; }
  .archive-toggle { font-size: 14px; }
  .archive h2 { font-size: 24px; }
  .archive-entry strong { font-size: 18px; }
  .post-meta { font-size: 12px; }
  .contents { font-size: 13px; }
  .contents .eyebrow { font-size: 12px; }
  .contents a span { font-size: 11px; }
}
