:root {
  --tfel-night: #090611;
  --tfel-night-2: #130b22;
  --tfel-violet: #6f4aa1;
  --tfel-violet-soft: #b9a3d7;
  --tfel-gold: #d8b76d;
  --tfel-gold-soft: #f3e4b6;
  --tfel-ink: #211a2d;
  --tfel-paper: #fbf8f3;
  --tfel-mist: #f0ebf5;
  --tfel-line: rgba(111, 74, 161, .2);
  --tfel-alert: #8d365f;
}

body.tf-nocturne-article {
  background: var(--tfel-paper) !important;
  color: var(--tfel-ink);
}

body.tf-nocturne-article .entry-title,
body.tf-nocturne-article .post-title,
body.tf-nocturne-article .cps-post-title,
body.tf-nocturne-article .article-title,
body.tf-nocturne-article .single-title,
body.tf-nocturne-article .page-title {
  display: none !important;
}

body.tf-nocturne-article #secondary,
body.tf-nocturne-article #sidebar,
body.tf-nocturne-article .sidebar,
body.tf-nocturne-article .l-sidebar,
body.tf-nocturne-article .side-bar,
body.tf-nocturne-article .cps-sidebar,
body.tf-nocturne-article .widget-area {
  display: none !important;
}

/* GOLD MEDIA compatibility: remove the duplicated native title stage and
   promote the imported article to the full editorial canvas. */
body.tf-nocturne-article .l-keyvisual,
body.tf-nocturne-article .keyvisual,
body.tf-nocturne-article .l-side_main {
  display: none !important;
}

body.tf-nocturne-article #l-contents {
  padding-top: 34px !important;
}

body.tf-nocturne-article .l-wrapper {
  display: block !important;
}

body.tf-nocturne-article main.l-main.have-is-side,
body.tf-nocturne-article .main_content,
body.tf-nocturne-article .sub_content {
  width: 100% !important;
  max-width: none !important;
}

body.tf-nocturne-article #primary,
body.tf-nocturne-article #main,
body.tf-nocturne-article main,
body.tf-nocturne-article .main,
body.tf-nocturne-article .l-main,
body.tf-nocturne-article .main-column,
body.tf-nocturne-article .contents-main,
body.tf-nocturne-article .cps-post-main-box {
  width: 100% !important;
  max-width: none !important;
}

body.tf-nocturne-article .tfel-nocturne-report {
  width: 100%;
  max-width: 100%;
  margin: 24px auto 96px;
  transform: none;
  color: var(--tfel-ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  counter-reset: tfel-section;
}

.tfel-nocturne-report *,
.tfel-nocturne-report *::before,
.tfel-nocturne-report *::after {
  box-sizing: border-box;
}

.tfel-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 42px 0;
  border: 1px solid rgba(216, 183, 109, .2);
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 34%, rgba(103, 63, 148, .36), transparent 34%),
    linear-gradient(135deg, var(--tfel-night) 0%, var(--tfel-night-2) 66%, #1c0f2e 100%);
  box-shadow: 0 32px 80px rgba(27, 13, 45, .2);
  isolation: isolate;
}

.tfel-hero::before,
.tfel-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(216, 183, 109, .1);
  border-radius: 50%;
}

.tfel-hero::before {
  width: 560px;
  height: 560px;
  right: -210px;
  top: -240px;
}

.tfel-hero::after {
  width: 300px;
  height: 300px;
  right: -80px;
  top: -110px;
}

.tfel-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, transparent, #000 22%, #000);
}

.tfel-edition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 46px;
  color: rgba(255,255,255,.5);
  font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .2em;
}

.tfel-edition::after {
  position: absolute;
  top: 68px;
  right: 42px;
  left: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(216,183,109,.4), rgba(216,183,109,.04));
}

.tfel-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: 54px;
  padding-bottom: 42px;
}

.tfel-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tfel-labels span {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid rgba(216,183,109,.38);
  color: var(--tfel-gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tfel-labels span + span {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.62);
  font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
}

.tfel-hero h1 {
  display: block !important;
  position: relative !important;
  max-width: 700px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #fff !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.3vw, 42px) !important;
  font-weight: 500 !important;
  line-height: 1.34 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
  word-break: auto-phrase;
}

.tfel-hero h1::before,
.tfel-hero h1::after {
  display: none !important;
  content: none !important;
}

.tfel-lead {
  max-width: 700px;
  margin: 26px 0 0 !important;
  color: rgba(255,255,255,.68) !important;
  font-size: 15px;
  line-height: 2;
}

.tfel-decision {
  position: relative;
  margin-top: 34px;
  padding: 24px 26px 23px 29px;
  border: 1px solid rgba(216,183,109,.2);
  border-left: 3px solid var(--tfel-gold);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(8px);
}

.tfel-kicker {
  margin: 0 0 8px !important;
  color: var(--tfel-gold) !important;
  font: 700 10px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .18em;
}

.tfel-decision h2,
.tfel-editor-note h2,
.tfel-before-leave h2,
.tfel-reading-map h2 {
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
}

.tfel-decision h2::before,
.tfel-decision h2::after,
.tfel-editor-note h2::before,
.tfel-editor-note h2::after,
.tfel-before-leave h2::before,
.tfel-before-leave h2::after,
.tfel-reading-map h2::before,
.tfel-reading-map h2::after {
  display: none !important;
  content: none !important;
}

.tfel-decision h2 {
  color: #fff !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(19px, 2vw, 26px) !important;
  font-weight: 500;
  line-height: 1.55;
}

.tfel-decision p:not(.tfel-kicker) {
  margin: 8px 0 0 !important;
  color: rgba(255,255,255,.68) !important;
  font-size: 13px;
}

.tfel-decision__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--tfel-gold-soft) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.tfel-visual {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(216,183,109,.25);
  background:
    radial-gradient(circle at 46% 39%, rgba(255,255,255,.12), transparent 4%),
    radial-gradient(circle at 58% 46%, rgba(255,255,255,.08), transparent 3%),
    linear-gradient(145deg, rgba(185,163,215,.2), rgba(31,16,50,.76));
  box-shadow: inset 0 0 80px rgba(7,3,14,.5);
}

.tfel-visual::before {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(216,183,109,.12);
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(216,183,109,.12) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(216,183,109,.12) 50%, transparent 50.5%);
}

.tfel-visual > span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.48);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
}

.tfel-moon {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 118px;
  height: 118px;
  transform: translateX(-50%);
  border: 1px solid rgba(243,228,182,.55);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff8da 0, #d6c598 29%, #755d8f 72%, #2b173f 100%);
  box-shadow: 0 0 56px rgba(216,183,109,.24);
}

.tfel-orbit {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(216,183,109,.19);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-12deg);
}

.tfel-orbit--one { top: 38px; width: 260px; height: 200px; }
.tfel-orbit--two { top: 18px; width: 340px; height: 270px; transform: translateX(-50%) rotate(18deg); }

.tfel-card {
  position: absolute;
  bottom: 62px;
  width: 88px;
  height: 126px;
  border: 1px solid rgba(243,228,182,.44);
  border-radius: 44px 44px 9px 9px;
  background: linear-gradient(180deg, rgba(245,235,255,.88), rgba(129,98,157,.72));
  box-shadow: 0 18px 36px rgba(6,2,13,.42);
}

.tfel-card::before {
  position: absolute;
  top: 31px;
  left: 50%;
  width: 25px;
  height: 25px;
  content: "";
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid rgba(53,30,72,.5);
}

.tfel-card--one { left: 16%; transform: rotate(-8deg); }
.tfel-card--two { left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #f4dfb5, #a2768f); }
.tfel-card--three { right: 16%; transform: rotate(8deg); }

.tfel-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 -42px;
  border-top: 1px solid rgba(216,183,109,.18);
  background: rgba(2,1,7,.32);
}

.tfel-facts div {
  padding: 18px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.tfel-facts div:last-child { border-right: 0; }
.tfel-facts dt { color: rgba(255,255,255,.42); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.tfel-facts dd { margin: 6px 0 0; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.55; }

.tfel-first-guide {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 84px));
  margin: -18px auto 0;
}

.tfel-first-guide .tf-dialogue {
  margin: 0;
  box-shadow: 0 24px 58px rgba(43, 25, 60, .13);
}

.tfel-reader {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
  padding: 62px 42px 0;
}

.tfel-reader__map { position: sticky; top: 28px; }

.tfel-reading-map {
  padding: 24px;
  border-top: 2px solid var(--tfel-violet);
  background: #fff;
  box-shadow: 0 18px 44px rgba(43,25,60,.09);
}

.tfel-reading-map h2 {
  color: var(--tfel-ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px !important;
  line-height: 1.5;
}

.tfel-reading-map ol { margin: 20px 0 0 !important; padding: 0 !important; list-style: none !important; }
.tfel-reading-map li { margin: 0 !important; padding: 0 !important; border-top: 1px solid #ece7f0; list-style: none !important; }
.tfel-reading-map li:last-child { border-bottom: 1px solid #ece7f0; }
.tfel-reading-map a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 11px 0; color: #4c3a5d !important; font-size: 12px; line-height: 1.6; text-decoration: none !important; }
.tfel-reading-map a:hover { color: var(--tfel-violet) !important; }
.tfel-reading-map a span { color: var(--tfel-gold); font: 700 10px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }

.tfel-reader__body { min-width: 0; }

.tfel-editor-note {
  margin: 0 0 42px;
  padding: 26px 28px;
  border: 1px solid var(--tfel-line);
  border-left: 4px solid var(--tfel-violet);
  background: linear-gradient(135deg, #fff, #f7f2fb);
}

.tfel-editor-note h2 {
  color: var(--tfel-ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px !important;
}

.tfel-editor-note p:not(.tfel-kicker) { margin: 10px 0 0 !important; color: #62576e !important; font-size: 13px; line-height: 1.8; }
.tfel-editor-note strong { color: var(--tfel-alert); }

/* Hide automatic theme/plugin tables of contents so the editorial reading map appears once. */
.tfel-original-content > .outline,
.tfel-original-content > .toc,
.tfel-original-content > .post-outline,
.tfel-original-content > #rtoc-mokuji-wrapper,
.tfel-original-content > .rtoc-mokuji-content,
.tfel-original-content > .ez-toc-container {
  display: none !important;
}

.tfel-original-content {
  color: #352c3e;
  font-size: 16px;
  line-height: 2;
}

.tfel-original-content > p { margin: 0 0 1.55em !important; color: #403647 !important; }

.tfel-original-content > h2 {
  position: relative;
  margin: 72px 0 25px !important;
  padding: 23px 22px 21px 74px !important;
  border: 0 !important;
  border-top: 1px solid var(--tfel-line) !important;
  border-bottom: 1px solid var(--tfel-line) !important;
  background: transparent !important;
  color: var(--tfel-ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  counter-increment: tfel-section;
}

.tfel-original-content > h2::before {
  position: absolute;
  top: 27px;
  left: 18px;
  content: counter(tfel-section, decimal-leading-zero);
  color: var(--tfel-gold);
  font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.tfel-original-content > h2::after {
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 54px;
  width: 1px;
  content: "";
  background: var(--tfel-line);
}

.tfel-original-content > h3 {
  margin: 43px 0 18px !important;
  padding: 0 0 10px 18px !important;
  border: 0 !important;
  border-left: 3px solid var(--tfel-violet) !important;
  border-bottom: 1px solid #e8e1ed !important;
  background: transparent !important;
  color: #2b2035 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px !important;
  line-height: 1.55 !important;
}

.tfel-original-content > ul,
.tfel-original-content > ol {
  margin: 22px 0 30px !important;
  padding: 22px 28px 22px 50px !important;
  border: 1px solid #e5ddeb;
  background: #fff;
  box-shadow: 0 12px 28px rgba(54,35,70,.055);
}

.tfel-original-content > ul li,
.tfel-original-content > ol li { margin: 8px 0 !important; padding-left: 4px; }
.tfel-original-content > ul li::marker,
.tfel-original-content > ol li::marker { color: var(--tfel-violet); font-weight: 800; }

.tfel-original-content blockquote {
  margin: 28px 0 !important;
  padding: 25px 30px !important;
  border: 0 !important;
  border-left: 4px solid var(--tfel-gold) !important;
  background: #f5f0e8 !important;
  color: #4c4138 !important;
}

.tfel-original-content code {
  padding: .16em .42em;
  border-radius: 3px;
  background: #eee8f2;
  color: #5c3474;
  font-size: .9em;
}

.tfel-original-content .tf-table-scroll {
  width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  border: 1px solid #dfd4e6;
  background: #fff;
  box-shadow: 0 16px 38px rgba(51,32,69,.07);
}

.tfel-original-content table { width: 100%; margin: 0 !important; border-collapse: collapse; border: 0 !important; font-size: 14px; }
.tfel-original-content th { padding: 15px 16px !important; border: 1px solid rgba(255,255,255,.1) !important; background: #21152f !important; color: #fff !important; font-weight: 700; text-align: left; white-space: nowrap; }
.tfel-original-content td { padding: 15px 16px !important; border: 1px solid #e8e0ed !important; background: #fff !important; color: #44374d !important; vertical-align: top; }
.tfel-original-content tr:nth-child(even) td { background: #faf7fc !important; }

.tfel-original-content a { color: #65408c; text-decoration-color: rgba(101,64,140,.35); text-underline-offset: 3px; }
.tfel-original-content a:hover { color: #8b5eb4; }

.tfel-original-content .tf-dialogue {
  display: grid;
  gap: 20px;
  margin: 40px 0 52px;
  padding: 30px;
  border: 1px solid #dfd5e5;
  background: linear-gradient(135deg, #fff, #f8f4fa);
  break-inside: avoid;
}

.tfel-original-content .tf-dialogue::before {
  content: "KOTOHA & KANAME / READER GUIDE";
  color: var(--tfel-gold);
  font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
}

.tfel-original-content .tf-dialogue--guide::before {
  display: none;
  content: none;
}

.tf-dialogue__guide-label {
  margin: 0 !important;
}

.tfel-original-content .tf-dialogue__guide-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ddea;
  color: var(--tfel-gold) !important;
  font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .15em;
}

.tfel-original-content .tf-dialogue__guide-label span:last-child {
  color: #8b79a0;
  letter-spacing: .1em;
}

.tfel-original-content .tf-dialogue__turn {
  position: relative;
  min-height: 86px;
  margin: 0 !important;
  padding: 18px 22px 18px 96px;
  border: 1px solid #e0d7e6;
  border-radius: 2px;
  background: #fff;
}

.tfel-original-content .tf-dialogue__turn::before {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 58px;
  height: 58px;
  content: "";
  border: 2px solid #eee7f2;
  border-radius: 50%;
  background-color: #f5f0f7;
  background-position: center;
  background-size: cover;
}

.tfel-original-content .tf-dialogue__turn--reader::before { background-image: var(--tfel-kotoha); }
.tfel-original-content .tf-dialogue__turn--editor::before { background-image: var(--tfel-kaname); }
.tfel-original-content .tf-dialogue__turn--editor { margin-left: 42px !important; padding-right: 96px; padding-left: 22px; border-right: 4px solid #3c6d69; }
.tfel-original-content .tf-dialogue__turn--editor::before { right: 16px; left: auto; }
.tfel-original-content .tf-dialogue__turn--editor .tf-dialogue__speaker { text-align: right; }
.tfel-original-content .tf-dialogue__turn--reader { margin-right: 42px !important; border-left: 4px solid #a85d82; }
.tfel-original-content .tf-dialogue__speaker { margin: 0 0 6px !important; color: var(--tfel-violet) !important; font-size: 12px; font-weight: 800; }
.tfel-original-content .tf-dialogue__turn p:last-child { margin: 0 !important; color: #30273a !important; font-weight: 600; line-height: 1.8; }

.tfel-before-leave {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 34px 38px;
  border: 1px solid rgba(216,183,109,.23);
  background: linear-gradient(135deg, #130b22, #251438);
  color: #fff;
}

.tfel-before-leave::after {
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 200px;
  height: 200px;
  content: "";
  border: 1px solid rgba(216,183,109,.2);
  border-radius: 50%;
}

.tfel-before-leave h2 { color: #fff !important; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 28px !important; line-height: 1.5; }
.tfel-before-leave ul { position: relative; z-index: 1; margin: 20px 0 0 !important; padding: 0 !important; list-style: none !important; }
.tfel-before-leave li { position: relative; margin: 9px 0 !important; padding-left: 27px; color: rgba(255,255,255,.76); list-style: none !important; }
.tfel-before-leave li::before { position: absolute; top: .7em; left: 0; width: 10px; height: 10px; content: ""; border: 1px solid var(--tfel-gold); transform: rotate(45deg); }

@media (max-width: 980px) {
  .tfel-hero__layout { grid-template-columns: 1fr; }
  .tfel-visual { min-height: 320px; }
  .tfel-reader { grid-template-columns: 1fr; gap: 34px; }
  .tfel-reader__map { position: static; }
  .tfel-reading-map ol { columns: 2; column-gap: 30px; }
}

@media (max-width: 720px) {
  body.tf-nocturne-article .tfel-nocturne-report { width: 100%; margin-top: 16px; margin-bottom: 56px; }
  .tfel-hero { padding: 25px 20px 0; border-right: 0; border-left: 0; }
  .tfel-edition { margin-bottom: 34px; }
  .tfel-edition::after { top: 53px; right: 20px; left: 20px; }
  .tfel-hero__layout { gap: 34px; padding-bottom: 26px; }
  .tfel-hero h1 { font-size: clamp(31px, 10vw, 46px) !important; }
  .tfel-lead { font-size: 14px; }
  .tfel-decision { padding: 21px 20px; }
  .tfel-visual { min-height: 280px; }
  .tfel-facts { grid-template-columns: repeat(2, 1fr); margin: 0 -20px; }
  .tfel-facts div { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tfel-first-guide { width: calc(100% - 28px); margin-top: -10px; }
  .tfel-reader { padding: 36px 18px 0; }
  .tfel-reading-map { padding: 22px 20px; }
  .tfel-reading-map ol { columns: 1; }
  .tfel-editor-note { padding: 22px 20px; }
  .tfel-original-content > h2 { margin-top: 56px !important; padding: 19px 12px 18px 58px !important; font-size: 26px !important; }
  .tfel-original-content > h2::before { top: 23px; left: 10px; }
  .tfel-original-content > h2::after { top: 18px; bottom: 18px; left: 43px; }
  .tfel-original-content > h3 { font-size: 20px !important; }
  .tfel-original-content .tf-dialogue { padding: 20px 14px; }
  .tfel-original-content .tf-dialogue__turn { padding: 80px 18px 18px; }
  .tfel-original-content .tf-dialogue__turn::before { top: 14px; left: 18px; width: 52px; height: 52px; }
  .tfel-original-content .tf-dialogue__turn--editor::before { right: 18px; left: auto; }
  .tfel-original-content .tf-dialogue__turn--reader,
  .tfel-original-content .tf-dialogue__turn--editor { margin-right: 0 !important; margin-left: 0 !important; }
  .tfel-before-leave { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .tfel-nocturne-report * { scroll-behavior: auto !important; }
}
