/*
Theme Name: Kayl Original
Theme URI: https://kaylkawakami.com/
Author: Codex
Description: Lightweight original theme for Kayl Official Website.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 7.0
Text Domain: kairi-original
*/

:root {
  --paper: #f7fbf8;
  --paper-strong: #ffffff;
  --mist: #e6f2ef;
  --ink: #102025;
  --muted: #5f7378;
  --line: rgba(16, 32, 37, 0.12);
  --deep: #15363d;
  --blue: #3e8aa0;
  --violet: #7167a7;
  --coral: #df806f;
  --green: #6d9b83;
  --shadow: 0 18px 45px rgba(16, 32, 37, 0.12);
  --shell: 1120px;
  --radius: 8px;
  --font-body: "Zen Kaku Gothic New", "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(140, 190, 205, 0.22) 0 18%, transparent 38%),
    radial-gradient(circle at 86% 24%, rgba(223, 128, 111, 0.13) 0 16%, transparent 34%),
    radial-gradient(circle at 56% 72%, rgba(113, 103, 167, 0.11) 0 18%, transparent 42%),
    linear-gradient(180deg, var(--paper) 0%, #edf7f4 46%, #faf8ef 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.82;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper-strong);
  background: var(--deep);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  border-bottom: 1px solid rgba(169, 237, 232, 0.18);
  background:
    linear-gradient(110deg, rgba(184, 247, 242, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(6, 24, 35, 0.84), rgba(8, 35, 48, 0.72));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(20px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(147, 232, 232, 0.16), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(216, 194, 255, 0.1), transparent 30%),
    linear-gradient(90deg, transparent 0 46%, rgba(194, 255, 250, 0.06) 48%, transparent 58%);
  pointer-events: none;
}

.site-header > * {
  position: relative;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  background:
    linear-gradient(110deg, rgba(184, 247, 242, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(5, 20, 30, 0.92), rgba(7, 31, 43, 0.82));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 255, 251, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.98), rgba(239, 255, 252, 0.84));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(142, 242, 236, 0.22);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #082432;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  color: #f8ffff;
  font-size: 1rem;
}

.brand-copy span {
  color: rgba(210, 238, 238, 0.72);
  font-size: 0.75rem;
}

.nav-desktop {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-desktop::-webkit-scrollbar {
  display: none;
}

.nav-list,
.nav-list ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.65vw, 10px);
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  color: rgba(235, 252, 251, 0.86);
  font-size: 0.82rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9af2ed, transparent);
  box-shadow: 0 0 12px rgba(154, 242, 237, 0.48);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-list .current-cat > a::after {
  transform: scaleX(1);
}

.nav-mobile {
  display: none;
  position: relative;
}

.nav-mobile summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(184, 247, 242, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  list-style: none;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-lines,
.nav-mobile-lines::before,
.nav-mobile-lines::after {
  display: block;
  width: 20px;
  height: 1px;
  background: #d9fffb;
}

.nav-mobile-lines {
  position: relative;
}

.nav-mobile-lines::before,
.nav-mobile-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile-lines::before {
  top: -7px;
}

.nav-mobile-lines::after {
  top: 7px;
}

.mobile-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(84vw, 320px);
  padding: 12px;
  border: 1px solid rgba(184, 247, 242, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(5, 22, 31, 0.92);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.mobile-panel .nav-list,
.mobile-panel .nav-list ul {
  display: grid;
  gap: 4px;
}

.mobile-panel .nav-list a {
  width: 100%;
  min-height: 44px;
  padding: 4px 8px;
}

.hero-section {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.86) 0 11%, transparent 28%),
    radial-gradient(circle at 20% 76%, rgba(62, 138, 160, 0.18) 0 14%, transparent 32%),
    linear-gradient(135deg, rgba(231, 245, 242, 0.94), rgba(255, 255, 255, 0.72) 46%, rgba(249, 241, 232, 0.84));
}

.hero-section.is-deepsea {
  min-height: clamp(620px, 78vh, 760px);
  color: #f3fbfb;
  border-bottom-color: rgba(150, 224, 224, 0.18);
  background:
    linear-gradient(115deg, rgba(180, 247, 242, 0.12) 0 1px, transparent 1px 26%),
    linear-gradient(72deg, transparent 0 45%, rgba(164, 226, 226, 0.08) 46% 49%, transparent 50%),
    radial-gradient(ellipse at 28% -10%, rgba(92, 203, 211, 0.28) 0 18%, transparent 52%),
    radial-gradient(ellipse at 84% 8%, rgba(163, 126, 201, 0.22) 0 16%, transparent 48%),
    linear-gradient(180deg, #061823 0%, #092432 42%, #123e46 100%);
}

.hero-section.is-deepsea::before,
.hero-section.is-deepsea::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section.is-deepsea::before {
  background:
    linear-gradient(102deg, transparent 0 13%, rgba(169, 237, 232, 0.16) 15%, transparent 31%),
    linear-gradient(78deg, transparent 0 56%, rgba(218, 188, 236, 0.12) 58%, transparent 72%);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero-section.is-deepsea::after {
  display: none;
}

.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  pointer-events: none;
}

.water-surface {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(62, 138, 160, 0.14), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(223, 128, 111, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(247, 251, 248, 0.96), rgba(238, 247, 244, 0.88));
}

.water-surface > * {
  position: relative;
}

.water-surface > .hero-wave {
  position: absolute;
  inset: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 56px;
  min-height: 590px;
  padding: 58px 0 54px;
}

.hero-section.is-deepsea .hero-grid {
  min-height: clamp(620px, 78vh, 760px);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-title .hero-word,
.hero-title .hero-punctuation {
  display: inline;
}

.hero-title .hero-phrase {
  display: inline-block;
  white-space: nowrap;
}

.hero-section.is-deepsea .eyebrow {
  color: #94e8ea;
}

.hero-section.is-deepsea .hero-title {
  color: #f7ffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.hero-section.is-deepsea .hero-title .hero-word {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section.is-deepsea .hero-title .is-blue {
  background-image: linear-gradient(90deg, #7feeff, #4fc5ff 62%, #d8f9ff);
}

.hero-section.is-deepsea .hero-title .is-clear {
  background-image: linear-gradient(90deg, #f7ffff, #b8fff7 48%, #a6d7ff);
  text-shadow: 0 0 28px rgba(180, 255, 247, 0.18);
}

.hero-section.is-deepsea .hero-title .is-ache {
  background-image: linear-gradient(90deg, #ffd5df, #d9c5ff 48%, #b8f4ff);
}

.hero-section.is-deepsea .hero-title .is-music {
  background-image: linear-gradient(90deg, #fff7d2, #c9f7ff 52%, #d7c4ff);
}

.hero-title .hero-punctuation {
  color: rgba(232, 250, 249, 0.5);
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--deep);
  font-size: 1.06rem;
}

.hero-section.is-deepsea .hero-lead {
  color: rgba(232, 250, 249, 0.84);
}

.hero-cta-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 24px;
}

.conversion-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(176, 248, 242, 0.34);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.9);
  background:
    radial-gradient(circle at 18% 16%, rgba(203, 255, 251, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(3, 17, 27, 0.28);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.conversion-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px auto;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 232, 232, 0.32), transparent 68%);
  opacity: 0.72;
  pointer-events: none;
}

.conversion-card small {
  color: #94e8ea;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversion-card strong {
  color: #f8ffff;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.conversion-card span {
  color: rgba(230, 251, 249, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.conversion-card:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 255, 251, 0.64);
  background:
    radial-gradient(circle at 18% 16%, rgba(203, 255, 251, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(6, 28, 40, 0.4);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(107, 227, 222, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 456px);
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 6px;
  border: 1px solid rgba(176, 248, 242, 0.32);
  border-radius: 999px;
  color: rgba(239, 254, 253, 0.86);
  background:
    radial-gradient(circle at 15% 12%, rgba(184, 247, 242, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(4, 23, 31, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.language-switcher span {
  padding-inline: 10px 6px;
  color: rgba(184, 247, 242, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher button {
  min-width: 78px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(239, 254, 253, 0.84);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  transform: translateY(-1px);
  border-color: rgba(203, 255, 251, 0.56);
  color: #f8ffff;
  background:
    linear-gradient(145deg, rgba(149, 242, 236, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(126, 224, 219, 0.16);
}

.language-switcher button[aria-pressed="true"] {
  box-shadow:
    0 0 18px rgba(107, 227, 222, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.google-translate-host,
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

.button-link,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  color: var(--paper-strong);
  background: var(--deep);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button-link:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
}

.button-link.is-secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.58);
}

.button-link.is-tertiary {
  border-color: rgba(16, 32, 37, 0.18);
  color: var(--deep);
  background: transparent;
}

.hero-section.is-deepsea .button-link {
  border-color: rgba(176, 248, 242, 0.5);
  color: #f8ffff;
  background: rgba(126, 224, 219, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero-section.is-deepsea .button-link.is-secondary {
  color: #f8ffff;
  background: rgba(255, 255, 255, 0.09);
}

.hero-section.is-deepsea .button-link.is-tertiary {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(240, 252, 252, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.hero-actions .button-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
  min-height: 54px;
  padding-inline: 12px;
  text-align: center;
  white-space: normal;
}

.hero-actions .button-link::before,
.hero-actions .button-link::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-actions .button-link::before {
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 46%);
  opacity: 0.7;
  z-index: -1;
}

.hero-actions .button-link::after {
  top: -35%;
  bottom: -35%;
  left: -52%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 251, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
}

.hero-actions .button-link:hover::after {
  left: 112%;
}

.hero-section.is-deepsea .hero-actions .button-link {
  border-color: rgba(176, 248, 242, 0.42);
  background:
    linear-gradient(145deg, rgba(149, 242, 236, 0.2), rgba(255, 255, 255, 0.055)),
    rgba(5, 22, 31, 0.28);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-section.is-deepsea .hero-actions .button-link:hover {
  border-color: rgba(203, 255, 251, 0.72);
  background:
    linear-gradient(145deg, rgba(157, 249, 242, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(7, 33, 45, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(107, 227, 222, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 456px);
  gap: 10px;
  margin-top: 24px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 5px 12px;
  border: 1px solid rgba(16, 32, 37, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hero-section.is-deepsea .social-pill {
  border-color: rgba(171, 241, 237, 0.24);
  color: rgba(230, 251, 249, 0.82);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-section.is-deepsea .social-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 255, 251, 0.5);
  color: #f8ffff;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.22), transparent 38%),
    rgba(126, 224, 219, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 20px rgba(107, 227, 222, 0.1);
}

.hero-visual {
  display: grid;
  gap: 14px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 37, 0.12);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.hero-section.is-deepsea .portrait-frame {
  border-color: rgba(173, 246, 240, 0.34);
  background: linear-gradient(145deg, rgba(236, 255, 252, 0.12), rgba(11, 37, 50, 0.44));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.32),
    0 0 42px rgba(111, 229, 223, 0.2),
    inset 0 0 32px rgba(255, 255, 255, 0.08);
}

.portrait-frame::before {
  content: "";
  display: block;
  aspect-ratio: 1 / 1;
}

.portrait-frame img,
.portrait-frame .brand-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portrait-frame img {
  object-fit: cover;
}

.hero-section.is-deepsea .portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(194, 255, 250, 0.24) 42%, transparent 50%),
    radial-gradient(ellipse at 22% 10%, rgba(171, 241, 237, 0.28), transparent 42%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.now-listening {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-section.is-deepsea .now-listening {
  border-color: rgba(173, 246, 240, 0.22);
  color: rgba(238, 253, 253, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(5, 21, 31, 0.32);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.now-listening small,
.card-meta,
.archive-description,
.entry-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.now-listening a {
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.hero-section.is-deepsea .now-listening a {
  color: #f8ffff;
}

.d20-die {
  --d20-size: 72px;
  --d20-y: 0px;
  position: relative;
  display: inline-block;
  width: var(--d20-size);
  aspect-ratio: 1;
  flex: 0 0 auto;
  overflow: visible;
  transform: translateY(var(--d20-y));
  transform-origin: 50% 50%;
  filter: drop-shadow(0 18px 22px rgba(0, 10, 28, 0.34)) drop-shadow(0 0 12px rgba(88, 217, 255, 0.1));
  will-change: transform, filter;
}

.d20-die::before {
  content: "";
  position: absolute;
  inset: 24% 10% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 8, 18, 0.36), transparent 70%);
  filter: blur(8px);
  transform: translateY(34%);
  pointer-events: none;
}

.d20-die canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.d20-die.is-rolling {
  filter: drop-shadow(0 20px 26px rgba(0, 10, 28, 0.4)) drop-shadow(0 0 16px rgba(88, 217, 255, 0.16));
}

.random-compose-teaser {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 136px;
  padding: 22px 136px 22px 20px;
  border: 1px solid rgba(173, 246, 240, 0.52);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.9);
  background:
    radial-gradient(circle at 16% 8%, rgba(151, 245, 246, 0.28), transparent 34%),
    radial-gradient(circle at 84% 50%, rgba(42, 178, 232, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(8, 42, 54, 0.52);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(107, 227, 222, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.random-compose-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(204, 255, 250, 0.16) 47%, transparent 56%),
    radial-gradient(circle at 84% 50%, rgba(109, 223, 255, 0.22), transparent 28%);
  opacity: 0.85;
  pointer-events: none;
}

.random-compose-teaser small,
.random-compose-teaser strong,
.random-compose-teaser > span:not(.d20-die) {
  position: relative;
  z-index: 1;
}

.random-compose-teaser small {
  color: #94e8ea;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.random-compose-teaser strong {
  color: #f8ffff;
  font-size: 1.16rem;
  line-height: 1.42;
  text-shadow: 0 0 18px rgba(148, 232, 234, 0.2);
}

.random-compose-teaser > span:not(.d20-die) {
  color: rgba(232, 250, 249, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.random-compose-teaser .d20-die {
  --d20-size: 108px;
  --d20-y: -50%;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 14px;
}

.random-compose-teaser:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 255, 251, 0.68);
  background:
    radial-gradient(circle at 15% 10%, rgba(151, 245, 246, 0.25), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(7, 33, 45, 0.48);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(107, 227, 222, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.random-compose-teaser:hover .d20-die {
  filter: drop-shadow(0 22px 28px rgba(0, 10, 28, 0.44)) drop-shadow(0 0 16px rgba(88, 217, 255, 0.16));
}

@keyframes marineSnowDrift {
  from {
    background-position: 0 0, 34px 20px;
  }

  to {
    background-position: 32px 172px, -18px 220px;
  }
}

.section {
  padding: 86px 0;
}

.section.is-muted {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(62, 138, 160, 0.13) 0 18%, transparent 48%),
    radial-gradient(ellipse at 92% 100%, rgba(223, 128, 111, 0.12) 0 16%, transparent 44%),
    rgba(255, 255, 255, 0.48);
  border-block: 1px solid var(--line);
}

.section.is-muted::before {
  display: none;
}

.section.is-muted > .site-shell {
  position: relative;
}

body.home,
body.archive,
body.single {
  background: #061823;
}

.home #content,
.archive #content,
.single #content {
  background:
    radial-gradient(ellipse at 16% 12%, rgba(92, 203, 211, 0.18) 0 16%, transparent 42%),
    radial-gradient(ellipse at 86% 40%, rgba(163, 126, 201, 0.14) 0 14%, transparent 40%),
    linear-gradient(180deg, #061823 0%, #082432 46%, #103944 100%);
}

.home .section,
.archive .archive-layout,
.single .entry-layout {
  position: relative;
  overflow: hidden;
  color: #eefcfc;
  border-top: 1px solid rgba(159, 229, 229, 0.16);
  background:
    radial-gradient(ellipse at 22% 0%, rgba(121, 225, 221, 0.12) 0 18%, transparent 48%),
    radial-gradient(ellipse at 88% 82%, rgba(219, 186, 255, 0.1) 0 18%, transparent 48%),
    linear-gradient(180deg, rgba(5, 22, 31, 0.68), rgba(7, 31, 42, 0.9));
}

.home .section::before,
.archive .archive-layout::before,
.single .entry-layout::before {
  display: none;
}

.home .section::after,
.archive .archive-layout::after,
.single .entry-layout::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 16%, rgba(179, 244, 238, 0.09) 18%, transparent 33%),
    linear-gradient(72deg, transparent 0 60%, rgba(216, 194, 255, 0.08) 62%, transparent 76%);
  opacity: 0.72;
  pointer-events: none;
}

.home .section > .site-shell,
.archive .archive-layout > *,
.single .entry-layout > * {
  position: relative;
  z-index: 1;
}

.home .section.is-muted {
  background:
    radial-gradient(ellipse at 24% 0%, rgba(151, 241, 235, 0.16) 0 18%, transparent 50%),
    radial-gradient(ellipse at 82% 100%, rgba(255, 201, 187, 0.08) 0 14%, transparent 44%),
    linear-gradient(180deg, rgba(7, 29, 40, 0.94), rgba(5, 23, 33, 0.88));
  border-block: 1px solid rgba(159, 229, 229, 0.16);
}

.home .section.is-muted::before {
  display: none;
}

.home .section-kicker,
.archive .archive-layout .card-meta {
  color: #93e8e8;
}

.home .section-title,
.home .channel-panel h3,
.home .feature-panel h3,
.home .feature-list a,
.home .feature-list span,
.home .quiet-list a,
.archive .card-title a {
  color: #f8ffff;
}

.home .section-lead,
.home .channel-panel p,
.home .feature-panel p,
.home .feature-list small,
.home .card-excerpt,
.home .quiet-list small,
.home .card-meta,
.archive .card-excerpt,
.archive .card-meta {
  color: rgba(223, 245, 244, 0.72);
}

.home .post-card,
.archive .post-card,
.home .channel-panel,
.home .feature-panel {
  border-color: rgba(184, 247, 242, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 90% 12%, rgba(124, 229, 224, 0.14) 0 18%, transparent 42%),
    rgba(5, 22, 31, 0.5);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.home .post-card::before,
.archive .post-card::before,
.home .channel-panel::before,
.home .feature-panel::before {
  background: linear-gradient(135deg, rgba(230, 255, 252, 0.45), rgba(112, 228, 222, 0.2), rgba(213, 185, 255, 0.18));
}

.home .card-media,
.archive .card-media {
  background:
    radial-gradient(circle at 32% 14%, rgba(188, 255, 250, 0.22), transparent 32%),
    linear-gradient(135deg, #061823, #123a45);
}

.home .card-placeholder,
.archive .card-placeholder {
  color: #eaffff;
  text-shadow: 0 0 22px rgba(148, 232, 232, 0.4);
}

.home .post-card:hover,
.archive .post-card:hover {
  border-color: rgba(171, 247, 241, 0.44);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(107, 227, 222, 0.12);
}

.home .section .button-link {
  border-color: rgba(176, 248, 242, 0.42);
  color: #f8ffff;
  background: rgba(126, 224, 219, 0.16);
}

.home .section .button-link.is-secondary,
.home .section .button-link.is-tertiary {
  color: rgba(240, 252, 252, 0.9);
  background: rgba(255, 255, 255, 0.055);
}

.home .quiet-list li {
  border-bottom-color: rgba(184, 247, 242, 0.16);
}

.home .feature-list li {
  border-top-color: rgba(184, 247, 242, 0.16);
}

.home .text-link {
  color: #93e8e8;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-route-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 34px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 247, 242, 0.18);
  border-radius: var(--radius);
  color: rgba(230, 251, 249, 0.8);
  background:
    radial-gradient(circle at 8% 16%, rgba(148, 232, 232, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.site-shell.section-route-bar {
  margin: 14px auto 34px;
}

.section-route-bar span {
  color: rgba(184, 247, 242, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-route-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(184, 247, 242, 0.2);
  border-radius: 999px;
  color: rgba(239, 254, 253, 0.9);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.price-modal[hidden] {
  display: none;
}

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-bar .price-modal {
  top: 32px;
}

.price-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(101, 219, 222, 0.18), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(211, 185, 255, 0.16), transparent 36%),
    rgba(1, 10, 16, 0.78);
  backdrop-filter: blur(10px);
}

.price-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: min(820px, calc(100vh - 52px));
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(184, 247, 242, 0.28);
  border-radius: 18px;
  color: #effefd;
  background:
    radial-gradient(circle at 18% 6%, rgba(154, 244, 239, 0.18), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(215, 191, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(10, 45, 58, 0.94), rgba(4, 20, 31, 0.96));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.price-modal__panel:focus {
  outline: 2px solid rgba(148, 232, 232, 0.7);
  outline-offset: 4px;
}

.price-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 247, 242, 0.28);
  border-radius: 999px;
  color: #f8ffff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.price-modal__intro {
  max-width: 720px;
  color: rgba(230, 251, 249, 0.76);
}

.price-simulator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(18px, 3vw, 28px);
  margin-top: 26px;
}

.price-builder,
.price-result {
  border: 1px solid rgba(184, 247, 242, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-builder {
  padding: clamp(16px, 2.8vw, 24px);
}

.price-builder__section + .price-builder__section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 247, 242, 0.16);
}

.price-builder h3,
.price-result h3 {
  margin: 0 0 12px;
  color: #f8ffff;
  font-size: 1.02rem;
}

.price-presets,
.price-choice-grid,
.price-option-grid {
  display: grid;
  gap: 10px;
}

.price-presets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-plan-card,
.price-check-card,
.price-radio-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(184, 247, 242, 0.18);
  border-radius: 13px;
  color: rgba(239, 254, 253, 0.88);
  background:
    radial-gradient(circle at 14% 10%, rgba(148, 232, 232, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.price-plan-card {
  display: grid;
  align-content: start;
  min-height: 116px;
  padding: 14px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.price-plan-card:hover,
.price-plan-card.is-active,
.price-check-card:has(input:checked),
.price-radio-card:has(input:checked) {
  border-color: rgba(177, 247, 241, 0.56);
  background:
    radial-gradient(circle at 20% 10%, rgba(176, 248, 242, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 0 24px rgba(107, 227, 222, 0.12);
}

.price-plan-card small,
.price-result small,
.price-check-card small,
.price-radio-card small {
  color: #93e8e8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-plan-card strong,
.price-check-card strong,
.price-radio-card strong {
  display: block;
  margin-top: 8px;
  color: #f8ffff;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.price-plan-card span,
.price-check-card span,
.price-radio-card span {
  display: block;
  margin-top: 5px;
  color: rgba(230, 251, 249, 0.7);
  font-size: 0.82rem;
  line-height: 1.45;
}

.price-check-card,
.price-radio-card {
  display: block;
  min-height: 92px;
  padding: 13px 14px 13px 42px;
  cursor: pointer;
}

.price-check-card input,
.price-radio-card input {
  position: absolute;
  top: 17px;
  left: 15px;
  width: 16px;
  height: 16px;
  accent-color: #93e8e8;
}

.price-result {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: clamp(18px, 3vw, 26px);
}

.price-total {
  margin: 14px 0 8px;
  color: #f8ffff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  text-shadow: 0 0 28px rgba(148, 232, 232, 0.22);
}

.price-subtotal {
  color: rgba(230, 251, 249, 0.72);
  font-size: 0.9rem;
}

.price-selected-list,
.price-breakdown {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.price-selected-list span,
.price-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(184, 247, 242, 0.14);
  border-radius: 999px;
  color: rgba(239, 254, 253, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.84rem;
}

.price-note {
  margin-top: 16px;
  color: rgba(230, 251, 249, 0.68);
  font-size: 0.84rem;
  line-height: 1.7;
}

.price-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.price-modal-open {
  overflow: hidden;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title,
.entry-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-lead {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards-grid.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
  position: relative;
  display: grid;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(62, 138, 160, 0.14), rgba(223, 128, 111, 0.08));
  box-shadow: 0 12px 34px rgba(16, 32, 37, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card::before,
.entry-panel::before,
.mini-panel::before,
.channel-panel::before,
.page-side-note::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(62, 138, 160, 0.24), rgba(223, 128, 111, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 138, 160, 0.36);
  box-shadow: 0 16px 35px rgba(16, 32, 37, 0.1);
}

.card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #eef7f5, #f8f1e9);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.post-card:hover .card-media img {
  transform: scale(1.035);
}

.card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(62, 138, 160, 0.2);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.card-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(62, 138, 160, 0.42);
  background: rgba(255, 255, 255, 0.72);
}

.home .card-actions a,
.archive .card-actions a {
  border-color: rgba(184, 247, 242, 0.22);
  color: rgba(230, 251, 249, 0.9);
  background: rgba(255, 255, 255, 0.055);
}

.home .card-actions a:hover,
.archive .card-actions a:hover {
  border-color: rgba(203, 255, 251, 0.52);
  background: rgba(126, 224, 219, 0.12);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 138, 160, 0.13) 0 14%, transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  box-shadow: 0 14px 36px rgba(16, 32, 37, 0.08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.feature-panel h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 32, 37, 0.1);
}

.feature-list a,
.feature-list span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.48;
  text-decoration: none;
}

.feature-list small {
  color: var(--muted);
  font-size: 0.78rem;
}

.text-link {
  align-self: end;
  width: fit-content;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.channel-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(62, 138, 160, 0.13) 0 14%, transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  box-shadow: 0 14px 36px rgba(16, 32, 37, 0.08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.channel-panel h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.channel-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.quiet-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.archive-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 40vh, 430px);
  padding: 46px 0 40px;
  border-bottom: 1px solid var(--line);
}

.archive-hero > .site-shell {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 20px;
}

.archive-hero > .page-hero-grid {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.archive-hero .hero-wave,
.single-hero .hero-wave {
  opacity: 0.58;
}

.archive-hero.water-surface,
.single-hero.water-surface {
  color: #eefcfc;
  border-bottom-color: rgba(159, 229, 229, 0.16);
  background:
    radial-gradient(ellipse at 20% 8%, rgba(92, 203, 211, 0.24) 0 16%, transparent 48%),
    radial-gradient(ellipse at 86% 18%, rgba(163, 126, 201, 0.18) 0 15%, transparent 46%),
    linear-gradient(180deg, #061823 0%, #082432 48%, #123e46 100%);
}

.archive-hero.water-surface::before,
.single-hero.water-surface::before,
.archive-hero.water-surface::after,
.single-hero.water-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.archive-hero.water-surface::before,
.single-hero.water-surface::before {
  background:
    linear-gradient(104deg, transparent 0 18%, rgba(179, 244, 238, 0.12) 20%, transparent 35%),
    linear-gradient(76deg, transparent 0 58%, rgba(216, 194, 255, 0.1) 60%, transparent 75%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.archive-hero.water-surface::after,
.single-hero.water-surface::after {
  display: none;
}

.archive-hero.water-surface > :not(.hero-wave),
.single-hero.water-surface > :not(.hero-wave) {
  position: relative;
  z-index: 1;
}

.archive-hero.water-surface > .site-shell,
.single-hero.water-surface > .site-shell {
  text-align: center;
}

.archive-hero.water-surface .eyebrow,
.single-hero.water-surface .eyebrow {
  color: #94e8ea;
}

.archive-hero.water-surface .page-title,
.single-hero.water-surface .entry-title {
  color: #f8ffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.archive-hero.water-surface .archive-description,
.single-hero.water-surface .entry-meta,
.single-hero.water-surface .page-lead,
.archive-hero.water-surface .page-lead {
  color: rgba(226, 248, 247, 0.78);
}

.archive-hero.water-surface .page-side-note,
.single-hero.water-surface .page-side-note {
  border-color: rgba(184, 247, 242, 0.24);
  color: rgba(238, 253, 253, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(5, 21, 31, 0.32);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.archive-hero.water-surface .page-side-note small,
.single-hero.water-surface .page-side-note small {
  color: #94e8ea;
}

.archive-hero.water-surface .page-side-note span,
.single-hero.water-surface .page-side-note span {
  color: rgba(242, 255, 254, 0.88);
}

.page #content {
  background:
    radial-gradient(ellipse at 18% 18%, rgba(92, 203, 211, 0.17) 0 16%, transparent 44%),
    radial-gradient(ellipse at 88% 56%, rgba(255, 201, 187, 0.1) 0 14%, transparent 42%),
    linear-gradient(180deg, #061823 0%, #082432 45%, #103944 100%);
}

.page .entry-layout,
.single .entry-layout {
  position: relative;
  overflow: hidden;
  color: #eefcfc;
  border-top: 1px solid rgba(159, 229, 229, 0.16);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(121, 225, 221, 0.14) 0 18%, transparent 48%),
    radial-gradient(ellipse at 88% 80%, rgba(219, 186, 255, 0.1) 0 18%, transparent 48%),
    linear-gradient(180deg, rgba(5, 22, 31, 0.72), rgba(7, 31, 42, 0.92));
}

.page .entry-layout::before,
.page .entry-layout::after,
.single .entry-layout::before,
.single .entry-layout::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page .entry-layout::before,
.single .entry-layout::before {
  display: none;
}

.page .entry-layout::after,
.single .entry-layout::after {
  background:
    linear-gradient(112deg, transparent 0 14%, rgba(179, 244, 238, 0.08) 17%, transparent 32%),
    linear-gradient(72deg, transparent 0 62%, rgba(216, 194, 255, 0.07) 64%, transparent 78%);
  opacity: 0.64;
}

.page .entry-layout > *,
.single .entry-layout > * {
  position: relative;
  z-index: 1;
}

.page .entry-panel,
.page .mini-panel,
.single .entry-panel,
.single .mini-panel {
  border-color: rgba(184, 247, 242, 0.2);
  color: rgba(239, 254, 253, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 92% 8%, rgba(124, 229, 224, 0.14) 0 18%, transparent 42%),
    rgba(5, 22, 31, 0.48);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page .entry-panel::before,
.page .mini-panel::before,
.single .entry-panel::before,
.single .mini-panel::before {
  background: linear-gradient(135deg, rgba(230, 255, 252, 0.42), rgba(112, 228, 222, 0.2), rgba(213, 185, 255, 0.16));
}

.page .entry-content,
.page .entry-content p,
.page .mini-panel p,
.single .entry-content,
.single .entry-content p,
.single .mini-panel p,
.page .quiet-list small,
.page .card-meta {
  color: rgba(223, 245, 244, 0.76);
}

.page .entry-content h2,
.page .mini-panel h2,
.page .mini-panel h3,
.single .entry-content h2,
.single .mini-panel h2,
.single .mini-panel h3,
.page .quiet-list a {
  color: #f8ffff;
}

.page .entry-content h2,
.single .entry-content h2 {
  border-color: rgba(162, 240, 236, 0.18);
  border-left-color: rgba(148, 232, 232, 0.72);
  background:
    linear-gradient(90deg, rgba(122, 225, 221, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page .entry-content h3,
.single .entry-content h3 {
  color: rgba(239, 254, 253, 0.92);
  border-bottom-color: rgba(184, 247, 242, 0.16);
}

.page .entry-content a,
.single .entry-content a {
  color: #93e8e8;
}

.page .entry-content .button-link,
.page .entry-content .wp-block-button__link,
.single .entry-content .button-link,
.single .entry-content .wp-block-button__link {
  border-color: rgba(176, 248, 242, 0.42);
  color: #f8ffff;
  background: rgba(126, 224, 219, 0.16);
}

.page .pill-list a,
.page .pill-list span,
.single .pill-list a,
.single .pill-list span {
  border-color: rgba(184, 247, 242, 0.2);
  color: rgba(230, 251, 249, 0.82);
  background: rgba(255, 255, 255, 0.055);
}

.page .quiet-list li,
.single .quiet-list li {
  border-bottom-color: rgba(184, 247, 242, 0.16);
}

#gear-library {
  scroll-margin-top: 92px;
}

.archive-layout,
.entry-layout {
  padding: 54px 0 88px;
}

.entry-layout {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.entry-header {
  margin-bottom: 36px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  gap: 24px;
  width: min(820px, 100%);
  margin-inline: auto;
  text-align: center;
}

.page-hero-grid > :first-child {
  grid-column: auto;
  max-width: 820px;
}

.page-hero-grid > .page-side-note {
  grid-column: auto;
}

.page-lead {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
}

.page-side-note {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  width: min(100%, 680px);
  min-height: 0;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 100% 0%, rgba(113, 103, 167, 0.18), transparent 36%);
  box-shadow: 0 14px 34px rgba(16, 32, 37, 0.08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.page-side-note small {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-side-note span {
  min-width: 0;
  color: var(--deep);
  font-size: 0.94rem;
}

.archive-hero.page-hero-centered {
  display: grid;
  place-items: center;
  min-height: clamp(340px, 44vh, 470px);
  padding: 42px 20px 40px;
}

.archive-hero.page-hero-centered > .page-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  transform: none;
}

.archive-hero.page-hero-centered .page-hero-grid > :first-child {
  width: 100%;
  max-width: 760px;
}

.archive-hero.page-hero-centered .page-side-note {
  width: min(680px, 100%);
  margin: 0 auto;
}

.page-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.entry-layout-wide {
  width: min(100% - 40px, var(--shell));
}

.entry-layout-wide .page-body-grid {
  grid-template-columns: 1fr;
  gap: 26px;
}

.entry-layout-wide .side-panel {
  order: -1;
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.entry-layout-wide .entry-panel {
  padding: clamp(30px, 4.2vw, 56px);
}

.entry-layout-wide .entry-content {
  max-width: 880px;
}

.entry-panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 100% 0%, rgba(62, 138, 160, 0.12), transparent 30%);
  box-shadow: 0 22px 56px rgba(16, 32, 37, 0.1);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.mini-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)),
    radial-gradient(circle at 100% 0%, rgba(109, 155, 131, 0.14), transparent 34%);
  box-shadow: 0 12px 32px rgba(16, 32, 37, 0.08);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.mini-panel h2,
.mini-panel h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.mini-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list a,
.pill-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(16, 32, 37, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  text-decoration: none;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.toc-list li {
  display: flex;
  min-width: 0;
}

.toc-list a,
.toc-list span {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
}

.toc-list a {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.toc-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 255, 251, 0.56);
  background: rgba(126, 224, 219, 0.13);
}

.entry-content {
  font-size: 1.02rem;
}

.entry-content > * {
  margin-block: 0 1.3em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.1em;
  line-height: 1.42;
  letter-spacing: 0;
  scroll-margin-top: 112px;
}

.entry-content h2 {
  position: relative;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(62, 138, 160, 0.16);
  border-left: 3px solid rgba(62, 138, 160, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(62, 138, 160, 0.09), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.entry-content h3 {
  color: var(--deep);
  font-size: 1.08rem;
  border-bottom: 1px solid rgba(16, 32, 37, 0.1);
  padding-bottom: 8px;
}

.entry-content hr {
  border: 0;
  height: 1px;
  margin: 2.4em 0;
  background: linear-gradient(90deg, transparent, rgba(62, 138, 160, 0.32), transparent);
}

.entry-content p {
  overflow-wrap: anywhere;
}

.entry-content .lyrics-block,
.entry-content .wp-block-verse,
.entry-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 22px;
  border: 1px solid rgba(184, 247, 242, 0.18);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.9);
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 232, 232, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.14);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 2;
}

.entry-content .lyrics-block {
  display: grid;
  gap: 0.8em;
}

.entry-content .lyrics-block h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(184, 247, 242, 0.92);
  background: none;
  box-shadow: none;
  font-size: 0.9rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content .lyrics-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 2;
}

.entry-content .lyrics-block p {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.entry-content .work-note {
  display: grid;
  gap: 1em;
}

.entry-content .work-note h2 {
  margin-top: 0;
}

.single-body.category-works .entry-content > p {
  padding: 18px 20px;
  border: 1px solid rgba(184, 247, 242, 0.14);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.9);
  background:
    radial-gradient(circle at 16% 8%, rgba(148, 232, 232, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.04);
  line-height: 2;
}

.entry-content ul,
.entry-content ol {
  display: grid;
  gap: 0.55em;
  padding-left: 1.25em;
}

.entry-content li {
  padding-left: 0.1em;
}

.entry-content figure {
  margin-inline: 0;
}

.entry-content figcaption {
  margin-top: 9px;
  color: rgba(223, 245, 244, 0.64);
  font-size: 0.86rem;
  text-align: center;
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(148, 232, 232, 0.72);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.88);
  background: rgba(255, 255, 255, 0.045);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(184, 247, 242, 0.16);
  border-radius: var(--radius);
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(184, 247, 242, 0.12);
  text-align: left;
}

.entry-content th {
  color: rgba(239, 254, 253, 0.92);
  background: rgba(126, 224, 219, 0.1);
}

.entry-content a {
  color: var(--blue);
}

.entry-content img,
.entry-content iframe,
.entry-content video {
  max-width: 100%;
  border-radius: var(--radius);
}

.entry-content iframe {
  width: 100%;
}

.post-nav {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.single-hero {
  display: grid;
  align-items: center;
  min-height: clamp(480px, 64vh, 680px);
  padding: clamp(54px, 7vw, 86px) 0 clamp(46px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.single-hero .single-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(100% - 40px, var(--shell));
  max-width: var(--shell);
  text-align: left;
}

.single-hero .single-hero-grid > :first-child,
.single-hero .single-hero-grid > .page-side-note {
  width: 100%;
  max-width: none;
}

.single-hero-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.single-hero .entry-header {
  margin: 0;
}

.single-hero .page-lead {
  margin-right: 0;
  margin-left: 0;
}

.single-hero .page-side-note {
  width: min(100%, 680px);
  margin: 0;
  justify-items: start;
  text-align: left;
}

.single-hero .page-side-note small {
  justify-content: flex-start;
}

.single-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-hero-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.article-hero-card::before {
  content: "";
  position: absolute;
  inset: -14px -12px auto auto;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 232, 232, 0.24), transparent 66%);
  filter: blur(10px);
  opacity: 0.66;
  pointer-events: none;
}

.article-hero-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(184, 247, 242, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 18%, rgba(148, 232, 232, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(4, 20, 29, 0.6);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.article-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 22% 70%, rgba(148, 232, 232, 0.1)),
    radial-gradient(circle at 74% 12%, rgba(213, 185, 255, 0.18), transparent 34%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.article-hero-media a,
.article-hero-media img,
.article-hero-media .card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.article-hero-media img {
  object-fit: cover;
}

.article-hero-media .card-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f6ffff;
  background:
    radial-gradient(circle at 26% 18%, rgba(148, 232, 232, 0.24), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(213, 185, 255, 0.2), transparent 38%),
    linear-gradient(135deg, #051821, #123c47);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  text-align: center;
  text-shadow: 0 0 32px rgba(148, 232, 232, 0.42);
}

.article-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 247, 242, 0.2);
  border-radius: var(--radius);
  color: rgba(238, 253, 253, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(5, 21, 31, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.article-hero-meta small {
  color: #94e8ea;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-body {
  padding-top: 48px;
}

.single-featured-media {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid rgba(184, 247, 242, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 32% 12%, rgba(188, 255, 250, 0.16), transparent 36%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.single-featured-media::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.single-featured-media a {
  position: absolute;
  inset: 0;
  display: block;
}

.single-featured-media img,
.single-featured-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.single-featured-media img {
  object-fit: cover;
}

.single-featured-media iframe {
  border: 0;
}

.single-featured-media .card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #eaffff;
  background:
    radial-gradient(circle at 24% 20%, rgba(148, 232, 232, 0.24), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(213, 185, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #061823, #123a45);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.6rem);
  text-align: center;
  text-shadow: 0 0 28px rgba(148, 232, 232, 0.42);
}

.work-listen-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -10px 0 32px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 247, 242, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 20%, rgba(148, 232, 232, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.14);
}

.work-listen-panel div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.work-listen-panel span {
  color: #94e8ea;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-listen-panel strong {
  color: #f8ffff;
  font-size: 1.08rem;
  line-height: 1.45;
}

.work-listen-panel p {
  margin: 0;
  color: rgba(223, 245, 244, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.work-listen-panel .button-link {
  margin: 0;
  min-height: 40px;
  padding: 10px 16px;
}

.commission-entry-strip,
.conversion-band {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0 0 34px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(184, 247, 242, 0.2);
  border-radius: var(--radius);
  color: rgba(239, 254, 253, 0.88);
  background:
    radial-gradient(circle at 14% 16%, rgba(148, 232, 232, 0.15), transparent 34%),
    radial-gradient(circle at 96% 0%, rgba(213, 185, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 42px rgba(0, 0, 0, 0.16);
}

.commission-entry-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.commission-entry-strip h2,
.conversion-band h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #f8ffff;
  background: none;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.35;
}

.commission-entry-strip p,
.conversion-band p {
  margin: 8px 0 0;
  color: rgba(223, 245, 244, 0.78);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.guide-grid > div,
.inquiry-template {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(184, 247, 242, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.guide-grid strong,
.inquiry-template strong {
  color: #f8ffff;
  font-size: 0.95rem;
  line-height: 1.45;
}

.guide-grid span,
.inquiry-template p {
  color: rgba(223, 245, 244, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.inquiry-template {
  margin-top: 2px;
}

.work-next-step {
  margin: 36px 0 0;
}

.post-nav-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-nav-cards a {
  display: block;
  min-height: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(184, 247, 242, 0.18);
  border-radius: var(--radius);
  color: rgba(235, 252, 251, 0.88);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.post-nav-cards a:hover {
  border-color: rgba(203, 255, 251, 0.5);
  background: rgba(126, 224, 219, 0.1);
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--paper-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
  }
}

@media (max-width: 1180px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .hero-grid,
  .split-band,
  .page-hero-grid,
  .single-hero .single-hero-grid,
  .page-body-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid > :first-child,
  .page-hero-grid > .page-side-note {
    grid-column: auto;
  }

  .side-panel {
    position: static;
  }

  .single-hero .single-hero-grid {
    text-align: center;
  }

  .single-hero .page-lead {
    margin-inline: auto;
  }

  .single-hero .page-side-note {
    margin-inline: auto;
    justify-items: center;
    text-align: center;
  }

  .single-hero .page-side-note small {
    justify-content: center;
  }

  .single-hero-actions {
    justify-content: center;
  }

  .language-switcher {
    margin-inline: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 58px 0 56px;
  }

  .hero-section.is-deepsea,
  .hero-section.is-deepsea .hero-grid {
    min-height: auto;
  }

  .hero-section.is-deepsea .hero-grid {
    padding: 64px 0 58px;
  }

  .hero-title,
  .page-title {
    font-size: 2.35rem;
  }

  .cards-grid,
  .cards-grid.is-compact,
  .feature-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-simulator {
    grid-template-columns: 1fr;
  }

  .price-result {
    position: static;
  }

  .commission-entry-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-shell,
  .entry-layout {
    width: min(100% - 28px, var(--shell));
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-title,
  .page-title {
    font-size: 2.05rem;
  }

  .hero-title .hero-phrase {
    white-space: normal;
  }

  .section {
    padding: 62px 0;
  }

  .section-header,
  .channel-grid,
  .cards-grid,
  .cards-grid.is-compact,
  .feature-grid,
  .guide-grid,
  .price-presets,
  .price-choice-grid,
  .price-option-grid,
  .hero-cta-rail {
    grid-template-columns: 1fr;
  }

  .price-modal {
    padding: 12px;
  }

  .price-modal__panel {
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  .archive-hero {
    min-height: 260px;
    padding: 34px 0 32px;
  }

  .hero-section.is-deepsea .hero-grid {
    padding: 48px 0 44px;
  }

  .single-hero {
    min-height: auto;
    padding: 42px 0 40px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

  .random-compose-teaser {
    width: min(100%, 320px);
    min-height: 118px;
    padding: 18px 92px 18px 18px;
  }

  .random-compose-teaser .d20-die {
    --d20-size: 68px;
    right: 14px;
  }

  .hero-cta-rail {
    width: min(100%, 320px);
  }

  .language-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 320px);
    border-radius: 20px;
  }

  .language-switcher span {
    grid-column: 1 / -1;
    text-align: center;
  }

  .language-switcher button {
    min-width: 0;
  }

  .single-hero-actions {
    display: grid;
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .article-hero-meta {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero-socials {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }

  .toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-side-note {
    display: grid;
    justify-content: stretch;
    min-height: 0;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .post-nav-cards {
    grid-template-columns: 1fr;
  }

  .work-listen-panel {
    display: grid;
  }

  .work-listen-panel .button-link,
  .commission-entry-strip .button-link,
  .conversion-band .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Random Compose App === */
.random-compose-app,
    .random-compose-app * {
      box-sizing: border-box;
    }

    .random-compose-app {
      --rc-bg-1: #061823;
      --rc-bg-2: #073f4c;
      --rc-bg-3: #0b6473;
      --rc-panel: rgba(231, 245, 248, 0.86);
      --rc-panel-soft: rgba(255, 255, 255, 0.58);
      --rc-text: #102025;
      --rc-muted: #637980;
      --rc-line: rgba(196, 228, 235, 0.24);
      --rc-primary: #167f91;
      --rc-primary-dark: #063546;
      --rc-accent: #b7e8ef;
      --rc-teal: #88d8df;
      --rc-shadow: 0 26px 80px rgba(0, 10, 18, 0.3);
      --rc-radius: 8px;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      min-height: 100svh;
      padding: clamp(24px, 5vw, 64px);
      color: var(--rc-text);
      font-family: "Zen Kaku Gothic New", "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, system-ui, sans-serif;
      background:
        radial-gradient(circle at 70% 22%, rgba(205, 229, 237, 0.17), transparent 28%),
        linear-gradient(100deg, rgba(6, 24, 35, 0.98) 0%, rgba(7, 63, 76, 0.96) 48%, rgba(25, 45, 78, 0.95) 100%);
    }

    .random-compose-app[data-theme="light"] {
      --rc-bg-1: #e9fbff;
      --rc-bg-2: #bdefff;
      --rc-bg-3: #ffffff;
      --rc-panel: rgba(255, 255, 255, 0.9);
      --rc-panel-soft: rgba(255, 255, 255, 0.72);
      --rc-text: #14304c;
      --rc-muted: #637b92;
      --rc-line: rgba(55, 118, 156, 0.2);
      --rc-primary: #0b78a2;
      --rc-primary-dark: #075474;
      --rc-shadow: 0 22px 64px rgba(47, 111, 147, 0.2);
      background:
        linear-gradient(160deg, rgba(233, 251, 255, 1) 0%, rgba(189, 239, 255, 0.98) 46%, rgba(255, 255, 255, 0.98) 100%);
    }

    .random-compose-app::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      opacity: 0.54;
      background:
        linear-gradient(168deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 20%, transparent 36%),
        linear-gradient(84deg, transparent 0 62%, rgba(121, 225, 221, 0.09) 64%, transparent 78%),
        linear-gradient(90deg, rgba(74, 189, 198, 0.22), rgba(255, 255, 255, 0.03), rgba(62, 84, 139, 0.18));
    }

    .random-compose-app::after {
      content: "";
      position: absolute;
      right: -10vw;
      bottom: -12vw;
      z-index: -1;
      width: min(70vw, 760px);
      height: min(40vw, 380px);
      opacity: 0.42;
      background: radial-gradient(ellipse at center, rgba(205, 244, 249, 0.16), transparent 68%);
      transform: rotate(-8deg);
    }

    .random-compose-app button,
    .random-compose-app input,
    .random-compose-app select {
      font: inherit;
    }

    .random-compose-app button {
      cursor: pointer;
    }

    .random-compose-app button:disabled {
      cursor: not-allowed;
      opacity: 0.55;
    }

    .random-compose-app button:focus-visible,
    .random-compose-app input:focus-visible,
    .random-compose-app select:focus-visible {
      outline: 3px solid rgba(244, 178, 122, 0.72);
      outline-offset: 3px;
    }

    .rc-inner {
      width: min(1120px, 100%);
      margin: 0 auto;
    }

    .rc-topbar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      margin: -12px 0 28px;
      padding: 12px 0 22px;
      border-bottom: 1px solid rgba(207, 234, 240, 0.18);
      color: #ffffff;
    }

    .random-compose-app[data-theme="light"] .rc-topbar {
      color: #14304c;
    }

    .rc-kicker {
      margin: 0 0 6px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.84rem;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .random-compose-app[data-theme="light"] .rc-kicker {
      color: rgba(20, 48, 76, 0.62);
    }

    .rc-title {
      margin: 0;
      font-size: 3.7rem;
      line-height: 1.04;
      letter-spacing: 0;
    }

    .rc-lead {
      max-width: 520px;
      margin: 14px 0 0;
      color: rgba(232, 247, 250, 0.78);
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.8;
    }

    .random-compose-app[data-theme="light"] .rc-lead {
      color: rgba(20, 48, 76, 0.68);
    }

    .rc-theme-toggle {
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, 0.34);
      border-radius: 50%;
      color: inherit;
      background: rgba(255, 255, 255, 0.14);
      box-shadow: 0 10px 28px rgba(4, 19, 42, 0.16);
    }

    .random-compose-app[data-theme="light"] .rc-theme-toggle {
      border-color: rgba(20, 48, 76, 0.15);
      background: rgba(255, 255, 255, 0.7);
    }

    .rc-layout {
      display: grid;
      grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }

    .rc-panel,
    .rc-history-card {
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      background: var(--rc-panel);
      box-shadow: var(--rc-shadow);
      backdrop-filter: blur(18px);
    }

    .rc-panel {
      position: relative;
      padding: clamp(18px, 3vw, 28px);
    }

    .rc-panel::before {
      content: "";
      position: absolute;
      inset: 1px;
      z-index: -1;
      border-radius: calc(var(--rc-radius) - 1px);
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
      pointer-events: none;
    }

    .rc-controls {
      position: sticky;
      top: 18px;
      min-height: 660px;
    }

    .rc-control-group + .rc-control-group {
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid var(--rc-line);
    }

    .rc-control-title,
    .rc-result-label,
    .rc-history-title {
      margin: 0 0 10px;
      color: var(--rc-muted);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .rc-segmented {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 4px;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      background: rgba(255, 255, 255, 0.4);
    }

    .rc-segmented label {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 38px;
      border-radius: 6px;
      color: var(--rc-muted);
      font-size: 0.9rem;
      font-weight: 800;
      text-align: center;
      overflow: hidden;
    }

    .rc-segmented input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .rc-segmented label:has(input:checked) {
      color: #ffffff;
      background: linear-gradient(135deg, var(--rc-primary), #1f9da9);
      box-shadow: 0 8px 20px rgba(12, 95, 132, 0.25);
    }

    .rc-field {
      display: grid;
      gap: 7px;
      margin-top: 12px;
    }

    .rc-field label,
    .rc-inline-check {
      color: var(--rc-text);
      font-size: 0.9rem;
      font-weight: 800;
    }

    .rc-inline-check {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .rc-inline-check input {
      width: 18px;
      height: 18px;
      accent-color: var(--rc-primary);
    }

    .rc-field input[type="number"],
    .rc-field select {
      width: 100%;
      min-height: 42px;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      color: var(--rc-text);
      background: rgba(255, 255, 255, 0.76);
      padding: 9px 11px;
    }

    .rc-field input[type="number"]:disabled {
      color: var(--rc-muted);
      background: rgba(255, 255, 255, 0.36);
    }

    .rc-actions {
      display: grid;
      gap: 10px;
      margin-top: 20px;
    }

    .rc-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 44px;
      border: 1px solid transparent;
      border-radius: var(--rc-radius);
      padding: 10px 14px;
      font-weight: 850;
      line-height: 1.2;
      text-align: center;
      text-decoration: none;
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    .rc-button:hover {
      transform: translateY(-1px);
    }

    .rc-button-primary {
      min-height: 64px;
      color: #ffffff;
      background: linear-gradient(135deg, #062d40, var(--rc-primary) 58%, #72cdd4);
      box-shadow: 0 18px 36px rgba(5, 51, 80, 0.26);
      font-size: 1.06rem;
    }

    .rc-button-secondary {
      color: var(--rc-primary-dark);
      border-color: var(--rc-line);
      background: rgba(255, 255, 255, 0.68);
    }

    .rc-button-accent {
      color: #083743;
      background: linear-gradient(135deg, #f3fdff, var(--rc-accent));
      box-shadow: 0 14px 30px rgba(34, 130, 144, 0.18);
    }

    .rc-button-midi {
      color: #ffffff;
      background: linear-gradient(135deg, #10243a, #34527a);
      box-shadow: 0 14px 30px rgba(3, 16, 32, 0.2);
    }

    .rc-button-icon {
      font-size: 1.32em;
      line-height: 1;
    }

    .rc-result {
      display: flex;
      flex-direction: column;
      min-height: 660px;
    }

    .rc-result > #resultArea {
      flex: 1 1 auto;
      display: grid;
    }

    .rc-result-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: start;
      margin-bottom: 14px;
    }

    .rc-result-title {
      margin: 0;
      color: var(--rc-primary-dark);
      font-size: 1.78rem;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .rc-result-time {
      flex: 0 0 auto;
      min-width: 62px;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      padding: 8px 10px;
      color: var(--rc-muted);
      background: rgba(255, 255, 255, 0.46);
      font-size: 0.82rem;
      font-weight: 800;
      text-align: center;
    }

    .rc-meta-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .rc-meta {
      min-height: 62px;
      border-left: 3px solid var(--rc-teal);
      border-radius: 0 var(--rc-radius) var(--rc-radius) 0;
      padding: 8px 10px;
      background: rgba(255, 255, 255, 0.48);
    }

    .rc-meta span {
      display: block;
      color: var(--rc-muted);
      font-size: 0.76rem;
      font-weight: 800;
    }

    .rc-meta strong {
      display: block;
      margin-top: 4px;
      color: var(--rc-text);
      font-size: 1.04rem;
      line-height: 1.18;
      overflow-wrap: anywhere;
    }

    .rc-result-block {
      padding: 12px 0;
      border-top: 1px solid var(--rc-line);
    }

    .rc-result-block:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .rc-chords {
      display: grid;
      gap: 8px;
    }

    .rc-roman {
      color: var(--rc-muted);
      font-size: 1.05rem;
      font-weight: 750;
      overflow-wrap: anywhere;
    }

    .rc-real-chords {
      color: var(--rc-primary-dark);
      font-size: 1.8rem;
      font-weight: 900;
      line-height: 1.18;
      overflow-wrap: anywhere;
    }

    .rc-style-name {
      margin: 0;
      color: var(--rc-text);
      font-size: 1.35rem;
      font-weight: 900;
      line-height: 1.28;
    }

    .rc-instrument-list,
    .rc-sequence-list {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .rc-instrument-list li,
    .rc-sequence-list li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 8px;
      align-items: start;
      color: var(--rc-text);
      line-height: 1.55;
    }

    .rc-result .rc-instrument-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px 14px;
    }

    .rc-result .rc-instrument-list li {
      line-height: 1.42;
      font-size: 0.92rem;
    }

    .rc-instrument-list li::before,
    .rc-sequence-list li::before {
      content: "";
      width: 7px;
      height: 7px;
      margin-top: 0.65em;
      border-radius: 50%;
      background: var(--rc-accent);
    }

    .rc-mission {
      margin: 0;
      color: var(--rc-text);
      font-size: 1.08rem;
      font-weight: 760;
      line-height: 1.7;
    }

    .rc-result-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--rc-line);
    }

    .rc-feedback {
      min-height: 1.4em;
      color: var(--rc-primary-dark);
      font-size: 0.9rem;
      font-weight: 800;
    }

    .rc-placeholder {
      display: grid;
      place-items: center;
      min-height: 0;
      border: 1px dashed var(--rc-line);
      border-radius: var(--rc-radius);
      color: var(--rc-muted);
      text-align: center;
      background: rgba(255, 255, 255, 0.35);
    }

    .rc-placeholder-symbol {
      display: block;
      margin-bottom: 12px;
      font-size: 3rem;
      line-height: 1;
    }

    .rc-sequence-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      align-items: stretch;
    }

    .rc-sequence-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
      padding: 10px;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      background:
        radial-gradient(circle at 18% 8%, rgba(148, 232, 234, 0.16), transparent 34%),
        rgba(255, 255, 255, 0.34);
    }

    .rc-sequence-item:first-child {
      padding-top: 12px;
    }

    .rc-sequence-item h3 {
      margin: 0;
      color: var(--rc-primary-dark);
      font-size: 0.96rem;
      letter-spacing: 0;
      line-height: 1.3;
    }

    .rc-sequence-item .rc-roman,
    .rc-sequence-item .rc-real-chords {
      min-width: 0;
    }

    .rc-sequence-item .rc-roman {
      font-size: 0.84rem;
    }

    .rc-sequence-item .rc-real-chords {
      font-size: 1.08rem;
    }

    .rc-sequence-item .rc-mission {
      font-size: 0.8rem;
      line-height: 1.35;
    }

    .rc-segment-midi {
      width: 100%;
      min-height: 34px;
      margin-top: auto;
      padding: 7px 9px;
      font-size: 0.78rem;
      white-space: normal;
    }

    .rc-history {
      margin-top: 20px;
    }

    .rc-history-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .random-compose-app[data-theme="light"] .rc-history-head {
      color: #14304c;
    }

    .rc-history-head h2 {
      margin: 0;
      font-size: 1rem;
      letter-spacing: 0;
    }

    .rc-history-list {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
    }

    .rc-history-card {
      display: grid;
      gap: 7px;
      min-height: 132px;
      padding: 12px;
      color: var(--rc-text);
      text-align: left;
    }

    .rc-history-card button {
      all: unset;
      display: grid;
      gap: 7px;
      cursor: pointer;
    }

    .rc-history-card button:focus-visible {
      outline: 3px solid rgba(244, 178, 122, 0.72);
      outline-offset: 3px;
      border-radius: 6px;
    }

    .rc-history-card strong {
      color: var(--rc-primary-dark);
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .rc-history-card span {
      color: var(--rc-muted);
      font-size: 0.82rem;
      font-weight: 760;
      line-height: 1.35;
    }

    .rc-title-egg {
      margin-top: 20px;
      color: var(--rc-text);
    }

    .rc-title-egg-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 18px;
    }

    .rc-title-egg-head h2 {
      margin: 0;
      color: var(--rc-primary-dark);
      font-size: 1.7rem;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .rc-title-egg-head p {
      margin: 8px 0 0;
      color: var(--rc-muted);
      font-weight: 760;
      line-height: 1.7;
    }

    .rc-title-egg-head > span {
      flex: 0 0 auto;
      border: 1px solid var(--rc-line);
      border-radius: 999px;
      padding: 7px 10px;
      color: var(--rc-primary-dark);
      background: rgba(255, 255, 255, 0.5);
      font-size: 0.78rem;
      font-weight: 850;
    }

    .rc-title-egg-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: end;
    }

    .rc-title-egg-fields {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .rc-title-egg-fields label {
      display: grid;
      gap: 7px;
      min-width: 0;
      color: var(--rc-muted);
      font-size: 0.78rem;
      font-weight: 850;
    }

    .rc-title-egg-fields input {
      width: 100%;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      padding: 11px 12px;
      color: var(--rc-text);
      background: rgba(255, 255, 255, 0.72);
    }

    .rc-title-egg-results {
      margin-top: 16px;
      border-top: 1px solid var(--rc-line);
      padding-top: 16px;
    }

    .rc-title-egg-results p {
      margin: 0;
      color: var(--rc-muted);
      font-weight: 760;
    }

    .rc-title-egg-results ol {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
      counter-reset: title-egg;
    }

    .rc-title-egg-results li {
      counter-increment: title-egg;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 10px;
      align-items: center;
      min-height: 48px;
      border: 1px solid var(--rc-line);
      border-radius: var(--rc-radius);
      padding: 10px 12px;
      color: var(--rc-primary-dark);
      background:
        radial-gradient(circle at 12% 20%, rgba(148, 232, 234, 0.18), transparent 36%),
        rgba(255, 255, 255, 0.52);
      font-size: 1.12rem;
      font-weight: 900;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .rc-title-egg-results li::before {
      content: counter(title-egg);
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      color: #083743;
      background: var(--rc-accent);
      font-size: 0.82rem;
      font-weight: 950;
    }

    .rc-empty-history {
      grid-column: 1 / -1;
      min-height: 88px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: var(--rc-radius);
      display: grid;
      place-items: center;
      color: rgba(255, 255, 255, 0.78);
      background: rgba(255, 255, 255, 0.08);
      font-weight: 800;
    }

    .random-compose-app[data-theme="light"] .rc-empty-history {
      color: var(--rc-muted);
      border-color: var(--rc-line);
      background: rgba(255, 255, 255, 0.46);
    }

    .rc-generate-flash {
      animation: rc-rise 420ms ease both;
    }

    @keyframes rc-rise {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 920px) {
      .rc-title {
        font-size: 3.5rem;
      }

      .rc-result-title {
        font-size: 1.7rem;
      }

      .rc-result {
        min-height: auto;
      }

      .rc-layout {
        grid-template-columns: 1fr;
      }

      .rc-controls {
        position: static;
        min-height: auto;
      }

      .rc-sequence-summary {
        grid-template-columns: 1fr;
      }

      .rc-history-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .random-compose-app {
        padding: 20px 14px;
      }

      .rc-topbar {
        align-items: start;
      }

      .rc-title {
        font-size: 2.35rem;
        white-space: nowrap;
      }

      .rc-result-title {
        font-size: 1.45rem;
      }

      .rc-result {
        min-height: 620px;
      }

      .rc-real-chords {
        font-size: 1.35rem;
      }

      .rc-style-name {
        font-size: 1.16rem;
      }

      .rc-result-head {
        display: grid;
      }

      .rc-result-time {
        width: fit-content;
      }

      .rc-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .rc-result-actions,
      .rc-actions {
        grid-template-columns: 1fr;
      }

      .rc-result-actions .rc-button {
        width: 100%;
      }

      .rc-sequence-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
      }

      .rc-sequence-item h3,
      .rc-sequence-item .rc-roman,
      .rc-sequence-item .rc-real-chords,
      .rc-sequence-item .rc-mission,
      .rc-segment-midi {
        grid-column: auto;
        grid-row: auto;
      }

      .rc-segment-midi {
        width: 100%;
        white-space: normal;
      }

      .rc-title-egg-head,
      .rc-title-egg-form {
        grid-template-columns: 1fr;
      }

      .rc-title-egg-head {
        display: grid;
      }

      .rc-title-egg-form .rc-button {
        width: 100%;
      }
    }

    @media (max-width: 460px) {
      .rc-meta-grid,
      .rc-history-list,
      .rc-title-egg-fields {
        grid-template-columns: 1fr;
      }

      .rc-segmented {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 360px) {
      .rc-title {
        font-size: 2.05rem;
      }
    }

.random-compose-app {
  --rc-panel: rgba(232, 249, 250, 0.9);
  --rc-panel-soft: rgba(238, 253, 253, 0.64);
  --rc-line: rgba(184, 247, 242, 0.26);
  --rc-primary: #2baeb8;
  --rc-primary-dark: #063546;
  --rc-accent: #c7fff8;
  --rc-teal: #94e8ea;
  --rc-shadow: 0 30px 88px rgba(0, 6, 12, 0.34);
  min-height: calc(100svh - 76px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 64px) clamp(54px, 7vw, 92px);
  background:
    radial-gradient(circle at 18% 14%, rgba(97, 213, 219, 0.2), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(217, 195, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(255, 211, 201, 0.1), transparent 26%),
    linear-gradient(115deg, #04131f 0%, #073844 48%, #162642 100%);
}

.random-compose-app .rc-deepsea-wave {
  z-index: 0;
  opacity: 0.58;
}

.random-compose-app > .rc-inner {
  position: relative;
  z-index: 1;
}

.random-compose-app::before {
  opacity: 0.34;
  background:
    linear-gradient(72deg, transparent 0 16%, rgba(179, 244, 238, 0.08) 18%, transparent 33%),
    linear-gradient(106deg, transparent 0 58%, rgba(216, 194, 255, 0.07) 60%, transparent 76%);
  background-size: auto;
  background-position: 0 0;
  animation: none;
}

.random-compose-app::after {
  right: -14vw;
  bottom: -18vw;
  width: min(78vw, 860px);
  height: min(48vw, 440px);
  opacity: 0.2;
  background: radial-gradient(ellipse at center, rgba(205, 244, 249, 0.18), transparent 68%);
}

.random-compose-app[data-theme="light"] {
  background:
    radial-gradient(circle at 16% 12%, rgba(62, 190, 222, 0.22), transparent 34%),
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.84), transparent 28%),
    radial-gradient(circle at 78% 76%, rgba(119, 214, 232, 0.18), transparent 26%),
    linear-gradient(145deg, #e7fbff 0%, #bcecf7 46%, #faffff 100%);
}

.random-compose-app[data-theme="light"]::before {
  opacity: 0.42;
  background:
    linear-gradient(104deg, transparent 0 14%, rgba(255, 255, 255, 0.5) 16%, transparent 30%),
    linear-gradient(82deg, transparent 0 26%, rgba(62, 190, 222, 0.16) 28%, transparent 45%);
  background-size: auto;
}

.random-compose-app[data-theme="light"] .rc-jelly {
  opacity: 0;
}

.rc-jelly {
  position: absolute;
  z-index: -1;
  width: 140px;
  height: 150px;
  border-radius: 50% 50% 44% 44%;
  opacity: 0.22;
  pointer-events: none;
  filter: drop-shadow(0 0 28px rgba(148, 232, 232, 0.22));
}

.rc-jelly::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto;
  height: 58px;
  border: 1px solid rgba(205, 255, 251, 0.5);
  border-bottom: 0;
  border-radius: 999px 999px 36px 36px;
  background: radial-gradient(ellipse at 50% 20%, rgba(205, 255, 251, 0.22), rgba(205, 255, 251, 0.04) 68%);
}

.rc-jelly::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 66px;
  width: 74px;
  height: 78px;
  background:
    linear-gradient(100deg, transparent 0 10%, rgba(205, 255, 251, 0.36) 11% 12%, transparent 13% 100%),
    linear-gradient(82deg, transparent 0 24%, rgba(205, 255, 251, 0.28) 25% 26%, transparent 27% 100%),
    linear-gradient(94deg, transparent 0 48%, rgba(205, 255, 251, 0.3) 49% 50%, transparent 51% 100%),
    linear-gradient(78deg, transparent 0 70%, rgba(205, 255, 251, 0.24) 71% 72%, transparent 73% 100%);
}

.rc-jelly-a {
  top: 128px;
  right: 8vw;
  animation: rc-jelly-drift 9s ease-in-out infinite alternate;
}

.rc-jelly-b {
  left: 7vw;
  bottom: 180px;
  width: 108px;
  height: 120px;
  opacity: 0.16;
  animation: rc-jelly-drift 11s ease-in-out infinite alternate-reverse;
}

@keyframes rc-jelly-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(14px, -18px, 0); }
}

.rc-clione {
  position: absolute;
  z-index: -1;
  width: 126px;
  height: 168px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(90, 184, 220, 0.16));
}

.rc-clione::before,
.rc-clione::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rc-clione::before {
  left: 50%;
  top: 10px;
  width: 34px;
  height: 140px;
  border: 1px solid rgba(71, 145, 184, 0.22);
  border-radius: 999px 999px 42px 42px;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.5), transparent 24%),
    radial-gradient(ellipse at 50% 48%, rgba(104, 188, 219, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(75, 166, 204, 0.08));
  transform: translateX(-50%);
}

.rc-clione::after {
  left: 10px;
  top: 38px;
  width: 106px;
  height: 72px;
  background:
    radial-gradient(ellipse at 28% 44%, rgba(255, 255, 255, 0.45), transparent 48%),
    radial-gradient(ellipse at 72% 44%, rgba(255, 255, 255, 0.45), transparent 48%),
    linear-gradient(90deg, rgba(73, 169, 211, 0.16), transparent 42% 58%, rgba(73, 169, 211, 0.16));
  clip-path: polygon(50% 36%, 9% 0, 0 54%, 42% 86%, 50% 64%, 58% 86%, 100% 54%, 91% 0);
  animation: rc-clione-wing 3.8s ease-in-out infinite alternate;
}

.random-compose-app[data-theme="light"] .rc-clione {
  opacity: 0.36;
}

.rc-clione-a {
  top: 18%;
  right: 10vw;
}

.rc-clione-b {
  left: 9vw;
  bottom: 16%;
  width: 96px;
  height: 130px;
  opacity: 0;
}

.random-compose-app[data-theme="light"] .rc-clione-a {
  animation: rc-clione-drift 8.6s ease-in-out infinite alternate;
}

.random-compose-app[data-theme="light"] .rc-clione-b {
  opacity: 0.24;
  animation: rc-clione-drift-small 10.5s ease-in-out infinite alternate-reverse;
}

@keyframes rc-clione-drift {
  from { transform: translate3d(0, 0, 0) rotate(-7deg); }
  to { transform: translate3d(-34px, -26px, 0) rotate(9deg); }
}

@keyframes rc-clione-drift-small {
  from { transform: translate3d(0, 0, 0) rotate(6deg); }
  to { transform: translate3d(26px, -20px, 0) rotate(-8deg); }
}

@keyframes rc-clione-wing {
  from { transform: scaleX(0.86) translateY(0); opacity: 0.72; }
  to { transform: scaleX(1.08) translateY(3px); opacity: 0.52; }
}

.random-compose-app .rc-topbar {
  border-bottom-color: rgba(184, 247, 242, 0.22);
}

.random-compose-app .rc-title {
  font-family: var(--font-display);
  color: #f8ffff;
  text-shadow: 0 0 28px rgba(148, 232, 232, 0.2);
}

.random-compose-app .rc-lead {
  color: rgba(232, 250, 249, 0.84);
}

.random-compose-app .rc-panel,
.random-compose-app .rc-history-card {
  border-color: rgba(184, 247, 242, 0.24);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(229, 249, 250, 0.86));
}

.random-compose-app .rc-button-primary {
  background: linear-gradient(135deg, #052634, #178996 58%, #94e8ea);
}

.random-compose-app .rc-button-primary.is-rolling {
  box-shadow:
    0 22px 46px rgba(5, 51, 80, 0.34),
    0 0 28px rgba(148, 232, 234, 0.28);
}

.random-compose-app .d20-die-button {
  --d20-size: 32px;
  margin-left: -2px;
}

.random-compose-app .d20-die-placeholder {
  --d20-size: 92px;
  display: grid;
  margin: 0 auto 18px;
}

.random-compose-app .rc-button-midi {
  background: linear-gradient(135deg, #081e32, #34496f 58%, #6e8fb5);
}

@media (max-width: 640px) {
  .random-compose-app {
    padding: 28px 14px 48px;
  }

  .rc-jelly-a,
  .rc-jelly-b {
    opacity: 0.12;
  }
}

/* === /Random Compose App === */
