/* 大衆府の老爺 — inner house identity. Does not affect the 360 store. */

body.inner {
  --night: #120f0c;
  --night-2: #1b1612;
  --paper: #efe6d4;
  --paper-2: #e7dcc6;
  --ink: #1c1712;
  --gold: #c9a056;
  --cinnabar: #9a2b24;
  --muted: #9a8f82;
  background:
    radial-gradient(ellipse 90% 55% at 12% -8%, rgba(201, 160, 86, .2), transparent 52%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(154, 43, 36, .12), transparent 48%),
    var(--night);
  color: var(--paper);
  overflow: auto;
  height: auto;
  min-height: 100dvh;
  font-family: "LXGW WenKai TC", "LXGW WenKai", "PingFang TC", "Noto Sans TC", serif;
}
body.inner::before {
  content: "大衆府の老爺";
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  letter-spacing: .42em;
  color: rgba(201, 160, 86, .28);
  font-size: 13px;
  pointer-events: none;
}
body.inner::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.inner .topbar,
body.inner main,
body.inner .site-credit { position: relative; z-index: 1; }

body.inner .topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 28px 16px 48px;
  background: rgba(18, 15, 12, .78);
  border-bottom: 1px solid rgba(201, 160, 86, .18);
  backdrop-filter: blur(16px);
}
body.inner .topbar-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--paper);
  text-decoration: none;
  font-family: "LXGW WenKai TC", serif;
  font-weight: 300;
  letter-spacing: .2em;
  font-size: 18px;
  white-space: nowrap;
}
body.inner .topbar-brand .brand-no,
.brand-no { color: #c9a056; }
.topbar-whisper {
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 12px;
  letter-spacing: .16em;
  color: #c9a056;
}
body.inner .topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
body.inner .topbar-nav a,
body.inner .topbar-langs a {
  color: rgba(239, 230, 212, .62);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .14em;
}
body.inner .topbar-nav a:hover,
body.inner .topbar-langs a:hover,
body.inner .topbar-langs a.is-on {
  color: var(--gold);
}
body.inner .topbar-langs {
  display: flex;
  gap: 14px;
  height: 28px;
  align-items: center;
}

.room {
  width: min(1040px, calc(100% - 120px));
  margin: 0 auto;
  padding: 64px 0 96px;
}
.room-head {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 36px;
  align-items: start;
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.room-head .room-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .42em;
  writing-mode: vertical-rl;
  height: 100%;
  min-height: 9em;
  justify-self: start;
  padding-top: 6px;
}
.room-head-copy { min-width: 0; }
.room h1,
.room-title {
  margin: 0 0 18px;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: .04em;
  color: #f6edd8;
  max-width: 18em;
}
.room .lead {
  max-width: 42em;
  margin: 0 0 12px;
  color: #d5cbb8;
  font-size: 17px;
  line-height: 2;
}
.house-stamp {
  position: absolute;
  right: 0;
  top: 6px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cinnabar);
  color: var(--cinnabar);
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 22px;
  letter-spacing: .12em;
  transform: rotate(-9deg);
  opacity: .88;
  pointer-events: none;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 36px 0 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 160, 86, .22);
}
.room-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .18em;
}
.room-meta strong { font-weight: 400; font-size: 22px; }

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin-top: 48px;
}
.room-card {
  display: block;
  position: relative;
  padding: 28px 26px 26px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  transform: rotate(-0.35deg);
}
.room-card:nth-child(even) { transform: rotate(.45deg); background: var(--paper-2); }
.room-card:nth-child(3) { transform: rotate(-.2deg); }
.room-card:nth-child(4) { transform: rotate(.25deg); }
.room-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cinnabar);
  opacity: .55;
}
.room-card small {
  color: #8a4a2c;
  font-size: 10px;
  letter-spacing: .16em;
}
.room-card h2,
.room-card h3 {
  margin: 16px 0 10px;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
}
.room-card p { margin: 0; color: #5c534a; font-size: 14px; line-height: 1.75; }
.room-card:hover {
  transform: rotate(0) translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
}

.contact-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 28px;
}
.contact-rows div {
  padding: 16px 0;
  border-top: 1px solid rgba(201, 160, 86, .22);
}
.contact-rows span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .16em;
}
.contact-rows a,
.contact-rows b {
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.contact-rows a:hover { color: var(--gold); }
.room-place {
  margin: 8px 0 4px;
  color: var(--paper);
}
.room-place span { color: var(--gold); }
.room-place small { color: var(--muted); }
.guidance-private {
  margin-top: 56px;
  padding-top: 8px;
  max-width: 560px;
}
.guidance-private .lead { margin-bottom: 8px; }

.inner-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.inner-table th,
.inner-table td { padding: 10px 8px; border-bottom: 1px solid rgba(28, 23, 18, .12); text-align: left; }
.inner-table th { color: #8a4a2c; font-size: 10px; letter-spacing: .12em; font-weight: 400; }
.inner-table a { color: var(--cinnabar); }

.release {
  margin: 36px 0 0;
  padding: 28px 28px 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}
.release h2 {
  margin: 0 0 6px;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}
.release .sub { margin: 0 0 8px; color: #7a6f64; font-size: 12px; letter-spacing: .08em; }

.song-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 8px;
  padding-top: 8px;
}
.song-index a {
  color: rgba(239, 230, 212, .78);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .04em;
}
.song-index a:hover { color: var(--gold); }
.song-card {
  margin: 28px 0 0;
  padding: 28px 28px 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}
.song-card h1,
.song-card h2 {
  margin: 0 0 12px;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}
.song-kicker {
  margin: 0 0 8px;
  color: #8a4a2c;
  font-size: 11px;
  letter-spacing: .28em;
}
.room .say-bar {
  margin: 0 0 22px;
}
.song-bio {
  margin: 0 0 8px;
  color: #3f372f;
  font-size: 15px;
  line-height: 1.9;
}
.song-version {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 23, 18, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  justify-content: space-between;
}
.song-version small {
  color: #8a4a2c;
  font-size: 11px;
  letter-spacing: .14em;
}
.song-listen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.song-listen a {
  color: var(--cinnabar);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
}
.song-listen a:hover { text-decoration: underline; }
.song-listen span { color: #7a6f64; font-size: 12px; }

body.inner .site-credit {
  padding: 36px 22px 40px;
  border-top: 1px solid rgba(201, 160, 86, .18);
  color: var(--muted);
  text-align: center;
  background: transparent;
}
body.inner .site-credit a { color: #c4b7a4; text-decoration: none; }
body.inner .site-credit a:hover { color: var(--gold); }
body.inner .privacy-body {
  max-width: 720px;
  margin-top: 28px;
}
body.inner .privacy-body h2 {
  margin: 28px 0 10px;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 26px;
  font-weight: 400;
  color: var(--gold);
}
body.inner .privacy-body p {
  margin: 0 0 12px;
  color: rgba(239, 230, 212, .82);
  font-size: 15px;
  line-height: 1.8;
}
.site-credit-home {
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: .16em;
}
.site-credit-whisper {
  margin: 0 0 14px !important;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 16px;
  letter-spacing: .14em;
  color: var(--gold);
}

/* About */
.about-page .about-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: #0a0908 url("/images/WebUse/opt/16x9/enter-poster.webp") center / cover no-repeat;
  filter: saturate(.7) brightness(.42);
}
.about-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 12, .2) 0%, rgba(18, 15, 12, .55) 50%, var(--night) 100%);
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  width: min(1080px, calc(100% - 120px));
  margin: 0 auto;
  padding: 80px 0 48px;
}
.about-portrait {
  margin: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  outline: 1px solid rgba(201, 160, 86, .25);
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(.08) contrast(1.06) sepia(.08);
}
.about-intro .room-kicker {
  writing-mode: horizontal-tb;
  min-height: 0;
  letter-spacing: .28em;
  margin-bottom: 16px;
}
.about-intro h1 {
  margin: 0;
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: clamp(32px, 4.8vw, 62px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .04em;
  color: #f6edd8;
}
.about-body .room { padding-top: 8px; }
.about-body .lead {
  color: #d5cbb8;
  max-width: 40em;
  font-size: 17px;
  line-height: 2.05;
}
.about-body .lead:first-child {
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 22px;
  color: #f0e4cc;
  line-height: 1.8;
}
.about-links {
  margin-top: 36px;
  padding-top: 8px;
}
.about-links .room-kicker { margin-bottom: 4px; }

/* Quotes */
.say-page .say {
  width: min(520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}
.say-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.say-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  min-width: 0;
  flex: 1;
}
.say-pick select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(201, 160, 86, .28);
  background: #1c1814;
  color: var(--paper);
  font-family: "LXGW WenKai TC", serif;
  font-size: 14px;
}
.say-pager { display: flex; gap: 8px; flex-shrink: 0; }
.say-icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(201, 160, 86, .3);
  background: rgba(255, 255, 255, .03);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
}
.say-icon-btn img { display: block; width: 22px; height: 22px; }
.say-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #222;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.say-bg, .say-shade { position: absolute; inset: 0; }
.say-bg { background-size: cover; background-position: center; }
.say-shade {
  background: linear-gradient(180deg, rgba(18, 15, 12, .42) 0%, rgba(18, 15, 12, .58) 28%, rgba(18, 15, 12, .78) 100%);
}
.say-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 18% 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.say-kicker {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--gold);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .85);
}
.say-copy h1 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .08em;
  color: #f0e4cc;
}
.say-text {
  font-family: "Jason HandWriting 6p", "LXGW WenKai TC", cursive;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #fff;
  white-space: pre-line;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.say-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* Mobile: journal, not a shrunk desktop */
@media (max-width: 820px) {
  body.inner::before { display: none; }
  body.inner .topbar {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }
  body.inner .topbar-nav { display: none; }
  .topbar-whisper { display: none; }
  .room {
    width: calc(100% - 28px);
    padding: 28px 0 64px;
  }
  .room-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-right: 52px;
  }
  .room-head .room-kicker {
    writing-mode: horizontal-tb;
    min-height: 0;
    height: auto;
    letter-spacing: .28em;
    font-size: 11px;
  }
  .room h1,
  .room-title {
    font-size: clamp(28px, 9vw, 40px);
    max-width: none;
  }
  .house-stamp {
    width: 40px;
    height: 40px;
    font-size: 16px;
    top: 0;
  }
  .room-grid { grid-template-columns: 1fr; gap: 16px; }
  .song-card { padding: 22px 18px 16px; }
  .song-card h1,
  .song-card h2 { font-size: 24px; }
  .song-version { display: block; }
  .room-card,
  .room-card:nth-child(even),
  .room-card:nth-child(3),
  .room-card:nth-child(4) { transform: none; }
  .contact-rows { grid-template-columns: 1fr; }
  .about-hero { min-height: 92vh; }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    width: calc(100% - 28px);
    padding-top: 36px;
  }
  .about-portrait { max-width: 240px; }
  .about-intro h1 { font-size: clamp(28px, 8.5vw, 40px); }
}

@media (min-width: 821px) {
  .room-card:nth-child(odd) { margin-top: 12px; }
  .room-card:nth-child(even) { margin-top: 0; }
}
